Compare commits

..
Author SHA1 Message Date
tobiasKaminsky db407b0b6a test with 500mb
long to support more than 2gb files

Signed-off-by: tobiasKaminsky <[email protected]>
2023-07-28 18:49:28 +02:00
tobiasKaminsky 5b2c912a66 Encrypt large files with temporary file
Signed-off-by: tobiasKaminsky <[email protected]>
2023-07-28 18:49:28 +02:00
Andy Scherzinger e7ee6534d9 Merge pull request #11769 from nextcloud/fix/back-icon
Fix back arrow appearing as hamburger icon
2023-07-28 17:47:55 +02:00
Andy Scherzinger 8ec2f34acd Merge pull request #11846 from nextcloud/refactor-links
Refactor links
2023-07-28 17:28:03 +02:00
Andy Scherzinger d93962fd00 Merge pull request #11754 from nextcloud/dependabot/gradle/com.github.zynkware-Document-Scanning-Android-SDK-1.1.1
Build(deps): Bump com.github.zynkware:Document-Scanning-Android-SDK from 1.0.1 to 1.1.1
2023-07-28 17:21:16 +02:00
dependabot[bot] fc7fb3e9df Build(deps): Bump com.github.zynkware:Document-Scanning-Android-SDK
Bumps [com.github.zynkware:Document-Scanning-Android-SDK](https://github.com/zynkware/Document-Scanning-Android-SDK) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/zynkware/Document-Scanning-Android-SDK/releases)
- [Commits](https://github.com/zynkware/Document-Scanning-Android-SDK/compare/1.0.1...1.1.1)

---
updated-dependencies:
- dependency-name: com.github.zynkware:Document-Scanning-Android-SDK
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-28 15:12:17 +00:00
ZetaTom db3a38a4c7 Fix 'Host your own server' button
Signed-off-by: ZetaTom <[email protected]>
2023-07-28 17:02:58 +02:00
ZetaTom 9ad31fd707 Update branch
Signed-off-by: ZetaTom <[email protected]>
2023-07-28 17:02:58 +02:00
ZetaTom 2387e2ff75 Minor refactoring
- use DisplayUtils.startLinkIntent instead of DisplayUtils.startIntentIfAppAvailable where applicable

Signed-off-by: ZetaTom <[email protected]>
2023-07-28 17:02:58 +02:00
Andy Scherzinger c98df3285d Merge pull request #11736 from nextcloud/fix/singlefilefragment-actions
Fix file actions available in BottomSheet
2023-07-28 17:02:07 +02:00
Andy Scherzinger 891818711e bump score from master
Signed-off-by: Andy Scherzinger <[email protected]>
2023-07-28 16:58:14 +02:00
Andy Scherzinger fcf21d9362 bump function parameter threshold
Signed-off-by: Andy Scherzinger <[email protected]>
2023-07-28 16:58:14 +02:00
ZetaTom 050cd94418 Split test case and improve comments
Signed-off-by: ZetaTom <[email protected]>
2023-07-28 16:58:13 +02:00
ZetaTom f39170bc0d Add test case for (de)select when in single file fragment
Signed-off-by: ZetaTom <[email protected]>
2023-07-28 16:58:13 +02:00
ZetaTom 0e13fe2c4d Fix typo
Signed-off-by: ZetaTom <[email protected]>
2023-07-28 16:58:13 +02:00
ZetaTom 0b28a889ea Fix file actions available in BottomSheet
- reintroduce isSingleFileFragment
  - hides *Select all* and *Deselect all*
- hide *Pin to Home screen* where not applicable
- generally prefer *Send/Share* option over *Send*
  - only show *Send* when all files are downloaded

Signed-off-by: ZetaTom <[email protected]>
2023-07-28 16:58:13 +02:00
Andy Scherzinger 8f18be1333 Merge pull request #11689 from nextcloud/fix/folderpicker-actions
Fix actions in folder picker
2023-07-28 16:41:30 +02:00
Andy Scherzinger 213f221342 Merge pull request #11840 from nextcloud/fix/multiple-create-from-template
Improve UX when creating rich document
2023-07-28 16:39:04 +02:00
ZetaTom 83df8c5ed7 Move error snackbars to parent activity.
Signed-off-by: ZetaTom <[email protected]>
2023-07-28 15:34:13 +02:00
ZetaTom cb59aeb875 Show dialogue when creating document from template
Signed-off-by: ZetaTom <[email protected]>
2023-07-28 15:34:13 +02:00
Andy Scherzinger f7fa8b8019 Merge pull request #11843 from dean36963/fullscreen_play_button_when_paused
When entering fullscreen, allow for paused state
2023-07-28 10:23:31 +02:00
Dean Birch 5c32938f34 When entering fullscreen, allow for paused state
When entering fullscreen, check if the video is paused and ensure to
display the play button instead.

Signed-off-by: Dean Birch <[email protected]>
2023-07-28 10:11:50 +02:00
Nextcloud bot 024428a49b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-28 02:48:38 +00:00
Nextcloud bot 6c36200995 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-28 02:48:09 +00:00
Andy Scherzinger 40e756e2f4 Merge pull request #11844 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.6.1
Build(deps): Bump androidx.fragment:fragment-ktx from 1.6.0 to 1.6.1
2023-07-27 18:55:05 +02:00
dependabot[bot] af76cf28b2 Build(deps): Bump androidx.fragment:fragment-ktx from 1.6.0 to 1.6.1
Bumps androidx.fragment:fragment-ktx from 1.6.0 to 1.6.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-27 06:23:05 +00:00
Andy Scherzinger 4fda0e731f Merge pull request #11845 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-07-27 08:19:38 +02:00
nextcloud-android-bot 1e36be3098 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-07-27 06:16:56 +00:00
Nextcloud bot f9657bf130 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-27 02:33:20 +00:00
Nextcloud bot c48539d4c7 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-27 02:32:51 +00:00
Andy Scherzinger 012b0b80ef Merge pull request #11839 from nextcloud/fix/search-actionbar
Remove unnecessary call to clear title in UnifiedSearchFragment
2023-07-26 15:38:38 +02:00
Andy Scherzinger ac3106e2aa Merge pull request #11837 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-8.1.0
Build(deps): Bump com.android.tools.build:gradle from 8.0.2 to 8.1.0
2023-07-26 11:27:54 +02:00
Andy Scherzinger 6d56215a95 Merge pull request #11838 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.12.0
Build(deps): Bump com.github.nextcloud.android-common:ui from 0.11.0 to 0.12.0
2023-07-26 11:27:15 +02:00
Nextcloud bot 3c0efb97bf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-26 03:11:44 +00:00
Nextcloud bot b07f4250a5 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-26 03:11:09 +00:00
Nextcloud bot 610362e303 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-26 03:09:59 +00:00
Nextcloud bot 7cb956b1b6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-26 03:09:30 +00:00
dependabot[bot] ca35412c8d Build(deps): Bump com.github.nextcloud.android-common:ui
Bumps com.github.nextcloud.android-common:ui from 0.11.0 to 0.12.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] <[email protected]>
2023-07-26 01:28:02 +00:00
dependabot[bot] b2f3fc9825 Build(deps): Bump com.android.tools.build:gradle from 8.0.2 to 8.1.0
Bumps com.android.tools.build:gradle from 8.0.2 to 8.1.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-26 01:27:23 +00:00
ZetaTom acfe6e66d8 Remove unnecessary call to clear title in UnifiedSearchFragment
Signed-off-by: ZetaTom <[email protected]>
2023-07-25 16:26:01 +02:00
Andy Scherzinger 5497775ace Merge pull request #11778 from nextcloud/fix/search-actionbar
Hide actionbar title when search input field is opened
2023-07-25 14:29:07 +02:00
ZetaTom e71bcb72fa Hide search close button when search input is cleared
Signed-off-by: ZetaTom <[email protected]>
2023-07-25 11:32:20 +02:00
ZetaTom 5f7941219e Hide actionbar title when search input field is opened
Signed-off-by: ZetaTom <[email protected]>
2023-07-25 11:32:20 +02:00
Andy Scherzinger f6632aecbb Merge pull request #11834 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-07-25 07:54:57 +02:00
nextcloud-android-bot 7769f60b53 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-07-25 05:52:35 +00:00
Nextcloud bot 4184d3baae Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-25 02:35:17 +00:00
Nextcloud bot 81d280060f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-25 02:34:48 +00:00
Andy Scherzinger db5b312b3f Merge pull request #11817 from nextcloud/nmc/fixMediaViewEmptyState
Fix empty state for media view
2023-07-24 18:08:03 +02:00
Andy Scherzinger cacc62a1a9 Merge pull request #11830 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.20.0
Build(deps): Bump com.diffplug.spotless from 6.19.0 to 6.20.0
2023-07-24 18:01:44 +02:00
Andy Scherzinger 997fdbe6d1 remove unused resource
Signed-off-by: Andy Scherzinger <[email protected]>
2023-07-24 17:58:37 +02:00
Andy Scherzinger 2a53a783de fix formatting for spotless version bump
Signed-off-by: Andy Scherzinger <[email protected]>
2023-07-24 17:56:36 +02:00
dependabot[bot] 638d59d159 Build(deps): Bump com.diffplug.spotless from 6.19.0 to 6.20.0
Bumps com.diffplug.spotless from 6.19.0 to 6.20.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-24 17:56:32 +02:00
Andy Scherzinger 37e151718f Merge pull request #11819 from nextcloud/nmc/persistMediaViewFolderSelection
Persist last selected media folder for media view
2023-07-24 17:54:25 +02:00
A117870935 d91661cb4a Persist last selected media folder for media view. 2023-07-24 17:40:19 +02:00
Andy Scherzinger 7976651d3e Merge pull request #11813 from nextcloud/nmc/uploadListTouchTargetFix
Fix upload list touch target by removing frame layout
2023-07-24 17:08:47 +02:00
Andy Scherzinger 99f68859a8 Merge pull request #11832 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.6.1
Build(deps): Bump gradle/gradle-build-action from 2.6.0 to 2.6.1
2023-07-24 17:08:18 +02:00
dependabot[bot] 76fb9647fe Build(deps): Bump gradle/gradle-build-action from 2.6.0 to 2.6.1
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/bd5760595778326ba7f1441bcf7e88b49de61a25...915a66c096a03101667f9df2e56c9efef558b165)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-24 11:06:02 +00:00
Nextcloud bot 9c25b85fdb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-24 02:33:33 +00:00
Nextcloud bot a94d8f9486 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-24 02:33:04 +00:00
Andy Scherzinger 281ac3ce9d Merge pull request #11806 from nextcloud/dependabot/gradle/daggerVersion-2.47
Build(deps): Bump daggerVersion from 2.46.1 to 2.47
2023-07-23 19:31:26 +02:00
Andy Scherzinger 59b497ddab Merge pull request #11792 from nextcloud/dependabot/gradle/exoplayerVersion-2.19.0
Build(deps): Bump exoplayerVersion from 2.18.7 to 2.19.0
2023-07-23 19:09:02 +02:00
Andy Scherzinger 9a0e57561d Merge pull request #11812 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.6.0
Build(deps): Bump gradle/gradle-build-action from 2.5.1 to 2.6.0
2023-07-23 16:24:01 +02:00
Andy Scherzinger d8d81ac7f7 Merge pull request #11821 from nextcloud/nmc/selectFolderEmptyStateText
Fix folder picker empty state headline text
2023-07-23 16:23:22 +02:00
Nextcloud bot 8ff48d1d9c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-23 02:35:15 +00:00
Nextcloud bot dfb8e73f3b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-23 02:34:45 +00:00
Andy Scherzinger e7d38609a1 Merge pull request #11827 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-07-22 11:04:34 +02:00
nextcloud-android-bot 8e0f24b4db 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-07-22 08:15:46 +00:00
Nextcloud bot 355fb320dd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-22 02:40:04 +00:00
Nextcloud bot 7ea8de2b4f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-22 02:39:34 +00:00
Nextcloud bot b1ae4081d9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-21 02:33:11 +00:00
Nextcloud bot 18bd255fca Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-21 02:32:40 +00:00
Andy Scherzinger 95b2fa2147 Merge pull request #11822 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-07-20 14:58:46 +02:00
nextcloud-android-bot a5b8a740fe 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-07-20 12:54:30 +00:00
A117870935 a24418cf50 Fix folder picker empty state headline text. 2023-07-20 10:33:47 +05:30
Nextcloud bot 2e8a0b569c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-20 02:37:04 +00:00
Nextcloud bot 291c924049 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-20 02:36:34 +00:00
A117870935 6c32bbf8a8 Fix empty state for media view. 2023-07-19 22:23:14 +05:30
Nextcloud bot e78d0be8e2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-19 02:36:58 +00:00
Nextcloud bot 9472984a6f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-19 02:36:27 +00:00
Nextcloud bot 5fe41d592f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-18 02:35:43 +00:00
Nextcloud bot 5af08b5e21 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-18 02:35:14 +00:00
A117870935 18a82d5ebf Fix upload list touch target by removing frame layout. 2023-07-18 00:52:07 +05:30
dependabot[bot] e96bb2dcfe Build(deps): Bump gradle/gradle-build-action from 2.5.1 to 2.6.0
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/40b6781dcdec2762ad36556682ac74e31030cfe2...bd5760595778326ba7f1441bcf7e88b49de61a25)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-17 11:02:08 +00:00
Nextcloud bot ab7a0c0c3b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-17 02:33:43 +00:00
Nextcloud bot 64a5978756 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-17 02:33:14 +00:00
Nextcloud bot 87d41421ef Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-16 02:35:58 +00:00
Nextcloud bot 39f2f87e2c Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-16 02:35:29 +00:00
Andy Scherzinger 637c8db7fc Merge pull request #11808 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-07-15 10:26:20 +02:00
nextcloud-android-bot 6952565342 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-07-15 06:32:06 +00:00
Nextcloud bot 4c0a3f52c8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-15 02:35:14 +00:00
Nextcloud bot 2d6bd67c1f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-15 02:34:44 +00:00
Andy Scherzinger 408a7475ef Merge pull request #11804 from nextcloud/nmc/fixShareFavCrash
Crash fix for shared and fav section
2023-07-14 17:53:12 +02:00
Andy Scherzinger 4c23aa1688 Merge pull request #11805 from nextcloud/nmc/fixPreviewMediaFileAction
Fix preview media file update for file action
2023-07-14 17:51:13 +02:00
Nextcloud bot 1a74ae0be5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-14 02:38:38 +00:00
Nextcloud bot 8e571e4f7c Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-14 02:38:09 +00:00
dependabot[bot] aab4ae08a1 Build(deps): Bump daggerVersion from 2.46.1 to 2.47
Bumps `daggerVersion` from 2.46.1 to 2.47.

Updates `com.google.dagger:dagger` from 2.46.1 to 2.47
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.46.1...dagger-2.47)

Updates `com.google.dagger:dagger-android` from 2.46.1 to 2.47
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.46.1...dagger-2.47)

Updates `com.google.dagger:dagger-android-support` from 2.46.1 to 2.47
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.46.1...dagger-2.47)

Updates `com.google.dagger:dagger-compiler` from 2.46.1 to 2.47
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.46.1...dagger-2.47)

Updates `com.google.dagger:dagger-android-processor` from 2.46.1 to 2.47
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.46.1...dagger-2.47)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-14 01:19:05 +00:00
A117870935 5c0805af45 Fix preview media file update for file action. 2023-07-13 23:05:36 +05:30
A117870935 e290a0a240 Fix shared and fav section crash by avoiding multiple api calls. 2023-07-13 19:57:43 +05:30
Andy Scherzinger 67adaa6fea Merge pull request #11801 from nextcloud/ci/sign-drone-master
chore(CI): Sign .drone.yml file
2023-07-13 12:52:28 +02:00
Joas Schilling 919c056403 chore(CI): Sign .drone.yml file
Signed-off-by: Joas Schilling <[email protected]>
2023-07-13 11:05:05 +02:00
Nextcloud bot 74ba78b7f9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-13 02:41:46 +00:00
Nextcloud bot b9f0880bae Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-13 02:41:17 +00:00
Nextcloud bot 9f20b08db2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-12 02:29:31 +00:00
Nextcloud bot ed68dd60d4 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-12 02:29:02 +00:00
Andy Scherzinger cec8aaa70d Merge pull request #11430 from nextcloud/chore/contacts-backup-flaky
Add RetryTestRule to ContactsBackupIT
2023-07-11 23:29:31 +02:00
Andy Scherzinger c26496874e Merge pull request #11799 from nextcloud/fix/texteditor-external-links
Fix external links in texteditor
2023-07-11 19:26:31 +02:00
Andy Scherzinger a8e7796b39 Merge pull request #11410 from nextcloud/fix/crash_share_deleted_folder
Fix crashes when receiving external files and last upload folder was deleted
2023-07-11 19:22:01 +02:00
Álvaro Brey 97b02cc562 Add RetryTestRule to ContactsBackupIT
Flaky

Signed-off-by: Álvaro Brey <[email protected]>
2023-07-11 18:34:29 +02:00
Álvaro Brey d0d080d400 refactor: Dedplicate code to handle nonexisting folder
Signed-off-by: Álvaro Brey <[email protected]>
2023-07-11 18:28:59 +02:00
Álvaro Brey 44f06068b0 fix: Reset last upload path when it doesn't exist anymore
Signed-off-by: Álvaro Brey <[email protected]>
2023-07-11 18:28:59 +02:00
Álvaro Brey f3b3dc4fdd fix: Crash when last upload folder does not exist anymore
- When browsing back from a folder, directly browse to root if parent does not exist
- When initially opening a folder, directly browse to root if it doesn't exist

Fixes #11207

Signed-off-by: Álvaro Brey <[email protected]>
2023-07-11 18:28:59 +02:00
ZetaTom f5d03dbcbc Improve wording and clean up
Signed-off-by: ZetaTom <[email protected]>
2023-07-11 15:06:26 +02:00
ZetaTom dfcbce5d49 Open links in browser instead of webview
- links in text-editor will now open in external browser by default
- fixed a few warnings/deprecations

Signed-off-by: ZetaTom <[email protected]>
2023-07-11 14:54:31 +02:00
Nextcloud bot db6dc3fd8f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-11 02:42:00 +00:00
Nextcloud bot c0177c3f89 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-11 02:41:24 +00:00
Andy Scherzinger 62893533ca Merge pull request #11568 from nextcloud/nmc/folderNewShareUpdatePermission
Fix: new folder/file share permission
2023-07-10 21:44:20 +02:00
Andy Scherzinger 2a62b4bfe6 Merge pull request #11794 from nextcloud/android13-migration
Support Android 13 / API 33
2023-07-10 21:41:40 +02:00
Andy Scherzinger 5a9c5629bf Bump lint score
Signed-off-by: Andy Scherzinger <[email protected]>
2023-07-10 21:40:48 +02:00
Andy Scherzinger 8011494337 Format code
Signed-off-by: Andy Scherzinger <[email protected]>
2023-07-10 18:57:44 +02:00
ZetaTom f811ab679e Request POST_NOTIFICATION permission after onboarding is completed
Signed-off-by: ZetaTom <[email protected]>
2023-07-10 18:57:44 +02:00
ZetaTom 8617954cff Reformat PermissionUtil.kt
Signed-off-by: ZetaTom <[email protected]>
2023-07-10 18:57:44 +02:00
ZetaTom c6bfb73e39 Utilise granular media permissions
Signed-off-by: ZetaTom <[email protected]>
2023-07-10 18:57:44 +02:00
ZetaTom 21c4d9a8ac Raise targetSdkVersion
Signed-off-by: ZetaTom <[email protected]>
2023-07-10 18:57:43 +02:00
A117870935 a0457d8eb1 Fix: take user selected permission for newly folder share instead of default (view only) permission. 2023-07-10 21:08:05 +05:30
Andy Scherzinger ba292cfd2b Merge pull request #11796 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-07-10 09:40:54 +02:00
nextcloud-android-bot 73e7921a03 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-07-10 07:04:21 +00:00
Nextcloud bot 9d7b6aeb7c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-10 02:42:45 +00:00
Nextcloud bot 988fa401b7 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-10 02:42:15 +00:00
Nextcloud bot 0e7f21dea6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-09 02:43:21 +00:00
Nextcloud bot ded83f9c64 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-09 02:42:52 +00:00
Nextcloud bot 5e79b5d796 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-08 02:38:23 +00:00
Nextcloud bot 482f444377 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-08 02:37:54 +00:00
Nextcloud bot 98a4840fce Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-07 02:34:53 +00:00
Nextcloud bot 343a15dde8 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-07 02:34:24 +00:00
Nextcloud bot 4f281850dd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-06 02:39:44 +00:00
Nextcloud bot e9ba9bd71b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-06 02:39:14 +00:00
dependabot[bot] 95541b1378 Build(deps): Bump exoplayerVersion from 2.18.7 to 2.19.0
Bumps `exoplayerVersion` from 2.18.7 to 2.19.0.

Updates `com.google.android.exoplayer:exoplayer` from 2.18.7 to 2.19.0
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.7...r2.19.0)

Updates `com.google.android.exoplayer:extension-okhttp` from 2.18.7 to 2.19.0
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.7...r2.19.0)

