Commit graph

3639 commits

Author SHA1 Message Date
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
Andy Scherzinger
01cba82a80
Merge pull request #1712 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.7.0
build(deps): Bump com.github.nextcloud.android-common:ui from 0.6.0 to 0.7.0
2023-03-22 09:19:45 +01: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
Andy Scherzinger
fae471f6d4
Merge pull request #1708 from nextcloud/repo-sync/android-config/main
🔄 synced file(s) with nextcloud/android-config
2023-03-22 09:10:37 +01:00
Andy Scherzinger
be28c7cc36
Merge pull request #1713 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-3.2.1
build(deps): Bump hmarr/auto-approve-action from 3.1.0 to 3.2.1
2023-03-22 09:09:37 +01:00
Andy Scherzinger
002e4ef190
Merge pull request #1714 from nextcloud/dependabot/github_actions/github/codeql-action-2.2.7
build(deps): Bump github/codeql-action from 2.2.5 to 2.2.7
2023-03-22 09:09:09 +01:00
Andy Scherzinger
d18cc6e83f
Merge pull request #1717 from nextcloud/1715-fix-missing-monochrome-icon
fix(launcher): Fix missing monochrome icon (#1715)
2023-03-22 09:07:09 +01: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
nextcloud-android-bot
e132d3d52c 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-03-22 02:30:10 +00:00
dependabot[bot]
a29bd91f8f
build(deps): Bump github/codeql-action from 2.2.5 to 2.2.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.5 to 2.2.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](32dc499307...168b99b3c2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 14:08:09 +00:00
dependabot[bot]
afbd308cd9
build(deps): Bump hmarr/auto-approve-action from 3.1.0 to 3.2.1
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 3.1.0 to 3.2.1.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](de8ae18c17...4488819367)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 14:07:58 +00:00
Álvaro Brey
4da7eca7a6
Merge pull request #1706 from nextcloud/dependabot/gradle/org.mockito-mockito-core-5.2.0
build(deps): Bump org.mockito:mockito-core from 5.1.1 to 5.2.0
2023-03-10 09:42:22 +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
abeaf1ce77
Update fastlane
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-03-08 12:28:00 +01:00
Álvaro Brey
5d357a153d
fix(fastlane): Fix parameters for release tasks
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-03-08 12:27:09 +01: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
Tobias Kaminsky
42d7331f53
Merge pull request #1697 from nextcloud/fix/codeql
build: Revert kotlin version to 1.8.0
2023-03-02 09:20:51 +01:00
Álvaro Brey
a7406e3e74
build: Revert kotlin version to 1.8.0
1.8.10 not supported by CodeQL for now

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-03-01 11:58:55 +01:00
Álvaro Brey
fb8e2225e8
Merge pull request #1696 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.4.2
build(deps): Bump com.android.tools.build:gradle from 7.4.1 to 7.4.2
2023-02-28 11:12:32 +01:00
dependabot[bot]
14ce1b661d
build(deps): Bump com.android.tools.build:gradle from 7.4.1 to 7.4.2
Bumps com.android.tools.build:gradle from 7.4.1 to 7.4.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 03:07:04 +00:00
Álvaro Brey
88704f8880
Merge pull request #1695 from nextcloud/dependabot/github_actions/github/codeql-action-2.2.5
build(deps): Bump github/codeql-action from 2.2.4 to 2.2.5
2023-02-27 16:22:43 +01:00
dependabot[bot]
19ef732a36
build(deps): Bump github/codeql-action from 2.2.4 to 2.2.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](17573ee1cc...32dc499307)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 14:12:23 +00:00
Álvaro Brey
36cdec49a8
Merge pull request #1694 from nextcloud/chore/glide-versions
chore(build): Single constant for glide version
2023-02-27 10:04:09 +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
Álvaro Brey
5395a53883
Merge pull request #1693 from nextcloud/dependabot/gradle/com.github.bumptech.glide-glide-4.15.0
Bump com.github.bumptech.glide:glide from 4.14.2 to 4.15.0
2023-02-27 09:35:58 +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
Álvaro Brey
17097212c6
Merge pull request #1690 from nextcloud/dependabot/gradle/androidx.arch.core-core-testing-2.2.0
Bump androidx.arch.core:core-testing from 2.1.0 to 2.2.0
2023-02-24 09:36:13 +01: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
Tobias Kaminsky
178ea45f7f
Merge pull request #1688 from nextcloud/repo-sync/android-config/main
🔄 synced file(s) with nextcloud/android-config
2023-02-21 07:18:04 +01:00
nextcloud-android-bot
ed8333af75 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-02-21 03:02:44 +00:00
Álvaro Brey
1f1cdc049a
Merge pull request #1680 from nextcloud/theme-alignment
feat(theming): Use nextcloud-common library for theming UI elements (#1648)
2023-02-16 13:26:50 +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
Álvaro Brey
466d0531aa
Merge pull request #1685 from nextcloud/repo-sync/android-config/main
🔄 synced file(s) with nextcloud/android-config
2023-02-16 09:11:39 +01:00
nextcloud-android-bot
d8aaba3a94 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-02-16 02:46:32 +00:00
Tobias Kaminsky
53014f8fad
Merge pull request #1684 from nextcloud/repo-sync/android-config/main
🔄 synced file(s) with nextcloud/android-config
2023-02-14 10:29:23 +01:00
nextcloud-android-bot
2a27df1d66 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-02-14 02:47:08 +00:00
Álvaro Brey
20133e4d8a
Merge pull request #1682 from nextcloud/dependabot/github_actions/github/codeql-action-2.2.4
Bump github/codeql-action from 2.2.1 to 2.2.4
2023-02-13 15:46:35 +01:00
Álvaro Brey
7b5c1f5706
Merge pull request #1681 from nextcloud/dependabot/github_actions/actions/setup-java-3.10.0
Bump actions/setup-java from 3.9.0 to 3.10.0
2023-02-13 15:46:16 +01:00
dependabot[bot]
3bbff6dc5b
Bump github/codeql-action from 2.2.1 to 2.2.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3ebbd71c74...17573ee1cc)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 14:15:51 +00:00
dependabot[bot]
c78eab05be
Bump actions/setup-java from 3.9.0 to 3.10.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](1df8dbefe2...3f07048e3d)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 14:15:36 +00: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
Tobias Kaminsky
c30dd5850c
Merge pull request #1679 from nextcloud/repo-sync/android-config/main
🔄 synced file(s) with nextcloud/android-config
2023-02-10 07:12:32 +01:00