Commit graph

2370 commits

Author SHA1 Message Date
Stefan Niedermann
c443381acd fix(i18n): Adjust links to transifex
https://help.nextcloud.com/t/transifex-announcement-web-applications-domain-change/159445

Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-04-05 11:35:41 +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
Tobias Kaminsky
ff1b8b89ea
Merge pull request #1724 from nextcloud/dependabot/gradle/androidx.fragment-fragment-1.5.6
build(deps): Bump androidx.fragment:fragment from 1.5.5 to 1.5.6
2023-03-27 10:18:15 +02:00
Stefan Niedermann
b790d2115b chore: Remove unused flavors from .gitignore
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-03-24 20:51:40 +01: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
Stefan Niedermann
ad74c63fc7 fix(launcher): Fix missing monochrome icon (#1715)
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-03-22 08:17:27 +01: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
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