---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.android.exoplayer:extension-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-06 01:30:30 +00:00
Tobias Kaminsky a5578e908b Merge pull request #11790 from nextcloud/tobiasKaminsky-patch-1
Create pr-feedback.yml
2023-07-05 08:15:53 +02:00
Tobias Kaminsky 4c44be38ca Create pr-feedback.yml
Signed-off-by: Tobias Kaminsky <[email protected]>
2023-07-05 08:15:01 +02:00
Nextcloud bot 6aad98bb60 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-05 02:34:09 +00:00
Nextcloud bot d8c59c954a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-05 02:33:41 +00:00
Andy Scherzinger 57755343a4 Merge pull request #11738 from nextcloud/nmc/fixEmptyTrashbinFix
Fix: Migrate OwncloudClient to NextCloudClient for empty trashbin
2023-07-04 18:38:33 +02:00
A117870935 1f8bff5f8e Migrated Owncloud to NextCloud client for EmptyTrashbinRemoteOperation to fix crash. 2023-07-04 18:38:02 +02:00
Andy Scherzinger d58edd4dce Merge pull request #11774 from nextcloud/updatePermissions
After successful upload update permission to have correct resharing info
2023-07-04 18:36:47 +02:00
Andy Scherzinger 3511dc1d9c Merge pull request #11759 from nextcloud/e2e_hideStream
Do not show "stream with" option for encrypted files
2023-07-04 18:35:53 +02:00
Andy Scherzinger d6158a549f Merge pull request #11765 from nextcloud/fix/trashbin
Fix crash when emptying bin
2023-07-04 18:28:39 +02:00
Andy Scherzinger 8ca7b1d8e3 Merge pull request #11761 from nextcloud/fix/download-PreviewMediaFragment
PreviewMediaFragment: UI/UX improvements
2023-07-04 18:27:58 +02:00
Tobias Kaminsky 0b75f904a8 Merge pull request #11746 from nextcloud/image-editor
Add image editor
2023-07-04 14:27:35 +02:00
Andy Scherzinger bb14f82689 Merge pull request #11786 from nextcloud/dependabot/gradle/pl.droidsonroids.gif-android-gif-drawable-1.2.27
Build(deps): Bump pl.droidsonroids.gif:android-gif-drawable from 1.2.26 to 1.2.27
2023-07-04 10:39:24 +02:00
Andy Scherzinger 890bc5f41c Merge pull request #11787 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-07-04 09:58:41 +02:00
nextcloud-android-bot 74021caa8e 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-07-04 07:56:15 +00:00
Nextcloud bot b09df699d7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-04 02:37:13 +00:00
Nextcloud bot efa8db8e6d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-04 02:36:44 +00:00
dependabot[bot] 80da2b2530 Build(deps): Bump pl.droidsonroids.gif:android-gif-drawable
Bumps [pl.droidsonroids.gif:android-gif-drawable](https://github.com/koral--/android-gif-drawable) from 1.2.26 to 1.2.27.
- [Release notes](https://github.com/koral--/android-gif-drawable/releases)
- [Changelog](https://github.com/koral--/android-gif-drawable/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/koral--/android-gif-drawable/compare/v1.2.26...v1.2.27)

---
updated-dependencies:
- dependency-name: pl.droidsonroids.gif:android-gif-drawable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-04 01:39:53 +00:00
ZetaTom a273b6ae2f Screenshot test for multiple accounts
- remove account

Signed-off-by: ZetaTom <[email protected]>
2023-07-03 23:40:25 +02:00
ZetaTom b264a86dd9 Implement screenshot test for multiple accounts
Signed-off-by: ZetaTom <[email protected]>
2023-07-03 23:40:25 +02:00
ZetaTom f0a6b308cf Fix Overdraw lint warning.
Signed-off-by: ZetaTom <[email protected]>
2023-07-03 23:40:25 +02:00
ZetaTom d337013616 Fix actions in folder picker
- removed *Select all*
- show create folder icon instead of single item overflow menu
- adjust theming in *Choose upload folder* dialogue

Signed-off-by: ZetaTom <[email protected]>
2023-07-03 23:40:25 +02:00
Andy Scherzinger d5b3020fce Merge pull request #11752 from nextcloud/dependabot/gradle/org.json-json-20230618
Build(deps): Bump org.json:json from 20230227 to 20230618
2023-07-03 14:57:23 +02:00
dependabot[bot] 0ee669bc1a Build(deps): Bump org.json:json from 20230227 to 20230618
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20230227 to 20230618.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-03 12:12:56 +00:00
Andy Scherzinger 245d10e93e Merge pull request #11785 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.5.1
Build(deps): Bump gradle/gradle-build-action from 2.4.2 to 2.5.1
2023-07-03 14:10:57 +02:00
dependabot[bot] 9cda4072f5 Build(deps): Bump gradle/gradle-build-action from 2.4.2 to 2.5.1
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.4.2 to 2.5.1.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/749f47bda3e44aa060e82d7b3ef7e40d953bd629...40b6781dcdec2762ad36556682ac74e31030cfe2)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-03 11:52:58 +00:00
Andy Scherzinger 95ad95cac1 Merge pull request #11766 from nextcloud/dependabot/gradle/roomVersion-2.5.2
Build(deps): Bump roomVersion from 2.5.1 to 2.5.2
2023-07-03 12:10:19 +02:00
Andy Scherzinger 35f54c1b2d Merge pull request #11780 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.17.0
Build(deps): Bump com.vanniktech:emoji-google from 0.16.0 to 0.17.0
2023-07-03 11:51:53 +02:00
Andy Scherzinger 3be7f74dc1 Merge pull request #11781 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.12
Build(deps): Bump com.squareup.leakcanary:leakcanary-android from 2.11 to 2.12
2023-07-03 11:44:14 +02:00
Andy Scherzinger 29a9d346be Merge pull request #11784 from nextcloud/dependabot/gradle/pl.droidsonroids.gif-android-gif-drawable-1.2.26
Build(deps): Bump pl.droidsonroids.gif:android-gif-drawable from 1.2.25 to 1.2.26
2023-07-03 11:36:12 +02:00
dependabot[bot] 28a914bf55 Build(deps): Bump pl.droidsonroids.gif:android-gif-drawable
Bumps [pl.droidsonroids.gif:android-gif-drawable](https://github.com/koral--/android-gif-drawable) from 1.2.25 to 1.2.26.
- [Release notes](https://github.com/koral--/android-gif-drawable/releases)
- [Changelog](https://github.com/koral--/android-gif-drawable/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/koral--/android-gif-drawable/compare/v1.2.25...v1.2.26)

---
updated-dependencies:
- dependency-name: pl.droidsonroids.gif:android-gif-drawable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-03 09:11:39 +00:00
Nextcloud bot e22b178a5f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-03 02:42:40 +00:00
Nextcloud bot 802d38772d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-03 02:42:10 +00:00
Nextcloud bot 09e6cf96da Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-02 02:39:05 +00:00
Nextcloud bot 78d5b8b53c Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-02 02:38:36 +00:00
Nextcloud bot 4b0b68b580 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-01 02:35:47 +00:00
Nextcloud bot 49280bb248 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-01 02:35:19 +00:00
Nextcloud bot 891e3745b2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-30 02:42:43 +00:00
Nextcloud bot d90ca7338a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-30 02:42:13 +00:00
dependabot[bot] 003ddc785d Build(deps): Bump com.squareup.leakcanary:leakcanary-android
Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.11 to 2.12.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](https://github.com/square/leakcanary/compare/v2.11...v2.12)

---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-06-30 01:53:35 +00:00
ZetaTom bc16cebfa1 Move strings to strings.xml
Signed-off-by: ZetaTom <[email protected]>
2023-06-29 15:33:48 +02:00
ZetaTom a8f2ed2659 Fix Overdraw warning for EditImageActivity
Signed-off-by: ZetaTom <[email protected]>
2023-06-29 15:06:09 +02:00
ZetaTom 85311d5afd Fix SpotBugs increase
- remove background colour from rounded_rect.xml

Signed-off-by: ZetaTom <[email protected]>
2023-06-29 14:41:52 +02:00
ZetaTom 0d2c34dbde Fix formatting and suppress magic number
- added some comments

Signed-off-by: ZetaTom <[email protected]>
2023-06-29 14:41:52 +02:00
ZetaTom f8430b34a0 Add contentDescription to image editor controls
- reduce bottom margin of image editor control strip

Signed-off-by: ZetaTom <[email protected]>
2023-06-29 14:41:52 +02:00
ZetaTom c113861e63 Add image editor
Signed-off-by: ZetaTom <[email protected]>
2023-06-29 14:41:52 +02:00
Nextcloud bot 4f751c7a33 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-29 02:51:38 +00:00
Nextcloud bot a706fdb72a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-29 02:51:09 +00:00
ZetaTom a767dee94c Only colour logo of non-branded client in PreviewMediaFragment
Signed-off-by: ZetaTom <[email protected]>
2023-06-28 14:19:19 +02:00
ZetaTom 71cbe4f5e0 Fix deprecation
Signed-off-by: ZetaTom <[email protected]>
2023-06-28 14:19:19 +02:00
ZetaTom 30230d37eb UX fixes for PreviewMediaFragment
- only autoplay videos once
  - e.g. not when returning from external app
- remember playback position on stop
- colour logo to be visible when no audio thumbnail is available

Signed-off-by: ZetaTom <[email protected]>
2023-06-28 14:19:19 +02:00
ZetaTom fee634623a Fix download action in PreviewMediaFragment
- allow to download file from actions menu
- hide pin to home screen
- fix exception when returning from external player

Signed-off-by: ZetaTom <[email protected]>
2023-06-28 14:19:19 +02:00
Nextcloud bot 5d524cea35 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-28 02:43:58 +00:00
Nextcloud bot d34662ca2d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-28 02:43:29 +00:00
dependabot[bot] afbaa844cf Build(deps): Bump com.vanniktech:emoji-google from 0.16.0 to 0.17.0
Bumps [com.vanniktech:emoji-google](https://github.com/vanniktech/Emoji) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/vanniktech/Emoji/releases)
- [Changelog](https://github.com/vanniktech/Emoji/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vanniktech/Emoji/compare/0.16.0...0.17.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-06-28 01:57:12 +00:00
Nextcloud bot 822b7026c8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-27 02:48:52 +00:00
Nextcloud bot 84534b5040 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-27 02:48:22 +00:00
tobiasKaminsky d772fe54f5 After successful upload update permission to have correct resharing info
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-26 10:31:24 +02:00
Nextcloud bot 2a840d205a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-26 02:41:04 +00:00
Nextcloud bot 628cc52d94 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-26 02:40:35 +00:00
Nextcloud bot 0337d8654f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-25 02:39:19 +00:00
Nextcloud bot e7d78e2d54 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-25 02:38:47 +00:00
Andy Scherzinger 619a82100f Merge pull request #11772 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-06-24 19:37:54 +02:00
nextcloud-android-bot 0b31ba5a35 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-06-24 17:29:11 +00:00
Andy Scherzinger 5f2ae9ca32 Merge pull request #11770 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-06-24 19:27:08 +02:00
nextcloud-android-bot 31bd7fe564 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-06-24 02:55:23 +00:00
Nextcloud bot 00f9eb399b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-24 02:35:49 +00:00
Nextcloud bot 598f6a2ec4 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-24 02:35:19 +00:00
ZetaTom 55bd8cbd9c Fix back icon when returning from build-in pdf viewer
Signed-off-by: ZetaTom <[email protected]>
2023-06-23 16:55:21 +02:00
ZetaTom 391ffa5b1d Fix back arrow appearing as hamburger icon
Signed-off-by: ZetaTom <[email protected]>
2023-06-23 09:10:06 +02:00
Nextcloud bot 7c69cbeee1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-23 03:35:03 +00:00
Nextcloud bot 8eb92d6b89 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-23 03:34:32 +00:00
Nextcloud bot b6373f3348 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-22 02:42:45 +00:00
Nextcloud bot fdac5eb70c Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-22 02:42:15 +00:00
dependabot[bot] 674483096b Build(deps): Bump roomVersion from 2.5.1 to 2.5.2
Bumps `roomVersion` from 2.5.1 to 2.5.2.

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

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

Updates `androidx.room:room-testing` from 2.5.1 to 2.5.2

---
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
- dependency-name: androidx.room:room-testing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-06-22 01:57:25 +00:00
ZetaTom a75af065f9 Fix crash when emptying bin
Signed-off-by: ZetaTom <[email protected]>
2023-06-21 15:59:20 +02:00
Tobias Kaminsky dc1b0748e4 Merge pull request #11762 from nextcloud/encryptDroneSecret
use encrypted GIT_TOKEN
2023-06-21 14:17:29 +02:00
tobiasKaminsky d5024a7b34 use encrypted GIT_TOKEN
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-21 11:14:00 +02:00
tobiasKaminsky e0ada449b4 Do not show "stream with" option for encrypted files
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-21 08:01:45 +02:00
Nextcloud bot 8e00f7ea50 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-21 02:44:57 +00:00
Nextcloud bot fe4957175a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-21 02:44:28 +00:00
Andy Scherzinger 4fb21bb2c5 Merge pull request #11758 from nextcloud/comments-11523
Apply requested changes from #11523
2023-06-20 18:21:15 +02:00
ZetaTom 9124ae8763 Apply requested changes from #11523
Signed-off-by: ZetaTom <[email protected]>
2023-06-20 17:00:33 +02:00
Andy Scherzinger 94cfe5a482 Merge pull request #11523 from nextmcloud/nmc/1944-e2eeDialogContextCrash
E2EE dialog crash on clicking "Set as Encrypted" multiple times
2023-06-20 16:53:25 +02:00
A117870935 9390ad33e8 Added copyright. 2023-06-20 18:18:57 +05:30
A117870935 385320df78 Fixed e2ee dialog crash due to null context. 2023-06-20 18:18:54 +05:30
Andy Scherzinger e70e262778 Merge pull request #11756 from nextcloud/fix/encrypted-folder-icon
Fix encrypted folder icon
2023-06-20 13:13:38 +02:00
Andy Scherzinger 1aabb54970 Merge pull request #11730 from nextcloud/fix/file-actions-bottom-sheet-cut-off
Fix file actions in bottom sheet cut off
2023-06-20 13:09:16 +02:00
Andy Scherzinger 2e6374e07d Update test screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-20 11:02:48 +02:00
ZetaTom 464543dcaa Open bottom sheet as expanded by default
Signed-off-by: ZetaTom <[email protected]>
2023-06-20 11:01:52 +02:00
ZetaTom 241945d480 Fix file actions being cut off in FileActionsBottomSheet
Signed-off-by: ZetaTom <[email protected]>
2023-06-20 11:01:52 +02:00
ZetaTom d7d6ca3b1a Remove redundant ConstraintLayout
Signed-off-by: ZetaTom <[email protected]>
2023-06-20 11:01:39 +02:00
ZetaTom d987cfa0e0 Update encryption flag on newly encrypted folder
Signed-off-by: ZetaTom <[email protected]>
2023-06-20 10:57:16 +02:00
Nextcloud bot 7e1c71e350 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-20 02:36:54 +00:00
Nextcloud bot d01de1a8ce Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-20 02:36:25 +00:00
Nextcloud bot a1d330677c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-19 02:30:57 +00:00
Nextcloud bot e3b55379e2 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-19 02:30:28 +00:00
Nextcloud bot 1f10195d89 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-18 02:24:31 +00:00
Nextcloud bot 1a34e70b8a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-18 02:24:02 +00:00
Nextcloud bot 7c7bf471ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-17 02:25:35 +00:00
Nextcloud bot d839500324 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-17 02:25:06 +00:00
Andy Scherzinger c2eb945bb7 Merge pull request #11743 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.11.0
Build(deps): Bump com.github.nextcloud.android-common:ui from 0.10.0 to 0.11.0
2023-06-16 07:41:46 +02:00
Nextcloud bot d78a4ffcf4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-16 02:25:52 +00:00
Nextcloud bot 3300f6eb92 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-16 02:25:23 +00:00
dependabot[bot] d0277005ad Build(deps): Bump com.github.nextcloud.android-common:ui
Bumps [com.github.nextcloud.android-common:ui](https://github.com/nextcloud/android-common) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/nextcloud/android-common/releases)
- [Commits](https://github.com/nextcloud/android-common/compare/0.10.0...0.11.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] <[email protected]>
2023-06-16 01:57:48 +00:00
Nextcloud bot 5a76f7b5b0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-15 02:24:15 +00:00
Nextcloud bot a367b9058e Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-15 02:23:46 +00:00
Andy Scherzinger e786f0cf7a Merge pull request #11737 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-06-14 12:39:41 +02:00
nextcloud-android-bot 53b1c24458 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-06-14 09:24:31 +00:00
Nextcloud bot 839c205eea Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-14 02:28:51 +00:00
Nextcloud bot 943cc66ab6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-14 02:28:22 +00:00
Tobias Kaminsky 0260bdc821 Merge pull request #11725 from nextcloud/codelqOnGH
run this workflow only on GitHub
2023-06-13 09:12:29 +02:00
Tobias Kaminsky b93df660d2 Merge pull request #11732 from nextcloud/disableBeta
Detect if beta is true
2023-06-13 09:06:39 +02:00
tobiasKaminsky f2aff7a12c Detect if beta is true
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-13 09:04:46 +02:00
tobiasKaminsky ef9f70a89c run this workflow only on GitHub
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-13 08:59:44 +02:00
Nextcloud bot 32c6179d37 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-13 02:30:10 +00:00
Nextcloud bot be24e34b5f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-13 02:29:40 +00:00
Andy Scherzinger 5a25b436bc Merge pull request #11731 from nextcloud/nmc/splashTextMergeFix
Moved splash screen setup strings to avoid merge issue during build process
2023-06-12 16:36:56 +02:00
A117870935 374a66ec3e Moved splash screen setup strings to avoid merge issue during build process. 2023-06-12 20:00:13 +05:30
Andy Scherzinger f36e0be024 Merge pull request #11728 from nextcloud/dependabot/github_actions/actions/checkout-3.5.3
Build(deps): Bump actions/checkout from 3.5.2 to 3.5.3
2023-06-12 14:03:41 +02:00
Andy Scherzinger 8680cbc42e Merge pull request #11727 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3.0.2
Build(deps): Bump peter-evans/create-or-update-comment from 3.0.1 to 3.0.2
2023-06-12 14:01:18 +02:00
dependabot[bot] 61f7aa2673 Build(deps): Bump actions/checkout from 3.5.2 to 3.5.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.2...c85c95e3d7251135ab7dc9ce3241c5835cc595a9)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-06-12 11:57:54 +00:00
dependabot[bot] 264e8bd169 Build(deps): Bump peter-evans/create-or-update-comment
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b...c6c9a1a66007646a28c153e2a8580a5bad27bcfa)

---
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] <[email protected]>
2023-06-12 11:57:50 +00:00
Nextcloud bot 0d7a08c839 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-12 02:27:13 +00:00
Nextcloud bot 2dab79f1e8 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-12 02:26:44 +00:00
Andy Scherzinger f6354d4115 Merge pull request #11721 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-06-11 08:34:02 +02:00
nextcloud-android-bot cbaa474591 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-06-11 03:05:43 +00:00
Nextcloud bot 115b3c5357 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-11 02:44:41 +00:00
Nextcloud bot f86eca6158 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-11 02:44:12 +00:00
Nextcloud bot 686bbf647f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-10 02:26:02 +00:00
Nextcloud bot 91a20e597b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-10 02:25:30 +00:00
Andy Scherzinger 4f9c741d45 Merge pull request #11717 from nextcloud/dependabot/gradle/androidx.core-core-splashscreen-1.0.1
Build(deps): Bump androidx.core:core-splashscreen from 1.0.0 to 1.0.1
2023-06-09 13:28:39 +02:00
Nextcloud bot 9ab5d15f28 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-09 02:27:51 +00:00
Nextcloud bot b17fe9fbe9 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-09 02:27:21 +00:00
dependabot[bot] ef3d1c868a 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] <[email protected]>
2023-06-09 01:57:15 +00:00
Andy Scherzinger 16f755a809 Merge pull request #11707 from nextcloud/dependabot/gradle/commons-io-commons-io-2.13.0
Build(deps): Bump commons-io:commons-io from 2.12.0 to 2.13.0
2023-06-08 22:18:24 +02:00
Andy Scherzinger 23b9bc9ece Merge pull request #11228 from nextcloud/e2eOffline
E2E setup is only possible with internet connection
2023-06-08 21:59:00 +02:00
tobiasKaminsky 3ef9e626de E2E setup is only possible with internet connection
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-08 21:25:07 +02:00
dependabot[bot] ac4820dd08 Build(deps): Bump commons-io:commons-io from 2.12.0 to 2.13.0
Bumps commons-io:commons-io from 2.12.0 to 2.13.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-06-08 19:20:52 +00:00
Andy Scherzinger c9efd4e5b3 Merge pull request #11709 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.6.0
Build(deps): Bump androidx.fragment:fragment-ktx from 1.5.7 to 1.6.0
2023-06-08 21:18:56 +02:00
Andy Scherzinger 5b1703dcb2 Merge pull request #11591 from nextcloud/nmc/1885-splash
Launcher screen
2023-06-08 20:57:02 +02:00
Andy Scherzinger eeb3dee028 Update logo svg and xml versions
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 18:48:29 +02:00
Andy Scherzinger ca6390bce2 bump lint score
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:14:57 +02:00
A117870935 97210f804e Fixed opening Passcode screen two times.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:14:57 +02:00
Andy Scherzinger 25b61a38ac enable "logo-only" splashscreen
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:14:56 +02:00
Andy Scherzinger 5e4e5a7e85 Add copyrights and replace logo for splash screen
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:14:56 +02:00
tobiasKaminsky 34a7b2c022 bold
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:14:56 +02:00
A117870935 aa199088df Splash text updated, logo removed and test cases updated.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:14:56 +02:00
tobiasKaminsky 251159f15b split bold and regular text
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:14:56 +02:00
A117870935 ccf0ee6d0e Test cases added for launcher.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:14:55 +02:00
A117870935 2182f12311 Splash screen migrated to android 31+ and warning removed.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:14:55 +02:00
A117870935 1565e68be0 Added splash screen.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:14:55 +02:00
Andy Scherzinger ef4d638138 Merge pull request #11693 from nextcloud/nmc/notification_theming
Notification list customization
2023-06-08 15:13:16 +02:00
Andy Scherzinger 569676b33d Update screenshot for notifications
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:12:48 +02:00
Andy Scherzinger 0d98f2993b Make all non-primary buttons borderless/non-tonal
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:12:48 +02:00
Andy Scherzinger 09c7aa2d0a move timestamp below message, move buttons back to the left
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:12:48 +02:00
Andy Scherzinger 06388ba539 Move to Material 3 color theming for notification items
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:12:47 +02:00
Andy Scherzinger d94f9acd11 Implement theming of 2-action notification item's buttons
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:12:47 +02:00
A117870935 ca491452e2 Copyright added.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:12:47 +02:00
A117870935 86383b3fd6 Notification list action button customized.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 15:12:47 +02:00
Andy Scherzinger 5f3b0efbff Merge pull request #11715 from nextcloud/chore/noid/cancelableActions
Make actions cancelable
2023-06-08 13:55:01 +02:00
Andy Scherzinger 8471d1e2a2 Update qa.yml
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 13:54:46 +02:00
Andy Scherzinger 47c902deda Make actions cancelable
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-08 13:53:06 +02:00
Andy Scherzinger 4af60e69dc Merge pull request #11557 from jsoberg/js/increasing-default-heap-space
Increase max heap space in base gradle.properties
2023-06-08 13:37:29 +02:00
Andy Scherzinger 407acd0e5c Merge pull request #11706 from nextcloud/rakekniven-patch-1
Fixed grammar
2023-06-08 13:35:35 +02:00
rakekniven 6e085a19c9 Fixed grammar
Signed-off-by: rakekniven <[email protected]>
2023-06-08 11:43:51 +02:00
Andy Scherzinger 7273c29f90 Merge pull request #11708 from nextcloud/dependabot/gradle/kotlin_version-1.8.22
Build(deps): Bump kotlin_version from 1.8.21 to 1.8.22
2023-06-08 10:06:58 +02:00
Andy Scherzinger fba81d0398 Merge pull request #11711 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-06-08 09:40:16 +02:00
nextcloud-android-bot 1c745a5af6 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-06-08 07:39:30 +00:00
dependabot[bot] 1d21c8e1ee Build(deps): Bump kotlin_version from 1.8.21 to 1.8.22
Bumps `kotlin_version` from 1.8.21 to 1.8.22.

Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.21 to 1.8.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.21 to 1.8.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-06-08 07:27:58 +00:00
Nextcloud bot bfb3951b37 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-08 02:24:23 +00:00
Nextcloud bot cda7d76b4e Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-08 02:23:54 +00:00
dependabot[bot] dcd2b2b64b Build(deps): Bump androidx.fragment:fragment-ktx from 1.5.7 to 1.6.0
Bumps androidx.fragment:fragment-ktx from 1.5.7 to 1.6.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-06-08 02:03:06 +00:00
Andy Scherzinger 86eb3d110a Merge pull request #11560 from nextcloud/nmc/triggerOneEmailForNewShare
Triggering one email for newly created share.
2023-06-07 22:09:51 +02:00
A117870935 4bce2d3e34 Triggering one email for newly created share. 2023-06-07 18:16:06 +02:00
Andy Scherzinger ffcb15e3b4 Merge pull request #11704 from nextcloud/fixScreenshotTestsOnJDK17
Fix screenshot test on jdk17
2023-06-07 18:10:22 +02:00
tobiasKaminsky 3df7900596 fix test on non google emulator (only with google api)
add groupfolder capability

Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-07 15:53:28 +02:00
tobiasKaminsky 2aecc3b92f Fix screenshot test on jdk17
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-07 14:55:06 +02:00
Tobias Kaminsky 6bbd629574 Merge pull request #11703 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-06-07 08:12:18 +02:00
nextcloud-android-bot c464e4b340 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-06-07 02:50:56 +00:00
Nextcloud bot 366ed1a4c7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-07 02:27:35 +00:00
Nextcloud bot e0702b466d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-07 02:27:06 +00:00
Andy Scherzinger 849799c2b6 Merge pull request #11662 from nextcloud/dependabot/gradle/androidx.webkit-webkit-1.7.0
Build(deps): Bump androidx.webkit:webkit from 1.6.1 to 1.7.0
2023-06-06 14:47:02 +02:00
dependabot[bot] 7e2dd3042e Build(deps): Bump androidx.webkit:webkit from 1.6.1 to 1.7.0
Bumps androidx.webkit:webkit from 1.6.1 to 1.7.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-06-06 11:11:44 +00:00
Andy Scherzinger 2996cfbe4f Merge pull request #11694 from nextcloud/rememberMnemonic
Remember mnemonic on device rotation
2023-06-06 09:19:10 +02:00
Andy Scherzinger 41dfbb2e79 Merge pull request #11637 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.11
Build(deps): Bump com.squareup.leakcanary:leakcanary-android from 2.10 to 2.11
2023-06-06 09:04:24 +02:00
Nextcloud bot c564f07e8a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-06 02:26:21 +00:00
Nextcloud bot d455ad43b6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-06 02:25:52 +00:00
dependabot[bot] 19e355557a Build(deps): Bump com.squareup.leakcanary:leakcanary-android
Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.10 to 2.11.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](https://github.com/square/leakcanary/compare/v2.10...v2.11)

---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-06-05 17:56:27 +00:00
Andy Scherzinger 9ea3fbe058 Merge pull request #11602 from nextcloud/chore/noid/AndroidGradle8
Android Gradle 8
2023-06-05 19:54:20 +02:00
Andy Scherzinger 53e68eb0f6 Build(deps): Bump com.android.tools.build:gradle from 8.0.1 to 8.0.2
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-05 15:13:32 +02:00
Andy Scherzinger c8f67462ec lock in on java17
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-05 15:13:32 +02:00
Andy Scherzinger b372159b37 Add own jacoco execution without plugin
see https://github.com/arturdm/jacoco-android-gradle-plugin/issues/102#issuecomment-1529324972

Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-05 15:13:32 +02:00
Andy Scherzinger 98c0a778a4 Bump java versions to 17
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-05 15:13:31 +02:00
Andy Scherzinger 9d632a5abf Bump GH actions to Java17
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-05 15:13:31 +02:00
Andy Scherzinger 4ba2720498 Bump drone image to 8:3
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-05 15:13:31 +02:00
Andy Scherzinger 17658fc148 Bump com.android.tools.build:gradle to 8.0.1
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-05 15:13:16 +02:00
tobiasKaminsky 405725daf8 Remember mnemonic on device rotation
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-05 15:08:29 +02:00
Tobias Kaminsky 4c6768a43e Merge pull request #11684 from nextcloud/conflictNotification
Show conflict notification with newer API
2023-06-05 14:42:28 +02:00
Nextcloud bot c18a84755d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-05 02:22:14 +00:00
Nextcloud bot 1562a18b10 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-05 02:21:45 +00:00
Nextcloud bot 417fe82180 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-04 02:22:57 +00:00
Nextcloud bot d00972108f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-04 02:22:28 +00:00
Andy Scherzinger ceccdb3b58 Merge pull request #11690 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-06-03 17:36:41 +02:00
nextcloud-android-bot 9635dbf0e9 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-06-03 02:43:02 +00:00
Nextcloud bot 626bb43a54 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-03 02:23:38 +00:00
Nextcloud bot bebdba6421 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-03 02:23:09 +00:00
Andy Scherzinger 36e3f42e33 Merge pull request #11546 from nextcloud/remoteOperation
Use resultData for Push and Notifications
2023-06-02 18:03:35 +02:00
Andy Scherzinger aaa0fc0875 revert back to master lib
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-02 16:29:16 +02:00
tobiasKaminsky cd0aa47855 Use resultData for Push and Notifications
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-02 15:04:50 +02:00
Tobias Kaminsky ca5353d6b4 Merge pull request #11687 from nextcloud/groupfolderMigration
upon update reset capabilities
2023-06-02 09:06:43 +02:00
tobiasKaminsky 01cc5c72c8 upon update reset capabilities
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-02 08:24:50 +02:00
Nextcloud bot eec7e2c7a7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-02 02:22:52 +00:00
Nextcloud bot f1834ab6ef Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-02 02:22:23 +00:00
Andy Scherzinger 7b4cda1447 Merge pull request #11685 from nextcloud/chore/noid/migrateGHOutputVariablesTest
Migrate output variables to new GH output variables
2023-06-01 23:20:55 +02:00
Andy Scherzinger feaa01252f Migrate output variables to new GH output variables
Signed-off-by: Andy Scherzinger <[email protected]>
2023-06-01 20:15:42 +02:00
tobiasKaminsky 8ec5994151 Show conflict notification with newer API
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-01 16:01:28 +02:00
Tobias Kaminsky d32b014cec Merge pull request #11644 from nextcloud/rotateBottomSheet
Prevent having double entries after rotate
2023-06-01 12:31:48 +02:00
tobiasKaminsky df750bf93a add missing import
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-01 11:27:43 +02:00
Tobias KaminskyandTom 94dcb8ecbb Update app/src/main/java/com/nextcloud/ui/fileactions/FileActionsBottomSheet.kt
Co-authored-by: Tom <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2023-06-01 11:27:43 +02:00
tobiasKaminsky 1ecbf84505 Prevent having double entries after rotate
Signed-off-by: tobiasKaminsky <[email protected]>
2023-06-01 11:27:43 +02:00
Tobias Kaminsky 8e86617177 Merge pull request #11673 from nextcloud/fixShowingOneGroupfolder
fix showing only one groupfolder
2023-06-01 10:48:44 +02:00
Nextcloud bot 940428224c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-01 02:24:20 +00:00
Nextcloud bot 8dfd82a25b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-06-01 02:23:51 +00:00
Tobias Kaminsky 8cd3edffff Merge pull request #11672 from nextcloud/groupfolderCapability
Store groupfolder capability
2023-05-31 08:56:19 +02:00
Tobias Kaminsky 1e5d1e85da Merge pull request #11286 from afflux/documentsstorageprovider-emptypath
handle files that have just been uploaded in DocumentStorageProvider
2023-05-31 08:32:11 +02:00
Nextcloud bot 6a262ff4a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-31 02:30:43 +00:00
Nextcloud bot 983ebae82d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-31 02:30:15 +00:00
tobiasKaminsky 40d8ea8673 fix showing only one groupfolder
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-30 18:55:02 +02:00
Andy Scherzinger 58fce22ab6 Merge pull request #11675 from nextcloud/fix/password-protected-pdfs
Fix crash when opening password-protected pdfs.
2023-05-30 18:53:29 +02:00
Andy Scherzinger 7074ac9e02 Merge pull request #11661 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.19.0
Build(deps): Bump com.diffplug.spotless from 6.18.0 to 6.19.0
2023-05-30 17:00:51 +02:00
ZetaTom 00904fbcf0 Fix crash when opening password-protected pdfs.
Signed-off-by: ZetaTom <[email protected]>
2023-05-30 15:22:17 +02:00
Andy Scherzinger c7d0d0f47d reformat code
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-30 13:56:12 +02:00
tobiasKaminsky 095c5c6766 Store groupfolder capability
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-30 10:40:18 +02:00
dependabot[bot] c776bfd0e7 Build(deps): Bump com.diffplug.spotless from 6.18.0 to 6.19.0
Bumps com.diffplug.spotless from 6.18.0 to 6.19.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-30 08:47:24 +02:00
Nextcloud bot 0a0b9cd2c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-30 02:26:14 +00:00
Nextcloud bot ffcf2287ea Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-30 02:25:46 +00:00
Kjell Braden 5127f12a45 add test for successive write in DocumentsStorageProvider
Signed-off-by: Kjell Braden <[email protected]>
2023-05-29 11:29:21 +02:00
Kjell Braden d0db9427cd handle files that have just been uploaded in DocumentStorageProvider
fixes #11283

Directly after upload, UploadFileOperation may change paths to the empty
string (see commit a7304351b1). Most accessors of OCFile handle this, so
DocumentStorageProvider must use one that does.

Signed-off-by: Kjell Braden <[email protected]>
2023-05-29 11:29:21 +02:00
Nextcloud bot 597b3c7317 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-29 02:46:15 +00:00
Nextcloud bot 903f06be5b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-29 02:45:47 +00:00
Nextcloud bot 656fe547ad Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-28 02:25:29 +00:00
Nextcloud bot abb5fe4af7 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-28 02:24:59 +00:00
Andy Scherzinger d55a71f77c Merge pull request #11669 from nextcloud/automated/update-workflows
chore: update workflows from templates
2023-05-27 10:00:01 +02:00
John Molakvoæ 4f5b79b316 chore: update workflows from templates
Signed-off-by: John Molakvoæ <[email protected]>
2023-05-27 09:44:20 +02:00
Andy Scherzinger cd36da8479 Merge pull request #11668 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-05-27 09:15:14 +02:00
nextcloud-android-bot 0a240d116d 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-05-27 03:09:51 +00:00
Nextcloud bot 97b8275f20 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-27 02:24:18 +00:00
Nextcloud bot ce7d6f27ef Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-27 02:23:49 +00:00
Andy Scherzinger 327b1f6407 Merge pull request #11665 from nextcloud/onlyShowGroupfolderOnNC27
correct check for groupfolder entry
2023-05-26 19:29:47 +02:00
tobiasKaminsky cfe41aced6 correct check for groupfolder entry
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-26 17:20:04 +02:00
Andy Scherzinger 2edd171eda Merge pull request #11663 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-05-26 10:45:06 +02:00
Andy Scherzinger 2635f8591d Merge pull request #11358 from nextcloud/trashbin
use TrashbinFile
2023-05-26 10:42:29 +02:00
Andy Scherzinger 61c28fac7d revert lib to master
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-26 09:05:08 +02:00
tobiasKaminsky 99f5941a60 use TrashbinFile
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-26 09:04:31 +02:00
nextcloud-android-bot 5df254a91f 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-05-26 03:09:32 +00:00
Nextcloud bot c3405d1d56 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-26 02:24:06 +00:00
Nextcloud bot 26f5ebd0c5 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-26 02:23:37 +00:00
Andy Scherzinger 96d6120bae Merge pull request #11656 from nextcloud/ocFileBottomSheet
on landscape mode: scroll is now working
2023-05-25 19:33:07 +02:00
Andy Scherzinger 22886939b2 remove empty lines
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-25 19:32:06 +02:00
tobiasKaminsky a917ca4bff have fixed header
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-25 19:05:26 +02:00
tobiasKaminsky 35e276af9e on landscape mode: scroll is now working
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-25 19:05:21 +02:00
Andy Scherzinger 2c4d5e5a0d Merge pull request #11658 from tanganellilore/fix_app_videoplayer_agent
Add user agent on Exoplayer
2023-05-25 19:01:36 +02:00
Andy Scherzinger f834abc806 Merge pull request #11473 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.6.1
Build(deps): Bump androidx.lifecycle:lifecycle-viewmodel-ktx from 2.5.1 to 2.6.1
2023-05-25 18:59:05 +02:00
dependabot[bot] 2ae867cc80 Build(deps): Bump androidx.lifecycle:lifecycle-viewmodel-ktx
Bumps androidx.lifecycle:lifecycle-viewmodel-ktx from 2.5.1 to 2.6.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-25 13:23:35 +00:00
Andy Scherzinger ae2c57ba46 Merge pull request #11655 from nextcloud/dependabot/gradle/io.coil-kt-coil-2.4.0
Build(deps): Bump io.coil-kt:coil from 2.2.2 to 2.4.0
2023-05-25 15:22:25 +02:00
Lorenzo Tanganelli 7b0669f65e move import at the end
Signed-off-by: Lorenzo Tanganelli <[email protected]>
Signed-off-by: lorenzo.tanganelli <[email protected]>
2023-05-25 15:14:58 +02:00
Lorenzo Tanganelli 649950fe23 add useragent on Exoplayer
Signed-off-by: lorenzo.tanganelli <[email protected]>
2023-05-25 15:14:58 +02:00
Tobias Kaminsky 8d36ea10e4 Merge pull request #11659 from nextcloud/addMigration
Migration is needed, otherwise it drops database 😨
2023-05-25 15:14:02 +02:00
Andy Scherzinger ff6feca39c Migrate Transformations use to Kotlin extension method syntax
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-25 15:07:39 +02:00
dependabot[bot] 6a80d2b770 Build(deps): Bump io.coil-kt:coil from 2.2.2 to 2.4.0
Bumps [io.coil-kt:coil](https://github.com/coil-kt/coil) from 2.2.2 to 2.4.0.
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coil-kt/coil/compare/2.2.2...2.4.0)

---
updated-dependencies:
- dependency-name: io.coil-kt:coil
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-25 15:07:39 +02:00
tobiasKaminsky 8d0faaeca5 Migration is needed, otherwise it drops database 😨
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-25 14:09:35 +02:00
Andy Scherzinger e383ab2ab2 Merge pull request #11631 from nextcloud/dependabot/gradle/commons-io-commons-io-2.12.0
Build(deps): Bump commons-io:commons-io from 2.11.0 to 2.12.0
2023-05-25 10:05:05 +02:00
Andy Scherzinger 7667519748 Merge pull request #11647 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.23.0
Build(deps): Bump io.gitlab.arturbosch.detekt:detekt-gradle-plugin from 1.22.0 to 1.23.0
2023-05-25 09:30:46 +02:00
Andy Scherzinger fb3bb49b52 Merge pull request #11648 from nextcloud/fixRotateNewFolder
Rotate new folder dialog led to crash
2023-05-25 09:29:14 +02:00
Nextcloud bot a82b934f32 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-25 02:31:48 +00:00
Nextcloud bot 1d67a8426f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-25 02:31:19 +00:00
Andy Scherzinger 9a46862ab8 Merge pull request #11651 from jaller94/patch-1
Comment Typo: it's capacity -> its capacity
2023-05-24 23:02:11 +02:00
Christian Paul e51c0f7471 Comment Typo: it's capacity -> its capacity
Signed-off-by: Christian Paul <[email protected]>
2023-05-24 22:49:54 +02:00
tobiasKaminsky 6f1461e0e6 Rotate new folder dialog led to crash
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-24 20:01:50 +02:00
Nextcloud bot ce0e12bf38 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-24 02:25:20 +00:00
Nextcloud bot 5cd8a63c3a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-24 02:24:50 +00:00
dependabot[bot] 095dcf095e Build(deps): Bump io.gitlab.arturbosch.detekt:detekt-gradle-plugin
Bumps [io.gitlab.arturbosch.detekt:detekt-gradle-plugin](https://github.com/detekt/detekt) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/commits)

---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt:detekt-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-24 01:57:05 +00:00
Tobias Kaminsky 439e5ec10b Merge pull request #11638 from nextcloud/fix/11600
Fix text duplication when using TextEditorWebView
2023-05-23 08:47:22 +02:00
Nextcloud bot 72143712d1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-23 02:26:09 +00:00
Nextcloud bot 552f1b3c14 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-23 02:25:40 +00:00
Andy Scherzinger c952417cda Merge pull request #11618 from nextcloud/dependabot/gradle/daggerVersion-2.46.1
Build(deps): Bump daggerVersion from 2.45 to 2.46.1
2023-05-22 20:59:05 +02:00
dependabot[bot] 4315ab6632 Build(deps): Bump daggerVersion from 2.45 to 2.46.1
Bumps `daggerVersion` from 2.45 to 2.46.1.

Updates `com.google.dagger:dagger` from 2.45 to 2.46.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.45...dagger-2.46.1)

Updates `com.google.dagger:dagger-android` from 2.45 to 2.46.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.45...dagger-2.46.1)

Updates `com.google.dagger:dagger-android-support` from 2.45 to 2.46.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.45...dagger-2.46.1)

Updates `com.google.dagger:dagger-compiler` from 2.45 to 2.46.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.45...dagger-2.46.1)

Updates `com.google.dagger:dagger-android-processor` from 2.45 to 2.46.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.45...dagger-2.46.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-22 14:54:52 +00:00
Andy Scherzinger f80279223e Merge pull request #11636 from nextcloud/dependabot/gradle/exoplayerVersion-2.18.7
Build(deps): Bump exoplayerVersion from 2.18.6 to 2.18.7
2023-05-22 16:49:38 +02:00
Andy Scherzinger 4f590d23d6 Merge pull request #11640 from nextcloud/dependabot/github_actions/codecov/codecov-action-3.1.4
Build(deps): Bump codecov/codecov-action from 3.1.3 to 3.1.4
2023-05-22 15:07:10 +02:00
dependabot[bot] 2dc63a999a Build(deps): Bump codecov/codecov-action from 3.1.3 to 3.1.4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/894ff025c7b54547a9a2a1e9f228beae737ad3c2...eaaf4bedf32dbdc6b720b63067d99c4d77d6047d)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-22 11:58:14 +00:00
Nextcloud bot 026fd1c227 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-22 02:28:09 +00:00
Nextcloud bot 5210e6655f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-22 02:27:40 +00:00
Nextcloud bot 85e0f74fac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-21 02:25:22 +00:00
Nextcloud bot 09311d84b6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-21 02:24:53 +00:00
Nextcloud bot 915e27f28e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-20 02:27:28 +00:00
Nextcloud bot a4d7650eec Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-20 02:26:54 +00:00
ZetaTom 604b4e030b Fix text duplication when using TextEditorWebView
Signed-off-by: ZetaTom <[email protected]>
2023-05-19 09:24:41 +02:00
Nextcloud bot ec2f9a54d2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-19 02:23:46 +00:00
Nextcloud bot a526de8348 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-19 02:23:17 +00:00
Nextcloud bot 6f2b168630 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-18 21:06:09 +00:00
Nextcloud bot 2fa1d5160b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-18 21:05:40 +00:00
Nextcloud bot fbf82c9e02 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-18 02:28:59 +00:00
Nextcloud bot 5d2b824bd0 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-18 02:28:30 +00:00
dependabot[bot] 2e6e75ab34 Build(deps): Bump exoplayerVersion from 2.18.6 to 2.18.7
Bumps `exoplayerVersion` from 2.18.6 to 2.18.7.

Updates `com.google.android.exoplayer:exoplayer` from 2.18.6 to 2.18.7
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.6...r2.18.7)

Updates `com.google.android.exoplayer:extension-okhttp` from 2.18.6 to 2.18.7
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.6...r2.18.7)

---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.exoplayer:extension-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-18 01:57:09 +00:00
Tobias Kaminsky 99edead8e1 Merge pull request #11630 from nextcloud/e2ev11_2
E2E v1.2
2023-05-17 13:55:12 +02:00
tobiasKaminsky d9c71edba0 fix test
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-17 12:01:49 +02:00
tobiasKaminsky bbb0dbefed cleanup
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-17 12:01:40 +02:00
tobiasKaminsky 5492a99e38 E2E v1.2
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-17 12:01:40 +02:00
Andy Scherzinger 781712fb69 Merge pull request #11633 from nextcloud/bumpTo3.26
Bump to 3.26 Alpha
2023-05-17 10:33:35 +02:00
tobiasKaminsky b6b5a96361 Bump to 3.26 Alpha
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-17 07:36:35 +02:00
Nextcloud bot c35e1e6ab3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-17 05:30:27 +00:00
Nextcloud bot a3f18ee8c3 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-17 05:29:55 +00:00
Nextcloud bot f275d6615e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-17 02:25:09 +00:00
Nextcloud bot 67a6e572b0 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-17 02:24:41 +00:00
dependabot[bot] d44a5d32a1 Build(deps): Bump commons-io:commons-io from 2.11.0 to 2.12.0
Bumps commons-io:commons-io from 2.11.0 to 2.12.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-17 01:57:58 +00:00
Andy Scherzinger 4d4c9e9c9a Merge pull request #11565 from nextcloud/noRequestedOrientation
Do not enforce orientation change
2023-05-16 15:10:33 +02:00
Andy Scherzinger 1c2c5a33c0 Merge pull request #11593 from nextcloud/fixOrientationCrash
Fix crash when changing orientation when bottom sheet dialog in preview image is open
2023-05-16 15:09:57 +02:00
Andy Scherzinger e9ac53b834 Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-16 15:07:49 +02:00
tobiasKaminsky 3fcee5798b Fix crash when changing orientation when bottom sheet dialog in preview image is open
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-16 09:24:36 +02:00
Andy Scherzinger 408ff2d1c0 Merge pull request #11619 from nextcloud/dependabot/gradle/exoplayerVersion-2.18.6
Build(deps): Bump exoplayerVersion from 2.18.5 to 2.18.6
2023-05-16 09:13:11 +02:00
Andy Scherzinger 8b50efdea3 Merge pull request #11617 from nextcloud/dependabot/gradle/com.google.android.play-review-ktx-2.0.1
Build(deps): Bump com.google.android.play:review-ktx from 2.0.0 to 2.0.1
2023-05-16 08:40:28 +02:00
Nextcloud bot 2995af9d94 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-16 04:35:58 +00:00
Nextcloud bot c57f0ec26a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-16 04:35:29 +00:00
Nextcloud bot 8633a5fd42 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-15 06:46:20 +00:00
Andy Scherzinger eba38ce9b9 Merge pull request #11616 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.18.0
Build(deps): Bump com.diffplug.spotless from 6.17.0 to 6.18.0
2023-05-15 05:22:29 +02:00
dependabot[bot] e80ad485c4 Build(deps): Bump exoplayerVersion from 2.18.5 to 2.18.6
Bumps `exoplayerVersion` from 2.18.5 to 2.18.6.

Updates `com.google.android.exoplayer:exoplayer` from 2.18.5 to 2.18.6
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.5...r2.18.6)

Updates `com.google.android.exoplayer:extension-okhttp` from 2.18.5 to 2.18.6
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.5...r2.18.6)

---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.exoplayer:extension-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-15 01:59:42 +00:00
dependabot[bot] fec50812f2 Build(deps): Bump com.google.android.play:review-ktx from 2.0.0 to 2.0.1
Bumps com.google.android.play:review-ktx from 2.0.0 to 2.0.1.

---
updated-dependencies:
- dependency-name: com.google.android.play:review-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-15 01:58:56 +00:00
dependabot[bot] 1bbfdc035f Build(deps): Bump com.diffplug.spotless from 6.17.0 to 6.18.0
Bumps com.diffplug.spotless from 6.17.0 to 6.18.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-15 01:58:46 +00:00
github-actions d5635f7f16 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2023-05-14 21:52:02 +02:00
tobiasKaminsky 1b732bdc6e Do not enforce orientation change
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-14 21:52:02 +02:00
Andy Scherzinger 8ebc170b81 Merge pull request #11446 from nextcloud/chore/lib-delombok-updates
Fix types after kotlin port of some library classes
2023-05-14 21:46:41 +02:00
Andy Scherzinger 3030832ae7 revert lib back to master
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-14 20:41:08 +02:00
Álvaro Brey f07b222a1d Fix types after kotlin port of some library classes
Signed-off-by: Álvaro Brey <[email protected]>
2023-05-14 19:19:33 +02:00
Nextcloud bot 5cd7b6f853 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-14 04:32:20 +00:00
Andy Scherzinger be28bc8c61 Merge pull request #11349 from nextcloud/dependabot/gradle/com.googlecode.ez-vcard-ez-vcard-0.12.0
Build(deps): Bump com.googlecode.ez-vcard:ez-vcard from 0.11.3 to 0.12.0
2023-05-13 22:53:19 +02:00
Andy Scherzinger ecc625e0a5 Merge pull request #11613 from nextcloud/chore/noid/updateEditorConfig
Update editorconfig to latest spotless checks
2023-05-13 21:30:35 +02:00
Andy Scherzinger 740b59f551 Update editorconfig to latest spotless checks
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-13 19:55:58 +02:00
Andy Scherzinger cb08234df7 Merge pull request #11545 from nextcloud/nmc/1915-in_app_review
Nmc/1915 in app review
2023-05-13 19:21:32 +02:00
tobiasKaminsky 73d87f164a package rename
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-13 18:32:04 +02:00
tobiasKaminsky 9f49e0dbc4 moved to common package
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-13 18:32:04 +02:00
tobiasKaminsky 331f5b2371 moved to gplay only
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-13 18:32:04 +02:00
A117870935 b89df5a405 Feature non-related code reverted. 2023-05-13 18:32:04 +02:00
A200073727 cf002699af Implemented Google Play In-App Review.
Commit id-  51336eb,  0db2944,  fdffa0b
from feature/NMCLOUD-832 Implemented Google Play In-App Review.
2023-05-13 18:32:03 +02:00
A200073727 19cf84fd75 added Compilation Fix for type mismatch
Commit id-fdffa0b
from branch feature/NMC-832
added Compilation Fix for type mismatch
2023-05-13 18:32:03 +02:00
A200073727 6d5d7bf5a1 Fixed imports in existing test cases.
Commit id- 0db2944
from branch feature/NMC-832
Fixed imports in existing test cases.
2023-05-13 18:32:03 +02:00
A200073727 5787fcba14 Google Play In-App Review.
Commit id-51336eb
from branch feature/NMCLOUD-832
Google Play In-App Review.
2023-05-13 18:32:03 +02:00
Andy Scherzinger 36b49c01ba use new input stream creation when API level allows it
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-13 18:31:24 +02:00
Andy Scherzinger f525affb13 Adapt to chanegd ezvCard implementation
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-13 18:31:24 +02:00
dependabot[bot] 4cefc8054f Build(deps): Bump com.googlecode.ez-vcard:ez-vcard from 0.11.3 to 0.12.0
Bumps [com.googlecode.ez-vcard:ez-vcard](https://github.com/mangstadt/ez-vcard) from 0.11.3 to 0.12.0.
- [Release notes](https://github.com/mangstadt/ez-vcard/releases)
- [Commits](https://github.com/mangstadt/ez-vcard/compare/0.11.3...0.12.0)

---
updated-dependencies:
- dependency-name: com.googlecode.ez-vcard:ez-vcard
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-13 18:31:24 +02:00
Andy Scherzinger 1506128b0c Merge pull request #11604 from nextcloud/dependabot/gradle/jacoco_version-0.8.10
Build(deps): Bump jacoco_version from 0.8.9 to 0.8.10
2023-05-13 18:30:53 +02:00
Andy Scherzinger ceb6cd6f2f Merge pull request #11607 from nextcloud/shareLinkMissing
show share link in shared overview for folders
2023-05-13 11:28:25 +02:00
dependabot[bot] 64ed926e50 Build(deps): Bump jacoco_version from 0.8.9 to 0.8.10
Bumps `jacoco_version` from 0.8.9 to 0.8.10.

Updates `org.jacoco:org.jacoco.core` from 0.8.9 to 0.8.10
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.9...v0.8.10)

Updates `org.jacoco:org.jacoco.report` from 0.8.9 to 0.8.10
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.9...v0.8.10)

Updates `org.jacoco:org.jacoco.agent` from 0.8.9 to 0.8.10
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.9...v0.8.10)

---
updated-dependencies:
- dependency-name: org.jacoco:org.jacoco.core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jacoco:org.jacoco.report
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jacoco:org.jacoco.agent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-13 09:24:16 +00:00
Andy Scherzinger 412a7d009f Merge pull request #11484 from nextcloud/dependabot/gradle/roomVersion-2.5.1
Build(deps): Bump roomVersion from 2.5.0 to 2.5.1
2023-05-13 11:13:01 +02:00
dependabot[bot] b239f8bdc6 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

Updates `androidx.room:room-testing` 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
- dependency-name: androidx.room:room-testing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-13 10:48:58 +02:00
Andy Scherzinger 0410e614c0 Merge pull request #11512 from HammyHavoc/patch-1
Improved `timeout_richDocuments`
2023-05-13 10:46:52 +02:00
Hammy Havoc fdf922c629 Improved timeout_richDocuments
Didn't read very well before.

