Commit graph

501 commits

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

---
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-05-16 19:19:19 +02:00
dependabot[bot]
74e65d1963
build(deps): Bump androidx.core:core-splashscreen from 1.0.0 to 1.0.1
Bumps androidx.core:core-splashscreen from 1.0.0 to 1.0.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 18:51:35 +02:00
Andy Scherzinger
765d456740
Merge pull request #1793 from nextcloud/dependabot/gradle/androidx.core-core-ktx-1.10.1
build(deps): Bump androidx.core:core-ktx from 1.10.0 to 1.10.1
2023-05-16 18:15:17 +02:00
Andy Scherzinger
5fcaa6ddd7
Merge pull request #1789 from nextcloud/dependabot/gradle/com.google.android.material-material-1.9.0
build(deps): Bump com.google.android.material:material from 1.8.0 to 1.9.0
2023-05-16 18:07:58 +02:00
dependabot[bot]
d32acf871f
build(deps): Bump com.github.nextcloud.android-common:ui
Bumps [com.github.nextcloud.android-common:ui](https://github.com/nextcloud/android-common) from 0.8.0 to 0.10.0.
- [Release notes](https://github.com/nextcloud/android-common/releases)
- [Commits](https://github.com/nextcloud/android-common/compare/0.8.0...0.10.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-05-15 02:09:17 +00:00
dependabot[bot]
fbe34bbd09
build(deps): Bump androidx.core:core-ktx from 1.10.0 to 1.10.1
Bumps androidx.core:core-ktx from 1.10.0 to 1.10.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 02:01:33 +00:00
dependabot[bot]
3fd7e37694
build(deps): Bump com.google.android.material:material
Bumps [com.google.android.material:material](https://github.com/material-components/material-components-android) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.8.0...1.9.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-05-05 02:01:44 +00:00
tobiasKaminsky
d22093ff60 Streamline commons version
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-04-17 15:33:39 +02:00
tobiasKaminsky
05cfad76e1
Set minSdkVersion to 24 + remove checks
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-04-17 14:22:50 +02:00
dependabot[bot]
437e63c06c
build(deps): Bump org.robolectric:robolectric from 4.9.2 to 4.10
Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.9.2 to 4.10.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.9.2...robolectric-4.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 06:22:47 +00:00
dependabot[bot]
dcec2bafb9
build(deps): Bump org.mockito:mockito-core from 5.2.0 to 5.3.0
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.2.0...v5.3.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-04-12 02:03:00 +00:00
Álvaro Brey
cbddf41836 chore: Increment minor version on main branch with fastlane incrementVersion type:minor
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-04-11 13:38:30 +02:00
dependabot[bot]
57eb577479
build(deps): Bump androidx.core:core-ktx from 1.9.0 to 1.10.0
Bumps androidx.core:core-ktx from 1.9.0 to 1.10.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 09:35:05 +00:00
Stefan Niedermann
2b57ad6d3c feat(theming): Bump nextcloud-common to 0.8.0
Follow-Up to https://github.com/nextcloud/notes-android/pull/1680

Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-04-11 10:04:23 +02:00
dependabot[bot]
68421456d6
build(deps): Bump com.android.tools:desugar_jdk_libs from 2.0.2 to 2.0.3
Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.0.2 to 2.0.3.
- [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-04-03 02:05:16 +00:00
Andy Scherzinger
b23f3c5c50
Merge pull request #1720 from nextcloud/chore/noid/buildToolsVersion3302
chore: Bump buildToolsVersion from 31.0.0 to 33.0.2
2023-03-27 10:55:16 +02:00
Tobias Kaminsky
91300f18ee
Merge pull request #1723 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.6.1
build(deps): Bump androidx.lifecycle:lifecycle-viewmodel-ktx from 2.6.0 to 2.6.1
2023-03-27 10:52:26 +02:00
tobiasKaminsky
7c9fba4133
Not needed anymore to specify it
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-03-27 10:41:58 +02:00
dependabot[bot]
e3d4ee9598
build(deps): Bump androidx.lifecycle:lifecycle-viewmodel-ktx
Bumps androidx.lifecycle:lifecycle-viewmodel-ktx from 2.6.0 to 2.6.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 08:22:19 +00:00
Tobias Kaminsky
8383ca3ef4
Merge pull request #1721 from nextcloud/dependabot/gradle/androidx.work-work-runtime-2.8.1
build(deps): Bump androidx.work:work-runtime from 2.8.0 to 2.8.1
2023-03-27 10:19:05 +02:00
Tobias Kaminsky
fdfc330d0a
Merge pull request #1722 from nextcloud/dependabot/gradle/roomVersion-2.5.1
build(deps): Bump roomVersion from 2.5.0 to 2.5.1
2023-03-27 10:18:50 +02:00
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
dependabot[bot]
d91d124c6c
build(deps): Bump roomVersion from 2.5.0 to 2.5.1
Bumps `roomVersion` from 2.5.0 to 2.5.1.

Updates `androidx.room:room-runtime` from 2.5.0 to 2.5.1

Updates `androidx.room:room-compiler` from 2.5.0 to 2.5.1

---
updated-dependencies:
- dependency-name: androidx.room:room-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.room:room-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 03:05:34 +00:00
dependabot[bot]
51aaad3f48
build(deps): Bump androidx.work:work-runtime from 2.8.0 to 2.8.1
Bumps androidx.work:work-runtime from 2.8.0 to 2.8.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 03:05:26 +00:00
Andy Scherzinger
b24c5e1dfd
chore: Bump buildToolsVersion from 31.0.0 to 33.0.2
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-03-22 09:44:41 +01: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