Commit graph

1242 commits

Author SHA1 Message Date
Álvaro Brey
1c33fadb1f
Preserve local file behaviour when uploading files with new upload worker
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-24 17:30:52 +02:00
Álvaro Brey
554d831388
Prevent NPE if gallery search is triggered without a container activity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-24 17:12:14 +02:00
dependabot[bot]
fda93aacf4
Bump firebase-messaging from 23.0.7 to 23.1.0
Bumps firebase-messaging from 23.0.7 to 23.1.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 10:44:35 +00:00
Álvaro Brey
606e3d7ce5 Add screenshot test for storage permission dialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-24 09:10:50 +02:00
Álvaro Brey
6ed412d470 Fix creation and result logic for StoragePermissionDialogFragment
This prevents a crash on dialog recreation due to it not having default constructor, seen in Google Play crash records

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-24 09:10:50 +02:00
Nextcloud bot
5cfc68c931
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-24 03:21:09 +00:00
Nextcloud bot
020fd3c415
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-24 03:20:56 +00:00
Nextcloud bot
7859320616
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-23 03:21:12 +00:00
Nextcloud bot
911f9fce7b
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-23 03:20:57 +00:00
Nextcloud bot
a57580762d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-22 03:22:08 +00:00
Nextcloud bot
7ed654a238
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-22 03:21:53 +00:00
Álvaro Brey
f88c4330c8
SslUntrustedCertDialog: fix inflation to avoid NPE and add test to ensure it doesn't happen again
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-21 10:24:58 +02:00
Nextcloud bot
45163e377d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-21 03:29:34 +00:00
Nextcloud bot
756966750b
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-20 17:05:32 +00:00
Álvaro Brey
401812db81 Bump android-common:ui to 0.3.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-20 15:48:01 +02:00
Álvaro Brey
207c0ae9f0
Remove unused string again
Re-synced by transifex while transifex was not working properly

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-20 09:50:16 +02:00
Álvaro Brey
14de239e73
Merge pull request #10831 from nextcloud/fix/intents-mutability
Fix pending intent mutability for widget
2022-10-20 09:12:39 +02:00
Álvaro Brey
60fadebd11
Merge pull request #10832 from nextcloud/fix/ssl-dialog-injector
Add missing injector for SslUntrustedCertDialog
2022-10-20 09:12:22 +02:00
Álvaro Brey
f86ddb1d52
Merge pull request #10834 from nextcloud/fix/gallery-bottomsheet-crash
Fix crash in GalleryFragment when menu button is double-tapped
2022-10-20 09:04:16 +02:00
Álvaro Brey
b4f8773d7b
Fix crash in GalleryFragment when menu button is double-tapped
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 16:25:24 +02:00
Álvaro Brey
e151eb7bdf
Add missing injector for SslUntrustedCertDialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 16:11:59 +02:00
Álvaro Brey
0bbf90cc02
Fix pending intent mutability for widget
Mutability flag is compulsory from SDK 31 upwards, `FLAG_IMMUTABLE` is available in all our targeted APIs, and our app will always be able to update the same intent, as `FLAG_UPDATE_CURRENT` is set.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 16:08:41 +02:00
Álvaro Brey
dea4c2f530
Restore OCFileListGridImageViewHolder
Changed in #10079. Not sure why it was changed this way but it causes crashes.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 15:51:56 +02:00
Nextcloud bot
9b3c8510a1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-19 09:34:07 +00:00
Nextcloud bot
496e916534
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-19 09:33:47 +00:00
Álvaro Brey
e8933b402e
Merge pull request #10814 from nextcloud/bump-master-after-3.22
Bumps on master after 3.22 branched out
2022-10-19 11:12:12 +02:00
Álvaro Brey
b4f3ffb64d Bump app to 3.23.x on master
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 10:02:02 +02:00
dependabot[bot]
fa9f4ac6e2
Bump spotbugs-gradle-plugin from 5.0.12 to 5.0.13
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.12...5.0.13)