Signed-off-by: Hammy Havoc <[email protected]>
2023-05-13 10:45:10 +02:00
Nextcloud bot 0a343ef967 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-13 04:33:37 +00:00
Nextcloud bot a97aa883b2 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-13 04:33:06 +00:00
Andy Scherzinger aa55dd6390 Merge pull request #11611 from nextcloud/feature/noid/tagsPolishing
Tags polishing
2023-05-12 17:03:44 +02:00
Andy Scherzinger 26fe49ab4a Add theming for Tags
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-12 14:22:40 +02:00
tobiasKaminsky f313a8317f empty test not needed
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-12 14:12:24 +02:00
tobiasKaminsky 906137bf2a add test
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-12 08:41:28 +02:00
tobiasKaminsky f792a8b679 add test
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-12 08:10:36 +02:00
Nextcloud bot 33e741f93c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-12 04:39:05 +00:00
Nextcloud bot 4dfe76b7a3 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-12 04:38:34 +00:00
Andy Scherzinger 40130a6b2a Merge pull request #11603 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-11 12:15:05 +02:00
tobiasKaminsky d6aea60f7c show share link in shared overview for folders
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-11 07:31:44 +02:00
Nextcloud bot 28a40964fe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-10 18:11:31 +00:00
Nextcloud bot e7b6c11a56 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-10 18:11:00 +00:00
Andy Scherzinger 94fffab602 Merge pull request #11606 from nextcloud/Valdnet-patch-1
i18n: Removal from translation
2023-05-10 20:00:44 +02:00
Valdnet 9a6acb999e i18n: Removal from translation
Signed-off-by: Valdnet <[email protected]>
2023-05-10 17:15:35 +02:00
Nextcloud bot 2ea488d69b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-10 04:48:46 +00:00
Nextcloud bot cfbbd4d61d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-10 04:48:14 +00:00
dependabot[bot] bd1a60d398 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] <[email protected]>
2023-05-10 01:56:59 +00:00
Andy Scherzinger 2362c255e7 Merge pull request #11531 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.8.0
Build(deps): Bump com.github.nextcloud.android-common:ui from 0.7.0 to 0.8.0
2023-05-09 22:07:07 +02:00
dependabot[bot] 7736e55031 Build(deps): Bump com.github.nextcloud.android-common:ui
Bumps [com.github.nextcloud.android-common:ui](https://github.com/nextcloud/android-common) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/nextcloud/android-common/releases)
- [Commits](https://github.com/nextcloud/android-common/compare/0.7.0...0.8.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] <[email protected]>
2023-05-09 10:27:18 +00:00
Andy Scherzinger 1fc07883e2 Merge pull request #11526 from nextcloud/groupfolders
Groupfolders
2023-05-09 10:14:01 +02:00
Andy Scherzinger e95bbe8fa0 Updates screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-09 08:53:56 +02:00
tobiasKaminsky 08f25a3505 add test
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-09 08:53:56 +02:00
Andy Scherzinger a6fd54ad8a fix visibility of tags
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-09 08:53:56 +02:00
Andy Scherzinger 2b84409923 revert back to master
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-09 08:53:55 +02:00
tobiasKaminsky ad0f1ba812 use groupfolder icon
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-09 08:53:55 +02:00
tobiasKaminsky 1b2572fc5c use group folder icon
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-09 08:53:55 +02:00
tobiasKaminsky 4760cce257 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-09 08:53:55 +02:00
tobiasKaminsky 464a6ad1b6 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-09 08:53:54 +02:00
tobiasKaminsky aeac90881d wip
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-09 08:53:54 +02:00
tobiasKaminsky 577da2ae40 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-09 08:53:48 +02:00
Nextcloud bot a175fce12b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-09 04:23:10 +00:00
Nextcloud bot f1ce44c200 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-09 04:22:41 +00:00
Andy Scherzinger 5881d99ebf Merge pull request #11589 from nextcloud/configurableCalendarBackup
Configurable calendar backup
2023-05-08 18:24:44 +02:00
Andy Scherzinger f064415a22 remove translations -> will come via transifex bot
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 18:11:55 +02:00
A117870935 a56e62a49c Unnecessary code revert.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 18:11:55 +02:00
A117870935 f9761628fe Copyright added.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 18:11:55 +02:00
A117870935 16c957c834 Configurable calendar backup.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 18:11:55 +02:00
Andy Scherzinger a77ab9eb66 Merge pull request #11592 from nextcloud/bottomSheetExpanded
Bottom sheet expands fully on landscape
2023-05-08 16:53:26 +02:00
Andy Scherzinger ddb632de69 chore: remove unused variable
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 16:17:32 +02:00
tobiasKaminsky d12718f2b1 Bottom sheet expands fully on landscape
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-08 16:16:05 +02:00
Andy Scherzinger 99127ad6b4 Merge pull request #11599 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3.0.1
Build(deps): Bump peter-evans/create-or-update-comment from 3.0.0 to 3.0.1
2023-05-08 15:50:04 +02:00
Andy Scherzinger 764cb06a2d use full-version-number
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 15:49:50 +02:00
dependabot[bot] 2a85a481ac Build(deps): Bump peter-evans/create-or-update-comment
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/3383acd359705b10cb1eeef05c0e88c056ea4666...ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b)

---
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] <[email protected]>
2023-05-08 11:59:03 +00:00
Andy Scherzinger 3e1f61afc9 Merge pull request #11515 from nextcloud/tags
Support for viewing tags
2023-05-08 10:57:24 +02:00
Andy Scherzinger 206db7c64a Merge pull request #11588 from nextcloud/1905-autoUploadFolderIcon
Different folder icon for AutoUpload
2023-05-08 10:54:45 +02:00
Andy Scherzinger 6204e8edc2 Add shortWait to ensure all galelry images are loaded
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 10:07:53 +02:00
tobiasKaminsky 385d0e9d46 add inject for SyncedFolderProvider
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-08 10:07:53 +02:00
tobiasKaminsky da2676bd31 add inject for SyncedFolderProvider, more to come
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-08 10:07:52 +02:00
Andy Scherzinger c5a705d58f add return value documentation
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 10:07:52 +02:00
Andy Scherzinger a43d3befec Update auto upload folder icon
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 10:07:52 +02:00
A117870935 ec816b8b8f Folder icon for AutoUpload folder.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 10:07:52 +02:00
A117870935 6a6e8335c8 Test case added
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 10:07:52 +02:00
A117870935 3db2c7db04 Fixed errors while running.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 10:07:51 +02:00
A117870935 a8abd516e1 auto upload folder icon implementation.
Commit id: 8c5ddaa from feature/NMCLOUD-629.

Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 10:07:51 +02:00
A117870935 8ecd3733f3 Cherry pick commit id - 3545a6c from branch feature/NMCLOUD-629.
changed auto upload InstantUpload folder to Camera-Media

Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-08 10:07:51 +02:00
Nextcloud bot 7cbf51cce2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-08 04:32:55 +00:00
Nextcloud bot 6441157bdd Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-08 04:32:24 +00:00
Nextcloud bot 8614c62348 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-07 04:33:59 +00:00
Nextcloud bot ab20242383 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-07 04:33:29 +00:00
Andy Scherzinger c061b668fc Merge pull request #11595 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-05-06 09:08:53 +02:00
Nextcloud bot 0e70ff492e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-06 04:33:57 +00:00
Nextcloud bot d4350eca6d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-06 04:33:26 +00:00
nextcloud-android-bot 0bdfacde85 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-05-06 03:10:59 +00:00
Andy Scherzinger bdc7f8f5f9 Merge pull request #11594 from nextcloud/exoPlayer5s
Exoplayer: forward 5s
2023-05-05 17:50:26 +02:00
tobiasKaminsky b3154703eb Exoplayer: forward 5s
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-05 14:04:02 +02:00
Nextcloud bot d4e25cfd29 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-05 04:30:24 +00:00
Nextcloud bot 7b26e4f1f3 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-05 04:29:52 +00:00
Andy Scherzinger e88ed460e2 Optimize layout for tags and allowing for tags-multi-line growth of the line item if needed
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-04 15:11:20 +02:00
Andy Scherzinger 77d4bd5e83 Merge pull request #11586 from nextcloud/fixEmptyGalleryView
Show empty message for gallery view
2023-05-04 13:47:00 +02:00
tobiasKaminsky 96868215fb fix
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:11 +02:00
tobiasKaminsky 3ab8cc3d17 empty array list for tags
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:11 +02:00
tobiasKaminsky 8a2d2c147f revert to master lib
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:11 +02:00
tobiasKaminsky f6e3bcc8f3 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:10 +02:00
tobiasKaminsky 31560bf1e8 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:10 +02:00
tobiasKaminsky d9e0304978 use chip group
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:10 +02:00
tobiasKaminsky d484a88506 fix NPE, polish
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:10 +02:00
tobiasKaminsky c72354bd3e show two tags
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:10 +02:00
tobiasKaminsky eaf8462fe1 correct background color in detail view
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:09 +02:00
tobiasKaminsky d262b699ef show tags in file details
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:09 +02:00
tobiasKaminsky 60c8c3526d color
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:09 +02:00
tobiasKaminsky f196bfd874 Support for viewing tags
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 13:15:08 +02:00
tobiasKaminsky 3b5d2a0391 Show empty message for gallery view
added tests

Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-04 10:17:46 +02:00
Andy Scherzinger ffac056474 Merge pull request #11585 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-05-04 07:14:30 +02:00
Nextcloud bot fcae26e3fc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-04 04:30:15 +00:00
Nextcloud bot 7aeef8bdc6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-04 04:29:44 +00:00
nextcloud-android-bot 1fcfc9ff9f 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-05-04 02:28:03 +00:00
Tobias Kaminsky fa8c72a0e2 Merge pull request #10621 from nextcloud/fix/shared-selection
SharedListFragment: replace file in adapter when fetching the complete data
2023-05-03 16:44:34 +02:00
Andy Scherzinger a139938300 Merge pull request #11567 from nextcloud/nmc/fileOwnerNameIgnoreCase
Fix file owner and account name check ignore case.
2023-05-03 15:24:17 +02:00
Nextcloud bot da6545a816 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-03 04:29:49 +00:00
Nextcloud bot e2f51c9b0c Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-03 04:29:18 +00:00
Andy Scherzinger d3fc0f56ef Merge pull request #11580 from nextcloud/dependabot/gradle/kotlin_version-1.8.21
Build(deps): Bump kotlin_version from 1.8.10 to 1.8.21
2023-05-02 14:50:25 +02:00
dependabot[bot] 3791d826ac Build(deps): Bump kotlin_version from 1.8.10 to 1.8.21
Bumps `kotlin_version` from 1.8.10 to 1.8.21.

Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.10 to 1.8.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.10...v1.8.21)

Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.10 to 1.8.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.10...v1.8.21)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-02 12:26:12 +00:00
Andy Scherzinger bf497e6888 Merge pull request #11549 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.7
Build(deps): Bump androidx.fragment:fragment-ktx from 1.5.6 to 1.5.7
2023-05-02 14:23:37 +02:00
dependabot[bot] c827e58ea4 Build(deps): Bump androidx.fragment:fragment-ktx from 1.5.6 to 1.5.7
Bumps androidx.fragment:fragment-ktx from 1.5.6 to 1.5.7.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-05-02 10:54:18 +00:00
Tobias Kaminsky e28215443c Merge pull request #11559 from nextcloud/nmc/fileAnalyticsMimeType
File icon handled and added for mime type analytics.
2023-05-02 12:43:12 +02:00
Andy Scherzinger 5d1feb7ce0 use Nextcloud themed analytics icon
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-02 10:56:15 +02:00
A117870935 0dd1872027 File icon handled and added for mime type analytics.
Signed-off-by: Andy Scherzinger <[email protected]>
2023-05-02 10:56:15 +02:00
tobiasKaminsky 2574ee288b add test
Signed-off-by: tobiasKaminsky <[email protected]>
2023-05-02 08:42:06 +02:00
Tobias Kaminsky b45dbbd553 Merge pull request #11566 from nextcloud/nmc/accountSetupBindingNull
Handling account setup binding null.
2023-05-02 08:31:29 +02:00
Tobias Kaminsky 98774d3735 Merge pull request #11564 from nextcloud/nmc/avoidShowingMultipleShareDialog
Fixed showing multiple send share dialog
2023-05-02 08:30:21 +02:00
Nextcloud bot de89cb1599 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-02 04:31:24 +00:00
Nextcloud bot 521bb23327 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-02 04:30:53 +00:00
Nextcloud bot ee23b2379f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-01 04:36:23 +00:00
Nextcloud bot 5b033f7536 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-05-01 04:35:52 +00:00
Nextcloud bot 8c21308a5d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-30 04:32:59 +00:00
Nextcloud bot e10ae00b8a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-30 04:32:28 +00:00
Nextcloud bot bbc46946a0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-29 04:32:28 +00:00
Nextcloud bot 86dbdad05f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-29 04:31:57 +00:00
A117870935 8703995ca0 Copyright added. 2023-04-28 11:14:05 +05:30
Andy Scherzinger 1fd78dc5cb Merge pull request #11569 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-04-28 06:48:56 +02:00
Nextcloud bot 4d38e80e10 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-28 04:32:33 +00:00
Nextcloud bot 2d9ed724a6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-28 04:32:02 +00:00
nextcloud-android-bot 94231b33f4 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-04-28 02:31:58 +00:00
A117870935 0c9ddf02f2 Fix file owner and account name check ignore case. 2023-04-28 00:48:10 +05:30
A117870935 4e00894f8b Copyright updated. 2023-04-27 17:34:06 +05:30
A117870935 4624d6d308 Handling account setup binding null. 2023-04-27 17:30:51 +05:30
Tobias Kaminsky ba8a8a3a5b Merge pull request #11548 from nextmcloud/templateDialogErrorHandling
Handling empty state for rich document dialog.
2023-04-27 13:29:43 +02:00
A117870935 3e527e3b26 Copyright updated. 2023-04-27 15:57:20 +05:30
A117870935 bcb2d6b282 Fix showing share send dialog multiple times by rapidly clicking share icon. 2023-04-27 15:56:57 +05:30
Nextcloud bot 5196be48f0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-27 04:37:56 +00:00
Nextcloud bot 07a4cd011c Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-27 04:37:25 +00:00
Andy Scherzinger 0faa6c962f Merge pull request #11556 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-04-26 23:12:22 +02:00
Nextcloud bot 48bed15b8b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-26 04:38:43 +00:00
Nextcloud bot 098e77d51e Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-26 04:38:11 +00:00
nextcloud-android-bot b955786b55 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-04-26 02:32:09 +00:00
Joshua Soberg b98d360100 Increase max heap space in base gradle.properties, since the default of 512m leads to failed builds
Signed-off-by: Joshua Soberg <[email protected]>
2023-04-25 20:30:16 -04:00
Nextcloud bot d3b4e06cfd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-25 04:28:21 +00:00
Nextcloud bot 01c99cf3f6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-25 04:27:49 +00:00
Andy Scherzinger c4ee2763d8 Merge pull request #11554 from nextcloud/dependabot/github_actions/codecov/codecov-action-3.1.3
Build(deps): Bump codecov/codecov-action from 3.1.2 to 3.1.3
2023-04-24 16:11:33 +02:00
dependabot[bot] 21bd2e7b85 Build(deps): Bump codecov/codecov-action from 3.1.2 to 3.1.3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/40a12dcee2df644d47232dde008099a3e9e4f865...894ff025c7b54547a9a2a1e9f228beae737ad3c2)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-24 15:03:45 +02:00
Nextcloud bot 062832840a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-24 04:40:53 +00:00
Nextcloud bot 2b375345be Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-24 04:40:20 +00:00
Nextcloud bot f56b5b6762 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-23 04:32:27 +00:00
Nextcloud bot f658a0888f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-23 04:31:54 +00:00
Nextcloud bot 9d9095bf93 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-22 04:37:39 +00:00
Nextcloud bot 6b74d348c0 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-22 04:37:08 +00:00
Tobias Kaminsky 212b288d4b Merge pull request #11519 from nextmcloud/nmc/1940-favShownTwice
Favourite shown twice
2023-04-21 15:20:06 +02:00
Tobias Kaminsky 043f6306dd Merge pull request #11518 from nextmcloud/nmc/1939-syncFolderRuntimeException
User check added when sync folder runs after user clears the data.
2023-04-21 15:19:46 +02:00
Nextcloud bot 4fda8fd063 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-21 04:33:52 +00:00
Nextcloud bot a7ac45bc95 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-21 04:33:20 +00:00
A117870935 792dd572c0 Copyright added. 2023-04-21 00:00:43 +05:30
A117870935 4f690d1e51 Handling empty state for rich document dialog. 2023-04-20 23:40:01 +05:30
Nextcloud bot def58c412f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-20 04:43:26 +00:00
Nextcloud bot f6123ea79d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-20 04:42:54 +00:00
Andy Scherzinger 599ba0ee78 Merge pull request #11456 from nextcloud/dependabot/gradle/com.mebigfatguy.fb-contrib-fb-contrib-7.6.0
Build(deps): Bump com.mebigfatguy.fb-contrib:fb-contrib from 7.4.7 to 7.6.0
2023-04-19 16:24:54 +02:00
Andy Scherzinger 0d58f2d82c improve spotbug score
Signed-off-by: Andy Scherzinger <[email protected]>
2023-04-19 12:56:22 +02:00
dependabot[bot] cd73f45184 Build(deps): Bump com.mebigfatguy.fb-contrib:fb-contrib
Bumps [com.mebigfatguy.fb-contrib:fb-contrib](https://github.com/mebigfatguy/fb-contrib) from 7.4.7 to 7.6.0.
- [Release notes](https://github.com/mebigfatguy/fb-contrib/releases)
- [Commits](https://github.com/mebigfatguy/fb-contrib/compare/v7.4.7...v7.6.0)

---
updated-dependencies:
- dependency-name: com.mebigfatguy.fb-contrib:fb-contrib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-19 12:56:22 +02:00
Andy Scherzinger 86942792d9 Use local for date formattings
Signed-off-by: Andy Scherzinger <[email protected]>
2023-04-19 12:56:21 +02:00
Tobias Kaminsky 4480cba2de Merge pull request #11538 from nextcloud/unusedStatic
not used static final
2023-04-19 12:33:13 +02:00
tobiasKaminsky 0b2665682d not used static final
Signed-off-by: tobiasKaminsky <[email protected]>
2023-04-19 12:21:25 +02:00
Nextcloud bot f31eda74fd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-19 04:30:52 +00:00
Nextcloud bot 408082dfbf Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-19 04:30:21 +00:00
Andy Scherzinger 8ed2ebaa23 Merge pull request #11488 from nextcloud/dependabot/gradle/exoplayerVersion-2.18.5
Build(deps): Bump exoplayerVersion from 2.18.4 to 2.18.5
2023-04-18 19:46:52 +02:00
Andy Scherzinger ad0c909757 Merge pull request #11535 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.4.2
Build(deps): Bump gradle/gradle-build-action from 2.4.0 to 2.4.2
2023-04-18 19:45:53 +02:00
Andy Scherzinger 2edf4b4982 Merge pull request #11533 from nextcloud/dependabot/github_actions/actions/checkout-3.5.2
Build(deps): Bump actions/checkout from 3.5.0 to 3.5.2
2023-04-18 19:44:58 +02:00
A200073727 8b41d3133e Code optimization for favorites shown twice in menu. 2023-04-18 19:48:31 +05:30
Nextcloud bot 28bcf8f105 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-18 04:44:01 +00:00
Nextcloud bot 32c418453d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-18 04:43:31 +00:00
Nextcloud bot afb17fd97e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-18 03:12:42 +00:00
Nextcloud bot 79adce1bff Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-18 03:12:10 +00:00
Andy Scherzinger 5ec4e4fe67 Merge pull request #11534 from nextcloud/dependabot/github_actions/codecov/codecov-action-3.1.2
Build(deps): Bump codecov/codecov-action from 3.1.1 to 3.1.2
2023-04-17 18:19:28 +02:00
Tobias Kaminsky 38d337846f Merge pull request #11483 from nextcloud/dependabot/gradle/workRuntime-2.8.1
Build(deps): Bump workRuntime from 2.8.0 to 2.8.1
2023-04-17 14:27:51 +02:00
dependabot[bot] 9a8a6caeea Build(deps): Bump gradle/gradle-build-action from 2.4.0 to 2.4.2
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/6095a76664413da4c8c134ee32e8a8ae900f0f1f...749f47bda3e44aa060e82d7b3ef7e40d953bd629)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-17 11:58:29 +00:00
dependabot[bot] d0aec72250 Build(deps): Bump codecov/codecov-action from 3.1.1 to 3.1.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70...40a12dcee2df644d47232dde008099a3e9e4f865)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-17 11:58:26 +00:00
dependabot[bot] 545f537c3a Build(deps): Bump actions/checkout from 3.5.0 to 3.5.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.0...8e5e7e5ab8b370d6c329ec480221332ada57f0ab)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-17 11:58:23 +00:00
Andy Scherzinger a5a3c29da0 Merge pull request #11528 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-04-16 19:12:12 +02:00
nextcloud-android-bot 1e7a524540 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-04-16 14:41:30 +02:00
Nextcloud bot dfb28e304d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-16 04:28:58 +00:00
Nextcloud bot 42f8eb8b69 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-16 04:28:28 +00:00
Nextcloud bot 221a38c76c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-15 04:33:57 +00:00
Nextcloud bot e3aa9107b2 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-15 04:33:26 +00:00
Tobias Kaminsky 4d14d63750 Merge pull request #11517 from nextcloud/dependabot/gradle/jacoco_version-0.8.9
Build(deps): Bump jacoco_version from 0.8.8 to 0.8.9
2023-04-14 16:01:32 +02:00
Nextcloud bot 6f7cccfc63 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-14 11:48:42 +00:00
Nextcloud bot c3656b6ce6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-14 11:48:11 +00:00
Nextcloud bot 089291ac7f Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-14 04:25:53 +00:00
Nextcloud bot 55cdd157c6 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-14 04:25:22 +00:00
A117870935 fe08ba12dd Copyright added. 2023-04-13 19:39:17 +05:30
A117870935 4c1581131e Fixed favourites shown twice. 2023-04-13 19:38:34 +05:30
A117870935 b1a1cf3c36 Copyright updated. 2023-04-13 19:28:16 +05:30
A117870935 157872886e User check added when sync folder runs after user clears the data. 2023-04-13 19:24:44 +05:30
Tobias Kaminsky 10034e6bf9 Merge pull request #11402 from nextcloud/loadNotes
when resuming note directly after creating, url is not working anymore, thus we need a new one
2023-04-13 14:43:01 +02:00
dependabot[bot] e801e7924b Build(deps): Bump jacoco_version from 0.8.8 to 0.8.9
Bumps `jacoco_version` from 0.8.8 to 0.8.9.

Updates `org.jacoco:org.jacoco.core` from 0.8.8 to 0.8.9
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.8...v0.8.9)

Updates `org.jacoco:org.jacoco.report` from 0.8.8 to 0.8.9
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.8...v0.8.9)

Updates `org.jacoco:org.jacoco.agent` from 0.8.8 to 0.8.9
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.8...v0.8.9)

---
updated-dependencies:
- dependency-name: org.jacoco:org.jacoco.core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jacoco:org.jacoco.report
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jacoco:org.jacoco.agent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-13 08:24:39 +00:00
Nextcloud bot 50d4d13d0e Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-13 04:35:01 +00:00
Nextcloud bot a73d8bc588 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-13 04:34:31 +00:00
Tobias Kaminsky 69c0606dc9 Merge pull request #11345 from nextcloud/dependabot/gradle/kotlin_version-1.8.10
Build(deps): Bump kotlin_version from 1.7.22 to 1.8.10
2023-04-12 14:38:43 +02:00
Tobias Kaminsky 426669816d Merge pull request #11321 from eraser2021999/master
Fix issues with Media Tab & performance improvement.
2023-04-12 12:40:03 +02:00
Nextcloud bot cc72edaeec Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-12 04:34:49 +00:00
Nextcloud bot cad64a941c Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-12 04:34:18 +00:00
Nextcloud bot 59220224c1 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-11 04:33:33 +00:00
Nextcloud bot 7772e0be8d Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-11 04:33:02 +00:00
Andy Scherzinger 0630afb3f5 Merge pull request #11513 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3.0.0
Build(deps): Bump peter-evans/create-or-update-comment from 2.1.1 to 3.0.0
2023-04-10 21:48:39 +02:00
dependabot[bot] 4de4059727 Build(deps): Bump peter-evans/create-or-update-comment
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 2.1.1 to 3.0.0.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/67dcc547d311b736a8e6c5c236542148a47adc3d...3383acd359705b10cb1eeef05c0e88c056ea4666)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-10 11:57:40 +00:00
Nextcloud bot 62b32d8860 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-10 04:40:50 +00:00
Nextcloud bot a70cbd65cb Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-10 04:40:19 +00:00
Nextcloud bot 37a79615cd Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-09 04:32:48 +00:00
Nextcloud bot b893357633 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-09 04:32:17 +00:00
Andy Scherzinger eb4f02d86e Merge pull request #11510 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-04-08 09:46:15 +02:00
Nextcloud bot 55e63f066a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-08 04:35:14 +00:00
Nextcloud bot ee3902b579 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-08 04:34:44 +00:00
nextcloud-android-bot ddec0f6b03 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-04-08 03:00:10 +00:00
Nextcloud bot 30f2581689 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-07 04:35:36 +00:00
Nextcloud bot e622e5e253 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-07 04:35:04 +00:00
Andy Scherzinger f947d57f86 Merge pull request #11505 from nextcloud/adjust-transifex-links
fix(i18n): Adjust links to transifex
2023-04-06 11:19:06 +02:00
Nextcloud bot 8bb501da77 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-06 04:40:27 +00:00
Nextcloud bot aecfb45404 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-06 04:39:53 +00:00
Stefan Niedermann f51a1a9e8f fix(i18n): Adjust links to transifex
https://help.nextcloud.com/t/transifex-announcement-web-applications-domain-change/159445

Signed-off-by: Stefan Niedermann <[email protected]>
2023-04-05 11:39:22 +02:00
Nextcloud bot 8ca73247fa Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-05 04:40:01 +00:00
Nextcloud bot a5730dd614 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-05 04:39:30 +00:00
Nextcloud bot 457a393d51 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-04 11:15:42 +00:00
Nextcloud bot 9e649eec5e Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-04 11:15:09 +00:00
Nextcloud bot a01db58aae Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-04 04:32:57 +00:00
Nextcloud bot 7473a2178d Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-04 04:32:26 +00:00
Tobias Kaminsky 012b4177fb Merge pull request #11500 from nextcloud/dependabot/github_actions/actions/setup-java-3.11.0
Build(deps): Bump actions/setup-java from 3.10.0 to 3.11.0
2023-04-03 16:33:21 +02:00
dependabot[bot] 26f7bcdd1d Build(deps): Bump actions/setup-java from 3.10.0 to 3.11.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.10.0...5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-03 11:57:57 +00:00
Tobias Kaminsky 376ae9ff47 Merge pull request #11497 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-04-03 08:51:10 +02:00
Nextcloud bot 5de21ba707 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-03 04:31:41 +00:00
Nextcloud bot c896222953 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-03 04:31:09 +00:00
nextcloud-android-bot f1f72e94e4 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-04-03 02:25:59 +00:00
Nextcloud bot fdcca3a58e Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-02 04:30:38 +00:00
Nextcloud bot 9241505e3a Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-04-02 04:30:05 +00:00
Nextcloud bot b1356a4150 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-31 04:44:31 +00:00
Nextcloud bot 2ee6b8ebaa Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-31 04:43:59 +00:00
Nextcloud bot 6507c83e74 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-29 04:42:18 +00:00
Nextcloud bot c97a8a3765 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-29 04:37:51 +00:00
dependabot[bot] 998dc4df86 Build(deps): Bump exoplayerVersion from 2.18.4 to 2.18.5
Bumps `exoplayerVersion` from 2.18.4 to 2.18.5.

Updates `com.google.android.exoplayer:exoplayer` from 2.18.4 to 2.18.5
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.4...r2.18.5)

Updates `com.google.android.exoplayer:extension-okhttp` from 2.18.4 to 2.18.5
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.4...r2.18.5)

---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.exoplayer:extension-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-29 01:57:39 +00:00
Andy Scherzinger 17dd15943c Merge pull request #11480 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.16.0
Build(deps): Bump com.vanniktech:emoji-google from 0.9.0 to 0.16.0
2023-03-28 20:52:01 +02:00
tobiasKaminsky 2c9da26f68 Adopt to latest version
Signed-off-by: tobiasKaminsky <[email protected]>
2023-03-28 16:59:53 +00:00
dependabot[bot] 0c90dab13f Build(deps): Bump com.vanniktech:emoji-google from 0.9.0 to 0.16.0
Bumps [com.vanniktech:emoji-google](https://github.com/vanniktech/Emoji) from 0.9.0 to 0.16.0.
- [Release notes](https://github.com/vanniktech/Emoji/releases)
- [Changelog](https://github.com/vanniktech/Emoji/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vanniktech/Emoji/compare/0.9.0...0.16.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-28 16:59:53 +00:00
Andy Scherzinger 659af72f32 Merge pull request #11482 from nextcloud/dependabot/github_actions/actions/checkout-3.5.0
Build(deps): Bump actions/checkout from 3.4.0 to 3.5.0
2023-03-28 17:54:23 +02:00
dependabot[bot] facebaffac Build(deps): Bump kotlin_version from 1.7.22 to 1.8.10
Bumps `kotlin_version` from 1.7.22 to 1.8.10.

Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.7.22 to 1.8.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10)

Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.7.22 to 1.8.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-28 06:27:14 +00:00
Tobias Kaminsky 4606959c82 Merge pull request #11468 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.14
Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 5.0.13 to 5.0.14
2023-03-28 08:15:19 +02:00
Nextcloud bot 98b1d8f91d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-28 04:23:23 +00:00
Nextcloud bot 65223ee3b0 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-28 04:22:51 +00:00
dependabot[bot] f24398529b Build(deps): Bump workRuntime from 2.8.0 to 2.8.1
Bumps `workRuntime` from 2.8.0 to 2.8.1.

Updates `androidx.work:work-runtime` from 2.8.0 to 2.8.1

Updates `androidx.work:work-runtime-ktx` 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
- dependency-name: androidx.work:work-runtime-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-28 01:57:23 +00:00
Tobias Kaminsky b8683af96a Merge pull request #11462 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-27 16:04:36 +02:00
dependabot[bot] 19b5441b26 Build(deps): Bump actions/checkout from 3.4.0 to 3.5.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.4.0...8f4b7f84864484a7bf31766abe9204da3cbe65b3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-27 11:58:35 +00:00
Nextcloud bot e9b396d4e2 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-27 09:47:32 +00:00
Nextcloud bot f091569e18 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-27 09:46:58 +00:00
Tobias Kaminsky 14fc77df96 Merge pull request #11479 from nextcloud/dependabot/gradle/androidx.webkit-webkit-1.6.1
Build(deps): Bump androidx.webkit:webkit from 1.6.0 to 1.6.1
2023-03-27 11:00:12 +02:00
Tobias Kaminsky 832b94d131 Merge pull request #11481 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-03-27 10:58:12 +02:00
nextcloud-android-bot 3c90a7be44 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-03-27 02:41:16 +00:00
dependabot[bot] f9b3e622d2 Build(deps): Bump androidx.webkit:webkit from 1.6.0 to 1.6.1
Bumps androidx.webkit:webkit from 1.6.0 to 1.6.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-27 01:57:34 +00:00
Tobias Kaminsky 8c4d140b3e Merge pull request #11452 from nextcloud/dependabot/github_actions/actions/cache-3.3.1
Build(deps): Bump actions/cache from 3.2.6 to 3.3.1
2023-03-24 08:56:51 +01:00
dependabot[bot] 91946d7cde 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] <[email protected]>
2023-03-24 07:56:44 +00:00
dependabot[bot] 593f76005e Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin
Bumps [com.github.spotbugs.snom:spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.13 to 5.0.14.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.13...5.0.14)

---
updated-dependencies:
- dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-24 07:55:48 +00:00
Tobias Kaminsky efb4e49efa Merge pull request #11464 from nextcloud/dependabot/github_actions/reactivecircus/android-emulator-runner-2.28.0
Build(deps): Bump reactivecircus/android-emulator-runner from 2.27.0 to 2.28.0
2023-03-24 08:55:34 +01:00
Tobias Kaminsky e344ddf061 Merge pull request #11472 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.6
Build(deps): Bump androidx.fragment:fragment-ktx from 1.5.5 to 1.5.6
2023-03-24 08:55:09 +01:00
Nextcloud bot fbb14893e4 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-24 04:25:21 +00:00
Nextcloud bot acacba27b4 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-24 04:24:50 +00:00
Nextcloud bot 82bd131fc6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-23 04:37:01 +00:00
Nextcloud bot 42aa993552 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-23 04:36:30 +00:00
dependabot[bot] 6ecf5919b1 Build(deps): Bump androidx.fragment:fragment-ktx from 1.5.5 to 1.5.6
Bumps androidx.fragment:fragment-ktx from 1.5.5 to 1.5.6.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-23 02:57:20 +00:00
Nextcloud bot ad7fd5e386 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-22 04:44:10 +00:00
Nextcloud bot a3fe6ae045 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-22 04:43:39 +00:00
Nextcloud bot da8fe39648 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-21 04:27:32 +00:00
Nextcloud bot 16baadef34 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-21 04:27:01 +00:00
Andy Scherzinger 5abaffd699 Merge pull request #11463 from nextcloud/dependabot/github_actions/actions/checkout-3.4.0
Build(deps): Bump actions/checkout from 3.3.0 to 3.4.0
2023-03-20 14:10:27 +01:00
dependabot[bot] fe7d2686fe Build(deps): Bump reactivecircus/android-emulator-runner
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.27.0 to 2.28.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/50986b1464923454c95e261820bc626f38490ec0...d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-20 11:58:27 +00:00
dependabot[bot] 26ebd78521 Build(deps): Bump actions/checkout from 3.3.0 to 3.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.3.0...24cb9080177205b6e8c946b17badbe402adc938f)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-20 11:58:22 +00:00
Nextcloud bot abd69fff68 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-20 04:27:50 +00:00
Nextcloud bot 4ea40f12e5 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-20 04:27:20 +00:00
Nextcloud bot 120307db95 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-19 04:28:49 +00:00
Nextcloud bot fc4a57d856 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-19 04:28:17 +00:00
Nextcloud bot 6787707092 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-18 04:32:17 +00:00
Nextcloud bot 0423981d5d Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-18 04:31:46 +00:00
Andy Scherzinger 19af7f3d87 Merge pull request #11459 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-03-17 09:56:02 +01:00
Nextcloud bot 26066ea38a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-17 04:26:50 +00:00
Nextcloud bot 0b05544d13 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-17 04:26:19 +00:00
nextcloud-android-bot 1f4f259b6a 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-03-17 02:42:43 +00:00
Nextcloud bot c4f22b7528 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-16 07:38:08 +00:00
Nextcloud bot 250cc008be Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-16 07:37:37 +00:00
Nextcloud bot 49680148dd Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-16 04:34:05 +00:00
Nextcloud bot 37547d05d8 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-16 04:33:35 +00:00
Andy Scherzinger 32c4363a6b Merge pull request #11455 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.17.0
Build(deps): Bump com.diffplug.spotless from 6.16.0 to 6.17.0
2023-03-15 10:03:38 +01:00
Nextcloud bot aa4642927b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-14 04:30:47 +00:00
Nextcloud bot 8e9926faff Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-14 04:30:17 +00:00
dependabot[bot] 5a875bc2fa Build(deps): Bump com.diffplug.spotless from 6.16.0 to 6.17.0
Bumps com.diffplug.spotless from 6.16.0 to 6.17.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-14 02:58:26 +00:00
dependabot[bot] 6982775ecf Build(deps): Bump actions/cache from 3.2.6 to 3.3.1
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.6 to 3.3.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/69d9d449aced6a2ede0bc19182fadc3a0a42d2b0...88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-13 18:56:24 +01:00
Andy Scherzinger cce59c83a3 Merge pull request #11450 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-03-13 18:54:58 +01:00
Nextcloud bot 5a22645b36 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-13 04:28:45 +00:00
Nextcloud bot a7f60d4bdb Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-13 04:28:15 +00:00
nextcloud-android-bot 77b44ad3cb 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-03-13 02:41:00 +00:00
Andy Scherzinger 2ab3c12c81 Merge pull request #11447 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-03-12 09:20:04 +01:00
Nextcloud bot 5e91c34de5 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-12 04:27:11 +00:00
Nextcloud bot c2699c794a Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-12 04:26:41 +00:00
nextcloud-android-bot 05b08d051a 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-03-12 02:54:21 +00:00
Nextcloud bot 596a99a17b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-11 04:29:19 +00:00
Nextcloud bot 44e94f1e17 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-11 04:28:48 +00:00
Nextcloud bot 8f15feff68 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-10 04:34:09 +00:00
Nextcloud bot d08cfd81e7 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-10 04:33:38 +00:00
Nextcloud bot bdb69076f8 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-09 04:34:19 +00:00
Nextcloud bot 7348a59029 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-09 04:33:46 +00:00
Álvaro Brey bb69b1e800 Merge pull request #11438 from nextcloud/dependabot/gradle/exoplayerVersion-2.18.4
Build(deps): Bump exoplayerVersion from 2.18.3 to 2.18.4
2023-03-08 10:50:43 +01:00
Álvaro Brey b6262aa9af Merge pull request #11435 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.1.2
Build(deps): Bump com.google.firebase:firebase-messaging from 23.1.1 to 23.1.2
2023-03-08 10:48:47 +01:00
dependabot[bot] 30bf03475b Build(deps): Bump com.google.firebase:firebase-messaging
Bumps [com.google.firebase:firebase-messaging](https://github.com/firebase/firebase-android-sdk) from 23.1.1 to 23.1.2.
- [Release notes](https://github.com/firebase/firebase-android-sdk/releases)
- [Changelog](https://github.com/firebase/firebase-android-sdk/blob/master/docs/make_release_notes.py)
- [Commits](https://github.com/firebase/firebase-android-sdk/commits)

---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-messaging
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-08 08:43:07 +00:00
dependabot[bot] 46f5fdd9d4 Build(deps): Bump exoplayerVersion from 2.18.3 to 2.18.4
Bumps `exoplayerVersion` from 2.18.3 to 2.18.4.

Updates `com.google.android.exoplayer:exoplayer` from 2.18.3 to 2.18.4
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.3...r2.18.4)

Updates `com.google.android.exoplayer:extension-okhttp` from 2.18.3 to 2.18.4
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.3...r2.18.4)

---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.exoplayer:extension-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-03-08 08:42:36 +00:00
Nextcloud bot ba918166de Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-08 04:32:55 +00:00
Nextcloud bot 14601a28fe Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-08 04:32:23 +00:00
Nextcloud bot a34a02de46 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-07 04:27:00 +00:00
Nextcloud bot 01914e274d Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-07 04:26:28 +00:00
Nextcloud bot ed5a91189d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-06 04:30:33 +00:00
Nextcloud bot fcbf1f256a Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-06 04:30:01 +00:00
Nextcloud bot 35b4890756 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-05 04:29:42 +00:00
Nextcloud bot 72e13b4e15 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-05 04:29:11 +00:00
Nextcloud bot 26292dd3e1 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-04 04:28:32 +00:00
Nextcloud bot ff1093d206 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-04 04:27:59 +00:00
Nextcloud bot b03634f18b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-03 03:46:12 +00:00
Nextcloud bot 000af89792 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-03 03:45:41 +00:00
Nextcloud bot 45da5017cc Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-02 06:54:19 +00:00
Nextcloud bot 62c3804d82 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-02 06:53:49 +00:00
Nextcloud bot c5ec76271e Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-02 06:49:24 +00:00
Nextcloud bot a4822daf74 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-02 06:48:54 +00:00
Nextcloud bot 23143a640d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-02 06:43:36 +00:00
Nextcloud bot c9c9f11178 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-02 06:43:05 +00:00
Nextcloud bot bd69ac585d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-03-02 06:38:33 +00:00
Álvaro Brey b08b421c07 Merge pull request #11426 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-02-28 11:12:55 +01:00
Álvaro Brey b4cb853e8c Merge pull request #11425 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:18 +01:00
Álvaro Brey 26e093a82b Merge pull request #11424 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.16.0
Build(deps): Bump com.diffplug.spotless from 6.15.0 to 6.16.0
2023-02-28 10:25:58 +01:00
Álvaro Brey a5f329d1cd Merge pull request #11423 from nextcloud/dependabot/gradle/org.json-json-20230227
Build(deps): Bump org.json:json from 20220924 to 20230227
2023-02-28 09:20:46 +01:00
nextcloud-android-bot 5f974437db 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-02-28 03:05:46 +00:00
dependabot[bot] 75303a3e9c 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] <[email protected]>
2023-02-28 02:58:17 +00:00
dependabot[bot] 15135aabee Build(deps): Bump com.diffplug.spotless from 6.15.0 to 6.16.0
Bumps com.diffplug.spotless from 6.15.0 to 6.16.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-28 02:57:48 +00:00
dependabot[bot] 7ad2c84375 Build(deps): Bump org.json:json from 20220924 to 20230227
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20220924 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-28 02:57:35 +00:00
Álvaro Brey bd7042944d Merge pull request #11422 from nextcloud/dependabot/github_actions/actions/cache-3.2.6
Build(deps): Bump actions/cache from 3.2.5 to 3.2.6
2023-02-27 14:29:40 +01:00
Álvaro Brey 491d4aae99 Merge pull request #11417 from ArchontisKostis/refactor-FileDisplayActivity-onCreate
Refactor onCreate() method by breaking it down into smaller methods
2023-02-27 14:27:39 +01:00
DESKTOP-EMSE65H\Archontis 47c2223cd2 Merge branch 'refactor-FileDisplayActivity-onCreate' of https://github.com/ArchontisKostis/android into refactor-FileDisplayActivity-onCreate 2023-02-27 14:05:53 +02:00
DESKTOP-EMSE65H\Archontis 40bfca1a06 add my name to license comment
Signed-off-by: DESKTOP-EMSE65H\Archontis <[email protected]>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis 3de35d2996 Refactor onCreate: extract initTaskRetainerFragment method
This commit extracts the logic to initialize a fragment without UI on a seperate method called `initTaskRetainerFragment`.

Signed-off-by: DESKTOP-EMSE65H\Archontis <[email protected]>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis 8b571bb58c Refactor onCreate: extract initUI method
This commit:
- Creates a `initUI()` method to handle the setup of the toolbar and UI components
- Removes corresponding code from `onCreate()` and replaced it with a call to the new method
- Improves readability of `onCreate()` method

This change does not affect the functionality of the original code.

Signed-off-by: DESKTOP-EMSE65H\Archontis <[email protected]>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis 4cdfa994e9 Refactor onCreate method: extract initLayout method
This commit refactors the onCreate() method by exctracting a new method to handle the layout inflation and setting of the content view. The readability of onCreate method is improved.

This change does not affect the functionality of the original code.

Signed-off-by: DESKTOP-EMSE65H\Archontis <[email protected]>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis 3316726a1d Refactor onCreate() to extract method for loading saved instance state
This commit refactors the onCreate() method by extracting the code responsible for loading the saved instance state into a separate method named loadSavedInstanceState(). This improves the readability and maintainability of the code by reducing the complexity of the onCreate() method and separating concerns. The loadSavedInstanceState() method simply takes a Bundle parameter and initializes the relevant instance variables based on the saved state. The onCreate() method now simply calls the super.onCreate() method, sets the default theme, and initializes the sync broadcast receiver.

This change does not affect the functionality of the original code.

Signed-off-by: DESKTOP-EMSE65H\Archontis <[email protected]>
2023-02-27 14:05:01 +02:00
dependabot[bot] 93de30fc81 Build(deps): Bump actions/cache from 3.2.5 to 3.2.6
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/6998d139ddd3e68c71e9e398d8e40b71a2f39812...69d9d449aced6a2ede0bc19182fadc3a0a42d2b0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-27 11:59:41 +00:00
DESKTOP-EMSE65H\Archontis a875c1d4a7 add my name to license comment 2023-02-25 01:42:17 +02:00
DESKTOP-EMSE65H\Archontis 2e6fca0c04 Refactor onCreate: extract initTaskRetainerFragment method
This commit extracts the logic to initialize a fragment without UI on a seperate method called `initTaskRetainerFragment`.
2023-02-25 01:39:52 +02:00
DESKTOP-EMSE65H\Archontis 23c8f86b7b Refactor onCreate: extract initUI method
This commit:
- Creates a `initUI()` method to handle the setup of the toolbar and UI components
- Removes corresponding code from `onCreate()` and replaced it with a call to the new method
- Improves readability of `onCreate()` method

This change does not affect the functionality of the original code.
2023-02-25 01:37:06 +02:00
DESKTOP-EMSE65H\Archontis d3c4968312 Refactor onCreate method: extract initLayout method
This commit refactors the onCreate() method by exctracting a new method to handle the layout inflation and setting of the content view. The readability of onCreate method is improved.

This change does not affect the functionality of the original code.
2023-02-25 01:34:40 +02:00
DESKTOP-EMSE65H\Archontis 3ba5d02894 Refactor onCreate() to extract method for loading saved instance state
This commit refactors the onCreate() method by extracting the code responsible for loading the saved instance state into a separate method named loadSavedInstanceState(). This improves the readability and maintainability of the code by reducing the complexity of the onCreate() method and separating concerns. The loadSavedInstanceState() method simply takes a Bundle parameter and initializes the relevant instance variables based on the saved state. The onCreate() method now simply calls the super.onCreate() method, sets the default theme, and initializes the sync broadcast receiver.

This change does not affect the functionality of the original code.
2023-02-25 01:12:43 +02:00
Álvaro Brey cc353350c4 Merge pull request #11415 from nextcloud/dependabot/gradle/androidx.arch.core-core-testing-2.2.0
Build(deps): Bump androidx.arch.core:core-testing from 2.1.0 to 2.2.0
2023-02-23 10:26:32 +01:00
Álvaro Brey b093ff9033 Merge pull request #11414 from nextcloud/dependabot/gradle/androidx.annotation-annotation-1.6.0
Build(deps): Bump androidx.annotation:annotation from 1.5.0 to 1.6.0
2023-02-23 10:26:08 +01:00
Nextcloud bot 90542ac1af Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-23 03:45:22 +00:00
dependabot[bot] 2084e39df8 Build(deps): 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] <[email protected]>
2023-02-23 02:13:54 +00:00
dependabot[bot] e107642cc5 Build(deps): Bump androidx.annotation:annotation from 1.5.0 to 1.6.0
Bumps androidx.annotation:annotation from 1.5.0 to 1.6.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-23 02:13:18 +00:00
Álvaro Brey 55e9098729 Merge pull request #11409 from nextcloud/rakekniven-patch-1
l10n: Improved grammar
2023-02-22 17:24:28 +01:00
Álvaro Brey f91abefc6d Merge pull request #11149 from nextcloud/mTimestamp
mTime: use typed parameter (long) instead of String
2023-02-22 17:21:13 +01:00
Álvaro Brey a8401a2356 Merge pull request #11411 from nextcloud/fix/fsu-encryption-npe
fix: FileStorageUtils: prevent NPE when checking encryption status
2023-02-22 16:46:37 +01:00
Álvaro Brey 606b515f16 chore: Restore library version to master
Signed-off-by: Álvaro Brey <[email protected]>
2023-02-22 16:10:13 +01:00
Álvaro Brey 3d2baef11f Merge pull request #11381 from nextcloud/Valdnet-patch-1
i18n: Change to capital letter
2023-02-22 15:03:37 +01:00
tobiasKaminsky 860113e842 mTime: use typed parameter (long) instead of String
Signed-off-by: tobiasKaminsky <[email protected]>
2023-02-22 14:48:03 +01:00
Álvaro Brey edec670f28 Merge pull request #11384 from nextcloud/fix/invalid-filename-download
Improve error message when download fails due to invalid filename
2023-02-22 09:43:37 +01:00
Tobias Kaminsky 0f9226cdd7 Merge pull request #11412 from nextcloud/changelog-master-stable-3.24.1
Add changelog for 3.24.1
2023-02-22 08:34:07 +01:00
Nextcloud bot 5100a74182 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-22 03:44:38 +00:00
Nextcloud bot 6cf1702c7c Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-22 03:44:06 +00:00
Álvaro Brey a402ffe59b Add changelog for 3.24.1
Signed-off-by: Álvaro Brey <[email protected]>
2023-02-21 16:24:12 +01:00
Álvaro Brey a9e4ba9abd fix: FileStorageUtils: prevent NPE when checking encryption status
This can happen if the parent of a file has been deleted.

