Commit graph

477 commits

Author SHA1 Message Date
dependabot[bot]
bcc3809fe4
build(deps): Bump androidx.fragment:fragment from 1.5.5 to 1.5.6
Bumps androidx.fragment:fragment from 1.5.5 to 1.5.6.

---
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>
2023-03-23 03:05:43 +00:00
Andy Scherzinger
03735a423e
Merge pull request #1704 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.6.0
build(deps): Bump androidx.lifecycle:lifecycle-viewmodel-ktx from 2.5.1 to 2.6.0
2023-03-22 09:37:09 +01:00
Andy Scherzinger
f9fa0ae58f
Merge pull request #1711 from nextcloud/dependabot/gradle/glideVersion-4.15.1
build(deps): Bump glideVersion from 4.15.0 to 4.15.1
2023-03-22 09:33:23 +01:00
Andy Scherzinger
54444aec3a
Merge pull request #1705 from nextcloud/dependabot/gradle/androidx.recyclerview-recyclerview-1.3.0
build(deps): Bump androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0
2023-03-22 09:31:33 +01:00
dependabot[bot]
7dfe85a1ed
build(deps): Bump glideVersion from 4.15.0 to 4.15.1
Bumps `glideVersion` from 4.15.0 to 4.15.1.

Updates `com.github.bumptech.glide:glide` from 4.15.0 to 4.15.1
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.15.0...v4.15.1)

Updates `com.github.bumptech.glide:compiler` from 4.15.0 to 4.15.1
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.15.0...v4.15.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-22 08:20:33 +00:00
dependabot[bot]
31e158a919
build(deps): Bump com.github.nextcloud.android-common:ui
Bumps com.github.nextcloud.android-common:ui from 0.6.0 to 0.7.0.

---
updated-dependencies:
- dependency-name: com.github.nextcloud.android-common:ui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-22 08:11:46 +00:00
dependabot[bot]
ab505b38fc
build(deps): Bump org.mockito:mockito-core from 5.1.1 to 5.2.0
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.2.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-03-10 03:04:16 +00:00
dependabot[bot]
d58ea3a47f
build(deps): Bump androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0
Bumps androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 03:05:46 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
dependabot[bot]
e7ef6120ab Bump mockito-core from 4.8.1 to 4.9.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.8.1 to 4.9.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.1...v4.9.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-11-15 14:18:11 +01:00
Stefan Niedermann
2b8d479188 Version bump to 3.7.0
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2022-11-12 09:05:11 +01:00
Stefan Niedermann
20bb948130 Material 3: First steps
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2022-11-12 09:02:24 +01:00
dependabot[bot]
272bf451e8 Bump core from 1.4.0 to 1.5.0
Bumps core from 1.4.0 to 1.5.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 14:13:20 +01:00
dependabot[bot]
7bd8bee14a Bump gson from 2.9.1 to 2.10
Bumps [gson](https://github.com/google/gson) from 2.9.1 to 2.10.
- [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.9.1...gson-parent-2.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 16:53:19 +02:00
dependabot[bot]
341c264fe5 Bump fragment from 1.5.3 to 1.5.4
Bumps fragment from 1.5.3 to 1.5.4.

---
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-10-24 16:30:49 +02:00
dependabot[bot]
baa197a064 Bump mockito-core from 4.8.0 to 4.8.1
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.0...v4.8.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>
2022-10-24 15:51:14 +02:00
dependabot[bot]
8a23a3fe78 Bump glide from 4.14.1 to 4.14.2
Bumps [glide](https://github.com/bumptech/glide) from 4.14.1 to 4.14.2.
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.14.1...v4.14.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 16:06:27 +02:00