---
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] <support@github.com>
2022-10-19 01:06:16 +00:00
Álvaro Brey
787804d20b
ThumbnailsCacheManager: null out cache when clearing it
Cache is closed when clearing, so it becomes unusable. This way ThumbnailsCacheManager will work as expected

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-18 16:32:50 +02:00
tobiasKaminsky
3985421c9d Bump to SDK31
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-17 18:24:17 +02:00
Álvaro Brey
ef0537c52c
FilesUploadWorker: correctly handle account for uploads
Previous logic would only use the current account, disregarding and/or removing uploads started by other accounts

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 17:22:57 +02:00
Álvaro Brey
c96fa54bdd
FilesUploadHelper: do not start a job for every uploaded file
The job itself iterates over all pending files, only need to start one.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 17:22:57 +02:00
Álvaro Brey
cc0a9e9807
Adapt to m3 after rebase
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 17:22:57 +02:00
tobiasKaminsky
54c6d519ff
Upload in background with WorkManager
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 17:22:52 +02:00
Álvaro Brey
9bb018e634
Merge pull request #10079 from nextcloud/tileView
Tile view
2022-10-17 17:17:54 +02:00
Álvaro Brey
a8750d3946
GalleryFragment: disable fast scroll
Not working with tile view

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 15:49:16 +02:00
Álvaro Brey
43ab28161c
OCFileListDelegate: don't pass instance fields to instance methods
redundant

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 21:04:51 +02:00
Álvaro Brey
53e091fc68
Fix for m3 after rebase
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 21:02:15 +02:00
Tobias Kaminsky
2513d07821
Update app/src/main/java/com/owncloud/android/utils/BitmapUtils.java
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:13 +02:00
Tobias Kaminsky
c8498895e3
Update app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:13 +02:00
Tobias Kaminsky
5cc611085c
Update app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
Tobias Kaminsky
9c4fe0a22c
Update app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
Tobias Kaminsky
2d36f7b872
Update app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
Tobias Kaminsky
645f2c6e35
Update app/src/main/java/com/owncloud/android/MainApp.java
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
Tobias Kaminsky
140c6a43dc
Update app/src/androidTest/java/com/owncloud/android/ui/fragment/GalleryFragmentIT.kt
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
Tobias Kaminsky
051fef89e4
Update app/src/androidTest/java/com/owncloud/android/ui/fragment/GalleryFragmentIT.kt
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
tobiasKaminsky
17d67a2078
wip after CR
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-14 20:59:11 +02:00
tobiasKaminsky
66d8756bec
Add tile view to media view
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-14 20:58:34 +02:00
Álvaro Brey
67eda84f99
Remove unused string
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 20:42:37 +02:00
tobiasKaminsky
7030712c59
random fixes
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-14 20:37:41 +02:00
Álvaro Brey
816e30e6e1
Update screenshots after latest changes
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 17:18:13 +02:00
Álvaro Brey
5643d3e095
build: use tag for common lib
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 16:05:29 +02:00
Álvaro Brey
e9ae7dccce
File actions bottom sheet: fix misplaced creators block
This caused the creators to be invisible

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 15:27:51 +02:00
Álvaro Brey
7245e2a7b7
Use new theme utils for classes from master rebase
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:36:20 +02:00
Álvaro Brey
12dc5eb461
SettingsActivity: fix background color when system dark mode doesn't match app dark mode
Probably a quirk of the severely deprecated PreferenceActivity

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
b78249004b
SettingsActivity: disable list dividers
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
c6929815d6
Remove unneeded TODO
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Andy Scherzinger
aaba0d04b9
add disabled state to FAB
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:30:09 +02:00
Álvaro Brey
2bf3cbe473
AuthenticatorActivity: after login, immediately cache color in OCCapability
Needed to draw the next screen correctly

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
cb6a832afb
DialogFragmentIT: expand bottomsheet before taking screenshot, and update screenshot
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
4648890fab
Update screenshots for m3: PreviewBitmapActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
f9439c7d52
Update screenshots for m3: FirstRunActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
baea074f17
Fix screenshot tests for m3: NotificationsActivityIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
4574667e16
Fix screenshot test for FolderPickerActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
b7e487cbda
ReceiveExternalFilesActivity: fix disabled button coloring and update screenshot
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
95cee41a1f
Update screenshots for m3: DialogFragmentIT (most)
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
5390a1d5dc
Update screenshots for m3: AccountChooserDialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
4d0bf30d56
Update screenshots for m3: SetupEncryptionDialogFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
ea083cb1ec
Update screenshots for m3: ConflictsResolveActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
3e2d950b36
Update screenshots for m3: SyncedFoldersActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
604b5c6591
Update screenshots for m3: SendFilesDialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
9118af22ba
Update screenshots for m3: TrashbinActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
c6beedcf92
Update screenshots for m3: OCFileListFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
8ff30fce42
Update screenshots for m3: FileDetailSharingFragmentIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
aa71b6a961
Update screenshots for FileDetailFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
db758f0823
Update screenshots for m3: BackupListFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
3f2bf3ce2b
Update screenshots for m3: SendShareDialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
c0c99d2a06
Update screenshots for m3: UserInfoActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
de4d71feb5
Update screenshots for m3: UploadFilesActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
d5067988ed
Update screenshots for m3: PassCodeActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
92748d2bed
Update screenshots for m3: ManageAccountsActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
322f25568a
Update screenshots for m3: ContactsPreferenceActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
f8030ca4f6
Update screenshots for m3: EtmActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
451403a6c1
Update screenshots for m3: UploadListActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
a33ece4a2e
Update screenshots for m3: SettingsActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
964eb5d785
Update screenshots for m3: FileDisplayActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
397533cfbf
Update screenshots for m3: CommunityActivityIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
f78d0a9944
Update screenshots for m3: AuthenticatorActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
64eb90a170
Update screenshots for m3: ActivitiesActivityIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
0c3fdc1a2e
Fix toolbar colors for PreviewImageActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
61f237177b
Remove unused resources
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
7456354774
Remove obsolete TODOs
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
8ad0263f23
Move theme utils back to the theme package
No need for an extra package anymore

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
be87acd735
Clear almost all remainders of old theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
2a2c01f094
Use Material3 colors for loading dialogs
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
f189000edf
ExtendedListFragment: prevent NPE when activity doesn't have the buttons
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
c1cb7e9430
ThemeableSwitchPreference: use m3 utilities
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
898d655886
Clear some uses of old color utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
f943722b7c
Fix action mode colors
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
f0f18b548f
Fix background colors for popup menus and bottom sheets
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
62f7877fc7
Theme icons in gallery bottom sheet
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
538102b3e7
Clean up some theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:29:35 +02:00
Álvaro Brey
616222572b
FirstRunActivity: move to viewBinding in preparation for theming
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:29:35 +02:00
Andy Scherzinger
e902396aa3
Make status card views themed like tonal buttons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:35 +02:00
Andy Scherzinger
5eff338d45
remove unnecessary semicolon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:35 +02:00
Andy Scherzinger
d49f725e5e
improve status card views for m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
e10a28b893
unify bottom sheet items to 56dp m3 item heights
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
f4a2f734e4
move magic number to a constant
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
379c9d016f
adapt bottom sheet items to m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
74ba90943e
make quota bar rounded on the edges and remove containers background to remove the overpainting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
bdcfbbb377
move community activity hyperlink theming to m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
3c5268201a
remove legacy color method
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
2a90cc316a
move quota theming to drawer
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
d57ea5a010
theme share buttons in m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
6d1d03caf1
Add template card theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
da6b136bcb
improve secondary button m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
7495eeca71
update to spotless fixed common version
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
1657850ccb
m3 theming for backup fragnment
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
224e470ede
remove legacy color utils from OCFileList
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
afc7219440
remove unused variables due to new m3 theming methods in place
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
0a8e505ef5
remove legacy color util references from notification activity and adapter
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:32 +02:00
Andy Scherzinger
6792118b7a
move ssl validator to view binding
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:32 +02:00
Andy Scherzinger
671fe3dc3a
Move notification list buttons to m3 with updated outlinedf button handling from commons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:32 +02:00
Andy Scherzinger
7e8002b254
Move upload list to view binding and buttons' m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
1bfb91d3cc
properly theme input layout for m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
5d7d3d6641
m3 theming of e2ee dialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
bdeb51d50a
m3 theming for unified search results
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
a103c19439
properly theme upload header texts
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
97ab9cf0b8
improve picker theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
6dbd434d0c
theme sharing fragment
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
e0d4d84f16
remove unused colors
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
0f1d86b1a5
preserver exception history
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
53fefc855c
ignore constant array index due to legacy API on platform
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
cdcdeb4ef9
remove unused parameter
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
5a3f3da3b4
Remove unexpected blank line
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
5db87bf328
Apply m3 colors to markwon based markdown rendering
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:43 +02:00
Andy Scherzinger
ece61e46b6
theme user info activity
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:00 +02:00
Andy Scherzinger
ae4251177f
add search toolbar theming and general overflow menu theming for toolbar activities
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Álvaro Brey
29c2e8758f
Remove a bunch of unused injections and parameters for old theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:59 +02:00
Álvaro Brey
6ae4ac22e7
OCFileListDelegate: remove unused theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:59 +02:00
Álvaro Brey
efaad0a6da
Tint a bunch of drawables and toolbars with new utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
146d846405
remove unused theming legacy helpers
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
550924e19d
theme ripple effect on toolbar MaterialButtons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
5571574309
tint sharing bottom sheet icons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
1c7af1a08e
Theme permissions subline for link shares
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
c657461e6f
theme quick sharing bottom sheet icons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:58 +02:00
Álvaro Brey
b181336c6d
SettingsActivity: completely relaunch activity when dark mode is changed
recreate() is not enough and leaves the activity in a broken state

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:58 +02:00
Álvaro Brey
131bd9e62c
ProfileBottomSheetDialog: fix icon colors and detekt issues
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:58 +02:00
Álvaro Brey
d0a9fa2c72
Fix tints in user lists
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:58 +02:00
Álvaro Brey
5cf85fd2c8
Theme fast scrollbars
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:24:07 +02:00
Andy Scherzinger
ea4de13d9f
Update background for all bottomsheets
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:44 +02:00
Andy Scherzinger
ff9086bc87
fix tab layout theming on non-surface areas
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:44 +02:00
Álvaro Brey
e39ad8867c
Material3 theming for snackbars
Lots of Dagger and static code workarounds unfortunately

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:44 +02:00
Álvaro Brey
63aed99c93
Fix crash in LocalFileListAdapter due to uninitialized theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:44 +02:00
Álvaro Brey
0ab4743419
Fix ktlint
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:44 +02:00
Álvaro Brey
51332a6fea
Port some status bar theming to new utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:28 +02:00
Andy Scherzinger
6bf79d5a5f
Migrate primate drawable tinting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:28 +02:00
Andy Scherzinger
35fb67f0a6
background for settings screen
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:27 +02:00
Andy Scherzinger
7d7b3e3e0f
update status bar theming for toolbar activities
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
4ea5242acc
title and back/drawer icon theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
d3eb0d09cf
legacy action bar theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
980c74a172
theme search card view
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
117b07a3e9
Migrate navigation view to m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
a92bc8529a
Migrate SyncedFolder dialog to MaterialAlertDialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
2062692e2f
Migrate SSLUntrusterCert and StoragePermission to MaterAlertDialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
4058896f3f
organize imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:07 +02:00
Álvaro Brey
b3a4a5f29f
Replace ThemeAvatarUtils with common material3 utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:07 +02:00
Álvaro Brey
e969024a11
Replace ThemeTextUtils with new FilesSpecificViewThemeUtils class using material3 schemes
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:07 +02:00
Andy Scherzinger
50ae0581e4
Update further dialogs to m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:07 +02:00
Andy Scherzinger
a131656d8f
convert conflicts and create folder dialogs to MaterialAlterDialogs
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
ee170a4e4c
move template chooser to MaterialAlterDialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
5d84bfc2e4
enhance m3 theming for confirmation dialogs and template chooser
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
dd9bdaa886
enhance account removal confirmation dialog m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
25bbbea282
enhance set status dialog m3 themeing
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
50a6937ca4
improve m3 account chooser theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
d1621d74d1
Polish m3 for account chooser and rename background
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
90f060e944
Update theming on rename dialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:51 +02:00
Álvaro Brey
8a31f9b8f7
Replace ThemeMenuUtils with common library utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:51 +02:00
Álvaro Brey
413df44a3c
Replace ThemeTextInputUtils with common lib utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:51 +02:00
Álvaro Brey
8854fd40c4
Update common lib version
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:51 +02:00
Álvaro Brey
8078fe0ee0
Generate MaterialSchemes from colorPrimary when there's no logged in user
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:06 +02:00
Álvaro Brey
46fef5c883
Replace ThemeCheckableUtils with common lib utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:06 +02:00
Álvaro Brey
ba05bf7c5a
Fix simple detekt issue
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:06 +02:00
Álvaro Brey
22dc29ce43
Replace ThemeFabUtils and ThemeLayoutUtils with common library utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:05 +02:00
Álvaro Brey
2755c78bbd
Replace ThemeButtonUtils with utils from common lib
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:04 +02:00
Álvaro Brey
f16f9400ed
Replace ThemeBarUtils with common themeutils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:21:27 +02:00
Álvaro Brey
7fedeeb797
Initial setup for material 3 utils from library
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:21:24 +02:00
Andy Scherzinger
0308ace17f
PoC for Matzerial3 theming
Resolves #10641

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:21:08 +02:00
Álvaro Brey
2cbd6d9659
Merge pull request #10719 from nextcloud/dashboard
Dashboard
2022-10-14 11:06:43 +02:00
tobiasKaminsky
efa886b455
Add dashboard widgets
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-14 10:25:35 +02:00
dependabot[bot]
5746587d7a
Bump gradle from 7.3.0 to 7.3.1
Bumps gradle from 7.3.0 to 7.3.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] <support@github.com>
2022-10-14 01:04:34 +00:00
tobiasKaminsky
029b290a31
Close FOS
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-13 08:46:26 +02:00
Álvaro Brey
64d8b0e667
Merge pull request #10784 from nextcloud/chore/spotless
Use Spotless for ktlint
2022-10-10 14:11:16 +02:00
Álvaro Brey
89ddbd467c
Merge pull request #10718 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.12
Bump spotbugs-gradle-plugin from 5.0.11 to 5.0.12
2022-10-07 17:55:56 +02:00
Álvaro Brey
b463c04d36
Suppress detekt issue brought up by reformatting:
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:50:33 +02:00
Álvaro Brey
41a3a06a53
Fix previously undetected ktlint issues
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:49:23 +02:00
Álvaro Brey
11d665d972
build: Fix ktlint call in check task
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:49:05 +02:00
Álvaro Brey
13d4aed502
Move installGitHooks task to root project and fix target dir
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:44:52 +02:00
Álvaro Brey
0d646233b0
Replace ktlint plugin with Spotless
The original plugin did not check all sourcesets :(

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:42:29 +02:00
dependabot[bot]
5a9d4fca05
Bump exifinterface from 1.3.3 to 1.3.4
Bumps exifinterface from 1.3.3 to 1.3.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-06 01:09:04 +00:00
Álvaro Brey
9514b33e24
Merge pull request #10768 from nextcloud/dependabot/gradle/org.bouncycastle-bcpkix-jdk15to18-1.72
Bump bcpkix-jdk15to18 from 1.70 to 1.72
2022-09-30 11:33:15 +02:00
Álvaro Brey
e9c1013298
Merge pull request #10767 from nextcloud/dependabot/gradle/mockkVersion-1.13.2
Bump mockkVersion from 1.12.5 to 1.13.2
2022-09-30 10:42:27 +02:00
Álvaro Brey
934d7ae20f
Merge pull request #10765 from nextcloud/dependabot/gradle/org.json-json-20220924
Bump json from 20220320 to 20220924
2022-09-30 10:33:55 +02:00
Álvaro Brey
6c217cffa6
Update packagingOptions
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-30 10:00:24 +02:00
Nextcloud bot
6033c19df4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-30 05:46:13 +00:00
Nextcloud bot
e2c149cbe6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-29 04:36:51 +00:00
dependabot[bot]
4d700100c2
Bump bcpkix-jdk15to18 from 1.70 to 1.72
Bumps [bcpkix-jdk15to18](https://github.com/bcgit/bc-java) from 1.70 to 1.72.
- [Release notes](https://github.com/bcgit/bc-java/releases)
- [Changelog](https://github.com/bcgit/bc-java/blob/master/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcpkix-jdk15to18
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 01:05:19 +00:00
Álvaro Brey
4bc0e24efd
Merge pull request #10760 from nextcloud/fix/9887
TextDrawable: handle spaces at start/end of displayNames
2022-09-28 10:50:38 +02:00
dependabot[bot]
72cc925a51
Bump json from 20220320 to 20220924
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20220320 to 20220924.
- [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] <support@github.com>
2022-09-26 01:33:40 +00:00
Nextcloud bot
89a0ff5b5a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-24 04:33:26 +00:00
Álvaro Brey
43bf5b982a
TextDrawable: handle spaces at start/end of displayNames
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-23 17:13:15 +02:00
Álvaro Brey
d515d34811
Merge pull request #10759 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.3
Bump fragment-ktx from 1.5.2 to 1.5.3
2022-09-23 12:33:35 +02:00
dependabot[bot]
0d65e83353
Bump spotbugs-gradle-plugin from 5.0.11 to 5.0.12
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.11 to 5.0.12.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.11...5.0.12)

---
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] <support@github.com>
2022-09-23 09:36:05 +00:00
Álvaro Brey
825ebd0bc6
Merge pull request #10753 from nextcloud/dependabot/gradle/androidx.annotation-annotation-1.5.0
Bump annotation from 1.4.0 to 1.5.0
2022-09-23 11:31:57 +02:00
dependabot[bot]
92c07102f7
Bump fragment-ktx from 1.5.2 to 1.5.3
Bumps fragment-ktx from 1.5.2 to 1.5.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 09:26:33 +00:00
Álvaro Brey
45bcd5e33a PassCodeManager: fix compilation error with kotlin 1.7.10
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-23 09:21:40 +02:00
Nextcloud bot
ac332e96ce
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-23 04:29:28 +00:00
Nextcloud bot
969f3471d4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-22 04:32:53 +00:00
dependabot[bot]
a9e2037983
Bump annotation from 1.4.0 to 1.5.0
Bumps annotation from 1.4.0 to 1.5.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 01:15:43 +00:00
Tobias Kaminsky
3490fb66a6
Merge pull request #10745 from Sandelinos/themed-icons
Add monochrome icon
2022-09-20 11:56:06 +02:00
Nextcloud bot
4cb1d94a7e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-20 04:31:51 +00:00
Tobias Kaminsky
7f621159ee
Merge pull request #10705 from nextcloud/test/disable-backup
AndroidManifest: disable backup&restore
2022-09-19 07:24:16 +02:00
Sandelinos
1da8117902 Add monochrome icon
Signed-off-by: Sandelinos <3103376-Sandelinos@users.noreply.gitlab.com>
2022-09-18 20:07:54 +03:00
Álvaro Brey
25234fdb85
Rollback emoji-google to 0.9.0
New version is not compatible with Jacoco for some reason

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 16:36:52 +02:00
Álvaro Brey
f8d53218da AndroidManifest: disable backup&restore
Currently broken

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 12:21:13 +02:00
Álvaro Brey
9a0848e486
Move package declarations to build.gradle
Requested by AGP upgrade and also is crashing test builds

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 11:52:22 +02:00
Álvaro Brey
07aedfd888
Solve new lint warnings with AGP 7.3.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 11:52:22 +02:00
dependabot[bot]
b448e08985
Bump gradle from 7.1.3 to 7.3.0
Bumps gradle from 7.1.3 to 7.3.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] <support@github.com>
2022-09-16 11:52:21 +02:00
Nextcloud bot
5c538146d6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-16 04:23:25 +00:00
Nextcloud bot
ddd87c5168
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-15 04:30:55 +00:00
Nextcloud bot
fe291eb973
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-14 04:22:50 +00:00
Nextcloud bot
2bc22fd76c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-13 04:26:49 +00:00
Nextcloud bot
56cf6bc531
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-11 04:29:41 +00:00
Nextcloud bot
515f2c3b72
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-10 04:32:40 +00:00
Nextcloud bot
297da371d7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-07 04:28:25 +00:00
Álvaro Brey
35878574df
Merge pull request #10706 from nextcloud/fix/delete-image-crash
PreviewImageFragment: prevent crash when redrawing menu after file deletion
2022-09-06 09:03:21 +02:00
dependabot[bot]
9ac17e7c17
Bump spotbugs-gradle-plugin from 5.0.10 to 5.0.11
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.10 to 5.0.11.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.10...5.0.11)