Signed-off-by: Álvaro Brey <[email protected]>
2023-02-21 15:14:29 +01:00
Nextcloud bot 654cf8e124 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-21 03:43:38 +00:00
Nextcloud bot 2c889f5493 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-21 03:43:08 +00:00
rakekniven ab0c8a73c2 l10n: Improved grammar
Reported at Transifex.
  
Signed-off-by: rakekniven <[email protected]>


Signed-off-by: rakekniven <[email protected]>
2023-02-20 19:54:15 +01:00
Álvaro Brey 2e5c485999 Merge pull request #11404 from nextcloud/dependabot/github_actions/gradle/wrapper-validation-action-1.0.6
Build(deps): Bump gradle/wrapper-validation-action from 1.0.5 to 1.0.6
2023-02-20 16:07:59 +01:00
Álvaro Brey 09d5c1d440 Merge pull request #11403 from nextcloud/dependabot/github_actions/actions/checkout-3.3.0
Build(deps): Bump actions/checkout from 3.2.0 to 3.3.0
2023-02-20 16:07:41 +01:00
Álvaro Brey ea536004f8 Merge pull request #11393 from nextcloud/dependabot/gradle/exoplayerVersion-2.18.3
Build(deps): Bump exoplayerVersion from 2.18.2 to 2.18.3
2023-02-20 16:07:20 +01:00
Álvaro Brey d39dd2a642 Merge pull request #11365 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.6.1
Build(deps): Bump androidx.appcompat:appcompat from 1.6.0 to 1.6.1
2023-02-20 16:07:00 +01:00
Álvaro Brey d85fd3bba9 Merge pull request #11405 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.4.0
Build(deps): Bump gradle/gradle-build-action from 2.3.3 to 2.4.0
2023-02-20 14:34:29 +01:00
dependabot[bot] cbef7b2c4a Build(deps): Bump exoplayerVersion from 2.18.2 to 2.18.3
Bumps `exoplayerVersion` from 2.18.2 to 2.18.3.

Updates `com.google.android.exoplayer:exoplayer` from 2.18.2 to 2.18.3
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.2...r2.18.3)

Updates `com.google.android.exoplayer:extension-okhttp` from 2.18.2 to 2.18.3
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.2...r2.18.3)

---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.exoplayer:extension-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-20 12:29:37 +00:00
Álvaro Brey 681dea98ef Merge pull request #11394 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.6.0
Build(deps): Bump com.github.nextcloud.android-common:ui from 0.5.0 to 0.6.0
2023-02-20 13:29:33 +01:00
dependabot[bot] 3a7ef87257 Build(deps): Bump actions/checkout from 3.2.0 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.2.0...ac593985615ec2ede58e132d2e21d2b1cbd6127c)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-20 12:29:00 +00:00
Álvaro Brey e6458367b7 Merge pull request #11383 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.15.0
Build(deps): Bump com.diffplug.spotless from 6.14.1 to 6.15.0
2023-02-20 13:28:06 +01:00
Álvaro Brey 7e7b129786 Merge pull request #11378 from nextcloud/dependabot/github_actions/actions/setup-java-3.10.0
Build(deps): Bump actions/setup-java from 3.9.0 to 3.10.0
2023-02-20 13:27:44 +01:00
dependabot[bot] de7f042c45 Build(deps): 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] <[email protected]>
2023-02-20 12:27:29 +00:00
Álvaro Brey c0a1fdbd7f Merge pull request #11363 from nextcloud/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.6
Build(deps): Bump androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6
2023-02-20 13:26:03 +01:00
dependabot[bot] 2e202240c3 Build(deps): Bump gradle/gradle-build-action from 2.3.3 to 2.4.0
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/3fbe033aaae657f011f88f29be9e65ed26bd29ef...6095a76664413da4c8c134ee32e8a8ae900f0f1f)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-20 11:59:10 +00:00
dependabot[bot] 5f5b2d47ea Build(deps): Bump gradle/wrapper-validation-action from 1.0.5 to 1.0.6
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](https://github.com/gradle/wrapper-validation-action/compare/55e685c48d84285a5b0418cd094606e199cca3b6...8d49e559aae34d3e0eb16cde532684bc9702762b)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-20 11:59:02 +00:00
tobiasKaminsky 5c1c97efa1 when resuming note directly after creating, url is not working anymore, thus we need a new one
Signed-off-by: tobiasKaminsky <[email protected]>
2023-02-20 09:32:04 +01:00
Nextcloud bot dfc9193b15 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-20 03:42:54 +00:00
Nextcloud bot 223dad576c Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-20 03:42:23 +00:00
Nextcloud bot ead544a1cf Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-19 03:42:21 +00:00
Nextcloud bot 3124ca3e95 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-19 03:41:50 +00:00
Álvaro Brey 7fd58b71f3 chore(build): Restore library version
Signed-off-by: Álvaro Brey <[email protected]>
2023-02-17 11:02:45 +01:00
Álvaro Brey 5bbb26c23c Remove unused imports
Signed-off-by: Álvaro Brey <[email protected]>
2023-02-17 11:02:45 +01:00
Álvaro Brey a9e1609f30 feat(download): Show specific error message when download fails due to invalid local filename
Signed-off-by: Álvaro Brey <[email protected]>
2023-02-17 11:02:45 +01:00
Álvaro Brey 0445eb3768 feat(download): Show specific error if download fails due to local file creation failure
Signed-off-by: Álvaro Brey <[email protected]>
2023-02-17 11:02:45 +01:00
Nextcloud bot 53a5804643 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-17 03:43:11 +00:00
Nextcloud bot 569c06c45d Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-17 03:42:41 +00:00
dependabot[bot] 2f4ca27139 Build(deps): Bump com.github.nextcloud.android-common:ui
Bumps [com.github.nextcloud.android-common:ui](https://github.com/nextcloud/android-common) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/nextcloud/android-common/releases)
- [Commits](https://github.com/nextcloud/android-common/compare/0.5.0...0.6.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] <[email protected]>
2023-02-17 02:57:34 +00:00
Álvaro Brey 69be842cb9 Merge pull request #11388 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-02-16 09:11:17 +01:00
Nextcloud bot 77c295370a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-16 03:42:11 +00:00
Nextcloud bot c8802bc2a4 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-16 03:41:39 +00:00
nextcloud-android-bot cd4c722fc9 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-02-16 02:46:15 +00:00
Nextcloud bot a636c5a1f6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-15 03:41:56 +00:00
Nextcloud bot de07062396 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-15 03:41:25 +00:00
dependabot[bot] 8b827b3086 Build(deps): 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](https://github.com/actions/setup-java/compare/1df8dbefe2a8cbc99770194893dd902763bee34b...3f07048e3d294f56e9b90ac5ea2c6f74e9ad0f98)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-14 09:16:13 +00:00
Tobias Kaminsky ddfe06fd64 Merge pull request #11382 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-02-14 10:15:03 +01:00
Álvaro Brey 49fd43b6e5 Merge pull request #11340 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.4.1
Build(deps): Bump com.android.tools.build:gradle from 7.4.0 to 7.4.1
2023-02-14 09:19:46 +01:00
Álvaro Brey cd92137f07 Merge pull request #11379 from nextcloud/changelog-master-stable-3.24.0
Add changelog for 3.24.0
2023-02-14 09:18:31 +01:00
Álvaro Brey 752edded62 Merge pull request #11368 from nextcloud/dependabot/gradle/daggerVersion-2.45
Build(deps): Bump daggerVersion from 2.44.2 to 2.45
2023-02-14 09:16:41 +01:00
dependabot[bot] fc19ec8ed7 Build(deps): Bump com.diffplug.spotless from 6.14.1 to 6.15.0
Bumps com.diffplug.spotless from 6.14.1 to 6.15.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-14 08:07:18 +00:00
Álvaro Brey b5567deb1c Delete scorecards-analysis.yml (#11375)
Will be synced from android-config

Signed-off-by: Álvaro Brey <[email protected]>
2023-02-14 09:01:22 +01:00
Valdnet 5195a03b3d i18n: Change to capital letter
Signed-off-by: Valdnet <[email protected]>
2023-02-14 07:55:06 +01:00
Nextcloud bot ae3d8c8402 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-14 03:41:26 +00:00
Nextcloud bot c3e760d95b Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-14 03:40:55 +00:00
nextcloud-android-bot a3ba0eedbe 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-02-14 02:46:49 +00:00
dependabot[bot] b0d2a6ba68 Build(deps): Bump androidx.exifinterface:exifinterface
Bumps androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-13 14:47:30 +00:00
Álvaro Brey 83ea49cd89 Add changelog for 3.24.0
Signed-off-by: Álvaro Brey <[email protected]>
2023-02-13 15:26:37 +01:00
dependabot[bot] 21a46b926b Build(deps): Bump actions/cache from 3.2.4 to 3.2.5 (#11377)
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/627f0f41f6904a5b1efbaed9f96d9eb58e92e920...6998d139ddd3e68c71e9e398d8e40b71a2f39812)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 14:14:02 +01:00
dependabot[bot]andÁlvaro Brey 865d5710b5 Build(deps): Bump workRuntime from 2.7.1 to 2.8.0 (#11364)
* Build(deps): Bump workRuntime from 2.7.1 to 2.8.0

Bumps `workRuntime` from 2.7.1 to 2.8.0.

Updates `androidx.work:work-runtime` from 2.7.1 to 2.8.0

Updates `androidx.work:work-runtime-ktx` 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
- dependency-name: androidx.work:work-runtime-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix(androidTest): Add missing parameter to dummy WorkInfo

Needed in work 2.8.0

Signed-off-by: Álvaro Brey <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Álvaro Brey <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Álvaro Brey <[email protected]>
2023-02-13 13:53:06 +01:00
Álvaro Brey 0946399ba9 Use adaptive colors for pre-login screens (#11362)
* Use unmodified primary color as background through M3 utils for login screen

Signed-off-by: Álvaro Brey <[email protected]>

* Use color utils to fix colors in AuthenticatorActivity for light primaries

Signed-off-by: Álvaro Brey <[email protected]>

* WhatsNewActivity: fix for light primary color, port to viewbinding

Signed-off-by: Álvaro Brey <[email protected]>

* Fix status bar colors in pre-login screens

Signed-off-by: Álvaro Brey <[email protected]>

* FeatureFragment: fix spotbugs

Signed-off-by: Álvaro Brey <[email protected]>

* Update login screenshot

Signed-off-by: Álvaro Brey <[email protected]>

* build: Set ui dep to 0.5.0 tag

Signed-off-by: Álvaro Brey <[email protected]>

---------

Signed-off-by: Álvaro Brey <[email protected]>
2023-02-13 12:39:27 +01:00
Tobias Kaminsky 55a7a26609 Merge pull request #10519 from nextcloud/removeLastFavorite
After removing last favorite item show correct placeholder
2023-02-13 12:12:15 +01:00
Álvaro Brey 6a0cddd327 Merge pull request #11366 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-02-13 10:09:17 +01:00
Nextcloud bot bb269f4a10 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-13 03:44:13 +00:00
Nextcloud bot 62d405a552 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-13 03:43:43 +00:00
nextcloud-android-bot 4f60bdaf44 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-02-13 02:44:59 +00:00
Nextcloud bot 734eae4644 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-12 03:40:22 +00:00
Nextcloud bot eef53d996d Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-12 03:39:51 +00:00
Nextcloud bot 5a8f3e11b2 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-11 03:39:42 +00:00
Nextcloud bot ef80ed530f Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-11 03:39:11 +00:00
Nextcloud bot 88bf6bf89a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-10 03:46:24 +00:00
Nextcloud bot e1d5f831c0 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-10 03:45:52 +00:00
dependabot[bot] 7af8e35247 Build(deps): Bump daggerVersion from 2.44.2 to 2.45
Bumps `daggerVersion` from 2.44.2 to 2.45.

Updates `com.google.dagger:dagger` from 2.44.2 to 2.45
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44.2...dagger-2.45)

Updates `com.google.dagger:dagger-android` from 2.44.2 to 2.45
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44.2...dagger-2.45)

Updates `com.google.dagger:dagger-android-support` from 2.44.2 to 2.45
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44.2...dagger-2.45)

Updates `com.google.dagger:dagger-compiler` from 2.44.2 to 2.45
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44.2...dagger-2.45)

Updates `com.google.dagger:dagger-android-processor` from 2.44.2 to 2.45
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44.2...dagger-2.45)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-10 02:57:12 +00:00
tobiasKaminsky cf28c7e7d2 After removing last favorite item show correct placeholder
Signed-off-by: tobiasKaminsky <[email protected]>
2023-02-09 16:18:58 +01:00
Nextcloud bot 6178a1458c Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-09 03:49:36 +00:00
Nextcloud bot 9526c340a2 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-09 03:49:06 +00:00
Tobias Kaminsky 08aa51c411 Merge pull request #11266 from nextcloud/secureFiledrop
Secure filedrop
2023-02-08 13:54:25 +01:00
Tobias Kaminsky d5e3f4405d Merge pull request #11339 from nextcloud/sharedView
Fix shared view
2023-02-08 10:49:41 +01:00
Tobias Kaminsky 27514610e2 Merge pull request #11341 from nextcloud/fixInterruptedE2eUploads
fix interrupted e2e uploads
2023-02-08 10:45:33 +01:00
Nextcloud bot d1f871a21a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-08 03:40:01 +00:00
Nextcloud bot 1156bbabbc Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-08 03:39:27 +00:00
tobiasKaminsky 1af18ad3cd Secure filedrop
add tests
Rename .java to .kt
only show secure filedrop / sharing on NC26+
Refactor EncryptionUtils to avoid having test arguments on public method

Added secure filedrop

Signed-off-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2023-02-07 09:44:07 +01:00
Nextcloud bot 726ff43c13 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-07 03:40:19 +00:00
Nextcloud bot 2a1af9b48e Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-07 03:39:48 +00:00
Álvaro Brey f816645bc8 Merge pull request #11354 from nextcloud/chore/differentiate-dev-version
Fix F-Droid metadata to differentiate dev version more
2023-02-06 15:11:26 +01:00
Álvaro Brey 45d6cb09d9 Merge pull request #11350 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.14.1
Build(deps): Bump com.diffplug.spotless from 6.14.0 to 6.14.1
2023-02-06 14:10:59 +01:00
Álvaro Brey bfbe463dff Merge pull request #11352 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-2.1.1
Build(deps): Bump peter-evans/create-or-update-comment from 2.1.0 to 2.1.1
2023-02-06 14:10:31 +01:00
Álvaro Brey 44ac4ccb96 Merge pull request #11353 from nextcloud/dependabot/github_actions/actions/cache-3.2.4
Build(deps): Bump actions/cache from 3.2.3 to 3.2.4
2023-02-06 14:10:02 +01:00
Álvaro Brey 33d3913af9 Merge pull request #11303 from nextcloud/dependabot/gradle/androidx.webkit-webkit-1.6.0
Build(deps): Bump webkit from 1.5.0 to 1.6.0
2023-02-06 14:09:18 +01:00
Álvaro Brey e3efe705a7 Merge pull request #11085 from nextcloud/dependabot/gradle/exoplayerVersion-2.18.2
Bump exoplayerVersion from 2.18.1 to 2.18.2
2023-02-06 14:07:27 +01:00
Álvaro Brey 539fe061f3 Update scripts/generate_metadata.py for new metadata location
Signed-off-by: Álvaro Brey <[email protected]>
2023-02-06 13:03:32 +01:00
Álvaro Brey 5213b9e710 Capitalize name for dev version app
Signed-off-by: Álvaro Brey <[email protected]>
2023-02-06 12:21:28 +01:00
Álvaro Brey 7825411ded Add dev icon for F-Droid (dev version only)
Signed-off-by: Álvaro Brey <[email protected]>
2023-02-06 12:20:59 +01:00
Álvaro Brey 38a9590bcc Move per-flavor fastlane metadata to top-level src/ folder
This is what's currently supported by FDroid, see https://gitlab.com/fdroid/fdroidserver/-/issues/829

Signed-off-by: Álvaro Brey <[email protected]>
2023-02-06 12:19:50 +01:00
dependabot[bot] 328f926761 Build(deps): Bump actions/cache from 3.2.3 to 3.2.4
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/58c146cc91c5b9e778e71775dfe9bf1442ad9a12...627f0f41f6904a5b1efbaed9f96d9eb58e92e920)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-06 11:03:56 +00:00
dependabot[bot] 80abcba344 Build(deps): Bump peter-evans/create-or-update-comment
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](https://github.com/peter-evans/create-or-update-comment/compare/5adcb0bb0f9fb3f95ef05400558bdb3f329ee808...67dcc547d311b736a8e6c5c236542148a47adc3d)

---
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] <[email protected]>
2023-02-06 11:03:46 +00:00
dependabot[bot] 61af63a80f Bump exoplayerVersion from 2.18.1 to 2.18.2
Bumps `exoplayerVersion` from 2.18.1 to 2.18.2.

Updates `exoplayer` from 2.18.1 to 2.18.2
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.1...r2.18.2)

Updates `extension-okhttp` from 2.18.1 to 2.18.2
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.1...r2.18.2)

---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.exoplayer:extension-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-06 07:36:21 +00:00
dependabot[bot] a40e65c754 Build(deps): Bump webkit from 1.5.0 to 1.6.0
Bumps webkit from 1.5.0 to 1.6.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-06 07:35:38 +00:00
Nextcloud bot 4f01de0a20 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-06 03:35:56 +00:00
Nextcloud bot c4958acd25 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-06 03:35:26 +00:00
dependabot[bot] 36a3163265 Build(deps): Bump com.diffplug.spotless from 6.14.0 to 6.14.1
Bumps com.diffplug.spotless from 6.14.0 to 6.14.1.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-06 02:22:52 +00:00
Bogdan Coticopol 3ce6a16bd8 Signed-off-by: Bogdan Coticopol <[email protected]>
Minor refactoring on Media Tab.
2023-02-05 19:51:42 +02:00
Nextcloud bot 7e132ba39d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-05 03:36:54 +00:00
Nextcloud bot 77f455b2b4 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-05 03:36:24 +00:00
Nextcloud bot 96df5b3dd6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-04 03:40:28 +00:00
Nextcloud bot 29794cdda1 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-04 03:39:56 +00:00
Nextcloud bot 8145375fce Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-03 03:41:43 +00:00
Nextcloud bot b99c047008 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-03 03:41:12 +00:00
tobiasKaminsky d68e79d547 set remoteId as we need it for thumbnails
Signed-off-by: tobiasKaminsky <[email protected]>
2023-02-02 10:55:44 +01:00
tobiasKaminsky 395af69162 Fix toggling favorite on sharing
Signed-off-by: tobiasKaminsky <[email protected]>
2023-02-02 10:55:44 +01:00
tobiasKaminsky 113f974fd0 fix interrupted e2e uploads
Signed-off-by: tobiasKaminsky <[email protected]>
2023-02-02 08:49:33 +01:00
Nextcloud bot 7778fd8f81 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-02 03:41:45 +00:00
Nextcloud bot 8989505cad Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-02 03:41:15 +00:00
dependabot[bot] 7065f44506 Build(deps): Bump com.android.tools.build:gradle from 7.4.0 to 7.4.1
Bumps com.android.tools.build:gradle from 7.4.0 to 7.4.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-02-02 02:02:20 +00:00
Álvaro Brey f664d3a2e5 Merge pull request #11335 from nextcloud/chore/fix-codecov
Codecov config improvements
2023-02-01 09:29:45 +01:00
Nextcloud bot bd50b8b4f8 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-01 03:44:37 +00:00
Nextcloud bot 64f298503d Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-02-01 03:44:06 +00:00
Álvaro Brey 24e3f035ff Codecov: post comment only if there are coverage changes AND 2 reports have been received
We upload coverage for unit tests and integration tests separately.
This should prevent showing incorrect info and reduce spam

[skip ci]
[CI SKIP]

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-31 09:39:10 +01:00
Álvaro Brey b858f84e14 Codecov: don't post status until 2 builds received
We currently upload unit test coverage and UI test coverage separately.
This tells Codecov to not compute/notify coverage until both are received.

