Commit graph

2925 commits

Author SHA1 Message Date
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
Á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
Á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
nextcloud-android-bot
5907508029 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-02-10 03:11:54 +00: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
Álvaro Brey
909f90d5f0
Merge pull request #1677 from nextcloud/dependabot/gradle/androidx.work-work-runtime-2.8.0
Bump androidx.work:work-runtime from 2.7.1 to 2.8.0
2023-02-09 12:56:31 +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
Álvaro Brey
2a853f6566
Merge pull request #1676 from nextcloud/stefan-niedermann-patch-2
Fix branchname in FAQ links
2023-02-08 09:30:57 +01:00
tobiasKaminsky
2b26bec123
part 2 2023-02-08 08:49:44 +01:00
Niedermann IT-Dienstleistungen
fedf1a0395
Fix branchname in FAQ links
Links im the FAQ should contain `main` instead of `master`

Signed-off-by: Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com>
2023-02-07 21:54:50 +01:00
Álvaro Brey
5b2039d3ea
Merge pull request #1675 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-2.1.1
Bump peter-evans/create-or-update-comment from 2.1.0 to 2.1.1
2023-02-06 14:34:43 +01:00
dependabot[bot]
250df96cdf
Bump peter-evans/create-or-update-comment from 2.1.0 to 2.1.1
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](5adcb0bb0f...67dcc547d3)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 13:19:03 +00:00
Tobias Kaminsky
04f313f600
Merge pull request #1674 from nextcloud/dependabot/gradle/com.android.tools-desugar_jdk_libs-2.0.2
Bump com.android.tools:desugar_jdk_libs from 2.0.1 to 2.0.2
2023-02-06 07:14:48 +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
b0b9dfd891
Merge pull request #1671 from nextcloud/dependabot/gradle/org.jetbrains.kotlin-kotlin-gradle-plugin-1.8.10
Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.8.0 to 1.8.10
2023-02-03 15:43:53 +01:00
Álvaro Brey
3bb56a461a
Merge pull request #1669 from nextcloud/fix/setup-fastlane
Setup fastlane
2023-02-03 14:24:22 +01:00