---
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] <support@github.com>
2022-09-05 12:35:51 +00:00
Nextcloud bot
ba0b7af6ce
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-03 04:27:10 +00:00
Álvaro Brey
37a9c438cd
PreviewImageFragment: prevent crash when redrawing menu after file deletion
For some reason this is called again after deleting the file (probably a fragment-ktx update or something).
However at this point getFileById will return null and crash the rest of the method.

This adds some checks to prevent that.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-02 16:25:15 +02:00
Álvaro Brey
c962476d90
Merge pull request #10703 from nextcloud/addAccount
Restart account creation with AuthenticatorActivity, which helps to add account in restricted profiles, e.g. MDM or Samsung second users
2022-09-02 12:21:21 +02:00
tobiasKaminsky
a6dcf263aa
Restart account creation with AuthenticatorActivity, which helps to add account in restricted profiles, e.g. MDM or Samsung second users
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-09-02 11:10:45 +02:00
Álvaro Brey
e9366e6130
Merge pull request #10688 from nextcloud/fix/noid/no_full_refresh_on_browse_up
Avoid full folder refresh during onBrowseUp
2022-09-02 09:39:06 +02:00
Nextcloud bot
f0ffed6878
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-02 04:21:29 +00:00
Álvaro Brey
74055b32fb
Revert "Bump targetSdkVersion to 31"
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-01 12:25:26 +02:00
Nextcloud bot
7a6162a6e5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-31 04:14:27 +00:00
Nextcloud bot
6677e0812d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-30 04:16:52 +00:00
Dariusz Olszewski
e2a6957ac1 Avoid full folder refresh during onBrowseUp
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-08-28 17:22:48 +02:00
Nextcloud bot
6e33b92c07
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-28 04:13:49 +00:00
Nextcloud bot
d76c8ea4e6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-27 04:13:57 +00:00
Nextcloud bot
9d287f9bfc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-26 04:14:47 +00:00
Álvaro Brey
d6fb21c0bd
Merge pull request #10657 from nextcloud/revert-10148-proseMirror
Revert "Test proseMirror with custom user agent"
2022-08-25 17:07:58 +02:00
Nextcloud bot
084fdafd7c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-25 04:15:36 +00:00
Álvaro Brey
61c2dbb3d6
Merge pull request #10584 from nextcloud/fix/syncedfolderutils-inconsistent-comparator
SyncedFolderUtils: solve inconsistent comparator crashes
2022-08-23 09:42:35 +02:00
Álvaro Brey
ce7ef477bb
SyncedFolderUtils: fix logic when numberOfFiles != actual file number
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 17:56:14 +02:00
Álvaro Brey
ae03b03860
Merge pull request #10656 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.10
Bump spotbugs-gradle-plugin from 5.0.9 to 5.0.10
2022-08-22 16:54:18 +02:00
Tobias Kaminsky
69850b4397
Merge pull request #10608 from nextcloud/bump-master-3.22
Bump OUTDATED_SERVER_VERSION to Nextcloud 22
2022-08-22 16:41:21 +02:00
Álvaro Brey
7663b40231
Merge pull request #10649 from nextcloud/dependabot/gradle/pl.droidsonroids.gif-android-gif-drawable-1.2.25
Bump android-gif-drawable from 1.2.24 to 1.2.25
2022-08-22 16:09:03 +02:00
Álvaro Brey
00644d9384 SyncedFolderUtils: solve inconsistent comparator
Calling lastModified() inside the comparator can produce inconsistent results if last modification date changes while sorting

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 16:07:48 +02:00
Álvaro Brey
7e3e760887 SyncedFolderUtils: convert to kotlin step 2 and deduplicate
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 16:07:48 +02:00
Álvaro Brey
3d7afa1b58 SyncedFolderUtils: convert to Kotlin step 1
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 16:07:48 +02:00
Álvaro Brey
fbfec4a0d7
Merge pull request #10545 from nextcloud/bumpSDK31
Bump targetSdkVersion to 31
2022-08-22 16:07:12 +02:00
Álvaro Brey
abe583d7de Bump OUTDATED_SERVER_VERSION to Nextcloud 22
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 12:38:20 +00:00
Álvaro Brey
a159568077
Merge pull request #10610 from nextcloud/fix/search-on-copy-screen
Disable search on folder picker activity
2022-08-22 14:33:24 +02:00
Álvaro Brey
98bf8f26b8
Add RetryTestRule to FileDisplayActivityIT
showShares is flaky

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 12:55:53 +02:00
tobiasKaminsky
57ca106788 add data-extraction-rules
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-22 10:16:56 +00:00
tobiasKaminsky
adb53f1d5b Bump targetSdkVersion to 31
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-22 10:16:56 +00:00
Álvaro Brey
3836eeb088
Revert "Test proseMirror with custom user agent" 2022-08-22 11:41:08 +02:00
Nextcloud bot
cf959ee14d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-22 04:13:30 +00:00
dependabot[bot]
38488abb09
Bump spotbugs-gradle-plugin from 5.0.9 to 5.0.10
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.9 to 5.0.10.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.9...5.0.10)