This _should_ prevent the flopping coverage when one of the test suites fails,
or when CI is skipped (due to no code changes, for example, for Drone)

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-31 09:30:55 +01:00
Nextcloud bot 051513d777 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-31 03:48:53 +00:00
Nextcloud bot 726b5d2d92 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-31 03:48:22 +00:00
Álvaro Brey 36c8b404c6 Merge pull request #11267 from nextcloud/dependabot/gradle/me.zhanghai.android.fastscroll-library-1.2.0
Build(deps): Bump me.zhanghai.android.fastscroll:library from 1.1.8 to 1.2.0
2023-01-30 15:27:10 +01:00
Álvaro Brey 02b79f75e5 Merge pull request #11324 from nextcloud/useAndroidPluginVersion
use same androidPluginVersion
2023-01-30 13:35:26 +01:00
tobiasKaminsky f7d6562f81 use same androidPluginVersion
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-30 07:52:31 +01:00
Nextcloud bot 0719f0efbd Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-30 03:45:08 +00:00
Nextcloud bot fa3821ea82 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-30 03:44:37 +00:00
Bogdan Coticopol 2bf3a5b142 Signed-off-by: Bogdan Coticopol <[email protected]>
Fix issues with Media Tab & performance improvement.
2023-01-29 21:59:39 +02:00
Andy Scherzinger aeb1632ade Merge pull request #11315 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-01-29 08:34:07 +01:00
Nextcloud bot 690caf6e70 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-29 03:39:29 +00:00
Nextcloud bot 1fccea94bd Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-29 03:38:57 +00:00
nextcloud-android-bot 12277a4968 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-01-29 02:43:16 +00:00
Nextcloud bot 52c8191d8d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-28 03:42:01 +00:00
Nextcloud bot 10522fedc5 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-28 03:41:30 +00:00
Álvaro Brey 3d6488940f Merge pull request #11201 from nextcloud/feature/pdf-scan
Multi-page PDF scanner
2023-01-27 12:59:02 +01:00
Álvaro Brey 1e0d48f945 Fix compilation error for GalleryFastScrollViewHelper
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 12:09:52 +01:00
Álvaro Brey c05c3c13cf Remove unused resource
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:55:35 +01:00
Álvaro Brey 6d24c960a5 Fix BackgroundJobFactoryTest
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:55:35 +01:00
Álvaro Brey 0f51646d3c Close scan activity if camera permission is denied
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:55:35 +01:00
Álvaro Brey f6094ae343 Lock AppScanActivity in portrait
Suggested in the library's docs, and prevents the activity crashing

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:55:35 +01:00
Álvaro Brey d7111ef480 appscan: Remove unused proguard files
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:55:35 +01:00
Álvaro Brey f183fc4968 Fix copyright for VariantsModule
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:55:35 +01:00
Álvaro Brey 31a6cd99fd Write simple test for pdf generator
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:55:34 +01:00
Álvaro Brey fc9139f4e2 Remove useless todo, handle request type event
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:55:34 +01:00
Álvaro Brey 1917198305 Move optional appscan feature to a separate module to avoid duplicating code between variants
This now uses a AppScanOptionalFeature injected interface that is satisfied by each module,
reducing the duplicated code to a minimum

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:55:32 +01:00
Álvaro Brey 9478fb15e9 Improve export type selection dialog
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:54:41 +01:00
Álvaro Brey cd51c4f5df Allow uploading document as multiple images instead of single PDF
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:54:41 +01:00
Álvaro Brey 41ef0614e0 Allow multi-page PDF scans
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:54:41 +01:00
Álvaro Brey 2147322652 AppScanActivity: use JPEG for format
PNG is way slower AND way heavier. Why did we use it?

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:54:36 +01:00
dependabot[bot] ed303b616d Build(deps): Bump me.zhanghai.android.fastscroll:library
Bumps [me.zhanghai.android.fastscroll:library](https://github.com/zhanghai/AndroidFastScroll) from 1.1.8 to 1.2.0.
- [Release notes](https://github.com/zhanghai/AndroidFastScroll/releases)
- [Commits](https://github.com/zhanghai/AndroidFastScroll/compare/v1.1.8...v1.2.0)

---
updated-dependencies:
- dependency-name: me.zhanghai.android.fastscroll:library
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-01-27 10:53:07 +00:00
Álvaro Brey 9bbbc83aff Merge pull request #11246 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.6.0
Build(deps): Bump appcompat from 1.5.1 to 1.6.0
2023-01-27 11:52:17 +01:00
Álvaro Brey 54724f1ea6 Merge pull request #11289 from nextcloud/dependabot/gradle/com.google.android.material-material-1.8.0
Build(deps): Bump material from 1.7.0 to 1.8.0
2023-01-27 11:49:20 +01:00
Álvaro Brey 1db626cc6f Merge pull request #11290 from nextcloud/dependabot/gradle/roomVersion-2.5.0
Build(deps): Bump roomVersion from 2.4.3 to 2.5.0
2023-01-27 11:48:35 +01:00
Tobias Kaminsky 76b1bcf39b Merge pull request #11309 from nextcloud/fix/e2e-screenshots
Update SettingsActivity screenshots to fix screenshot tests
2023-01-27 11:42:38 +01:00
Álvaro Brey 7dc3ee4971 Merge pull request #11301 from nextcloud/chore/fastlane-remove-screenshot-check
Fastfile: fix check for screenshots
2023-01-27 11:28:30 +01:00
Álvaro Brey a572e3e512 Fastfile: fix screenshots check
We now have the app icon in the fastlane folder, so this check fails.

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 11:26:43 +01:00
Álvaro Brey a80c85388a Merge pull request #11307 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.14.0
Build(deps): Bump com.diffplug.spotless from 6.13.0 to 6.14.0
2023-01-27 10:47:12 +01:00
Álvaro Brey 53f5348e1d Update SettingsActivity screenshots to fix screenshot tests
Broken since latest merged e2e tests

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-27 10:42:17 +01:00
Nextcloud bot 48a21bdc59 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-27 03:40:19 +00:00
Nextcloud bot 66dd575f97 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-27 03:39:47 +00:00
dependabot[bot] 400c46c6c4 Build(deps): Bump com.diffplug.spotless from 6.13.0 to 6.14.0
Bumps com.diffplug.spotless from 6.13.0 to 6.14.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-01-27 02:01:31 +00:00
Álvaro Brey 0c16b3cd69 Merge pull request #11302 from nextcloud/chore/update-drone-php-ver
Drone: update server images to use php 8
2023-01-26 11:19:22 +01:00
Nextcloud bot a69381c775 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-26 03:57:36 +00:00
Nextcloud bot 5041611c6f Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-26 03:57:05 +00:00
Álvaro Brey 232ffdfd3d Drone: update server images to use php 8
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-25 18:17:40 +01:00
Álvaro Brey 4cb74221db Merge pull request #11299 from nextcloud/bumps-after-3.24
Bumps on master after 3.24
2023-01-25 18:01:37 +01:00
Álvaro Brey 3d291d8fec Bump OUTDATED_SERVER_VERSION to Nextcloud 23, as it has reached EOL
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-25 14:41:06 +01:00
Álvaro Brey 77e906fead Bump version to 3.25.0
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-25 14:40:36 +01:00
Álvaro Brey b30b8ebf1f Merge pull request #10558 from nextcloud/doNotUploadFolderWhenEncryption
When uploading files to an encrypted folder do not allow to upload entire folders
2023-01-25 14:26:54 +01:00
Álvaro Brey f115883df2 Merge pull request #11138 from nextcloud/favoriteInShares
Shows favorite state in share overview
2023-01-25 12:46:07 +01:00
tobiasKaminsky d4e9ef203f When uploading files to an encrypted folder do not allow to upload entire folders
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-25 11:28:48 +00:00
Álvaro Brey 7fcdd381d9 Merge pull request #11146 from nextcloud/unsetEncryption
Show "unset encryption" only when E2E is setup
2023-01-25 12:27:12 +01:00
tobiasKaminsky 4f1d0347f4 Uses: https://github.com/nextcloud/android-library/pull/968
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-25 09:58:50 +01:00
tobiasKaminsky f18225eda6 Show "unset encryption" only when E2E is setup
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-25 09:56:55 +01:00
Álvaro Brey 4cedd9d30d Merge pull request #11230 from nextcloud/e2eCorrectState
Show setup e2e only when
2023-01-25 09:55:00 +01:00
dependabot[bot] 73339ec32c Build(deps): 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] <[email protected]>
2023-01-25 08:49:57 +00:00
dependabot[bot] 81ca19833f Build(deps): Bump roomVersion from 2.4.3 to 2.5.0
Bumps `roomVersion` from 2.4.3 to 2.5.0.

Updates `room-runtime` from 2.4.3 to 2.5.0

Updates `room-compiler` from 2.4.3 to 2.5.0

Updates `room-testing` from 2.4.3 to 2.5.0

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-01-25 08:49:28 +00:00
Álvaro Brey f0003c4a56 Merge pull request #11264 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.13.0
Build(deps): Bump com.diffplug.spotless from 6.12.0 to 6.13.0
2023-01-25 09:47:58 +01:00
Tobias Kaminsky 974bfbd973 Merge pull request #11287 from nextcloud/fixLocalIDafterUpgrade
upon upgrade localID may be null, better use default value
2023-01-25 07:30:10 +01:00
Nextcloud bot d9d0f21c43 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-25 03:55:40 +00:00
Nextcloud bot f67469da38 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-25 03:55:09 +00:00
dependabot[bot] 34265d3d2c Build(deps): 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] <[email protected]>
2023-01-25 02:03:02 +00:00
Álvaro Brey 21479cc912 Apply ktlint style after spotless update
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-24 12:02:04 +01:00
Álvaro Brey dd42614c79 Spotless: disable trailing commas
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-24 12:01:30 +01:00
Álvaro Brey 07f744fe8f Merge pull request #11100 from nextcloud/chore/skip-ui-refresh-when-no-changes
Refresh UI only when changes are detected on the server
2023-01-24 11:53:24 +01:00
Álvaro Brey 998862e136 Merge pull request #11227 from nextcloud/chore/skip-file-exists-check
Skip check for existing files when reading file data from local DB
2023-01-24 11:52:17 +01:00
Álvaro Brey 29bcfd07fd NextcloudDatabase: 67 to 68 is a manual migration
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-24 11:21:53 +01:00
Álvaro Brey 9053bc96a7 Add test for DB 67 -> 68 migration
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-24 11:21:01 +01:00
Álvaro Brey 42b4519ab1 Add room migration to change local_id to NOT NULL
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-24 10:58:53 +01:00
Álvaro Brey 1f0bcc74b1 Include schema and automigration
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-24 10:02:39 +01:00
tobiasKaminsky a41ca26b90 upon upgrade localID may be null, better use default value
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-24 08:54:55 +01:00
Nextcloud bot c9f35c06ea Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-24 03:37:39 +00:00
Nextcloud bot 6cfc469c6e Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-24 03:37:10 +00:00
Dariusz Olszewski d3841cd0ca Partially revert previous commit - existence check required for directories
Signed-off-by: Dariusz Olszewski <[email protected]>
2023-01-23 15:54:54 +00:00
Dariusz Olszewski 08db3923cb Skip check for existing files when reading file data from local DB
Signed-off-by: Dariusz Olszewski <[email protected]>
2023-01-23 15:54:54 +00:00
dependabot[bot] 4a5a856034 Build(deps): Bump com.diffplug.spotless from 6.12.0 to 6.13.0
Dependabot couldn't find the original pull request head commit, 10076aeed8cee158e02965ed13b423e9a47208d8.
2023-01-23 15:22:30 +00:00
Dariusz Olszewski 742fa45f16 Refresh UI only when changes are detected on the server
Signed-off-by: Dariusz Olszewski <[email protected]>
2023-01-23 15:12:21 +00:00
Álvaro Brey 6cb4a65882 Merge pull request #11285 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-01-23 14:04:16 +01:00
Nextcloud bot 2f855e0470 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-23 06:14:12 +00:00
nextcloud-android-bot 59bfe0d933 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-01-23 02:38:26 +00:00
Nextcloud bot e924dff94a Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-22 03:35:31 +00:00
Nextcloud bot 5836b300a2 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-21 03:59:58 +00:00
Nextcloud bot b678b1c5a2 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-21 03:59:30 +00:00
Tobias Kaminsky 191d7532c0 Merge pull request #11273 from nextcloud/chore/compile-sdk-33
build: Bump compileSdk to 33
2023-01-20 09:19:11 +01:00
Nextcloud bot 94874cd7b2 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-20 03:39:38 +00:00
Nextcloud bot 67b0e0d674 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-20 03:39:10 +00:00
Nextcloud bot 188fbd4084 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-20 02:28:45 +00:00
Nextcloud bot 41a477ca2f Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-20 02:28:16 +00:00
Álvaro Brey 7dc89f1e72 Merge pull request #11269 from nextcloud/fix/10668/create-document-offline-crash
ChooseTemplateDialogFragment: check selectedTemplate is not null before attempting to get the extension
2023-01-19 20:36:11 +01:00
Álvaro Brey 43582e8cb4 Solve compilation errors for DeckApiTest with compileSDK 33
There are now 2 ambiguous resolutions of packageManager.resolveActivity so the mock has to specify type

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-19 15:49:57 +01:00
Álvaro Brey 863c9b72c9 EncryptionUtils: fix new lint warning
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-19 15:49:57 +01:00
Álvaro Brey e236891827 Fix build errors in SDK 33
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-19 15:49:57 +01:00
Álvaro Brey 5f47494248 build: Bump compileSdk to 33
Now required by several libraries (check open dependabot PRs)

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-19 15:49:57 +01:00
Álvaro Brey 37b85cf62d Merge pull request #8643 from nextcloud/localID_2
Use localID from webdav
2023-01-19 11:19:46 +01:00
tobiasKaminsky 0d2dc8ef06 revert to use master library
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-19 09:11:32 +01:00
Álvaro Brey 8200b41225 ChooseTemplateDialogFragment: check selectedTemplate is not null before attempting to get the extension
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-18 12:42:49 +01:00
Álvaro Brey daafa24905 Fix tets that need a 8-length remote ID
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-18 12:23:37 +01:00
Álvaro Brey 0287e34cdc Fix wrong initialization for FileDataStorageManagerContentProviderClientIT
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-18 12:23:37 +01:00
tobiasKaminsky 0b33eaff97 Changes after rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-18 12:23:37 +01:00
tobiasKaminsky b293ece7b4 fix test -> we need to have a 8 digit remote id for proper testing
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-18 12:23:37 +01:00
tobiasKaminskyandÁlvaro Brey b78e991d54 use localID everywhere
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-18 12:23:37 +01:00
Álvaro Brey 0b3707cf25 Merge pull request #11272 from nextcloud/fix/drone-text-main
drone: Fix branchname for text app
2023-01-18 11:39:30 +01:00
Álvaro Brey 9517c71230 drone: Fix branchname for text app
master has been renamed to main

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-18 11:24:34 +01:00
Nextcloud bot 79293e065b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-18 03:35:34 +00:00
Nextcloud bot 6dace4f962 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-18 03:35:05 +00:00
Álvaro Brey ba76513a24 Merge pull request #11268 from nextcloud/chore/cleanup-wait-for-server
Chore: copy wait_for_server from library
2023-01-17 15:16:47 +01:00
Álvaro Brey 59a13e0d4f Merge pull request #11251 from nextcloud/chore/json-common-cases
Avoid JSON deserialization in common trivial cases
2023-01-17 15:15:50 +01:00
tobiasKaminsky 8c68953884 Show setup e2e only when
- e2e is available on server
- no keys exists yet

Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-17 14:47:47 +01:00
Álvaro Brey d93634aac8 Merge pull request #11250 from nextcloud/bugfix/11215
fix(EditorWebView): Move local image upload to the editor web view
2023-01-17 10:34:56 +01:00
Álvaro Brey 0cb1cb0258 Chore: copy wait_for_server from library
Get rid of duplicated countr

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-17 09:58:06 +01:00
Álvaro Brey 5e5500585c Merge pull request #11253 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-01-17 09:20:32 +01:00
Nextcloud bot a33d8582e2 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-17 03:35:42 +00:00
Nextcloud bot 831c38763b Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-17 03:35:14 +00:00
nextcloud-android-bot 3de35cc451 🔄 synced local '.github/dependabot.yml' with remote 'config/dependabot.yml'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-01-17 02:37:57 +00:00
nextcloud-android-bot 7ceaedb87a 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-01-17 02:37:57 +00:00
Álvaro Brey a264730116 Merge pull request #11192 from nextcloud/fix/browseup-wrong-title
Reset search when browsing to a folder from the favorites list
2023-01-16 09:58:12 +01:00
Álvaro Brey cdf048945f Reset search when browsing to a folder from the favorites list
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-16 08:22:46 +00:00
Nextcloud bot 960400db81 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-16 03:36:02 +00:00
Nextcloud bot 858cd524e7 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-16 03:35:33 +00:00
Álvaro Brey f5896fa034 Merge pull request #11249 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.4.0
Build(deps): Bump gradle from 7.3.1 to 7.4.0
2023-01-15 23:44:04 +01:00
Nextcloud bot 1cfc7c8716 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-15 03:32:45 +00:00
Nextcloud bot c91a360f50 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-15 03:32:16 +00:00
Dariusz Olszewski 49cccd1ccd Clean-up - remove commented diagnostic code
Signed-off-by: Dariusz Olszewski <[email protected]>
2023-01-14 23:51:21 +00:00
Dariusz Olszewski eae9ff15c7 Avoid JSON deserialization in common, trivial cases
Signed-off-by: Dariusz Olszewski <[email protected]>
2023-01-14 23:51:21 +00:00
Nextcloud bot 20c22eb448 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-14 03:34:42 +00:00
Nextcloud bot 8cb4d33b40 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-14 03:34:14 +00:00
Julius Härtl 23d3dc22b5 fix(EditorWebView): Move local image upload to the editor web view
This makes sure that direct editing apps like text can also use regular
upload image methods through file input elements in the webview

fixes #11215
fixes #10744

Signed-off-by: Julius Härtl <[email protected]>
2023-01-13 21:30:15 +01:00
Álvaro Brey bbedbc973a Merge pull request #11248 from nextcloud/test-injection
Enable overriding injections in AndroidInjection classes during connected tests
2023-01-13 12:56:45 +01:00
dependabot[bot] 8b0deac0b4 Build(deps): Bump gradle from 7.3.1 to 7.4.0
Bumps gradle from 7.3.1 to 7.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-13 09:14:20 +01:00
Nextcloud bot 0f542c49ca Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-13 03:48:59 +00:00
Nextcloud bot 79094d8f4f Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-13 03:48:29 +00:00
Álvaro Brey 07d2a0c91b Move test runner back to com.nextcloud.client package
For some reason, Dexopener uses the package of the runner to determine which packages to open.
Which means with the new location, mockk can't work on android < P

Ref: https://github.com/tmurakami/dexopener/issues/24

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-12 17:14:26 +01:00
Álvaro Brey aefc2db091 MainApp: restore appcomponent method
Not needed for the final approach

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-12 13:10:53 +01:00
Álvaro Brey 7ea6283af4 Add testing utilities to override injections in classes injected with AndroidInjection
This includes Activities, Fragments, Services, etc. Other classes should use constructor injection,
and as such shouldn't need this.

This works by overriding the androidInjector method in the Application class (new TestMainApp added)
and allowing to use custom injectors there.

A InjectionOverrideRule is included for ease of use, but for more complicated cases, injection can be
controlled by accessing TestMainApp directly.

A sample is included in InjectionTestActivityTest.

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-12 12:58:31 +01:00
Álvaro Brey 443e6984f6 Move test helper classes to a consistent package (com.nextcloud.test)
Avoids having them mixed up with the tests

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-12 09:36:27 +01:00
Tobias Kaminsky 7368809f37 Merge pull request #11242 from nextcloud/fix/passcode-double-check
PassCodeManager: add some logic to avoid counting the same activity twice
2023-01-12 08:32:31 +01:00
Nextcloud bot 8bf1a32ded Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-12 03:35:09 +00:00
Nextcloud bot 3eebd46ff5 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-12 03:34:40 +00:00
Álvaro Brey d6f7bb601d Merge pull request #11244 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.4.0
Build(deps): Bump ui from 0.3.0 to 0.4.0
2023-01-11 16:31:15 +01:00
Álvaro Brey 134fd2a57e Merge pull request #11245 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-01-11 16:26:46 +01:00
Álvaro Brey 81db4f7b54 PasscodeManagerIT: use actual actitivy for test
Can't mock PowerManager on Android < 9

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-11 15:37:48 +01:00
nextcloud-android-bot 6e8c8db1c4 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-01-11 14:32:46 +00:00
Nextcloud bot d551c4b585 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-11 03:36:35 +00:00
Nextcloud bot b13efc4bee Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-11 03:36:05 +00:00
dependabot[bot] c56d3d16b8 Build(deps): Bump ui from 0.3.0 to 0.4.0
Bumps ui from 0.3.0 to 0.4.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] <[email protected]>
2023-01-11 02:04:00 +00:00
Álvaro Brey cc9de3b015 Merge pull request #11205 from nextcloud/dependabot/github_actions/actions/stale-7.0.0
Bump actions/stale from 6.0.1 to 7.0.0
2023-01-10 16:39:58 +01:00
Álvaro Brey 22540ba37a Fix version comment for stale action
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-10 15:56:42 +01:00
Álvaro Brey df0089ed1d PassCodeManager: add some logic to avoid counting the same activity twice
This is very specific to the case where an activity extending from AuthenticatorActivity _and_ running as `singleTask`
gets restarted, in which case it calls `PassCodeManager.onActivityResumed` twice (once on `onResume` and once on `onNewIntent`).

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-10 14:38:16 +01:00
Nextcloud bot cd8ed82937 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-10 03:40:17 +00:00
Nextcloud bot d49b7184e8 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-10 03:39:47 +00:00
Álvaro Brey 1049ff3367 Merge pull request #11209 from nextcloud/dependabot/gradle/mockitoVersion-4.11.0
Bump mockitoVersion from 4.10.0 to 4.11.0
2023-01-09 17:15:43 +01:00
dependabot[bot] 77c9cc92ae Bump mockitoVersion from 4.10.0 to 4.11.0
Bumps `mockitoVersion` from 4.10.0 to 4.11.0.

Updates `mockito-core` 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)

Updates `mockito-android` 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
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-01-09 16:02:35 +00:00
Álvaro Brey 103f2a867c Merge pull request #11223 from nextcloud/dependabot/gradle/androidx.test.ext-junit-1.1.5
Build(deps): Bump junit from 1.1.4 to 1.1.5
2023-01-09 15:23:46 +01:00
Álvaro Brey 59d64fc7f8 Merge pull request #11222 from nextcloud/dependabot/gradle/espressoVersion-3.5.1
Build(deps): Bump espressoVersion from 3.5.0 to 3.5.1
2023-01-09 15:17:37 +01:00
Álvaro Brey 65b8b17213 Merge pull request #11235 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.10.1
Build(deps): Bump gson from 2.10 to 2.10.1
2023-01-09 15:05:45 +01:00
Álvaro Brey 59e4df5ef4 Merge pull request #11236 from nextcloud/dependabot/github_actions/actions/upload-artifact-3.1.2
Build(deps): Bump actions/upload-artifact from 3.1.1 to 3.1.2
2023-01-09 15:04:01 +01:00
Álvaro Brey d092c7892d Merge pull request #11237 from nextcloud/dependabot/github_actions/actions/cache-3.2.3
Build(deps): Bump actions/cache from 3.2.2 to 3.2.3
2023-01-09 15:03:01 +01:00
Álvaro Brey 1c7ffffe03 Merge pull request #11194 from nextcloud/fix/random-lint
fix/random lint
2023-01-09 15:01:45 +01:00
dependabot[bot] 1149b37de6 Build(deps): Bump actions/cache from 3.2.2 to 3.2.3
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/4723a57e26efda3a62cbde1812113b730952852d...58c146cc91c5b9e778e71775dfe9bf1442ad9a12)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-01-09 11:04:27 +00:00
dependabot[bot] 1779158cb2 Build(deps): Bump actions/upload-artifact from 3.1.1 to 3.1.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/83fd05a356d7e2593de66fc9913b3002723633cb...0b7f8abb1508181956e8e162db84b466c27e18ce)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-01-09 11:04:23 +00:00
Nextcloud bot 220e77629a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-09 03:37:36 +00:00
Nextcloud bot f1d6e90f80 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-09 03:37:07 +00:00
dependabot[bot] b55a7e683d Build(deps): 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] <[email protected]>
2023-01-09 02:02:54 +00:00
Nextcloud bot 18bd07420a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-08 03:34:09 +00:00
Nextcloud bot fe890614ee Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-08 03:33:40 +00:00
dependabot[bot] b23d72d84e Build(deps): Bump espressoVersion from 3.5.0 to 3.5.1
Bumps `espressoVersion` from 3.5.0 to 3.5.1.

Updates `espresso-core` from 3.5.0 to 3.5.1

Updates `espresso-contrib` from 3.5.0 to 3.5.1

Updates `espresso-web` from 3.5.0 to 3.5.1

Updates `espresso-accessibility` from 3.5.0 to 3.5.1

Updates `espresso-intents` from 3.5.0 to 3.5.1

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.test.espresso:espresso-contrib
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.test.espresso:espresso-web
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.test.espresso:espresso-accessibility
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.test.espresso:espresso-intents
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-01-07 22:55:37 +00:00
Álvaro Brey 26b5b36cdc Merge pull request #11214 from nextcloud/dependabot/github_actions/actions/cache-3.2.2
Build(deps): Bump actions/cache from 3.0.11 to 3.2.2
2023-01-07 14:21:46 +01:00
Nextcloud bot 9094298d6b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-07 03:33:58 +00:00
Nextcloud bot 64e21d462b Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-07 03:33:29 +00:00
Tobias Kaminsky 41ec8b1b21 Merge pull request #10713 from nextcloud/checkCSR
Check CSR
2023-01-06 07:08:40 +01:00
Nextcloud bot 57e1f98094 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-06 03:35:53 +00:00
Nextcloud bot 654f2fd01e Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-06 03:35:23 +00:00
tobiasKaminsky 5b52b440d4 Fix test
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-05 15:31:14 +01:00
tobiasKaminsky d605ffe5d1 Revert to master library branch
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-05 09:47:33 +01:00
github-actions 985283e18d Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2023-01-05 08:32:09 +00:00
Álvaro Brey b3b3fedcdf lint: Remove useless clickable attribute from some layout roots
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-05 08:32:09 +00:00
Álvaro Brey 805add5b69 Clear layout inflation lint issues in ReceiveExternalFilesActivity and UploaderAdapter
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-05 08:32:09 +00:00
Álvaro Brey adae8d9e71 MediaControlView: move to ViewBinding to fix lint issue with inflation and clean up
Signed-off-by: Álvaro Brey <[email protected]>
2023-01-05 08:32:09 +00:00
Álvaro Brey 66e19849cb Use RSAPublicKey interface instead of OpenSSLRsaPublicKey to avoid conscrypt version conflicts
OpenSSLRsaPublicKey has a different package when using the open-source conscrypt vs. the one inserted
by Play Services.

