Commit graph

2348 commits

Author SHA1 Message Date
dependabot[bot]
6926fd8e1b
build(deps): Bump androidx.lifecycle:lifecycle-viewmodel-ktx
Bumps androidx.lifecycle:lifecycle-viewmodel-ktx from 2.5.1 to 2.6.0.

---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-viewmodel-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 03:05:40 +00:00
Álvaro Brey
4e096b4bdf
Support direct editing for notes (#1686)
* feat(capabilities): Fetch and store direct editing capability using existing capabilities code

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* feat: Implement direct editing repo

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* wip: Edit note with webview

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* wip: allow switching between the three note opening modes in preferences

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* EditNoteActivity: if no setting, use plain edit, not direct edit

Required by UX team

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* feat: Add FAB to switch to rich editing mode from plain edit/preview

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* feat: add fab while direct editing to switch to normal editing

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Fix toolbar when switching between direct edit and normal edit

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* wip: error and conflict handling when switching edit modes

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Only show direct editing FAB if direct editing is available

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* EditNoteActivity: if pref is direct edit but it's not available, launch normal edit instead

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Show error if direct editing not loaded after 10 seconds

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Update user agent for Notes webview

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Support opening new notes with direct editing

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Allow invalid ssl certs for debug builds in webview

Development only!

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* NoteDirectEdit: prevent duplicate note creation when creating it with direct edit

remote id needs to be set

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Fix create with plain edit -> direct edit flow

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

---------

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-03-07 15:20:48 +00:00
Álvaro Brey
83c91ccc95
Merge pull request #1689 from nextcloud/fix/1660/squished-dialogs
fix: Squished dialogs when opening keyboard programmatically
2023-03-02 10:08:47 +01:00
Álvaro Brey
270217037b
chore(build): Single constant for glide version
Prevents duplicate dependabot PRs

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-27 09:44:06 +01:00
dependabot[bot]
e7bf3ffe98
Bump com.github.bumptech.glide:glide from 4.14.2 to 4.15.0
Bumps [com.github.bumptech.glide:glide](https://github.com/bumptech/glide) from 4.14.2 to 4.15.0.
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.14.2...v4.15.0)

---
updated-dependencies:
- dependency-name: com.github.bumptech.glide:glide
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 03:31:13 +00:00
dependabot[bot]
7c381abf17
Bump androidx.arch.core:core-testing from 2.1.0 to 2.2.0
Bumps androidx.arch.core:core-testing from 2.1.0 to 2.2.0.

---
updated-dependencies:
- dependency-name: androidx.arch.core:core-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 03:06:43 +00:00
Álvaro Brey
d6e4980fec
fix: Squished dialogs when opening keyboard programmatically
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-23 11:34:51 +01:00
Stefan Niedermann
2558acd4bf feat(theming): Remove NotesViewThemeUtils#getOnPrimaryContainer in favor of AndroidViewThemeUtils#highlightText
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-02-16 13:08:07 +01:00
Stefan Niedermann
990a5b5a80 feat(theming): Resolve change requests
* Only add the needed module rather than the entire lib
* Use ColorRole where possible in favor of querying the wanted color from the Scheme directly
* Use util for theming SwipeRefreshLayout

Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-02-16 12:50:39 +01:00
Stefan Niedermann
dacbc79f4a feat(theming): Get rid of custom theme checking...
... and rely on PlatformThemeUtil.isDarkMode in stead.

Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-02-12 14:13:50 +01:00
Stefan Niedermann
a40704a73a feat(theming): Theme NavigationView
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-02-12 13:36:02 +01:00
Stefan Niedermann
05a4fad5d9 feat(theming): Get rid of textColor property
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-02-12 12:56:10 +01:00
Stefan Niedermann
c9f50bf4ec feat(theming): Use nextcloud-common library for theming UI elements
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-02-12 11:41:02 +01:00
Álvaro Brey
341f74404b
Merge pull request #1678 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.6.1
Bump androidx.appcompat:appcompat from 1.6.0 to 1.6.1
2023-02-09 12:56:49 +01:00
dependabot[bot]
6a5c8190fe
Bump androidx.appcompat:appcompat from 1.6.0 to 1.6.1
Bumps androidx.appcompat:appcompat from 1.6.0 to 1.6.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 02:09:02 +00:00
dependabot[bot]
43f6c11f40
Bump androidx.work:work-runtime from 2.7.1 to 2.8.0
Bumps androidx.work:work-runtime from 2.7.1 to 2.8.0.

---
updated-dependencies:
- dependency-name: androidx.work:work-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 02:08:52 +00:00
tobiasKaminsky
2b26bec123
part 2 2023-02-08 08:49:44 +01:00
dependabot[bot]
6bef883ef6
Bump com.android.tools:desugar_jdk_libs from 2.0.1 to 2.0.2
Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 02:41:52 +00:00
Álvaro Brey
3bb56a461a
Merge pull request #1669 from nextcloud/fix/setup-fastlane
Setup fastlane
2023-02-03 14:24:22 +01:00
Álvaro Brey
96c1393253
build: Change version code schema to match Files/Talk, bump to 4.0.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-03 10:47:21 +01:00
Tobias Kaminsky
1c1204cea6
Merge pull request #1672 from nextcloud/dependabot/gradle/com.android.tools-desugar_jdk_libs-2.0.1
Bump com.android.tools:desugar_jdk_libs from 2.0.0 to 2.0.1
2023-02-03 09:40:29 +01:00
dependabot[bot]
0087139150
Bump com.android.tools:desugar_jdk_libs from 2.0.0 to 2.0.1
Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 02:11:59 +00:00
Álvaro Brey
3ca4301c7a
Change 'founder' to 'original author' in credits
Better wording

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-02 16:48:06 +01:00
Álvaro Brey
61e5623c5a
Merge pull request #1666 from nextcloud/chore/update-icon
Update launcher icon
2023-02-01 16:14:43 +01:00
dependabot[bot]
c99da1315c
Bump com.github.stefan-niedermann:android-commons from 0.2.7 to 0.2.9
Bumps com.github.stefan-niedermann:android-commons from 0.2.7 to 0.2.9.

---
updated-dependencies:
- dependency-name: com.github.stefan-niedermann:android-commons
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 15:02:46 +00:00
Álvaro Brey
e37bf5f99d
Update launcher icon
Requested by design team. Uses MDI edit icon.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-01 15:31:55 +01:00
Álvaro Brey
35c3d3f364
Add Kotlin support
As Android team we've agreed to only use Kotlin for new code. Let's get
the ball rolling for Notes too.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-01 12:40:44 +01:00
dependabot[bot]
d89e04dc28
Bump org.mockito:mockito-core from 5.1.0 to 5.1.1
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 02:09:07 +00:00
Andy Scherzinger
5c2816b786
Merge pull request #1577 from nextcloud/dependabot/gradle/com.android.tools-desugar_jdk_libs-2.0.0
Bump desugar_jdk_libs from 1.1.6 to 2.0.0
2023-01-30 16:46:27 +01:00
dependabot[bot]
76daeee87d
Bump mockito-core from 5.0.0 to 5.1.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 02:33:44 +00:00
dependabot[bot]
510f7edc57
Bump desugar_jdk_libs from 1.1.6 to 2.0.0
Bumps [desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 1.1.6 to 2.0.0.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-28 13:51:57 +00:00
Álvaro Brey
a810a133af
Update maintainer and developer list in credits screen
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 13:25:49 +01:00
Álvaro Brey
b1724a98b7
Merge pull request #1652 from nextcloud/chore/noid/room250
Bump room to 2.5.0
2023-01-27 12:19:12 +01:00
Andy Scherzinger
f606056a8d
Bump room to 2.5.0
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-01-26 20:58:25 +01:00
dependabot[bot]
432477cb64
Bump material from 1.7.0 to 1.8.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.7.0...1.8.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 19:44:51 +00:00
Andy Scherzinger
214c285da6
unify room dependency version
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-01-26 18:30:28 +01:00
Nextcloud bot
7727efbbdf
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-20 02:31:17 +00:00
dependabot[bot]
7181a251b3
Bump mockito-core from 4.11.0 to 5.0.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.11.0 to 5.0.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.11.0...v5.0.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 13:23:53 +00:00
Nextcloud bot
fdc812165b
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-16 10:22:19 +00:00
Niedermann IT-Dienstleistungen
392baf1904
Remove unnecessary build flavors
Signed-off-by: Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com>
2023-01-14 10:16:52 +01:00
Stefan Niedermann
fbf0c9d755 Adjust links 2023-01-14 09:31:11 +01:00
dependabot[bot]
2a3a292bd3 Bump appcompat from 1.5.1 to 1.6.0
Bumps appcompat from 1.5.1 to 1.6.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 14:28:47 +01:00
dependabot[bot]
11846c7e55 Bump gson from 2.10 to 2.10.1
Bumps [gson](https://github.com/google/gson) from 2.10 to 2.10.1.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.10...gson-parent-2.10.1)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 17:15:53 +01:00
dependabot[bot]
ecfc761015 Bump mockito-core from 4.10.0 to 4.11.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.10.0...v4.11.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-29 14:17:24 +01:00
dependabot[bot]
70083557b1 Bump robolectric from 4.9.1 to 4.9.2
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.9.1...robolectric-4.9.2)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 14:55:44 +01:00
dependabot[bot]
f590d38fff Bump robolectric from 4.9 to 4.9.1
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.9 to 4.9.1.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.9...robolectric-4.9.1)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 14:17:36 +01:00
dependabot[bot]
740f703819 Bump mockito-core from 4.9.0 to 4.10.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.9.0...v4.10.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 15:28:47 +01:00
dependabot[bot]
a492e3d044 Bump fragment from 1.5.4 to 1.5.5
Bumps fragment from 1.5.4 to 1.5.5.

---
updated-dependencies:
- dependency-name: androidx.fragment:fragment
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 15:23:03 +01:00
Stefan Niedermann
075ce5f8a9 version bump to 3.7.1
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2022-11-21 09:08:07 +01:00
Nextcloud bot
43810df78b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-21 09:07:28 +01:00