---
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] <support@github.com>
2022-08-22 01:29:33 +00:00
Nextcloud bot
e6cd1cfce4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-21 04:12:29 +00:00
Álvaro Brey
9ab052d379 SaveCalendar: reuse property factory
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-19 15:38:50 +02:00
Álvaro Brey
8e751eedab Setup ical4j caching class
Needed since 3.0

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-19 15:38:50 +02:00
tobiasKaminsky
1a6ec16af8 Use 3.0.0
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-19 15:38:50 +02:00
dependabot[bot]
e1115c1dcf Bump ical4j from 1.0.8 to 3.2.5
Bumps [ical4j](https://github.com/ical4j/ical4j) from 1.0.8 to 3.2.5.
- [Release notes](https://github.com/ical4j/ical4j/releases)
- [Changelog](https://github.com/ical4j/ical4j/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ical4j/ical4j/compare/ical4j-1.0.8...ical4j-3.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-19 15:38:50 +02:00
Álvaro Brey
68c7eddf46
Use ArbitraryDataProvider to store backup preferences
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-19 13:00:14 +02:00
dependabot[bot]
18b1e04301
Bump android-gif-drawable from 1.2.24 to 1.2.25
Bumps [android-gif-drawable](https://github.com/koral--/android-gif-drawable) from 1.2.24 to 1.2.25.
- [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.24...v1.2.25)

---
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] <support@github.com>
2022-08-19 01:05:56 +00:00
Álvaro Brey
7a1e8189da Actually persist backup preferences
Currently, the backup is always enabled if the permissions are granted, so the checkboxes make no sense.

This fixes that by actually persisting the checkbox status as a preference, and honoring that for schedulling/cancelling the backup jobs.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-18 16:26:20 +02:00
Álvaro Brey
71fb20b524
Merge pull request #10609 from nextcloud/fix/calendar-backup
BackupFragment: request write_calendar permission for backup
2022-08-18 16:25:51 +02:00
dhruv
4f19252726 SingleLine attribute removed
Signed-off-by: dhruv <dhruvpatidar35@gmail.com>
2022-08-18 15:49:40 +05:30
Álvaro Brey
2d3982060c
BackupFragment: request write_calendar permission for backup
Needed to ensure events have UIDs for ICS export

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-17 17:02:46 +02:00
tobiasKaminsky
04b4f6b5d4 Moved libraries from nextcloud to nextcloud-deps
As links still work, this is not really needed, but still good to point to new location.
Thus no backport is needed.

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-17 14:06:50 +02:00
Nextcloud bot
5671394559
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-17 04:14:13 +00:00
Nextcloud bot
9a08c5b3ea
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-16 04:14:33 +00:00
Tobias Kaminsky
7555b2b26b
Merge pull request #10602 from nextcloud/fix/showshares-random-crash
FDA IT.showShares: open shared section through menu
2022-08-15 15:48:02 +02:00
Nextcloud bot
ce4980a268
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-14 04:12:41 +00:00
Nextcloud bot
7f2b4d9c74
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-13 04:14:24 +00:00
Nextcloud bot
038b143147
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-12 04:12:17 +00:00
Álvaro Brey
299d972b54
Merge pull request #10620 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.2
Bump fragment-ktx from 1.5.1 to 1.5.2
2022-08-11 11:22:55 +02:00
Álvaro Brey
6923ba396d FileDisplayActivityIT: convert to Kotlin, since we're here
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-11 11:19:07 +02:00
Álvaro Brey
bdf075ac48 FileDisplayActivityIT.showShares: open share view through menu
This is more correct, and also seems to prevent random recyclerview crashes in CI

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-11 11:19:07 +02:00
Nextcloud bot
69452d86e5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-11 04:11:27 +00:00
dependabot[bot]
fd7c5c4d2a
Bump fragment-ktx from 1.5.1 to 1.5.2
Bumps fragment-ktx from 1.5.1 to 1.5.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11 01:38:45 +00:00
Nextcloud bot
7bf1d73c89
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-10 04:19:12 +00:00
Nextcloud bot
e1cc046be2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-09 04:11:02 +00:00
Álvaro Brey
359d2ab356
Disable search on folder picker activity
Wasn't implemented and it's hard to get going

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-08 17:28:25 +02:00
Álvaro Brey
8c62cb1c0c FileMenuFilter: reorder conditionals for performance (Spotbugs)
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-08 13:57:57 +02:00
tobiasKaminsky
7c9941ac0c Only allow "unset encryption" when folder is empty
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-08 13:57:57 +02:00
Nextcloud bot
17977f42f0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-08 07:07:25 +00:00
Valdnet
2a6f4fe493 i18n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-08-05 13:25:16 +02:00
Álvaro Brey
54c404cf02
Merge pull request #10595 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.7
Bump firebase-messaging from 23.0.6 to 23.0.7
2022-08-05 13:00:03 +02:00
Álvaro Brey
c99b5c1254
Merge pull request #10537 from nextcloud/followUpSameName
Check empty/same name on creating text files
2022-08-05 12:47:22 +02:00
Álvaro Brey
1194a5c866
Merge pull request #10544 from nextcloud/fix/upload-external-uri-internal-path
Prevent URI uploads from external apps that target private storage
2022-08-05 11:12:15 +02:00
Nextcloud bot
acd800394d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-05 03:47:57 +00:00
dependabot[bot]
a52f833f1c
Bump firebase-messaging from 23.0.6 to 23.0.7
Bumps firebase-messaging from 23.0.6 to 23.0.7.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-05 01:14:23 +00:00
dependabot[bot]
37c4c30814 Bump detekt-gradle-plugin from 1.20.0 to 1.21.0
Bumps [detekt-gradle-plugin](https://github.com/detekt/detekt) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/compare/v1.20.0...v1.21.0)

---
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] <support@github.com>
2022-08-04 15:58:55 +02:00
tobiasKaminsky
db490b245f also check if folder
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-08-04 15:58:25 +02:00
Álvaro Brey
64ddaf4405
ReceiveExternalFilesActivity: fix type of empty list container
It's now a NestedScrollView

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 15:57:07 +02:00
Álvaro Brey
8f8274cab2
Cleanup UriUploader a bit, and add tests for private paths
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 15:56:11 +02:00
Álvaro Brey
cd3bd0845a
Don't accept uris to upload from external apps if they contain this app's package name
Prevent leaks of files in this app's storage

Co-authored-by: Tobias Kaminsky <tobias@kaminsky.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 15:56:11 +02:00
Álvaro Brey
61f891201b
UriUploader: convert to Kotlin step 2
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 15:56:11 +02:00
Álvaro Brey
bbfb58f644
UriUploader: convert to Kotlin step 1
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 15:56:06 +02:00
Álvaro Brey
f0bde3d588
Merge pull request #10587 from nextcloud/fix/loginit-master
LoginIT: fix for new accessibility changes in server master
2022-08-04 14:44:05 +02:00
Álvaro Brey
060e151a07
Merge pull request #10578 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.9.1
Bump gson from 2.9.0 to 2.9.1
2022-08-04 11:33:58 +02:00
Álvaro Brey
bf0db5fea5 LoginIT: fix for new accessibility changes in server master
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 11:33:17 +02:00
Álvaro Brey
cad6992121
Merge pull request #10579 from nextcloud/exportAlsoFromVideoImage
Also handle export from video/image correctly
2022-08-04 11:28:37 +02:00
Nextcloud bot
fa71911c8f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-04 03:47:27 +00:00
Álvaro Brey
ac948df165
Merge pull request #10430 from Tiam-Abderezai/bugfix/10405/check_context_in_PreviewImageFragment
Fix #10405 Context check for ImagePreviewFragment
2022-08-03 16:30:45 +02:00
tobiasKaminsky
135459cf6a Also handle export from video/image correctly
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-03 13:10:58 +00:00
dependabot[bot]
89a7845c1f Bump gson from 2.9.0 to 2.9.1
Bumps [gson](https://github.com/google/gson) from 2.9.0 to 2.9.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.9.0...gson-parent-2.9.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] <support@github.com>
2022-08-03 13:06:08 +00:00
Álvaro Brey
37b52479f3
Merge pull request #10566 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.5.1
Bump lifecycle-viewmodel-ktx from 2.5.0 to 2.5.1
2022-08-03 15:03:46 +02:00
Álvaro Brey
f562038e65
Merge pull request #10565 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.1
Bump fragment-ktx from 1.5.0 to 1.5.1
2022-08-03 14:42:46 +02:00
dependabot[bot]
d37ce2fd10
Bump lifecycle-viewmodel-ktx from 2.5.0 to 2.5.1
Bumps lifecycle-viewmodel-ktx from 2.5.0 to 2.5.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 11:41:53 +00:00
Álvaro Brey
b8f5ffceb4
Merge pull request #10559 from nextcloud/showCreatedEncryptedFolder
Fix not entering folder upon creation
2022-08-03 13:30:49 +02:00
Tiam
e38e70f3f1 Fix #10405
Show only error snackbar if context is available
Signed-off-by: Tiam Abderezai <tiam.abderezai@gmail.com>

Signed-off-by: Tiam <tiam.abderezai@gmail.com>
2022-07-31 05:51:56 -04:00
Nextcloud bot
ee5b444378
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-29 03:44:58 +00:00
dependabot[bot]
c64448012a
Bump fragment-ktx from 1.5.0 to 1.5.1
Bumps fragment-ktx from 1.5.0 to 1.5.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 01:09:43 +00:00
tobiasKaminsky
0fffcda1af
Change video icon
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-27 09:14:13 +02:00
tobiasKaminsky
f70e830deb
Fix not entering folder upon creation
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-26 09:02:31 +02:00
Nextcloud bot
c1512ff580
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-26 04:10:58 +00:00
Tobias Kaminsky
a36699d7df
Merge pull request #10556 from nextcloud/fixReceiveFile
Fix receive file
2022-07-25 12:01:46 +02:00
tobiasKaminsky
35635f9039
Add test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-25 11:22:47 +02:00
tobiasKaminsky
0af94d2b62
Fix npe by migrating to binding
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-25 07:59:01 +02:00
Nextcloud bot
69804ce0f1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-25 04:09:40 +00:00
Nextcloud bot
b4b38050dc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-23 04:08:36 +00:00
tobiasKaminsky
6e02f6e2b8 Log to Log_OC
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-22 06:03:16 +00:00
tobiasKaminsky
278eae0fa8
Revert "daily dev 20220721"
This reverts commit d9bc4d0d88.
2022-07-21 10:08:01 +02:00
Tobias Kaminsky
d9bc4d0d88 daily dev 20220721
Update translations
Update Nextcloud Android library
2022-07-21 10:03:01 +02:00
Nextcloud bot
2434e84819
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-21 04:13:20 +00:00
Nextcloud bot
7af86116e1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-20 04:08:53 +00:00
Álvaro Brey
aa6bef6b54
RetryTestRule: reduce log level of "normal" log
Shouldn't be an error

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-18 12:02:36 +02:00
Nextcloud bot
eaef5fc48a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-18 04:08:27 +00:00
Nextcloud bot
834894fe70
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-17 04:09:26 +00:00
Nextcloud bot
65dc435a93
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-16 04:09:38 +00:00
Tobias Kaminsky
c7b17ddaaa
Merge pull request #10522 from nextcloud/fix/folderpicker_it_open_focus
Don't allow focus on empty view and restore mis-updated screenshot
2022-07-14 12:25:14 +02:00
Nextcloud bot
8ee58653a8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-14 04:09:54 +00:00
Álvaro Brey
5ba739d8df
Don't allow focus on empty view and restore mis-updated screenshot
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-13 16:53:34 +02:00
Álvaro Brey
a920ba3c27
Merge pull request #10497 from nextcloud/fix/empty-view-scrolling
Allow scrolling empty views
2022-07-13 15:54:35 +02:00
Álvaro Brey
73cc4aa4f3
Make empty list views scrollable
This will prevent them from being cut when vertical space is not enough, for example in landscape mode

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-13 11:11:07 +02:00
Nextcloud bot
48346a797a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-13 04:09:10 +00:00
tobiasKaminsky
c06412ab1b
Bump master to 3.22 Alpha0
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-12 08:05:24 +02:00
Tobias Kaminsky
5d0d0039a8
Merge pull request #10418 from nextcloud/fixRenamingFolder
Fix missing update of storage path, so that files/folders were only locally changed, but update not reflected in UI
2022-07-12 06:59:03 +02:00
Nextcloud bot
94c1116b52
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-12 04:12:12 +00:00
tobiasKaminsky
82fcf2e3a0
Fix missing update of storage path, so that files/folders were only locally changed, but update not reflected in UI
add IT test

update search lists after renaming

extract string to variable

Remove local/storageManager files after each test run

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-11 15:19:56 +02:00
Álvaro Brey
c1f53e65de
EndToEndRandomIT: create keys before all tests
Fixes inconsistencies due to keys created at wrong time

Co-authored-by: Tobias Kaminsky <tobias@kaminsky.me>

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-11 11:16:23 +02:00
tobiasKaminsky
bcfa832309
find out why reInit fails
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-11 09:27:11 +02:00
tobiasKaminsky
6325d07800
Test for delete folder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-11 09:27:11 +02:00
tobiasKaminsky
3cae976597
Allow to delete encrypted folders
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-11 09:27:11 +02:00
Tobias Kaminsky
d31f3f7988
Merge pull request #10483 from nextcloud/fix/share-link-email-crash
FileDetailsSharingProcessFragment: avoid crashing when modifying existing shares
2022-07-11 07:54:19 +02:00
Nextcloud bot
9c60c2d636
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-11 04:09:57 +00:00
Nextcloud bot
603b3b1f83
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-10 04:12:07 +00:00
Nextcloud bot
56cabe6174
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-09 04:09:56 +00:00
Álvaro Brey
9445a6c3e3
OCFileListFragment: remove all the "resetHeaderScrollngState" calls
Now handled with a listener in FileDisplayActivity

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-08 16:41:17 +02:00
Tobias Kaminsky
f6a99ef9ca
Merge pull request #10357 from nextcloud/warnOnExistingFile
When during renaming the same name already exists in same folder: show an error, disable confirm button
2022-07-08 08:38:31 +02:00
Tobias Kaminsky
546f69cfe4
Merge pull request #10490 from nextcloud/endlessRefresh
add broadcastReceiver when switching from media -> on device
2022-07-08 08:34:26 +02:00
Nextcloud bot
94569b0e12
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-08 04:11:30 +00:00
Tobias Kaminsky
97e220a83f
Merge pull request #10481 from nextcloud/fix/share-link-crash
FileActivity: fix crash when creating share link from FileDetailsFragment
2022-07-07 14:34:09 +02:00
Tobias Kaminsky
f253876d57
Merge pull request #10487 from nextcloud/fix/folder-picker-activity-menu
FolderPickerActivity: call super.onCreateOptionsMenu inside overriding method
2022-07-07 14:32:49 +02:00
Tobias Kaminsky
4fc60c2ae1
Merge pull request #10489 from nextcloud/fix/crash-status-dialog-darkmode
SetStatusDialogFragment: fix nullability of itemSelected parameter
2022-07-07 14:32:10 +02:00
tobiasKaminsky
c3fd318437
add broadcastReceiver when switching from media -> on device
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-07 14:20:41 +02:00
Tobias Kaminsky
5baa1c8f45
Merge pull request #10484 from nextcloud/media-view-options
Media view filter options
2022-07-07 12:14:15 +02:00
Álvaro Brey
1b968c2695
SetStatusDialogFragment: fix nullability of itemSelected parameter
Prevents crash when fragment is recreated (like when switching dark mode)

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-07 11:46:25 +02:00
tobiasKaminsky
389e33d524
correct formatting
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-07 10:17:54 +02:00
tobiasKaminsky
bb69f8cb86
use sets instead of lists
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-07 10:06:26 +02:00
tobiasKaminsky
27f716109d
When during renaming the same name already exists in same folder: show an error, disable confirm button
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-07 10:06:24 +02:00
Tobias Kaminsky
427b503b8a
Merge pull request #10443 from nextcloud/export
File export / download
2022-07-07 10:02:40 +02:00
tobiasKaminsky
61b85ed52f
fix lint warnings
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-07 09:57:36 +02:00
Álvaro Brey
ffd49266ec
FolderPickerActivity: call super.onCreateOptionsMenu inside overriding method
Fixes a bug where ExtendedListFragment.onCreateOptionsMenu is not called for the child fragment

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-07 09:15:53 +02:00
Nextcloud bot
0e0bfbbd12
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-07 04:09:05 +00:00
A117870935
a72932731f
Media view filter options
Squashed commit of the following:

commit ddb107778d
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Tue Jul 5 18:15:38 2022 +0530

    Delete FolderPickerActivity.java

commit f471cc2810
Merge: 0c5b2309bc 1341f1fbe6
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Tue Jul 5 18:13:43 2022 +0530

    Merge branch 'media-view-options' of https://github.com/nextmcloud/android into media-view-options

commit 0c5b2309bc
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Tue Jul 5 18:12:44 2022 +0530

    Rebasing with master

commit de4eeb5004
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Fri Jun 24 10:45:22 2022 +0530

    Code optimisation.

commit eb8128df34
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Mon May 9 16:57:14 2022 +0530

    Removed unused code and code optimisation

commit ed00306ee7
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Fri May 6 12:23:47 2022 +0530

    Code formatting via KtLint

commit a7e925d692
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Thu May 5 17:28:51 2022 +0530

    Code optimisation, copyrights added and bug fixing.

commit ccb07fc73b
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 60e27ce765
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit e4e29d8cdc
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 3cd34b4bfb
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 391ef3a21e
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit b614cfa213
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit eb864fb22b
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit fc4788e796
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 16:02:19 2022 +0530

    Rebased with master and conflicts resolved

commit ee0d13a438
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 6bf6fb210d
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 0964f77cdb
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 7eeea6219a
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 078a462149
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 579e42f64a
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit 093dfea09b
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit 0ddbf0475b
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Fri Jun 24 10:45:22 2022 +0530

    Code optimisation.

commit 19a0b04663
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Mon May 9 16:57:14 2022 +0530

    Removed unused code and code optimisation

commit ab9e31e938
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Fri May 6 12:23:47 2022 +0530

    Code formatting via KtLint

commit 0a6504010a
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Thu May 5 17:28:51 2022 +0530

    Code optimisation, copyrights added and bug fixing.

commit c74d64685b
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 5b091f2307
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 1c13b07673
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 5f42a5b498
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit ac8a715992
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 4b8b1817a7
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit 74f8b2b36f
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit eb442ac4a6
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 16:02:19 2022 +0530

    Rebased with master and conflicts resolved

commit 54694d452c
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 867ba2fb22
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 508f3a3c8a
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 0d6db1e230
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 6c3de6eecf
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 4bb9f91e8a
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit 999b8dfa6a
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit 1341f1fbe6
Merge: 414e0754bf 57b414e4c1
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Fri Jun 24 11:49:40 2022 +0530

    Code optimisation.

commit 414e0754bf
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Fri Jun 24 10:45:22 2022 +0530

    Code optimisation.

commit 757102a5f1
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Mon May 9 16:57:14 2022 +0530

    Removed unused code and code optimisation

commit 4512af4327
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Fri May 6 12:23:47 2022 +0530

    Code formatting via KtLint

commit 4d3d9297e9
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Thu May 5 17:28:51 2022 +0530

    Code optimisation, copyrights added and bug fixing.

commit fd7c0a95f1
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit f6dec19fd9
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 38ce2e55e0
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 5745cc9e67
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 42217c395f
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit c30388b4b6
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit d7fd0707e4
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit 33294957fb
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 16:02:19 2022 +0530

    Rebased with master and conflicts resolved

commit e50cca657a
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit d11c0478cc
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 2f258a0a25
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit dee21a4b45
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit d27f91ea3a
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 56f2e70f67
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit edccc6a78f
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit 57b414e4c1
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Fri Jun 24 10:45:22 2022 +0530

    Code optimisation.

commit 9bde395980
Merge: 038663cdc9 03453c787a
Author: surinder-tsys <89455194+surinder-tsys@users.noreply.github.com>
Date:   Mon May 9 17:10:13 2022 +0530

    Merge branch 'master' into media-view-options

commit 038663cdc9
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Mon May 9 16:57:14 2022 +0530

    Removed unused code and code optimisation

commit 8f999f2eb0
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Fri May 6 12:23:47 2022 +0530

    Code formatting via KtLint

commit e842fa134a
Merge: 67763af48e 2d6b504284
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Thu May 5 17:29:23 2022 +0530

    Merge branch 'media-view-options' of https://github.com/nextmcloud/android into media-view-options

commit 67763af48e
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Thu May 5 17:28:51 2022 +0530

    Code optimisation, copyrights added and bug fixing.

commit 2d6b504284
Merge: 47b44babf9 1924041e4b
Author: surinder-tsys <89455194+surinder-tsys@users.noreply.github.com>
Date:   Wed May 4 10:16:30 2022 +0530

    Merge branch 'master' into media-view-options

commit 47b44babf9
Merge: f82b32fc74 184d13e8f2
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 16:13:03 2022 +0530

    Conflicts resolved

commit f82b32fc74
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 16:02:19 2022 +0530

    Rebased with master and conflicts resolved

commit 9c6080fcdd
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 60a29a7eec
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 903bdfbce6
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 0cd9354dc8
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 474341be78
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 8600486da7
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit d04b668764
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit 184d13e8f2
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 8d1018ba8f
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit b44e3dbb8f
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit e559d94cfa
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 484a6b8f69
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 4d607b6ae4
Author: Kumar <Surinder.Kumar@t-systems.com>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit 95fafabe8a
Author: A117870935 <surinder.kumar@t-systems.com>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-06 14:50:37 +02:00
Álvaro Brey
3c7e429465
FilesExport*: fix detekt issues
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-06 14:42:23 +02:00
Álvaro Brey
e400d3c0b8
FilesExportWork: extract method to reduce complexity of doWork
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-06 14:41:53 +02:00
tobiasKaminsky
85a645d3a4
better i18n handling
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-06 14:06:20 +02:00
tobiasKaminsky
c5302e943d
Remove unused resource
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-06 14:06:20 +02:00
tobiasKaminsky
9fb607cc9a
also allow export in FileDetailFragment
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-06 14:06:20 +02:00
tobiasKaminsky
72044454c1
rename last remaining FileDownload occurrences
early exit in FilesExportWork.kt

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-06 14:06:20 +02:00
Álvaro Brey
db4e9887b1
FilesExportWork: use getActivity for PendingIntent
With the broadcast, the notification drawer will not autoclose to show the file browser, which is not good UX.

With this approach the notification will not be autodismissed, but that's the lesser of two evils.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-06 14:06:20 +02:00
tobiasKaminsky
1d69dcfcaa
File export aka "download"
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-06 14:06:18 +02:00
tobiasKaminsky
3ec348d5f6
recreate StoragePermissionDialogFragment when rotating
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-06 12:18:52 +02:00
Tobias Kaminsky
6441e5d189
Merge pull request #10392 from nextcloud/encryptedFavorites
on favorite/recent search: update encrypted files
2022-07-06 12:13:17 +02:00
tobiasKaminsky
9d80622d23
only encrypt folder if key is setup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-06 10:59:08 +02:00
Álvaro Brey
b8800a9906
FileDetailsSharingProcessFragment: avoid crashing when modifying existing shares
This can only happen on certain codepaths but should be avoided anyway.

Fixes #10480

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-06 09:56:14 +02:00
tobiasKaminsky
5e58fdae4c
fix potential NPE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-06 09:41:19 +02:00
Álvaro Brey
2e3ac1850b
FileActivity: fix crash when creating share link from FileDetailsFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-06 09:41:14 +02:00
Tobias Kaminsky
d14ba71b10
Merge pull request #10388 from nextcloud/unsetEncryptedFolder
Only allow folder to unset if not in e2e subtree
2022-07-06 09:02:32 +02:00
Álvaro Brey
8cc3bd1d41
Merge pull request #10448 from nextcloud/fix/offline-sync-server-ping
Avoid checking for walled connection until necessary
2022-07-05 16:44:02 +02:00
Álvaro Brey
c8aa577589
When retrying failing uploads, delay connectivity check until last possible moment
This avoids network calls if the uploads can't be done for other reason (such as missing files)

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-05 14:52:23 +02:00
Álvaro Brey
a62373efb4
OfflineSyncWork: minor refactor to make more readable
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-05 14:52:23 +02:00
Álvaro Brey
8a0609044f
OfflineSyncWork: remove unused wakelock
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-05 14:52:23 +02:00
Álvaro Brey
b7cf2a5d67
OfflineSyncWork: do not proactively ping server for connectivity unless sync fails
Co-authored-by: obel1x <obel1x@web.de>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-05 14:52:23 +02:00
tobiasKaminsky
935b71ed86 rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-05 12:25:23 +00:00
tobiasKaminsky
efa7875dcd explanation of tab count
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-05 12:25:23 +00:00
tobiasKaminsky
c6681407bf Do not show sharing option at all
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-05 12:25:23 +00:00
tobiasKaminsky
c8e523b2c1 Do not show sharing tab when folder is encrypted
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-05 12:25:23 +00:00
Tobias Kaminsky
074b914b5f
Merge pull request #10232 from nextcloud/offlineNavigation
Fix Notification -> on device navigation path
2022-07-05 14:21:29 +02:00
Tobias Kaminsky
00bf0f28fb
Merge pull request #10473 from nextcloud/onDeviceWrongMessage
Shared -> OnDevice -> now correct message
2022-07-05 10:59:02 +02:00
tobiasKaminsky
a4829d4567
on favorite/recent search: update encrypted files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-05 10:57:12 +02:00
tobiasKaminsky
d31ba4b3e6
Only allow folder to unset if not in e2e subtree
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-05 10:44:26 +02:00
Álvaro Brey
e8d2989295
Prevent crash when selecting too many files to copy or move (#10476)
* Prevent crash when selecting too many files to copy or move

This is caused by too much data in intent extras as we're passing a fat arraylist of objects.
As we only need the paths for the copy operation, change it so that only the paths are passed.

Ideally this would instead be stored in FDA or whatever listener we have for the folder picker,
rather than passed back and forth between the folder picker.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Convert FolderPickerActivity to Kotlin (step 1)

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* FolderPickerActivity: convert to Kotlin step 2

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* OCFileListFragment: deduplicate copy/move code

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-05 07:47:18 +00:00
tobiasKaminsky
3e387c441a
New screenshot for com.owncloud.android.ui.activity.FolderPickerActivityIT_open
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-04 15:49:55 +02:00
Tobias Kaminsky
5cdace49ca
Merge pull request #10472 from nextcloud/thumbnailUpdateEnforced
When thumbnail update enforced, do not use any cached version
2022-07-04 14:36:43 +02:00
tobiasKaminsky
7ee18b735b
Shared -> OnDevice -> now correct message
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-04 11:45:41 +02:00
tobiasKaminsky
a981db2200
When thumbnail update enforced, do not use any cached version
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-04 10:00:28 +02:00
Álvaro Brey
fb8c6f4f23
Merge pull request #10471 from nextcloud/fix-flaky-logger-test
Fix flaky Logger overflow test
2022-07-04 09:01:58 +02:00
Nextcloud bot
d6cf7a97a3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-04 04:09:52 +00:00
Chris Narkiewicz
98230e1296
Fix flaky Logger overflow test
Load event is processed before overlow condition check can
result in warning log line being appended. This resulted
in a race condition.

We simply poll the log file until we either find interesting
log line or we give up after several seconds.

Fixes #10416

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2022-07-04 00:30:30 +01:00
Álvaro Brey
5cb0056db3
Merge pull request #10457 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.0
Bump fragment-ktx from 1.4.1 to 1.5.0
2022-06-30 11:35:54 +02:00
Álvaro Brey
5b54f76edc
Merge pull request #10458 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.5.0
Bump lifecycle-viewmodel-ktx from 2.4.1 to 2.5.0
2022-06-30 11:02:51 +02:00
Álvaro Brey
084abc1a5e
Fix compilation error with new fragment ktx version
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-30 11:00:17 +02:00
Nextcloud bot
a453cf7640
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-30 04:09:30 +00:00
dependabot[bot]
9ad5d53b64
Bump lifecycle-viewmodel-ktx from 2.4.1 to 2.5.0
Bumps lifecycle-viewmodel-ktx from 2.4.1 to 2.5.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 01:04:56 +00:00
dependabot[bot]
830feb91df
Bump fragment-ktx from 1.4.1 to 1.5.0
Bumps fragment-ktx from 1.4.1 to 1.5.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 01:04:49 +00:00
Nextcloud bot
502a936686
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-29 04:14:29 +00:00
Álvaro Brey
f2a399ed10
Merge pull request #10446 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.9
Bump spotbugs-gradle-plugin from 5.0.8 to 5.0.9
2022-06-28 10:02:27 +02:00
Nextcloud bot
0feb695d0d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-28 04:21:16 +00:00
dependabot[bot]
ad0ae128b4
Bump spotbugs-gradle-plugin from 5.0.8 to 5.0.9
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.8 to 5.0.9.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.8...5.0.9)

---
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] <support@github.com>
2022-06-28 01:07:04 +00:00
Álvaro Brey
41639cf654
Remove bytebuddy library dependency
Only used to generate random strings for tests and creates too many Dependabot PRs.
Let's just use Kotlin for that.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-27 11:47:00 +02:00
dependabot[bot]
64b3a02399
Bump firebase-messaging from 23.0.5 to 23.0.6
Bumps firebase-messaging from 23.0.5 to 23.0.6.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 01:07:53 +00:00
Álvaro Brey Vilas
d8b2a21823
Don't try to show share information in Favorites screen
We don't have that info from the server

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-06-23 11:01:08 +02:00
Nextcloud bot
fa3d0b453f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-21 04:12:30 +00:00
Álvaro Brey
5386aa9229
Merge pull request #10384 from olebittner/master
Check account in onResume fixing #7887
2022-06-20 10:19:08 +02:00
Tobias Kaminsky
18ccf68e10
Merge pull request #10393 from nextcloud/fix/10383
PreviewMediaFragment: prevent NPE on onSaveInstanceState
2022-06-20 09:35:11 +02:00
Tobias Kaminsky
21458ce512
Merge pull request #10397 from nextcloud/fix/lock-screen-leak
Lock: ensure underlying activity isn't shown while waiting for lock screen to render
2022-06-20 08:54:23 +02:00
Tobias Kaminsky
e3e9d73b6b
Merge pull request #10401 from nextcloud/fix/prefill-filename-oob
ChooseRichDocumentsTemplate: avoid IOOBE if there is no dot in field
2022-06-20 08:53:06 +02:00
Tobias Kaminsky
c28a0779b5
Merge pull request #10403 from nextcloud/fix/upload_on_low_storage_move
UploadFilesActivity: fix upload not working when space is insufficient for copy
2022-06-20 08:49:18 +02:00
Ole Bittner
58cc417ea7
fix ktlint error
Signed-off-by: Ole Bittner <dev@oleb.it>
2022-06-16 18:03:58 +02:00
Álvaro Brey
2c45cd04db
FolderPickerActivity: fix search when copying/moving files
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-16 16:56:17 +02:00
Álvaro Brey
2130de152d
UploadFilesActivity: fix upload not working when space is insufficient
LOCAL_BASE_PATH was missing

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-16 16:26:06 +02:00
Álvaro Brey
b7f7388802
ChooseRichDocumentsTemplate: avoid IOOBE if there is no dot in field
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-16 12:18:40 +02:00
dependabot[bot]
23bddc26b3
Bump annotation from 1.3.0 to 1.4.0
Bumps annotation from 1.3.0 to 1.4.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 01:06:09 +00:00
Álvaro Brey
f1f44c4d5d
Lock: ensure underlying activity isn't shown while waiting for lock screen to render
As lock screen is shown with `startActivityForResult`, which is asynchronous, the activity
can continue rendering while waiting for the lock screen, which leaks details and potentially allows interaction.

To counteract this, immediately hide the root view of the activity while the lock screen is launched.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-15 15:50:26 +02:00
Álvaro Brey
a7877ceb41
Make fast scroll bar and popup use the theme color
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-15 12:33:27 +02:00
Álvaro Brey
31c84d57e9
Merge pull request #10385 from nextcloud/account-culling
Migrate Account to User in some APIs
2022-06-14 21:32:49 +02:00
Álvaro Brey
84aa239c9a
Merge pull request #10391 from nextcloud/updateSharIcon
Update share icon when sharing link directly
2022-06-14 21:24:11 +02:00
Álvaro Brey
64998aca10
Merge pull request #10386 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.8
Bump spotbugs-gradle-plugin from 5.0.7 to 5.0.8
2022-06-14 21:20:20 +02:00
Álvaro Brey
528705a31d
PreviewMediaFragment: prevent NPE on onSaveInstanceState
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-14 17:14:22 +02:00
Álvaro Brey
17ebc23621
Merge pull request #10377 from nextcloud/groupfolderCannotBeEncrypted
Groupfolders cannot be encrypted
2022-06-14 16:00:36 +02:00
tobiasKaminsky
d971bc849c
Update share icon when sharing link directly
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-14 08:46:20 +02:00
Nextcloud bot
9a1158d5a0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-14 04:18:12 +00:00
dependabot[bot]
9de14a7fbd
Bump spotbugs-gradle-plugin from 5.0.7 to 5.0.8
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.7 to 5.0.8.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.7...5.0.8)

---
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] <support@github.com>
2022-06-14 01:09:42 +00:00
Chris Narkiewicz
edc8149c1f
Migrate Account to User in some APIs
Migrate remaining Account uses to User model when it was
possible without wider refactoring.

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2022-06-13 23:37:16 +01:00
Ole Bittner
53ce285aac
test onResume account check in SessionMixin
Signed-off-by: Ole Bittner <dev@oleb.it>
2022-06-13 23:28:35 +02:00
Ole Bittner
190cd24d3a
check for account in onResume mixin
Signed-off-by: Ole Bittner <dev@oleb.it>
2022-06-13 23:28:20 +02:00
tobiasKaminsky
60757a1853
Groupfolders cannot be encrypted
added test showing folder types

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-13 16:17:28 +02:00
Tobias Kaminsky
7854d48559
Merge pull request #10367 from nextcloud/moveMD5
move md5 function to tests, as md5 should never be used is production
2022-06-13 14:38:10 +02:00
Álvaro Brey
e2ea977288 Lower detekt maxIssues to 0
Finally no more issues!

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-13 10:51:38 +00:00
Álvaro Brey
43215a0833 FileDetailsSharingProcessFragment: clean up last detekt issues
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-13 10:51:38 +00:00
Nextcloud bot
c56ccc8363
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-12 04:18:20 +00:00
Álvaro Brey
d432c8e46f
Merge pull request #10359 from nextcloud/enterCreatedFolder
When copy/move a file and creating a new folder we now go directly into this freshly created folder
2022-06-10 15:58:52 +02:00
Álvaro Brey
0f8a5b1bf3
Merge pull request #10353 from nextcloud/fix/invalid-folder-no-mediascan
FileDataStorageManager: don't add files to media scan in android 11+
2022-06-10 15:56:40 +02:00
Álvaro Brey
ede4790927
Merge pull request #10352 from nextcloud/fix/oob-gallery-scroll
GalleryFastScrollViewHelper: fix index out of bounds in getScrollOffset
2022-06-10 13:59:59 +02:00
tobiasKaminsky
ffdb26b4be
move md5 function to tests, as md5 should never be used is production
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-10 07:57:44 +02:00
Álvaro Brey
e644b12aee
Merge pull request #10355 from nextcloud/fix/synced-folders-adapter-performance
SyncedFoldersActivity: don't refresh entire adapter when toggling a folder from dialog
2022-06-09 11:44:07 +02:00
Tobias Kaminsky
266e45b098
Merge pull request #10343 from nextcloud/fix/community-report
Use different link for automated bugreport and manual report
2022-06-09 09:50:52 +02:00
tobiasKaminsky
67cb25a603
When copy/move a file and creating a new folder we now go directly into this freshly created folder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-09 09:12:32 +02:00
Nextcloud bot
5538a5e734
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-09 04:22:28 +00:00
Álvaro Brey
fb4eaf11ff
SyncedFoldersActivity: don't refresh entire adapter when toggling a folder from dialog
It's enough to refresh its header, and it doesn't have to refresh all pictures

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-08 16:54:20 +02:00
Álvaro Brey
affe52e49a
Merge pull request #10315 from nextcloud/dependabot/gradle/com.google.android.material-material-1.6.1
Bump material from 1.6.0 to 1.6.1
2022-06-08 13:18:22 +02:00
Álvaro Brey
306bcb09ef
Merge pull request #10348 from nextcloud/file-uploader-downloader-migration-to-user
Migrate some FileUploader and FileDownloader APIs to User
2022-06-08 09:38:50 +02:00
Nextcloud bot
f6bb42141e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-08 04:24:38 +00:00
dependabot[bot]
4d0db55318
Bump material from 1.6.0 to 1.6.1
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.0...1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-08 01:05:20 +00:00
Chris Narkiewicz
1d81a705bf
Migrate some FileUploader and FileDownloader APIs to User
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2022-06-07 20:56:43 +01:00
Álvaro Brey
c9933d558e
FileDataStorageManager: don't add files to media scan in android 11+
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-07 10:20:17 +02:00
Álvaro Brey
301d9ae9a9
GalleryFastScrollViewHelper: fix index out of bounds in getScrollOffset
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-07 10:03:12 +02:00
Álvaro Brey
5944bfabdd
Merge pull request #10209 from nextcloud/migrate-remote-operation-execute-to-user
Migrate RemoteOperation.execute calls to User
2022-06-06 13:10:37 +02:00
Álvaro Brey
6f6bed084c
Use different link for automated bugreport and manual report
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-06 10:02:55 +02:00
Nextcloud bot
721f63971a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-06 04:25:53 +00:00
Chris Narkiewicz
35e164fa2d
Migrate RemoteOperation.execute calls to User
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2022-06-04 23:59:50 +01:00
Nextcloud bot
bd5a99a10e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-04 04:22:45 +00:00
Álvaro Brey
03964f4342
Merge pull request #10319 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.4.2
Bump appcompat from 1.4.1 to 1.4.2
2022-06-03 09:56:00 +02:00
Tobias Kaminsky
3fd8928327
Merge pull request #10307 from nextcloud/fix/choosetemplate-button-nullpointer
Fix NPE in ChooseTemplateDialogFragment
2022-06-03 07:29:32 +02:00
Álvaro Brey
4011fa7b7d
Exclude all activities except AuthenticatorActivity from security key listener (#10311)
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-03 07:28:27 +02:00
dependabot[bot]
bddbc4ff9d
Bump appcompat from 1.4.1 to 1.4.2
Bumps appcompat from 1.4.1 to 1.4.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 01:06:48 +00:00
Álvaro Brey
5b85fb95d6
build: Remove powermock
Unused, bad practice, and incompatible with mockito 4 anyway.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-01 11:15:01 +02:00
Álvaro Brey
15f6cea189
Merge pull request #10253 from nextcloud/thumbnailFolderBug
Harden thumbnail generation
2022-06-01 10:49:38 +02:00
Álvaro Brey
0767e4fe43 GalleryAdapter: cleanup index out of bounds 2022-06-01 07:28:17 +00:00
tobiasKaminsky
0748ba19af Harden thumbnail generation
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-01 07:28:17 +00:00
dependabot[bot]
ef642a2f0d
Bump firebase-messaging from 23.0.4 to 23.0.5
Bumps firebase-messaging from 23.0.4 to 23.0.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-01 07:27:01 +00:00
Álvaro Brey
749a7e7f04
Merge pull request #10225 from nextcloud/sectionedRecyclerview
Use our own version of sectioned-recyclerview
2022-06-01 09:21:03 +02:00
Álvaro Brey
86ea4d55a9
Merge pull request #10300 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.15.0
Bump emoji-google from 0.12.0 to 0.15.0
2022-06-01 08:53:48 +02:00
Nextcloud bot
d971d0a619
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-01 04:24:28 +00:00
dependabot[bot]
0830799292
Bump emoji-google from 0.12.0 to 0.15.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.12.0 to 0.15.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.12.0...0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-31 15:34:32 +00:00
Álvaro Brey
51aa8cbd35 ChooseTemplateDialogFragment: convert to Kotlin
Since I'm here...

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-31 09:34:18 +00:00
Álvaro Brey
3ce883466b Fix NPE in ChooseTemplateDialogFragment.checkEnablingCreateButton
This method can be called before positiveButton is initialized

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-31 09:34:18 +00:00
tobiasKaminsky
ee57fa0732
Since newest Transifex update we have many translations with not needed translations, e.g. "many" in spanish.
To not have lint warnings all the time, and as it does not harm Android, we can ignore it.

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-05-31 10:17:15 +02:00
Nextcloud bot
d51a9426d4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-27 04:16:05 +00:00
Nextcloud bot
a13c4c1906
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-26 04:16:47 +00:00
Tobias Kaminsky
c1cf416872
Merge pull request #10148 from nextcloud/proseMirror
Test proseMirror with custom user agent
2022-05-25 15:40:54 +02:00
Nextcloud bot
78e689b2f1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-25 04:51:04 +00:00
Nextcloud bot
2a3bc3b0dc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-24 04:30:55 +00:00
Nextcloud bot
ea16420d37
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-23 04:15:15 +00:00
Nextcloud bot
748f2ac903
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-22 04:17:24 +00:00
tobiasKaminsky
8bd3243238
Do not set custom user agent for Text/ProseMirror
Use EditorUtils

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-05-20 11:39:38 +02:00
dependabot[bot]
94d2e1998e
Bump constraintlayout from 2.1.3 to 2.1.4
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 01:05:41 +00:00
tobiasKaminsky
6a4c4c0b28
Project_id is needed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-05-19 09:54:03 +02:00
dependabot[bot]
1cce3be464
Bump shot from 5.14.0 to 5.14.1
Bumps [shot](https://github.com/pedrovgs/shot) from 5.14.0 to 5.14.1.
- [Release notes](https://github.com/pedrovgs/shot/releases)
- [Commits](https://github.com/pedrovgs/shot/compare/5.14.0...5.14.1)

---
updated-dependencies:
- dependency-name: com.karumi:shot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-18 09:40:46 +00:00
dependabot[bot]
8f46bd6275
Bump emoji-google from 0.11.0 to 0.12.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.11.0 to 0.12.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.11.0...0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 01:04:56 +00:00
Nextcloud bot
294db08117
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-16 04:11:57 +00:00
Nextcloud bot
f3b80053f6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-15 04:11:12 +00:00
dependabot[bot]
f589c7b949
Bump spotbugs-gradle-plugin from 5.0.6 to 5.0.7
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.6 to 5.0.7.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.6...5.0.7)

---
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] <support@github.com>
2022-05-13 01:04:27 +00:00
Tobias Kaminsky
bd4b35d41b
Merge pull request #10228 from nextcloud/fix/getpopuptext-crash
OCFileListAdapter: skip popup text generation if no sortOrder is present
2022-05-12 12:22:27 +02:00
Álvaro Brey
f5849f6af7
Merge pull request #10231 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.11.0
Bump emoji-google from 0.9.0 to 0.11.0
2022-05-12 09:56:46 +02:00
Álvaro Brey
b2630f532a
SetStatusDialogFragment: fix EmojiPopup after API changes
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-12 09:29:12 +02:00
tobiasKaminsky
6704bb0427
Fix Notification -> on device navigation path
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-05-12 09:26:14 +02:00
dependabot[bot]
1c0a189511
Bump emoji-google from 0.9.0 to 0.11.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.9.0 to 0.11.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.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 01:07:12 +00:00
Álvaro Brey
0a1736dc75
OCFileListAdapter: skip popup text generation if no sortOrder is present
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-11 15:28:29 +02:00
tobiasKaminsky
7e3bfffd67
Moved repo for qrcodescanner
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-05-11 15:24:27 +02:00
tobiasKaminsky
d496001a01
Use our own version of sectioned-recyclerview
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-05-11 15:23:03 +02:00
Nextcloud bot
4cab92f48e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-10 04:24:14 +00:00
Álvaro Brey
e7ea566bb6
Merge pull request #10217 from nextcloud/fix/on-device-crash
Fix crash when navigating from Gallery to On device
2022-05-09 15:03:34 +02:00
Álvaro Brey Vilas
62d58d0a36
Fix and enable FDAScreenshotIT.showMediaThenAllFiles
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-09 13:24:33 +02:00
Álvaro Brey
1955e46a10
Fix crash when navigating from Gallery to On device
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-09 13:15:36 +02:00
Álvaro Brey
91efa194c1
Merge pull request #10191 from nextcloud/fix/some-detekt
Fix a bunch of Detekt issues
2022-05-09 10:04:47 +02:00
Álvaro Brey
454f7c6b96
Merge pull request #10168 from pelzvieh/patch-1
Make SAF root IDs stable through server version updates
2022-05-09 10:03:27 +02:00
Álvaro Brey
b2b80c031b
Merge pull request #10211 from nextcloud/videoInGallery
Play video in gallery
2022-05-09 09:44:41 +02:00
Álvaro Brey
d5d64b6f38
Merge pull request #10210 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.4
Bump firebase-messaging from 23.0.3 to 23.0.4
2022-05-09 09:43:51 +02:00
tobiasKaminsky
c0c094c30e
Play video in gallery
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-05-09 08:17:12 +02:00
Nextcloud bot
0649f787b8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-09 04:12:54 +00:00
dependabot[bot]
6cf85b290d
Bump firebase-messaging from 23.0.3 to 23.0.4
Bumps firebase-messaging from 23.0.3 to 23.0.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 02:03:17 +00:00
Nextcloud bot
55cffc80d1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-08 04:11:49 +00:00
Nextcloud bot
51eb6e8620
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-07 04:09:35 +00:00
Álvaro Brey
8ef80aa105
Fix DocumentsStorageProviderIT for new root ID
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 18:16:11 +02:00
Álvaro Brey
06820a21fd
Lower detekt maxIssues to remaining 3
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 18:07:13 +02:00
Álvaro Brey
fb1469aeea
UriUtils: refactor to keep detekt happy
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 18:06:51 +02:00
Álvaro Brey
6297742f01
SyncedFoldersActivity: suppress detekt warning
This entire class is legacy and should be refactored

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 18:00:01 +02:00
Álvaro Brey
a6dc89a8e5
ShareeListAdapterTest: refactor to fix detekt issues
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 17:57:56 +02:00
Álvaro Brey
7adadbb53c
SetStatusDialogFragment: some easy & safe cleanups
Make detekt happy

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 17:57:43 +02:00
Álvaro Brey
9cff9725fc
HttpStreamFetcher: reduce nesting in loadData
Make detekt happy

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 17:22:18 +02:00
Álvaro Brey
02f23f326d
DocumentsStorageProvider: hash the accountName for rootId map
This should handle the fact that accountNames are of arbitrary length

MD5 is fine for this, as it should be quicker than SHA and the chance of collisions here is very low

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 17:05:53 +02:00
Álvaro Brey
3b3d23ff0a
DocumentsStorageProvider: fix build error due to missing import
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 17:05:34 +02:00
pelzvieh
43c4876ef3
Update app/src/main/java/com/owncloud/android/providers/DocumentsStorageProvider.java
Co-authored-by: Álvaro Brey <alvaro.brv@gmail.com>
2022-05-06 16:11:50 +02:00
Tobias Kaminsky
8d4ed0a862
Merge pull request #10181 from nextcloud/videoFullscreenPause
Correctly obey play/pause state
2022-05-06 14:43:43 +02:00
Álvaro Brey
b950be1f7d
Merge pull request #10178 from nextcloud/galleryLongRunning
Media search improvement
2022-05-06 13:47:09 +02:00
Álvaro Brey
ac208945e8
DocumentsStorageProvider: key can't be parsed into Int, since it's String now
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 13:13:50 +02:00
Álvaro Brey
8a9a9ec66d
GallerySearchTask: remove leftover testing code
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 13:04:50 +02:00
Álvaro Brey
27be297146
Merge pull request #10179 from nextcloud/throttleShareOverflowMenu
Throttle click on share icon
2022-05-06 12:55:50 +02:00
Álvaro Brey
db85ebba94
Merge pull request #10174 from nextcloud/new-fastscroll-lib
Fast scrolling fixes
2022-05-06 12:08:06 +02:00
Andreas Feldner
04a0ce1e71 Update DocumentsStorageProvider.java
Change root id for an nextcloud account to urlencoded user@uri. This is to avoid issues with unstable hashCodes.
2022-05-06 10:24:45 +02:00
Andreas Feldner
805ec3e61a Revert "Make Server's hashCode stable vs. version changes"
This reverts commit 5627e92619.
2022-05-06 09:17:32 +02:00
tobiasKaminsky
d33d5a20fd
Throttle click on share icon
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-05-06 09:11:10 +02:00
tobiasKaminsky
f34fff62a8
Fix #10176
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-05-06 07:55:29 +02:00