Signed-off-by: Álvaro Brey <[email protected]>
2023-01-05 09:04:25 +01:00
tobiasKaminsky 7abef86169 Check CSR
Signed-off-by: tobiasKaminsky <[email protected]>
2023-01-05 09:04:23 +01:00
Nextcloud bot f61a8eb44f Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-05 03:35:40 +00:00
Nextcloud bot 0f373ba231 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-05 03:35:12 +00:00
Nextcloud bot d5d9125432 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-04 06:03:27 +00:00
Nextcloud bot 17c03838df Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-04 06:02:03 +00:00
dependabot[bot] c61655adfd Build(deps): Bump junit from 1.1.4 to 1.1.5
Bumps junit from 1.1.4 to 1.1.5.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-01-04 02:01:35 +00:00
Nextcloud bot 6d807602b3 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-03 05:40:36 +00:00
Nextcloud bot 8942d8dc48 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-03 05:39:23 +00:00
dependabot[bot] edbf1cad81 Build(deps): Bump actions/cache from 3.0.11 to 3.2.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 3.2.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7...4723a57e26efda3a62cbde1812113b730952852d)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-01-02 11:02:49 +00:00
Nextcloud bot 2455b84921 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-02 05:52:39 +00:00
Nextcloud bot 0a7cf92561 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-02 05:51:46 +00:00
Nextcloud bot fbd98a20b2 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-01 06:09:23 +00:00
Nextcloud bot 7998e56e46 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-01-01 06:08:04 +00:00
Andy Scherzinger 5ee3ee5cdc Merge pull request #11193 from nextcloud/chore/fdroid-icons
Add fastlane icon for F-Droid
2022-12-31 10:58:04 +01:00
Álvaro Brey 08155e3ade Add fastlane icon for F-Droid
[ci skip]
[ski ci]

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-31 10:57:27 +01:00
Nextcloud bot 77479101d6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-31 07:49:41 +00:00
Nextcloud bot d6b61ba04e Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-31 07:47:59 +00:00
Nextcloud bot 6fc69c5008 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-30 10:04:07 +00:00
Nextcloud bot 3c9d4df021 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-30 10:01:33 +00:00
Nextcloud bot 717305a84b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-29 11:05:03 +00:00
Nextcloud bot 01131eee15 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-29 11:01:51 +00:00
Nextcloud bot a89d1557e8 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-29 02:40:13 +00:00
Nextcloud bot 12ad66690d Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-29 02:37:42 +00:00
Nextcloud bot 96f61fb89c Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-27 07:04:27 +00:00
Nextcloud bot c96f027b9d Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-27 07:02:59 +00:00
dependabot[bot] 2d3cf49507 Bump actions/stale from 6.0.1 to 7.0.0
Bumps [actions/stale](https://github.com/actions/stale) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/5ebf00ea0e4c1561e9b43a292ed34424fb1d4578...6f05e4244c9a0b2ed3401882b05d701dd0a7289b)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-12-26 11:03:05 +00:00
Nextcloud bot 43594554df Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-26 06:43:25 +00:00
Nextcloud bot 555915bb12 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-26 06:41:42 +00:00
Nextcloud bot 4612eddee7 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-25 07:41:48 +00:00
Nextcloud bot 1e0d50c53a Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-25 07:40:13 +00:00
Nextcloud bot 8994986916 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-24 09:42:12 +00:00
Nextcloud bot bd61bfe95c Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-24 09:39:47 +00:00
Nextcloud bot b13d70aa78 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-23 10:03:53 +00:00
Nextcloud bot 74210bbc3d Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-23 10:00:43 +00:00
Nextcloud bot 8cd59251a6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-22 07:03:16 +00:00
Nextcloud bot 41a0d71519 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-22 07:01:50 +00:00
Álvaro Brey 7e10c48332 Merge pull request #11185 from nextcloud/changelog-master-stable-3.23.1
Add changelog for 3.23.1
2022-12-21 15:08:33 +01:00
Álvaro Brey abb3a774cb Merge pull request #10345 from nextcloud/chore/analysis-summary
analysis: also publish summary to Github actions summary
2022-12-21 15:08:14 +01:00
Álvaro Brey 365f1495fd Merge pull request #11187 from nextcloud/fix/remove-request-install-packages 2022-12-21 14:15:00 +01:00
Álvaro Brey c8b0a653b6 Manifest: remove REQUEST_INSTALL_PACKAGES permission for gplay variant
Google Play won't let us publish updates with this permission due to policy changes.

The effect on the app is that the user won't be able to install APKs by clicking them in the file list.

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-21 13:06:52 +01:00
Álvaro Brey 5428cf710b analysis: Also publish summary to GITHUB_STEP_SUMMARY
Signed-off-by: Álvaro Brey <[email protected]>
2022-12-21 12:34:03 +01:00
Álvaro Brey 847eaa7a61 Add changelog for 3.23.1
Signed-off-by: Álvaro Brey <[email protected]>
2022-12-21 11:41:56 +01:00
Nextcloud bot ca374aa57d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-21 03:50:52 +00:00
Nextcloud bot d589e1bb98 Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-21 03:50:22 +00:00
Nextcloud bot b69a11ba88 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-20 11:09:57 +00:00
Nextcloud bot 605d6b937f Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-20 11:09:28 +00:00
Andy Scherzinger 6f16419946 Merge pull request #11169 from nextcloud/dependabot/gradle/mockitoVersion-4.10.0
Bump mockitoVersion from 4.9.0 to 4.10.0
2022-12-20 08:57:50 +01:00
Andy Scherzinger 6417890bfe Merge pull request #11182 from nextcloud/dependabot/github_actions/cirrus-actions/rebase-1.8
Bump cirrus-actions/rebase from 1.7 to 1.8
2022-12-20 08:56:23 +01:00
Andy Scherzinger 700b66a6c8 Add hashes to GH actions
Signed-off-by: Andy Scherzinger <[email protected]>
2022-12-20 08:55:42 +01:00
Nextcloud bot 24aa62d910 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-20 03:36:37 +00:00
Nextcloud bot 9ec674fd49 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-20 03:36:20 +00:00
dependabot[bot] 054d4c66d6 Bump cirrus-actions/rebase from 1.7 to 1.8
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.7 to 1.8.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.7...1.8)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-12-19 15:13:35 +00:00
Nextcloud bot 9c96454729 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-19 03:39:03 +00:00
Nextcloud bot 1a1eb6c154 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-19 03:38:47 +00:00
Nextcloud bot ca002da0ab [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-18 03:31:21 +00:00
Nextcloud bot 247c322540 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-18 03:31:04 +00:00
Nextcloud bot 583d0c7bac [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-17 03:32:24 +00:00
Nextcloud bot 7fcef488ce [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-17 03:32:08 +00:00
Álvaro Brey 4dfde67a96 Merge pull request #11172 from Marius1501/change_community_testing_version_text
Changed the community_testing_version_text
2022-12-16 14:24:36 +01:00
Álvaro Brey b694ece332 Update community activity screenshot
Signed-off-by: Álvaro Brey <[email protected]>
2022-12-16 13:50:52 +01:00
Marius Wagner 599b628fe2 Deleted the english community_testing_version_text
Signed-off-by: Marius Wagner <[email protected]>
2022-12-16 13:50:52 +01:00
ge78fug e75687c748 Removed the community_testing_version_text
Signed-off-by: ge78fug <[email protected]>
2022-12-16 13:50:52 +01:00
ge78fug 283c02426e Changed the community_testing_version_text
Signed-off-by: ge78fug <[email protected]>
2022-12-16 13:50:52 +01:00
Tobias Kaminsky 08eea65da7 Merge pull request #11098 from nextcloud/chore/room-for-filelist
Use Room for filelist table reads
2022-12-16 11:13:39 +01:00
Álvaro Brey 493440daaf Merge pull request #11175 from nextcloud/pinVersion
Pin versions
2022-12-16 11:12:33 +01:00
Álvaro Brey c8266e2e58 Merge pull request #11176 from nextcloud/repo-sync/android-config/master
🔄 Synced file(s) with nextcloud/android-config
2022-12-16 11:09:04 +01:00
nextcloud-android-bot 3e0d9d5cb9 🔄 Synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-12-16 09:37:14 +00:00
tobiasKaminsky 56df7ad103 Pin versions
Signed-off-by: tobiasKaminsky <[email protected]>
2022-12-16 10:35:39 +01:00
Álvaro Brey 681be306ee Merge pull request #11174 from nextcloud/repo-sync/android-config/master
🔄 Synced file(s) with nextcloud/android-config
2022-12-16 10:33:59 +01:00
nextcloud-android-bot bff4adbb5f 🔄 Synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-12-16 08:57:01 +00:00
Tobias Kaminsky 02f545e0cd Merge pull request #11092 from nextcloud/fix/copy-move-same-path
FolderPickerActivity: disable copy/move to the same folder
2022-12-16 09:12:04 +01:00
Álvaro Brey 6d4a65b45c FolderPickerActivity: also disable action when trying to move or copy a folder to a descendant of itself
Signed-off-by: Álvaro Brey <[email protected]>
2022-12-15 17:22:11 +01:00
dependabot[bot] e06b46660a Bump mockitoVersion from 4.9.0 to 4.10.0
Bumps `mockitoVersion` from 4.9.0 to 4.10.0.

Updates `mockito-core` 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)

Updates `mockito-android` 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
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-12-15 11:57:11 +00:00
Álvaro Brey 04ffe37d25 FolderPickerActivity: remove EXTRA_CURRENT_FOLDER argument
It was unused (as it never reached the OCFileListFragment, which always starts at /) but was
mistakenly pre-populating the `file` variable with a wrong folder

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-15 11:15:31 +01:00
Álvaro Brey a824d9a7b5 FolderPickerActivity: properly compare subfolders
Need to use File as well, otherwise trailing slashes are different

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-15 11:15:31 +01:00
Álvaro Brey 3cfd729b3c FolderPickerActivity: disable copy/move to the same folder
It's a no-op anyways, right now, and causes bad UX

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-15 11:15:25 +01:00
Álvaro Brey 9f5ca72cb0 Merge pull request #11171 from nextcloud/fix/build-nextcloudversion
Fix build failure after update in library
2022-12-15 11:14:49 +01:00
Álvaro Brey 414e573ee6 Fix build failure after update in library
NextcloudVersion now has @JvmStatic in all members, so getters do no longer exist

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-15 10:57:33 +01:00
Nextcloud bot 15a7173603 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-15 03:31:27 +00:00
Nextcloud bot 9b5dfddfd0 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-15 03:31:11 +00:00
Álvaro Brey b769ab712b Merge pull request #11167 from nextcloud/repo-sync/android-config/master
🔄 Synced file(s) with nextcloud/android-config
2022-12-14 17:43:39 +01:00
nextcloud-android-bot 5e3263cd2c 🔄 Synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-12-14 13:49:56 +00:00
Nextcloud bot 62f01e34c1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-14 03:34:37 +00:00
Nextcloud bot 57591684d7 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-14 03:34:21 +00:00
Dariusz Olszewski 69344bd8fb Remove TODOs as discussed
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz OlszewskiandÁlvaro Brey 07f61fcfa2 Apply suggestion from code review - FileDataStorageManager
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz OlszewskiandÁlvaro Brey 1a669e4eb6 Apply suggestions from code review
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 0fb3c92495 Fix compilation of tests (revert marking getFileByEncryptedRemotePath as @Nullable)
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 4df8946b5e spotlessKotlinCheck
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 9cbaa00724 SpotBugs
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 8ec6e3a0af Use Room/DAO for getFolderWithDescendants (used by moveLocalFile) and finally remove createFileInstance(cursor) - no longer needed
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski e76201d59f Use Room/DAO for getGalleryItems and getAllFiles
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 8272facf41 Use Room/DAO for other getFileByX and fileExists
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 5d8bb3e8f5 Simplify getFileById - as suggested in review comment
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Álvaro Brey dd8a70262e FileEntity: fix parent and contentLength types
Signed-off-by: Álvaro Brey <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 71180412f9 Use Room/DAO for getFileById
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 32a7120610 Old implementation of getFolderContent ordered results by file name
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 45b9006068 Convert NULL values for integer/long columns to 0 (SpotBugs)
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 1d44674d83 Seems that timestamps need Long rather than Int
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski 092a3051df Missing newline (detekt)
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Dariusz Olszewski cdeff1696b Use Room/DAO for getFolderContent
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-12-13 23:28:15 +01:00
Álvaro Brey cd36721f2b Merge pull request #11156 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.1.1
Bump firebase-messaging from 23.1.0 to 23.1.1
2022-12-13 17:38:31 +01:00
Álvaro Brey 6284acebc4 Merge pull request #11151 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.5
Bump fragment-ktx from 1.5.4 to 1.5.5
2022-12-13 17:33:32 +01:00
Álvaro Brey c0788b11b0 Merge pull request #11139 from nextcloud/doNotDeleteEncryptedFolder
Encrypted folder cannot be deleted, must first unset encryption
2022-12-13 16:57:42 +01:00
Nextcloud bot 3c945f6fb2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-13 03:44:38 +00:00
Nextcloud bot 1d026aae34 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-13 03:44:22 +00:00
dependabot[bot] 9f4d59b3e3 Bump firebase-messaging from 23.1.0 to 23.1.1
Bumps firebase-messaging from 23.1.0 to 23.1.1.

---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-messaging
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-12-12 14:11:09 +00:00
Álvaro Brey 66c617828a Merge pull request #11124 from nextcloud/fix/upload-worker-infinite-loop
Fix infinite loop in upload worker
2022-12-12 13:14:20 +01:00
Álvaro Brey 396b920d4f Merge pull request #11119 from nextcloud/fix/fullscreen-dialog-insets-android9
PreviewVideoFullscreenDialog: fix immersive mode logic
2022-12-12 12:46:27 +01:00
Nextcloud bot 84754790bd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-12 03:31:14 +00:00
Nextcloud bot 022b076ec0 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-12 03:30:56 +00:00
Nextcloud bot 45d1183749 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-11 03:42:48 +00:00
Nextcloud bot 700d9806c8 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-11 03:42:33 +00:00
Nextcloud bot cfcf6036ab [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-10 03:38:56 +00:00
Nextcloud bot 35e4dec024 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-10 03:38:39 +00:00
Nextcloud bot 6dd923a69d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-09 03:47:31 +00:00
Nextcloud bot 1a3e4d4b7a [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-09 03:47:17 +00:00
Nextcloud bot 2d2d01e472 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-08 03:32:24 +00:00
Nextcloud bot 31736039d9 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-08 03:32:07 +00:00
dependabot[bot] 41b59e19f7 Bump fragment-ktx from 1.5.4 to 1.5.5
Bumps fragment-ktx from 1.5.4 to 1.5.5.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-12-08 02:01:54 +00:00
Tobias Kaminsky bb721e2e75 Merge pull request #11148 from nextcloud/devVersionWithoutScanner
For our daily build on F-Droid we cannot add our document scanning
2022-12-07 15:30:41 +01:00
tobiasKaminsky 7235a8dcf6 For our daily build on F-Droid we cannot add our document scanning
Signed-off-by: tobiasKaminsky <[email protected]>
2022-12-07 14:56:14 +01:00
Nextcloud bot a6cdde372a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-07 03:32:43 +00:00
Nextcloud bot 041568d0ce [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-07 03:32:27 +00:00
Tobias Kaminsky 0e50595345 Merge pull request #11093 from nextcloud/bottomsheet-style-improvement
"Add to nextcloud" bottom sheet: add drag handle and style title
2022-12-06 08:21:16 +01:00
Tobias Kaminsky b40f7f6e0b Merge pull request #11122 from nextcloud/fixTemplateId
Template id must be long, as it is fileID, which can be very big
2022-12-06 08:15:19 +01:00
Álvaro Brey 006c5b49d5 "Add to nextcloud" bottom sheet: add drag handle and style title
This brings the title in line with the other bottom sheet, and looks better IMO.

The DragHandleView is recommended for accesibility.

Signed-off-by: Álvaro Brey <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2022-12-06 07:56:18 +01:00
Nextcloud bot ff9b37c795 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-06 03:40:09 +00:00
Nextcloud bot b28a33c142 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-06 03:39:52 +00:00
tobiasKaminsky 1d62ee7835 Encrypted folder cannot be deleted, must first unset encryption
Signed-off-by: tobiasKaminsky <[email protected]>
2022-12-05 09:43:40 +01:00
Nextcloud bot dea0b2e782 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-05 03:28:16 +00:00
Nextcloud bot 57ef92fc4e [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-05 03:27:59 +00:00
Nextcloud bot e6785d4d91 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-04 03:27:41 +00:00
Nextcloud bot f81ae6db1c [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-04 03:27:24 +00:00
Nextcloud bot 13f6d36c40 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-03 03:27:55 +00:00
Nextcloud bot 2449b8dfff [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-03 03:27:35 +00:00
Álvaro Brey 49bd3b1efc Merge pull request #11128 from nextcloud/fix/davx5-error-message
SettingsActivity: Better error message when davX5 login fails
2022-12-02 17:33:33 +01:00
Álvaro Brey f403b25599 SettingsActivity: Better error message when davdroid login fails
Server URI is not the only problem that can happen here.

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-02 12:36:14 +00:00
Álvaro Brey aa938747ff Merge pull request #11106 from nextcloud/throttleSetup
show only one setup dialog, prevents strange situation on double tapping
2022-12-02 11:31:56 +01:00
Nextcloud bot 401086cc71 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-02 03:29:14 +00:00
Nextcloud bot cc695a2a47 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-02 03:28:57 +00:00
Álvaro Brey cf2f86a96a Merge pull request #11123 from nextcloud/changelog-master-stable-3.23.0
Add changelog for 3.23.0
2022-12-01 17:07:56 +01:00
Álvaro Brey 84044905d1 UploadsStorageManager: remove in-memory limit for queries
Only added for FilesUploadWorker workaround that is no longer used

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-01 17:00:02 +01:00
Álvaro Brey f425045a31 FilesUploadWorker: fix infinite loop when uploads failed
With the previous approach (uploadsStorageManager.gtCurrentAndPendingUploadsForAccount),
an upload that is, for example, waiting for wifi, would always be returned in the call,
thus the list would never be empty.

To avoid this but still process the uploads in pages to avoid OOM, we'll request them page-wise
from the StorageManager, with the pages ordered by ascending ID. This way we will only process each upload once,
but newly added uploads after we start will not be missed.

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-01 16:52:43 +01:00
Álvaro Brey a3e21d719b UploadsStorageManager: extract getUploadsPage from getUploads
First step for making it accessible from outside

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-01 16:17:22 +01:00
Álvaro Brey 5b8561e3dc Add changelog for 3.23.0
Signed-off-by: Álvaro Brey <[email protected]>
2022-12-01 15:02:43 +01:00
Tobias Kaminsky 3f6832eaf1 Merge pull request #11118 from nextcloud/revert-sdk-32
Revert "Bump targetSdk to 32"
2022-12-01 12:27:15 +01:00
tobiasKaminsky 52497bb3e3 Template id must be long, as it is fileID, which can be very big
Signed-off-by: tobiasKaminsky <[email protected]>
2022-12-01 12:13:50 +01:00
Álvaro Brey 4a14602f0e PreviewVideoFullscreenDialog: fix insets
This was breaking the window in Android 9 when going back twice from a fullscreen video.

Testing steps:
1. Open a video
2. Go to fullscreen
3. Close fullscreen
4. Press Back

This caused a white screen in Android 9 before this PR

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-01 11:04:24 +01:00
Nextcloud bot 7698b4b088 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-01 03:33:15 +00:00
Nextcloud bot c3b1957ef8 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-01 03:32:57 +00:00
Álvaro Brey 13f37c04f8 Revert "Bump targetSdk to 32"
This reverts commit 8c8723c7c5.

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-30 12:21:37 +01:00
Álvaro Brey 5d4b7a6d04 Merge pull request #11113 from nextcloud/fix-crash-when-disabling-airplane-mode
Fix crash when disabling airplane mode
2022-11-30 09:33:56 +01:00
Andy Scherzinger d196a48931 Merge pull request #11114 from nextcloud/dependabot/gradle/mockkVersion-1.13.3
Bump mockkVersion from 1.13.2 to 1.13.3
2022-11-30 08:58:54 +01:00
Nextcloud bot cf148a0558 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-30 06:35:10 +00:00
Tobias Kaminsky 013f6dc7d2 Merge pull request #11075 from nextcloud/chore/sdk-32
Bump targetSdk to 32
2022-11-30 07:24:33 +01:00
dependabot[bot] 320c893428 Bump mockkVersion from 1.13.2 to 1.13.3
Bumps `mockkVersion` from 1.13.2 to 1.13.3.

Updates `mockk` from 1.13.2 to 1.13.3
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.13.2...1.13.3)

Updates `mockk-android` from 1.13.2 to 1.13.3
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.13.2...1.13.3)

---
updated-dependencies:
- dependency-name: io.mockk:mockk
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.mockk:mockk-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-30 02:01:10 +00:00
Chris Narkiewicz 45567fb6d4 Fix crash when disabling airplane mode
Fixes #11096

Signed-off-by: Chris Narkiewicz <[email protected]>
2022-11-29 20:17:38 +00:00
Álvaro Brey 4a0182ac38 Merge pull request #11109 from nextcloud/dependabot/gradle/kotlin_version-1.7.22
Bump kotlin_version from 1.7.21 to 1.7.22
2022-11-29 16:31:01 +01:00
Álvaro Brey f74f59220c Merge pull request #11089 from nextcloud/fix/video-fullscreen-buffer
Video preview: use fullscreen dialog for video instead of new activity
2022-11-29 13:33:10 +01:00
Álvaro Brey bbaf8d369d Merge pull request #11073 from nextcloud/chore/strictmode-optional
Disable StrictMode by default
2022-11-29 13:23:52 +01:00
Nextcloud bot d584c8416b [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-29 03:32:20 +00:00
dependabot[bot] 7947bb1918 Bump kotlin_version from 1.7.21 to 1.7.22
Bumps `kotlin_version` from 1.7.21 to 1.7.22.

Updates `kotlin-gradle-plugin` from 1.7.21 to 1.7.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22)

Updates `kotlin-stdlib` from 1.7.21 to 1.7.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-29 02:04:10 +00:00
Álvaro Brey 3f990c3f21 PreviewVideoFullscreenDialog: workaround for rotated videos on sdk < 29
See comments in added code for explanation

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 19:22:49 +00:00
Álvaro Brey bdc0fc71e5 PreviewVideoFullscreenDialog: use listeners to control transfer, and pause the video while transfer is happening
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 19:22:49 +00:00
Álvaro Brey efa7d9e317 Remove unused theme
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 19:22:49 +00:00
Álvaro Brey b55d5768de Fix lint and spotbugs
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 19:22:49 +00:00
Álvaro Brey bbb85513e1 Video preview: use fullscreen dialog for video instead of new activity
This allows transfering the playback directly between Player views, thus avoiding creating
a new ExoPlayer, re-starting the stream, having to pass playing status/current position, etc.

Additionally:
- Always enable buffering animation so it's clear when a video is loading
- Add padding to fullscreen duration numbers so they don't get cut off on rounded screens

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 19:22:49 +00:00
Tobias KaminskyandÁlvaro Brey 397ba74274 use getParentFragmentManager
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-11-28 14:18:09 +00:00
tobiasKaminsky 831bffe571 show only one setup dialog, prevents strange situation on double tapping
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-28 14:18:09 +00:00
Álvaro Brey a2198d3b8f CONTRIBUTING.md: add performance section
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 15:09:04 +01:00
Álvaro Brey e85737f41d Disable StrictMode by default
StrictMode is not a good fit for the state of our app, since we are way too far from async operations or correct threading.
As a result, we find ourselves disabling the strict mode manually every time we actually want to work on something, as otherwise the
logspam drowns everything else.

With this PR I propose to disable StrictMode unless a prop is set in the Gradle build, which will also control LeakCanary.
Running `./gradlew installGplayDebug -P perfAnalysis` will install the app with both LeakCanary and StrictMode enabled.
This allows us to analyze performance problems on demand, without making our daily work harder.

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 15:09:04 +01:00
Álvaro Brey f9e500ba40 Merge pull request #11105 from nextcloud/chore/noid/updateScreenshots
Update screenshot test results for E2E strings
2022-11-28 14:42:18 +01:00
Andy Scherzinger c66491a02f update screenshot test results
Signed-off-by: Andy Scherzinger <[email protected]>
2022-11-28 13:03:10 +01:00
Álvaro Brey 725348a8d4 Merge pull request #11097 from nextcloud/Valdnet-patch-1
i18n: Change name of encryption
2022-11-28 12:53:50 +01:00
Valdnet d184aa6690 i18n: Correct spelling
Signed-off-by: Valdnet <[email protected]>
2022-11-28 09:55:32 +01:00
Valdnet 1433dec21b i18n: Change to lower case
Signed-off-by: Valdnet <[email protected]>
2022-11-28 09:55:32 +01:00
Valdnet e57bf0eb2a i18n: Correct spelling
Signed-off-by: Valdnet <[email protected]>
2022-11-28 09:55:31 +01:00
Valdnet a65b896ce6 i18n: Change name of encryption
Signed-off-by: Valdnet <[email protected]>
2022-11-28 09:55:19 +01:00
Álvaro Brey a489619db3 Merge pull request #11103 from nextcloud/dependabot/gradle/org.mockito.kotlin-mockito-kotlin-4.1.0
Bump mockito-kotlin from 4.0.0 to 4.1.0
2022-11-28 09:34:01 +01:00
Nextcloud bot 759b799e37 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-28 03:33:17 +00:00
Nextcloud bot adcfaf381b [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-28 03:33:00 +00:00
dependabot[bot] 693fe26e54 Bump mockito-kotlin from 4.0.0 to 4.1.0
Bumps [mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/mockito/mockito-kotlin/releases)
- [Commits](https://github.com/mockito/mockito-kotlin/compare/4.0.0...4.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-28 02:02:33 +00:00
Nextcloud bot b9e1bb3f81 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-27 03:30:59 +00:00
Nextcloud bot cf17a9fbfc [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-27 03:30:41 +00:00
Nextcloud bot 23d0b40d5b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-26 03:30:47 +00:00
Nextcloud bot 5d9e0e6e0a [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-26 03:30:27 +00:00
Álvaro Brey 16023016d7 Merge pull request #11091 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.12.0
Bump com.diffplug.spotless from 6.11.0 to 6.12.0
2022-11-25 14:01:12 +01:00
Tobias Kaminsky 161bc98bde Merge pull request #11031 from nextcloud/e2eUX
E2e ux
2022-11-25 11:30:43 +01:00
Nextcloud bot 02762bb2f0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-25 08:27:05 +00:00
Nextcloud bot f6c083ace7 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-25 08:26:49 +00:00
Nextcloud bot b9cdb01b16 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-25 03:36:17 +00:00
Nextcloud bot 209404f058 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-25 03:35:56 +00:00
dependabot[bot] 766ed4492c Bump com.diffplug.spotless from 6.11.0 to 6.12.0
Bumps com.diffplug.spotless from 6.11.0 to 6.12.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-25 02:01:32 +00:00
tobiasKaminsky 393e34d28c restart SettingsActivity after changing e2e settings
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-24 15:40:26 +01:00
tobiasKaminsky 3f82d37415 revert to master library
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-24 15:40:26 +01:00
tobiasKaminsky f49252c87e hide e2e options after removing local e2e setup
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey b110735dcc NextcloudDatabase: enable automigration for new db version
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 30d38dee23 Restore database v65 schema from master
Mistakenly changed!

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 0d098255d9 Pass through SetupEncryptionDF result to SettingsActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 6b4d6a6dfd SettingsActivity: fix conditional to show e2e encrypt option
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
tobiasKaminsky e3a7453846 properly handle stage 2: key exists, but e2e is not setup on this device
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 1b945b6131 SetupEncryptionDialogFragment: use builtin onCancel for setting cancel result
This captures back button as well

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey b1b05f740e SetupEncryptionActivity: give transparent background to make it more seamless
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 09aac00330 SetupEncryptionActivity: finish activity when error happens
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 6568d1d272 Close SetupEncryptionActivity when dialog is dismissed
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey fc446b1deb Update screenshots for SettingsActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Tobias KaminskyandÁlvaro Brey 9f1f21ee8c Update app/src/main/res/values/strings.xml
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-11-24 15:40:26 +01:00
tobiasKaminskyandÁlvaro Brey 5b4aba11f5 Better show different states of E2E
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-24 15:40:24 +01:00
Álvaro Brey 1c4a1063f1 Merge pull request #10928 from nextcloud/test/calendar-skip-empty
Fix issues with calendar exporting
2022-11-23 22:11:31 +01:00
Álvaro Brey c938a929c1 Merge pull request #11067 from nextcloud/fix/gallery-crash
GalleryFragment: fix crash when scrolling slowly until the end of the list
2022-11-23 22:10:20 +01:00
Álvaro Brey f797260f76 Merge pull request #11068 from nextcloud/fix/favorites-back-navigation
FileDisplayActivity: fix drawer menu item when browsing back from favorite folder
2022-11-23 22:08:51 +01:00
Álvaro Brey eaae4a0f9c Merge pull request #11069 from nextcloud/fix/video-fullscreen-stuck
Misc fixes for video player
2022-11-23 22:07:43 +01:00
Álvaro Brey 09319ac7c3 Merge pull request #11074 from nextcloud/fix/calendar-backup-wrong-account
CalendarBackupWork: upload to configured account, not current account
2022-11-23 22:06:54 +01:00
Álvaro Brey b0a3d6cc7e Merge pull request #11059 from nextcloud/feature/3175/shortcuts_bottombar
Allow Pin to Home with file actions bottom sheet
2022-11-23 18:56:38 +01:00
Álvaro Brey 8c8723c7c5 Bump targetSdk to 32
32 is just a feature release of android 13 and no important changes are documented.

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 11:46:14 +01:00
Álvaro Brey 38e83cd03c Keep screen on while video is playing
Fixes #9059

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 10:31:49 +00:00
Álvaro Brey 625ada4c17 Add default error and completion handler to Exoplayer in preview fragment/activity
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 10:31:49 +00:00
Álvaro Brey 250e8129dd CalendarBackupWork: upload to configured account, not current account
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 11:13:03 +01:00
Álvaro Brey 7d8e37a8a0 FileDisplayActivity: also update sort group after browsing up
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 10:26:16 +01:00
Álvaro Brey 850e9e7ec3 CalendarBackupWork: log amount of calendars
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 08:12:10 +00:00
Álvaro Brey b3eab117db calendar export: port some changes from upstream
Ignore deleted events, and fix alarm triggers

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 08:12:10 +00:00
Álvaro Brey 008ee4e0cd SaveCalendar: don't try to export empty calendars
Causes crashes

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 08:12:10 +00:00
Nextcloud bot 39f094af95 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-23 03:35:13 +00:00
Nextcloud bot 958a0e30eb [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-23 03:34:56 +00:00
Álvaro Brey 7bf90d364b FileDisplayActivity: fix drawer menu item when browsing back from favorite folder
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 16:50:42 +01:00
Felix Nüsse ea2a1a9163 extract string resource
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-22 16:31:15 +01:00
Álvaro Brey c1ce254692 GalleryFragment: fix crash when scrolling slowly until the end of the list
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 13:52:54 +01:00
Álvaro Brey 8f1369cba2 ShortcutUtil: use system utilities to get pixel size for dimens instead of manually calculating them
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 11:00:12 +01:00
Álvaro Brey 52e1e8cef5 ShortcutUtil: use ShortcutManagerCompat to avoid min SDK requirement
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 10:53:09 +01:00
Álvaro Brey 2e3ef2eace strings.xml: Remove unused string to appease Lint
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 10:16:07 +01:00
Álvaro Brey 280a92be51 Fix style and static analysis issues
- Rename ShortcutUtils.kt to ShortcutUtil.kt to match contained class
- Remove unused const
- Fix formatting with spotless

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 10:14:27 +01:00
Álvaro Brey 8a24ea03a0 Inject ShortcutUtil instead of manually creating it
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 10:11:02 +01:00
Felix Nüsse d555847fea extract and explain constant integer values for icon size
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix Nüsse c19a256a97 Update shortcututils to use existing FolderIcon-function
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix Nüsse 758bfe1e17 Implement errorchecking and remove deprecations as suggested by @AlvaroBrey
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix Nüsse f81340f63d Add check for version in FileMenuFilter and ActionChoosen()
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix Nüsse a25069eff3 Remove checks from shortcutUtils and move the same
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix NüsseandÁlvaro Brey e4d51be54c Update app/src/main/res/values/strings.xml
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix NüsseandÁlvaro Brey 3e5ac3068c Update app/src/main/java/com/owncloud/android/files/FileMenuFilter.java
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix NüsseandÁlvaro Brey e6c014d832 Update app/src/main/java/com/nextcloud/ui/fileactions/FileAction.kt
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix Nüsse 5b2cc6f2c5 Allow Pin to Home with BottomBarDialog
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-19 14:36:01 +01:00
Álvaro Brey 1a4aaf5224 SharedListFragment: replace file in adapter when fetching the complete data
This fixes bugs with selection

Signed-off-by: Álvaro Brey <[email protected]>
2022-08-19 13:05:20 +02:00
770 changed files with 22179 additions and 5437 deletions

No files matched your search

+4
View File
@@ -2,6 +2,8 @@ codecov:
branch: master
ci:
- drone.nextcloud.com
notify:
after_n_builds: 2
coverage:
precision: 2
@@ -15,6 +17,8 @@ coverage:
comment:
layout: "header, diff, changes, uncovered, tree"
behavior: default
require_changes: true
after_n_builds: 2
github_checks:
annotations: false
+13 -6
View File
@@ -5,7 +5,7 @@ name: tests-stable
steps:
- name: gplay
image: ghcr.io/nextcloud/continuous-integration-android8:2
image: ghcr.io/nextcloud/continuous-integration-android8:3
privileged: true
environment:
LOG_USERNAME:
@@ -29,7 +29,7 @@ steps:
services:
- name: server
image: ghcr.io/nextcloud/continuous-integration-server:latest # also change in updateScreenshots.sh
image: ghcr.io/nextcloud/continuous-integration-shallow-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
SERVER_VERSION: 'stable25'
@@ -65,7 +65,7 @@ name: tests-master
steps:
- name: gplay
image: ghcr.io/nextcloud/continuous-integration-android8:2
image: ghcr.io/nextcloud/continuous-integration-android8:3
privileged: true
environment:
LOG_USERNAME:
@@ -84,7 +84,7 @@ steps:
services:
- name: server
image: ghcr.io/nextcloud/continuous-integration-server:latest # also change in updateScreenshots.sh
image: ghcr.io/nextcloud/continuous-integration-shallow-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
commands:
@@ -99,7 +99,7 @@ services:
- su www-data -c "php /var/www/html/occ group:adduser users user2"
- su www-data -c "git clone -b master https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "php /var/www/html/occ app:enable activity"
- su www-data -c "git clone -b master https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "git clone -b main https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "php /var/www/html/occ app:enable text"
- su www-data -c "git clone -b master https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/"
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
@@ -120,7 +120,7 @@ name: allScreenshots
steps:
- name: runAllScreenshots
image: ghcr.io/nextcloud/continuous-integration-android8:2
image: ghcr.io/nextcloud/continuous-integration-android8:3
privileged: true
environment:
GIT_USERNAME:
@@ -165,3 +165,10 @@ trigger:
- cron
cron:
- allscreenshots
---
kind: secret
name: GIT_TOKEN
data: XIoa9IYq+xQ+N5iln8dlpWv0jV6ROr7HuE24ioUr4uQ8m8SjyH0yognWYLYLqnbTKrFWlFZiEMQTH/sZiWjRFvV1iL0=
---
kind: signature
hmac: aec1cabcb7b4f98f1be1d5b7a052a629ce3193e19a3692dd52ada48b6e72a1c9
+3 -1
View File
@@ -40,4 +40,6 @@ indent_size=2
[*.{kt,kts}]
# IDE does not follow this Ktlint rule strictly, but the default ordering is pretty good anyway, so let's ditch it
disabled_rules=import-ordering
ktlint_standard_import-ordering = disabled
ij_kotlin_allow_trailing_comma = false
ij_kotlin_allow_trailing_comma_on_call_site = false
+2 -1
View File
@@ -1,3 +1,4 @@
# synced from @nextcloud/android-config
version: 2
updates:
- package-ecosystem: "github-actions"
@@ -13,5 +14,5 @@ updates:
rebase-strategy: "disabled"
open-pull-requests-limit: 10
labels:
- 2. to review
- 3. to review
- dependencies
+14 -10
View File
@@ -10,6 +10,10 @@ permissions:
pull-requests: write
contents: write
concurrency:
group: analysis-wrapper-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
analysis:
runs-on: ubuntu-latest
@@ -19,24 +23,24 @@ jobs:
run: |
if [ -z "$GITHUB_HEAD_REF" ]; then
# push
echo "::set-output name=branch::$GITHUB_REF_NAME"
echo "::set-output name=pr::$GITHUB_RUN_ID"
echo "::set-output name=repo::${{ github.repository }}"
echo "branch=$GITHUB_REF_NAME" >> "$GITHUB_OUTPUT"
echo "pr=$GITHUB_RUN_ID" >> "$GITHUB_OUTPUT"
echo "repo=${{ github.repository }}" >> "$GITHUB_OUTPUT"
else
# pull request
echo "::set-output name=branch::$GITHUB_HEAD_REF"
echo "::set-output name=pr::${{ github.event.pull_request.number }}"
echo "::set-output name=repo::${{ github.event.pull_request.head.repo.full_name }}"
echo "branch=$GITHUB_HEAD_REF" >> "$GITHUB_OUTPUT"
echo "pr=${{ github.event.pull_request.number }}" >> "$GITHUB_OUTPUT"
echo "repo=${{ github.event.pull_request.head.repo.full_name }}" >> "$GITHUB_OUTPUT"
fi
- uses: actions/checkout@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
repository: ${{ steps.get-vars.outputs.repo }}
ref: ${{ steps.get-vars.outputs.branch }}
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with:
distribution: "temurin"
java-version: 11
java-version: 17
- name: Install dependencies
run: |
python3 -m pip install defusedxml
+8 -4
View File
@@ -7,6 +7,10 @@ on:
# Declare default permissions as read only.
permissions: read-all
concurrency:
group: assemble-flavors-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
flavor:
runs-on: ubuntu-latest
@@ -15,12 +19,12 @@ jobs:
matrix:
flavor: [ Generic, Gplay, Huawei ]
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
with:
distribution: "temurin"
java-version: 11
java-version: 17
- name: Build ${{ matrix.flavor }}
run: |
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties
+25 -11
View File
@@ -1,16 +1,30 @@
name: Auto approve
# synced from @nextcloud/android-config
name: Auto approve dependabot
on:
pull_request_target:
branches: [ master, stable-* ]
pull_request_target:
branches:
- main
- master
- stable-*
permissions:
pull-requests: write
contents: read
concurrency:
group: dependabot-approve-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/[email protected]
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
auto-approve:
name: Auto approve dependabot
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
permissions:
# needed to approve the PR
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
+29
View File
@@ -0,0 +1,29 @@
# synced from @nextcloud/android-config
name: Auto approve sync
on:
pull_request_target:
branches:
- master
- main
types:
- opened
- reopened
- synchronize
- labeled
concurrency:
group: sync-approve-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
pull-requests: write
jobs:
auto-approve:
name: Auto approve sync
runs-on: ubuntu-latest
if: ${{ contains(github.event.pull_request.labels.*.name, 'sync') && github.actor == 'nextcloud-android-bot' }}
steps:
- uses: hmarr/auto-approve-action@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
+8 -4
View File
@@ -7,6 +7,10 @@ on:
# Declare default permissions as read only.
permissions: read-all
concurrency:
group: check-kotlin-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
@@ -15,11 +19,11 @@ jobs:
matrix:
task: [ detekt, spotlessKotlinCheck ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
with:
distribution: "temurin"
java-version: 11
java-version: 17
- name: Check ${{ matrix.task }}
run: ./gradlew ${{ matrix.task }}
+25 -20
View File
@@ -1,3 +1,4 @@
# synced from @nextcloud/android-config
name: "CodeQL"
on:
@@ -14,7 +15,7 @@ permissions:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
@@ -22,23 +23,27 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
language: [ 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 11
- name: Assemble
run: |
mkdir -p "$HOME/.gradle"
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
./gradlew assembleDebug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set Swap Space
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0
with:
swap-size-gb: 10
- name: Initialize CodeQL
uses: github/codeql-action/init@6ca1aa8c195c3ca3e77c174fe0356db1bce3b319 # v2.21.1
with:
languages: ${{ matrix.language }}
- name: Set up JDK 17
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
with:
distribution: "temurin"
java-version: 17
- name: Assemble
run: |
mkdir -p "$HOME/.gradle"
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
./gradlew assembleDebug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@6ca1aa8c195c3ca3e77c174fe0356db1bce3b319 # v2.21.1
+6 -6
View File
@@ -9,8 +9,8 @@ on:
issue_comment:
types: created
permissions:
contents: read
permissions:
contents: read
jobs:
rebase:
@@ -23,7 +23,7 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.2
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -31,18 +31,18 @@ jobs:
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@v3
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.7
uses: cirrus-actions/rebase@b87d48154a87a85666003575337e27b8cd65f691 # 1.8
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.2
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+24 -20
View File
@@ -1,3 +1,4 @@
# synced from @nextcloud/android-config
name: "Detect new java files"
on:
@@ -6,27 +7,30 @@ on:
permissions: read-all
concurrency:
group: detect-new-java-files-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
detectNewJavaFiles:
runs-on: ubuntu-latest
steps:
- id: file_changes
uses: trilom/[email protected]
with:
output: ','
- name: Detect new java files
run: |
if [ -z '${{ steps.file_changes.outputs.files_added }}' ]; then
echo "No new files added"
exit 0
fi
new_java=$(echo '${{ steps.file_changes.outputs.files_added }}' | tr ',' '\n' | grep '\.java$' | cat)
if [ -n "$new_java" ]; then
# shellcheck disable=SC2016
printf 'New java files detected:\n```\n%s\n```\n' "$new_java" | tee "$GITHUB_STEP_SUMMARY"
exit 1
else
echo "No new java files detected"
exit 0
fi
- id: file_changes
uses: trilom/file-changes-action@a6ca26c14274c33b15e6499323aac178af06ad4b # v1.2.4
with:
output: ','
- name: Detect new java files
run: |
if [ -z '${{ steps.file_changes.outputs.files_added }}' ]; then
echo "No new files added"
exit 0
fi
new_java=$(echo '${{ steps.file_changes.outputs.files_added }}' | tr ',' '\n' | grep '\.java$' | cat)
if [ -n "$new_java" ]; then
# shellcheck disable=SC2016
printf 'New java files detected:\n```\n%s\n```\n' "$new_java" | tee "$GITHUB_STEP_SUMMARY"
exit 1
else
echo "No new java files detected"
exit 0
fi
-17
View File
@@ -1,17 +0,0 @@
name: "Detect snapshot"
on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
jobs:
detectSnapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Detect SNAPSHOT
run: scripts/analysis/detectSNAPSHOT.sh
+26
View File
@@ -0,0 +1,26 @@
name: "Detect wrong settings"
on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
concurrency:
group: detect-wrong-settings-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
detectWrongSettings:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
with:
distribution: "temurin"
java-version: 17
- name: Detect SNAPSHOT
run: scripts/analysis/detectWrongSettings.sh
@@ -1,16 +1,22 @@
# synced from @nextcloud/android-config
name: "Validate Gradle Wrapper"
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
concurrency:
group: validate-gradle-wrapper-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0
+29
View File
@@ -0,0 +1,29 @@
name: 'Ask for feedback on PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
pr-feedback:
runs-on: ubuntu-22.04
steps:
- name: The get-github-handles-from-website action
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
id: scrape
with:
website: 'https://nextcloud.com/team/'
- uses: marcelklehr/pr-feedback-action@601109aa729eb4c8d6d0ece7567b9d4901db4aef
with:
feedback-message: |
Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
We hope that the reviewing process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR reviewing process.
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6
Thank you for contributing to Nextcloud and we hope to hear from you soon!
days-before-feedback: 14
start-date: "2023-07-10"
exempt-authors: "${{ steps.scrape.outputs.users }}"
exempt-bots: true
+8 -4
View File
@@ -8,6 +8,10 @@ permissions:
pull-requests: write
contents: read
concurrency:
group: qa-build-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
qa:
runs-on: ubuntu-latest
@@ -15,14 +19,14 @@ jobs:
- name: Check if secrets are available
run: echo "::set-output name=ok::${{ secrets.KS_PASS != '' }}"
id: check-secrets
- uses: actions/checkout@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
- name: set up JDK 11
uses: actions/setup-java@v3
- name: set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
with:
distribution: "temurin"
java-version: 11
java-version: 17
- name: Install NDK and cmake
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
run: |
+42
View File
@@ -0,0 +1,42 @@
# synced from @nextcloud/android-config
name: Scorecard supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '32 23 * * 4'
push:
branches: [ "main", "master" ]
# Declare default permissions as read only.
permissions: read-all
concurrency:
group: scorecard-supply-chain-security-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
steps:
- name: "Checkout code"
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0
with:
results_file: results.sarif
results_format: sarif
publish_results: false
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@6ca1aa8c195c3ca3e77c174fe0356db1bce3b319 # v2.21.1
with:
sarif_file: results.sarif
-55
View File
@@ -1,55 +0,0 @@
name: Scorecards supply-chain security
on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
- cron: '33 1 * * 5'
push:
branches: [ master ]
# Declare default permissions as read only.
permissions: read-all
jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
actions: read
contents: read
steps:
- name: "Checkout code"
uses: actions/checkout@v3 # v2.4.0
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@e3e75cf2ffbf9364bbff86cdbdf52b23176fe492 # v1.0.1
with:
results_file: results.sarif
results_format: sarif
# Read-only PAT token. To create it,
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
# Publish the results to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories, `publish_results` will automatically be set to `false`,
# regardless of the value entered here.
publish_results: false
# Upload the results as artifacts (optional).
- name: "Upload artifact"
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v2.3.1
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # v1.0.26
with:
sarif_file: results.sarif
+15 -12
View File
@@ -8,6 +8,10 @@ permissions:
contents: read
pull-requests: write
concurrency:
group: screenshot-test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
screenshot:
runs-on: macOS-latest
@@ -18,17 +22,17 @@ jobs:
color: [ blue ]
api-level: [ 27 ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Gradle cache
uses: actions/cache@v3
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: AVD cache
uses: actions/cache@v3
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
id: avd-cache
with:
path: |
@@ -36,14 +40,14 @@ jobs:
~/.android/adb*
key: avd-${{ matrix.api-level }}
- uses: actions/setup-java@v3
- uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
with:
distribution: "temurin"
java-version: 11
java-version: 17
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # v2
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
@@ -64,12 +68,12 @@ jobs:
- name: Delete old comments
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ always() }}
run: scripts/deleteOldComments.sh "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}}
- name: Run screenshot tests
uses: reactivecircus/android-emulator-runner@v2
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # v2
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
@@ -77,15 +81,14 @@ jobs:
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: ./gradlew uninstallAll gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
script: ./gradlew uninstallAll gplayDebugExecuteScreenshotTests -Dorg.gradle.jvmargs="--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.nio.channels=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED" -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
- name: upload failing results
if: ${{ failure() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}}
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}}
- name: Archive Espresso results
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
if: ${{ always() }}
with:
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
+2 -2
View File
@@ -1,4 +1,4 @@
---
# synced from @nextcloud/android-config
name: 'Close stale issues'
on:
schedule:
@@ -14,7 +14,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v6
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
with:
days-before-stale: 28
days-before-close: 14
+13 -10
View File
@@ -10,40 +10,43 @@ permissions:
contents: read
pull-requests: write
concurrency:
group: unit-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with:
distribution: "temurin"
java-version: 11
java-version: 17
- name: Delete old comments
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ always() }}
run: scripts/deleteOldComments.sh "test" "Unit" ${{github.event.number}}
- name: Run unit tests with coverage
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@915a66c096a03101667f9df2e56c9efef558b165 # v2.6.1
with:
arguments: jacocoTestGplayDebugUnitTest
- name: Upload failing results
if: ${{ failure() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "test" "Unit" ${{github.event.number}}
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "test" "Unit" ${{github.event.number}}
- name: Upload coverage to codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit
fail_ci_if_error: true
- name: Upload jacoco artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: test-results
path: app/build/reports/tests/testGplayDebugUnitTest/
-2
View File
@@ -58,8 +58,6 @@
<package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
</value>
</option>
<option name="NAME_COUNT_TO_USE_STAR_IMPORT" value="2147483647" />
<option name="NAME_COUNT_TO_USE_STAR_IMPORT_FOR_MEMBERS" value="2147483647" />
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<MarkdownNavigatorCodeStyleSettings>
+34
View File
@@ -1,3 +1,37 @@
## 3.24.1 (February 21, 2022)
- Fix crash in previous version when connecting to old server versions
Minimum: NC 16 Server, Android 6.0 Marshmallow
## 3.24.0 (February 13, 2023)
- Several performance optimizations by @starypatyk
- Support multi-page document scanning and exporting to PDF
- Many small bugfixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/78
## 3.23.1 (December 21, 2022)
- Bug fixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/79
## 3.23.0 (December 1, 2022)
- File actions menu redesign
- Allow adding shortcuts to Home screen (@newhinton)
- Many bugfixes and performance optimizations
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/74
## 3.22.3 (November 3, 2022)
- Bug fixes
+17 -1
View File
@@ -319,7 +319,7 @@ A good practice is to not include the word `menu` as part of the name because th
## Translations
We manage translations via [Transifex](https://www.transifex.com/nextcloud/nextcloud/android/). So just request joining the translation team for Android on the site and start translating. All translations will then be automatically pushed to this repository, there is no need for any pull request for translations.
We manage translations via [Transifex](https://app.transifex.com/nextcloud/nextcloud/android/). So just request joining the translation team for Android on the site and start translating. All translations will then be automatically pushed to this repository, there is no need for any pull request for translations.
If you need to change a translation, do not change it, but give it new key. This way the translation stays backward compatible as we automatically backport translated strings to last versions.
@@ -407,6 +407,22 @@ and thereof we'd ask contributors to be mindful of their code testability:
should at least not make future efforts more challenging
3. whenever possible, testability should be improved even if the code is not covered by tests
### Performance
If you're interested in improving the app's performance, please check the [official documentation](https://developer.android.com/topic/performance)
for ways you can inspect and improve performance.
For additional analysis, set the `perfAnalysis` property
in your Gradle build:
```shell
./gradlew installGplayDebug -P perfAnalysis
```
This will install the app with [LeakCanary](https://square.github.io/leakcanary/) and
[StrictMode](https://developer.android.com/reference/android/os/StrictMode) enabled and configured.
These tools can help find memory leaks, foreground operations that should be in background, and other performance
problems.
# Releases
At the moment we are releasing the app in two app stores:
+1 -1
View File
@@ -18,7 +18,7 @@ height="80">](https://f-droid.org/packages/com.nextcloud.client/)
If you want to [contribute](https://nextcloud.com/contribute/) to Nextcloud, you are very welcome:
* our forum at https://help.nextcloud.com
* for translations of the app on [Transifex](https://www.transifex.com/nextcloud/nextcloud/android/)
* for translations of the app on [Transifex](https://app.transifex.com/nextcloud/nextcloud/android/)
* opening issues and PRs (including a corresponding issue)
## Contribution Guidelines & License :scroll:
+56 -35
View File
@@ -3,11 +3,10 @@ import org.gradle.internal.jvm.Jvm
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath 'com.hiya:jacoco-android:0.2'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.13'
classpath "com.android.tools.build:gradle:$androidPluginVersion"
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.14'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.22.0"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.0"
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
classpath 'com.karumi:shot:5.14.1'
classpath "org.jacoco:org.jacoco.core:$jacoco_version"
@@ -17,7 +16,7 @@ buildscript {
}
plugins {
id "com.diffplug.spotless" version "6.11.0"
id "com.diffplug.spotless" version "6.20.0"
}
apply plugin: 'com.android.application'
@@ -27,7 +26,7 @@ apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
apply plugin: 'checkstyle'
apply plugin: 'pmd'
apply plugin: 'com.hiya.jacoco-android'
apply from: "$rootProject.projectDir/jacoco.gradle"
apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'shot'
@@ -58,7 +57,7 @@ configurations.configureEach {
// semantic versioning for version code
def versionMajor = 3
def versionMinor = 24
def versionMinor = 26
def versionPatch = 0
def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
@@ -69,20 +68,25 @@ file("$project.rootDir/ndk.env").readLines().each() {
ndkEnv.put(key, value)
}
def perfAnalysis = project.hasProperty('perfAnalysis')
android {
compileSdkVersion 33
// install this NDK version and Cmake to produce smaller APKs. Build will still work if not installed
ndkVersion "${ndkEnv.get("NDK_VERSION")}"
namespace 'com.owncloud.android'
testNamespace "${namespace}.test"
defaultConfig {
minSdkVersion 23
targetSdkVersion 31
targetSdkVersion 33
buildConfigField 'boolean', 'CI', ciBuild.toString()
buildConfigField 'boolean', 'RUNTIME_PERF_ANALYSIS', perfAnalysis.toString()
javaCompileOptions {
annotationProcessorOptions {
@@ -203,10 +207,16 @@ android {
buildFeatures {
dataBinding true
viewBinding true
aidl true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "17"
}
lint {
@@ -217,6 +227,10 @@ android {
htmlReport true
}
sourceSets {
// Adds exported schema location as test app assets.
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
}
}
dependencies {
@@ -233,48 +247,46 @@ dependencies {
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.5' // remove after entire switch to lib v2
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.7.0'
implementation 'com.google.android.material:material:1.9.0'
implementation 'com.jakewharton:disklrucache:2.0.2'
implementation "androidx.appcompat:appcompat:$appCompatVersion"
implementation "androidx.appcompat:appcompat-resources:$appCompatVersion"
implementation 'androidx.webkit:webkit:1.5.0'
implementation 'androidx.webkit:webkit:1.7.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.exifinterface:exifinterface:1.3.5'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
implementation 'androidx.exifinterface:exifinterface:1.3.6'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1"
implementation "androidx.work:work-runtime:$workRuntime"
implementation "androidx.work:work-runtime-ktx:$workRuntime"
implementation "androidx.fragment:fragment-ktx:1.5.4"
implementation "androidx.fragment:fragment-ktx:1.6.1"
implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
compileOnly 'com.google.code.findbugs:annotations:3.0.1u2'
implementation 'commons-io:commons-io:2.11.0'
implementation 'commons-io:commons-io:2.13.0'
implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.12.0'
implementation 'org.lukhnos:nnio:0.2'
implementation 'org.bouncycastle:bcpkix-jdk15to18:1.72'
implementation 'com.google.code.gson:gson:2.10'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.github.nextcloud-deps:sectioned-recyclerview:0.6.1'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.25'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.27'
implementation 'com.github.nextcloud-deps:qrcodescanner:0.1.2.4' // 'com.github.blikoon:QRCodeScanner:0.1.2'
implementation 'com.google.android.flexbox:flexbox:3.0.0'
implementation('com.github.bumptech.glide:glide:3.8.0') {
exclude group: "com.android.support"
}
implementation 'com.caverock:androidsvg:1.4'
implementation 'androidx.annotation:annotation:1.5.0'
implementation 'com.vanniktech:emoji-google:0.9.0'
implementation 'androidx.annotation:annotation:1.6.0'
implementation 'com.vanniktech:emoji-google:0.17.0'
implementation "com.github.nextcloud-deps.hwsecurity:hwsecurity-fido:$fidoVersion"
implementation "com.github.nextcloud-deps.hwsecurity:hwsecurity-fido2:$fidoVersion"
// document scanner not available on FDroid (generic) due to OpenCV binaries
gplayImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
huaweiImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
qaImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
versionDevImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
gplayImplementation project(':appscan')
huaweiImplementation project(':appscan')
qaImplementation project(':appscan')
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.12.0'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.7'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.6.0'
implementation "com.google.dagger:dagger:$daggerVersion"
implementation "com.google.dagger:dagger-android:$daggerVersion"
@@ -287,7 +299,7 @@ dependencies {
implementation "com.google.android.exoplayer:exoplayer:$exoplayerVersion"
implementation "com.google.android.exoplayer:extension-okhttp:$exoplayerVersion"
implementation 'me.zhanghai.android.fastscroll:library:1.1.8'
implementation 'me.zhanghai.android.fastscroll:library:1.2.0'
// Shimmer animation
implementation 'io.github.elye:loaderviewlibrary:3.0.0'
@@ -303,29 +315,32 @@ dependencies {
implementation "io.noties:prism4j:$prismVersion"
kapt "io.noties:prism4j-bundler:$prismVersion"
// dependencies for image cropping and rotation
implementation 'com.vanniktech:android-image-cropper:4.5.0'
implementation('org.mnode.ical4j:ical4j:3.0.0') {
['org.apache.commons', 'commons-logging'].each {
exclude group: "$it"
}
}
if (project.hasProperty("leakCanary")) {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10'
if (perfAnalysis) {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.12'
}
// dependencies for local unit tests
testImplementation 'junit:junit:4.13.2'
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "androidx.test:core:$androidxTestVersion"
testImplementation 'org.json:json:20220924'
testImplementation 'org.json:json:20230618'
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
testImplementation 'androidx.arch.core:core-testing:2.1.0'
testImplementation 'androidx.arch.core:core-testing:2.2.0'
testImplementation "io.mockk:mockk:$mockkVersion"
testImplementation "io.mockk:mockk-android:$mockkVersion"
// dependencies for instrumented tests
// JUnit4 Rules
androidTestImplementation 'androidx.test.ext:junit:1.1.4'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation "androidx.test:rules:$androidxTestVersion"
// Android JUnit Runner
androidTestImplementation "androidx.test:runner:$androidxTestVersion"
@@ -345,7 +360,7 @@ dependencies {
androidTestImplementation "org.mockito:mockito-core:$mockitoVersion"
androidTestImplementation("org.mockito:mockito-android:$mockitoVersion")
androidTestImplementation "io.mockk:mockk-android:$mockkVersion"
androidTestImplementation 'androidx.arch.core:core-testing:2.0.1'
androidTestImplementation 'androidx.arch.core:core-testing:2.2.0'
androidTestImplementation "com.facebook.testing.screenshot:core:0.15.0"
// UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
@@ -358,13 +373,19 @@ dependencies {
implementation "com.github.stateless4j:stateless4j:2.6.0"
// upon each update first test: new registration, receive push
gplayImplementation "com.google.firebase:firebase-messaging:23.1.0"
gplayImplementation "com.google.firebase:firebase-messaging:23.1.2"
gplayImplementation 'com.google.android.play:review-ktx:2.0.1'
implementation 'com.github.nextcloud.android-common:ui:0.3.0'
implementation 'com.github.nextcloud.android-common:ui:0.12.0'
implementation "androidx.room:room-runtime:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"
androidTestImplementation "androidx.room:room-testing:$roomVersion"
implementation "io.coil-kt:coil:2.4.0"
//splash screen dependency ref: https://developer.android.com/develop/ui/views/launch/splash-screen/migrate
implementation 'androidx.core:core-splashscreen:1.0.1'
}
configurations.all {
+1 -1
View File
@@ -69,7 +69,7 @@ complexity:
excludes: ['**/androidTest/**']
LongParameterList:
active: true
functionThreshold: 6
functionThreshold: 7
constructorThreshold: 6
ignoreDefaultParameters: false
MethodOverloading:
+1
View File
@@ -47,6 +47,7 @@
<issue id="TrustAllX509TrustManager">
<ignore path="**/bouncycastle/est/jcajce/*.class" />
<ignore path="**/bcpkix-jdk15to18-1.72.jar" />
</issue>
<issue id="RestrictedApi" severity="error">
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

@@ -20,9 +20,9 @@
package com.nextcloud.client;
import android.Manifest;
import android.widget.TextView;
import com.nextcloud.test.GrantStoragePermissionRule;
import com.owncloud.android.AbstractIT;
import com.owncloud.android.R;
import com.owncloud.android.authentication.AuthenticatorActivity;
@@ -34,8 +34,6 @@ import org.junit.rules.TestRule;
import androidx.test.espresso.intent.rule.IntentsTestRule;
import static androidx.test.espresso.Espresso.onView;
import static androidx.test.espresso.action.ViewActions.typeText;
import static androidx.test.espresso.matcher.ViewMatchers.withId;
@@ -24,6 +24,7 @@ package com.nextcloud.client;
import android.app.Activity;
import com.nextcloud.test.GrantStoragePermissionRule;
import com.owncloud.android.AbstractIT;
import com.owncloud.android.ui.activity.CommunityActivity;
import com.owncloud.android.utils.ScreenshotTest;
@@ -25,6 +25,7 @@ package com.nextcloud.client;
import android.accounts.AccountManager;
import com.nextcloud.test.RandomStringGenerator;
import com.nextcloud.test.RetryTestRule;
import com.owncloud.android.AbstractOnServerIT;
import com.owncloud.android.datamodel.ArbitraryDataProvider;
import com.owncloud.android.datamodel.ArbitraryDataProviderImpl;
@@ -39,6 +40,8 @@ import com.owncloud.android.lib.resources.e2ee.ToggleEncryptionRemoteOperation;
import com.owncloud.android.lib.resources.files.ReadFileRemoteOperation;
import com.owncloud.android.lib.resources.status.OCCapability;
import com.owncloud.android.lib.resources.status.OwnCloudVersion;
import com.owncloud.android.lib.resources.users.DeletePrivateKeyOperation;
import com.owncloud.android.lib.resources.users.DeletePublicKeyOperation;
import com.owncloud.android.lib.resources.users.GetPrivateKeyOperation;
import com.owncloud.android.lib.resources.users.GetPublicKeyOperation;
import com.owncloud.android.lib.resources.users.SendCSROperation;
@@ -58,7 +61,10 @@ import org.junit.runner.RunWith;
import java.io.File;
import java.io.IOException;
import java.math.BigInteger;
import java.security.KeyPair;
import java.security.interfaces.RSAPrivateCrtKey;
import java.security.interfaces.RSAPublicKey;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
@@ -474,6 +480,36 @@ public class EndToEndRandomIT extends AbstractOnServerIT {
assertFalse(new File(uploadedFile.getStoragePath()).exists());
}
@Test
public void testCheckCSR() throws Exception {
deleteKeys();
// Create public/private key pair
KeyPair keyPair = EncryptionUtils.generateKeyPair();
// create CSR
AccountManager accountManager = AccountManager.get(targetContext);
String userId = accountManager.getUserData(account, AccountUtils.Constants.KEY_USER_ID);
String urlEncoded = CsrHelper.generateCsrPemEncodedString(keyPair, userId);
SendCSROperation operation = new SendCSROperation(urlEncoded);
RemoteOperationResult result = operation.execute(account, targetContext);
assertTrue(result.isSuccess());
String publicKeyString = (String) result.getData().get(0);
// check key
RSAPrivateCrtKey privateKey = (RSAPrivateCrtKey) keyPair.getPrivate();
RSAPublicKey publicKey = EncryptionUtils.convertPublicKeyFromString(publicKeyString);
BigInteger modulusPublic = publicKey.getModulus();
BigInteger modulusPrivate = privateKey.getModulus();
assertEquals(modulusPrivate, modulusPublic);
createKeys();
}
private void deleteFile(int i) {
ArrayList<OCFile> files = new ArrayList<>();
for (OCFile file : getStorageManager().getFolderContent(currentFolder, false)) {
@@ -529,11 +565,11 @@ public class EndToEndRandomIT extends AbstractOnServerIT {
private void useExistingKeys() throws Exception {
// download them from server
GetPublicKeyOperation publicKeyOperation = new GetPublicKeyOperation();
RemoteOperationResult publicKeyResult = publicKeyOperation.execute(account, targetContext);
RemoteOperationResult<String> publicKeyResult = publicKeyOperation.execute(account, targetContext);
assertTrue("Result code:" + publicKeyResult.getHttpCode(), publicKeyResult.isSuccess());
String publicKeyFromServer = (String) publicKeyResult.getData().get(0);
String publicKeyFromServer = publicKeyResult.getResultData();
arbitraryDataProvider.storeOrUpdateKeyValue(account.name,
EncryptionUtils.PUBLIC_KEY,
publicKeyFromServer);
@@ -559,7 +595,9 @@ public class EndToEndRandomIT extends AbstractOnServerIT {
TODO do not c&p code
*/
private static void createKeys() throws Exception {
String publicKey;
deleteKeys();
String publicKeyString;
// Create public/private key pair
KeyPair keyPair = EncryptionUtils.generateKeyPair();
@@ -573,7 +611,18 @@ public class EndToEndRandomIT extends AbstractOnServerIT {
RemoteOperationResult result = operation.execute(account, targetContext);
if (result.isSuccess()) {
publicKey = (String) result.getData().get(0);
publicKeyString = (String) result.getData().get(0);
// check key
RSAPrivateCrtKey privateKey = (RSAPrivateCrtKey) keyPair.getPrivate();
RSAPublicKey publicKey = EncryptionUtils.convertPublicKeyFromString(publicKeyString);
BigInteger modulusPublic = publicKey.getModulus();
BigInteger modulusPrivate = privateKey.getModulus();
if (modulusPrivate.compareTo(modulusPublic) != 0) {
throw new RuntimeException("Wrong CSR returned");
}
} else {
throw new Exception("failed to send CSR", result.getException());
}
@@ -591,7 +640,7 @@ public class EndToEndRandomIT extends AbstractOnServerIT {
if (storePrivateKeyResult.isSuccess()) {
arbitraryDataProvider.storeOrUpdateKeyValue(account.name, EncryptionUtils.PRIVATE_KEY,
privateKeyString);
arbitraryDataProvider.storeOrUpdateKeyValue(account.name, EncryptionUtils.PUBLIC_KEY, publicKey);
arbitraryDataProvider.storeOrUpdateKeyValue(account.name, EncryptionUtils.PUBLIC_KEY, publicKeyString);
arbitraryDataProvider.storeOrUpdateKeyValue(account.name, EncryptionUtils.MNEMONIC,
generateMnemonicString());
} else {
@@ -599,6 +648,21 @@ public class EndToEndRandomIT extends AbstractOnServerIT {
}
}
private static void deleteKeys() {
RemoteOperationResult<PrivateKey> privateKeyRemoteOperationResult = new GetPrivateKeyOperation().execute(client);
RemoteOperationResult<String> publicKeyRemoteOperationResult = new GetPublicKeyOperation().execute(client);
if (privateKeyRemoteOperationResult.isSuccess() || publicKeyRemoteOperationResult.isSuccess()) {
// delete keys
assertTrue(new DeletePrivateKeyOperation().execute(client).isSuccess());
assertTrue(new DeletePublicKeyOperation().execute(client).isSuccess());
arbitraryDataProvider.deleteKeyForAccount(account.name, EncryptionUtils.PRIVATE_KEY);
arbitraryDataProvider.deleteKeyForAccount(account.name, EncryptionUtils.PUBLIC_KEY);
arbitraryDataProvider.deleteKeyForAccount(account.name, EncryptionUtils.MNEMONIC);
}
}
private static String generateMnemonicString() {
return "1 2 3 4 5 6";
}
@@ -23,21 +23,31 @@ package com.nextcloud.client
import android.app.Activity
import androidx.test.espresso.Espresso
import androidx.test.espresso.action.ViewActions
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.contrib.DrawerActions
import androidx.test.espresso.contrib.NavigationViewActions
import androidx.test.espresso.contrib.RecyclerViewActions
import androidx.test.espresso.intent.rule.IntentsTestRule
import androidx.test.espresso.matcher.ViewMatchers
import androidx.test.espresso.matcher.ViewMatchers.hasDescendant
import androidx.test.espresso.matcher.ViewMatchers.withEffectiveVisibility
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.platform.app.InstrumentationRegistry
import com.nextcloud.test.RetryTestRule
import com.owncloud.android.AbstractOnServerIT
import com.owncloud.android.R
import com.owncloud.android.lib.resources.files.CreateFolderRemoteOperation
import com.owncloud.android.lib.resources.files.ExistenceCheckRemoteOperation
import com.owncloud.android.lib.resources.files.ToggleFavoriteRemoteOperation
import com.owncloud.android.lib.resources.shares.CreateShareRemoteOperation
import com.owncloud.android.lib.resources.shares.OCShare
import com.owncloud.android.lib.resources.shares.ShareType
import com.owncloud.android.operations.CreateFolderOperation
import com.owncloud.android.ui.activity.FileDisplayActivity
import com.owncloud.android.ui.adapter.OCFileListItemViewHolder
import org.junit.Assert
import org.junit.Rule
import org.junit.Test
@@ -119,10 +129,10 @@ class FileDisplayActivityIT : AbstractOnServerIT() {
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// open drawer
Espresso.onView(ViewMatchers.withId(R.id.drawer_layout)).perform(DrawerActions.open())
onView(withId(R.id.drawer_layout)).perform(DrawerActions.open())
// click "shared"
Espresso.onView(ViewMatchers.withId(R.id.nav_view))
onView(withId(R.id.nav_view))
.perform(NavigationViewActions.navigateTo(R.id.nav_shared))
shortSleep()
shortSleep()
@@ -147,10 +157,10 @@ class FileDisplayActivityIT : AbstractOnServerIT() {
Assert.assertEquals(storageManager.getFileByPath("/test/"), sut.currentDir)
// open drawer
Espresso.onView(ViewMatchers.withId(R.id.drawer_layout)).perform(DrawerActions.open())
onView(withId(R.id.drawer_layout)).perform(DrawerActions.open())
// click "all files"
Espresso.onView(ViewMatchers.withId(R.id.nav_view))
onView(withId(R.id.nav_view))
.perform(NavigationViewActions.navigateTo(R.id.nav_all_files))
// then should be in root again
@@ -158,6 +168,93 @@ class FileDisplayActivityIT : AbstractOnServerIT() {
Assert.assertEquals(storageManager.getFileByPath("/"), sut.currentDir)
}
@Test
fun checkToolbarTitleOnNavigation() {
// Create folder structure
val topFolder = "folder1"
val childFolder = "folder2"
CreateFolderOperation("/$topFolder/", user, targetContext, storageManager)
.execute(client)
CreateFolderOperation("/$topFolder/$childFolder/", user, targetContext, storageManager)
.execute(client)
activityRule.launchActivity(null)
shortSleep()
// go into "foo"
onView(withText(topFolder)).perform(click())
shortSleep()
// check title is right
checkToolbarTitle(topFolder)
// go into "bar"
onView(withText(childFolder)).perform(click())
shortSleep()
// check title is right
checkToolbarTitle(childFolder)
// browse back up, we should be back in "foo"
Espresso.pressBack()
shortSleep()
// check title is right
checkToolbarTitle(topFolder)
}
private fun checkToolbarTitle(childFolder: String) {
onView(withId(R.id.appbar)).check(
matches(
hasDescendant(
withText(childFolder)
)
)
)
}
@Test
fun browseFavoriteAndBack() {
// Create folder structure
val topFolder = "folder1"
CreateFolderOperation("/$topFolder/", user, targetContext, storageManager)
.execute(client)
ToggleFavoriteRemoteOperation(true, "/$topFolder/")
.execute(client)
val sut = activityRule.launchActivity(null)
// navigate to favorites
onView(withId(R.id.drawer_layout)).perform(DrawerActions.open())
onView(withId(R.id.nav_view))
.perform(NavigationViewActions.navigateTo(R.id.nav_favorites))
shortSleep()
// check sort button is not shown, favorites are not sortable
onView(withId(R.id.sort_button)).check(matches(withEffectiveVisibility(ViewMatchers.Visibility.GONE)))
// browse into folder
onView(withId(R.id.list_root)).perform(
RecyclerViewActions.actionOnItemAtPosition<OCFileListItemViewHolder>(
0,
click()
)
)
shortSleep()
checkToolbarTitle(topFolder)
// sort button should now be visible
onView(withId(R.id.sort_button)).check(matches(ViewMatchers.isDisplayed()))
// browse back, should be back to All Files
Espresso.pressBack()
checkToolbarTitle(sut.getString(R.string.app_name))
onView(withId(R.id.sort_button)).check(matches(ViewMatchers.isDisplayed()))
}
@Test
fun switchToGridView() {
activityRule.launchActivity(null)
@@ -166,12 +263,12 @@ class FileDisplayActivityIT : AbstractOnServerIT() {
.execute(client)
.isSuccess
)
Espresso.onView(ViewMatchers.withId(R.id.switch_grid_view_button)).perform(ViewActions.click())
onView(withId(R.id.switch_grid_view_button)).perform(click())
}
@Test
fun openAccountSwitcher() {
activityRule.launchActivity(null)
Espresso.onView(ViewMatchers.withId(R.id.switch_account_button)).perform(ViewActions.click())
onView(withId(R.id.switch_account_button)).perform(click())
}
}
@@ -1,51 +0,0 @@
/*
*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* Copyright (C) 2019 Tobias Kaminsky
* Copyright (C) 2019 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.nextcloud.client;
import android.app.Application;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import com.facebook.testing.screenshot.ScreenshotRunner;
import com.github.tmurakami.dexopener.DexOpener;
import com.karumi.shot.ShotTestRunner;
public class ScreenshotTestRunner extends ShotTestRunner {
@Override
public Application newApplication(ClassLoader cl, String className, Context context)
throws ClassNotFoundException, IllegalAccessException, InstantiationException {
/*
* Initialize DexOpener only on API below 28 to enable mocking of Kotlin classes.
* On API 28+ the platform supports mocking natively.
*/
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) {
DexOpener.install(this);
}
return super.newApplication(cl, className, context);
}
}
@@ -0,0 +1,46 @@
/*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* @author Álvaro Brey
* Copyright (C) 2019 Tobias Kaminsky
* Copyright (C) 2023 Álvaro Brey
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.nextcloud.client
import android.app.Application
import android.app.Instrumentation
import android.content.Context
import android.os.Build
import com.github.tmurakami.dexopener.DexOpener
import com.karumi.shot.ShotTestRunner
import com.nextcloud.test.TestMainApp
class ScreenshotTestRunner : ShotTestRunner() {
@Throws(ClassNotFoundException::class, IllegalAccessException::class, InstantiationException::class)
override fun newApplication(cl: ClassLoader, className: String, context: Context): Application {
/*
* Initialize DexOpener only on API below 28 to enable mocking of Kotlin classes.
* On API 28+ the platform supports mocking natively.
*/
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) {
DexOpener.install(this)
}
return Instrumentation.newApplication(TestMainApp::class.java, context)
}
}
@@ -25,6 +25,7 @@ import android.app.Activity
import android.content.Intent
import android.os.Looper
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.test.GrantStoragePermissionRule
import com.owncloud.android.AbstractIT
import com.owncloud.android.datamodel.ArbitraryDataProviderImpl
import com.owncloud.android.ui.activity.RequestCredentialsActivity
@@ -7,6 +7,7 @@ import android.os.Bundle;
import com.nextcloud.client.preferences.AppPreferences;
import com.nextcloud.client.preferences.AppPreferencesImpl;
import com.owncloud.android.AbstractOnServerIT;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.lib.common.accounts.AccountUtils;
import org.junit.Before;
@@ -48,4 +49,25 @@ public class UserAccountManagerImplTest extends AbstractOnServerIT {
// assume that userId == loginname (as we manually set it)
assertEquals(userId, accountManager.getUserData(account, AccountUtils.Constants.KEY_USER_ID));
}
@Test
public void checkName() {
UserAccountManagerImpl sut = new UserAccountManagerImpl(targetContext, accountManager);
Account owner = new Account("[email protected]", "nextcloud");
Account account1 = new Account("[email protected]", "nextcloud");
Account account2 = new Account("[email protected]", "nextcloud");
OCFile file1 = new OCFile("/test1.pdf");
file1.setOwnerId("John");
assertTrue(sut.accountOwnsFile(file1, owner));
assertTrue(sut.accountOwnsFile(file1, account1));
assertTrue(sut.accountOwnsFile(file1, account2));
file1.setOwnerId("john");
assertTrue(sut.accountOwnsFile(file1, owner));
assertTrue(sut.accountOwnsFile(file1, account1));
assertTrue(sut.accountOwnsFile(file1, account2));
}
}
@@ -0,0 +1,97 @@
/*
* Nextcloud Android client application
*
* @author Álvaro Brey
* Copyright (C) 2023 Álvaro Brey
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.nextcloud.client.database.migrations
import androidx.room.testing.MigrationTestHelper
import androidx.sqlite.db.framework.FrameworkSQLiteOpenHelperFactory
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import com.nextcloud.client.database.NextcloudDatabase
import org.junit.Assert.assertEquals
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import java.io.IOException
@RunWith(AndroidJUnit4::class)
class MigrationTest {
@get:Rule
val helper: MigrationTestHelper = MigrationTestHelper(
InstrumentationRegistry.getInstrumentation(),
NextcloudDatabase::class.java.canonicalName,
FrameworkSQLiteOpenHelperFactory()
)
@Test
@Throws(IOException::class)
fun migrate67to68() {
val nullId = 6
val notNullId = 7
val notNullLocalIdValue = 1234
var db = helper.createDatabase(TEST_DB, 67)
// create some data
db.apply {
execSQL(
"INSERT INTO filelist VALUES($nullId,'foo.zip','foo.zip','/foo.zip','/foo.zip',1,1643648081," +
"1643648081000,'application/zip',178382355,NULL,'test@nextcloud',1674554955638,0,0,''," +
"'f45028679b68652c6b345b5d8c9a5d63',0,'RGDNVW','00014889ocb5tqw7y2f3',NULL,0,0,0,0,NULL,0,NULL," +
"0,0,'test','test','','[]',NULL,'null',0,-1,NULL,NULL,NULL,0,0,NULL);"
)
execSQL(
"INSERT INTO filelist VALUES($notNullId,'foo.zip','foo.zip','/foo.zip','/foo.zip',1,1643648081," +
"1643648081000,'application/zip',178382355,NULL,'test@nextcloud',1674554955638,0,0,''," +
"'f45028679b68652c6b345b5d8c9a5d63',0,'RGDNVW','00014889ocb5tqw7y2f3',NULL,0,0,0,0,NULL,0,NULL," +
"0,0,'test','test','','[]',NULL,'null',0,-1,NULL,NULL,NULL,0,0,NULL);"
)
execSQL("UPDATE filelist SET local_id = NULL WHERE _id = $nullId")
execSQL("UPDATE filelist SET local_id = $notNullLocalIdValue WHERE _id = $notNullId")
close()
}
// run migration and validate schema matches
db = helper.runMigrationsAndValidate(TEST_DB, 68, true, Migration67to68())
// check values are correct
db.query("SELECT local_id FROM filelist WHERE _id=$nullId").use { cursor ->
cursor.moveToFirst()
val localId = cursor.getInt(cursor.getColumnIndex("local_id"))
assertEquals("NULL localId is not -1 after migration", -1, localId)
}
db.query("SELECT local_id FROM filelist WHERE _id=$notNullId").use { cursor ->
cursor.moveToFirst()
val localId = cursor.getInt(cursor.getColumnIndex("local_id"))
assertEquals("Not null localId is not the same after migration", notNullLocalIdValue, localId)
}
db.close()
}
companion object {
private const val TEST_DB = "migration-test"
}
}
@@ -0,0 +1,86 @@
/*
* Nextcloud Android client application
*
* @author Álvaro Brey
* Copyright (C) 2023 Álvaro Brey
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.nextcloud.client.documentscan
import android.graphics.pdf.PdfRenderer
import android.os.ParcelFileDescriptor
import com.nextcloud.client.logger.Logger
import com.owncloud.android.AbstractIT
import io.mockk.MockKAnnotations
import io.mockk.impl.annotations.MockK
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Before
import org.junit.Test
import java.io.File
internal class GeneratePDFUseCaseTest : AbstractIT() {
@MockK
private lateinit var logger: Logger
private lateinit var sut: GeneratePDFUseCase
@Before
fun setUp() {
MockKAnnotations.init(this, relaxed = true)
sut = GeneratePDFUseCase(logger)
}
@Test
fun invalidArguments_shouldReturnFalse() {
var result = sut.execute(emptyList(), "/test/foo.pdf")
assertFalse("Usecase does not indicate failure with invalid arguments", result)
result = sut.execute(listOf("/test.jpg"), "")
assertFalse("Usecase does not indicate failure with invalid arguments", result)
}
@Test
fun generatePdf_checkPages() {
// can't think of how to test the _content_ of the pages
val images = listOf(
getFile("image.jpg"),
getFile("christine.jpg")
).map { it.path }
val output = "/sdcard/test.pdf"
val result = sut.execute(images, output)
assertTrue("Usecase does not indicate success", result)
val outputFile = File(output)
assertTrue("Output file does not exist", outputFile.exists())
ParcelFileDescriptor.open(outputFile, ParcelFileDescriptor.MODE_READ_ONLY).use {
PdfRenderer(it).use { renderer ->
val pageCount = renderer.pageCount
assertTrue("Page count is not correct", pageCount == 2)
}
}
// clean up
outputFile.delete()
}
}
@@ -33,6 +33,7 @@ import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.Parameterized
import org.junit.runners.Suite
import org.mockito.ArgumentMatchers.anyInt
import org.mockito.Mock
import org.mockito.MockitoAnnotations
import org.mockito.kotlin.any
@@ -84,7 +85,7 @@ class DeckApiTest {
@Before
fun setUp() {
whenever(packageManager.resolveActivity(any(), any())).thenAnswer {
whenever(packageManager.resolveActivity(any(), anyInt())).thenAnswer {
val intent = it.getArgument<Intent>(0)
return@thenAnswer if (intent.component?.packageName == installedDeckPackage) {
ResolveInfo()
@@ -124,7 +125,7 @@ class DeckApiTest {
// THEN
// deck application is not being resolved
// open action is not created
verify(packageManager, never()).resolveActivity(anyOrNull(), anyOrNull())
verify(packageManager, never()).resolveActivity(anyOrNull(), anyOrNull<Int>())
assertFalse(openDeckActionIntent.isPresent)
}
}
@@ -133,7 +134,7 @@ class DeckApiTest {
@Before
fun setUp() {
whenever(packageManager.resolveActivity(any(), any())).thenReturn(null)
whenever(packageManager.resolveActivity(any(), anyInt())).thenReturn(null)
}
@Test
@@ -151,7 +152,8 @@ class DeckApiTest {
// THEN
// deck application is being resolved using all known packages
// open action is not created
verify(packageManager, times(DeckApiImpl.DECK_APP_PACKAGES.size)).resolveActivity(anyOrNull(), anyOrNull())
verify(packageManager, times(DeckApiImpl.DECK_APP_PACKAGES.size))
.resolveActivity(anyOrNull(), anyOrNull<Int>())
assertFalse(openDeckActionIntent.isPresent)
}
@@ -170,7 +172,7 @@ class DeckApiTest {
// THEN
// deck application is not being resolved
// open action is not created
verify(packageManager, never()).resolveActivity(anyOrNull(), anyOrNull())
verify(packageManager, never()).resolveActivity(anyOrNull(), anyOrNull<Int>())
assertFalse(openDeckActionIntent.isPresent)
}
}
@@ -122,7 +122,8 @@ class BackgroundJobManagerTest {
Data.Builder().build(),
listOf(BackgroundJobManagerImpl.formatTimeTag(1581820284000)),
Data.Builder().build(),
1
1,
0
)
}
@@ -25,6 +25,7 @@ import android.Manifest
import androidx.test.rule.GrantPermissionRule
import androidx.work.WorkManager
import com.nextcloud.client.core.ClockImpl
import com.nextcloud.test.RetryTestRule
import com.owncloud.android.AbstractIT
import com.owncloud.android.AbstractOnServerIT
import com.owncloud.android.R
@@ -36,7 +37,9 @@ import junit.framework.Assert.assertEquals
import junit.framework.Assert.assertTrue
import org.junit.Rule
import org.junit.Test
import java.io.BufferedInputStream
import java.io.File
import java.io.FileInputStream
class ContactsBackupIT : AbstractOnServerIT() {
val workmanager = WorkManager.getInstance(targetContext)
@@ -48,6 +51,9 @@ class ContactsBackupIT : AbstractOnServerIT() {
@get:Rule
val readContactsRule = GrantPermissionRule.grant(Manifest.permission.READ_CONTACTS)
@get:Rule
val retryTestRule = RetryTestRule() // flaky test
private val vcard: String = "vcard.vcf"
@Test
@@ -82,13 +88,15 @@ class ContactsBackupIT : AbstractOnServerIT() {
assertTrue(DownloadFileOperation(user, backupOCFile, AbstractIT.targetContext).execute(client).isSuccess)
val backupFile = File(backupOCFile.storagePath)
val vcardInputStream = BufferedInputStream(FileInputStream(getFile(vcard)))
val backupFileInputStream = BufferedInputStream(FileInputStream(backupFile))
// verify same
val originalCards: ArrayList<VCard> = ArrayList()
originalCards.addAll(Ezvcard.parse(getFile(vcard)).all())
originalCards.addAll(Ezvcard.parse(vcardInputStream).all())
val backupCards: ArrayList<VCard> = ArrayList()
backupCards.addAll(Ezvcard.parse(backupFile).all())
backupCards.addAll(Ezvcard.parse(backupFileInputStream).all())
assertEquals(originalCards.size, backupCards.size)
assertEquals(originalCards[0].formattedName.toString(), backupCards[0].formattedName.toString())
@@ -19,7 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.nextcloud.client
package com.nextcloud.test
import android.Manifest
import android.os.Build
@@ -0,0 +1,44 @@
/*
* Nextcloud Android client application
*
* @author Álvaro Brey
* Copyright (C) 2023 Álvaro Brey
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.nextcloud.test
import android.app.Instrumentation
import androidx.test.platform.app.InstrumentationRegistry
import dagger.android.AndroidInjector
import org.junit.rules.TestRule
import org.junit.runner.Description
import org.junit.runners.model.Statement
class InjectionOverrideRule(private val overrideInjectors: Map<Class<*>, AndroidInjector<*>>) : TestRule {
override fun apply(base: Statement, description: Description): Statement = object : Statement() {
override fun evaluate() {
val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation()
val testApp = instrumentation.targetContext.applicationContext as TestMainApp
overrideInjectors.entries.forEach {
testApp.addTestInjector(it.key, it.value)
}
base.evaluate()
testApp.clearTestInjectors()
}
}
}
@@ -0,0 +1,62 @@
/*
* Nextcloud Android client application
*
* @author Álvaro Brey
* Copyright (C) 2023 Álvaro Brey
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.nextcloud.test
import androidx.test.core.app.launchActivity
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import com.nextcloud.client.preferences.AppPreferences
import com.owncloud.android.R
import dagger.android.AndroidInjector
import io.mockk.every
import io.mockk.mockk
import org.junit.Rule
import org.junit.Test
class InjectionTestActivityTest {
@get:Rule
val injectionOverrideRule =
InjectionOverrideRule(
mapOf(
InjectionTestActivity::class.java to AndroidInjector<InjectionTestActivity> { activity ->
val appPreferencesMock = mockk<AppPreferences>()
every { appPreferencesMock.lastUploadPath } returns INJECTED_STRING
activity.appPreferences = appPreferencesMock
}
)
)
@Test
fun testInjectionOverride() {
launchActivity<InjectionTestActivity>().use { _ ->
onView(withId(R.id.text)).check(matches(withText(INJECTED_STRING)))
}
}
companion object {
private const val INJECTED_STRING = "injected string"
}
}
@@ -20,7 +20,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.nextcloud.client
package com.nextcloud.test
import com.owncloud.android.BuildConfig
import com.owncloud.android.lib.common.utils.Log_OC
@@ -0,0 +1,74 @@
/*
* Nextcloud Android client application
*
* @author Álvaro Brey
* Copyright (C) 2023 Álvaro Brey
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.nextcloud.test
import com.owncloud.android.MainApp
import com.owncloud.android.lib.common.utils.Log_OC
import dagger.android.AndroidInjector
import dagger.android.DispatchingAndroidInjector
/**
* The purpose of this class is to allow overriding injections in Android classes (which use parameter injection instead
* of constructor injection).
*
* To automate its usage, pair with [InjectionOverrideRule]; or call [addTestInjector] manually for more control.
*/
class TestMainApp : MainApp() {
val foo = "BAR"
private var overrideInjectors: MutableMap<Class<*>, AndroidInjector<*>> = mutableMapOf()
/**
* If you call this before a test please remember to call [clearTestInjectors] afterwards
*/
fun addTestInjector(clazz: Class<*>, injector: AndroidInjector<*>) {
Log_OC.d(TAG, "addTestInjector: added injector for $clazz")
overrideInjectors[clazz] = injector
}
fun clearTestInjectors() {
overrideInjectors.clear()
}
override fun androidInjector(): AndroidInjector<Any> {
@Suppress("UNCHECKED_CAST")
return InjectorWrapper(dispatchingAndroidInjector, overrideInjectors as Map<Class<*>, AndroidInjector<Any>>)
}
class InjectorWrapper(
private val baseInjector: DispatchingAndroidInjector<Any>,
private val overrideInjectors: Map<Class<*>, AndroidInjector<Any>>
) : AndroidInjector<Any> {
override fun inject(instance: Any) {
baseInjector.inject(instance)
overrideInjectors[instance.javaClass]?.let { customInjector ->
Log_OC.d(TAG, "Injecting ${instance.javaClass} with ${customInjector.javaClass}")
customInjector.inject(instance)
}
}
}
companion object {
private const val TAG = "TestMainApp"
}
}
@@ -26,7 +26,7 @@ import android.graphics.BitmapFactory
import android.widget.ImageView
import android.widget.LinearLayout
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.client.TestActivity
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.utils.BitmapUtils
@@ -0,0 +1,53 @@
/*
*
* Nextcloud Android client application
*
* @author TSI-mc
* Copyright (C) 2023 TSI-mc
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.nmc.android.ui
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isCompletelyDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
@RunWith(AndroidJUnit4::class)
class LauncherActivityIT : AbstractIT() {
@get:Rule
val activityRule = ActivityScenarioRule(LauncherActivity::class.java)
@Test
fun verifyUIElements() {
waitForIdleSync()
onView(withId(R.id.ivSplash)).check(matches(isCompletelyDisplayed()))
onView(withId(R.id.splashScreenBold)).check(matches(isCompletelyDisplayed()))
onView(withId(R.id.splashScreenNormal)).check(matches(isCompletelyDisplayed()))
onView(withId(R.id.splashScreenBold)).check(matches(withText("Magenta")))
onView(withId(R.id.splashScreenNormal)).check(matches(withText("CLOUD")))
}
}
@@ -14,7 +14,6 @@ import android.view.View;
import com.facebook.testing.screenshot.Screenshot;
import com.facebook.testing.screenshot.internal.TestNameDetector;
import com.nextcloud.client.GrantStoragePermissionRule;
import com.nextcloud.client.account.User;
import com.nextcloud.client.account.UserAccountManager;
import com.nextcloud.client.account.UserAccountManagerImpl;
@@ -26,6 +25,7 @@ import com.nextcloud.client.preferences.AppPreferencesImpl;
import com.nextcloud.client.preferences.DarkMode;
import com.nextcloud.common.NextcloudClient;
import com.nextcloud.java.util.Optional;
import com.nextcloud.test.GrantStoragePermissionRule;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.datamodel.UploadsStorageManager;
@@ -36,6 +36,7 @@ import com.owncloud.android.lib.common.OwnCloudClient;
import com.owncloud.android.lib.common.OwnCloudClientFactory;
import com.owncloud.android.lib.common.accounts.AccountUtils;
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
import com.owncloud.android.lib.resources.status.CapabilityBooleanType;
import com.owncloud.android.lib.resources.status.OCCapability;
import com.owncloud.android.operations.CreateFolderOperation;
import com.owncloud.android.operations.UploadFileOperation;
@@ -54,6 +55,7 @@ import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.RandomAccessFile;
import java.util.Collection;
import java.util.Objects;
@@ -106,20 +108,8 @@ public abstract class AbstractIT {
}
}
Account temp = new Account("test@https://nextcloud.localhost", MainApp.getAccountType(targetContext));
platformAccountManager.addAccountExplicitly(temp, "password", null);
platformAccountManager.setUserData(temp, AccountUtils.Constants.KEY_OC_BASE_URL, "https://nextcloud.localhost");
platformAccountManager.setUserData(temp, KEY_USER_ID, "test");
final UserAccountManager userAccountManager = UserAccountManagerImpl.fromContext(targetContext);
account = userAccountManager.getAccountByName("test@https://nextcloud.localhost");
if (account == null) {
throw new ActivityNotFoundException();
}
Optional<User> optionalUser = userAccountManager.getUser(account.name);
user = optionalUser.orElseThrow(IllegalAccessError::new);
account = createAccount("test@https://nextcloud.localhost");
user = getUser(account);
client = OwnCloudClientFactory.createOwnCloudClient(account, targetContext);
nextcloudClient = OwnCloudClientFactory.createNextcloudClient(user, targetContext);
@@ -168,11 +158,14 @@ public abstract class AbstractIT {
break;
}
OCCapability capability = fileDataStorageManager.getCapability(account.name);
capability.setGroupfolders(CapabilityBooleanType.TRUE);
if (colorHex != null) {
OCCapability capability = fileDataStorageManager.getCapability(account.name);
capability.setServerColor(colorHex);
fileDataStorageManager.saveCapabilities(capability);
}
fileDataStorageManager.saveCapabilities(capability);
}
// dark / light
@@ -252,12 +245,35 @@ public abstract class AbstractIT {
}
}
public static File createFile(String name, int iteration) throws IOException {
File file = new File(FileStorageUtils.getTemporalPath(account.name) + File.separator + name);
public static File createFile(String name, long size) throws IOException {
File file = new File(FileStorageUtils.getInternalTemporalPath(account.name, targetContext) + File.separator + name);
if (!file.getParentFile().exists()) {
assertTrue(file.getParentFile().mkdirs());
}
if (file.exists()) {
file.delete();
}
file.createNewFile();
RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw");
randomAccessFile.setLength(size);
randomAccessFile.close();
return file;
}
public static File createFile(String name, int iteration) throws IOException {
File file = new File(FileStorageUtils.getInternalTemporalPath(account.name, targetContext) + File.separator + name);
if (!file.getParentFile().exists()) {
assertTrue(file.getParentFile().mkdirs());
}
if (file.exists()) {
file.delete();
}
file.createNewFile();
FileWriter writer = new FileWriter(file);
@@ -443,4 +459,31 @@ public abstract class AbstractIT {
public static String getUserId(User user) {
return AccountManager.get(targetContext).getUserData(user.toPlatformAccount(), KEY_USER_ID);
}
protected static User getUser(Account account) {
Optional<User> optionalUser = UserAccountManagerImpl.fromContext(targetContext).getUser(account.name);
return optionalUser.orElseThrow(IllegalAccessError::new);
}
protected static Account createAccount(String name) {
AccountManager platformAccountManager = AccountManager.get(targetContext);
Account temp = new Account(name, MainApp.getAccountType(targetContext));
int atPos = name.lastIndexOf('@');
platformAccountManager.addAccountExplicitly(temp, "password", null);
platformAccountManager.setUserData(temp, AccountUtils.Constants.KEY_OC_BASE_URL,
name.substring(atPos + 1));
platformAccountManager.setUserData(temp, KEY_USER_ID, name.substring(0, atPos));
Account account = UserAccountManagerImpl.fromContext(targetContext).getAccountByName(name);
if (account == null) {
throw new ActivityNotFoundException();
}
return account;
}
protected static boolean removeAccount(Account account) {
return AccountManager.get(targetContext).removeAccountExplicitly(account);
}
}
@@ -234,6 +234,7 @@ public abstract class AbstractOnServerIT extends AbstractIT {
getFileByDecryptedRemotePath(parentFolder.getDecryptedRemotePath() + uploadedFileName);
assertNotNull(uploadedFile.getRemoteId());
assertNotNull(uploadedFile.getPermissions());
if (localBehaviour == FileUploader.LOCAL_BEHAVIOUR_COPY ||
localBehaviour == FileUploader.LOCAL_BEHAVIOUR_MOVE) {
@@ -0,0 +1,79 @@
/*
* Nextcloud Android client application
*
* @author Álvaro Brey
* Copyright (C) 2023 Álvaro Brey
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.authentication
import androidx.test.core.app.launchActivity
import com.nextcloud.client.core.Clock
import com.nextcloud.client.preferences.AppPreferences
import com.nextcloud.test.TestActivity
import com.owncloud.android.ui.activity.SettingsActivity
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.MockK
import org.junit.Assert.assertTrue
import org.junit.Before
import org.junit.Test
/**
* This class should really be unit tests, but PassCodeManager needs a refactor
* to decouple the locking logic from the platform classes
*/
class PassCodeManagerIT {
@MockK
lateinit var appPreferences: AppPreferences
@MockK
lateinit var clockImpl: Clock
lateinit var sut: PassCodeManager
@Before
fun before() {
MockKAnnotations.init(this, relaxed = true)
sut = PassCodeManager(appPreferences, clockImpl)
}
@Test
fun testResumeDuplicateActivity() {
// set locked state
every { appPreferences.lockPreference } returns SettingsActivity.LOCK_PASSCODE
every { appPreferences.lockTimestamp } returns 200
every { clockImpl.millisSinceBoot } returns 10000
launchActivity<TestActivity>().use { scenario ->
scenario.onActivity { activity ->
// resume activity twice
var askedForPin = sut.onActivityResumed(activity)
assertTrue("Passcode not requested on first launch", askedForPin)
sut.onActivityResumed(activity)
// stop it once
sut.onActivityStopped(activity)
// resume again. should ask for passcode
askedForPin = sut.onActivityResumed(activity)
assertTrue("Passcode not requested on subsequent launch after stop", askedForPin)
}
}
}
}
@@ -24,9 +24,12 @@ package com.owncloud.android.datamodel;
import com.owncloud.android.db.ProviderMeta;
public class FileDataStorageManagerContentProviderClientIT extends FileDataStorageManagerIT {
import org.junit.Test;
@Override
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
public class FileDataStorageManagerContentProviderClientIT extends FileDataStorageManagerIT {
public void before() {
sut = new FileDataStorageManager(user,
targetContext
@@ -36,4 +39,24 @@ public class FileDataStorageManagerContentProviderClientIT extends FileDataStora
super.before();
}
@Test
public void saveFile() {
String path = "/1.txt";
OCFile file = new OCFile(path);
file.setRemoteId("00000008ocjycgrudn78");
// TODO check via reflection that every parameter is set
file.setFileLength(1024000);
file.setModificationTimestamp(1582019340);
sut.saveNewFile(file);
OCFile read = sut.getFileByPath(path);
assertNotNull(read);
assertEquals(file.getRemotePath(), read.getRemotePath());
}
}
@@ -104,20 +104,20 @@ abstract public class FileDataStorageManagerIT extends AbstractOnServerIT {
assertTrue(new UploadFileRemoteOperation(getDummyFile("chunkedFile.txt").getAbsolutePath(),
"/1/1/chunkedFile.txt",
"text/plain",
String.valueOf(System.currentTimeMillis() / 1000))
System.currentTimeMillis() / 1000)
.execute(client).isSuccess());
assertTrue(new UploadFileRemoteOperation(getDummyFile("chunkedFile.txt").getAbsolutePath(),
"/1/1/chunkedFile2.txt",
"text/plain",
String.valueOf(System.currentTimeMillis() / 1000))
System.currentTimeMillis() / 1000)
.execute(client).isSuccess());
File imageFile = getFile("imageFile.png");
assertTrue(new UploadFileRemoteOperation(imageFile.getAbsolutePath(),
"/1/1/imageFile.png",
"image/png",
String.valueOf(System.currentTimeMillis() / 1000))
System.currentTimeMillis() / 1000)
.execute(client).isSuccess());
// sync
@@ -166,7 +166,7 @@ abstract public class FileDataStorageManagerIT extends AbstractOnServerIT {
assertTrue(new UploadFileRemoteOperation(imageFile.getAbsolutePath(),
remotePath,
"image/png",
String.valueOf(System.currentTimeMillis() / 1000))
System.currentTimeMillis() / 1000)
.execute(client).isSuccess());
assertNull(sut.getFileByDecryptedRemotePath(remotePath));
@@ -240,7 +240,7 @@ abstract public class FileDataStorageManagerIT extends AbstractOnServerIT {
assertTrue(new UploadFileRemoteOperation(imageFile.getAbsolutePath(),
imagePath,
"image/png",
String.valueOf((System.currentTimeMillis() - 10000) / 1000))
(System.currentTimeMillis() - 10000) / 1000)
.execute(client).isSuccess());
// Check that file does not yet exist in local database
@@ -251,7 +251,7 @@ abstract public class FileDataStorageManagerIT extends AbstractOnServerIT {
assertTrue(new UploadFileRemoteOperation(videoFile.getAbsolutePath(),
videoPath,
"video/mpeg",
String.valueOf((System.currentTimeMillis() + 10000) / 1000))
(System.currentTimeMillis() + 10000) / 1000)
.execute(client).isSuccess());
// Check that file does not yet exist in local database
@@ -344,7 +344,7 @@ abstract public class FileDataStorageManagerIT extends AbstractOnServerIT {
targetContext).execute(client).isSuccess());
OCFile newFile = new OCFile("/1/1/1.txt");
newFile.setRemoteId("123");
newFile.setRemoteId("12345678");
sut.saveNewFile(newFile);
}
@@ -369,4 +369,5 @@ abstract public class FileDataStorageManagerIT extends AbstractOnServerIT {
assertEquals(capability.getUserStatus(), newCapability.getUserStatus());
}
}
@@ -22,8 +22,8 @@ package com.owncloud.android.files
import androidx.test.core.app.launchActivity
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.nextcloud.client.TestActivity
import com.nextcloud.client.account.User
import com.nextcloud.test.TestActivity
import com.nextcloud.utils.EditorUtils
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
@@ -202,12 +202,14 @@ class FileMenuFilterIT : AbstractIT() {
// encrypted folder, with content
assertTrue(toHide.contains(R.id.action_unset_encrypted))
assertTrue(toHide.contains(R.id.action_encrypted))
assertTrue(toHide.contains(R.id.action_remove_file))
// encrypted, but empty folder
sut = filterFactory.newInstance(encryptedEmptyFolder, mockComponentsGetter, true, user)
toHide = sut.getToHide(false)
assertFalse(toHide.contains(R.id.action_unset_encrypted))
assertTrue(toHide.contains(R.id.action_unset_encrypted))
assertTrue(toHide.contains(R.id.action_remove_file))
assertTrue(toHide.contains(R.id.action_encrypted))
// regular folder, with content
@@ -216,6 +218,7 @@ class FileMenuFilterIT : AbstractIT() {
assertTrue(toHide.contains(R.id.action_unset_encrypted))
assertTrue(toHide.contains(R.id.action_encrypted))
assertFalse(toHide.contains(R.id.action_remove_file))
// regular folder, without content
sut = filterFactory.newInstance(normalEmptyFolder, mockComponentsGetter, true, user)
@@ -223,6 +226,120 @@ class FileMenuFilterIT : AbstractIT() {
assertTrue(toHide.contains(R.id.action_unset_encrypted))
assertFalse(toHide.contains(R.id.action_encrypted))
assertFalse(toHide.contains(R.id.action_remove_file))
}
}
}
@Test
fun filter_stream() {
val capability = OCCapability().apply {
endToEndEncryption = CapabilityBooleanType.TRUE
}
val encryptedVideo = OCFile("/e2e/1.mpg").apply {
isEncrypted = true
mimeType = "video/mpeg"
}
val normalVideo = OCFile("/folder/2.mpg").apply {
mimeType = "video/mpeg"
fileLength = SecureRandom().nextLong()
}
configureCapability(capability)
launchActivity<TestActivity>().use {
it.onActivity { activity ->
val filterFactory =
FileMenuFilter.Factory(mockStorageManager, activity, editorUtils)
var sut = filterFactory.newInstance(encryptedVideo, mockComponentsGetter, true, user)
var toHide = sut.getToHide(false)
// encrypted video, with content
assertTrue(toHide.contains(R.id.action_stream_media))
// regular video, with content
sut = filterFactory.newInstance(normalVideo, mockComponentsGetter, true, user)
toHide = sut.getToHide(false)
assertFalse(toHide.contains(R.id.action_stream_media))
}
}
}
@Test
fun filter_select_all() {
configureCapability(OCCapability())
// not in single file fragment -> multi selection is possible under certain circumstances
launchActivity<TestActivity>().use {
it.onActivity { activity ->
val filterFactory = FileMenuFilter.Factory(mockStorageManager, activity, editorUtils)
val files = listOf(OCFile("/foo.bin"), OCFile("/bar.bin"), OCFile("/baz.bin"))
// single file, not in multi selection
// *Select all* and *Deselect all* should stay hidden
var sut = filterFactory.newInstance(files.first(), mockComponentsGetter, true, user)
var toHide = sut.getToHide(false)
assertTrue(toHide.contains(R.id.action_select_all_action_menu))
assertTrue(toHide.contains(R.id.action_deselect_all_action_menu))
// multiple files, all selected in multi selection
// *Deselect all* shown, *Select all* not
sut = filterFactory.newInstance(files.size, files, mockComponentsGetter, false, user)
toHide = sut.getToHide(false)
assertTrue(toHide.contains(R.id.action_select_all_action_menu))
assertFalse(toHide.contains(R.id.action_deselect_all_action_menu))
// multiple files, all but one selected
// both *Select all* and *Deselect all* should be shown
sut = filterFactory.newInstance(files.size + 1, files, mockComponentsGetter, false, user)
toHide = sut.getToHide(false)
assertFalse(toHide.contains(R.id.action_select_all_action_menu))
assertFalse(toHide.contains(R.id.action_deselect_all_action_menu))
}
}
}
fun filter_select_all_singleFileFragment() {
configureCapability(OCCapability())
// in single file fragment (e.g. FileDetailFragment or PreviewImageFragment), selecting multiple files
// is not possible -> *Select all* and *Deselect all* options should be hidden
launchActivity<TestActivity>().use {
it.onActivity { activity ->
val filterFactory = FileMenuFilter.Factory(mockStorageManager, activity, editorUtils)
val files = listOf(OCFile("/foo.bin"), OCFile("/bar.bin"), OCFile("/baz.bin"))
// single file
var sut = filterFactory.newInstance(files.first(), mockComponentsGetter, true, user)
var toHide = sut.getToHide(true)
assertTrue(toHide.contains(R.id.action_select_all_action_menu))
assertTrue(toHide.contains(R.id.action_deselect_all_action_menu))
// multiple files, all selected
sut = filterFactory.newInstance(files.size, files, mockComponentsGetter, false, user)
toHide = sut.getToHide(true)
assertTrue(toHide.contains(R.id.action_select_all_action_menu))
assertTrue(toHide.contains(R.id.action_deselect_all_action_menu))
// multiple files, all but one selected
sut = filterFactory.newInstance(files.size + 1, files, mockComponentsGetter, false, user)
toHide = sut.getToHide(true)
assertTrue(toHide.contains(R.id.action_select_all_action_menu))
assertTrue(toHide.contains(R.id.action_deselect_all_action_menu))
}
}
}
@@ -76,8 +76,8 @@ class DocumentsStorageProviderIT : AbstractOnServerIT() {
val file1 = rootDir.createFile(type1, name1)!!
// check assumptions
@Suppress("ForbiddenComment")
file1.assertRegularFile(name1, 0L, null/* FIXME: type1 */, rootDir)
/* FIXME: mimeType */
file1.assertRegularFile(name1, 0L, null, rootDir)
file1.assertRecentlyModified()
// file1 is found in root
@@ -218,4 +218,38 @@ class DocumentsStorageProviderIT : AbstractOnServerIT() {
val bytes = contentResolver.openInputStream(file1.uri)?.readBytes() ?: ByteArray(0)
assertEquals(String(content2), String(bytes))
}
@Test
fun testServerSuccessive() {
// create random file
val file1 = rootDir.createFile("text/plain", RandomStringGenerator.make())!!
file1.assertRegularFile(size = 0L)
val createdETag = file1.getOCFile(storageManager)!!.etagOnServer
assertTrue(createdETag.isNotEmpty())
val content1 = "initial content".toByteArray()
// write content bytes to file
contentResolver.openOutputStream(file1.uri, "wt").use {
it!!.write(content1)
}
// refresh
while (file1.getOCFile(storageManager)!!.etagOnServer == createdETag) {
shortSleep()
rootDir.listFiles()
}
val content2 = "new content".toByteArray()
contentResolver.openOutputStream(file1.uri, "wt").use {
it!!.write(content2)
}
// read back content bytes
val bytes = contentResolver.openInputStream(file1.uri)?.readBytes() ?: ByteArray(0)
assertEquals(String(content2), String(bytes))
}
}
@@ -22,7 +22,7 @@
package com.owncloud.android.providers
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.client.TestActivity
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractOnServerIT
import org.junit.Rule
import org.junit.Test
@@ -29,10 +29,10 @@ import androidx.test.espresso.web.webdriver.DriverAtoms
import androidx.test.espresso.web.webdriver.Locator
import androidx.test.filters.LargeTest
import androidx.test.platform.app.InstrumentationRegistry
import com.nextcloud.client.GrantStoragePermissionRule
import com.nextcloud.client.RetryTestRule
import com.nextcloud.client.account.UserAccountManager
import com.nextcloud.client.account.UserAccountManagerImpl
import com.nextcloud.test.GrantStoragePermissionRule
import com.nextcloud.test.RetryTestRule
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.authentication.AuthenticatorActivity
@@ -246,7 +246,7 @@ public class ConflictsResolveActivityIT extends AbstractIT {
OCFile existingFile = new OCFile("/newFile.txt");
existingFile.setFileLength(1024000);
existingFile.setModificationTimestamp(1582019340);
existingFile.setRemoteId("123abc");
existingFile.setRemoteId("00000123abc");
OCFile newFile = new OCFile("/newFile.txt");
newFile.setFileLength(56000);
@@ -27,7 +27,7 @@ import android.accounts.AccountManager;
import android.net.Uri;
import android.os.Bundle;
import com.nextcloud.client.RetryTestRule;
import com.nextcloud.test.RetryTestRule;
import com.nextcloud.client.account.User;
import com.nextcloud.client.account.UserAccountManager;
import com.nextcloud.client.account.UserAccountManagerImpl;
@@ -2,12 +2,10 @@ package com.owncloud.android.ui.activity;
import android.app.Activity;
import com.nextcloud.client.GrantStoragePermissionRule;
import com.nextcloud.client.onboarding.WhatsNewActivity;
import com.owncloud.android.AbstractIT;
import org.junit.Test;
import org.junit.rules.TestRule;
import androidx.test.core.app.ActivityScenario;
import androidx.test.platform.app.InstrumentationRegistry;
@@ -38,4 +38,12 @@ class ReceiveExternalFilesActivityIT : AbstractIT() {
val sut: Activity = activityRule.launchActivity(null)
screenshot(sut)
}
@Test
@ScreenshotTest
fun openMultiAccount() {
val secondAccount = createAccount("secondtest@https://nextcloud.localhost")
open()
removeAccount(secondAccount)
}
}
@@ -23,7 +23,7 @@ package com.owncloud.android.ui.activity
import android.content.Intent
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.client.GrantStoragePermissionRule
import com.nextcloud.test.GrantStoragePermissionRule
import com.owncloud.android.AbstractIT
import com.owncloud.android.utils.FileStorageUtils
import com.owncloud.android.utils.ScreenshotTest
@@ -34,8 +34,10 @@ import android.webkit.SslErrorHandler;
import android.widget.TextView;
import com.google.android.material.bottomsheet.BottomSheetBehavior;
import com.google.android.material.bottomsheet.BottomSheetDialog;
import com.google.gson.Gson;
import com.nextcloud.android.common.ui.color.ColorUtil;
import com.nextcloud.android.common.ui.theme.MaterialSchemes;
import com.nextcloud.android.common.ui.theme.MaterialSchemesImpl;
import com.nextcloud.android.lib.resources.profile.Action;
import com.nextcloud.android.lib.resources.profile.HoverCard;
import com.nextcloud.client.account.RegisteredUser;
@@ -43,10 +45,13 @@ import com.nextcloud.client.account.Server;
import com.nextcloud.client.account.User;
import com.nextcloud.client.account.UserAccountManager;
import com.nextcloud.client.device.DeviceInfo;
import com.nextcloud.client.documentscan.AppScanOptionalFeature;
import com.nextcloud.ui.ChooseAccountDialogFragment;
import com.nextcloud.ui.fileactions.FileActionsBottomSheet;
import com.nextcloud.utils.EditorUtils;
import com.owncloud.android.AbstractIT;
import com.owncloud.android.MainApp;
import com.owncloud.android.R;
import com.owncloud.android.datamodel.ArbitraryDataProvider;
import com.owncloud.android.datamodel.ArbitraryDataProviderImpl;
import com.owncloud.android.datamodel.FileDataStorageManager;
@@ -64,11 +69,13 @@ import com.owncloud.android.lib.resources.users.Status;
import com.owncloud.android.lib.resources.users.StatusType;
import com.owncloud.android.ui.activity.FileDisplayActivity;
import com.owncloud.android.ui.fragment.OCFileListBottomSheetActions;
import com.owncloud.android.ui.fragment.OCFileListBottomSheetDialogFragment;
import com.owncloud.android.ui.fragment.OCFileListBottomSheetDialog;
import com.owncloud.android.ui.fragment.ProfileBottomSheetDialog;
import com.owncloud.android.utils.MimeTypeUtil;
import com.owncloud.android.utils.ScreenshotTest;
import com.owncloud.android.utils.theme.CapabilityUtils;
import com.owncloud.android.utils.theme.MaterialSchemesProvider;
import com.owncloud.android.utils.theme.ViewThemeUtils;
import org.junit.After;
import org.junit.Rule;
@@ -81,8 +88,11 @@ import java.util.Collections;
import java.util.List;
import java.util.Objects;
import androidx.activity.result.contract.ActivityResultContract;
import androidx.annotation.NonNull;
import androidx.fragment.app.DialogFragment;
import androidx.test.espresso.intent.rule.IntentsTestRule;
import kotlin.Unit;
import static androidx.test.platform.app.InstrumentationRegistry.getInstrumentation;
@@ -346,7 +356,7 @@ public class DialogFragmentIT extends AbstractIT {
@Override
public void scanDocUpload() {
}
@Override
@@ -369,31 +379,31 @@ public class DialogFragmentIT extends AbstractIT {
// add direct editing info
DirectEditing directEditing = new DirectEditing();
directEditing.getCreators().put("1", new Creator("1",
"text",
"text file",
".md",
"application/octet-stream",
false));
"text",
"text file",
".md",
"application/octet-stream",
false));
directEditing.getCreators().put("2", new Creator("2",
"md",
"markdown file",
".md",
"application/octet-stream",
false));
"md",
"markdown file",
".md",
"application/octet-stream",
false));
directEditing.getEditors().put("text",
new Editor("1",
"Text",
new ArrayList<>(Collections.singletonList(MimeTypeUtil.MIMETYPE_TEXT_MARKDOWN)),
new ArrayList<>(),
false));
new Editor("1",
"Text",
new ArrayList<>(Collections.singletonList(MimeTypeUtil.MIMETYPE_TEXT_MARKDOWN)),
new ArrayList<>(),
false));
String json = new Gson().toJson(directEditing);
new ArbitraryDataProviderImpl(targetContext).storeOrUpdateKeyValue(user.getAccountName(),
ArbitraryDataProvider.DIRECT_EDITING,
json);
ArbitraryDataProvider.DIRECT_EDITING,
json);
// activate templates
OCCapability capability = fda.getCapabilities();
@@ -404,26 +414,76 @@ public class DialogFragmentIT extends AbstractIT {
CapabilityUtils.updateCapability(capability);
OCFileListBottomSheetDialogFragment sut = new OCFileListBottomSheetDialogFragment(fda,
action,
info,
user,
ocFile);
AppScanOptionalFeature appScanOptionalFeature = new AppScanOptionalFeature() {
@NonNull
@Override
public ActivityResultContract<Unit, String> getScanContract() {
throw new UnsupportedOperationException("Document scan is not available");
}
};
sut.show(fda.getSupportFragmentManager(), "");
MaterialSchemesProvider materialSchemesProvider = new MaterialSchemesProvider() {
@NonNull
@Override
public MaterialSchemes getMaterialSchemesForUser(@NonNull User user) {
return null;
}
@NonNull
@Override
public MaterialSchemes getMaterialSchemesForCapability(@NonNull OCCapability capability) {
return null;
}
@NonNull
@Override
public MaterialSchemes getMaterialSchemesForCurrentUser() {
return new MaterialSchemesImpl(R.color.primary, false);
}
@NonNull
@Override
public MaterialSchemes getDefaultMaterialSchemes() {
return null;
}
@NonNull
@Override
public MaterialSchemes getMaterialSchemesForPrimaryBackground() {
return null;
}
};
ViewThemeUtils viewThemeUtils = new ViewThemeUtils(materialSchemesProvider.getMaterialSchemesForCurrentUser(),
new ColorUtil(targetContext));
EditorUtils editorUtils = new EditorUtils(new ArbitraryDataProviderImpl(targetContext));
OCFileListBottomSheetDialog sut = new OCFileListBottomSheetDialog(fda,
action,
info,
user,
ocFile,
fda.themeUtils,
viewThemeUtils,
editorUtils,
appScanOptionalFeature);
fda.runOnUiThread(sut::show);
getInstrumentation().waitForIdleSync();
shortSleep();
((BottomSheetDialog) sut.requireDialog()).getBehavior().setState(BottomSheetBehavior.STATE_EXPANDED);
sut.getBehavior().setState(BottomSheetBehavior.STATE_EXPANDED);
getInstrumentation().waitForIdleSync();
shortSleep();
ViewGroup viewGroup = sut.requireDialog().getWindow().findViewById(android.R.id.content);
ViewGroup viewGroup = sut.getWindow().findViewById(android.R.id.content);
hideCursors(viewGroup);
screenshot(Objects.requireNonNull(sut.requireDialog().getWindow()).getDecorView());
screenshot(Objects.requireNonNull(sut.getWindow()).getDecorView());
}
@@ -25,7 +25,7 @@ import androidx.fragment.app.FragmentManager
import androidx.recyclerview.widget.RecyclerView
import androidx.test.espresso.intent.rule.IntentsTestRule
import androidx.test.platform.app.InstrumentationRegistry
import com.nextcloud.client.TestActivity
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.datamodel.OCFile
@@ -24,7 +24,7 @@ package com.owncloud.android.ui.dialog
import androidx.fragment.app.FragmentManager
import androidx.test.espresso.intent.rule.IntentsTestRule
import androidx.test.platform.app.InstrumentationRegistry
import com.nextcloud.client.TestActivity
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.datamodel.OCFile
import com.owncloud.android.lib.resources.status.OCCapability
@@ -23,7 +23,7 @@ package com.owncloud.android.ui.dialog
import androidx.test.espresso.intent.rule.IntentsTestRule
import androidx.test.internal.runner.junit4.statement.UiThreadStatement.runOnUiThread
import com.nextcloud.client.TestActivity
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.utils.ScreenshotTest
import org.junit.Rule
@@ -42,7 +42,7 @@ class SetupEncryptionDialogFragmentIT : AbstractIT() {
sut.show(activity.supportFragmentManager, "1")
val keyWords = listOf(
val keyWords = arrayListOf(
"ability",
"able",
"about",
@@ -24,7 +24,7 @@ package com.owncloud.android.ui.fragment
import android.graphics.BitmapFactory
import androidx.test.espresso.intent.rule.IntentsTestRule
import androidx.test.internal.runner.junit4.statement.UiThreadStatement.runOnUiThread
import com.nextcloud.client.TestActivity
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.lib.resources.users.StatusType
@@ -23,7 +23,7 @@
package com.owncloud.android.ui.fragment
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.client.TestActivity
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.datamodel.OCFile
@@ -37,19 +37,19 @@ import androidx.test.espresso.matcher.ViewMatchers.withText
import com.google.android.apps.common.testing.accessibility.framework.AccessibilityCheckResultBaseUtils.matchesCheckNames
import com.google.android.apps.common.testing.accessibility.framework.AccessibilityCheckResultUtils.matchesViews
import com.google.android.material.floatingactionbutton.FloatingActionButton
import com.nextcloud.client.RetryTestRule
import com.nextcloud.client.TestActivity
import com.nextcloud.test.RetryTestRule
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.datamodel.OCFile
import com.owncloud.android.lib.resources.shares.OCShare
import com.owncloud.android.lib.resources.shares.OCShare.CREATE_PERMISSION_FLAG
import com.owncloud.android.lib.resources.shares.OCShare.DELETE_PERMISSION_FLAG
import com.owncloud.android.lib.resources.shares.OCShare.MAXIMUM_PERMISSIONS_FOR_FILE
import com.owncloud.android.lib.resources.shares.OCShare.MAXIMUM_PERMISSIONS_FOR_FOLDER
import com.owncloud.android.lib.resources.shares.OCShare.NO_PERMISSION
import com.owncloud.android.lib.resources.shares.OCShare.READ_PERMISSION_FLAG
import com.owncloud.android.lib.resources.shares.OCShare.SHARE_PERMISSION_FLAG
import com.owncloud.android.lib.resources.shares.OCShare.Companion.CREATE_PERMISSION_FLAG
import com.owncloud.android.lib.resources.shares.OCShare.Companion.DELETE_PERMISSION_FLAG
import com.owncloud.android.lib.resources.shares.OCShare.Companion.MAXIMUM_PERMISSIONS_FOR_FILE
import com.owncloud.android.lib.resources.shares.OCShare.Companion.MAXIMUM_PERMISSIONS_FOR_FOLDER
import com.owncloud.android.lib.resources.shares.OCShare.Companion.NO_PERMISSION
import com.owncloud.android.lib.resources.shares.OCShare.Companion.READ_PERMISSION_FLAG
import com.owncloud.android.lib.resources.shares.OCShare.Companion.SHARE_PERMISSION_FLAG
import com.owncloud.android.lib.resources.shares.ShareType
import com.owncloud.android.ui.activity.FileDisplayActivity
import com.owncloud.android.ui.fragment.util.SharingMenuHelper
@@ -352,7 +352,8 @@ class FileDetailSharingFragmentIT : AbstractIT() {
val secondary = FileDetailFragment.newInstance(file, parentFolder, user)
activity.addSecondaryFragment(secondary, FileDisplayActivity.TAG_LIST_OF_FILES)
activity.addView(
FloatingActionButton(activity).apply { // needed for some reason
FloatingActionButton(activity).apply {
// needed for some reason
visibility = View.GONE
id = R.id.fab_main
}
@@ -27,13 +27,15 @@ import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.client.TestActivity
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.datamodel.ImageDimension
import com.owncloud.android.datamodel.OCFile
import com.owncloud.android.datamodel.ThumbnailsCacheManager
import com.owncloud.android.datamodel.ThumbnailsCacheManager.InitDiskCacheTask
import com.owncloud.android.datamodel.ThumbnailsCacheManager.PREFIX_RESIZED_IMAGE
import com.owncloud.android.lib.common.utils.Log_OC
import com.owncloud.android.utils.ScreenshotTest
import org.junit.After
import org.junit.Assert.assertNotNull
import org.junit.Before
@@ -46,16 +48,14 @@ class GalleryFragmentIT : AbstractIT() {
val testActivityRule = IntentsTestRule(TestActivity::class.java, true, false)
lateinit var activity: TestActivity
val random = Random()
val random = Random(1)
@Before
fun before() {
activity = testActivityRule.launchActivity(null)
createImage(1, true, 700, 300)
createImage(2, true, 500, 300)
createImage(7, true, 300, 400)
// initialise thumbnails cache on background thread
InitDiskCacheTask().execute()
}
@After
@@ -65,33 +65,47 @@ class GalleryFragmentIT : AbstractIT() {
super.after()
}
@ScreenshotTest
@Test
fun showGallery() {
fun showEmpty() {
val sut = GalleryFragment()
activity.addFragment(sut)
longSleep()
waitForIdleSync()
screenshot(activity)
}
private fun createImage(int: Int, createPreview: Boolean = true, width: Int? = null, height: Int? = null) {
@Test
@ScreenshotTest
fun showGallery() {
createImage(10000001, 700, 300)
createImage(10000002, 500, 300)
createImage(10000007, 300, 400)
val sut = GalleryFragment()
activity.addFragment(sut)
waitForIdleSync()
shortSleep()
screenshot(activity)
}
private fun createImage(id: Int, width: Int? = null, height: Int? = null) {
val defaultSize = ThumbnailsCacheManager.getThumbnailDimension().toFloat()
val file = OCFile("/$int.png").apply {
fileId = int.toLong()
remoteId = "$int"
val file = OCFile("/$id.png").apply {
fileId = id.toLong()
remoteId = "$id"
mimeType = "image/png"
isPreviewAvailable = true
modificationTimestamp = (1658475504 + int.toLong()) * 1000
modificationTimestamp = (1658475504 + id.toLong()) * 1000
imageDimension = ImageDimension(width?.toFloat() ?: defaultSize, height?.toFloat() ?: defaultSize)
storageManager.saveFile(this)
}
if (!createPreview) {
return
}
// create dummy thumbnail
var w: Int
var h: Int
val w: Int
val h: Int
if (width == null || height == null) {
if (random.nextBoolean()) {
// portrait
@@ -110,12 +124,12 @@ class GalleryFragmentIT : AbstractIT() {
val bitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888)
Canvas(bitmap).apply {
drawRGB(random.nextInt(256), random.nextInt(256), random.nextInt(256))
drawCircle(w / 2f, h / 2f, Math.min(w, h) / 2f, Paint().apply { color = Color.BLACK })
drawCircle(w / 2f, h / 2f, w.coerceAtMost(h) / 2f, Paint().apply { color = Color.BLACK })
}
ThumbnailsCacheManager.addBitmapToCache(PREFIX_RESIZED_IMAGE + file.remoteId, bitmap)
assertNotNull(ThumbnailsCacheManager.getBitmapFromDiskCache(PREFIX_RESIZED_IMAGE + file.remoteId))
Log_OC.d("Gallery_thumbnail", "created $int with ${bitmap.width} x ${bitmap.height}")
Log_OC.d("Gallery_thumbnail", "created $id with ${bitmap.width} x ${bitmap.height}")
}
}
@@ -0,0 +1,89 @@
/*
*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* Copyright (C) 2023 Tobias Kaminsky
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.owncloud.android.ui.fragment
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.android.lib.resources.groupfolders.Groupfolder
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.utils.ScreenshotTest
import org.junit.Before
import org.junit.Rule
import org.junit.Test
class GroupfolderListFragmentIT : AbstractIT() {
@get:Rule
val testActivityRule = IntentsTestRule(TestActivity::class.java, true, false)
lateinit var activity: TestActivity
@Before
fun before() {
activity = testActivityRule.launchActivity(null)
}
@Test
@ScreenshotTest
fun showGroupfolder() {
val sut = GroupfolderListFragment()
activity.addFragment(sut)
shortSleep() // to let async task finish
activity.runOnUiThread {
sut.setAdapter(null)
sut.setData(
mapOf(
Pair("2", Groupfolder(2, "/subfolder/group"))
)
)
}
waitForIdleSync()
shortSleep()
screenshot(activity)
}
@Test
@ScreenshotTest
fun showGroupfolders() {
val sut = GroupfolderListFragment()
activity.addFragment(sut)
shortSleep() // to let async task finish
activity.runOnUiThread {
sut.setAdapter(null)
sut.setData(
mapOf(
Pair("1", Groupfolder(1, "/test/")),
Pair("2", Groupfolder(2, "/subfolder/group"))
)
)
}
waitForIdleSync()
shortSleep()
screenshot(activity)
}
}
@@ -23,8 +23,8 @@
package com.owncloud.android.ui.fragment
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.client.GrantStoragePermissionRule
import com.nextcloud.client.TestActivity
import com.nextcloud.test.GrantStoragePermissionRule
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.datamodel.OCFile
import com.owncloud.android.lib.resources.shares.ShareType
@@ -48,20 +48,23 @@ class OCFileListFragmentStaticServerIT : AbstractIT() {
fun showFiles() {
val sut = testActivityRule.launchActivity(null)
val textFile = OCFile("/1.png")
textFile.mimeType = "image/png"
textFile.fileLength = 1024000
textFile.modificationTimestamp = 1188206955000
textFile.parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
sut.storageManager.saveFile(textFile)
OCFile("/1.png").apply {
mimeType = "image/png"
fileLength = 1024000
modificationTimestamp = 1188206955000
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
sut.storageManager.saveFile(this)
}
val imageFile = OCFile("/image.png")
imageFile.mimeType = "image/png"
imageFile.isPreviewAvailable = false
imageFile.fileLength = 3072000
imageFile.modificationTimestamp = 746443755000
imageFile.parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
sut.storageManager.saveFile(imageFile)
OCFile("/image.png").apply {
mimeType = "image/png"
isPreviewAvailable = false
fileLength = 3072000
modificationTimestamp = 746443755000
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
tags = listOf("Top secret")
sut.storageManager.saveFile(this)
}
OCFile("/video.mp4").apply {
mimeType = "video/mp4"
@@ -69,6 +72,7 @@ class OCFileListFragmentStaticServerIT : AbstractIT() {
fileLength = 12092000
modificationTimestamp = 746143952000
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
tags = listOf("Confidential", "+5")
sut.storageManager.saveFile(this)
}
@@ -0,0 +1,185 @@
/*
*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* Copyright (C) 2023 Tobias Kaminsky
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.owncloud.android.ui.fragment
import android.view.View
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.test.GrantStoragePermissionRule
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.datamodel.OCFile
import com.owncloud.android.lib.resources.shares.OCShare
import com.owncloud.android.lib.resources.shares.ShareType
import com.owncloud.android.utils.ScreenshotTest
import org.junit.Before
import org.junit.Rule
import org.junit.Test
internal class SharedListFragmentIT : AbstractIT() {
@get:Rule
val testActivityRule = IntentsTestRule(TestActivity::class.java, true, false)
@get:Rule
val permissionRule = GrantStoragePermissionRule.grant()
lateinit var sut: TestActivity
@Before
fun before() {
sut = testActivityRule.launchActivity(null)
}
@Test
@ScreenshotTest
fun showSharedFiles() {
val fragment = SharedListFragment()
val file = OCFile("/shared to admin.png").apply {
remoteId = "00000001"
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
mimeType = "image/png"
fileLength = 1024000
modificationTimestamp = 1188206955
permissions = OCFile.PERMISSION_CAN_RESHARE
sut.storageManager.saveFile(this)
}
val file1 = OCFile("/shared to group.png").apply {
remoteId = "00000001"
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
mimeType = "image/png"
fileLength = 1024000
modificationTimestamp = 1188206955
permissions = OCFile.PERMISSION_CAN_RESHARE
sut.storageManager.saveFile(this)
}
val file2 = OCFile("/shared via public link.png").apply {
remoteId = "00000001"
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
mimeType = "image/png"
fileLength = 1024000
modificationTimestamp = 1188206955
permissions = OCFile.PERMISSION_CAN_RESHARE
sut.storageManager.saveFile(this)
}
val file3 = OCFile("/shared to personal circle.png").apply {
remoteId = "00000001"
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
mimeType = "image/png"
fileLength = 1024000
modificationTimestamp = 1188206955
permissions = OCFile.PERMISSION_CAN_RESHARE
sut.storageManager.saveFile(this)
}
val file4 = OCFile("/shared to talk.png").apply {
remoteId = "00000001"
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
mimeType = "image/png"
fileLength = 1024000
modificationTimestamp = 1188206955
permissions = OCFile.PERMISSION_CAN_RESHARE
sut.storageManager.saveFile(this)
}
val shares = listOf(
OCShare(file.decryptedRemotePath).apply {
remoteId = 1
shareType = ShareType.USER
sharedWithDisplayName = "Admin"
permissions = OCShare.MAXIMUM_PERMISSIONS_FOR_FILE
userId = getUserId(user)
sharedDate = 1188206955
mimetype = "image/png"
sut.storageManager.saveShare(this)
},
OCShare(file1.decryptedRemotePath).apply {
remoteId = 2
shareType = ShareType.GROUP
sharedWithDisplayName = "Group"
permissions = OCShare.MAXIMUM_PERMISSIONS_FOR_FILE
userId = getUserId(user)
sharedDate = 1188206955
mimetype = "image/png"
sut.storageManager.saveShare(this)
},
OCShare(file2.decryptedRemotePath).apply {
remoteId = 3
shareType = ShareType.PUBLIC_LINK
label = "Customer"
sharedDate = 1188206955
mimetype = "image/png"
sut.storageManager.saveShare(this)
},
OCShare(file3.decryptedRemotePath).apply {
remoteId = 4
shareType = ShareType.CIRCLE
sharedWithDisplayName = "Personal circle"
permissions = OCShare.SHARE_PERMISSION_FLAG
userId = getUserId(user)
sharedDate = 1188206955
mimetype = "image/png"
sut.storageManager.saveShare(this)
},
OCShare(file4.decryptedRemotePath).apply {
remoteId = 11
shareType = ShareType.ROOM
sharedWithDisplayName = "Admin"
permissions = OCShare.SHARE_PERMISSION_FLAG
userId = getUserId(user)
sharedDate = 1188206955
mimetype = "image/png"
sut.storageManager.saveShare(this)
}
)
sut.addFragment(fragment)
shortSleep()
sut.runOnUiThread {
fragment.isLoading = false
fragment.mEmptyListContainer.visibility = View.GONE
fragment.adapter.setData(
shares,
SearchType.SHARED_FILTER,
storageManager,
null,
true
)
}
waitForIdleSync()
shortSleep()
shortSleep()
shortSleep()
screenshot(sut)
}
}
Loaded 100 of 770 files, more files were not shown because too many files have changed in this diff. Show more