Compare commits

...
1501 Commits
Author SHA1 Message Date
nextcloud-android-bot eb6cc87824 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-06-10 08:35:09 +00:00
Álvaro Brey 97883ff945 Merge pull request #10361 from nextcloud/backport/10355/stable-3.20
[stable-3.20] SyncedFoldersActivity: don't refresh entire adapter when toggling a folder from dialog
2022-06-10 10:29:08 +02:00
Álvaro Brey 73f5310dc2 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 <[email protected]>
2022-06-10 09:36:03 +02:00
Tobias Kaminsky a329a0d9d7 Merge pull request #10362 from nextcloud/bump3.20.2
Bump to 3.20.2
2022-06-09 15:12:51 +02:00
Álvaro Brey 94d973f54d Merge pull request #10360 from nextcloud/backport/10343/stable-3.20
[stable-3.20] Use different link for automated bugreport and manual report
2022-06-09 15:09:24 +02:00
tobiasKaminsky ee88ce3d2d Bump to 3.20.2
Signed-off-by: tobiasKaminsky <[email protected]>
2022-06-09 13:15:04 +02:00
Álvaro Brey c98310cec0 Use different link for automated bugreport and manual report
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-09 12:50:51 +02:00
Nextcloud bot de08d130df [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-09 04:23:02 +00:00
Nextcloud bot 47f6c9ca6f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-08 04:25:15 +00:00
Nextcloud bot 46cd070edf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-06 04:26:33 +00:00
Nextcloud bot 0efb9c08bf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-04 04:23:23 +00:00
Tobias Kaminsky 5877f5d0e2 Merge pull request #10331 from nextcloud/3.20.2bump
Bump to 3.20.2 RC1
2022-06-03 10:49:14 +02:00
Tobias Kaminsky f50023b070 Merge pull request #10329 from nextcloud/backport-10307
Backport of  #10307
2022-06-03 10:34:36 +02:00
Tobias Kaminsky df647c1bed Merge pull request #10330 from nextcloud/backport-10311
Backport of #10311
2022-06-03 10:34:24 +02:00
tobiasKaminsky b971c05ba1 Bump to 3.20.2 RC1
Signed-off-by: tobiasKaminsky <[email protected]>
2022-06-03 10:33:38 +02:00
Álvaro Brey 152cb58be8 Exclude all activities except AuthenticatorActivity from security key listener
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-03 07:35:08 +02:00
Álvaro Brey ed718f93a1 Fix NPE in ChooseTemplateDialogFragment.checkEnablingCreateButton
This method can be called before positiveButton is initialized

Signed-off-by: Álvaro Brey <[email protected]>
2022-06-03 07:31:20 +02:00
Álvaro Brey b6caf3be9d Merge pull request #10316 from nextcloud/backport/10253/stable-3.20
[stable-3.20] Harden thumbnail generation
2022-06-01 12:56:57 +02:00
Álvaro Brey a581aa0dc9 GalleryAdapter: cleanup index out of bounds
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-01 11:46:05 +02:00
tobiasKaminsky 091f95cc72 Harden thumbnail generation
Signed-off-by: tobiasKaminsky <[email protected]>
2022-06-01 10:53:37 +02:00
Nextcloud bot dfe2eb5f91 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-01 04:25:05 +00:00
Álvaro Brey 9a2e3de4f9 Merge pull request #10312 from nextcloud/backport/10310/stable-3.20
[stable-3.20] Since newest Transifex update we have many translations with not need…
2022-05-31 14:28:33 +02:00
tobiasKaminsky 4a35889c58 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 <[email protected]>
2022-05-31 09:32:19 +00:00
Nextcloud bot 85638e5837 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-27 04:16:42 +00:00
Nextcloud bot 4b4a2fabe1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-26 04:17:24 +00:00
Nextcloud bot ca9d32c090 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-25 04:51:47 +00:00
Nextcloud bot 578c775df8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-24 04:31:33 +00:00
Álvaro Brey 283897e677 Revert "workflows/analysis: Use GITHUB_TOKEN instead of GIT_TOKEN"
This reverts commit a523ff88bd.
2022-05-23 11:44:51 +02:00
Álvaro Brey a523ff88bd workflows/analysis: Use GITHUB_TOKEN instead of GIT_TOKEN
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-23 11:43:37 +02:00
Álvaro Brey ffc9cb1c03 Update workflows/qa
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-23 10:15:56 +02:00
Álvaro Brey 6ba7f0f387 Update some workflows
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-23 10:13:29 +02:00
Nextcloud bot 75700a723a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-23 04:15:52 +00:00
Nextcloud bot 5c293941ba [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-22 04:17:56 +00:00
Tobias Kaminsky 335ee42f0a Merge pull request #10263 from nextcloud/backport/10241/stable-3.20
[stable-3.20] Project_id is needed
2022-05-20 09:46:36 +02:00
tobiasKaminsky 162a2ea912 Project_id is needed
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-20 09:26:46 +02:00
Álvaro Brey df4470e9c2 Merge pull request #10233 from nextcloud/backport/10228/stable-3.20
[stable-3.20] OCFileListAdapter: skip popup text generation if no sortOrder is present
2022-05-16 10:44:24 +02:00
Nextcloud bot a0e793aaba [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-16 04:12:35 +00:00
Nextcloud bot 9d8f954e17 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-15 04:11:48 +00:00
Álvaro Brey 6d88d92bb0 OCFileListAdapter: skip popup text generation if no sortOrder is present
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-12 10:23:04 +00:00
Nextcloud bot 5831a1af00 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-10 04:24:48 +00:00
Álvaro Brey 1b1f389198 Merge pull request #10218 from nextcloud/backport/10217/stable-3.20
[stable-3.20] Fix crash when navigating from Gallery to On device
2022-05-09 15:52:30 +02:00
Álvaro Brey ed0f58f812 Fix crash when navigating from Gallery to On device
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-09 13:04:13 +00:00
Álvaro Brey 0dc7528531 Merge pull request #10215 from nextcloud/backport/10168/stable-3.20
[stable-3.20] Make SAF root IDs stable through server version updates
2022-05-09 10:23:39 +02:00
Álvaro Brey 6c9bf67a3f Merge pull request #10214 from nextcloud/backport/10211/stable-3.20
[stable-3.20] Play video in gallery
2022-05-09 10:15:28 +02:00
Álvaro Brey a8c6c0b439 Fix DocumentsStorageProviderIT for new root ID
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-09 08:04:38 +00:00
Álvaro Brey 36e009efd9 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 <[email protected]>
2022-05-09 08:04:38 +00:00
Álvaro Brey 520c0430de DocumentsStorageProvider: fix build error due to missing import
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-09 08:04:38 +00:00
pelzviehandÁlvaro Brey c297c79408 Update app/src/main/java/com/owncloud/android/providers/DocumentsStorageProvider.java
Co-authored-by: Álvaro Brey <[email protected]>
2022-05-09 08:04:38 +00:00
Álvaro Brey 02fc6ffbac DocumentsStorageProvider: key can't be parsed into Int, since it's String now
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-09 08:04:38 +00:00
Andreas Feldner 89fbc6b387 Update DocumentsStorageProvider.java
Change root id for an nextcloud account to urlencoded user@uri. This is to avoid issues with unstable hashCodes.
2022-05-09 08:04:38 +00:00
Andreas Feldner 13978f6a6d Revert "Make Server's hashCode stable vs. version changes"
This reverts commit 5627e92619.
2022-05-09 08:04:38 +00:00
pelzvieh 7567bf18d4 Make Server's hashCode stable vs. version changes
Bug #9906 seems to be triggered by a version change of the nextcloud server the client is connected to. It appears the most logical solution to make nextcloud object IDs stable against server version changes. These object IDs are derived from the User object using account/anonymous, and the referenced Server object. Providing a hashCode function in Server that ignores the server's version therefore provides stability of object IDs. This seems safe to do, as an URI is already designed to be an identificator.
2022-05-09 08:04:38 +00:00
tobiasKaminsky 662090c94c Play video in gallery
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-09 07:45:29 +00:00
Nextcloud bot ddaf3aa54e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-09 04:13:32 +00:00
Nextcloud bot d96069fe6b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-08 04:12:27 +00:00
Nextcloud bot c9a3cda935 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-07 04:10:10 +00:00
Álvaro Brey 327d77f164 Bump for 3.20.1 (#10187)
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 15:20:10 +02:00
Álvaro BreyandtobiasKaminsky bbf7238c90 [stable-3.20] Correctly obey play/pause state (#10186)
* Correctly obey play/pause state

Signed-off-by: tobiasKaminsky <[email protected]>

* PreviewVideoActivity: remove commented code

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

Co-authored-by: tobiasKaminsky <[email protected]>
2022-05-06 15:19:46 +02:00
backportbot-nextcloud[bot]andÁlvaro Brey 694392c3a5 [stable-3.20] Fast scrolling fixes (#10183)
* Replace fastscroll library

Smoother scrolling

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

* Fix fast scroll in gallery

Gallery has a grid layout + variable row height (due to section titles)

This is a no-no in all fastscroll libraries. However, the new one supports writing custom logic
to handle this, which is what this commit is.

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

* FileDisplayActivity: fix appbar for fast scroll

Adds padding at the bottom if appbar is not collapsed

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

Co-authored-by: Álvaro Brey <[email protected]>
2022-05-06 14:52:53 +02:00
Álvaro Brey 60e7555609 Merge pull request #10184 from nextcloud/backport/10179/stable-3.20
[stable-3.20] Throttle click on share icon
2022-05-06 14:43:23 +02:00
Álvaro Brey 20c33e4547 Merge pull request #10185 from nextcloud/backport/10178/stable-3.20
[stable-3.20] Media search improvement
2022-05-06 14:42:57 +02:00
Álvaro Brey 0619deb785 GallerySearchTask: remove leftover testing code
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 11:47:40 +00:00
tobiasKaminsky fcf2d18bf8 Fix #10176
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-06 11:47:40 +00:00
tobiasKaminsky 7e6f04d2e0 Throttle click on share icon
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-06 10:56:41 +00:00
Nextcloud bot 7b3a386b45 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-06 04:12:21 +00:00
Álvaro Brey ba49eb35b1 Merge pull request #10175 from nextcloud/backport/10163/stable-3.20
[stable-3.20] PreviewMediaFragment: prevent crash due to onStop called before exoplayer initialization
2022-05-05 16:09:21 +02:00
Álvaro Brey 4b29f0edc6 PreviewMediaFragment: prevent crash due to onStop called before exoplayer initialization
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-05 13:28:38 +00:00
Nextcloud bot 972ee009d2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-05 04:13:07 +00:00
Álvaro Brey ba771f4e34 Merge pull request #10164 from nextcloud/backport/10080/stable-3.20
[stable-3.20] Parallel thumbnail fetching
2022-05-04 15:51:30 +02:00
tobiasKaminsky f534e9c527 Parallel thumbnail fetching
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-04 13:21:33 +00:00
Nextcloud bot dd388ac778 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-04 04:20:18 +00:00
Álvaro Brey 55dc58b1af Merge pull request #10149 from nextcloud/backport/10140/stable-3.20
[stable-3.20] FileDisplayActivity: wait until OCFileListFragment is initialized to trigger browseToRoot()
2022-05-03 11:13:27 +02:00
Álvaro Brey 08badbe48d FileDisplayActivity: wait until OCFileListFragment is initialized to trigger browseToRoot()
This solves a bug which caused a "Directory does not exist" popup when coming back from Gallery,
as it tried to call browseToRoot on GalleryFragment due it being executed before the fragment transaction.

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-03 08:53:32 +00:00
Álvaro Brey 39b4c43069 Merge pull request #10146 from nextcloud/bump/3.20.0
Bump versions for 3.20.0 final
2022-05-03 09:52:11 +02:00
Álvaro Brey c29ca194d8 Bump versions for 3.20.0 final
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-03 06:58:45 +00:00
Álvaro Brey d563183ff0 Merge pull request #10144 from nextcloud/backport/10133/stable-3.20
[stable-3.20] Fix contents cut off when scrolling is locked
2022-05-03 08:56:55 +02:00
Álvaro Brey 5e42046ba0 Merge pull request #10145 from nextcloud/backport/stable-3.20/10052
[stable-3.20] File locking
2022-05-03 08:56:19 +02:00
Nextcloud bot 78b7eb02ab [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-03 04:12:10 +00:00
Álvaro Brey 816cfad14d Fix mocking in FileMenuFilterIT
Not sure why this wasn't a compilation error

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-02 18:14:59 +02:00
Álvaro Brey Vilas 2dc9be66c8 Fix some licenses
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:18 +02:00
Álvaro Brey Vilas 7796b21c50 Fix spotbugs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:18 +02:00
Álvaro Brey Vilas a7a15d7f24 Remove unused resources
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:18 +02:00
Álvaro Brey Vilas 4bf3958acb Add test for FileMenuFilter that verifies file locking menu items
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:18 +02:00
Álvaro Brey Vilas 0784e4328a Add unit tests for FileLockingHelper
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:18 +02:00
Álvaro Brey Vilas 82e6ffe4ec FileMenuFilter: don't show lock options if there's no locking capability
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:18 +02:00
Álvaro Brey Vilas 86292ac0de Fix lock info in actionMode menu when selecting a single, locked, file
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:18 +02:00
Álvaro Brey Vilas 0a032aec47 FileMenuFilter: don't show move, remove or rename options when file is locked
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:18 +02:00
Álvaro Brey Vilas 1122ff6718 Show file lock info in actions menu instead of separate dialog
Requested by design team

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:17 +02:00
Álvaro Brey Vilas c9bfcc8211 Combine lock indicator with overflow icon
Requested by design

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:17 +02:00
Álvaro Brey Vilas 31ff8c3edf FileMenuFilter: properly filter lock/unlock depending on lock status
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:17 +02:00
Álvaro Brey Vilas 0ca7eb7173 Show lock details when tapping on lock indicator
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:14:13 +02:00
Álvaro Brey Vilas 3274a912eb Retrieve and persist more locking attributes from remote files
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:13:35 +02:00
Álvaro Brey Vilas 016f45f5c2 Add ability to toggle file lock from file context menu
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:13:35 +02:00
Álvaro Brey Vilas 522eab1cbe FileDataStorageManager: small cleanup
- Remove two unused methods
- Make some fields final

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:13:35 +02:00
Álvaro Brey Vilas 6ea02535fe Show file locking status on list
Also includes a refactor of how ContentValues are created in FileDataStorageManager.

The code for that was triplicated. now it's not.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:13:35 +02:00
Álvaro Brey Vilas fe9aeed461 Store file locking capability
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 18:12:19 +02:00
Álvaro Brey Vilas 6e72d3a708 PreviewMediaFragment: Remove margin from top bar
Not needed since previous commit fixing scroll bugs, creates unwanted space

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 16:11:32 +00:00
Álvaro Brey Vilas 0993af94eb Fix contents cut off when scrolling is locked
Don't need to touch the coordinator params, just set scroll flags properly

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 16:11:31 +00:00
Álvaro Brey 5689daa9d8 Merge pull request #10139 from nextcloud/backport/10132/stable-3.20
[stable-3.20] build: Clean up repository configuration
2022-05-02 10:39:49 +02:00
Álvaro Brey Vilas 39fb0065cc build: Update last 2 libraries that used JCenter
Both of these are present in mavenCentral with a different groupId.

For both of them, the version bump is only for the groupId change, there are no breaking changes otherwise.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 07:46:31 +00:00
Álvaro Brey Vilas 2fbc6b1af8 build: Clean up repository configuration
- Put jitpack.io at the bottom, so that it is the last one checked. For libraries that are both in jitpack and elsewhere,
this should prevent a lot of errors especially in CI due to jitpack unreliability.
- Don't use gradle plugin portal as a mirror for JCenter. JCenter is still up as read-only, and using the gradle plugin portal
hides the fact that we have stop using jcenter libraries.
- For buildscripts, use gradlePluginPortal() instead of manual maven config
- Don't have repository configuration in both app/build.gradle and project build.gradle. Use project gradle instead

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 07:46:31 +00:00
Nextcloud bot cf8b4a16b7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-01 04:10:39 +00:00
Álvaro Brey 1cd0170cec Merge pull request #10136 from nextcloud/backport/10128/stable-3.20
[stable-3.20] Fix expiration date picker layout when rotating screen
2022-04-29 19:29:16 +02:00
Álvaro Brey Vilas 0d920bc2bd FileDetailsSharing: Preserve selected date when recreating expiration date dialog
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 17:46:39 +02:00
Álvaro Brey Vilas 893b7646ff FileDetailsSharingProcess: force recreation of date picked on config changes
See added comment for details

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 17:46:39 +02:00
Álvaro Brey Vilas 3c919b6d0b ExpirationDatePickerDF: customize buttons on onStart instead of showing dialog on onCreate
That is how DialogFragment is supposed to work

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 17:46:33 +02:00
Álvaro Brey f4a4fee858 Merge pull request #10131 from nextcloud/backport/10129/stable-3.20
[stable-3.20] build: Disable LeakCanary unless manually activated with a property
2022-04-29 17:40:43 +02:00
Álvaro Brey Vilas 07e79be92f build: Disable LeakCanary unless manually activated with a property
Use `./gradlew installGplayDebug -P "leakCanary"`, for example, to activate it.

LeakCanary dramatically slows down normal development work due to app freezes for memory dumps.

This way we can avoid that, but still use it when we want to check for leaks. I don't think leaks should be a primary focus right now,
since we have other stuff to work on first.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 13:03:18 +02:00
Álvaro Brey b32a475873 Merge pull request #10125 from nextcloud/backport/10117/stable-3.20
[stable-3.20] Screenshot tests reliability improvements
2022-04-29 08:35:12 +02:00
Nextcloud bot 625e31b406 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-29 04:12:10 +00:00
Álvaro Brey Vilas 46b9b0943c PasscodeActivityIT: add short sleep after closing keyboard
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-28 12:06:08 +00:00
Álvaro Brey Vilas 6ef6c0713a ActivitiesActivityIT.error: more sleep
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-28 12:06:08 +00:00
Álvaro Brey Vilas e5ebcb12b0 Screenshot tests reliability improvements
Add more sleeps to SetupEncryptionDialogFragment.error and TrashBinActivity.empty, which fail frequently

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-28 12:06:08 +00:00
Álvaro Brey 79020def18 Merge pull request #10118 from nextcloud/backport/10113/stable-3.20
[stable-3.20] Run unit tests in GH actions
2022-04-27 12:20:53 +02:00
Álvaro Brey Vilas 524b858bf7 codecov: add flag to integration test coverage so the UI is clearer
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 09:33:01 +00:00
Álvaro Brey Vilas 2e0cb9c122 Upload unit test results properly if they fail
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 09:33:01 +00:00
Álvaro Brey Vilas ce5b92f9a0 build: Remove combinedTestReport task
It's not working properly (complains about no classes, empty report), AND codecov should merge unit and integration coverages for us anyway

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 09:33:01 +00:00
Álvaro Brey Vilas 9143c26098 Drone: optimize assemble while waiting for server/emulator
- Don't assemble Gplay separately from gplayDebug. We already have some GH actions to verify that all flavors assemble.
- Assemble the AndroidTest task, so that there's less work to do when installGplayDebug is called

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 09:33:01 +00:00
Álvaro Brey Vilas 50b395c70f Drone: don't run unit tests
Done in GH actions now

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 09:33:01 +00:00
Álvaro Brey Vilas 6eeb8c577f Run unit tests in GH actions
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 09:33:01 +00:00
Álvaro Brey ce3df85301 Merge pull request #10116 from nextcloud/backport/10112/stable-3.20
[stable-3.20] Fix LoginIT for server master
2022-04-27 09:58:31 +02:00
Álvaro Brey Vilas c2b33600e3 LoginIT: convert to Kotlin
While we're at it

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 06:14:33 +00:00
Álvaro Brey Vilas f3d2f485e2 Fix LoginIT submit click
In latest Nextcloud version the "submit" button does not have an ID, but we can use the type for selection

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 06:14:33 +00:00
Nextcloud bot 264e647109 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-26 04:11:48 +00:00
Álvaro Brey ec88e5c720 Merge pull request #10098 from nextcloud/backport/10050/stable-3.20
[stable-3.20] Group photos as timeline by month
2022-04-25 09:58:05 +02:00
Nextcloud bot 9a564043d9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-24 04:13:40 +00:00
Nextcloud bot 381644b633 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-23 04:00:58 +00:00
Nextcloud bot cc5dcbb746 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-22 04:03:59 +00:00
Nextcloud bot 73dae25839 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-21 04:02:08 +00:00
nextcloud-android-bot a4dfd38792 Analysis: update Spotbugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-04-19 18:59:57 +00:00
nextcloud-android-bot 9194a2ca8b Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-04-19 18:58:46 +00:00
Álvaro Brey 69fec56b8d [stable-3.20] Merge pull request #10050 from nextcloud/mediaTimeline
Group photos as timeline by month

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-19 20:52:26 +02:00
Álvaro Brey ffed2e5362 Merge pull request #10097 from nextcloud/backport/10015/stable-3.20
[stable-3.20] Optimize load time for Shared view
2022-04-19 20:50:14 +02:00
Álvaro Brey Vilas 8b984c0fdc Bump library version
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-19 16:58:17 +02:00
Álvaro Brey Vilas 3c20764752 Fix wrong usages of deprecated OCShare shareType setter
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-19 16:32:49 +02:00
Álvaro Brey Vilas 5f66d999a3 Load metadata of shared files only when attempting to interact with them
This was quite a big undertaking and required a whole new fragment

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-19 16:32:49 +02:00
Álvaro Brey Vilas 507735cf23 Don't load entire OCFiles in the Shared view, as it takes too long
Instead, build partially-filled OCFiles from the OCShares we get

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-19 16:32:42 +02:00
Álvaro Brey afcfdadc1d Merge pull request #10083 from nextcloud/backport-9985
[stable-3.20] Fastscroll for all lists
2022-04-19 14:41:55 +02:00
Álvaro Brey feb22fee7d Merge pull request #10092 from nextcloud/backport/10070/stable-3.20
[stable-3.20] Fix trashbin navigation
2022-04-18 13:01:59 +02:00
tobiasKaminsky 5701e4cae3 Fix trashbin navigation
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-18 10:33:12 +00:00
Nextcloud bot 4a157de7ce [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-16 04:00:00 +00:00
Nextcloud bot 0673ad6576 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-15 04:05:09 +00:00
tobiasKaminsky fe431dc991 Fastscroll for all lists
Signed-off-by: tobiasKaminsky <[email protected]>

Signed-off-by: tobiasKaminsky <[email protected]>

wip

Signed-off-by: tobiasKaminsky <[email protected]>

wip

Signed-off-by: tobiasKaminsky <[email protected]>

wip

Signed-off-by: tobiasKaminsky <[email protected]>

Replace equals with == on enums

Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-14 15:37:11 +02:00
Tobias Kaminsky 497d08366f Merge pull request #10063 from nextcloud/changelog-rc-3.20.0-02
Add changelog for 3.20.0 RC2
2022-04-08 10:26:29 +02:00
Nextcloud bot d624547cb8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-08 04:06:11 +00:00
Álvaro Brey Vilas 186ac9a211 Add changelog for 3.20.0 RC2
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-07 18:15:22 +02:00
Álvaro Brey f0a6368593 Merge pull request #10062 from nextcloud/bump/3.20.0-rc2
Bump versions for 3.20.0 RC2
2022-04-07 17:31:29 +02:00
Álvaro Brey Vilas 79a915e464 Bump versions for 3.20.0 RC2
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-07 15:30:08 +02:00
Álvaro Brey afe56c70e8 Merge pull request #10057 from nextcloud/backport/10049/stable-3.20
[stable-3.20] AndroidManifest: set camera2 feature to not required
2022-04-07 14:32:32 +02:00
Álvaro Brey a2d1fada39 Merge pull request #10061 from nextcloud/backport/10051/stable-3.20
[stable-3.20] Don't include document scanner in FDroid version
2022-04-07 14:31:38 +02:00
Álvaro Brey Vilas f4b1796d7d Don't include document scanner in FDroid version
Not allowed due to binary OpenCV

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-07 12:49:08 +02:00
Álvaro Brey af939e4815 Merge pull request #10056 from nextcloud/backport/10007/stable-3.20
[stable-3.20] Use remoteId to properly fetch streaming video url
2022-04-07 12:46:46 +02:00
Álvaro Brey 5ebb6f31d1 Merge pull request #10058 from nextcloud/backport/10034/stable-3.20
[stable-3.20] Better approach for avoiding state loss in FileDetailFragment
2022-04-07 11:40:35 +02:00
Álvaro Brey Vilas e5708f8f1b Better approach for avoiding state loss in FileDetailFragment
Do not overwrite file when updating share information, instead of holding the file in FDA

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-07 09:08:08 +00:00
Álvaro Brey Vilas 8091b42062 AndroidManifest: set camera2 feature to not required
Brought by document scanner lib, but not actually required. If set to required,
devices without this feature will not see the app in Play Store.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-07 08:45:31 +00:00
tobiasKaminsky e23df6c8c8 Use remoteId to properly fetch streaming video url
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-07 08:37:04 +00:00
Álvaro Brey 179a2d8b1b Merge pull request #10043 from nextcloud/backport/10042/stable-3.20
[stable-3.20] Correct scan permission handling
2022-04-04 12:33:31 +02:00
Tobias Kaminsky 3575a3f929 - no camera permission (#10042)
- scan document
- approve permission
- see scan document activity, previously it was wrong upload image activity

Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-04 11:33:53 +02:00
Nextcloud bot 0168c8af49 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-03 04:02:22 +00:00
Tobias Kaminsky 1c83280862 Merge pull request #10029 from nextcloud/backport/10025/stable-3.20
[stable-3.20] fastlane: Increase number of expected artifacts to 4
2022-03-31 09:33:27 +02:00
Nextcloud bot 408d60116e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-31 04:09:04 +00:00
Álvaro Brey 03e4a61c44 Merge pull request #10030 from nextcloud/backport/10013/stable-3.20
[stable-3.20] Fix bugs when removing accounts
2022-03-30 19:00:41 +02:00
Álvaro Brey Vilas f342f5d5f6 ManageAccountsActivity: go back to AuthenticatorActivity after removing last account
Instead of waiting for FileDisplayActivity to make a network request and fail

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-30 16:30:44 +00:00
Álvaro Brey Vilas dc1b542613 AccountRemovalWork: remove cached owncloudClient after removing account
Otherwise, the account (which is identified by account name only) will reuse old token, if login is done right after account removal.

Three hours of debugging for one line of code

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-30 16:30:44 +00:00
Álvaro Brey Vilas e258fb72ca fastlane: Increase number of expected artifacts to 4
3 APKs + 1 AAB

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-30 16:06:55 +00:00
Álvaro Brey 0559390c07 Merge pull request #10024 from nextcloud/changelog-rc-3.20.0-01
Add changelog for 3.20.0 RC1
2022-03-30 18:06:36 +02:00
Nextcloud bot 10c87b730b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-30 04:04:08 +00:00
Álvaro Brey Vilas 0edfed62bf Add changelog for 3.20.0 RC1
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-28 17:14:23 +02:00
Álvaro Brey 1a428dc761 Merge pull request #10023 from nextcloud/stable-3.20-bump
Bump versions for 3.20.0 RC1
2022-03-28 16:25:39 +02:00
Álvaro Brey Vilas ea93d93390 Fix milestone link in fastlane docs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-28 14:41:12 +02:00
Álvaro Brey Vilas 33d7335912 Bump versions for 3.20.0 RC1
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-28 14:18:23 +02:00
Nextcloud bot 4b8bb8a707 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-28 04:02:23 +00:00
Nextcloud bot ca751d0f71 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-27 04:01:42 +00:00
Nextcloud bot 3753ef361c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-25 05:41:13 +00:00
Álvaro Brey 23a72722d3 Merge pull request #10009 from nextcloud/fix/dark-mode-scroll
Fix several scrolling bugs
2022-03-23 11:11:09 +01:00
Álvaro Brey Vilas 2e593a034b Fix FileDisplayActivity screenshot tests
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:38:08 +01:00
Álvaro Brey Vilas 154755af9b Fix scrolling behaviour when changing dark mode
Also fixes "scrolling on top bar" for empty folders

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:38:07 +01:00
Álvaro Brey Vilas b8bb261234 PreviewMediaFragment: fix crash when changing theme with audio fragment
Exoplayer is null when recreating

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:38:07 +01:00
Álvaro Brey Vilas 6a527a6e87 FileDisplayActivity: properly lock scrollbar for media preview
This locks the scrolling of the CoordinatorLayout AND removes the scroll flags from the AppbarLayout

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:38:07 +01:00
Álvaro Brey Vilas 17b695728e build.gradle: Fix spacing for library version
It's triggering false CI positives

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:37:41 +01:00
Álvaro Brey Vilas fb5de078f7 qa: fix head ref
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:29:31 +01:00
Álvaro Brey d013464320 Merge pull request #9959 from nextcloud/shareFromMediaView
Fix sharing from media view
2022-03-23 09:30:26 +01:00
Tobias Kaminsky 3aad1fc376 Merge pull request #9999 from nextcloud/chore/qa_pr_target
qa: run on pull_request_target, to enable running on fork PRs
2022-03-23 07:50:48 +01:00
Tobias Kaminsky 8f641e8aa2 Merge pull request #10006 from nextcloud/local-library-composite-build
SETUP: update local library linking instructions with composite builds
2022-03-23 07:48:31 +01:00
tobiasKaminsky f522446d13 Correctly show edit share link
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-23 06:50:51 +01:00
Nextcloud bot 0c5a9fd155 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-23 03:59:59 +00:00
Álvaro Brey Vilas f65b99a265 SETUP: update local library linking instructions with composite builds
Reference: https://docs.gradle.org/current/userguide/composite_builds.html

Not only is this the "official" way to do this, but also:
 - It's much simpler (changes only one file)
 - No need for symlinks
 - Android Studio support seems to finally be perfect (understands lombok, knows that there are two Git roots...)

[skip ci][ci skip]

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-22 14:31:59 +01:00
Álvaro Brey Vilas ea27e54d26 build.gradle: Restore library version
Wrongly committed

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-22 14:30:54 +01:00
Álvaro Brey Vilas f6298f7904 FileDetialsSharing...: add minHeight to content instead of scrollview
This still keeps the minimum height, but doesn't center the content vertically which looked odd

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-22 10:10:55 +01:00
Tobias Kaminsky 6c858840cb Merge pull request #10001 from nextcloud/chore/android-app-bundles
Use app bundles for Google Play upload
2022-03-22 08:33:50 +01:00
Tobias Kaminsky 646f857890 daily dev 20220322
Update Nextcloud Android library
2022-03-22 08:03:02 +01:00
Tobias Kaminsky 4cf9b68fab Merge pull request #10004 from nextcloud/fixDevScript
correct location of different build.gradle files
2022-03-22 07:59:13 +01:00
tobiasKaminsky c18bf9983e correct location of different build.gradle files
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-22 07:58:39 +01:00
Álvaro Brey Vilas 5cfa23c14b Update fastlane
command ran: bundle update fastlane

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 16:30:23 +01:00
Álvaro Brey Vilas 042b6aa38a fastlane: Sign the app bundle, and use it for google play upload
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 16:14:19 +01:00
Álvaro Brey Vilas ae0840e5aa fastlane: Build AAB for gplayRelease in addition to APK
APK is generated from AAB using bundletool, for speed and to ensure contents are the same

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 15:25:36 +01:00
tobiasKaminsky d91d2996ab Fix sharing from media view
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-21 15:06:06 +01:00
Álvaro Brey bfccee5d15 Merge pull request #9995 from nextcloud/gradle-clean
build.gradle: Add clean task to root project
2022-03-21 14:30:37 +01:00
Álvaro Brey Vilas eeee70f472 qa: run on pull_request_target, to enable running on fork PRs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 13:24:10 +01:00
Álvaro Brey 380585ea52 Merge pull request #9998 from nextcloud/dependabot/github_actions/actions/cache-3
Bump actions/cache from 2 to 3
2022-03-21 13:14:40 +01:00
dependabot[bot] efd6d88124 Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-21 11:48:58 +00:00
Álvaro Brey a9bc999574 Merge pull request #9991 from nextcloud/dependabot/gradle/org.json-json-20220320
Bump json from 20211205 to 20220320
2022-03-21 10:48:01 +01:00
Álvaro Brey edac6e2870 Merge pull request #9983 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.2
Bump firebase-messaging from 20.1.3 to 23.0.2
2022-03-21 10:47:04 +01:00
Álvaro Brey Vilas d63d22d066 GooglePlayUtils: convert to Kotlin, fix spotbugs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 09:40:18 +01:00
dependabot[bot] abf14b52cf Bump firebase-messaging from 20.1.3 to 23.0.2
Bumps firebase-messaging from 20.1.3 to 23.0.2.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-21 09:40:09 +01:00
Álvaro Brey Vilas 354047fdce build.gradle: Add clean task to root project
Missed this when restructuring

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 09:19:15 +01:00
Nextcloud bot 321a97acf7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-21 03:59:20 +00:00
dependabot[bot] 5cadf81c43 Bump json from 20211205 to 20220320
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20211205 to 20220320.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-21 02:06:05 +00:00
Nextcloud bot 98575bc8ca [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-20 04:00:57 +00:00
Nextcloud bot d7dbef4085 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-19 04:01:55 +00:00
Nextcloud bot 6d1b14785c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-18 04:00:34 +00:00
Álvaro Brey 138d3a03a9 Merge pull request #9972 from nextcloud/fix/search-loading
Fix search loading animation and display
2022-03-17 13:04:10 +01:00
Álvaro Brey e7e2ab8a96 Merge pull request #9976 from nextcloud/fix/receive-crash-no-account
ReceiveExternalFilesActivity: don't crash if no user present
2022-03-17 10:44:45 +01:00
Álvaro Brey Vilas 769816978a OCFileListFragment: extract seach async task and convert it to kotlin
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-17 10:38:30 +01:00
Nextcloud bot 886400b5e0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-17 04:04:03 +00:00
Álvaro Brey b70eeaae3a Merge pull request #9977 from nextcloud/chore/ktlint-gradle
Use ktlint plugin instead of manual ktlint tasks
2022-03-16 13:05:23 +01:00
Álvaro Brey ad13f544ee Merge pull request #9974 from nextcloud/chore/espresso-intents-version
build.gradle: Don't hardcode espresso-intents version, use the same as other espresso libs
2022-03-16 13:00:49 +01:00
nextcloud-android-bot a64986e2e3 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas 3e2eba34a5 Update FolderPickerActivity screenshot
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas 0af297735c ExtendedListFragment: Remove ViewTreeObserver on search frame
This was incorrectly setting empty message when switching search types. And it makes no sense: search is only executed when submitted.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas e8e18609e5 OCFileListFragment: make search async task static, fix loading animation usage
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey e8acc254b8 Merge pull request #9969 from nextcloud/chore/ndk-version
build: Specify NDK version (optional install)
2022-03-16 11:38:15 +01:00
Álvaro Brey Vilas 3597fb0a53 Use ktlint plugin instead of manual ktlint tasks
- Recommended by ktlint
 - Analyzes sources for all sourcesets without extra config
 - Less gradle code to maintain

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:30:39 +01:00
Tobias Kaminsky eccd9205bd Merge pull request #9970 from nextcloud/fix/share-screen-update
FileDisplayActivity: set file when opening FileDetailsFragment
2022-03-16 11:03:28 +01:00
Álvaro Brey 76d9bbfba3 Merge pull request #9432 from nextcloud/showCorrectNoShared
if no shared files are on server, show correct empty message
2022-03-16 10:45:08 +01:00
Álvaro Brey Vilas 3975839d53 ReceiveExternalFilesActivity: don't crash if no user present
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 10:38:37 +01:00
Álvaro Brey Vilas d6f32eb5ce build.gradle: Don't hardcode espresso-intents version, use the same as other espresso libs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 10:01:04 +01:00
tobiasKaminsky d9b8b3baf8 Add NDK to buildDev
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-16 07:56:39 +01:00
Nextcloud bot e82fb2c6da [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-16 04:01:13 +00:00
tobiasKaminsky 080736af30 if no shared files are on server, show correct empty message
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-15 17:36:20 +01:00
Álvaro Brey Vilas 934953506f FileDisplayActivity: set file when opening FileDetailsFragment
Solves issues when creating or removing shares, at which point the file would be re-set to the root folder

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-15 17:26:35 +01:00
Tobias Kaminsky 91520971cd Merge pull request #9873 from nextcloud/optional-files-permission
Make external storage permission optional
2022-03-15 16:49:54 +01:00
Álvaro Brey Vilas ec98c5db52 Centralize NDK and CMAKE versions
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-15 14:43:05 +01:00
Álvaro Brey Vilas 3b5d9ddabf qa: Ensure NDK and cmake are present
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-15 13:14:57 +01:00
Álvaro Brey Vilas 12ce7c2837 build: Specify NDK version (optional install)
If this + CMake is installed, native libraries are correctly stripped, and then APK size is reduced.
If not installed, everything still works as we don't actually need to compile any native stuff.

If `ndkVersion` is not specified, then the default version for Android Gradle Plugin is expected,
and stripping will not work even if other NDK version is installed. So it's better to use a
specific version, to prevent it from stopping working in the future.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-15 10:29:20 +01:00
Álvaro Brey Vilas 1a9014ee3b FileDisplayActivity: always try to reload folder on onResume
This makes it so that the folder loads even without granting storage permission, which is the expected behaviour now

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:39:21 +01:00
Álvaro Brey Vilas 2a4316a298 PermissionUtil: ensure permission choice dialog doesn't overlap itself
(ensure only one instance of it is ever shown at the same time)

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:22:17 +01:00
Álvaro Brey Vilas d8811c97a1 StoragePermissionDialogFragment: fix theming of buttons
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:18:07 +01:00
Álvaro Brey Vilas db196c68a4 Design updates for storage permission dialog
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:04:18 +01:00
Álvaro Brey Vilas ad5b443489 Choice between All Files and read-only external storage in SDK >=30
- Allow users to choose between MANAGE_EXTERNAL_STORAGE (full access) and READ_EXTERNAL_STORAGE (media read-only) in sdk >=30, with a dialog
- If All Files is not available (activity to manage not present, or permission not in manifest), request READ_EXTERNAL_STORAGE instead
- Misc improvements to permission request in UploadFilesActivity and SyncedFoldersActivity

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:04:17 +01:00
Álvaro Brey Vilas 7d2f0fa017 Make external storage permission optional
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:04:12 +01:00
Álvaro Brey 55c9811db6 Merge pull request #9865 from nextcloud/centralizeThemeUtils
Cache capabilities
2022-03-14 16:32:07 +01:00
Álvaro Brey Vilas 91c46090e8 Increase findbugs-results.txt
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 14:09:57 +01:00
tobiasKaminsky 05bd775171 only have one place for capability
update cache entry

Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-14 13:23:14 +01:00
Nextcloud bot d2f670369f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-14 11:15:03 +00:00
Álvaro Brey d4d18307b7 Merge pull request #9920 from nextcloud/fix/autoupload-select-folder
Fix folder selection in custom autoupload folders
2022-03-11 15:11:24 +01:00
Álvaro Brey Vilas a860761144 Increase lint and spotbugs
Lint is expected, spotbugs is false positive

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 13:22:52 +01:00
Álvaro Brey Vilas 785767ae70 Screenshot tests for UploadFilesActivity
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 13:22:50 +01:00
Álvaro Brey Vilas 900145da05 Fix folder selection in custom autoupload folders
Hide checkboxes and keep choose button enabled. The flow to select folders is to navigate into them and tap "Choose", as is typical in file browsers.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 13:21:31 +01:00
Álvaro Brey fbfa7fa746 Merge pull request #9960 from nextcloud/chore/modern-gradle-structure
Move app source to subproject, as per current gradle standards
2022-03-11 13:20:18 +01:00
Álvaro Brey Vilas 817bbe6d69 SETUP.md: update instructions to link library locally
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 12:19:45 +01:00
Álvaro Brey Vilas d23d20f31b Fix git hooks for new source location
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:42:11 +01:00
Álvaro Brey Vilas 797316b75a Fix screenshot screens for new source location
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:38:56 +01:00
Álvaro Brey Vilas b7c0e94b3d Fix scripts/buildDev for new source location
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:30:59 +01:00
Álvaro Brey Vilas 4c28ac03ff Fix scripts/androidScreenshotTest for new source location
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:28:21 +01:00
Álvaro Brey Vilas d8e5691366 Fix detekt and ktlint for new source path
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:23:31 +01:00
Álvaro Brey Vilas d2aa5520c6 Fix .codecov.yml after src path change
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:17:23 +01:00
Álvaro Brey Vilas 0282a98528 Fix generate_metadata.py
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:16:42 +01:00
Álvaro Brey Vilas f356311485 Update fastlane for new structurUpdate fastlane for new structure
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:15:24 +01:00
Álvaro Brey Vilas 4c4fb3cd1c Update transifex config
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:15:19 +01:00
Álvaro Brey Vilas b55c452f5f Fix uploadReport.sh for new structure
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:15:06 +01:00
Álvaro Brey Vilas 516544115c Fix screenshot tests after subproject change
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:14:46 +01:00
Álvaro Brey Vilas dd4085cf96 Fix analysis script for new project structure
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:12:47 +01:00
tobiasKaminsky 65fbc351e8 update drone
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-11 11:12:40 +01:00
tobiasKaminsky e32de23933 fix qa
fix lint
fix uploadArtifact.sh

Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-11 11:11:43 +01:00
Álvaro Brey Vilas e57176f009 Move app source to subproject
Android Studio has started to fail for some stuff with that old structure (for example connected tests don't work).
It's about time to do this.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:10:51 +01:00
Álvaro Brey 1324529d36 Merge pull request #9957 from nextcloud/dependabot/gradle/exoplayerVersion-2.17.1
Bump exoplayerVersion from 2.17.0 to 2.17.1
2022-03-11 09:27:30 +01:00
dependabot[bot] d2b884e9fe Bump exoplayerVersion from 2.17.0 to 2.17.1
Bumps `exoplayerVersion` from 2.17.0 to 2.17.1.

Updates `exoplayer` from 2.17.0 to 2.17.1
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.17.0...r2.17.1)

Updates `extension-okhttp` from 2.17.0 to 2.17.1
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.17.0...r2.17.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-11 02:04:51 +00:00
Álvaro Brey e0c8d337c7 Merge pull request #9954 from nextcloud/changelog-master-stable-3.19.1
Add changelog for 3.19.1
2022-03-10 15:58:57 +01:00
Álvaro Brey Vilas e69bda3431 Add changelog for 3.19.1
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-10 13:36:47 +01:00
Álvaro Brey e5cf4dd231 Merge pull request #9951 from nextcloud/stableServer
Test against latest stable
2022-03-10 13:05:41 +01:00
tobiasKaminsky 6dbee33546 Test against latest stable
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-10 11:14:26 +01:00
Álvaro Brey 8dc0bbe14f Merge pull request #9933 from nextcloud/chore/drone-no-skip-ci
Fix CI on analysis commits
2022-03-10 10:58:45 +01:00
Tobias Kaminsky 8a2c587aea Merge pull request #9945 from nextcloud/fix/exoplayer-http
Exoplayer: use NextcloudClient's OkHttp client for connections
2022-03-10 10:54:21 +01:00
Álvaro Brey Vilas b4c241cef9 Update analysis.yml
Analysis: don't add "skip ci" to drone commit messages

Messes up Github Actions and doesn't work on Drone anyway

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

analysis: Fix commiter name and email

Not drone anymore

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 15:02:44 +01:00
Álvaro Brey c383abbc37 Merge pull request #9940 from nextcloud/fix/chardet-android7
build.gradle: Restore juniversalchardet to 2.0.3
2022-03-09 14:58:33 +01:00
Álvaro Brey 55bdccc807 Merge pull request #9930 from nextcloud/fix/share-title-bar
FileActivity: don't try to get file from FileDetailSharingFragment
2022-03-09 14:56:13 +01:00
Álvaro Brey Vilas 738c058b7a Exoplayer: use NextcloudClient's OkHttp client for connections
This fixes some issues with SSL in Android 7, and allows using custom certificates for streaming,
fixes IPv6 fallback, etc etc.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 14:28:05 +01:00
nextcloud-android-bot 3f61f6767f Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-09 09:34:24 +00:00
Álvaro Brey Vilas 3c5907816a FileActivity: don't try to get file from FileDetailSharingFragment
This solves some bugs with toolbar title.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 10:25:46 +01:00
Álvaro Brey 5affe302c9 Merge pull request #9936 from nextcloud/fix/extra-user-type
FileDownloader: EXTRA_USER should be User, not Account
2022-03-09 10:20:35 +01:00
Álvaro Brey Vilas 837a42b83e build.gradle: Restore juniversalchardet to 2.0.3
Newer versions cause crashes in android < 7. This was mistakenly bumped in dependabot

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 10:16:30 +01:00
Álvaro Brey 4a621176a4 Merge pull request #9922 from nextcloud/syncedfolders-async
SyncedFoldersActivity: asynchronous loading
2022-03-09 10:01:20 +01:00
Álvaro Brey 69a103543f Merge pull request #9938 from nextcloud/dependabot/gradle/mockitoVersion-4.4.0
Bump mockitoVersion from 4.3.1 to 4.4.0
2022-03-09 09:49:05 +01:00
Tobias Kaminsky 530dfbc51d Merge pull request #9916 from nextcloud/chore/update_project_codestyles
Chore: Update codeStyles/Project.xml
2022-03-09 09:34:42 +01:00
Álvaro Brey Vilas e7dbbb45b4 Analysis: use proper token for clone
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 09:01:50 +01:00
dependabot[bot] bbd4718a14 Bump mockitoVersion from 4.3.1 to 4.4.0
Bumps `mockitoVersion` from 4.3.1 to 4.4.0.

Updates `mockito-core` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.0)

Updates `mockito-android` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-09 02:06:22 +00:00
Álvaro Brey Vilas 781fe1912c FileDownloader: EXTRA_USER should be User, not Account
Fixes #9935

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 16:30:51 +01:00
Álvaro Brey Vilas bee3403b21 analysis: Checkout branch, but use repo too
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 13:50:04 +01:00
Álvaro Brey Vilas 2a8123210a Analysis scripts: fix push
I am TIRED of fighting with this scripts and Github actions

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 13:16:53 +01:00
Álvaro Brey 59751c2fda Merge pull request #9921 from akallabeth/download_async_task
Fix #9842: Run network operations in async task
2022-03-08 13:04:41 +01:00
Álvaro Brey c480d91b4c Merge pull request #9910 from nextcloud/chore/retry-rule-no-sed
RetryTestRule: don't modify in scripts, use buildConfigField instead
2022-03-08 12:02:03 +01:00
Álvaro Brey Vilas bfffad6bf4 DocumentsStorageProvider: clean up download threading
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 11:33:24 +01:00
akallabeth a8c85a376d Fix #9842: Run DocumentProvider.openDocument network operations in async task
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 11:33:19 +01:00
Álvaro Brey Vilas b5f727f945 RetryTestRule: don't modify in scripts, use buildConfigField instead
Modifying code in scripts is bad

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 09:43:38 +00:00
Álvaro Brey Vilas 421a672e1d workflows: analysis: another attempt to fix checkout
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 10:27:24 +01:00
Álvaro Brey Vilas d2cb7e33b5 Revert "workflows: analysis: default checkout"
This reverts commit 55f02b550b.

Signed-off-by: Álvaro Brey <[email protected]>
2022-03-08 10:25:38 +01:00
Álvaro Brey fb6d8f8263 Merge pull request #9898 from nextcloud/chore/no-more-second-fragment
FileDisplayActivity: finally get rid of secondFragment
2022-03-08 10:23:26 +01:00
Álvaro Brey Vilas 55f02b550b workflows: analysis: default checkout
Should work in checkout@v3

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 10:04:15 +01:00
Nextcloud bot 4a9338d4fe [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-08 03:58:09 +00:00
Álvaro Brey Vilas 6b3742a131 SyncedFoldersActivity: cancel loading when activity stops
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-07 14:47:18 +01:00
Álvaro Brey 2494967829 Merge pull request #9928 from nextcloud/dependabot/github_actions/actions/stale-5
Bump actions/stale from 4.1.0 to 5
2022-03-07 12:46:32 +01:00
Álvaro Brey 8a34bf220b Merge pull request #9926 from nextcloud/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-07 10:14:57 +01:00
Álvaro Brey 79452d3539 Merge pull request #9927 from nextcloud/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-03-07 09:47:30 +01:00
dependabot[bot] c8b1e0e43d Bump actions/stale from 4.1.0 to 5
Bumps [actions/stale](https://github.com/actions/stale) from 4.1.0 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4.1.0...v5)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-07 08:20:44 +00:00
dependabot[bot] 7e7a1f4f97 Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...6673cd052c4cd6fcf4b4e6e60ea986c889389535)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-07 08:20:41 +00:00
dependabot[bot] 5e0c59cd6d Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-07 08:20:38 +00:00
Álvaro Brey 7d6d7e564e Merge pull request #9923 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2022-03-07 09:19:54 +01:00
Nextcloud bot 2b5d46eec6 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-05 08:17:06 +00:00
Nextcloud bot 02dbe46d78 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-05 03:54:31 +00:00
nextcloud-android-bot 0a97b9b797 Drone: update FindBugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-04 17:50:11 +01:00
nextcloud-android-bot 0ad73f845d Drone: update Lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-04 17:49:54 +01:00
Álvaro Brey Vilas dc4f4bc512 SyncedFolderAdapter: load thumbnails in parallel instead of sequentially
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 17:29:51 +01:00
Álvaro Brey Vilas c488b0b330 SyncedFoldersActivity: load content asynchronously
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 17:21:32 +01:00
Álvaro Brey Vilas 6b67362b7b SyncedFoldersActivity: convert to Kotlin (step 2)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 17:09:50 +01:00
Álvaro Brey Vilas aad327de21 SyncedFoldersActivity: conver to Kotlin (step 1)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 16:23:45 +01:00
Álvaro Brey Vilas 5891959a21 Update codeStyles/Project.xml
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-03 11:54:50 +01:00
Nextcloud bot c08cfd9c8f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-03 03:55:42 +00:00
Álvaro Brey 3383a6781a Merge pull request #9884 from nextcloud/creationTime
Correct handling of creation timestamp
2022-03-02 12:52:16 +01:00
Álvaro Brey Vilas 34ff8cff55 Restore library version
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-02 11:13:59 +01:00
Álvaro Brey 263413d53f Merge pull request #9881 from nextcloud/customCertInEditorWebView
Allow accessing URLs with custom cert in editor
2022-03-02 10:32:09 +01:00
Álvaro Brey d9c605e425 Merge pull request #9896 from nextcloud/fix/preview-shared
PreviewImageActivity: don't try to use virtual folder is type is NONE
2022-03-01 16:56:15 +01:00
Álvaro Brey 4dfd837257 Merge pull request #9897 from nextcloud/fix/selection-clear-titlebar
OCFileListFragment: don't reset title after clearing action mode (multiselect)
2022-03-01 16:55:27 +01:00
Unpublished 3c002fa0c3 Allow EditorWebView accessing URLs with custom certificate
Signed-off-by: Unpublished <[email protected]>

Drone: update Lint results to reflect reduced error/warning count

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

Drone: update FindBugs results to reflect reduced error/warning count

Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-01 16:26:37 +01:00
Álvaro Brey 436c782ebe Merge pull request #9904 from nextcloud/fix/media-title-restoring
GalleryFragment: restore title and fab on resume
2022-03-01 13:36:13 +01:00
Álvaro Brey 0e7587f73d Merge pull request #9901 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.17.0
Bump exoplayer from 2.16.1 to 2.17.0
2022-03-01 12:24:11 +01:00
Álvaro Brey 2b24e51eb4 Merge pull request #9907 from nextcloud/dependabot/gradle/mockkVersion-1.12.3
Bump mockkVersion from 1.12.2 to 1.12.3
2022-03-01 11:28:49 +01:00
Álvaro Brey Vilas 93f7c99d81 Force checkerframework version to fix error due to exoplayer upgrade
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-01 10:50:23 +01:00
dependabot[bot] 7bcea82061 Bump mockkVersion from 1.12.2 to 1.12.3
Bumps `mockkVersion` from 1.12.2 to 1.12.3.

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-01 02:06:21 +00:00
Álvaro Brey Vilas 39094c0ef7 UploadFileOperation: fix creationTimestamp type
Thanks, spotbugs

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 17:48:34 +01:00
Álvaro Brey Vilas 7ff1d0d7d3 GalleryFragment: restore title and fab on resume
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 17:33:08 +01:00
Álvaro Brey Vilas eeee11e427 PreviewImageActivity: don't try to use virtual folder is type is NONE
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 14:11:09 +00:00
Álvaro Brey Vilas 967327e321 OCFileListFragment: don't reset title after clearing action mode (multiselect)
This breaks the title when in a virtual folder. There's no need for this, as the title is preserved anyway

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 14:10:57 +00:00
tobiasKaminsky 6d6339ebf6 Correct handling of creation timestamp
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-28 14:10:39 +00:00
nextcloud-android-bot abfcec5adc Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-28 14:10:19 +00:00
Álvaro Brey Vilas dd4770669f FileDisplayActivity: finally get rid of secondFragment
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 14:10:19 +00:00
Álvaro Brey 1954584741 Merge pull request #9902 from nextcloud/fix/localid-nullpointer
OCFile: fix NPE in getLocalId when remoteID is null
2022-02-28 15:09:17 +01:00
Álvaro Brey Vilas ba21b3a43f OCFile: fix NPE in getLocalId when remoteID is null
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 12:51:05 +01:00
Nextcloud bot b8aa447056 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-28 04:13:54 +00:00
dependabot[bot] ebe28efc46 Bump exoplayer from 2.16.1 to 2.17.0
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.16.1 to 2.17.0.
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.16.1...r2.17.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-28 02:09:41 +00:00
Nextcloud bot 76c5dded8f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-26 03:53:55 +00:00
Álvaro Brey 663cc8ed4f Merge pull request #9894 from nextcloud/unneededToString
Remove not needed toString() call
2022-02-25 15:29:28 +01:00
nextcloud-android-bot a990e6c2c8 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-25 13:54:05 +00:00
tobiasKaminsky 8401427d96 Remove not needed toString() call
Signed-off-by: tobiasKaminsky <[email protected]>

Update src/main/java/com/owncloud/android/db/OCUpload.java

Signed-off-by: Álvaro Brey <[email protected]>
2022-02-25 14:46:27 +01:00
Álvaro Brey 310d980313 Merge pull request #9893 from nextcloud/remoteIdNull
remoteId not needed when deleting a file
2022-02-25 14:45:17 +01:00
nextcloud-android-bot 99854accf6 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-25 12:49:47 +00:00
tobiasKaminsky 7c7e7e845d remoteId not needed when deleting a file
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-25 12:49:47 +00:00
Álvaro Brey cd94dc997b Merge pull request #9895 from nextcloud/fix/revert-exoplayer
Revert "Bump exoplayer from 2.16.1 to 2.17.0"
2022-02-25 13:47:51 +01:00
Álvaro Brey Vilas 3433312268 Revert "Bump exoplayer from 2.16.1 to 2.17.0"
Breaks instrumented test dependencies for some reason

This reverts commit b089ca76a4.
2022-02-25 13:45:27 +01:00
Álvaro Brey 2bd1b95fe9 Merge pull request #9889 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.17.0
Bump exoplayer from 2.16.1 to 2.17.0
2022-02-25 13:10:51 +01:00
Álvaro Brey 113c4a2a7b Merge pull request #9888 from nextcloud/chore/remove-third-party
Remove third party licenses for libs we don't use (anymore)
2022-02-25 09:51:26 +01:00
Álvaro Brey a4a5cc0396 Merge pull request #9890 from nextcloud/removeMail
remove mail notification on failure during CI, as this is shown in GitHub anyways
2022-02-25 09:48:07 +01:00
dependabot[bot] b089ca76a4 Bump exoplayer from 2.16.1 to 2.17.0
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.16.1 to 2.17.0.
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.16.1...r2.17.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-25 08:47:19 +00:00
tobiasKaminsky 60aaf00fc2 remove mail notification on failure during CI, as this is shown in GitHub anyways
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-25 07:07:04 +01:00
Nextcloud bot 5d943ad24b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-25 03:53:59 +00:00
Álvaro Brey Vilas 812cd943db Remove third party licenses for libs we don't use (anymore)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 16:53:29 +01:00
Álvaro Brey 5b964994d1 Merge pull request #8805 from nextcloud/stacktrace
Add stacktrace directly to github issue
2022-02-24 13:38:04 +01:00
Álvaro Brey Vilas 1a0d3ed65b Cleanup
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 11:49:20 +01:00
Álvaro Brey Vilas 5d07c4c6e4 Better exception report template
With markdown now

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 11:42:55 +01:00
Álvaro Brey Vilas 4cc4418bec ExceptionHandler: format entire stack trace recursively
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 11:03:32 +01:00
tobiasKaminsky 53a04af735 Add stacktrace directly to github issue
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-24 11:03:26 +01:00
Álvaro Brey 06ad493ed2 Merge pull request #9846 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.44.0
Bump ktlint from 0.43.2 to 0.44.0
2022-02-24 10:25:18 +01:00
Álvaro Brey 9b3c08efcd Merge pull request #9880 from nextcloud/fixLoggerImpl
Fix LoggerImpl to also log throwable
2022-02-24 10:15:58 +01:00
Álvaro Brey 316a2579c4 Merge pull request #9882 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.1.2
Bump gradle from 7.1.1 to 7.1.2
2022-02-24 10:12:12 +01:00
Nextcloud bot b124793817 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-24 03:56:56 +00:00
dependabot[bot] 9ee6e7185c Bump gradle from 7.1.1 to 7.1.2
Bumps gradle from 7.1.1 to 7.1.2.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-24 02:05:16 +00:00
Unpublished f50def5e0d Fix LoggerImpl to also log throwable
Signed-off-by: Unpublished <[email protected]>
2022-02-23 22:02:59 +01:00
Álvaro Brey 3b1dbe2301 Merge pull request #9866 from nextcloud/migrateParcelerToKotlinParcelize
Migrate from Parceler to kotlin-parcelize
2022-02-23 17:43:58 +01:00
Unpublished fcd1ab88b5 Migrate from Parceler to kotlin-parcelize
Signed-off-by: Unpublished <[email protected]>
2022-02-23 17:08:32 +01:00
Tobias Kaminsky 1250f27d59 Merge pull request #9877 from nextcloud/chore/espresso-intents-androidx
Use androidx for espresso-intents
2022-02-23 14:57:53 +01:00
Álvaro Brey Vilas ffe0b0c961 Use androidx for espresso-intents
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-23 13:35:35 +01:00
Álvaro Brey 00009680a3 Merge pull request #9859 from nextcloud/fix/video-stacking
Misc fixes for video player
2022-02-22 12:09:26 +01:00
Nextcloud bot 8f6e8f4927 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-22 03:56:19 +00:00
nextcloud-android-bot 2854b72f77 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-21 16:47:54 +00:00
nextcloud-android-bot 28e8c0d1ad Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-21 16:46:46 +00:00
Álvaro Brey Vilas 71c0f657e2 PreviewVideoActivity: improve button UX
- Add ripple on button click
 - Only show play OR pause button depending on playback state

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:43 +01:00
Álvaro Brey Vilas 87e508d2b1 Restore fast forward/rewind buttons in fullscreen video
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 7d89d68df6 PreviewVideoActivity: convert to Kotlin
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 329dea57a3 PreviewMediaFragment: fix restoring seek position when returning from fullscreen stream
The stream asynctask was just ignoring the saved time

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 11e472b18b PreviewVideoActivity: fix control buttons
For some reason only previous/next were working.

Manually bind play and pause, and remove the rest

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 22555a901a PreviewVideoActivity: pause player when activity stops
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas e419144456 PreviewVideoActivity: ensure player is stopped when closing fullscreen
This already worked for onBackPressed

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 686748dda2 PreviewMediaFragment: stop video when stopping activity, and don't recreate existing player
This avoids multiple instances of the player opening when minimizing the app, for example.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey c9018f8ba6 Merge pull request #9862 from nextcloud/fixLeakedCloseableViolation
Fix LeakedCloseableViolations in getScaledBitmap
2022-02-21 11:36:38 +01:00
Álvaro Brey cb9d9ff1a2 Merge pull request #9858 from nextcloud/fix/preview-share
Fix UX issues with toolbar in preview media fragment when using the "share" option
2022-02-21 09:46:28 +01:00
Nextcloud bot e4da58cfd2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-21 03:55:57 +00:00
Unpublished 2bd0bf0f14 Update findbugs-results.txt
Signed-off-by: Unpublished <[email protected]>
2022-02-20 13:22:48 +01:00
Unpublished 67397a4d7b Fix LeakedCloseableViolations in getScaledBitmap
Signed-off-by: Unpublished <[email protected]>
2022-02-20 12:56:28 +01:00
Nextcloud bot 5250b7380c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-20 03:55:24 +00:00
Nextcloud bot c704f59b37 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-19 03:55:54 +00:00
Álvaro Brey Vilas 7625275b07 Fix toolbar in PreviewMediaFragment after coming back from sharing fragment
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-18 13:48:17 +01:00
Álvaro Brey Vilas 66125d6a27 FileDisplayActivity: fix coordinator scrolling when opening share details from media preview
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-18 13:31:15 +01:00
Álvaro Brey 2b639f288b Merge pull request #9852 from nextcloud/dependabot/gradle/daggerVersion-2.41
Bump daggerVersion from 2.40.5 to 2.41
2022-02-17 18:12:26 +01:00
Álvaro Brey 735cbfc7ab Merge pull request #9851 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.6
Bump spotbugs-gradle-plugin from 5.0.5 to 5.0.6
2022-02-17 17:45:08 +01:00
Tobias Kaminsky 41d1698ea3 Merge pull request #9717 from nextcloud/scan_doc
Scan doc
2022-02-17 14:31:02 +01:00
thelittlefireman 9e7a9b410f Add scan document feature
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: thelittlefireman <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-17 10:10:36 +01:00
Nextcloud bot ee000f7b4e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-17 03:55:25 +00:00
dependabot[bot] c3939e881c Bump daggerVersion from 2.40.5 to 2.41
Bumps `daggerVersion` from 2.40.5 to 2.41.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-17 02:05:47 +00:00
dependabot[bot] 70904ce924 Bump spotbugs-gradle-plugin from 5.0.5 to 5.0.6
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.5...5.0.6)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-17 02:05:25 +00:00
Tobias Kaminsky 1e33020f80 Merge pull request #9783 from nextcloud/mediaEnhancement
Enhance media tab
2022-02-16 10:42:33 +01:00
dependabot[bot] 2d99d8a546 Bump ktlint from 0.43.2 to 0.44.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.43.2 to 0.44.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.43.2...0.44.0)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-16 02:05:51 +00:00
Álvaro Brey f9febe24ad Fallback pdf viewer (#9806)
* Basic PDF preview

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

* Preview pdf: add dividers between pages

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

* Prefer third-party pdf viewers over fallback viewer

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

* Zoomable view for pdf pages

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

pdf preview: Show tip to indicate that zooming on images is possible

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

* Pdf preview: screenshot test

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

* Fix spotbugs and lint

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

* PreviewPdfFragment: fix screenshot test

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

* PreviewPdfFragment: fix toolbar when resuming

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

* PreviewBitmapActivity: add screenshot test

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

* PreviewPdfFragment: fix crash in screenshot tests

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

* Pdf preview: rename tests

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

* pdf preview: Update copyright headers

Oops

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

* Pdf preview: use grey for background instead of black

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

* Pdf preview: add scrollbar

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

* Pdf preview: show zoom tip 3 times instead of only once

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

* Pdf preview: fix lint and improve styling

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-15 15:04:16 +01:00
Tobias Kaminsky 9723c0458e Merge pull request #9816 from nextcloud/pin
Improve PIN lockout handling
2022-02-15 14:54:08 +01:00
tobiasKaminsky ea863cd04c Fix test, satisfy spotbugs
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 14:52:55 +01:00
Tobias Kaminsky e5131c59ca Merge pull request #9736 from nextcloud/uploadCreationTimestamp
Make use of upload and creation timestamp
2022-02-15 14:22:08 +01:00
Álvaro Brey Vilas df3c98a0c4 PassCodeManager: use abstracted Clock implementation rather than system clock directly
Improves testability

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-15 11:23:36 +01:00
Álvaro Brey Vilas aafa7780f6 PassCodeActivity: update lock timestamp when lock has just been set
Prevents asking for pass immediately after setting it

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-15 10:27:11 +01:00
tobiasKaminsky 607d008a75 Make use of upload and creation timestamp
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 09:43:32 +01:00
tobiasKaminsky 3584b90bc6 Show empty message if no results
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 09:36:52 +01:00
tobiasKaminsky b2bfd985da Remove not needed check
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 09:23:50 +01:00
tobiasKaminsky 0624e7eef3 Satisfy CI
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 08:37:25 +01:00
tobiasKaminsky cdd73d7d3d Use master library again
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 08:11:24 +01:00
Nextcloud bot ac68a9269e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-15 05:33:30 +00:00
Álvaro Brey Vilas 8b03556f71 PassCodeManager: convert to Kotlin, clean up, use injection
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-14 18:28:56 +01:00
Álvaro Brey Vilas 579af4ab30 PassCodeManager: don't count passcode/credentials activity towards activity counter
This prevents repetition attacks

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-14 17:28:46 +01:00
Álvaro Brey 42b254dae6 Merge pull request #9829 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.9.0
Bump gson from 2.8.9 to 2.9.0
2022-02-14 13:49:31 +01:00
dependabot[bot] b2652633d2 Bump gson from 2.8.9 to 2.9.0
Bumps [gson](https://github.com/google/gson) from 2.8.9 to 2.9.0.
- [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.8.9...gson-parent-2.9.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-14 12:15:06 +00:00
Álvaro Brey 6d6183b3b0 Merge pull request #9208 from nextcloud/flaky-tests-again
Add RetryTestRule to DrawerActivityIT
2022-02-14 11:16:18 +01:00
Álvaro Brey 69033e25e9 Merge pull request #9823 from nextcloud/chore/mockitokotlin2
Chore: replace `com.nhaarman.mockitokotlin2` with `org.mockito.kotlin`
2022-02-14 11:09:47 +01:00
Tobias Kaminsky b81027d057 Merge pull request #9791 from nextcloud/fix/shares-downloading-crash
FileActivity: fix crash on share operations when FileDetailFragment is second fragment
2022-02-14 09:06:22 +01:00
Tobias Kaminsky c41f87d281 Merge pull request #9822 from nextcloud/chore/conflicts-dialog-logs
ConflictsResolveActivity: Add log messages when dialog can't be created
2022-02-14 09:00:28 +01:00
Tobias Kaminsky 1d4bc98de7 Merge pull request #9812 from nextcloud/avatarSize
Use 512px for avatar
2022-02-14 08:47:33 +01:00
Tobias Kaminsky 8b0674e29f Merge pull request #9808 from nextcloud/resumeText
resuming TextEditor after splitting screens works now again
2022-02-14 08:40:09 +01:00
Tobias Kaminsky 541e55ff1c Merge pull request #9821 from nextcloud/fix/db-upgrade-crash
FileContentProvider: fix crash on certain upgrades
2022-02-14 08:30:47 +01:00
tobiasKaminsky fa73725815 Pin: use activity paused also, as stopped is sometimes too slow
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:30:00 +00:00
tobiasKaminsky 556f856ac3 Update adapter after finish search (success/failure)
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky e17beb00ad Do not show meta info (favorite, download status) in media view
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 256656af5d correctly return result
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 307a407631 fix reloading bug
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 07885c3a18 refactor/ clean up
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
nextcloud-android-bot 905b21e04a Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 5140d8d99f sql typo
fix not showing images

Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 3bfc373e50 Enhance media tab
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:50 +01:00
Nextcloud bot 6b8ce02a2e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-14 03:55:09 +00:00
Nextcloud bot bbf1032845 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-12 03:55:56 +00:00
Álvaro Brey Vilas 2a6398adda Chore: replace com.nhaarman.mockitokotlin2 with org.mockito.kotlin
It has been integrated into the main mockito org, and the old ID no longer receives updates

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 18:32:15 +01:00
tobiasKaminsky e20555f5d0 resuming TextEditor after splitting screens works now again
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 16:59:13 +00:00
Álvaro Brey ad24340f90 Merge pull request #9083 from nextcloud/gplayImpl
remove gplay.gradle, use gplayImplementation instead
2022-02-11 17:53:59 +01:00
Álvaro Brey Vilas c506cda8a6 FileDisplayActivity: ditch secondFragment for FileDetailsFragment, use leftFragment instead
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 16:49:57 +00:00
Álvaro Brey Vilas d82a989378 FileActivity: fix crash on share operations when FileDetailFragment is second fragment
When a file is downloaded, FileDetailFragment is opened as SECOND_FRAGMENT instead of LIST_OF_FILES, which breaks this logic.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 16:49:57 +00:00
Álvaro Brey Vilas 9cf0f1d6fa ConflictsResolveActivity: Add log messages when dialog can't be created
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 17:33:58 +01:00
Álvaro Brey Vilas b5d338fb8d FileContentProvider: fix crash on certain upgrades
checkIfColumnExists should not use getColumnIndexOrThrow, as it's supposed to check if the index doesn't exist

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 13:57:03 +01:00
Tobias Kaminsky 5c649785f1 Merge pull request #9819 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.8
Bump byteBuddyVersion from 1.12.7 to 1.12.8
2022-02-11 13:31:31 +01:00
Tobias Kaminsky b36da4a699 Merge pull request #9805 from nextcloud/highresThumbnails
High-res thumbnails
2022-02-11 13:16:31 +01:00
Tobias Kaminsky a3add82062 Merge pull request #9799 from nextcloud/dependabot/gradle/com.facebook.testing.screenshot-core-0.15.0
Bump core from 0.13.0 to 0.15.0
2022-02-11 13:08:35 +01:00
dependabot[bot] e37cd03378 Bump core from 0.13.0 to 0.15.0
Bumps [core](https://github.com/facebook/screenshot-tests-for-android) from 0.13.0 to 0.15.0.
- [Release notes](https://github.com/facebook/screenshot-tests-for-android/releases)
- [Changelog](https://github.com/facebook/screenshot-tests-for-android/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/screenshot-tests-for-android/compare/0.13.0...0.15.0)

---
updated-dependencies:
- dependency-name: com.facebook.testing.screenshot:core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-11 11:09:39 +00:00
tobiasKaminsky 7ddbb65ca2 Use 512px for avatar
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 11:09:23 +00:00
tobiasKaminsky 1c9a3e0208 For display with >= 600dp use higher file icon resolution
use this resolution also default thumbnails

Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 11:09:20 +00:00
dependabot[bot] 4f3de11179 Bump byteBuddyVersion from 1.12.7 to 1.12.8
Bumps `byteBuddyVersion` from 1.12.7 to 1.12.8.

Updates `byte-buddy` from 1.12.7 to 1.12.8
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.7...byte-buddy-1.12.8)

Updates `byte-buddy-android` from 1.12.7 to 1.12.8
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.7...byte-buddy-1.12.8)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-11 11:08:50 +00:00
Tobias Kaminsky db71d3748e Merge pull request #9820 from nextcloud/newDroneServer
Update drone server image
2022-02-11 11:58:17 +01:00
tobiasKaminsky 11524528bf Update drone server image
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 10:16:52 +01:00
Álvaro Brey 8fd7a050c7 Merge pull request #9814 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.4.1
Bump lifecycle-viewmodel-ktx from 2.4.0 to 2.4.1
2022-02-10 12:54:42 +01:00
dependabot[bot] 452195342e Bump lifecycle-viewmodel-ktx from 2.4.0 to 2.4.1
Bumps lifecycle-viewmodel-ktx from 2.4.0 to 2.4.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] <[email protected]>
2022-02-10 02:14:16 +00:00
Álvaro Brey e88a4d97d6 Merge pull request #9802 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.1.1
Bump gradle from 7.1.0 to 7.1.1
2022-02-07 09:43:57 +01:00
Álvaro Brey 4d9c878d4f Merge pull request #9801 from nextcloud/chore/test-sort-order
Update sorting tests
2022-02-07 09:21:24 +01:00
Nextcloud bot 73c01d1ef4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-07 03:54:38 +00:00
dependabot[bot] 0200142476 Bump gradle from 7.1.0 to 7.1.1
Bumps gradle from 7.1.0 to 7.1.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-07 02:07:01 +00:00
Nextcloud bot 559c41d880 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-05 03:54:13 +00:00
Álvaro Brey Vilas 08e7a761dc NaturalSortTest: shuffle instead of duplicating parameters
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:55:07 +01:00
Álvaro Brey Vilas 64d386786c Rename TestSorting to OCFileSortTest, conver to Kotlin, parameterize
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:55:07 +01:00
Álvaro Brey Vilas bed01a2f0c TestSorting: refactor and simplify since it's now only for OCFiles
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:12:52 +01:00
Álvaro Brey Vilas e7e603f4d8 Move string sort tests from TestSorting to NaturalSortTest
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:02:42 +01:00
Álvaro Brey Vilas d40fc88754 Move TestSorting to unit tests
No reason for it to be an instrumented test

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 12:54:45 +01:00
Álvaro Brey Vilas 91297b7ce0 Test AlphanumComparator
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 10:49:08 +01:00
Nextcloud bot 927babb3bf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-04 03:55:25 +00:00
Álvaro Brey b0848c23e7 Merge pull request #9796 from nextcloud/changelog-master-stable-3.19.0
Add changelog for 3.19.0
2022-02-03 13:19:53 +01:00
Álvaro Brey Vilas 1a7f81a47b Add changelog for 3.19.0
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-03 13:17:13 +01:00
Nextcloud bot c437db409e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-03 03:55:06 +00:00
Nextcloud bot dba8da00f0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-02 03:55:45 +00:00
Nextcloud bot 190332ceaa [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-01 03:55:35 +00:00
Álvaro Brey 1ecbf61cc7 Merge pull request #9776 from nextcloud/fix/activity-title
OCFileListFragment: set title when attached to activity
2022-01-31 15:42:16 +01:00
Álvaro Brey 0c5afce10e Merge pull request #9770 from nextcloud/Valdnet-patch-1
i18n: Change to a capital letter
2022-01-31 13:43:46 +01:00
Álvaro Brey Vilas d1d3a49a6b OCFileListFragment: set title when attached to activity
This prevents wrong title while search isn't started yet (such as when returning to a search fragment from a preview fragment)

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-28 16:32:46 +01:00
Nextcloud bot 204cd5a2c5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-28 03:54:54 +00:00
Valdnet f28bc6f9f9 i18n: Change to a capital letter
Signed-off-by: Valdnet <[email protected]>
2022-01-27 17:12:02 +01:00
tobiasKaminsky ebf59510fc remove gplay.gradle, use gplayImplementation instead
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-27 12:15:37 +00:00
Álvaro Brey 88605985a0 Merge pull request #9743 from nextcloud/fix/media-dark-duplicated
Fix crashes and double loading in GalleryFragment when changing dark theme
2022-01-27 12:35:35 +01:00
Álvaro Brey 3e97e1e212 Merge pull request #9761 from nextcloud/fix/local-files-freeze
Improve freezes in local files screens when folder contains many files
2022-01-27 12:34:35 +01:00
Álvaro Brey 6ccd2f91de Merge pull request #9760 from nextcloud/fix/passcode-cancel
PassCodeActivity: enable cancel button when re-created in confirmation step
2022-01-27 12:33:57 +01:00
Álvaro Brey c2bdea7f74 Merge pull request #9762 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.4.1
Bump fragment-ktx from 1.4.0 to 1.4.1
2022-01-27 10:23:14 +01:00
Álvaro Brey Vilas f3de5f9862 LocalFileListAdapter: fix case where directory==null
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:49:07 +01:00
Álvaro Brey Vilas 96c55a6d9f FileSortOrder*: convert to Kotlin
Need more kotlin in the codebase and these were simple enough

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:49:07 +01:00
dependabot[bot] dc7f3f88e1 Bump fragment-ktx from 1.4.0 to 1.4.1
Bumps fragment-ktx from 1.4.0 to 1.4.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-27 08:38:05 +00:00
Álvaro Brey Vilas 7baa0f8da4 LocalFileListAdapter: Also change sort order asynchronously
Changing sort  order is also slow.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:33:50 +01:00
Álvaro Brey Vilas 2baf63d809 AlphaNumComparator: optimize usage and resolve signature problems
- Methods had ambiguous signatures (parameterized compare<T> overlapped the various typed compare()). This made the compiler very confused.
 - In several places throughout the app, AlphaNumComparator was getting repeatedly instantiated just to manually call a typed compare(). This was very wasteful

To solve both problems, the typed compare() methods have been been made static.

The performance gains of not instantiating the comparator repeatedly are very noticeable. In a test loading a local folder for upload with 1000 files in it,
time of load is reduced from 28 seconds to 17 seconds.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:33:50 +01:00
Álvaro Brey Vilas 462da35fdb LocalFileList: load local files asynchronously
Loading a large list of files (especially the sorting part) is S L O W.
This ensures it doesn't block the UI while loading.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:33:50 +01:00
Álvaro Brey Vilas c5ebc05964 PassCodeActivity: enable cancel button when re-created in confirmation step
Prevents a bug where the cancel button would stop working if the device was rotated

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:20:00 +01:00
Álvaro Brey 618a770349 Merge pull request #9751 from nextcloud/fix/clear-data
Fix some crashes and weird behaviours when clearing data
2022-01-27 09:18:21 +01:00
Álvaro Brey 4a29c2e4c4 Merge pull request #9726 from nextcloud/fix/immutable-intents
Make PendingIntents immutable
2022-01-27 09:16:03 +01:00
nextcloud-android-bot d51268d7b8 Drone: update FindBugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-01-26 14:09:47 +01:00
nextcloud-android-bot af2059660f Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-01-26 12:08:19 +00:00
Álvaro Brey Vilas c01fa0b170 Make more PendingIntents immutable
This should be all of them. Picked up by lint.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 12:56:05 +01:00
Álvaro Brey Vilas 27559efb79 Make PendingIntents immutable
Good practice for security

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 12:56:05 +01:00
Álvaro Brey 38c60b7618 Merge pull request #9758 from nextcloud/fix/analysis-again
Analysis: fix checkout and commit generation
2022-01-26 12:55:23 +01:00
Álvaro Brey Vilas 494cceab8e Analysis: fix checkout and commit generation
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 12:54:24 +01:00
Álvaro Brey 7eaed66ebc Merge pull request #9755 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.1.0
Bump gradle from 7.0.4 to 7.1.0
2022-01-26 12:06:04 +01:00
Álvaro Brey Vilas 45fc831989 gplay/AndroidManifest: set exported value for service
picked up by lint

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 9d5395c8fd ezvcard/ContactOperations: suppress locale lint in third_party class
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 043d839d70 build.gradle: Disable some translation errors in lint
Translations are handled in Transifex

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas a9ec1de015 manifest: Remove unneeded labels
Trips up lint

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 00586a5bde BackgroundJobFactory: fix lint due to unchecked build version for ContentObserverJob
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas b6115a5fc1 lint: Fix getLayoutInflater calls
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas b07716c0e5 screenshotTest: uninstall app before running
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 9f2bdd5916 Analysis: use pull_request_target
Can't post reports otherwise as github token is readonly in pull_request

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas e35b6211f0 build.gradle: Run migrations for AGP 7.1.0
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:52 +01:00
dependabot[bot] ae8752a4f7 Bump gradle from 7.0.4 to 7.1.0
Bumps gradle from 7.0.4 to 7.1.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-26 11:33:47 +01:00
Álvaro Brey e6d64e5ed5 Merge pull request #9754 from nextcloud/dependabot/gradle/mockitoVersion-4.3.1
Bump mockitoVersion from 4.3.0 to 4.3.1
2022-01-26 10:45:40 +01:00
Álvaro Brey 41b3921643 Merge pull request #9744 from nextcloud/dependabot/gradle/com.karumi-shot-5.13.0
Bump shot from 5.11.2 to 5.13.0
2022-01-26 10:44:25 +01:00
Álvaro Brey Vilas e1b41b5d77 ManageSpaceActivity: convert to Kotlin while we're here
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 08:32:49 +00:00
Álvaro Brey Vilas db74d67168 ManageSpaceActivity: kill the app after finishing cleanup
This will prevent the file list still being on the Recents view and other stuff like that.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 08:32:49 +00:00
Álvaro Brey Vilas 83e56643f4 ManageSpaceActivity: remove user accounts when clearing data
This fixes crashes and unexpected states when restarting the app afterwards

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 08:32:49 +00:00
Nextcloud bot 750864d951 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-26 03:55:40 +00:00
dependabot[bot] 8e67653a38 Bump mockitoVersion from 4.3.0 to 4.3.1
Bumps `mockitoVersion` from 4.3.0 to 4.3.1.

Updates `mockito-core` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.0...v4.3.1)

Updates `mockito-android` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-26 02:05:19 +00:00
Álvaro Brey Vilas 5a65c65e76 uploadReport: update shot path
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-25 10:41:06 +01:00
Álvaro Brey Vilas 80928a2799 GalleryFragment: force refresh on create, prevent unneeded refresh animations
This fixes bugs with double-loading and weird animations

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-25 08:50:29 +00:00
Álvaro Brey Vilas 7181249667 GalleryFragment: prevent NPE when recreating fragment
getStorageManager() is not available in onCreate

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-25 08:50:29 +00:00
Álvaro Brey d057d48a89 Merge pull request #9745 from nextcloud/dependabot/gradle/mockitoVersion-4.3.0
Bump mockitoVersion from 4.2.0 to 4.3.0
2022-01-25 09:44:30 +01:00
Álvaro Brey a8feb7bb66 Merge pull request #9718 from nextcloud/fix/recent-files
Fix minor issues with recently modified view
2022-01-25 09:13:58 +01:00
Álvaro Brey b7f1ebd74b Merge pull request #9742 from nextcloud/fix/analysis-on-push
Run analysis workflow on push too
2022-01-25 09:07:25 +01:00
dependabot[bot] 4c44d469e0 Bump mockitoVersion from 4.2.0 to 4.3.0
Bumps `mockitoVersion` from 4.2.0 to 4.3.0.

Updates `mockito-core` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.0)

Updates `mockito-android` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-25 02:04:50 +00:00
dependabot[bot] d328d89c2d Bump shot from 5.11.2 to 5.13.0
Bumps [shot](https://github.com/karumi/shot) from 5.11.2 to 5.13.0.
- [Release notes](https://github.com/karumi/shot/releases)
- [Commits](https://github.com/karumi/shot/compare/5.11.2...5.13.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-25 02:04:25 +00:00
Álvaro Brey Vilas 22367838ab Run analysis workflow on push too
Otherwise baseline results aren't generated

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 16:25:33 +01:00
Tobias Kaminsky 2476be69ba Merge pull request #9737 from nextcloud/chore/bump-fastlane
Bump versions for fastlane and plugins
2022-01-24 14:51:09 +01:00
Álvaro Brey Vilas 1a735f1840 Fix default visibility of recently modified
Should be visible unless setup.xml disables is (which it does by default)

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:01 +01:00
Álvaro Brey Vilas c45dd9f5ff Remove recently added search
Was never fully implemented. Discarding in favor of recently modified.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:01 +01:00
Álvaro Brey Vilas 63c780999d OCFileListFragment: restore search event on view restored
Partially reverts https://github.com/nextcloud/android/pull/9427, which deleted too much stuff

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:00 +01:00
Álvaro Brey Vilas 6a45a90019 OCFileListFragment: add recently modified to the list of valid search events
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:00 +01:00
Álvaro Brey Vilas 93f973cdc2 Bump versions for fastlane and plugins
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 12:09:29 +01:00
Álvaro Brey dd94e20045 Merge pull request #9734 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.5
Bump spotbugs-gradle-plugin from 5.0.4 to 5.0.5
2022-01-24 09:53:05 +01:00
dependabot[bot] f0ea41a56b Bump spotbugs-gradle-plugin from 5.0.4 to 5.0.5
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.4...5.0.5)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-24 08:13:52 +00:00
Nextcloud bot 43610aedba [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-24 03:52:57 +00:00
Tobias Kaminsky 70b93ed89c Merge pull request #9723 from nextcloud/bump-minor-version
Bump version to 3.20.0 on master
2022-01-21 08:58:47 +01:00
Tobias Kaminsky add4b08802 Merge pull request #9721 from nextcloud/chore/temurin
workflows: Use temurin JDK instead of adopt
2022-01-21 08:33:12 +01:00
Nextcloud bot d8cbde9105 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-21 03:52:14 +00:00
Álvaro Brey Vilas f4e979a385 Bump version to 3.20.0 on master
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-20 15:00:46 +01:00
Álvaro Brey Vilas 417dee2535 workflows: Use temurin JDK instead of adopt
Ref: https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/

tl;dr: AdoptOpenJDK is discontinued and recommendation is to use Eclipse Temurin instead

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-20 11:01:09 +01:00
Álvaro Brey 717ad59140 Merge pull request #9651 from nextcloud/gallerySearch
Use capability in SearchRemoteOperation
2022-01-20 10:59:29 +01:00
Tobias Kaminsky 84507a39aa Merge pull request #9719 from nextcloud/fix/ipv4-cache
Clear DNS cache on network changes
2022-01-20 09:42:56 +01:00
Álvaro Brey Vilas 7d58967517 Restore library version
Required PR has been merged on library

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-20 09:34:32 +01:00
tobiasKaminsky a9cec44b1f Use capability in SearchRemoteOperation
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-20 09:10:33 +01:00
Tobias Kaminsky 7b30483a52 Create scorecards-analysis.yml 2022-01-20 07:14:36 +01:00
Nextcloud bot 2956fafabc [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-20 03:54:30 +00:00
Álvaro Brey Vilas 7299b598d4 Clear DNS cache on network changes
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-19 16:34:09 +01:00
Álvaro Brey 648c104cd9 Merge pull request #9121 from redgloboli/redgloboli-no-more-freenode
Update README.md
2022-01-19 11:11:39 +01:00
Álvaro Brey Vilas ea0bc503e0 Update CommunityActivity screenshot
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-18 18:20:17 +01:00
redgloboli 0f62399615 Remove IRC info from app and docs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-18 16:26:58 +01:00
Álvaro Brey c6b9da0ee3 Merge pull request #9694 from nextcloud/fix/sqlite-row-too-big
FileContentProvider: use projections for helper queries
2022-01-18 14:48:40 +01:00
Álvaro Brey VilasandTobias Kaminsky 2d544486d3 Add integration test for folders with large amounts of files
This test reproduces the SQLiteCursor crashes.

Co-authored-by: Tobias Kaminsky <[email protected]>
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-18 14:14:11 +01:00
Tobias KaminskyandÁlvaro Brey Vilas b80baef535 remove not used videos drawer entry (#9708)
* remove not used videos drawer entry

Signed-off-by: tobiasKaminsky <[email protected]>

* Remove unused resource

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

Co-authored-by: Álvaro Brey Vilas <[email protected]>
2022-01-18 09:05:02 +01:00
Tobias Kaminsky ae7fb23a6b Merge pull request #9711 from nextcloud/chore/codecov-improvements
Codecov: don't annotate diffs
2022-01-18 08:39:45 +01:00
Tobias Kaminsky e091a15089 Merge pull request #9710 from nextcloud/fix/crash-on-remove-all-accounts
SessionMixin: set currentAccount to null when no accounts are available
2022-01-18 08:38:29 +01:00
Nextcloud bot 8d868c3fff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-18 04:11:52 +00:00
Álvaro Brey Vilas 2cb028eaee Codecov: don't annotate diffs
It makes it really annoying to read diffs when our coverage isn't that good yet.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-17 20:08:45 +01:00
Álvaro Brey 92f3b6df87 Merge pull request #9691 from nextcloud/fix/sync-conflict
Improvements in sync conflict resolution
2022-01-17 20:03:24 +01:00
Álvaro Brey Vilas 107dcd35c4 SessionMixin: set currentAccount to null when no accounts are available
Prevents a crash when removing the last account

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-17 16:02:05 +01:00
Álvaro Brey 641b09cd4f Merge pull request #9706 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.7
Bump byteBuddyVersion from 1.12.6 to 1.12.7
2022-01-17 15:16:32 +01:00
Álvaro Brey 1419406cd2 Merge pull request #9606 from nextcloud/fix/backup-fragment-crash
Fix NPE in BackupFragment when fragment exits while refresh is happening
2022-01-17 14:53:35 +01:00
Álvaro Brey Vilas c5b75f68b0 ConflictsResolveActivity: remove upload is KEEP_SERVER and shouldDeleteLocal
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-17 13:30:47 +00:00
wknds b4c1620aed removed a check in KEEP_SERVER switch clause. 1) The check prevents solving file conflicts (keep server) correctly. 2) The check involves FileUploader.LOCAL_BEHAVIOUR_DELETE, intended use is for media file uploads. 2022-01-17 13:30:47 +00:00
wknds 8ce7733563 revert Project.xml 2022-01-17 13:30:47 +00:00
wknds e6b6c6ff56 :Conflict files are removed from the upload storage manager after downloaded successfully. 2022-01-17 13:30:47 +00:00
Álvaro Brey 60e44986a0 Merge pull request #9692 from nextcloud/chore/screenshot-test-activities
Screenshot tests: Improve Activities activity tests
2022-01-17 14:29:31 +01:00
Tobias Kaminsky fd22f9f04d Merge pull request #9590 from nextcloud/it-timeout
DocumentsStorageProviderIT: add timeout to testServerChangedFileContent()
2022-01-17 10:30:56 +01:00
Álvaro Brey 46f253f515 Merge pull request #9707 from nextcloud/dependabot/gradle/pl.droidsonroids.gif-android-gif-drawable-1.2.24
Bump android-gif-drawable from 1.2.23 to 1.2.24
2022-01-17 10:25:27 +01:00
Álvaro Brey Vilas 6f1d434e80 DocumentsStorageProviderIT: add timeout to testServerChangedFileContent()
This test sometimes hangs forever, resulting in (for example) CI builds being killed.
This way, only this test fails and the rest of the suite continues.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-17 08:57:45 +00:00
Nextcloud bot e13dc5db81 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-17 03:49:57 +00:00
dependabot[bot] e14e91e0c1 Bump android-gif-drawable from 1.2.23 to 1.2.24
Bumps [android-gif-drawable](https://github.com/koral--/android-gif-drawable) from 1.2.23 to 1.2.24.
- [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.23...v1.2.24)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-17 02:06:28 +00:00
dependabot[bot] adb4edbafe Bump byteBuddyVersion from 1.12.6 to 1.12.7
Bumps `byteBuddyVersion` from 1.12.6 to 1.12.7.

Updates `byte-buddy` from 1.12.6 to 1.12.7
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.6...byte-buddy-1.12.7)

Updates `byte-buddy-android` from 1.12.6 to 1.12.7
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.6...byte-buddy-1.12.7)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-17 02:06:23 +00:00
Nextcloud bot 1b948c35e0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-16 03:53:38 +00:00
Nextcloud bot 2623be496d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-15 03:52:25 +00:00
Álvaro Brey da9d60f2c0 Merge pull request #9699 from nextcloud/bugfix/noid/unusedTestAutomationRemoval
Remove unused test automation
2022-01-14 14:22:25 +01:00
Álvaro Brey Vilas 62218fbb16 Add RetryTestRule to DrawerActivityIT
Flaky test

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 13:28:49 +01:00
Álvaro Brey d2de4006ef Merge pull request #9697 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.3
Bump constraintlayout from 2.1.2 to 2.1.3
2022-01-14 13:23:51 +01:00
Álvaro Brey Vilas 33a2043d3f Analysis workflow: correct head ref for branch
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 13:08:21 +01:00
Álvaro Brey Vilas f83ccb781d Fix NPE in BackupFragment when fragment exits while refresh is happening
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 10:48:16 +00:00
Andy Scherzinger fd2f8f23ed remove unused test automation
Signed-off-by: Andy Scherzinger <[email protected]>
2022-01-14 10:52:21 +01:00
Álvaro Brey Vilas 23a67aea4a FileContentProvider: make projection map unmodifiable
Just in case

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 08:54:33 +01:00
Álvaro Brey Vilas 94533fd8aa FileContentProvider: fix formatting
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 08:51:54 +01:00
Álvaro Brey f116328dfa Merge pull request #9696 from nextcloud/dependabot/gradle/com.google.android.material-material-1.5.0
Bump material from 1.4.0 to 1.5.0
2022-01-14 08:44:28 +01:00
dependabot[bot] 483da75e1d Bump constraintlayout from 2.1.2 to 2.1.3
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.2 to 2.1.3.
- [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] <[email protected]>
2022-01-14 07:44:11 +00:00
Tobias Kaminsky af6f65b47a Merge pull request #9698 from nextcloud/allscreenshots
All screenshots: use newer image
2022-01-14 07:18:16 +01:00
tobiasKaminsky 25f7d7c3c0 All screenshots: use newer image
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-14 07:17:20 +01:00
dependabot[bot] 9b2a92f585 Bump material from 1.4.0 to 1.5.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.4.0...1.5.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-14 02:59:44 +00:00
Álvaro Brey Vilas 45b7c222e6 FileContentProvider: make projection arrays and map static
This improves performance as they aren't created on every call

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 16:12:03 +01:00
Álvaro Brey Vilas 405789dc9b FileContentProvider: use projections for queries
This limits the amount of data in the resulting cursor and helps prevent CursorTooBig exceptions.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 15:47:40 +01:00
Álvaro Brey c39f479981 Merge pull request #9657 from nextcloud/dependabot/github_actions/actions/stale-4.1.0
Bump actions/stale from 3 to 4.1.0
2022-01-13 14:37:34 +01:00
dependabot[bot] 43638ed5e2 Bump actions/stale from 3 to 4.1.0
Bumps [actions/stale](https://github.com/actions/stale) from 3 to 4.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v3...v4.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-13 13:11:37 +00:00
Álvaro Brey Vilas d7d029b6ad ActivitiesActivityIT: add waitForIdleSync() after sleeps
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 12:48:16 +01:00
Álvaro Brey Vilas 5631d79b41 Screenshot tests: Improve Activities activity tests
Force-close snackbar to not have the timing break tests

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 11:07:47 +01:00
Álvaro Brey acf575e762 Merge pull request #9688 from nextcloud/chore/analysis-gh-actions
Run analysis workflow in github actions
2022-01-13 10:27:59 +01:00
Álvaro Brey 49b6d0c2ef Merge pull request #9662 from nextcloud/dependabot/gradle/pl.droidsonroids.gif-android-gif-drawable-1.2.23
Bump android-gif-drawable from 1.2.21 to 1.2.23
2022-01-13 10:06:33 +01:00
Álvaro Brey 010942f0a2 Merge pull request #9677 from nextcloud/fix/send-multiple-files
Fix sending multiple files
2022-01-13 09:34:04 +01:00
Álvaro Brey b9f6fdf19e Codecov: wait for CI (#9687)
Now that we don't have a permanently broken CI setup, this makes sense again, so we don't get coverage results based on partial tests

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 09:33:25 +01:00
Álvaro Brey Vilas 9fa63c7547 Run analysis workflow in github actions
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 09:29:43 +01:00
Álvaro Brey Vilas 53feb14714 SendFilesDialogTest: assert adapter is not null
Just in case

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 09:06:09 +01:00
dependabot[bot] 2363292084 Bump appcompat from 1.4.0 to 1.4.1 (#9690)
Bumps appcompat from 1.4.0 to 1.4.1.

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 09:02:19 +01:00
Nextcloud bot ab23c04def [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-13 03:53:34 +00:00
Álvaro Brey Vilas 9d856da33a Improve testing for SendFilesDialog
* Add tests for mixed type files
 * Add integration tests, not only screenshot

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-12 15:50:20 +01:00
dependabot[bot] 6891a90821 Bump android-gif-drawable from 1.2.21 to 1.2.23
Bumps [android-gif-drawable](https://github.com/koral--/android-gif-drawable) from 1.2.21 to 1.2.23.
- [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.21...v1.2.23)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-12 14:20:11 +00:00
Álvaro Brey Vilas 447f2401a5 Codecov: wait for CI
Now that we don't have a permanently broken CI setup, this makes sense again, so we don't get coverage results based on partial tests

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-12 15:16:55 +01:00
Tobias Kaminsky eaf1230d2e Merge pull request #9686 from nextcloud/droneCrone
only cron trigger is allowed
2022-01-12 14:47:37 +01:00
tobiasKaminsky 8e28921113 only cron trigger is allowed
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-12 14:45:58 +01:00
Álvaro Brey Vilas 61f8115d79 SendFilesDialog: Show error if no app can send multiple files
Otherwise an empty bottom fragment shows up, which is not good UX

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-12 13:08:48 +01:00
Álvaro Brey Vilas 93d7c7f9f7 IntentUtil: fix sending multiple files
- Use `ACTION_SEND_MULTIPLE`
 - Set type to `*/*` if not all files share a type
 - Use use a `ParcelableArrayListExtra` for `EXTRA_STREAM`

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-12 13:08:42 +01:00
Tobias Kaminsky a639e8441c Merge pull request #9043 from nextcloud/updateScreenshotsTests
Update screenshots tests
2022-01-12 08:57:22 +01:00
Nextcloud bot ae9bd40427 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-12 03:52:57 +00:00
Álvaro Brey 0d46d951e7 Merge pull request #9622 from sandeep021/sandeepBranch
Fix sliders theming for calendar backup settings
2022-01-11 10:13:55 +01:00
Tobias Kaminsky 860558c294 Merge pull request #9680 from nextcloud/cron
drone cron is daily instead of nightly
2022-01-11 08:52:58 +01:00
tobiasKaminsky f91550c1b2 drone cron is daily instead of nightly
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-11 08:52:26 +01:00
Nextcloud bot e4d26e44d4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-11 03:53:46 +00:00
sandeepyadav 8567559cd1 Merge remote-tracking branch 'origin/sandeepBranch' into sandeepBranch
# Conflicts:
#	src/main/java/com/owncloud/android/ui/dialog/SyncedFolderPreferencesDialogFragment.java
#	src/main/java/com/owncloud/android/ui/fragment/contactsbackup/BackupFragment.java
#	src/main/java/com/owncloud/android/utils/theme/ThemeCheckableUtils.java
2022-01-10 23:23:59 +05:30
sandeepyadav 333b844878 removed redundant changes
Signed-off-by: sandeepyadav <[email protected]>
2022-01-10 23:10:54 +05:30
sandeepyadav ce11af238f removed redundant changes
Signed-off-by: sandeepyadav <[email protected]>
2022-01-10 23:10:54 +05:30
sandeepyadav 10d44368db made all the suggested changes - removed xml unnecessary lines
Signed-off-by: sandeepyadav <[email protected]>
2022-01-10 23:10:54 +05:30
sandeepyadav fb26ddd88f made all the suggested changes
Signed-off-by: sandeepyadav <[email protected]>
2022-01-10 23:10:54 +05:30
Álvaro Brey fd8aae8e40 Merge pull request #9658 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.1.0
Bump hmarr/auto-approve-action from 2.0.0 to 2.1.0
2022-01-10 16:05:00 +01:00
Tobias Kaminsky e8ce558a4e Merge pull request #9642 from nextcloud/fix/9640
ChooseTemplateDialog: Fix crash on prefillFilenameIfEmpty
2022-01-10 12:03:51 +01:00
Álvaro Brey c9246210de Merge pull request #9674 from nextcloud/fixUploadingFailingScreenshots
Fix failing username/password upon uploading failing screenshots
2022-01-10 11:30:26 +01:00
tobiasKaminsky 719551505e Fix DialogFragmentIT test
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-10 10:12:44 +01:00
Álvaro Brey a037786328 Merge pull request #9667 from nextcloud/rakekniven-patch-2
l10n: fixed grammar
2022-01-10 10:04:46 +01:00
Tobias Kaminsky 195703a527 Merge pull request #9672 from nextcloud/dependabot/gradle/com.github.albfernandez-juniversalchardet-2.3.2
Bump juniversalchardet from 2.0.3 to 2.3.2
2022-01-10 09:45:55 +01:00
Tobias Kaminsky a24e6e9cfc Merge pull request #9579 from nextcloud/dependabot/gradle/org.mnode.ical4j-ical4j-1.0.8
Bump ical4j from 1.0.6 to 1.0.8
2022-01-10 09:45:25 +01:00
tobiasKaminsky 503d6685a2 Fix failing username/password
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-10 09:31:11 +01:00
Tobias Kaminsky 22c916e6db Merge pull request #9665 from nextcloud/bumpWebDavLib
Manually bump lib
2022-01-10 09:21:43 +01:00
Tobias Kaminsky 879286d05f Merge pull request #9666 from nextcloud/fix/favorites-selection-breaking
FileOperationsHelper: fix aliasing when toggling favorite files
2022-01-10 07:44:54 +01:00
dependabot[bot] 9e33a11930 Bump juniversalchardet from 2.0.3 to 2.3.2
Bumps [juniversalchardet](https://github.com/albfernandez/juniversalchardet) from 2.0.3 to 2.3.2.
- [Release notes](https://github.com/albfernandez/juniversalchardet/releases)
- [Commits](https://github.com/albfernandez/juniversalchardet/compare/v2.0.3...v2.3.2)

---
updated-dependencies:
- dependency-name: com.github.albfernandez:juniversalchardet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-10 02:07:17 +00:00
Nextcloud bot 67da5e0a6f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-08 03:50:50 +00:00
rakekniven 065d19163f l10n: fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <[email protected]>
2022-01-07 21:33:51 +01:00
Álvaro Brey Vilas 0f9e4feb79 FileOperationsHelper: fix aliasing when toggling favorite files
Don't modify the original collection of files. Instead filter a clone.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-07 18:27:55 +01:00
Nextcloud bot 6faceec5a5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-07 14:05:13 +00:00
Álvaro Brey d3502b7bba Merge pull request #9572 from nextcloud/provider-uri-permissions
URI permissions
2022-01-07 13:26:03 +01:00
Álvaro Brey 875f4ae7eb Merge pull request #9656 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.8.1
Bump leakcanary-android from 2.8 to 2.8.1
2022-01-07 13:22:48 +01:00
Álvaro Brey fb6cb271fe Merge pull request #9655 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.4
Bump spotbugs-gradle-plugin from 5.0.3 to 5.0.4
2022-01-07 13:21:55 +01:00
tobiasKaminsky 9f7699835e Manually bump lib
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-07 11:30:51 +01:00
Álvaro Brey afaa537a45 Merge pull request #9646 from nextcloud/run-contacts-backup-only-when-network-is-connected
Run contacts backup job only when network is connected
2022-01-07 11:07:59 +01:00
dependabot[bot] f2c14abccb Bump hmarr/auto-approve-action from 2.0.0 to 2.1.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.0.0...v2.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-07 08:42:37 +00:00
Tobias Kaminsky da39e19805 Merge pull request #9359 from nextcloud/fix/dependabot-yml-format
Fix dependabot.yml syntax
2022-01-07 09:42:13 +01:00
Álvaro Brey 3a72604a78 Merge pull request #9591 from nextcloud/fix/settings-activity-it
SettingsActivityIT: fix showMnemonic running on wrong thread
2022-01-07 09:40:06 +01:00
Álvaro Brey ebd608c179 Merge pull request #9607 from nextcloud/fix/accesing-result-data
AuthenticatorAsyncTask: check if user info result is success before proceeding
2022-01-07 08:47:48 +01:00
Nextcloud bot e9029b28ed [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-07 03:53:42 +00:00
dependabot[bot] 3a225d6462 Bump leakcanary-android from 2.8 to 2.8.1
Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.8 to 2.8.1.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](https://github.com/square/leakcanary/compare/v2.8...v2.8.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-07 02:07:21 +00:00
dependabot[bot] ec56997da8 Bump spotbugs-gradle-plugin from 5.0.3 to 5.0.4
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.3...5.0.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-07 02:07:13 +00:00
Nextcloud bot 8acf55d0f1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-06 03:53:53 +00:00
Chris Narkiewicz b6ceec7904 Run contacts backup job only when network is connected
Apply network constrains to prevent daily backup
job being started without network.

Backup job restart is required to apply new constraints.

Similar migration has been applied in the past, but migration
manager does not support re-applying steps again.

Migrations manager has been refactored to make migration
step re-applying easier, as more job restarts can be
required in the future.

Fixes #9632

Signed-off-by: Chris Narkiewicz <[email protected]>
2022-01-05 22:01:41 +00:00
Tobias Kaminsky 7d4fa2994c Merge pull request #9644 from nextcloud/cleanUpAccountRemoval
Clean up AccountRemovalWork
2022-01-05 15:05:32 +01:00
Álvaro Brey d292c5a75b Merge pull request #9647 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.8
Bump leakcanary-android from 2.7 to 2.8
2022-01-05 09:41:58 +01:00
dependabot[bot] 13cbb29474 Bump leakcanary-android from 2.7 to 2.8
Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.7 to 2.8.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](https://github.com/square/leakcanary/compare/v2.7...v2.8)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-05 02:05:50 +00:00
sandeepyadav 6c5c055855 removed redundant changes 2022-01-04 23:30:00 +05:30
Álvaro Brey Vilas 4265f06160 FileOperationsHelper: remove duplicated flags in openFile
Already set for all intents a bit below

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-04 15:32:32 +01:00
tobiasKaminsky 90d66c4339 Clean up AccountRemovalWork
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-04 13:08:44 +01:00
Álvaro Brey 7a7136a9da Merge pull request #9577 from nextcloud/dependabot/gradle/mockitoVersion-4.2.0
Bump mockitoVersion from 4.1.0 to 4.2.0
2022-01-04 11:18:24 +01:00
Nextcloud bot 6d6445a1f6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-04 03:52:56 +00:00
sandeepyadav 3256b459e7 made all the suggested changes - removed xml unnecessary lines 2022-01-04 00:53:37 +05:30
sandeepyadav e8488b773c made all the suggested changes 2022-01-04 00:24:23 +05:30
Álvaro Brey Vilas 29d9ba4e52 AuthenticatorAsyncTask: check if user info result is success before proceeding
This will not fix failed logins but at least it will not crash the app.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-03 18:32:11 +00:00
dependabot[bot] 67a8384731 Bump mockitoVersion from 4.1.0 to 4.2.0
Bumps `mockitoVersion` from 4.1.0 to 4.2.0.

Updates `mockito-core` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.1.0...v4.2.0)

Updates `mockito-android` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.1.0...v4.2.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-03 18:28:46 +00:00
Álvaro Brey 556b3b4b79 Merge pull request #9637 from nextcloud/dependabot/gradle/mockkVersion-1.12.2
Bump mockkVersion from 1.12.1 to 1.12.2
2022-01-03 19:26:20 +01:00
Álvaro Brey a3a8170151 Merge pull request #9582 from nextcloud/fix/media-return-after-pause
Player: don't try to pause a non-running media player
2022-01-03 16:56:37 +01:00
Álvaro Brey Vilas 1a7ee3e179 ChooseTemplateDialog: Fix crash on prefillFilenameIfEmpty
Don't do anything if the filename is not empty.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-03 09:43:24 +01:00
Álvaro Brey 531eb9f0ac Merge pull request #9594 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.6
Bump byteBuddyVersion from 1.12.4 to 1.12.6
2022-01-03 08:43:04 +01:00
Nextcloud bot a3b3f18abd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-01 03:52:26 +00:00
dependabot[bot] f7af0e769a Bump mockkVersion from 1.12.1 to 1.12.2
Bumps `mockkVersion` from 1.12.1 to 1.12.2.

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-31 02:04:33 +00:00
sandeepyadav eaf605b2be fixed the visibility of slider of dark theme
issue# 9170
2021-12-27 13:35:40 +05:30
Nextcloud bot 042b93766e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-27 03:52:10 +00:00
Nextcloud bot 5d32890848 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-25 03:52:43 +00:00
Nextcloud bot 552a657350 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-24 03:55:33 +00:00
Andy Scherzinger e9b7d9e430 Merge pull request #9610 from nextcloud/Gradle-Log4j
Bump Gradle for Log4j
2021-12-23 10:56:44 +01:00
Andy Scherzinger ead8ef06db Merge pull request #9603 from nextcloud/changelog-master-stable-3.18.1
Add changelog for 3.18.1
2021-12-23 08:50:44 +01:00
Hannes Achleitner 74683d9eb9 Bump Gradle for Log4j
https://github.com/gradle/gradle/releases/tag/v7.3.3
2021-12-23 08:46:36 +01:00
Nextcloud bot afc83b8310 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-23 03:53:42 +00:00
Álvaro Brey Vilas 62eb9632ba Fastfile: fix requirement check syntax
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-22 14:17:55 +01:00
Álvaro Brey Vilas a83a21219e Add changelog for 3.18.1
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-22 12:51:13 +01:00
Álvaro Brey c6731093b1 Merge pull request #9559 from nextcloud/fix/fastlane-check-apk
Fastlane: fix release with 3 apks, and minor improvements
2021-12-22 10:30:49 +01:00
Álvaro Brey Vilas 130c004945 FileDataStorageManager: remove obsolete TODO
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-22 09:52:09 +01:00
Álvaro Brey 9433e2968e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Álvaro Brey <[email protected]>
2021-12-22 08:51:21 +00:00
Álvaro Brey 98465ab3fb Merge pull request from GHSA-vjp2-f63v-w479
Harden FileContentProvider's public Uri paths
2021-12-22 09:43:11 +01:00
Álvaro Brey 0d2fd93ea2 Merge pull request #9597 from nextcloud/fix/too-many-thumbnails
Fix for too many thumbnails in autoupload settings
2021-12-22 09:37:51 +01:00
Álvaro Brey Vilas 9c7d212d52 Fix for too many thumbnails in autoupload settings
This patch is twofold:
- Keep using SQL limit until android 11 (which is where it becomes mandatory to not use it)
- Force MediaProvider to stop querying images after limit has been reached, even if cursor contains more.
This handles the edge case of Android versions over 11 which don't properly implement the limit argument

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-21 17:22:10 +01:00
Álvaro Brey Vilas bc90eb3db1 Remove obsolete TODO
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-21 16:02:50 +01:00
Álvaro Brey Vilas 724b75d5d3 FileContentProvider: Use SQLiteTokenizer for sortOrder verification too
More reliable than just splitting by spaces.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-21 15:06:05 +01:00
Álvaro Brey Vilas b3aeab9004 FileContentProvider: prevent injection through selection parameters (where)
For this, I've backported the SQLiteTokenizer class from AOSP, use it to get tokens from the query,
and filter out invalid tokens.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-21 14:15:34 +01:00
Nextcloud bot c479f2fdf6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-21 03:54:15 +00:00
dependabot[bot] 54b50f2b7d Bump byteBuddyVersion from 1.12.4 to 1.12.6
Bumps `byteBuddyVersion` from 1.12.4 to 1.12.6.

Updates `byte-buddy` from 1.12.4 to 1.12.6
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.4...byte-buddy-1.12.6)

Updates `byte-buddy-android` from 1.12.4 to 1.12.6
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.4...byte-buddy-1.12.6)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-21 02:04:45 +00:00
Álvaro Brey Vilas 6aae8feeac FileContentProvider: prevent injection in sortOrder argument for query()
For this, allow strictly only valid grammar and column names

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 18:38:50 +01:00
Álvaro Brey Vilas 830ada4617 FileContentProvider: remove unused method
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 18:03:56 +01:00
Álvaro Brey Vilas 43adc856a4 FileContentProvider: don't verify projectionArray in query()
query() is already using a projection map and strict mode for those cases, so we're just duplicating work here.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 17:58:54 +01:00
Álvaro Brey Vilas 05371be6d7 FileContentProvider: prevent injection through Uri arguments
For this, ensure query arguments are used instead of segment concatenation

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 17:53:55 +01:00
tobiasKaminskyandTobias Kaminsky 72937cf341 FileContentProvider: prevent injection via ContentValues arguments
For this, verify all column names for ContentValues keys. Values are safe by default.

Co-authored-by: Tobias Kaminsky <[email protected]>
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 17:40:11 +01:00
Álvaro Brey Vilas 87e859858b SettingsActivityIT: fix showMnemonic running on wrong thread
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 15:24:21 +01:00
Tobias Kaminsky 7fba2042dc Merge pull request #9589 from nextcloud/setupLibInfo
Adjust instruction how to link library in app
2021-12-20 10:51:35 +01:00
tobiasKaminsky 0680c105b5 Adjust instruction how to link library in app
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-20 10:47:09 +01:00
Nextcloud bot 4183ee59f8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-20 03:56:38 +00:00
Nextcloud bot 14a6324c05 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-19 03:59:20 +00:00
Nextcloud bot 26f80ddcbf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-18 03:53:54 +00:00
Álvaro Brey Vilas 37dfb5eb2c Player: don't try to pause a non-running media player
Fixes an issue triggered by pausing, and then minimizing and coming back to the app.

Right now state is still lost (file returns to the beginning) but as a stopgap it's OK.
In the future, the state machine and how it interacts with the fragment should be reworked.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-17 16:22:39 +01:00
dependabot[bot] b3fa1e3262 Bump ical4j from 1.0.6 to 1.0.8
Bumps [ical4j](https://github.com/ical4j/ical4j) from 1.0.6 to 1.0.8.
- [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.6...ical4j-1.0.8)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-17 02:05:30 +00:00
Andy Scherzinger b4ecf2c9cc Merge pull request #9546 from nextcloud/update-AGP
Bump Android Gradle Plugin to 7.0.4
2021-12-16 17:02:16 +01:00
Álvaro Brey Vilas b1aa3dcdaf Centralize creation of ACTION_SEND intents and explicitly grant READ_URI permission to them
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-16 15:22:16 +01:00
Álvaro Brey 3de9432651 Merge pull request #9534 from gabmert/naming-conflicts
Change naming in conflicts to location instead of date
2021-12-16 09:35:43 +01:00
Álvaro Brey 51d632b0ad Merge pull request #9568 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.4
Bump byteBuddyVersion from 1.12.3 to 1.12.4
2021-12-16 08:54:24 +01:00
Nextcloud bot d3db0af0f5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-16 03:53:43 +00:00
dependabot[bot] 38a2449f5c Bump byteBuddyVersion from 1.12.3 to 1.12.4
Bumps `byteBuddyVersion` from 1.12.3 to 1.12.4.

Updates `byte-buddy` from 1.12.3 to 1.12.4
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.3...byte-buddy-1.12.4)

Updates `byte-buddy-android` from 1.12.3 to 1.12.4
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.3...byte-buddy-1.12.4)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-16 02:07:04 +00:00
gabriel 5500585c1a naming in conflicts by location instead of date
Signed-off-by: gabriel <[email protected]>
2021-12-15 23:13:42 +01:00
Álvaro Brey b6a2e6d8f1 Merge pull request #9567 from nextcloud/dependabot/gradle/org.greenrobot-eventbus-3.3.1
Bump eventbus from 3.2.0 to 3.3.1
2021-12-15 20:09:31 +01:00
Álvaro Brey 10a7570cc2 Merge pull request #9565 from nextcloud/dependabot/gradle/org.json-json-20211205
Bump json from 20210307 to 20211205
2021-12-15 20:09:06 +01:00
Álvaro Brey e939a6f015 Merge pull request #9564 from nextcloud/dependabot/gradle/kotlin_version-1.6.10
Bump kotlin_version from 1.6.0 to 1.6.10
2021-12-15 20:08:26 +01:00
Álvaro Brey 6fc583b4cd Merge pull request #9362 from nextcloud/dependabot/gradle/workRuntime-2.7.1
Bump workRuntime from 2.5.0 to 2.7.1
2021-12-15 19:49:17 +01:00
Álvaro Brey 369f62fc92 Merge pull request #9162 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.4.0
Bump lifecycle-viewmodel-ktx from 2.3.1 to 2.4.0
2021-12-15 19:23:03 +01:00
Álvaro Brey Vilas be5cdc4169 dependabot: Disable autorebase
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 19:18:29 +01:00
dependabot[bot] b70ebdb68f Bump kotlin_version from 1.6.0 to 1.6.10
Bumps `kotlin_version` from 1.6.0 to 1.6.10.

Updates `kotlin-gradle-plugin` from 1.6.0 to 1.6.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.0...v1.6.10)

Updates `kotlin-stdlib` from 1.6.0 to 1.6.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.0...v1.6.10)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 18:16:42 +00:00
Álvaro Brey f517ae1e05 Merge pull request #9563 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.43.2
Bump ktlint from 0.43.1 to 0.43.2
2021-12-15 19:16:15 +01:00
Álvaro Brey e6208b45c7 Merge pull request #9562 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.3
Bump spotbugs-gradle-plugin from 4.8.0 to 5.0.3
2021-12-15 19:15:46 +01:00
Álvaro Brey d5e84caf2b Merge pull request #9357 from nextcloud/dependabot/gradle/mockitoVersion-4.1.0
Bump mockitoVersion from 3.12.4 to 4.1.0
2021-12-15 19:04:49 +01:00
dependabot[bot] e06f15f887 Bump eventbus from 3.2.0 to 3.3.1
Bumps [eventbus](https://github.com/greenrobot/EventBus) from 3.2.0 to 3.3.1.
- [Release notes](https://github.com/greenrobot/EventBus/releases)
- [Commits](https://github.com/greenrobot/EventBus/compare/V3.2.0...V3.3.1)

---
updated-dependencies:
- dependency-name: org.greenrobot:eventbus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 18:04:25 +00:00
dependabot[bot] b59195ca8d Bump spotbugs-gradle-plugin from 4.8.0 to 5.0.3
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 4.8.0 to 5.0.3.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/4.8.0...5.0.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 18:03:59 +00:00
Álvaro Brey d394743aee Merge pull request #9561 from nextcloud/dependabot/gradle/daggerVersion-2.40.5
Bump daggerVersion from 2.40.4 to 2.40.5
2021-12-15 19:03:33 +01:00
Álvaro Brey cfe72adae0 Merge pull request #9299 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.4.0
Bump appcompat from 1.3.1 to 1.4.0
2021-12-15 19:03:16 +01:00
Álvaro Brey Vilas 8a445be869 Manifest: update code to disable WorkManagerInitializer
See: https://developer.android.com/jetpack/androidx/releases/work#version_260_3

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 19:01:36 +01:00
dependabot[bot] 8a2c1bf253 Bump json from 20210307 to 20211205
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20210307 to 20211205.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 17:52:15 +00:00
dependabot[bot] 15d42369cb Bump workRuntime from 2.5.0 to 2.7.1
Bumps `workRuntime` from 2.5.0 to 2.7.1.

Updates `work-runtime` from 2.5.0 to 2.7.1

Updates `work-runtime-ktx` from 2.5.0 to 2.7.1

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 17:51:54 +00:00
Álvaro Brey b1ea6c9bc6 Merge pull request #9361 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.4.0
Bump fragment-ktx from 1.3.6 to 1.4.0
2021-12-15 18:51:22 +01:00
Álvaro Brey Vilas 3775e13b5c Increase lint due to dependencies
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 18:50:46 +01:00
dependabot[bot] 1b7516c203 Bump ktlint from 0.43.1 to 0.43.2
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.43.1 to 0.43.2.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/commits/0.43.2)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 17:46:31 +00:00
Álvaro Brey 93bf180a35 Merge pull request #8442 from nextcloud/dependabot/gradle/com.github.tobiaskaminsky-qrcodescanner-0.1.2.4
Bump qrcodescanner from 0.1.2.2 to 0.1.2.4
2021-12-15 18:46:05 +01:00
Álvaro Brey Vilas 14fbc2ab78 ViewModelFactory: fix compile errors for viewmodel-ktx changes
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 18:45:06 +01:00
Álvaro Brey Vilas f5132af345 Fix mockito imports
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 16:08:36 +01:00
dependabot[bot] aa6ff667cb Bump mockitoVersion from 3.12.4 to 4.1.0
Bumps `mockitoVersion` from 3.12.4 to 4.1.0.

Updates `mockito-core` from 3.12.4 to 4.1.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.4...v4.1.0)

Updates `mockito-android` from 3.12.4 to 4.1.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.4...v4.1.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 16:02:17 +01:00
dependabot[bot] 2cf0d5dd76 Bump daggerVersion from 2.40.4 to 2.40.5
Bumps `daggerVersion` from 2.40.4 to 2.40.5.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 15:01:48 +00:00
Álvaro Brey 0a977fbc5e Merge pull request #9429 from nextcloud/dependabot/gradle/org.bouncycastle-bcpkix-jdk15to18-1.70
Bump bcpkix-jdk15to18 from 1.69 to 1.70
2021-12-15 16:00:53 +01:00
Álvaro Brey a256c210ce Merge pull request #9438 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.3
Bump byteBuddyVersion from 1.12.2 to 1.12.3
2021-12-15 15:59:54 +01:00
Álvaro Brey eab83a06e6 Merge pull request #9437 from nextcloud/dependabot/gradle/daggerVersion-2.40.4
Bump daggerVersion from 2.40.3 to 2.40.4
2021-12-15 15:58:57 +01:00
dependabot[bot] 56230f3163 Bump fragment-ktx from 1.3.6 to 1.4.0
Bumps fragment-ktx from 1.3.6 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 14:57:51 +00:00
dependabot[bot] 0f23147e36 Bump appcompat from 1.3.1 to 1.4.0
Bumps appcompat from 1.3.1 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 14:56:31 +00:00
dependabot[bot] 8cb866a474 Bump lifecycle-viewmodel-ktx from 2.3.1 to 2.4.0
Bumps lifecycle-viewmodel-ktx from 2.3.1 to 2.4.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] <[email protected]>
2021-12-15 14:56:01 +00:00
dependabot[bot] bd0caf15ea Bump qrcodescanner from 0.1.2.2 to 0.1.2.4
Bumps [qrcodescanner](https://github.com/tobiasKaminsky/QRCodeScanner) from 0.1.2.2 to 0.1.2.4.
- [Release notes](https://github.com/tobiasKaminsky/QRCodeScanner/releases)
- [Commits](https://github.com/tobiasKaminsky/QRCodeScanner/compare/0.1.2.2...0.1.2.4)

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 14:55:43 +00:00
Álvaro Brey Vilas edb1e9c369 fastlane: Check some basic requirements before starting release phase 2
This prevents late crashes in some instances.

Of course, we should technically have a more structured way of handling dependencies, but this
is a simple improvement for now.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 15:40:14 +01:00
Álvaro Brey Vilas 7227bb13b7 Fastfile: Fix indentation on sh command
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 15:32:27 +01:00
Álvaro Brey Vilas 1e7bfcc74a Update fastlane and plugins
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 15:24:30 +01:00
Álvaro Brey Vilas e1cfb960ed Fastfile: Fix checkIfAPKexists, as there's 3 APKs now
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 15:21:39 +01:00
Álvaro Brey 508c193dfa Merge pull request #9448 from nextcloud/fix/share-open-in
Sharing: better way to send files from file details view
2021-12-15 13:48:42 +01:00
Álvaro Brey 3b947b981b Merge pull request #9435 from nextcloud/fix/multi-tap-overflow
OcFileListFragment: throttle overflow menu clicks
2021-12-15 13:08:16 +01:00
Álvaro Brey 82a53642a9 Merge pull request #9528 from nextcloud/huaweiFlavor
Huawei flavor
2021-12-15 13:07:32 +01:00
drone cde27672ef Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
2021-12-15 12:04:22 +00:00
Álvaro Brey Vilas 13ddc3ddc6 Delete unused string
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 12:59:58 +01:00
Álvaro Brey Vilas a86aa19851 Fix tests
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 12:59:13 +01:00
drone 195b8484bd Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
2021-12-15 12:33:26 +01:00
drone 9cc1a5c803 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
2021-12-15 12:33:26 +01:00
Álvaro Brey Vilas 7d258f9793 FileMenuFilter: Allow "Send" for single files if in file detail fragment
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 12:33:26 +01:00
Álvaro Brey Vilas 038ac7b3c5 FileDetailSharingFragment: remove misleading "Open in..." option
This only triggered the share file dialog, which should be opened elsewhere.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 12:33:15 +01:00
Álvaro Brey Vilas 23815a4b6d Fix ktlint
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 12:21:04 +01:00
Álvaro Brey 587b371e76 Merge pull request #9545 from nextcloud/fix/autoupload-check-crash
UploadFilesActivity: don't attempt to check selectAll if selectAll is not visible in menu
2021-12-15 11:28:32 +01:00
Álvaro Brey 143455b42a Merge pull request #9427 from nextcloud/fix/triplicated-search-events
Fix issue where favorites where loaded by triplicate when opening from Media or other search
2021-12-15 11:06:39 +01:00
Álvaro Brey a9671d9e85 Merge pull request #9434 from nextcloud/fix/unified-search-no-connection
Unified search: show error when there's no connection
2021-12-15 11:05:34 +01:00
Álvaro Brey Vilas e7d8870b07 Move Throttler to proper package
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 10:59:08 +01:00
Álvaro Brey Vilas 11b6420446 Write tests for Throttler
Signed-off-by: Álvaro Brey Vilas <[email protected]>

Write tests for Throttler

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 10:56:57 +01:00
Álvaro Brey b5e36d25be Merge pull request #9547 from nextcloud/fix/favorite-state-lost
OCFileListFragment: don't delete search event if resuming a search fragment
2021-12-15 09:43:50 +01:00
Nextcloud bot 3f8adc1016 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-15 03:53:06 +00:00
Álvaro Brey Vilas d503623d1d OCFileListFragment: don't delete search event if resuming a search fragment
This fixes a bug where favorites screen seemed empty after coming back from a share fragment.

This took WAY too long to figure out, this class needs a big refactor.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-14 17:52:52 +01:00
Álvaro Brey Vilas 930efa850d Bump Android Gradle PLugin to 7.0.4
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-14 11:20:22 +01:00
tobiasKaminsky 40796f7612 Add huawei build flavor
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-14 08:42:01 +01:00
Álvaro Brey 157f62a775 Merge pull request #9541 from nextcloud/fixUploadFromApps
"last modified" column might not exist, thus it shall never fail to upload
2021-12-13 13:04:28 +01:00
Álvaro Brey Vilas 662f15d250 UploadFilesActivity: don't attempt to check selectAll if selectAll is not visible in menu
This was crashing autoupload settings.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-13 12:50:17 +01:00
Álvaro Brey e9b13fe45f Merge pull request #9537 from nextcloud/fix-npe-in-file-uploader
Do not set notification manager to null in uploader service
2021-12-13 12:25:41 +01:00
Álvaro Brey 0e45a8611c Merge pull request #9535 from nextcloud/prevent-player-service-stop-from-using-foreground-service-api
When stopping PlayerService, do not use foreground service api
2021-12-13 11:43:57 +01:00
Álvaro Brey d9874c788c Merge pull request #8730 from nextcloud/migrate-file-activity-extra-account-to-extra-user
Migrate FileActivity.EXTRA_ACCOUNT to EXTRA_USER and use User model as well
2021-12-13 11:37:44 +01:00
tobiasKaminsky 86a5c930b0 "last modified" column may not exist, thus it shall never fail to upload
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-13 09:47:49 +01:00
Nextcloud bot 45b591f3d2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-13 03:52:57 +00:00
Chris Narkiewicz 0c087012d7 Do not set notification manager to null in uploader service
NPE is most likely caused by a race condition, when
file upload update arrives after onDestroy().

Do not set notification manager to null - it does not
make any sense anyway, as it's a system service.

Fixes #9390

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-12-12 14:41:48 +00:00
Chris Narkiewicz 989b8aeddb When stopping PlayerService, do not use foreground service api
Sending async message to the service using foreground API
requires setting foreground flag. This won't happen if
the service is being stopped, so we must use startService()
API instead.

This API will throw IllegalStateException when app is banned
from running a service due to power management constraints.

Since stopping a service under such condition is not needed
anyway (it is not running), we can safely catch and ignore it.

This happens when app is woken up after long inactivity and
UI is recreated from cache.

Fixes #9491

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-12-12 13:15:20 +00:00
Nextcloud bot a284b6fcde [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-12 03:54:58 +00:00
Chris Narkiewicz 883857db32 Migrate FileActivity.EXTRA_ACCOUNT to EXTRA_USER
Migrate FileActivity.EXTRA_ACCOUNT to EXTRA_USER and pass
User model around instead of Account.

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-12-12 00:23:40 +00:00
Nextcloud bot 06e1c41884 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-11 03:53:44 +00:00
Álvaro Brey Vilas f81779285e Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-10 13:05:22 +00:00
Álvaro Brey Vilas 3b023e9be5 Update analysis results
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-10 13:08:06 +01:00
Álvaro Brey 489eb75858 Merge pull request #9523 from nextcloud/fix/media-preview-navigation
FileDisplayActivity: Preserve title bar after resume
2021-12-10 10:33:31 +01:00
Álvaro Brey 8b63aaf2f9 Merge pull request #9522 from nextcloud/fix/search-landscape
Unified search: clear focus from search view on open
2021-12-10 10:26:35 +01:00
Tobias Kaminsky 67b922dfe0 Merge pull request #9493 from nextcloud/codestyle-remove
Code style: remove autowrap false option
2021-12-10 10:26:06 +01:00
Nextcloud bot 9358e7d407 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-10 03:57:24 +00:00
Álvaro Brey Vilas 46669cc1d8 FileDisplayActivity: Preserve title bar after resume
Fixes title bar reverting to searchbar even if the resumed fragment is the preview or the details fragments

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 18:32:59 +01:00
Álvaro Brey Vilas 30091a7aa4 Unified search: clear focus from search view on open
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 16:58:36 +01:00
Álvaro Brey 0edba984be Merge pull request #9426 from nextcloud/fix/unified-search-apps
UnifiedSearch: Fix opening non-file results with relative URLs
2021-12-09 15:59:31 +01:00
Álvaro Brey 76210ada17 Merge pull request #9494 from nextcloud/fix/calendar-dialog-style
DatePickerDialog: fix theme
2021-12-09 15:59:11 +01:00
Álvaro Brey 451c629a44 Merge pull request #9418 from nextcloud/fix/sharing-note-mandatory
Don't make note mandatory for sharing
2021-12-09 15:58:46 +01:00
Álvaro Brey 515e3f7089 Merge pull request #9449 from nextcloud/fix/fdf-binding-npe
FileDetailFragment: prevent NullPointerException if fileDetailSharingFragment is called too soon
2021-12-09 15:57:52 +01:00
Álvaro Brey 301543455f Merge pull request #9476 from nextcloud/storeFavoriteAfterFavoritingIt
After favorite/unfavorite store this also in db, not only change it in UI
2021-12-09 15:39:05 +01:00
Álvaro Brey 840ec88f57 Merge pull request #9475 from nextcloud/renameFix
Rename remote path upon renaming
2021-12-09 15:38:46 +01:00
Álvaro Brey 16d2aa2554 Merge pull request #9474 from nextcloud/fixGallerySearch
Fix vanishing files after gallery search
2021-12-09 15:38:28 +01:00
Álvaro Brey b38905fff7 Merge pull request #9469 from nextcloud/darkModeBackgronud
Explicitly set background for fragments
2021-12-09 15:37:58 +01:00
Álvaro Brey 0620d0a574 Merge pull request #9468 from nextcloud/translateError
Extract string to get translated
2021-12-09 15:37:07 +01:00
Álvaro Brey 2872f8167e Merge branch 'master' into translateError 2021-12-09 15:36:57 +01:00
Álvaro Brey 22c308f69a Merge pull request #9467 from nextcloud/fileSizeInShareDialog
update file size upon opening share dialog
2021-12-09 15:36:00 +01:00
Álvaro Brey 4381f7e33c Merge pull request #9478 from nextcloud/emptyNotCentered
Empty list is not centered and in landscape cut off
2021-12-09 15:35:11 +01:00
Álvaro Brey 739364dd63 Merge pull request #9466 from nextcloud/enhancePlayIcon
Play button as overlay on videos is now more sharpe on large displays
2021-12-09 15:34:22 +01:00
Álvaro Brey ad781a4b34 Merge pull request #9465 from nextcloud/trashbinCount
Update footer upon restore/delete of a deleted file
2021-12-09 15:34:02 +01:00
Álvaro Brey aa0914011d Merge pull request #9464 from nextcloud/drawerHighlight
highlight correct menu drawer icon
2021-12-09 15:33:28 +01:00
Álvaro Brey 60aa2becf3 Merge pull request #9463 from nextcloud/highlightSortOrder
Correctly highlight selected sort order
2021-12-09 15:33:02 +01:00
Álvaro Brey ad5c73f5ea Merge pull request #9462 from nextcloud/expandSendShareDialog
Expand send share dialog when in landscape mode
2021-12-09 15:32:37 +01:00
Álvaro Brey 41f650586f Merge pull request #9461 from nextcloud/unifiedSearch_showNoResults
If no search results from any provider, show it
2021-12-09 15:31:46 +01:00
Álvaro Brey 6a3dd84ba1 Merge branch 'master' into unifiedSearch_showNoResults 2021-12-09 15:31:32 +01:00
Álvaro Brey 42212e410e Merge pull request #9460 from nextcloud/mediaEmpty
Show correct empty screen if gallery search returns empty
2021-12-09 15:30:20 +01:00
Álvaro Brey e33419eb75 Merge pull request #9485 from nextcloud/fixSetPictureAs
"set picture as" needs temporary read permission
2021-12-09 15:27:23 +01:00
Álvaro Brey 98319b40d0 Merge pull request #9484 from nextcloud/fix401whenReloggingIn
when re-logging in too fast, we stored an empty auth token
2021-12-09 15:27:06 +01:00
Álvaro Brey 63cbb9f2d9 Merge pull request #9483 from nextcloud/audioCoverArt
Better positioning of preview media fragment
2021-12-09 15:26:47 +01:00
Álvaro Brey d0038c6a3b Merge pull request #9482 from nextcloud/fullscreenToggle
Fullscreen toggle
2021-12-09 15:26:13 +01:00
Álvaro Brey 7f6acfc590 Merge pull request #9480 from nextcloud/hideNextButton
On video player hide next button, as it is always disabled
2021-12-09 15:26:02 +01:00
Álvaro Brey ad946c2f73 Merge pull request #9479 from nextcloud/uponMoveUpdateFolderSize
Upon move update folder size
2021-12-09 15:25:48 +01:00
Álvaro Brey 0fe6c436ab Merge pull request #9459 from nextcloud/uploadAskForPermission
Ask for permission in UploadFilesActivity
2021-12-09 15:25:32 +01:00
Álvaro Brey Vilas 8a8c7a098f Remove TODO
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 14:57:33 +01:00
Tobias Kaminsky a3b0e65171 Merge pull request #9487 from nextcloud/fix/upload-button-single-files
Fix upload button not active unless select all is clicked
2021-12-09 14:50:48 +01:00
Álvaro Brey Vilas ded48ddba9 Don't make note mandatory for sharing
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 13:42:55 +00:00
Álvaro Brey Vilas bcafbbbd5b DatePickerDialog: fix theme
Extend from Dialog, not Dialog.Alert.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 14:36:01 +01:00
Álvaro Brey Vilas 12e50f31a0 Code style: remove autowrap false option
The IDE keeps removing it on every refresh, and it gets annoying.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 12:44:18 +01:00
Álvaro Brey Vilas af32084d1e Fix upload button not active unless select all is clicked
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 08:16:59 +00:00
Nextcloud bot 694b8fda56 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-09 03:57:08 +00:00
tobiasKaminsky 76547ca06d "set picture as" needs temporary read permission
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-08 15:31:39 +01:00
tobiasKaminsky 1036eaa01f when re-logging in too fast, we stored an empty auth token
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-08 14:58:21 +01:00
tobiasKaminsky 57f21e50ce Better positioning of preview media fragment
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-08 10:03:52 +01:00
tobiasKaminsky 09a02767bc Better fullscreen toggle
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-08 08:44:35 +01:00
Nextcloud bot b7de19236f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-08 04:05:40 +00:00
tobiasKaminsky c7bcc349d0 On video player hide next button, as it is always disabled
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 17:31:42 +01:00
tobiasKaminsky 7d3db7c9c3 Upon move update folder size
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 16:52:03 +01:00
tobiasKaminsky e1399f0135 Empty list is not centered and in landscape cut off.
Therefore as a quick win, moved all up, so that user does not think it should be centered.
This also then works in landscape.

Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 13:30:45 +01:00
tobiasKaminsky dd366ec494 After favorite/unfavorite store this also in db, not only change it in UI
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 09:13:26 +01:00
tobiasKaminsky ef25d41342 Rename remote path upon renaming
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 08:54:21 +01:00
tobiasKaminsky 036e339b07 Fix vanishing files after gallery search
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 08:15:49 +01:00
Nextcloud bot a22e97db73 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-07 05:10:21 +00:00
tobiasKaminsky 40e8ac7c58 Explicitly set background for fragments
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 17:35:16 +01:00
tobiasKaminsky 417365f7ea Extract string to get translated
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 16:57:52 +01:00
tobiasKaminsky 4a0ec4ece7 update file size upon opening share dialog
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 16:32:41 +01:00
tobiasKaminsky c85a733190 Play button as overlay on videos is now more sharpe on large displays
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 16:04:11 +01:00
tobiasKaminsky 0996702fd9 Update footer upon restore/delete of a deleted file
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 15:12:27 +01:00
tobiasKaminsky b557061410 highlight correct menu drawer icon
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 15:03:10 +01:00
tobiasKaminsky 8d94a44066 - correctly highlight selected sort order
- combine uploadFilesView and localFilesListView enum, as both are the same

Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 13:08:50 +01:00
tobiasKaminsky 9e1001a53c Expand send share dialog when in landscape mode
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 12:45:45 +01:00
tobiasKaminsky 07ece764f9 If no search results from any provider, show it
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 12:21:31 +01:00
tobiasKaminsky 599956370a fix tests
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 10:30:35 +01:00
tobiasKaminsky 70cb9367ae Show correct empty screen if gallery search returns empty
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 10:10:29 +01:00
tobiasKaminsky 5ebf79697d Ask for permission in UploadFilesActivity
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 08:34:23 +01:00
Nextcloud bot b3b1b8dbc0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-05 04:08:45 +00:00
Álvaro Brey Vilas b7d51e573a FileDetailFragment: prevent NullPointerException if fileDetailSharingFragment is called too soon
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-03 16:50:37 +01:00
Álvaro Brey 53999c809c Merge pull request #9433 from nextcloud/refresh
Refresh on favorite/shared view does search again, not showing root folder content
2021-12-03 15:31:40 +01:00
Álvaro Brey fbfdfb02c9 Merge pull request #9431 from nextcloud/showMnemonic
show mnemonic only if requested
2021-12-03 15:17:04 +01:00
Álvaro Brey 8625ab9be2 Merge pull request #9425 from nextcloud/updateSelectMenu
upload files activity: update select all button when selected files changed
2021-12-03 12:24:14 +01:00
Álvaro Brey 6cb1578983 Merge pull request #9423 from nextcloud/rememberSelectedFilesInUpload
Remember selected files in upload files activity upon screen rotation
2021-12-03 12:19:37 +01:00
Álvaro Brey 540ca74eec Merge pull request #9422 from nextcloud/uploadButtonOnSelectAll
Upon select all in upload files activity, enable upload button
2021-12-03 12:12:35 +01:00
Álvaro Brey 532f06a9a5 Merge pull request #9421 from nextcloud/removeUnfavoritedFile
Remove unfavorited file from favorited search
2021-12-03 12:00:56 +01:00
Álvaro Brey fe18e9a710 Merge pull request #9420 from nextcloud/showTrashbinError
Show trashbin error in a better way
2021-12-03 11:40:22 +01:00
dependabot[bot] 6beadb058c Bump byteBuddyVersion from 1.12.2 to 1.12.3
Bumps `byteBuddyVersion` from 1.12.2 to 1.12.3.

Updates `byte-buddy` from 1.12.2 to 1.12.3
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.2...byte-buddy-1.12.3)

Updates `byte-buddy-android` from 1.12.2 to 1.12.3
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.2...byte-buddy-1.12.3)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-03 02:07:12 +00:00
dependabot[bot] 865537c821 Bump daggerVersion from 2.40.3 to 2.40.4
Bumps `daggerVersion` from 2.40.3 to 2.40.4.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-03 02:06:39 +00:00
Álvaro Brey Vilas 42f995bb66 OcFileListFragment: throttle overflow menu clicks
Fixes #9319

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-02 17:14:59 +01:00
Álvaro Brey Vilas a94c151228 Unified search: show error when there's no connection
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-02 13:57:06 +01:00
tobiasKaminsky 69486a5428 Refresh on favorite/shared view does search again, not showing root folder content
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-02 13:11:39 +01:00
tobiasKaminsky 552d0a2d39 show mnemonic only if requested
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-02 11:10:59 +01:00
dependabot[bot] d4c3f81cd8 Bump bcpkix-jdk15to18 from 1.69 to 1.70
Bumps [bcpkix-jdk15to18](https://github.com/bcgit/bc-java) from 1.69 to 1.70.
- [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] <[email protected]>
2021-12-02 02:07:24 +00:00
Nextcloud bot 5171d73285 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-01 18:48:41 +00:00
Álvaro Brey Vilas 62df4ff414 OCFileListFragment: Solve triplicated search events
Most visible when going to Favorites from another search.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-01 18:03:42 +01:00
Álvaro Brey Vilas 8eb2567c78 DrawerActivity: extract duplicated search launch logic to a method
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-01 17:56:02 +01:00
Álvaro Brey Vilas 94e73ba716 UnifiedSearch: Fix opening non-file results with relative URLs
Most notable in Apps results (Deck, Music...)

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-01 16:33:37 +01:00
tobiasKaminsky 5511a23748 upload files activity: update select all button when selected files changed
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-01 16:28:38 +01:00
tobiasKaminsky 15674167fb Remember selected files in upload files activity upon screen rotation
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-01 15:25:31 +01:00
tobiasKaminsky 5b18cf972e Upon select all in upload files activity, enable upload button
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-01 15:03:17 +01:00
tobiasKaminsky f4e7bf3ed5 Remove unfavorited file from favorited search
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-01 14:55:01 +01:00
tobiasKaminsky 729d053b9a Show trashbin error in a better way
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-01 14:14:33 +01:00
Álvaro Brey b17db63964 Merge pull request #9354 from nextcloud/fix/ip-port-login
Fix crashes during scheme normalization on login
2021-12-01 10:55:31 +01:00
Álvaro Brey 0f2011c16a Merge pull request #9395 from nextcloud/fix/delete-media-refresh
Refresh gallery screen when deleting a file
2021-12-01 10:48:12 +01:00
Álvaro Brey Vilas d84d82b176 Increase findbugs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-01 10:47:22 +01:00
Tobias Kaminsky aa946dc311 Merge pull request #9385 from nextcloud/fix/side-menu-logo-crash
DrawerActivity: resize server logo if it's too big
2021-12-01 10:30:51 +01:00
Álvaro Brey 99a40120ec Merge pull request #9409 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.43.1
Bump ktlint from 0.43.0 to 0.43.1
2021-12-01 09:50:37 +01:00
Nextcloud bot 404ad2f9f0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-01 04:01:35 +00:00
dependabot[bot] 23a5e13708 Bump ktlint from 0.43.0 to 0.43.1
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.43.0 to 0.43.1.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/0.43.1/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.43.0...0.43.1)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-01 02:06:52 +00:00
Álvaro Brey 2e570e2bcb Merge pull request #9398 from nextcloud/dependabot/gradle/daggerVersion-2.40.3
Bump daggerVersion from 2.40.2 to 2.40.3
2021-11-30 16:06:53 +01:00
dependabot[bot] cd40720fe0 Bump daggerVersion from 2.40.2 to 2.40.3
Bumps `daggerVersion` from 2.40.2 to 2.40.3.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-30 08:56:28 +00:00
Álvaro Brey ff24034d37 Merge pull request #9193 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.43.0
Bump ktlint from 0.42.1 to 0.43.0
2021-11-30 09:55:31 +01:00
Nextcloud bot 3da0ad2027 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-30 03:59:11 +00:00
Álvaro Brey Vilas 63f1654ebf Refresh gallery screen when deleting a file
Fixes #9370

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-29 17:48:17 +01:00
dependabot[bot] f76e75a6ea Bump ktlint from 0.42.1 to 0.43.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.42.1 to 0.43.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.42.1...0.43.0)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-29 15:29:47 +00:00
Álvaro Brey bb8c4f8622 Merge pull request #9243 from nextcloud/pr_template_comment
meta: Don't put the testing explanation in the rendered PR text
2021-11-29 16:28:18 +01:00
Álvaro Brey 9a87eed685 Merge pull request #9393 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.2
Bump byteBuddyVersion from 1.11.22 to 1.12.2
2021-11-29 16:26:32 +01:00
Álvaro Brey 16ee381f21 Merge pull request #9394 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.19.0
Bump detekt-gradle-plugin from 1.18.1 to 1.19.0
2021-11-29 16:25:15 +01:00
Álvaro Brey 77dfd96e91 Merge pull request #9286 from Toover/master
Fix dialog template chooser when new file has no extension #9282
2021-11-29 16:24:29 +01:00
dependabot[bot] 35aff0603e Bump detekt-gradle-plugin from 1.18.1 to 1.19.0
Bumps detekt-gradle-plugin from 1.18.1 to 1.19.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] <[email protected]>
2021-11-29 13:54:14 +00:00
dependabot[bot] 266971ffbf Bump byteBuddyVersion from 1.11.22 to 1.12.2
Bumps `byteBuddyVersion` from 1.11.22 to 1.12.2.

Updates `byte-buddy` from 1.11.22 to 1.12.2
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.22...byte-buddy-1.12.2)

Updates `byte-buddy-android` from 1.11.22 to 1.12.2
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.22...byte-buddy-1.12.2)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-29 13:54:06 +00:00
Álvaro Brey 2bce289331 Merge pull request #9363 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.16.1
Bump exoplayer from 2.16.0 to 2.16.1
2021-11-29 14:53:32 +01:00
dependabot[bot] b87fcd4af6 Bump exoplayer from 2.16.0 to 2.16.1
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.16.0...r2.16.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-29 13:14:37 +00:00
Álvaro Brey 58828dbc8b Merge pull request #9249 from nextcloud/compile-sdk-31
Bump compileSDK to 31
2021-11-29 14:12:41 +01:00
Nextcloud bot 1c911b15b4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-29 03:53:31 +00:00
Nextcloud bot 2cee938227 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-27 03:55:21 +00:00
Álvaro Brey Vilas ff0cb45c03 DrawerActivity: resize server logo if it's too big
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-26 21:03:04 +01:00
Álvaro Brey c1b69f4c9a Merge pull request #9376 from nextcloud/Favorited
favorite/unfavorite in details view
2021-11-26 16:32:13 +01:00
tobiasKaminsky 4c62ee6c5a favorite/unfavorite in details view
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-26 12:29:14 +01:00
Álvaro Brey Vilas 8f6c7fe4d9 Increase findbugs result
Was missing in a previous PR

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-26 11:02:55 +01:00
Nextcloud bot ebaced6d34 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-26 04:16:06 +00:00
Álvaro Brey a98bdd69ce Merge pull request #9287 from liam-p-23/master
File rename input warning message
2021-11-25 14:14:37 +01:00
Álvaro Brey Vilas 8ee7bfd557 Fix lint issues with cursor indexes on compileSdk 31
Ref: https://stackoverflow.com/a/69979270

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 12:57:17 +01:00
Álvaro Brey Vilas 9b51a5f242 Bump compileSDK to 31
Required by many new library versions already

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 11:21:23 +01:00
Álvaro Brey 90a63159da Merge pull request #9358 from nextcloud/dependabot/gradle/daggerVersion-2.40.2
Bump daggerVersion from 2.40.1 to 2.40.2
2021-11-25 10:44:45 +01:00
Álvaro Brey e55c53f37e Merge pull request #9268 from nextcloud/dependabot/gradle/kotlin_version-1.6.0
Bump kotlin_version from 1.5.31 to 1.6.0
2021-11-25 10:34:57 +01:00
Álvaro Brey Vilas c855ae3c00 Fix dependabot.yml syntax
This was broken since https://github.com/nextcloud/android/commit/7af55b2e773d5ca25029a66b02d633f3e09a3ce3

As a consequence dependabot wasn't really reading the config file, and parts of the admin UI were broken too.

I've also removed the dependency ignores, as they weren't being read anyway and we can use dependabot commands for that.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 09:58:49 +01:00
dependabot[bot] 2876d45ba0 Bump daggerVersion from 2.40.1 to 2.40.2
Bumps `daggerVersion` from 2.40.1 to 2.40.2.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-25 08:47:32 +00:00
dependabot[bot] 84a30c0436 Bump kotlin_version from 1.5.31 to 1.6.0
Bumps `kotlin_version` from 1.5.31 to 1.6.0.

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-25 08:47:30 +00:00
Álvaro Brey 8c98809caa Merge pull request #9355 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-4.8.0
Bump spotbugs-gradle-plugin from 4.7.9 to 4.8.0
2021-11-25 09:46:37 +01:00
Álvaro Brey Vilas 815e946adc Increase spotbugs result due to new spotbugs version
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 09:19:13 +01:00
Álvaro Brey 85fd9d4f8d Merge pull request #9350 from nextcloud/fix-npe-regression-in-file-downloader
Fix NPE regression in FileDownloader
2021-11-25 09:14:55 +01:00
dependabot[bot] e357c46af9 Bump spotbugs-gradle-plugin from 4.7.9 to 4.8.0
Bumps spotbugs-gradle-plugin from 4.7.9 to 4.8.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-25 08:04:37 +00:00
Álvaro Brey Vilas dd07ea17dd Fix another NPE in FileDownloader
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 07:47:24 +00:00
Chris Narkiewicz a84fc6297d Fix NPE regression in FileDownloader
Fixes #9349

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-11-25 07:47:24 +00:00
Nextcloud bot 6361c19386 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-25 03:54:26 +00:00
Liam P 549750aa73 Changed error color of TextInputLayoutInputWarning
Signed-off-by: Liam P <[email protected]>
2021-11-24 15:11:06 -05:00
Nextcloud bot 9ebc2f2b9e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-24 03:56:08 +00:00
Álvaro Brey f0cd5c2aec Merge pull request #9335 from nextcloud/remove-account-from-arbitrary-data-provider
Remove Account from ArbitraryDataProvider
2021-11-23 10:08:42 +01:00
Álvaro Brey 1572ca7e00 Merge pull request #9342 from nextcloud/fix/davdroid-login
AndroidManifest: allow querying for davdroid app.
2021-11-23 10:03:29 +01:00
Nextcloud bot 0997251cd3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-23 03:57:31 +00:00
Chris Narkiewicz feb9d6a87f Remove Account from ArbitraryDataProvider
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-11-22 22:50:07 +00:00
Álvaro Brey de79c93991 Merge pull request #9333 from nextcloud/migrate-ocupload-to-user
Migate OCUpload to User
2021-11-22 16:43:39 +01:00
Álvaro Brey 1e5b4604fb Merge pull request #9330 from nextcloud/remove-account-from-file-data-storage-manager-implementation
Remove platform Account from FileDataStorageManager implementation
2021-11-22 16:37:58 +01:00
Álvaro Brey Vilas cac884f6c2 AndroidManifest: allow querying for davdroid app.
Fixes #9339

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-22 16:16:04 +01:00
Nextcloud bot 679b3ae029 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-22 04:13:44 +00:00
Nextcloud bot fb10543c87 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-21 03:53:48 +00:00
Chris Narkiewicz c8f61f76f5 Migate OCUpload to User
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-11-20 22:19:59 +00:00
Chris Narkiewicz 12e09e8c28 Remove platform Account from FileDataStorageManager implementation
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-11-20 14:37:35 +00:00
Nextcloud bot 8eff4f7ddf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-20 04:13:56 +00:00
Liam P b0cf10b88a Changed input warning to use TextInputLayout setError
Signed-off-by: Liam P <[email protected]>
2021-11-19 19:24:48 -05:00
Liam P 8daf760107 Updated input warning message functionality
Signed-off-by: Liam P <[email protected]>
2021-11-19 19:24:36 -05:00
William Plefka 425966a7b8 Updated input warning message functionality
Signed-off-by: Liam P <[email protected]>
2021-11-19 19:23:38 -05:00
William Plefka b3056188e5 Added Javadoc comments
Signed-off-by: Liam P <[email protected]>
2021-11-19 19:23:27 -05:00
William Plefka 8d5d7cccc8 Added hidden file warning message to the rename file dialog. Resolves #7722
Signed-off-by: William Plefka <[email protected]>
Signed-off-by: Liam P <[email protected]>
2021-11-19 19:23:11 -05:00
Tobias Kaminsky 169d6a0aae Merge pull request #9314 from nextcloud/fixFDSM
fix FDSM call
2021-11-19 09:41:10 +01:00
tobiasKaminsky 66459bcfbc fix FDSM call
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-19 09:00:05 +01:00
Nextcloud bot 38eeebf9ae [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-19 04:37:18 +00:00
Álvaro Brey 373fec8b45 Merge pull request #9073 from nextcloud/remove-deprecated-calls-to-storage-manager-constructor
Remove deprecated calls to storage manager constructor
2021-11-18 14:36:03 +01:00
Andy Scherzinger 118195e168 Merge pull request #9305 from nextcloud/changelog-master-stable-3.18.0
Add changelog for 3.18.0
2021-11-18 11:51:59 +01:00
Álvaro Brey Vilas b68d896d2c Add changelog for 3.18.0
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-18 10:50:12 +01:00
Nextcloud bot 951377de46 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-18 03:50:24 +00:00
Andy Scherzinger 22fb67c20e Merge pull request #9295 from nextcloud/bugfix/noid/detekt
Fix detekt score
2021-11-17 19:07:32 +01:00
Andy Scherzinger 29846c718d improve detekt score
Signed-off-by: Andy Scherzinger <[email protected]>
2021-11-17 18:15:01 +01:00
Andy Scherzinger 72d81ad06a Merge pull request #9292 from nextcloud/bugfix/9291/brandedThemedPermissionDialog
Make permission dialog brandable and themed
2021-11-17 18:02:22 +01:00
Álvaro Brey 2195236ea5 Merge pull request #9290 from nextcloud/bugfix/9284/ssoDialogSpacing
Use padding instead of margin for SSO dialog whitespace
2021-11-17 16:58:15 +01:00
Andy Scherzinger abce95fd8c make permission dialog brandable and themed
Fixes #9291

Signed-off-by: Andy Scherzinger <[email protected]>
2021-11-17 16:23:56 +01:00
Andy Scherzinger 5fd8843c1d use padding instead of margin for SSO dialog whitespace
Fixes #9284

Signed-off-by: Andy Scherzinger <[email protected]>
2021-11-17 15:46:50 +01:00
Álvaro Brey 3a8c32e0c4 Merge pull request #9289 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.2
Bump constraintlayout from 2.1.1 to 2.1.2
2021-11-17 12:51:31 +01:00
dependabot[bot] e44e90a595 Bump constraintlayout from 2.1.1 to 2.1.2
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.1 to 2.1.2.
- [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] <[email protected]>
2021-11-17 08:36:12 +00:00
Álvaro Brey 556b869308 Merge pull request #9288 from nextcloud/dependabot/gradle/mockkVersion-1.12.1
Bump mockkVersion from 1.12.0 to 1.12.1
2021-11-17 09:35:21 +01:00
Nextcloud bot be72eb7429 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-17 05:59:22 +00:00
dependabot[bot] fc634cd875 Bump mockkVersion from 1.12.0 to 1.12.1
Bumps `mockkVersion` from 1.12.0 to 1.12.1.

Updates `mockk` from 1.12.0 to 1.12.1
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/v1.12.0...1.12.1)

Updates `mockk-android` from 1.12.0 to 1.12.1
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/v1.12.0...1.12.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-17 02:05:04 +00:00
Toover 1b62ae6847 Fix dialog template chooser when new file has no extension #9282 2021-11-16 19:21:24 +01:00
Álvaro Brey 778736427d Merge pull request #9248 from nextcloud/fix/unified_seach_crash
Unified search: fix createNextcloudClient called from main thread
2021-11-15 19:49:35 +01:00
Álvaro Brey 8646a625b6 Merge pull request #9127 from LisaKirchhofer/status-bar-bugfix
Bugfix: Issue #9060 (Status bar with sorting/view mode disappears aft…
2021-11-15 17:16:23 +01:00
Álvaro Brey 733cb16565 Merge pull request #9242 from nextcloud/fix/more-intent-queries
Expand intent query declarations in AndroidManifest
2021-11-15 16:43:04 +01:00
Álvaro Brey Vilas d720ae7f3f Unified search: createNextcloudClient should not be called from main thread
Fixes #9244

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-15 16:40:08 +01:00
Álvaro Brey Vilas 18c6baaff0 manifest: Even more intent queries
Fixes #9270

These are hard to find, man

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-15 13:37:39 +01:00
Álvaro Brey Vilas fa432834e7 Expand intent query declarations in AndroidManifest
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-15 13:37:29 +01:00
Álvaro Brey f6a1f4a0f1 Merge pull request #9262 from gmotzespina/master
Prevent app crash when listening to audio files.
2021-11-15 11:41:07 +01:00
Álvaro Brey Vilas a6f3bdceeb Keep track of PlayerService state instead of restarting it before closing
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-15 10:31:20 +01:00
Tobias Kaminsky c2df6d73f7 Merge pull request #9261 from nextcloud/fixSSO
Query Param needs serial uid
2021-11-15 09:12:45 +01:00
Guillermo Mtz Espina 12b75dce7b Starts foreground service before stopping it to avoid app crash when listening to an audio file
Signed-off-by: Guillermo Mtz Espina <[email protected]>
2021-11-14 11:40:40 +00:00
tobiasKaminsky 9751de3934 Query Param needs serial uid
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-14 08:17:42 +01:00
Nextcloud bot 507f0ae9be [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-13 03:50:49 +00:00
Álvaro Brey 9ecc4bfc2a Merge pull request #9253 from nextcloud/dependabot/gradle/daggerVersion-2.40.1
Bump daggerVersion from 2.40 to 2.40.1
2021-11-12 10:42:59 +01:00
Nextcloud bot 7a8845777c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-12 03:45:57 +00:00
dependabot[bot] 8d98908b2d Bump daggerVersion from 2.40 to 2.40.1
Bumps `daggerVersion` from 2.40 to 2.40.1.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-12 02:06:05 +00:00
Nextcloud bot a1ce4fd57e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-11 03:50:41 +00:00
Álvaro Brey d0a7918d3b meta: Don't put the testing explanation in the PR text
By adding it as a comment, the user writing the PR will still see it but it won't be present in the rendered text.
2021-11-10 17:37:31 +01:00
Tobias Kaminsky cce56c4b2f Merge pull request #9237 from nextcloud/fix/view-files
Manifest: allow app to query for apps that can resolve VIEW or SEND intents
2021-11-10 07:56:36 +01:00
Tobias Kaminsky d3c42b5ed4 Merge pull request #9231 from nextcloud/disable-editor-autowrap
code style: Disable autowrap while typing
2021-11-10 07:55:33 +01:00
Nextcloud bot e25c82126f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-10 03:54:32 +00:00
Álvaro Brey Vilas 80f3f09bd1 Manifest: allow app to query for apps that can resolve VIEW or SEND intents
This is otherwise limited by default in sdk 30 and above

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-09 16:28:12 +01:00
Álvaro Brey eceddd5b61 Merge pull request #9234 from nextcloud/fix-manage-storage-lint
Remove some unused resources
2021-11-09 14:21:44 +01:00
Álvaro Brey Vilas fc7f91add8 Remove some unused resources
Slipped through on MANAGE_EXTERNAL_STORAGE pr

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-09 14:08:08 +01:00
Álvaro Brey 38e78b3f37 Merge pull request #9228 from nextcloud/manage-all-files
Ditch scoped storage in favor of MANAGE_EXTERNAL_STORAGE
2021-11-09 12:25:33 +01:00
Álvaro Brey Vilas b17bdc8e1e code style: Disable autowrap while typing
Our .editorconfig indiscriminately applies max length of 120 to every single file (except yaml).
When coupled with this setting (autowrap), this results in the editor inserting line ends in files,
even when it breaks the syntax (such as bash scripts) or tools (such as strings.xml).

This change keeps the margin indicator but disables auto-wrap while typing.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-09 12:07:30 +01:00
Álvaro Brey f0ee7d719e Merge pull request #9186 from nextcloud/strictMode
Enable StrictMode during development
2021-11-09 09:59:03 +01:00
Álvaro Brey Vilas 361ed24bb4 Add dialog to inform the user of storage permission
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-09 09:46:38 +01:00
tobiasKaminsky 9b0db8a355 Enable StrictMode during development
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-09 09:04:25 +01:00
Tobias Kaminsky a5d4dedc01 Merge pull request #9209 from nextcloud/spotbugs-refactor
build.gradle: Refactor spotbugs setup
2021-11-09 09:02:32 +01:00
Nextcloud bot 6e9dc44e71 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-09 07:52:44 +00:00
Álvaro Brey 7bd0190c4b Merge pull request #9225 from nextcloud/wording
rename "read only" -> "view only"
2021-11-09 08:30:19 +01:00
Álvaro Brey Vilas 7966fa7923 Re-try to get file management permission if user does not enable it, and show toast.
Does not allow any usage of the app if permission is not granted.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-08 16:56:22 +01:00
Álvaro Brey Vilas 44968b20ad PermissionUtil: fix version conditional
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-08 16:26:44 +01:00
Tobias Kaminsky 2e80f45191 Merge pull request #9188 from nextcloud/leakCanary
Use LeakCanary in debug mode
2021-11-08 15:14:41 +01:00
tobiasKaminsky f4f0c22492 rename "read only" -> "view only"
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-08 14:05:45 +01:00
Álvaro Brey Vilas be54fa0bce Update spotbugs results
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-08 13:56:04 +01:00
Álvaro Brey Vilas 3c80a05354 Revert "Use internalTemporalPath instead of temporalPath"
This reverts commit 1811d040f7.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-08 13:50:43 +01:00
Álvaro Brey Vilas 41dbdaf3ed Revert "DownloadFileOperation: use moveFile instead of File.renameTo"
This reverts commit f18f72abcd.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-08 13:50:26 +01:00
Álvaro Brey Vilas 5eeb8c0343 Remove What's New screens for scoped storage
Not needed if we get the manage permission

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-08 13:46:23 +01:00
Álvaro Brey Vilas 6a76372fde GrantStoragePermissionRule: grant MANAGE_EXTERNAL_STORAGE on sdk >=30
Feels a bit hacky but it's the actual recommended way:
https://developer.android.com/training/data-storage/manage-all-files#enable-manage-external-storage-for-testing

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-08 13:40:17 +01:00
Álvaro Brey Vilas a0b85cac71 Ditch scoped storage, try MANAGE_EXTERNAL_STORAGE
We _are_ a file-managing app, after all.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-08 13:13:02 +01:00
Álvaro Brey 0f024b81e0 Merge pull request #9223 from nextcloud/Valdnet-patch-2
i18n: Minor changes to sentence
2021-11-08 11:52:37 +01:00
Álvaro Brey Vilas 9eb2fcc6c1 spotbugs: Show list of scanned files
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-08 10:37:42 +01:00
Valdnet a638101359 i18n: Minor changes to sentence
Signed-off-by: Valdnet <[email protected]>
2021-11-08 09:02:27 +01:00
Nextcloud bot dce7eb713a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-08 06:34:35 +00:00
Tobias Kaminsky 7b80e23b8e Merge pull request #9220 from nextcloud/fixTranslations
Translation files must be one line
2021-11-08 07:21:47 +01:00
tobiasKaminsky 915b764f36 Translation files must be one line
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-08 07:04:59 +01:00
Álvaro Brey 72198d4865 Merge pull request #9161 from nextcloud/dependabot/gradle/daggerVersion-2.40
Bump daggerVersion from 2.39.1 to 2.40
2021-11-05 16:16:18 +01:00
Álvaro Brey c161b5235b Merge pull request #9197 from nextcloud/dependabot/gradle/androidx.annotation-annotation-1.3.0
Bump annotation from 1.2.0 to 1.3.0
2021-11-05 16:14:20 +01:00
Álvaro Brey Vilas 14c1e8d718 build.gradle: Refactor spotbugs setup
- Don't duplicate tasks. Use the ones that spotbugs provides and link them to their sourcesets
 - Add dependencies to compileSources to the spotbugs tasks
 - Update spotbugs plugin

This results in a much higher amount of issues. They were probably not being properly scanned earlier.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-05 16:12:05 +01:00
dependabot[bot] 17b602e263 Bump daggerVersion from 2.39.1 to 2.40
Bumps `daggerVersion` from 2.39.1 to 2.40.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-05 11:51:28 +00:00
dependabot[bot] 0dc54823b9 Bump annotation from 1.2.0 to 1.3.0
Bumps annotation from 1.2.0 to 1.3.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-05 11:50:31 +00:00
Álvaro Brey 78945f82d2 Merge pull request #9206 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.16.0
Bump exoplayer from 2.15.1 to 2.16.0
2021-11-05 12:49:06 +01:00
dependabot[bot] 3058ff7301 Bump exoplayer from 2.15.1 to 2.16.0
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.15.1 to 2.16.0.
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.15.1...r2.16.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-05 02:06:15 +00:00
Álvaro Brey 518343c4e4 Merge pull request #9195 from nextcloud/whats-new-sdk-30
Add What's New view to warn users of changes in storage after sdk 30
2021-11-04 14:35:29 +01:00
Álvaro Brey 35a2324482 Merge pull request #9175 from nextcloud/fix/url-parse-search-result
Unified search: skip local file check for non-file results
2021-11-04 14:27:25 +01:00
Álvaro Brey a994ebc3f4 Merge pull request #9044 from nextcloud/target-sdk-30
Target SDK 30
2021-11-04 13:46:16 +01:00
Álvaro Brey 30be31f525 Merge pull request #9166 from nextcloud/namespacedAction
Use package specific action
2021-11-04 13:39:46 +01:00
Álvaro Brey Vilas aa417537df Disable leakCanary for CI builds
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-04 13:10:56 +01:00
Álvaro Brey Vilas cb6d9a6c07 What's new: add second page of info for sdk30 storage update
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-04 13:03:14 +01:00
Álvaro Brey Vilas 40860d98be AppInfo: add getVersionName, remove getFormattedVersionCode
Only used for WhatsNewActivity, and showing the human-readable string makes more sense.
Also convert the appinfo package to kotlin, since we're at it

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-04 12:44:28 +01:00
Tobias Kaminsky 5ac0b76bc1 Merge pull request #9190 from nextcloud/stale-bot-exempt-label
stale action: Add exempt label to mark issues that shouldn't be stale automatically
2021-11-04 11:52:08 +01:00
Tobias Kaminsky d657b865f7 Merge pull request #9191 from nextcloud/docs/signoff-contributing
CONTRIBUTING: add indication that commits should be signed off.
2021-11-04 11:50:04 +01:00
tobiasKaminsky c15f64308b Use package specific action
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-04 08:21:12 +00:00
Álvaro Brey Vilas be43a629fd Add What's New view to warn users of changes in storage after sdk 30
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-03 16:49:20 +01:00
Álvaro Brey Vilas 6d4b3b8444 Fix ktlint
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-03 10:30:10 +01:00
Álvaro Brey Vilas 5e00733912 Add missing copyright header to PermissionUtil
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-03 09:16:22 +01:00
Nextcloud bot 6822cfda6a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-03 03:50:54 +00:00
Álvaro Brey Vilas f18f72abcd DownloadFileOperation: use moveFile instead of File.renameTo
File.renameTo fails if both files aren't under the same mountpoint.
As the tmp file is in internal storage now, it has to be move differently if the target dir is in external storage.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 16:31:46 +01:00
Álvaro Brey Vilas 1811d040f7 Use internalTemporalPath instead of temporalPath
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 12:59:06 +01:00
Álvaro Brey 578da09f05 Merge pull request #9179 from sryze/contact-settings-back-fix
Prevent duplicate Settings activity on back stack
2021-11-02 09:40:28 +01:00
tobiasKaminsky 4d99f62759 Use LeakCanary in debug mode
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-02 08:37:03 +00:00
Álvaro Brey 432f51b4ec Merge pull request #9181 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.22
Bump byteBuddyVersion from 1.11.21 to 1.11.22
2021-11-02 09:23:06 +01:00
Álvaro Brey 07bc3f4f50 Merge pull request #9180 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.8.9
Bump gson from 2.8.8 to 2.8.9
2021-11-02 09:17:27 +01:00
Álvaro Brey Vilas 78aa89e1be CONTRIBUTING: add indication that commits should be signed off.
Also add ToC entry for git hooks, which was missing

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 09:07:31 +01:00
Sergey Zolotarev f08ad758cd Prevent duplicate Settings activity on back stack
Signed-off-by: Sergey Zolotarev <[email protected]>
2021-11-02 14:05:59 +06:00
Álvaro Brey Vilas f2c81a9715 stale action: Add exempt label to mark issues that shouldn't be stale automatically
We've got some issues that are open since a long time ago but aren't resolved, and  there isn't some clear short term resolution to them.
As such these isues are kept open because they still affect users, but the users have to be "fighting" the stale bot, which
understandably generates confusion and frustration.

This PR adds a specific label we can add to those issues so that the stale action will ignore them.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:36:05 +01:00
Álvaro Brey Vilas 063ef4f8df Fix PermissionUtil after rebase
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:44 +01:00
Álvaro Brey Vilas 0ad8c4350d Fix storage permissions in debug manifest too
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:43 +01:00
Álvaro Brey Vilas 886c2574fb MediaProvider: remove useless parens
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:43 +01:00
Álvaro Brey Vilas 95c31750a7 AbstractIT: adaptations to make integration tests work in sdk 30
- Use internal temporal path, as external temporal path is broken in sdk 30
- Don't take snapshots in sdk30 as they crash

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:43 +01:00
Álvaro Brey Vilas c1316da717 Request READ_EXTERNAL_STORAGE in API >= 30
Although scoped storage is in effect and WRITE_EXTERNAL_STORAGE does not do anything,
we still need READ_EXTERNAL_STORAGE to read files from folders we don't own.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas 2cb05a17a5 androidTest: Don't request WRITE_EXTERNAL_STORAGE on sdk>=30
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas 1154b439fe ContentResolverHelperTest: use mockitokotlin instead of mockk
MockK doesn't work properly on android < 27. Lesson learned.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas be830a66c8 COntentResolverHelper: sort column must be an array
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas 8860bd4b52 Fix OCFIleListFragmentIT on sdk 30
Can no longer open /sdcard/ directly, let's use the external files dir

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:41 +01:00
Álvaro Brey Vilas aa7b5617ab ContentResolverHelper: add tests and proper copyright headers
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:41 +01:00
Álvaro Brey Vilas 0cccd80314 build.gradle: Bump mockK to fix test crashes in API 30 emulators
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:41 +01:00
Álvaro Brey Vilas 6e645f7f06 MediaProvider: solve crash on Android 11 due to invalid contentProvider queries
This manifested mostly when trying to open "auto upload"

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:40 +01:00
Álvaro Brey Vilas d92e3cbfaa Fix some type errors after sdk 30 bump
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:40 +01:00
Álvaro Brey Vilas e655039559 Bump compileSdk and targetSdk to 30
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:33 +01:00
Álvaro Brey Vilas ac9f516027 Unified search: skip local file check for non-file results
Fixes https://github.com/nextcloud/android/issues/9171

Needs https://github.com/nextcloud/android-library/pull/739

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 07:23:33 +00:00
Nextcloud bot 0558b25ee3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-02 03:49:39 +00:00
Nextcloud bot 346fc512a2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-01 03:48:17 +00:00
dependabot[bot] 957949101e Bump byteBuddyVersion from 1.11.21 to 1.11.22
Bumps `byteBuddyVersion` from 1.11.21 to 1.11.22.

Updates `byte-buddy` from 1.11.21 to 1.11.22
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.21...byte-buddy-1.11.22)

Updates `byte-buddy-android` from 1.11.21 to 1.11.22
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.21...byte-buddy-1.11.22)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-01 02:06:11 +00:00
dependabot[bot] 5b097431fb Bump gson from 2.8.8 to 2.8.9
Bumps [gson](https://github.com/google/gson) from 2.8.8 to 2.8.9.
- [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.8.8...gson-parent-2.8.9)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-01 02:05:37 +00:00
Nextcloud bot 3abf27f947 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-30 03:50:46 +00:00
Nextcloud bot f9bfb044dc [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-29 03:49:55 +00:00
Álvaro Brey dd7b76ead4 Merge pull request #9150 from nextcloud/fix-fastlane-rc
fastlane: Restore version prompt for RC releases
2021-10-28 12:34:00 +02:00
Álvaro Brey d74af1c35e Merge pull request #9164 from nextcloud/fix/network-metered-security-exception
ConnectivityService: handle SecurityException in getNetworkCapabilities
2021-10-28 11:00:16 +02:00
Álvaro Brey Vilas 9a94ddc1cc ConnectivityService: handle SecurityException in getNetworkCapabilities
Bug on Android implementation

See: https://stackoverflow.com/questions/66652819/getting-security-exception-while-trying-to-fetch-networkcapabilities-on-android

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-28 10:13:30 +02:00
Nextcloud bot da095ddfb6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-28 03:51:04 +00:00
Tobias Kaminsky 0184bb7608 Merge pull request #9157 from nextcloud/AccountManagerService
AccountManagerService needs to be exported
2021-10-27 19:59:48 +02:00
tobiasKaminsky 3823eccfe6 AccountManagerService needs to be exported
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-27 08:49:05 +02:00
Nextcloud bot 8c0e77ae93 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-27 03:55:09 +00:00
Álvaro Brey 9b25979eb7 Merge pull request #9149 from nextcloud/obsoleteSDKchekcs
Remove unneeded checks for M build target
2021-10-26 09:03:54 +02:00
Álvaro Brey Vilas e40d2910b9 fastlane: Restore version prompt for RC releases
Was lost in https://github.com/nextcloud/android/pull/9118,
so now RC releases didn't pause for version check.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-26 08:37:01 +02:00
drone 05d98ccc4b Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
2021-10-26 06:02:19 +00:00
tobiasKaminsky bbcfdbe98d Remove unneeded checks for M build target
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-26 07:57:01 +02:00
Nextcloud bot a946385603 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-26 03:50:35 +00:00
Andy Scherzinger 1b87f68aed Merge pull request #9142 from nextcloud/bumpMasterTo3.19
Bump master to 3.19 alpha
2021-10-25 18:42:22 +02:00
Nextcloud bot 2c7c571fca [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-25 14:25:18 +00:00
tobiasKaminsky 85d1f5bb0d Bump master to 3.19 alpha
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 16:17:42 +02:00
Tobias Kaminsky 6176998a0e Merge pull request #9141 from nextcloud/bump-outdated-server-version
Bump versions before RC
2021-10-25 16:13:56 +02:00
Tobias Kaminsky 6e76954fcf Merge pull request #8848 from nextcloud/sharingDialog
Sharing dialog improvement
2021-10-25 16:08:23 +02:00
Tobias Kaminsky cf8021059e Merge pull request #7568 from nextcloud/unifiedSearch
Unified search
2021-10-25 16:07:08 +02:00
drone 16b37bcc05 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 16:06:17 +02:00
Álvaro Brey Vilas 0984213b62 AndroidManifest: remove resources with maxSDK=22
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:44:36 +02:00
Álvaro Brey Vilas e99960c59d TestPowerManagementService: Bump SDK version used for test
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:39:25 +02:00
Álvaro Brey Vilas a5afe1ec41 Bump minSdk version to 23
22 is under 0.5% of users

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:35:52 +02:00
Álvaro Brey Vilas 16b83131c8 Bump OUTDATED_SERVER_VERSION to 19
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:25:44 +02:00
tobiasKaminsky 0cdfd7a906 Optimize imports
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:18:31 +02:00
tobiasKaminsky 3965f22e7c remove unused foreground (which was working only on API23+)
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas 6fe72782fe FileDisplayActivity: fix new spotbugs warning
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas d7d3157410 Unified search: solve RTL symmetry warnings
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas 631db66da7 Unified search: show context leak in UnifiedSearchViewModel
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas 8cadb2b5de Unified search: add placeholder icon for Deck
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas c51df6fb5b Unified search: better placeholder icons
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas 16100677bb Unified search: fix inverted success value for "load more"
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:56 +02:00
Álvaro Brey Vilas f927cfe2d8 Unified search: Round thumbnails when requested by server
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:56 +02:00
Álvaro Brey Vilas b6cd8af18a GetRemoteFileTask: pass User directly instead of account
Needed after model changes in master

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:56 +02:00
Álvaro Brey Vilas 149c701682 Restore master branch for library
Unified search has already been merged

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:55 +02:00
Álvaro Brey Vilas 2387545119 Unified search: Fix broken integration test
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:55 +02:00
Álvaro Brey Vilas 18cbdfa93c Unified search: minor UI improvements
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:55 +02:00
Álvaro Brey Vilas 61c2242896 Unified search: cleanup viewmodel usage with interface
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:54 +02:00
Álvaro Brey Vilas fdf1abd0fd Unified search: fix opening non-file results (open in a browser)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:54 +02:00
Álvaro Brey Vilas c3a1656781 Unified search: fix existing tests to make CI happy
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:54 +02:00
tobiasKaminsky 73e4f3cf05 fix loading message
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas 146650c0c6 Unified search: bind search view on US fragment to allow subsequent searches
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas 361e81ea9c Unified search: set toolbar title to search query
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas 3fc6fc8bdf Unified search: several UI and navigation improvements
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas fac2958788 Unified search: Show error messages, loading anim, click animations. Implement refresh.
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:52 +02:00
Álvaro Brey Vilas e898965dc1 Unified search: transform results in ViewModel and fix "load more" behaviour
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:52 +02:00
Álvaro Brey Vilas 484a506688 Unified search: do not show "load more" if there are no more results
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:52 +02:00
Álvaro Brey Vilas c816aee5b1 CI: screenshotTests: always delete old comments
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:51 +02:00
Álvaro Brey Vilas e8feb412a4 Unified search: basic "Load more" functionality
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:51 +02:00
Álvaro Brey Vilas 02d133a1c7 Unified search: always show files results first
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:51 +02:00
Álvaro Brey Vilas 6c98b4cb8d Unified seach: allow querying different providers asynchronously, and get their IDs in the result
First step towards getting "Load more" working for a single provider

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:50 +02:00
Álvaro Brey Vilas b0b9d3a3e3 Unified search: get search to fetch and show multiple providers
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:50 +02:00
Álvaro Brey Vilas decfc91d58 FileDisplayActivity: Restore showFile function that was lost in the rebase
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:50 +02:00
Álvaro Brey Vilas 7d3fbe47d0 Suppress detekt at UnifiedSearchItemViewHolder
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:49 +02:00
Álvaro Brey Vilas 276b8d7b28 Fix build errors after rebase
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:49 +02:00
Andy Scherzinger 57732aceb9 ktlint: proper code formatting
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-25 15:17:49 +02:00
tobiasKaminsky 1136aa3748 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:48 +02:00
tobiasKaminsky 232ffe7d5c wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:48 +02:00
tobiasKaminsky 96ea22525e wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:48 +02:00
tobiasKaminsky 3a39b041de wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:46 +02:00
Álvaro Brey Vilas dc5756246a Sharing dialog: fix spotbugs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:08 +02:00
Álvaro Brey Vilas 295c24aa78 File sharing: remove unused background parameters that were triggering lint
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:07 +02:00
Álvaro Brey Vilas 80327fc3b9 Sharing dialog IT: add retries and sleeps
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:07 +02:00
Álvaro Brey Vilas 5afcad3fed FileSharingFragmentIT: fix test and delete unused variables
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:07 +02:00
tobiasKaminsky 891146eb8a Reduce lint
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:13:06 +02:00
Álvaro Brey Vilas b367684e21 Patch up integration tests for file sharing
This requires a lot of dodgy code, unfortunately. A refactor is greatly needed here.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:06 +02:00
Álvaro Brey Vilas 42ac3bcb11 Sharing dialog: fix accessibility in bottom sheet
Add min height for touchable area.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:06 +02:00
tobiasKaminsky 80b8173e45 fix ktlint
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:13:06 +02:00
A117870935 df6d590196 Sharing dialog improvement
changed overflow menu items for sharing files and folders

completed NMCLOUD-350 for share permissions and fixed test cases as per new changes

permission menu code optimisation

added permission display to share fragment list items

fixed permission issue for files, added strings for german

changed sharing process for internal and external share by creating new full screen permission and note ui.
created new remote operation to share the file/folder with permissions

changed sharing menu options from popup to bottom sheet for all shares, modified options for link share

test cases written for updated sharing process

updated PR as per Tobias feedback:
1. Failed test cases reverted
2. Quick permissions sheet modified
3. Minor UI changes done.
4. Commented code removed

copyright header added

Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:12:58 +02:00
Tobias Kaminsky 215c1c90db Merge pull request #9015 from nextcloud/calendarSync
Calendar backup/import
2021-10-25 15:09:11 +02:00
Tobias Kaminsky d544e18960 Merge pull request #9112 from nextcloud/profilePage
Profile page
2021-10-25 15:07:32 +02:00
Tobias Kaminsky 765e2ca442 Merge pull request #9125 from eckR/bugfix/fix-email-type
Bugfix/fix email type
2021-10-25 14:33:56 +02:00
tobiasKaminsky 6d07584a54 Profile page
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 14:05:33 +02:00
tobiasKaminsky 042c413569 Calendar backup/import
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 13:02:12 +02:00
Tobias Kaminsky 2693c103b3 Merge pull request #9139 from nextcloud/suppress-walled-network-test-on-metered-wifi
Suppress walled network check when on metered wifi
2021-10-25 09:55:55 +02:00
Tobias Kaminsky 344a12d95a Merge pull request #8916 from tom-bowles/master
Handle 'Stream with...' option in PreviewMediaFragment
2021-10-25 09:18:05 +02:00
tobiasKaminsky d064352011 Fix test
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 09:10:21 +02:00
Tobias Kaminsky 6bdfe17bc8 Merge pull request #9124 from nextcloud/ignore_EI_EXPOSE_REP2
Disable spotbugs: EI_EXPOSE_REP2
2021-10-25 08:18:43 +02:00
drone 8b53b54d48 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
2021-10-25 06:02:10 +00:00
tobiasKaminsky 6a57af4c90 I think we can disable this, as we only pass objects from our code / Android
https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html#ei2-may-expose-internal-representation-by-incorporating-reference-to-mutable-object-ei-expose-rep2
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 06:02:10 +00:00
Tobias Kaminsky aa1f1add49 Merge pull request #9137 from nextcloud/fix-npe-in-conflict-resolution-activity
Fix NPE in ConflictsResolveActivity
2021-10-25 07:59:01 +02:00
Tobias Kaminsky 9f64cba2b9 Merge pull request #9138 from nextcloud/fix-npe-during-contacts-backup
Fix NPE during contacts backup
2021-10-25 07:57:30 +02:00
Nextcloud bot b423b42b89 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-25 03:47:09 +00:00
Chris Narkiewicz 57b2a8ef1a Removed deprecated FileDataStorageManager constructors entirely
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-25 03:41:59 +01:00
Chris Narkiewicz 8cf4ed7b71 Suppress walled network check when on metered wifi
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-25 03:34:56 +01:00
Chris Narkiewicz 8e5c8dd840 Fix NPE during contacts backup
Fixes #9080

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-25 02:00:17 +01:00
Chris Narkiewicz 53eea6d08e Deprecate FileDataStorageManager constructors depending on legacy Account
This commit deprecates constructors using legacy platform Account type
and wraps them using new API accepting User model.

All calls to FileDataStorageManager constructors that were trivially
portable without are updated as well. Places where passing new type
requires more risku work were left out for now.

FileDataStorageManager still uses Account internally - modifying this
requires getting rid of all legacy constructors first.

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-25 00:30:11 +01:00
Chris Narkiewicz b3e280bce5 Fix NPE in ConflictsResolveActivity
Fixes #9133

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-24 23:23:17 +01:00
Nextcloud bot ea92f8432c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-24 03:49:18 +00:00
Andy Scherzinger fdb231e1ea Merge pull request #9131 from nextcloud/fix-npe-when-uploading-files
Fix NPE crash when uploading files
2021-10-23 19:02:59 +02:00
Chris Narkiewicz 130c05e4ca Fix NPE crash when uploading files
Fixes #9099
2021-10-23 14:26:29 +01:00
Nextcloud bot 7c03e0f453 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-23 03:53:17 +00:00
Lisa Kirchhofer 0051189017 Bugfix: Issue #9060 (Status bar with sorting/view mode disappears after playing video)
Signed-off-by: Lisa Kirchhofer <[email protected]>
2021-10-22 16:12:09 +02:00
Harald Ecker b5825d73c4 remove icon mapping
Signed-off-by: Harald Ecker <[email protected]>
2021-10-22 14:48:07 +02:00
Harald Ecker 1217466fa5 add rfc822 to mimetypeutil
Signed-off-by: Harald Ecker <[email protected]>
2021-10-22 14:48:07 +02:00
Tobias Kaminsky c267d0bd01 Merge pull request #9123 from Thorgrimson/master
fix image dimensions
2021-10-22 14:08:53 +02:00
Tobias Kaminsky 8204398825 Merge pull request #9106 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.21
Bump byteBuddyVersion from 1.11.20 to 1.11.21
2021-10-22 14:02:19 +02:00
Tobias Kaminsky ca49423faf Merge pull request #9114 from nextcloud/strugee/cleanup-notification-channels
Clean up notification channels
2021-10-22 08:45:00 +02:00
Tobias Kaminsky 34906df398 Merge pull request #9072 from nextcloud/deprecate-file-storage-manager-constructors-using-platform-account
Deprecate FileDataStorageManager constructors depending on legacy Account
2021-10-22 08:38:24 +02:00
Tobias Kaminsky f55c7c8785 Merge pull request #9093 from nextcloud/more-hooks-improvements
pre-push hook: Exclude merges from signoff check
2021-10-22 08:37:19 +02:00
Nextcloud bot 48668c96d0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-22 03:49:36 +00:00
AJ Jordan bbf7441715 Delete unused "File observer" notification channel
Signed-off-by: AJ Jordan <[email protected]>
2021-10-21 12:02:57 -07:00
AJ Jordan ebd5b6f1d6 Fix notification channel strings not being updated
NotificationManager#createNotificationChannel() is safe to run again
even if the notification channel has already been created - in this case
it simply updates the name and description, which is what we want.

Signed-off-by: AJ Jordan <[email protected]>
2021-10-21 12:02:57 -07:00
AJ Jordan beef71974c Make notification channel names less technical
Signed-off-by: AJ Jordan <[email protected]>
2021-10-21 12:02:57 -07:00
Thorgrimsson 15bc3966b6 fix image dimensions
Signed-off-by: Thorgrimsson <[email protected]>
2021-10-21 16:06:49 +02:00
Tobias Kaminsky 2ceb34ae97 Merge pull request #9087 from nextcloud/circularSearchBar
Make search bar fully circular rounded
2021-10-21 12:23:53 +02:00
Tobias Kaminsky 150cb04483 Merge pull request #9048 from nextcloud/codecov-uploader-update
codecov: Use new codecov uploader instead of the deprecated bash uploader
2021-10-21 11:46:22 +02:00
Tobias Kaminsky 8f7bfd9bf2 Merge pull request #9118 from nextcloud/fastlane-rename-fix
fastlane: Don't use rename command
2021-10-21 11:43:37 +02:00
Tobias Kaminsky 33c6aab782 Merge pull request #9103 from nextcloud/dependabot/gradle/tools.fastlane-screengrab-2.1.1
Bump screengrab from 2.1.0 to 2.1.1
2021-10-21 11:40:46 +02:00
Álvaro Brey Vilas 2a7ebceaba fastlane: makeReleases: call androidVersion directly instead of getting from parameter
This makes it possible to call makeReleases directly

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-21 11:33:28 +02:00
Tobias Kaminsky 9b18d0d6cb Merge pull request #9098 from nextcloud/drone-commit-signoff
scripts: Have Drone properly signoff commits so that it doesn't break DCO
2021-10-21 10:59:23 +02:00
Andy Scherzinger fff06f7683 Merge pull request #9119 from nextcloud/changelog-master-stable-3.17.1
Add changelog for 3.17.1
2021-10-21 09:20:32 +02:00
Andy Scherzinger aae00c3432 polish changelog for 3.17.1 and older
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-21 09:17:49 +02:00
Álvaro Brey Vilas d83a22fea6 Add changelog for 3.17.1
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-20 14:53:50 +02:00
Álvaro Brey Vilas 93207426b1 fastlane: Don't use rename command
It's different between linux versions

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-20 14:03:03 +02:00
Álvaro Brey Vilas a52c9e0761 codecov: Use new codecov uploader instead of the deprecated bash uploader
Ref: https://docs.codecov.com/docs/about-the-codecov-bash-uploader

Old bash uploader has been deprecated and will start failing on September 2021,
with it completely failing from February 2022.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-20 11:43:37 +02:00
Álvaro Brey 9198dfe331 Merge pull request #9113 from nextcloud/strugee-patch-1
Fix typo in CONTRIBUTING.md
2021-10-20 11:18:13 +02:00
Tobias Kaminsky aa47197109 Merge pull request from GHSA-wff9-w6wc-h67g
Fix GHSL-2021-1008 by using permission instead of readPermission
2021-10-20 10:00:03 +02:00
tobiasKaminsky b6ecf515b3 Fix GHSL-2021-1008 by using permission instead of readPermission
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-20 09:56:18 +02:00
AJ Jordan 9e0d40b789 Fix typo in CONTRIBUTING.md
Signed-off-by: AJ Jordan <[email protected]>
2021-10-20 00:51:53 -07:00
Nextcloud bot 8857ea7ddf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-20 04:10:43 +00:00
dependabot[bot] baf454538c Bump byteBuddyVersion from 1.11.20 to 1.11.21
Bumps `byteBuddyVersion` from 1.11.20 to 1.11.21.

Updates `byte-buddy` from 1.11.20 to 1.11.21
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.20...byte-buddy-1.11.21)

Updates `byte-buddy-android` from 1.11.20 to 1.11.21
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.20...byte-buddy-1.11.21)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-19 01:06:13 +00:00
Álvaro Brey 03b34547f2 Merge pull request #9104 from nextcloud/exportFalse
Explicitly specify exported="true/false" for all
2021-10-18 13:17:43 +02:00
drone 0cbe866a3a Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-10-18 09:55:18 +00:00
tobiasKaminsky 6e1dbaad33 Explicitly specify exported="true/false" for all
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-18 11:48:39 +02:00
Nextcloud bot c98003e21f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-18 03:51:24 +00:00
dependabot[bot] 33d50c7045 Bump screengrab from 2.1.0 to 2.1.1
Bumps [screengrab](https://github.com/fastlane/fastlane) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/fastlane/fastlane/releases)
- [Commits](https://github.com/fastlane/fastlane/compare/2.1.0...2.1.1)

---
updated-dependencies:
- dependency-name: tools.fastlane:screengrab
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-18 01:20:19 +00:00
Álvaro Brey Vilas a90487a261 scripts: Have Drone properly signoff commits so that it doesn't break DCO
Use git env variables to force a valid email

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-15 10:42:12 +02:00
Andy Scherzinger b96b2f2ff8 align search bar text with items
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-14 16:06:25 +02:00
Andy Scherzinger dd00998c1a make search bar more circular
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-14 16:06:21 +02:00
Álvaro Brey db46d46ab7 Merge pull request #9086 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.0.3
Bump gradle from 7.0.2 to 7.0.3
2021-10-14 16:04:23 +02:00
drone 7645b18c1e Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-10-14 12:46:12 +00:00
dependabot[bot] 7a940f5c0b Bump gradle from 7.0.2 to 7.0.3
Bumps gradle from 7.0.2 to 7.0.3.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-14 12:46:12 +00:00
Álvaro Brey 2be39f5586 Merge pull request #9085 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.20
Bump byteBuddyVersion from 1.11.19 to 1.11.20
2021-10-14 14:36:07 +02:00
Álvaro Brey Vilas 267c4c2b72 pre-push hook: Exclude merges from signoff check
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-13 09:55:07 +02:00
dependabot[bot] fa3380c464 Bump byteBuddyVersion from 1.11.19 to 1.11.20
Bumps `byteBuddyVersion` from 1.11.19 to 1.11.20.

Updates `byte-buddy` from 1.11.19 to 1.11.20
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.19...byte-buddy-1.11.20)

Updates `byte-buddy-android` from 1.11.19 to 1.11.20
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.19...byte-buddy-1.11.20)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-12 01:04:27 +00:00
Nextcloud bot 6b855fb2f9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-10 03:51:38 +00:00
Álvaro Brey Vilas e579dabe7d Revert "AndroidManifest: don't request WRITE_EXTERNAL_STORAGE above api 29"
Wrong branch!

This reverts commit 91cf4ef271.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-08 15:43:27 +02:00
Álvaro Brey Vilas 91cf4ef271 AndroidManifest: don't request WRITE_EXTERNAL_STORAGE above api 29
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-08 15:29:53 +02:00
Álvaro Brey 75aab23f49 Merge pull request #9067 from nextcloud/fix-crash-when-searching-text-in-preview
Check if UI bindings are valid when selecting preview text
2021-10-08 08:54:14 +02:00
Chris Narkiewicz ee4808213b Deprecate FileDataStorageManager constructors depending on legacy Account
This commit deprecates constructors using legacy platform Account type
and wraps them using new API accepting User model.

All calls to FileDataStorageManager constructors that were trivially
portable without are updated as well. Places where passing new type
requires more risku work were left out for now.

FileDataStorageManager still uses Account internally - modifying this
requires getting rid of all legacy constructors first.

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-08 00:04:54 +01:00
Chris Narkiewicz 0af07dd015 Check if UI bindings are valid when selecting preview text
Moved text marking logic into a separate method and extracted
preconditions out from the ifology ladder.

Fixes #9018

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-07 21:27:34 +01:00
Álvaro Brey 302c927bec Merge pull request #8727 from nextcloud/migrate-synchronize-folder-operation-to-new-user-model
Migrate SynchronizeFolderOperation to new User model
2021-10-07 16:43:48 +02:00
Álvaro Brey c71f7d235e Merge pull request #9064 from nextcloud/chore/more-test-retry
LoginIT: Add retry test rule
2021-10-07 09:50:31 +02:00
Álvaro Brey f7216cfbca Merge pull request #9068 from nextcloud/fix-npe-in-file-detail-fragment
Do not mark comments as read when FileDetailActivitiesFragment is detached
2021-10-07 09:20:10 +02:00
Álvaro Brey Vilas 81b133adc7 LoginIT: Add retry test rule
Flaaaaaaky.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-07 07:15:31 +00:00
Álvaro Brey 65f6c194ce Merge pull request #9065 from nextcloud/suppress-fullscreen-option-for-audio-preview
Suppress fullscreen option when previewing audio files
2021-10-07 08:40:39 +02:00
Nextcloud bot 80f4bf8be8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-07 03:52:52 +00:00
Chris Narkiewicz e1ce779f04 Do not mark comments as read when FileDetailActivitiesFragment is detached
Fixes #8994

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-06 23:02:55 +01:00
Chris Narkiewicz 3db40786e0 Migrate SynchronizeFolderOperation to new User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-06 22:17:45 +01:00
Chris Narkiewicz 3250c5c3fe Suppress fullscreen option when previewing audio files
Fixes #8903

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-06 22:14:26 +01:00
Andy Scherzinger 1100c8f2a2 Merge pull request #9009 from nextcloud/AS_GradleAGP702
AS Arctic Fox | 2020.3.1 Update to Gradle/AGP 7.0.2
2021-10-06 21:34:51 +02:00
Álvaro Brey Vilas 6086836f63 Force JaCoCo version 0.8.7
Fixes crashes with Kotlin 1.5 + Android Gradle Plugin 7.x

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-06 12:35:51 +02:00
Álvaro Brey 82f891b088 Merge pull request #9063 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.19
Bump byteBuddyVersion from 1.11.18 to 1.11.19
2021-10-06 11:02:19 +02:00
Andy ScherzingerandtobiasKaminsky 6cf37e32d9 add missing changes from #8781
Signed-off-by: Andy Scherzinger <[email protected]>
Co-Authored-by: tobiasKaminsky <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger 9c432b5655 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger d42b86c0eb spotbugs: remove primitive boxing
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger c2a6e587e8 spotbugs: remove redundant nullcheck of doubleCheck
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger ec59542f5a bump score due to AGP upgrade
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger 2fc814bf39 lint: Using android:onClick on older version of the platform is broken
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger 9e5fbf9397 use latest Android docker image
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger 1a7d8a7491 Update GH actions to Java 11
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger 504366d7db AS Arctic Fox | 2020.3.1 Update to Gradle/AGP 7.0.2
Removed obsolete DSL element 'dexOptions'

It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.

Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
dependabot[bot] b5056295b5 Bump byteBuddyVersion from 1.11.18 to 1.11.19
Bumps `byteBuddyVersion` from 1.11.18 to 1.11.19.

Updates `byte-buddy` from 1.11.18 to 1.11.19
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.18...byte-buddy-1.11.19)

Updates `byte-buddy-android` from 1.11.18 to 1.11.19
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.18...byte-buddy-1.11.19)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-06 01:13:03 +00:00
Álvaro Brey 87f7015ef7 Merge pull request #8991 from nextcloud/dependabot/gradle/kotlin_version-1.5.31
Bump kotlin_version from 1.4.32 to 1.5.31
2021-10-05 10:21:30 +02:00
Álvaro Brey Vilas 4f91bcf6d0 build: Use jacoco 0.8.7 for compatibility with Kotlin 1.5
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-05 07:18:24 +00:00
dependabot[bot] 17555c99c5 Bump kotlin_version from 1.4.32 to 1.5.31
Bumps `kotlin_version` from 1.4.32 to 1.5.31.

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-05 07:18:24 +00:00
Nextcloud bot 1b0f9bbbf0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-05 03:50:29 +00:00
Álvaro Brey 011e3e1990 Merge pull request #9054 from nextcloud/dependabot/gradle/daggerVersion-2.39.1
Bump daggerVersion from 2.39 to 2.39.1
2021-10-04 09:24:55 +02:00
dependabot[bot] 97f50874d4 Bump daggerVersion from 2.39 to 2.39.1
Bumps `daggerVersion` from 2.39 to 2.39.1.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-04 01:33:06 +00:00
Álvaro Brey 75a964069f Merge pull request #9038 from nextcloud/dependabot/gradle/daggerVersion-2.39
Bump daggerVersion from 2.38.1 to 2.39
2021-10-01 11:50:17 +02:00
Álvaro Brey bb8fbecd86 Merge pull request #9045 from nextcloud/codecov-no-ci
Codecov: don't require CI to pass
2021-10-01 11:30:37 +02:00
dependabot[bot] 437ad2ae40 Bump daggerVersion from 2.38.1 to 2.39
Bumps `daggerVersion` from 2.38.1 to 2.39.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-30 12:54:32 +00:00
Álvaro Brey Vilas 45e6388e0d Codecov: don't require CI to pass
We have 3 independent builds in drone and we still want to see codecov if one of the other fails

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-30 12:54:00 +02:00
Álvaro Brey d2859fcc2d Merge pull request #9039 from nextcloud/fixHasFixedSize
Remove setHasFixedSize as it is not needed
2021-09-30 09:20:30 +02:00
tobiasKaminsky 68caad4b39 Remove setHasFixedSize as it is not needed
Signed-off-by: tobiasKaminsky <[email protected]>
2021-09-30 07:07:21 +02:00
Álvaro Brey 75924576d6 Merge pull request #9033 from nextcloud/testAgainstStable22
Test against stable 22
2021-09-29 17:29:02 +02:00
tobiasKaminsky dedbc5785b Test against stable 22
Signed-off-by: tobiasKaminsky <[email protected]>
2021-09-29 12:54:36 +00:00
Álvaro Brey 7fd8724473 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Álvaro Brey <[email protected]>
2021-09-29 12:28:59 +00:00
Álvaro Brey 79864037e4 Merge pull request #8997 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.18
Bump byteBuddyVersion from 1.11.15 to 1.11.18
2021-09-29 13:25:01 +02:00
Álvaro Brey 132431b6ce Merge pull request #8998 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.15.1
Bump exoplayer from 2.14.2 to 2.15.1
2021-09-29 13:24:08 +02:00
Álvaro Brey a8ccc283f2 Merge pull request #9008 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.1
Bump constraintlayout from 2.1.0 to 2.1.1
2021-09-29 13:23:39 +02:00
dependabot[bot] ed9e427ed0 Bump exoplayer from 2.14.2 to 2.15.1
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.14.2 to 2.15.1.
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.14.2...r2.15.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-29 11:08:24 +00:00
Álvaro Brey 120f940a7a Merge pull request #9021 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.8.0
Bump emoji-google from 0.7.0 to 0.8.0
2021-09-29 13:02:44 +02:00
dependabot[bot] e516bda462 Bump constraintlayout from 2.1.0 to 2.1.1
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.0 to 2.1.1.
- [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] <[email protected]>
2021-09-29 11:02:05 +00:00
Álvaro Brey 4ec71da7a1 Merge pull request #9032 from nextcloud/reAddRetryTestRule
Re-add retryTestRule
2021-09-29 12:52:51 +02:00
Tobias Kaminsky ecbb64bbba Merge pull request #8831 from hrk/spotbugs-boxed-primitive-for-compare
Fix: boxed primitive for compare
2021-09-29 12:18:03 +02:00
Álvaro Brey Vilas c1092d15c4 EndToEndRandomIT: also add RetryTestRule
Flaaaky

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-29 09:27:08 +00:00
tobiasKaminsky aee16ec64a Re-add retryTestRule
Signed-off-by: tobiasKaminsky <[email protected]>
2021-09-29 09:27:08 +00:00
Tobias Kaminsky 770369477a Merge pull request #9027 from nextcloud/fix-delete-old-comments-again
scripts/drone: Use deleteOldComments everywhere
2021-09-29 11:25:20 +02:00
Álvaro Brey Vilas 3010bb2977 scripts/drone: Use deleteOldComments everywhere
This removes duplication between deleteOldComments and deleteOutdatedComments.

Additionally, deleteOutdatedComments was broken anyway, and IT/drone test comments were not being deleted.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-29 08:30:58 +00:00
Álvaro Brey a4f3268074 Merge pull request #8703 from nextcloud/screenshot
Enhance screenshot handling
2021-09-29 10:29:23 +02:00
tobiasKaminsky a57f8eb989 Enhance screenshot handling
Signed-off-by: tobiasKaminsky <[email protected]>
2021-09-29 09:16:10 +02:00
Nextcloud bot 545197d68c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-28 03:57:17 +00:00
dependabot[bot] 7ab9e73e13 Bump emoji-google from 0.7.0 to 0.8.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.7.0 to 0.8.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.7.0...0.8.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-28 01:05:10 +00:00
Andy Scherzinger cfae25c137 Merge pull request #8818 from binsky08/add-sso-patch-method
add custom PatchMethod class to use http PATCH requests with the Nextcloud SSO api
2021-09-27 12:09:28 +02:00
Tobias Kaminsky 7f9bc4b948 Merge pull request #9014 from nextcloud/hooks-improvement
Minor improvements to git hooks
2021-09-27 12:01:03 +02:00
Álvaro Brey Vilas a38edb92dd Improvements to git hooks
- pre-commit: Suppress all output and show reduced results.
   This is more concise and avoids unreadable errors when committing from an IDE
 - pre-push: Format with shell formatter, fix typo

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-27 11:42:20 +02:00
Nextcloud bot c5a06b7225 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-26 03:58:45 +00:00
Andy Scherzinger 611a3a221b Merge pull request #9002 from nextcloud/git-hooks
Add QOL git hooks and gradle task to install them
2021-09-25 17:31:15 +02:00
Nextcloud bot 5b44ea2408 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-25 03:57:30 +00:00
Álvaro Brey Vilas 9a1dfc1627 build.gradle: installGitHooks: add description and group
So it shows up properly in gradle tasks

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-24 15:13:26 +02:00
Álvaro Brey Vilas 556982ad8b Add simple git hooks and gradle task to install them
- Pre-commit hook checks ktlint and detekt
 - Pre-push hook checks signoff

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-24 14:07:11 +02:00
Nextcloud bot 27dd912bff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-23 04:16:07 +00:00
dependabot[bot] 8f4ec8da18 Bump byteBuddyVersion from 1.11.15 to 1.11.18
Bumps `byteBuddyVersion` from 1.11.15 to 1.11.18.

Updates `byte-buddy` from 1.11.15 to 1.11.18
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.15...byte-buddy-1.11.18)

Updates `byte-buddy-android` from 1.11.15 to 1.11.18
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.15...byte-buddy-1.11.18)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-23 01:04:57 +00:00
Nextcloud bot 7a003bcdab [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-22 03:59:48 +00:00
Timo Triebensky 5e6e3d4800 Merge branch 'master' into add-sso-patch-method 2021-09-21 11:39:25 +02:00
Nextcloud bot ede8995e3b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-20 03:56:02 +00:00
Nextcloud bot aa415e6b55 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-19 03:56:30 +00:00
Nextcloud bot f1cb45ab30 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-18 04:01:05 +00:00
Nextcloud bot 3e6c9627d1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-17 03:55:56 +00:00
Álvaro Brey d8fe4cc0a0 Merge pull request #8967 from nextcloud/fix-delete-snapshot-comments
Fix old screenshot test comments deletion
2021-09-15 15:02:47 +02:00
Nextcloud bot 2866bc3898 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-15 03:58:40 +00:00
Álvaro Brey Vilas ab692d92a7 scripts: Fix deleteOldComments.sh
* Get comments from github-actions, not only our android bot
 * Fix count (was broken for 0 comments) and only try to delete if count > 0

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-14 10:49:07 +02:00
Álvaro Brey Vilas 6c176c4802 deleteOldComments: fix github token var name
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-14 07:50:24 +00:00
Álvaro Brey Vilas a621e29f18 Revert "scripts: Remove deleteOldComments.sh"
This reverts commit 131373f066.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-14 07:50:24 +00:00
Nextcloud bot 70daf0b327 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-14 04:03:14 +00:00
Álvaro Brey 9025f6c3ac Merge pull request #8973 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.5
Bump spotbugs-gradle-plugin from 4.7.4 to 4.7.5
2021-09-13 15:09:19 +02:00
Álvaro Brey c94311a069 Merge pull request #8972 from nextcloud/dependabot/gradle/com.googlecode.ez-vcard-ez-vcard-0.11.3
Bump ez-vcard from 0.11.2 to 0.11.3
2021-09-13 15:08:51 +02:00
drone 8a59cd9c87 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-09-13 09:51:17 +00:00
drone e78893b1f8 Merge commit '7398e64eec72f45ba941f50cbcba67a80d77bce5' 2021-09-13 09:32:18 +00:00
Nextcloud bot 00fa174b38 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-13 03:58:38 +00:00
dependabot[bot] 7398e64eec Bump spotbugs-gradle-plugin from 4.7.4 to 4.7.5
Bumps spotbugs-gradle-plugin from 4.7.4 to 4.7.5.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-13 01:16:53 +00:00
dependabot[bot] 4d746a0176 Bump ez-vcard from 0.11.2 to 0.11.3
Bumps [ez-vcard](https://github.com/mangstadt/ez-vcard) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/mangstadt/ez-vcard/releases)
- [Commits](https://github.com/mangstadt/ez-vcard/compare/0.11.2...0.11.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-13 01:16:32 +00:00
Nextcloud bot 81799410be [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-12 04:00:37 +00:00
Nextcloud bot a057dafab3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-11 03:57:15 +00:00
Andy Scherzinger bd67dd238e Merge pull request #8965 from nextcloud/Valdnet-patch-1
l10n: Spelling unification
2021-09-10 15:07:40 +02:00
Valdnet eaf9f0ca80 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <[email protected]>
2021-09-10 12:11:47 +02:00
Nextcloud bot 77d0b06105 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-10 04:08:54 +00:00
Andy Scherzinger d98427fdc1 Merge pull request #8955 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.4
Bump spotbugs-gradle-plugin from 4.7.3 to 4.7.4
2021-09-09 16:02:21 +02:00
dependabot[bot] e5d9b75b4d Bump spotbugs-gradle-plugin from 4.7.3 to 4.7.4
Bumps spotbugs-gradle-plugin from 4.7.3 to 4.7.4.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-09 12:00:21 +00:00
Andy Scherzinger 865a59336b Merge pull request #8656 from nextcloud/remove-account-from-thumbnail-task
Migrate ThumbnailCacheManager to User model
2021-09-09 13:58:59 +02:00
Nextcloud bot 6517be09df [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-09 03:57:32 +00:00
drone 50e0cef895 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-09-08 10:39:22 +00:00
Chris Narkiewicz f134cf4cd3 Migrate ThumbnailCacheManager to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-09-08 10:39:22 +00:00
Andy Scherzinger bf3a6fb0c3 Merge pull request #8954 from ANUKULJHA1506/master
Update README.md
2021-09-08 12:18:31 +02:00
Tobias Kaminsky 7baa1aa697 Merge pull request #8936 from nextcloud/minor-script-improvements
Minor script improvements
2021-09-08 11:26:17 +02:00
Nextcloud bot c6610937f7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-08 03:54:26 +00:00
ANUKULJHA1506 336c5c84c4 Update README.md 2021-09-07 13:27:47 +05:30
Nextcloud bot 7ad1cce4df [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-07 03:58:10 +00:00
Andy Scherzinger 0d90e0a94b Merge pull request #8925 from t-m-w/master
Fix opening downloaded files from Documents Provider when offline (#5265)
2021-09-06 16:23:35 +02:00
t-m-w 3fc5be9b07 Fix opening downloaded files when offline (#5265)
Signed-off-by: t-m-w <[email protected]>
2021-09-06 13:26:04 +00:00
Álvaro Brey 85a43e838e Merge pull request #8900 from nextcloud/dependabot/gradle/mockitoVersion-3.12.4
Bump mockitoVersion from 3.11.2 to 3.12.4
2021-09-06 14:12:42 +02:00
dependabot[bot] f7e629da86 Bump mockitoVersion from 3.11.2 to 3.12.4
Bumps `mockitoVersion` from 3.11.2 to 3.12.4.

Updates `mockito-core` from 3.11.2 to 3.12.4
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.2...v3.12.4)

Updates `mockito-android` from 3.11.2 to 3.12.4
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.2...v3.12.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-06 11:22:15 +00:00
Álvaro Brey Vilas 131373f066 scripts: Remove deleteOldComments.sh
Only used by screenShotTest.yml, but uploadReports.sh already
has a function for the same purpose.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-06 12:08:27 +02:00
Álvaro Brey Vilas f3f14bfcc4 scripts:uploadReport: Fix git token usage
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-06 11:29:46 +02:00
Tobias Kaminsky 33fa8283cf Merge pull request #8933 from nextcloud/test/revert-cotech-hwsecurity
Revert "Bump hwsecurity-fido from 4.1.0 to 4.4.0"
2021-09-06 10:56:40 +02:00
Nextcloud bot 7e1cb0f0df [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-06 03:57:12 +00:00
Andy Scherzinger 6343afb38d Merge pull request #8939 from nextcloud/Valdnet-patch-1
Change to a capital letter
2021-09-05 18:50:18 +02:00
Valdnet 6a65298699 Change to a capital letter
Signed-off-by: Valdnet <[email protected]>
2021-09-05 13:10:18 +02:00
Nextcloud bot 194ca7885c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-05 03:56:23 +00:00
Nextcloud bot fb3957423f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-04 03:54:41 +00:00
Álvaro Brey Vilas 47689c938c scripts:uploadReport: Fix github authorization
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-03 13:09:43 +02:00
Álvaro Brey Vilas 4121cd9e50 androidScreenshotTest: Use full path to emulator
In some systems (like mine) emulator will fail if not called by full path

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-03 12:37:55 +02:00
Álvaro Brey Vilas 6ab58b7b1a scripts: androidScreenshotTest: Fail on first error
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-03 12:29:58 +02:00
Álvaro Brey aa897677ac Merge pull request #8934 from nextcloud/shotWorksAgain
Replace Facebook lib to get screenshots again
2021-09-03 11:55:29 +02:00
Tobias KaminskyandÁlvaro Brey Vilas f6fbfbd4c5 Notification buttons enhancement (#8932)
* Show buttons:
two or primary and more option menu

Signed-off-by: tobiasKaminsky <[email protected]>

* NotificationsActivityIT: fix linting issues

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

* Fix kotlin syntax

Signed-off-by: tobiasKaminsky <[email protected]>

Co-authored-by: Álvaro Brey Vilas <[email protected]>
2021-09-03 11:36:14 +02:00
Álvaro Brey Vilas 9f5db12d13 Downgrade fido version to 4.1.0
This prevents crashes described in https://github.com/nextcloud/android/issues/8585

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-03 11:23:47 +02:00
tobiasKaminsky a35a6a3417 Revert Shot to get screenshots again
Signed-off-by: tobiasKaminsky <[email protected]>
2021-09-03 07:48:47 +02:00
Tobias Kaminsky fa30776100 Merge pull request #8931 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.15
Bump byteBuddyVersion from 1.11.12 to 1.11.15
2021-09-03 07:23:05 +02:00
dependabot[bot] 6d39f4963c Bump byteBuddyVersion from 1.11.12 to 1.11.15
Bumps `byteBuddyVersion` from 1.11.12 to 1.11.15.

Updates `byte-buddy` from 1.11.12 to 1.11.15
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.12...byte-buddy-1.11.15)

Updates `byte-buddy-android` from 1.11.12 to 1.11.15
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.12...byte-buddy-1.11.15)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-02 12:07:06 +00:00
Tobias Kaminsky 0793f23c0d Merge pull request #8928 from nextcloud/exclude-xpp3
build: Exclude xpp3 dependency from library
2021-09-02 14:05:30 +02:00
Álvaro Brey Vilas ca1d671707 build: Exclude xpp3 dependency from library
Although this dep is excluded in the library itself, Gradle still
includes it because it doesn't respect exclusions for transitive dependencies.
(see https://github.com/gradle/gradle/issues/1473)

This would be okay if it wasn't for the fact that xpp3 forces an old Junit version
that breaks the integration tests.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-02 11:18:07 +02:00
Nextcloud bot 03a1c31a86 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-02 03:55:14 +00:00
Nextcloud bot 052df0f42c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-01 03:54:48 +00:00
Andy Scherzinger 7b1efc7505 Merge pull request #8917 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.18.1
Bump detekt-gradle-plugin from 1.18.0 to 1.18.1
2021-08-31 10:40:44 +02:00
dependabot[bot] 63284e3aa5 Bump detekt-gradle-plugin from 1.18.0 to 1.18.1
Bumps detekt-gradle-plugin from 1.18.0 to 1.18.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-31 01:05:10 +00:00
Tom Bowles 721efe3445 Handle 'Stream with...' option in PreviewMediaFragment 2021-08-31 00:23:46 +01:00
Tobias Kaminsky 7aeb5e7a9e Merge pull request #8886 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.8.8
Bump gson from 2.8.7 to 2.8.8
2021-08-30 11:53:04 +02:00
Nextcloud bot 8591733fa6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-27 03:56:32 +00:00
Nextcloud bot 7039208461 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-25 03:54:06 +00:00
Nextcloud bot 5eba647fb5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-24 03:55:02 +00:00
Nextcloud bot 337ca8393b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-23 03:52:02 +00:00
dependabot[bot] 92d3b9c55b Bump gson from 2.8.7 to 2.8.8
Bumps [gson](https://github.com/google/gson) from 2.8.7 to 2.8.8.
- [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.8.7...gson-parent-2.8.8)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-23 01:12:44 +00:00
Nextcloud bot 95e4e8a7a0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-21 03:57:24 +00:00
Nextcloud bot 6b902c68bf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-20 03:55:28 +00:00
Andy Scherzinger 4c44358c0f Merge pull request #8868 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.3
Bump spotbugs-gradle-plugin from 4.7.2 to 4.7.3
2021-08-19 23:00:26 +02:00
Andy Scherzinger a1700664d2 bump due to spotbugs update
Signed-off-by: Andy Scherzinger <[email protected]>
2021-08-19 21:53:15 +02:00
dependabot[bot] 9c468b3b9f Bump spotbugs-gradle-plugin from 4.7.2 to 4.7.3
Bumps spotbugs-gradle-plugin from 4.7.2 to 4.7.3.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-19 15:41:30 +00:00
Andy Scherzinger d0266cf6e0 Merge pull request #8871 from nextcloud/changelog-master-stable-3.17.0
Add changelog for 3.17.0
2021-08-19 17:05:45 +02:00
tobiasKaminsky 585a850a54 Add changelog for 3.17.0
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-19 11:27:29 +02:00
Tobias Kaminsky be4efff7b6 Merge pull request #8861 from alvarobrey/skip-QA-for-forks
CI:skip QA build if keystore pass is not available
2021-08-19 11:06:50 +02:00
Nextcloud bot 9190c3afba [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-19 08:42:27 +00:00
Nextcloud bot 5589d5eaa1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-19 08:39:27 +00:00
Nextcloud bot b19ee307c9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-19 07:06:30 +00:00
Nextcloud bot dc27330264 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-19 06:34:07 +00:00
Nextcloud bot f9813bcdcb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-18 03:55:17 +00:00
Andy Scherzinger c006691de8 Merge pull request #8712 from nextcloud/addShareTest
Add shares to folder and check them
2021-08-17 16:08:00 +02:00
Nextcloud bot 3e062a7f8c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-16 05:29:21 +00:00
Álvaro Brey 6863a8a637 CI:skip QA build if keystore pass is not available
This is just another step towards green checks on PRs :)

There is no way to skip the whole workflow depending on whether it is
a PR from a fork or not. The only workaround is to check whether secrets are present or not.

So, I've added a step to check if KS_PASS is empty, and set an output depending on that.
If it is empty, we just skip the rest of the steps.

To avoid the `if` repetition, a separate job can be used and then the whole `qa` job can
depend on its outputs. But that would add another "check" in the github UI.

Inspired by https://github.com/nextcloud/android/pull/8791#issuecomment-890524333

Signed-off-by: Álvaro Brey <[email protected]>
2021-08-16 00:42:30 +02:00
Andy Scherzinger b669fa14ad Merge pull request #8854 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.18.0
Bump detekt-gradle-plugin from 1.17.1 to 1.18.0
2021-08-13 18:13:05 +02:00
dependabot[bot] c2182deddf Bump detekt-gradle-plugin from 1.17.1 to 1.18.0
Bumps detekt-gradle-plugin from 1.17.1 to 1.18.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] <[email protected]>
2021-08-13 01:07:44 +00:00
binsky f25d85a33e increase SpotBugs to 464 to accept the new PatchMethod class for the SSO api
Signed-off-by: binsky <[email protected]>
2021-08-12 15:50:47 +02:00
Tobias Kaminsky 17d2cec881 Merge pull request #8532 from nextcloud/removed-account-from-text-preview-fragments
Removed Account dependency from preview fragments
2021-08-11 11:44:26 +02:00
Tobias Kaminsky 4bd14b34b0 Merge pull request #8577 from nextcloud/tokenRemoval
Delete app password on account removal
2021-08-11 11:44:15 +02:00
tobiasKaminsky ee14d7e135 Add shares to folder and check them
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-11 11:43:20 +02:00
Tobias Kaminsky 8090cd0e13 Merge pull request #8833 from nextcloud/fixNPE
catch AccountNotFoundException from createNextcloudClient
2021-08-11 09:10:10 +02:00
Nextcloud bot 44972891c9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-10 04:11:41 +00:00
tobiasKaminsky 00c14377f7 catch AccountNotFoundException from createNextcloudClient
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-09 08:50:01 +02:00
Nextcloud bot 31d515c66c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-09 03:55:52 +00:00
Luca Santarelli f4597d879a Fix: boxed primitive for compare
[Broken Window Theory] As per current SpotBugs report, replace all usages
of boxed Long.compareTo(Long) with Long.compare(long, long)
2021-08-08 23:24:59 +02:00
Andy Scherzinger b23f7b9750 Merge pull request #8822 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.42.1
Bump ktlint from 0.42.0 to 0.42.1
2021-08-08 21:53:05 +02:00
Nextcloud bot ed87079885 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-08 03:51:01 +00:00
binsky 238c7d610d add license header, clear comments in PatchMethod class
Signed-off-by: binsky <[email protected]>
2021-08-06 22:06:16 +02:00
dependabot[bot] 3f176674b2 Bump ktlint from 0.42.0 to 0.42.1
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.42.0 to 0.42.1.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.42.0...0.42.1)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 19:24:18 +00:00
Andy Scherzinger cfa12f3c59 Merge pull request #8638 from nextcloud/dependabot/gradle/tools.fastlane-screengrab-2.1.0
Bump screengrab from 2.0.0 to 2.1.0
2021-08-06 21:23:10 +02:00
Andy Scherzinger d46dfa8ded ktlint: reformat kotlin
Signed-off-by: Andy Scherzinger <[email protected]>
2021-08-06 16:05:50 +02:00
dependabot[bot] c521a875ae Bump screengrab from 2.0.0 to 2.1.0
Bumps [screengrab](https://github.com/fastlane/fastlane) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/fastlane/fastlane/releases)
- [Commits](https://github.com/fastlane/fastlane/compare/2.0.0...2.1.0)

---
updated-dependencies:
- dependency-name: tools.fastlane:screengrab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 12:27:20 +00:00
Andy Scherzinger e4d06418ce Merge pull request #8641 from nextcloud/bumpDroneServer
Use NC 21 for drone
2021-08-06 14:26:35 +02:00
Tobias Kaminsky 27b808d8cd Merge pull request #8742 from nextcloud/dependabot/gradle/mockitoVersion-3.11.2
Bump mockitoVersion from 3.11.0 to 3.11.2
2021-08-06 11:38:49 +02:00
Tobias Kaminsky eceb3a13d4 Merge pull request #8365 from af7567/notifications
Use unique requestcode for notification PendingIntents
2021-08-06 11:25:49 +02:00
tobiasKaminsky cd10e2db15 Delete app password on account removal
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-06 11:21:37 +02:00
Chris Narkiewicz 0e71f05931 Removed Account dependency from preview fragments
Remove Account dependency in text preview fragment.
Remove Account dependency from outdated JavaDoc in
image and video preview fragments.

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-08-06 08:26:58 +00:00
Tobias Kaminsky 4a5fc357c8 Merge pull request #8737 from hrk/patch-1
Avoid redundant call to getConnectivity()
2021-08-06 10:23:17 +02:00
tobiasKaminsky 8f176cb46f Use NC 21 for drone
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-06 08:15:52 +00:00
dependabot[bot] e6074c918f Bump mockitoVersion from 3.11.0 to 3.11.2
Bumps `mockitoVersion` from 3.11.0 to 3.11.2.

Updates `mockito-core` from 3.11.0 to 3.11.2
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.2)

Updates `mockito-android` from 3.11.0 to 3.11.2
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.2)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 08:11:17 +00:00
Tobias Kaminsky d2df21af34 Merge pull request #8749 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.3.6
Bump fragment-ktx from 1.3.4 to 1.3.6
2021-08-06 10:10:03 +02:00
Tobias Kaminsky 299fb77f15 Merge pull request #8807 from nextcloud/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.3
Bump exifinterface from 1.3.2 to 1.3.3
2021-08-06 10:09:34 +02:00
Tobias Kaminsky 5f652ba81c Merge pull request #8821 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.12
Bump byteBuddyVersion from 1.11.2 to 1.11.12
2021-08-06 09:39:44 +02:00
Tobias Kaminsky edf693ce7d Merge pull request #8819 from nextcloud/dependabot/gradle/com.karumi-shot-5.11.2
Bump shot from 5.11.1 to 5.11.2
2021-08-06 07:24:32 +02:00
dependabot[bot] 38b84562ad Bump byteBuddyVersion from 1.11.2 to 1.11.12
Bumps `byteBuddyVersion` from 1.11.2 to 1.11.12.

Updates `byte-buddy` from 1.11.2 to 1.11.12
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.2...byte-buddy-1.11.12)

Updates `byte-buddy-android` from 1.11.2 to 1.11.12
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.2...byte-buddy-1.11.12)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 05:24:12 +00:00
dependabot[bot] 97e958f7f5 Bump exifinterface from 1.3.2 to 1.3.3
Bumps exifinterface from 1.3.2 to 1.3.3.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 05:23:50 +00:00
Tobias Kaminsky 17a26ba3ef Merge pull request #8748 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.14.2
Bump exoplayer from 2.13.2 to 2.14.2
2021-08-06 07:22:59 +02:00
Nextcloud bot a75dde5283 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-06 04:03:50 +00:00
dependabot[bot] e6a63f8445 Bump shot from 5.11.1 to 5.11.2
Bumps [shot](https://github.com/karumi/shot) from 5.11.1 to 5.11.2.
- [Release notes](https://github.com/karumi/shot/releases)
- [Commits](https://github.com/karumi/shot/compare/5.11.1...5.11.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 01:04:12 +00:00
binsky 55bdbc1f55 add custom PatchMethod class to use http PATCH requests with the Nextcloud SSO api
Signed-off-by: binsky <[email protected]>
2021-08-06 02:24:13 +02:00
dependabot[bot] c23ffe93a6 Bump exoplayer from 2.13.2 to 2.14.2
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.13.2 to 2.14.2.
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.13.2...r2.14.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-05 13:16:27 +00:00
Tobias Kaminsky 7eff86cd3d Merge pull request #8812 from nextcloud/bumpFindbugs
Somehow SpotBugs needs to be on 462.
2021-08-05 15:11:13 +02:00
tobiasKaminsky 947d0c5115 Somehow SpotBugs needs to be on 462.
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-05 15:02:46 +02:00
Tobias Kaminsky 709ee086a1 Merge pull request #8809 from nextcloud/fixSSOtest
Fix SSO test
2021-08-05 10:18:12 +02:00
tobiasKaminsky dd46ce928c Fix SSO test
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-05 09:41:34 +02:00
Tobias Kaminsky 6ca7c9d05f Merge pull request #8776 from nextcloud/dependabot/gradle/daggerVersion-2.38.1
Bump daggerVersion from 2.36 to 2.38.1
2021-08-05 08:52:38 +02:00
Tobias Kaminsky b3d499a8fc Merge pull request #8798 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.0
Bump constraintlayout from 2.0.4 to 2.1.0
2021-08-05 08:52:00 +02:00
Tobias Kaminsky 5b2398bf0c Merge pull request #7995 from nextcloud/parameterV2
SSO: support of parameter v2, which allows to have multiple values for same key
2021-08-05 07:59:21 +02:00
Nextcloud bot 8b0a8b27ac [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-04 03:55:43 +00:00
Tobias Kaminsky 1e84999b35 Merge pull request #8801 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2021-08-03 07:13:10 +02:00
Nextcloud bot 08b2b481fe Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-02 08:44:35 +00:00
Tobias Kaminsky 7f995726b3 Merge pull request #8791 from alvarobrey/fix-connectedTest-crashes
Fix connected test crashes
2021-08-02 08:56:17 +02:00
dependabot[bot] e86ee266d6 Bump constraintlayout from 2.0.4 to 2.1.0
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.0.4 to 2.1.0.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/compare/2.0.4...2.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-02 01:12:51 +00:00
Nextcloud bot a4ad5848ff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-01 03:29:50 +00:00
Álvaro Brey f13ebd3abb Replace server and server.com with an invalid domain everywhere.
This should fix the timeout crashes in screenshot tests.
This also speeds up integration tests significantly, as the resolution fails
immediately, in contrast to the timeout for server.com.

As a bonus, we don't ping server.com from our IPs when running tests :)

I've chosen nextcloud.localhost for a fake domain, but suggestions are welcome.

Signed-off-by: Álvaro Brey <[email protected]>
2021-07-31 18:24:11 +02:00
Álvaro Brey 6f212de7ea androidTest: DialogFragmentIT: remove unneeded shortSleep in @Before
Leftover from testing

Signed-off-by: Álvaro Brey <[email protected]>
2021-07-31 18:24:11 +02:00
Álvaro Brey 2dbf0a313c androidTest: DialogFragmentIT: fix process crash when running tests
This involved:
 1. quitting the opened loopers
 2. force-setting tokens to prevent a NullPointerException in createNextcloudClient,
which also crashed the process because it was in an AsyncTask.

Signed-off-by: Álvaro Brey <[email protected]>
2021-07-31 18:24:11 +02:00
Álvaro Brey ece95ef2c0 SettingsActivityIT: fix crash due to unclosed looper
Signed-off-by: Álvaro Brey <[email protected]>
2021-07-31 18:24:11 +02:00
dependabot[bot] 9b8d85d160 Bump daggerVersion from 2.36 to 2.38.1
Bumps `daggerVersion` from 2.36 to 2.38.1.

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-30 21:31:43 +00:00
Andy Scherzinger 4332636d78 Merge pull request #8788 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.42.0
Bump ktlint from 0.41.0 to 0.42.0
2021-07-30 23:26:21 +02:00
Tobias Kaminsky 412c5219ea Merge pull request #8779 from nextcloud/fixLogin
Pass user info result upon success
2021-07-30 13:25:51 +02:00
dependabot[bot] f9dae6030b Bump ktlint from 0.41.0 to 0.42.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.41.0...0.42.0)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-30 09:51:12 +00:00
Andy Scherzinger dc23baa68f Merge pull request #8787 from nextcloud/dependabot/gradle/com.karumi-shot-5.11.1
Bump shot from 5.11.0 to 5.11.1
2021-07-30 11:49:35 +02:00
Nextcloud bot 7f1f295899 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-30 03:26:58 +00:00
dependabot[bot] a18f6c2fbf Bump shot from 5.11.0 to 5.11.1
Bumps [shot](https://github.com/karumi/shot) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/karumi/shot/releases)
- [Commits](https://github.com/karumi/shot/compare/5.11.0...5.11.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-30 01:03:57 +00:00
Nextcloud bot b0538c5967 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-29 03:25:25 +00:00
tobiasKaminsky f5b8bcd906 Pass user info result upon success
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-28 11:17:12 +02:00
Nextcloud bot bbbccd5987 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-28 03:28:19 +00:00
Nextcloud bot 0fcf49beaa [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-27 03:26:47 +00:00
Nextcloud bot ac05b03bae [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-26 03:27:48 +00:00
Andy Scherzinger 00327e27b7 Merge pull request #8722 from nextcloud/dependabot/gradle/com.karumi-shot-5.11.0
Bump shot from 5.10.3 to 5.11.0
2021-07-25 17:29:01 +02:00
Andy Scherzinger aea0f28887 explicitely add facedbook-screenshot dependencies
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-25 13:20:55 +02:00
dependabot[bot] 20555e7a88 Bump shot from 5.10.3 to 5.11.0
Bumps [shot](https://github.com/karumi/shot) from 5.10.3 to 5.11.0.
- [Release notes](https://github.com/karumi/shot/releases)
- [Commits](https://github.com/karumi/shot/compare/5.10.3...5.11.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-25 10:47:24 +00:00
Andy Scherzinger b8238ca430 Merge pull request #8765 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.3.1
Bump appcompat from 1.3.0 to 1.3.1
2021-07-25 12:40:15 +02:00
Andy Scherzinger e33666b863 Merge pull request #8752 from nextcloud/fixComment
Fix exception when running CommentFileOperation
2021-07-25 10:52:12 +02:00
dependabot[bot] b583953bb2 Bump appcompat from 1.3.0 to 1.3.1
Bumps appcompat from 1.3.0 to 1.3.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-24 22:21:28 +00:00
tobiasKaminsky ffcad70c12 Fix exception when running CommentFileOperation
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-25 00:19:18 +02:00
Andy Scherzinger 28a8ee99a6 Merge pull request #8738 from nextcloud/updateBc169
Update bouncycastle to 1.69
2021-07-25 00:18:45 +02:00
Andy Scherzinger feb187b291 Merge pull request #8756 from nextcloud/explicitFDSM
For SyncOperation FileDataStorageManager is required
2021-07-24 20:17:17 +02:00
Andy Scherzinger e95c94939b Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-24 15:23:44 +02:00
tobiasKaminsky 02eb42e42a For SyncOperation FileDataStorageManager is required, therefore this is now part of constructor, whereas it before was only part of .execute()
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-24 15:22:59 +02:00
Andy Scherzinger dcfef5754f Merge pull request #8758 from nextcloud/davChanges
Use new dav
2021-07-24 15:16:34 +02:00
Andy Scherzinger 2be7b3b4dd Merge pull request #8761 from alvarobrey/patch/clean-submodules-info
Remove .gitmodules and references to submodules in SETUP.md
2021-07-24 15:01:29 +02:00
Nextcloud bot dbf433ca69 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-24 03:32:05 +00:00
Álvaro Brey aa36056261 Remove .gitmodules and references to submodules in SETUP.md
While setting up a clone of this repo I noticed that .gitmodules was empty
and that no submodules were being used. However, SETUP.md still referenced them.

This commit cleans that up. The empty .gitmodules is deleted and the references
to modules in SETUP are deleted too.
2021-07-24 00:15:40 +02:00
tobiasKaminsky 3805692fd7 Use new dav
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-23 10:33:05 +02:00
Tobias Kaminsky a66a7e4d9c Merge pull request #8670 from nextcloud/fixSearchTests
Fix tests
2021-07-23 10:31:49 +02:00
Tobias Kaminsky 7dd08fb74c Merge pull request #8759 from nextcloud/fastlaneUpdate
Update bundle for Fastlane
2021-07-23 07:06:39 +02:00
tobiasKaminsky 70218cc7b0 Update bundle for Fastlane
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-23 07:06:12 +02:00
Nextcloud bot cbd36eb47e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-23 03:28:24 +00:00
Andy Scherzinger 18e5edbf4f Merge pull request #8754 from nextcloud/Valdnet-patch-1
Change to uppercase
2021-07-22 13:08:10 +02:00
Valdnet 3d5df69570 Change to uppercase 2021-07-22 10:36:43 +02:00
tobiasKaminsky 870e979f12 Correctly return exit code
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-22 07:40:54 +02:00
tobiasKaminsky 8ac7d46e0f Correctly return exit code
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-22 07:40:20 +02:00
tobiasKaminsky 706beabdc9 Fix tests
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-22 07:40:18 +02:00
Nextcloud bot 6f2ea735a0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-22 03:30:08 +00:00
dependabot[bot] cf9e190399 Bump fragment-ktx from 1.3.4 to 1.3.6
Bumps fragment-ktx from 1.3.4 to 1.3.6.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-22 01:05:39 +00:00
Tobias Kaminsky 29d6edc634 Merge pull request #8739 from nextcloud/fixDocumentsTest
Fix test for DocumentsStorageProvider
2021-07-21 09:36:25 +02:00
tobiasKaminsky dadb52e364 Fix test for DocumentsStorageProvider
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-21 06:45:47 +00:00
Tobias Kaminsky e47c4a7758 Merge pull request #8711 from nextcloud/deleteoutdatedComments
Delete outdated comments before running
2021-07-21 08:44:25 +02:00
Andy Scherzinger f3dd13c7c6 update bouncycastle to 1.69
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-21 06:37:27 +00:00
Tobias Kaminsky 3fef7044c3 Merge pull request #8740 from nextcloud/storageTest
Fix test for FileDataStorageManager
2021-07-21 08:32:44 +02:00
tobiasKaminsky c3846b7d25 Fix test for FileDataStorageManager
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-21 06:01:11 +00:00
Tobias Kaminsky e39379580d Merge pull request #8741 from nextcloud/revertMockitoBump
Mockito 3.11.2 seems to have trouble for us, therefore reverting
2021-07-21 07:59:51 +02:00
tobiasKaminsky 7748306083 Mockito 3.11.2 seems to have trouble for us, therefore reverting
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-21 07:37:26 +02:00
Luca Santarelli c7ca196631 Avoid redundant call to getConnectivity()
[Broken Windows Theory] avoid calling getConnectivity() a second time, since the object is still fresh in the else branch of the check for WiFi.
2021-07-20 09:03:18 +02:00
Nextcloud bot 092b605b4a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-19 06:37:00 +00:00
Andy Scherzinger cc1e1fbd63 Merge pull request #8726 from nextcloud/fix-npe-in-fda-last-displayed-user
Initialize last displayed user to correct empty Optional in FileDisplayActivity
2021-07-18 01:34:02 +02:00
Chris Narkiewicz 3745201b54 Initialize last displayed user to correct empty Optional in FileDisplayActivity
Fixes #8725

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-07-17 23:46:51 +01:00
Andy Scherzinger 9d4d26b5f9 Merge pull request #8724 from nextcloud/dependabot/gradle/com.google.android.material-material-1.4.0
Bump material from 1.3.0 to 1.4.0
2021-07-18 00:24:20 +02:00
dependabot[bot] 1a1cef9860 Bump material from 1.3.0 to 1.4.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.3.0...1.4.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 21:56:42 +00:00
Andy Scherzinger 240c1b5003 Merge pull request #8723 from nextcloud/dependabot/gradle/androidx.test-runner-1.4.0
Bump runner from 1.3.0 to 1.4.0
2021-07-17 23:55:20 +02:00
Andy Scherzinger eba8e93177 unify androidx.test version
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 23:12:29 +02:00
dependabot[bot] b0f5857545 Bump runner from 1.3.0 to 1.4.0
Bumps runner from 1.3.0 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 23:12:29 +02:00
Andy Scherzinger 442791200b Merge pull request #8717 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.2
Bump spotbugs-gradle-plugin from 4.7.1 to 4.7.2
2021-07-17 23:05:24 +02:00
Andy Scherzinger c3971575e0 Merge pull request #8721 from nextcloud/dependabot/gradle/androidx.test.ext-junit-1.1.3
Bump junit from 1.1.2 to 1.1.3
2021-07-17 23:05:00 +02:00
dependabot[bot] 17d7910e40 Bump junit from 1.1.2 to 1.1.3
Bumps junit from 1.1.2 to 1.1.3.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 20:42:12 +00:00
Andy Scherzinger a0fce98f85 Merge pull request #8511 from nextcloud/migrate-uploads-storage-manager-to-user
Remove Account from UploadsStorageManager
2021-07-17 22:41:16 +02:00
Andy Scherzinger 75582183e0 Merge pull request #8720 from nextcloud/dependabot/gradle/androidx.test-orchestrator-1.4.0
Bump orchestrator from 1.3.0 to 1.4.0
2021-07-17 22:40:14 +02:00
dependabot[bot] 7e13dc899c Bump orchestrator from 1.3.0 to 1.4.0
Bumps orchestrator from 1.3.0 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 20:38:19 +00:00
Andy Scherzinger 4eb2b49e02 Merge pull request #8718 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-4.2.2
Bump gradle from 4.2.1 to 4.2.2
2021-07-17 22:37:51 +02:00
Andy Scherzinger be1a52a813 bump spotbugs score
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 22:33:02 +02:00
Andy Scherzinger b7bfdc89e2 Merge pull request #8719 from nextcloud/dependabot/gradle/androidx.test-rules-1.4.0
Bump rules from 1.3.0 to 1.4.0
2021-07-17 22:30:03 +02:00
dependabot[bot] d8fcea59c8 Bump rules from 1.3.0 to 1.4.0
Bumps rules from 1.3.0 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 18:43:45 +00:00
dependabot[bot] c49b37847d Bump gradle from 4.2.1 to 4.2.2
Bumps gradle from 4.2.1 to 4.2.2.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 18:43:42 +00:00
Andy Scherzinger 9d236a4991 Merge pull request #8613 from nextcloud/dependabot/gradle/mockitoVersion-3.11.2
Bump mockitoVersion from 3.11.0 to 3.11.2
2021-07-17 20:43:18 +02:00
dependabot[bot] b8eb775989 Bump mockitoVersion from 3.11.0 to 3.11.2
Bumps `mockitoVersion` from 3.11.0 to 3.11.2.

Updates `mockito-core` from 3.11.0 to 3.11.2
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.2)

Updates `mockito-android` from 3.11.0 to 3.11.2
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.2)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 17:18:25 +00:00
dependabot[bot] 8ff31550f6 Bump spotbugs-gradle-plugin from 4.7.1 to 4.7.2
Bumps spotbugs-gradle-plugin from 4.7.1 to 4.7.2.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 17:18:00 +00:00
Andy Scherzinger 035354535a Merge pull request #8715 from nextcloud/dependabot/gradle/androidx.test-core-1.4.0
Bump core from 1.3.0 to 1.4.0
2021-07-17 19:17:36 +02:00
dependabot[bot] 4e8aed0436 Bump core from 1.3.0 to 1.4.0
Bumps core from 1.3.0 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 16:35:44 +00:00
Andy Scherzinger d6a5e8a40a Merge pull request #8516 from nextcloud/RessourceIDs
Replace Butterknife with native view bindings
2021-07-17 18:34:51 +02:00
Andy Scherzinger 8516e6a4d5 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 16:52:25 +02:00
Andy Scherzinger 2535103a73 remove break due to rebase
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:41 +02:00
Andy Scherzinger c9beb66272 Update WebView
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:41 +02:00
Andy Scherzinger 10a6e519cb Drone: update Lint/spotbugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:40 +02:00
Andy Scherzinger 8cfd9aa8c7 improve spotbugs score
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:40 +02:00
Andy Scherzinger e7a321f0a9 remove obsolete Butterknife dependency
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:40 +02:00
Andy Scherzinger 84edbdedac implement native view bindings in activities/fragments/adapters
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:40 +02:00
Andy Scherzinger 1fdea011a7 replace switch statements with if/else since resource ids will be non-final in Android Gradle Plugin version 7.0
...so avoid using them in switch case statements.

Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:39 +02:00
Andy Scherzinger 9f1c79494b Merge pull request #8710 from nextcloud/dependabot/gradle/espressoVersion-3.4.0
Bump espressoVersion from 3.3.0 to 3.4.0
2021-07-16 18:44:35 +02:00
Tobias Kaminsky 5e83b6ca90 Merge pull request #8654 from nextcloud/fix-npe-in-preview-media-fragment
Fix NPE when navigating out of PreviewMediaFragment during video loading
2021-07-16 12:02:54 +02:00
Tobias Kaminsky b94a439e4b Merge pull request #8535 from nextcloud/fix-auth-with-uppercase-scheme
Normalize input URL scheme during auth process
2021-07-16 12:01:42 +02:00
Tobias Kaminsky 0c9eb86c68 Merge pull request #8658 from nextcloud/migrate-file-display-activity-to-user-model
Migrate FileDisplayActivity to User model
2021-07-16 12:00:10 +02:00
tobiasKaminsky 14f7dbb3db Delete outdated comments before running
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-16 11:07:23 +02:00
dependabot[bot] 1f15802fdb Bump espressoVersion from 3.3.0 to 3.4.0
Bumps `espressoVersion` from 3.3.0 to 3.4.0.

Updates `espresso-core` from 3.3.0 to 3.4.0

Updates `espresso-contrib` from 3.3.0 to 3.4.0

Updates `espresso-web` from 3.3.0 to 3.4.0

Updates `espresso-accessibility` from 3.3.0 to 3.4.0

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-16 09:02:25 +00:00
Tobias Kaminsky 9937274443 Merge pull request #8691 from nextcloud/dependabot/gradle/commons-io-commons-io-2.11.0
Bump commons-io from 2.9.0 to 2.11.0
2021-07-16 11:02:08 +02:00
Tobias Kaminsky 6664a8e5d9 Merge pull request #8655 from nextcloud/remove-unused-method
Remove unused UserListItem.getAccount() method
2021-07-16 11:01:38 +02:00
Tobias Kaminsky bf2685d247 Merge pull request #8543 from nextcloud/darkNcText
Respect dark mode for Web Text Editor
2021-07-16 11:00:46 +02:00
Tobias Kaminsky 2056d44cc8 Merge pull request #8663 from nextcloud/drone
Add stable-* to drone.yml
2021-07-16 10:48:10 +02:00
dependabot[bot] 3b973729e9 Bump commons-io from 2.9.0 to 2.11.0
Bumps commons-io from 2.9.0 to 2.11.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-14 01:05:59 +00:00
Nextcloud bot 6b34599103 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-13 03:54:46 +00:00
Nextcloud bot 9fdc4eb2b2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-10 04:07:16 +00:00
Nextcloud bot b33b39cdef [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-09 03:56:01 +00:00
tobiasKaminsky c867764fde Add stable-* to drone.yml
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-06 08:36:34 +02:00
Chris Narkiewicz c4116456fa Migrate FileDisplayActivity to User model
1. server version is available from User, so we can skip
   redundant retrieval via Account
2. last displayed account can be safely changed to User,
   eliminating name comparison complexities

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-07-04 23:34:39 +01:00
Chris Narkiewicz d99d047885 Remove unused UserListItem.getAccount() method
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-07-04 16:27:10 +01:00
Chris Narkiewicz 39a682fa1d Fix NPE when navigating out of PreviewMediaFragment during video loading
Although original error has been fixed by migration to Exo player,
there is still a potential NPE when fragment went through
onDestroyView().

Fixes #8620

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-07-04 15:18:37 +01:00
Andy Scherzinger 111def7bd4 respect dark mode for web view
Resolves #8524

Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-07 15:46:13 +02:00
Andy Scherzinger 306ea92b36 Add license header and remove duplicate empty lines
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-07 09:57:17 +02:00
Chris Narkiewicz c893834576 Normalize input URL scheme during auth process
Fixes #8519

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-06-07 00:23:20 +01:00
Chris Narkiewicz 9171fb1d1c Remove Account from UploadsStorageManager
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-06-02 01:54:51 +01:00
tobiasKaminsky 61cef4979f Renamed QueryPair
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-25 09:34:05 +02:00
tobiasKaminsky 9a464ca5c5 Renamed QueryPair
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-25 09:32:18 +02:00
Adam 4f5ed31618 Revert translation files that shouldn't have been changed
Signed-off-by: Adam <[email protected]>
2021-05-09 16:58:33 +01:00
Adam 540a286877 don't go over 120 characters
Signed-off-by: Adam <[email protected]>
2021-05-07 19:01:40 +01:00
Nextcloud bot 9b960cef18 [tx-robot] updated from transifex
Signed-off-by: Adam <[email protected]>
2021-05-07 19:01:40 +01:00
Nextcloud bot b7e033f07e [tx-robot] updated from transifex
Signed-off-by: Adam <[email protected]>
2021-05-07 19:01:40 +01:00
Adam fc155f0ba8 Use notificationID as requestcode to allow multiple android notifications
Signed-off-by: Adam <[email protected]>
2021-05-07 19:01:40 +01:00
tobiasKaminsky 1d60d23b9d Merge remote-tracking branch 'origin/parameterV2' into parameterV2 2021-05-04 09:19:26 +02:00
tobiasKaminsky 4875b20c6c Use own QueryPair implementation that supports serializable
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-04 09:19:16 +02:00
Stefan Niedermann 59a2187447 Fix another NPE when parameterV2 is null 2021-03-18 20:30:16 +01:00
tobiasKaminsky e7bc146524 fix possible NPE
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 15:31:50 +01:00
tobiasKaminsky 561cff8157 SSO: support of parameter v2, which allows to have multiple values for same key
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 15:31:50 +01:00
2238 changed files with 34353 additions and 20792 deletions

No files matched your search

+5 -2
View File
@@ -16,6 +16,9 @@ comment:
layout: "header, diff, changes, uncovered, tree"
behavior: default
github_checks:
annotations: false
ignore:
- "src/main/res/values*/*"
- "app/src/main/res/values*/*"
+3 -3
View File
@@ -1,5 +1,5 @@
# Instructions
1. Start a DevContainer either on GitHub Codespaces or locally in VSCode
2. Accept all licenses by running `yes | /usr/lib/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses`
3. You can now build the app using `./gradlew clean build`
1. Start a DevContainer either on GitHub Codespaces or locally in VSCode.
2. Accept all licenses by running `yes | /usr/lib/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses`.
3. You can now build the app using `./gradlew clean build`.
+30 -72
View File
@@ -5,7 +5,7 @@ name: tests-stable
steps:
- name: gplay
image: nextcloudci/android8:android-61
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
LOG_USERNAME:
@@ -19,46 +19,21 @@ steps:
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
- sed -i s"#server#server#" gradle.properties
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
- ./gradlew assembleGplay
- ./gradlew assembleGplayDebug
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- ./gradlew assembleGplayDebugAndroidTest
- scripts/wait_for_emulator.sh
- ./gradlew jacocoTestGplayDebugUnitTestReport && scripts/deleteOutdatedComments.sh "stable" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- ./gradlew installGplayDebugAndroidTest
- scripts/wait_for_server.sh "server"
- ./gradlew createGplayDebugCoverageReport -Pcoverage -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest && scripts/deleteOutdatedComments.sh "stable" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- ./gradlew combinedTestReport
- name: notify
image: drillster/drone-email
settings:
port: 587
from: [email protected]
recipients_only: true
username:
from_secret: EMAIL_USERNAME
password:
from_secret: EMAIL_PASSWORD
recipients:
from_secret: EMAIL_RECIPIENTS
host:
from_secret: EMAIL_HOST
when:
event:
- push
status:
- failure
branch:
- master
- scripts/deleteOldComments.sh "stable" "IT" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew createGplayDebugCoverageReport -Pcoverage -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST $GIT_TOKEN
services:
- name: server
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
image: ghcr.io/nextcloud/continuous-integration-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
commands:
- BRANCH='stable20' /usr/local/bin/initnc.sh
- BRANCH='stable23' /usr/local/bin/initnc.sh
- echo 127.0.0.1 server >> /etc/hosts
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
- su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2"
@@ -67,16 +42,18 @@ services:
- su www-data -c "php /var/www/html/occ group:add users"
- su www-data -c "php /var/www/html/occ group:adduser users user1"
- su www-data -c "php /var/www/html/occ group:adduser users user2"
- su www-data -c "git clone -b stable20 https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "git clone -b stable23 https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "php /var/www/html/occ app:enable activity"
- su www-data -c "git clone -b stable20 https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "git clone -b stable23 https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "php /var/www/html/occ app:enable text"
- su www-data -c "git clone -b stable23 https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/"
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
- /usr/local/bin/run.sh
trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
@@ -87,7 +64,7 @@ name: tests-master
steps:
- name: gplay
image: nextcloudci/android8:android-61
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
LOG_USERNAME:
@@ -101,35 +78,12 @@ steps:
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- scripts/runCombinedTest.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER
- name: notify
image: drillster/drone-email
settings:
port: 587
from: [email protected]
recipients_only: true
username:
from_secret: EMAIL_USERNAME
password:
from_secret: EMAIL_PASSWORD
recipients:
from_secret: EMAIL_RECIPIENTS
host:
from_secret: EMAIL_HOST
when:
event:
- push
status:
- failure
branch:
- master
services:
- name: server
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
image: ghcr.io/nextcloud/continuous-integration-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
commands:
@@ -153,17 +107,20 @@ services:
trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: analysis
name: allScreenshots
steps:
- name: analysis
image: nextcloudci/android8:android-61
- name: runAllScreenshots
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
GIT_USERNAME:
from_secret: GIT_USERNAME
@@ -174,10 +131,12 @@ steps:
LOG_PASSWORD:
from_secret: LOG_PASSWORD
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- export BRANCH=$(scripts/analysis/getBranchName.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST)
- scripts/analysis/analysis-wrapper.sh $GIT_USERNAME $GIT_TOKEN $BRANCH $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER $DRONE_PULL_REQUEST
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- sed -i s'#showOnlyFailingTestsInReports = ciBuild#showOnlyFailingTestsInReports = false#' build.gradle
- scripts/wait_for_emulator.sh
- scripts/runAllScreenshotCombinations noCI false
- scripts/screenshotSummary.sh
- name: notify
image: drillster/drone-email
settings:
@@ -199,10 +158,9 @@ steps:
- failure
branch:
- master
- stable-*
trigger:
branch:
- master
event:
- push
- pull_request
- cron
cron:
- allscreenshots
+13 -87
View File
@@ -1,91 +1,17 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
labels:
- 2. to review
- dependencies
ignore:
- dependency-name: com.github.albfernandez:juniversalchardet
versions:
- "> 2.0.3"
- dependency-name: com.github.albfernandez:juniversalchardet
versions:
- "< v2.2.0.999999"
- ">= v2.2.0.a"
- dependency-name: com.github.albfernandez:juniversalchardet
versions:
- "< v2.3.999999"
- ">= v2.3.a"
- dependency-name: com.github.bumptech.glide:glide
versions:
- ">= 4.9.a"
- "< 4.10"
- dependency-name: com.github.bumptech.glide:glide
versions:
- ">= 4.a"
- "< 5"
- dependency-name: com.github.nextcloud:android-library
versions:
- "< 2"
- ">= 1.a"
- dependency-name: gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin
versions:
- ">= 1.6.10.a"
- "< 1.6.11"
- dependency-name: gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin
versions:
- ">= 1.6.11.a"
- "< 1.6.12"
- dependency-name: gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin
versions:
- ">= 1.7.0.a"
- "< 1.7.1"
- dependency-name: gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin
versions:
- ">= 1.7.1.a"
- "< 1.7.2"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.16.a"
- "< 2.17"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.17.a"
- "< 2.18"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.18.a"
- "< 2.19"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.19.a"
- "< 2.20"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.20.a"
- "< 2.21"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.21.a"
- "< 2.22"
- dependency-name: org.objenesis:objenesis
versions:
- "> 2.6"
- dependency-name: pl.droidsonroids.gif:android-gif-drawable
versions:
- "< 1.2.17"
- ">= 1.2.16.a"
- dependency-name: pl.droidsonroids.gif:android-gif-drawable
versions:
- ">= 1.2.17.a"
- "< 1.2.18"
directory: "/"
schedule:
interval: daily
time: "03:00"
timezone: Europe/Paris
rebase-strategy: "disabled"
open-pull-requests-limit: 10
labels:
- 2. to review
- dependencies
+7 -5
View File
@@ -1,9 +1,11 @@
### Testing
<!--
TESTING
Writing tests is very important. Please try to write some tests for your PR.
If you need help, please do not hesitate to ask in this PR for help.
[unit tests](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#unit-tests)
[instrumented tests](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#instrumented-tests)
[UI tests](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#ui-tests)
Unit tests: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#unit-tests
Instrumented tests: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#instrumented-tests
UI tests: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#ui-tests
-->
- [ ] Tests written, or not not needed
+23
View File
@@ -0,0 +1,23 @@
name: "Analysis"
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]
jobs:
analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 11
- name: Run analysis wrapper
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
scripts/analysis/analysis-wrapper.sh ${{ secrets.GIT_USERNAME }} ${{ secrets.GIT_TOKEN }} ${{ steps.get-vars.outputs.branch }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} $GITHUB_RUN_NUMBER ${{ steps.get-vars.outputs.pr }}
+3 -3
View File
@@ -10,13 +10,13 @@ jobs:
strategy:
fail-fast: false
matrix:
flavor: [ Generic, Gplay ]
flavor: [ Generic, Gplay, Huawei ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "adopt"
distribution: "temurin"
java-version: 11
- name: Build ${{ matrix.flavor }}
run: |
+1 -1
View File
@@ -7,7 +7,7 @@ jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.0.0
- uses: hmarr/auto-approve-action@v2.1.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
+6 -5
View File
@@ -10,12 +10,13 @@ jobs:
strategy:
fail-fast: false
matrix:
task: [ detekt, ktlint ]
task: [ detekt, ktlintCheck ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 1.8
distribution: "temurin"
java-version: 11
- name: Check ${{ matrix.task }}
run: ./gradlew ${{ matrix.task }}
+27 -8
View File
@@ -3,25 +3,44 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Rebase command
on:
issue_comment:
types: [ created ]
name: Automatic Rebase
types: created
jobs:
rebase:
name: Rebase
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"
@@ -9,6 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Detect SNAPSHOT
run: scripts/analysis/detectSNAPSHOT.sh
@@ -9,5 +9,5 @@ jobs:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
+19 -7
View File
@@ -8,12 +8,24 @@ jobs:
qa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
- name: Check if secrets are available
run: echo "::set-output name=ok::${{ secrets.KS_PASS != '' }}"
id: check-secrets
- uses: actions/checkout@v3
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
- name: set up JDK 11
uses: actions/setup-java@v3
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
with:
java-version: 1.8
distribution: "temurin"
java-version: 11
- name: Install NDK and cmake
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
run: |
source ndk.env
/usr/local/lib/android/sdk/tools/bin/sdkmanager "ndk;${NDK_VERSION}" "cmake;${CMAKE_VERSION}"
- name: Build QA
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
env:
KS_PASS: ${{ secrets.KS_PASS }}
KEY_PASS: ${{ secrets.KEY_PASS }}
@@ -22,8 +34,8 @@ jobs:
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" build.gradle
sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" build.gradle
sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" app/build.gradle
sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" app/build.gradle
./gradlew assembleQaDebug
$(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort | tail -n1) sign --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks build/outputs/apk/qa/debug/qa-debug-*.apk
$(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort | tail -n1) sign --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks app/build/outputs/apk/qa/debug/qa-debug-*.apk
sudo scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
+55
View File
@@ -0,0 +1,55 @@
name: Scorecards supply-chain security
on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
- cron: '33 1 * * 5'
push:
branches: [ master ]
# Declare default permissions as read only.
permissions: read-all
jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
actions: read
contents: read
steps:
- name: "Checkout code"
uses: actions/checkout@v3 # v2.4.0
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@e3e75cf2ffbf9364bbff86cdbdf52b23176fe492 # v1.0.1
with:
results_file: results.sarif
results_format: sarif
# Read-only PAT token. To create it,
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
# Publish the results to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories, `publish_results` will automatically be set to `false`,
# regardless of the value entered here.
publish_results: false
# Upload the results as artifacts (optional).
- name: "Upload artifact"
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v2.3.1
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # v1.0.26
with:
sarif_file: results.sarif
+55 -17
View File
@@ -10,38 +10,76 @@ jobs:
strategy:
fail-fast: false
matrix:
scheme: [ Dark, Light ]
color: [ blue, white, black ]
scheme: [ Light ]
color: [ blue ]
api-level: [ 27 ]
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v3
- name: Gradle cache
uses: actions/cache@v3
with:
java-version: 1.8
- name: Build gplay
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}
- uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 11
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
arch: x86
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: echo "Generated AVD snapshot for caching."
- name: Configure gradle daemon
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGplayDebug
echo "org.gradle.caching=true" >> $HOME/.gradle/gradle.properties
- name: Build gplay
run: ./gradlew assembleGplayDebug
- name: Delete old comments
if: ${{ always() }}
run: scripts/deleteOldComments.sh "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
- name: run tests
- name: Run screenshot tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 27
api-level: ${{ matrix.api-level }}
force-avd-creation: false
arch: x86
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: ./gradlew gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
script: ./gradlew uninstallAll gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
- name: upload failing results
if: ${{ failure() }}
env:
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
run:
scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
- name: Archive Espresso results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
if: ${{ always() }}
with:
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
path: build/reports
path: app/build/reports
retention-days: 4
+2 -1
View File
@@ -7,12 +7,13 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
- uses: actions/stale@v5
with:
days-before-stale: 28
days-before-close: 14
days-before-pr-close: -1
only-labels: 'bug,needs info/discussion'
exempt-issue-labels: 'no-stale'
stale-issue-message: 'This bug report did not receive an update in the last 4 weeks.
Please take a look again and update the issue with new details,
otherwise the issue will be automatically closed in 2 weeks. Thank you!'
+41
View File
@@ -0,0 +1,41 @@
name: Unit tests
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 11
- name: Delete old comments
if: ${{ always() }}
run: scripts/deleteOldComments.sh "test" "Unit" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
- name: Run unit tests with coverage
uses: gradle/gradle-build-action@v2
with:
arguments: jacocoTestGplayDebugUnitTest
- name: Upload failing results
if: ${{ failure() }}
run:
scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "test" "Unit" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit
fail_ci_if_error: true
- name: Upload jacoco artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test-results
path: app/build/reports/tests/testGplayDebugUnitTest/
+2
View File
@@ -1,6 +1,7 @@
# built application files
*.apk
*.ap_
*.aab
# files for the dex VM
*.dex
@@ -49,3 +50,4 @@ fastlane/Fastfile
**/fastlane/test_output
/fastlane/vendor/
/.bundle/
/fastlane/.bundle/
View File
Whitespace-only changes.
-4
View File
@@ -28,7 +28,6 @@
</value>
</option>
<option name="RIGHT_MARGIN" value="120" />
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="true" />
<JavaCodeStyleSettings>
<option name="IMPORT_LAYOUT_TABLE">
<value>
@@ -66,9 +65,6 @@
<MarkdownNavigatorCodeStyleSettings>
<option name="RIGHT_MARGIN" value="120" />
</MarkdownNavigatorCodeStyleSettings>
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
<codeStyleSettings language="JAVA">
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_METHOD_BRACKETS" value="true" />
+2 -2
View File
@@ -2,8 +2,8 @@
host = https://www.transifex.com
[nextcloud.android]
file_filter = src/main/res/values-<lang>/strings.xml
source_file = src/main/res/values/strings.xml
file_filter = app/src/main/res/values-<lang>/strings.xml
source_file = app/src/main/res/values/strings.xml
type = ANDROID
source_lang = en
lang_map = af_ZA: af-rZA, am_ET: am-rET, ar_AE: ar-rAE, ar_BH: ar-rBH, ar_DZ: ar-rDZ, ar_EG: ar-rEG, ar_IQ: ar-rIQ, ar_JO: ar-rJO, ar_KW: ar-rKW, ar_LB: ar-rLB, ar_LY: ar-rLY, ar_MA: ar-rMA, ar_OM: ar-rOM, ar_QA: ar-rQA, ar_SA: ar-rSA, ar_SY: ar-rSY, ar_TN: ar-rTN, ar_YE: ar-rYE, arn_CL: arn-rCL, as_IN: as-rIN, az_AZ: az-rAZ, ba_RU: ba-rRU, be_BY: be-rBY, bg_BG: bg-rBG, bn_BD: bn-rBD, bn_IN: bn-rIN, bo_CN: bo-rCN, br_FR: br-rFR, bs_BA: bs-rBA, ca_ES: ca-rES, co_FR: co-rFR, cs_CZ: cs-rCZ, cy_GB: cy-rGB, da_DK: da-rDK, de_AT: de-rAT, de_CH: de-rCH, de_DE: de-rDE, de_LI: de-rLI, de_LU: de-rLU, dsb_DE: dsb-rDE, dv_MV: dv-rMV, el_GR: el-rGR, en_AU: en-rAU, en_BZ: en-rBZ, en_CA: en-rCA, en_GB: b+en+001, en_IE: en-rIE, en_IN: en-rIN, en_JM: en-rJM, en_MY: en-rMY, en_NZ: en-rNZ, en_PH: en-rPH, en_SG: en-rSG, en_TT: en-rTT, en_US: en-rUS, en_ZA: en-rZA, en_ZW: en-rZW, en@pirate: en-rpirate, es_AR: es-rAR, es_BO: es-rBO, es_CL: es-rCL, es_CO: es-rCO, es_CR: es-rCR, es_DO: es-rDO, es_EC: es-rEC, es_ES: es-rES, es_GT: es-rGT, es_HN: es-rHN, es_MX: es-rMX, es_NI: es-rNI, es_PA: es-rPA, es_PE: es-rPE, es_PR: es-rPR, es_PY: es-rPY, es_SV: es-rSV, es_419: b+es+419, es_UY: es-rUY, es_VE: es-rVE, et_EE: et-rEE, eu_ES: eu-rES, fa_IR: fa-rIR, fi_FI: fi-rFI, fil_PH: fil-rPH, fo_FO: fo-rFO, fr_BE: fr-rBE, fr_CA: fr-rCA, fr_CH: fr-rCH, fr_FR: fr-rFR, fr_LU: fr-rLU, fr_MC: fr-rMC, fy_NL: fy-rNL, ga_IE: ga-rIE, gd_GB: gd-rGB, gl_ES: gl-rES, gsw_FR: gsw-rFR, gu_IN: gu-rIN, ha_NG: ha-rNG, he: iw, he_IL: he-rIL, hi_IN: hi-rIN, hr_BA: hr-rBA, hr_HR: hr-rHR, hsb_DE: hsb-rDE, hu_HU: hu-rHU, hy_AM: hy-rAM, id: in, id_ID: id-rID, ig_NG: ig-rNG, ii_CN: ii-rCN, is_IS: is-rIS, it_CH: it-rCH, it_IT: it-rIT, iu_CA: iu-rCA, ja_JP: ja-rJP, ka_GE: ka-rGE, kk_KZ: kk-rKZ, kl_GL: kl-rGL, km_KH: km-rKH, kn_IN: kn-rIN, ko_KR: ko-rKR, kok_IN: kok-rIN, ku_IQ: ku-rIQ, ky_KG: ky-rKG, lb_LU: lb-rLU, lo_LA: lo-rLA, lt_LT: lt-rLT, lv_LV: lv-rLV, mi_NZ: mi-rNZ, mk_MK: mk-rMK, ml_IN: ml-rIN, mn_CN: mn-rCN, mn_MN: mn-rMN, moh_CA: moh-rCA, mr_IN: mr-rIN, ms_BN: ms-rBN, ms_MY: ms-rMY, my_MM: my, mt_MT: mt-rMT, nb_NO: nb-rNO, ne_NP: ne-rNP, nl_BE: nl-rBE, nl_NL: nl-rNL, nn_NO: nn-rNO, nso_ZA: nso-rZA, oc_FR: oc-rFR, or_IN: or-rIN, pa_IN: pa-rIN, pl_PL: pl-rPL, prs_AF: prs-rAF, ps_AF: ps-rAF, pt_BR: pt-rBR, pt_PT: pt-rPT, qut_GT: qut-rGT, quz_BO: quz-rBO, quz_EC: quz-rEC, quz_PE: quz-rPE, rm_CH: rm-rCH, ro_RO: ro-rRO, ru_RU: ru-rRU, rw_RW: rw-rRW, sa_IN: sa-rIN, sah_RU: sah-rRU, se_FI: se-rFI, se_NO: se-rNO, se_SE: se-rSE, si_LK: si-rLK, sk_SK: sk-rSK, sl_SI: sl-rSI, sma_NO: sma-rNO, sma_SE: sma-rSE, smj_NO: smj-rNO, smj_SE: smj-rSE, smn_FI: smn-rFI, sms_FI: sms-rFI, sq_AL: sq-rAL, sr_BA: sr-rBA, sr_CS: sr-rCS, sr_ME: sr-rME, sr_RS: sr-rRS, sr@latin: sr-rSP, sv_FI: sv-rFI, sv_SE: sv-rSE, sw_KE: sw-rKE, syr_SY: syr-rSY, ta_IN: ta-rIN, ta_LK: ta-rLK, te_IN: te-rIN, tg_TJ: tg-rTJ, th_TH: th-rTH, tk_TM: tk-rTM, tn_ZA: tn-rZA, tr_TR: tr-rTR, tt_RU: tt-rRU, tzm_DZ: tzm-rDZ, ug_CN: ug-rCN, uk_UA: uk-rUA, ur_PK: ur-rPK, uz_UZ: uz-rUZ, vi_VN: vi-rVN, wo_SN: wo-rSN, xh_ZA: xh-rZA, yo_NG: yo-rNG, zh_CN: zh-rCN, zh_CN.GB2312:zh-rBG, zh_HK: zh-rHK, zh_MO: zh-rMO, zh_SG: zh-rSG, zh_TW: zh-rTW, zu_ZA: zu-rZA
+82 -4
View File
@@ -1,9 +1,81 @@
## 3.17.0 (-, -, -)
## 3.20.0 RC2 (April 7, 2022)
- New upload manager @ezaquarii
- UI improvements
- Built-in PDF viewer
- Built-in document scanner
- Better choices for storage permissions
- Many bugfixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/64
## 3.20.0 RC1 (March 28, 2022)
- Built-in PDF viewer
- Built-in document scanner
- Better choices for storage permissions
- Many bugfixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/64
## 3.19.1 (March 10, 2022)
- Minor fixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/65
## 3.19.0 (February 3, 2022)
- Support external storage in Media page
- Connection fallback to IPv4 when IPv6 fails
- Many other fixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/62
## 3.18.1 (December 22, 2021)
- Fix connection bug for usernames with spaces
- Fix some crashes in search and share views
- Fix login for server URLs in IP:port format
- Lots of minor bug fixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/63
## 3.18.0 (November 18, 2021)
- Calendar backup/restore
- Unified search
- Sharing permissions improvements
- Minor bug fixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/61
## 3.17.1 (October, 20, 2021)
- fix FIDO crash
- fix crash in documents provider while offline
- updated translations
Minimum: NC 16 Server, Android 5.1 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/60
## 3.17.0 (August, 19, 2021)
- UI improvements (Avatar, password dialog)
- New video player for better streaming
- Many bug fixes
- Drop Android 5.0, new min version Android 5.1
Minimum: NC 16 Server, Android 5.1 Lollipop
Minimum: NC 16 Server, Android 5.0 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/59
@@ -37,6 +109,9 @@ For a full list, please see https://github.com/nextcloud/android/milestone/55
- passcode fix
- enhance share access
Minimum: NC 16 Server, Android 5.0 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/57
## 3.15.0 (February, 02, 2021)
@@ -46,6 +121,9 @@ For a full list, please see https://github.com/nextcloud/android/milestone/57
- Bug fixes all over the place
- Drop Android 4.4, new min version Android 5.0
Minimum: NC 16 Server, Android 5.0 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/52
## 3.14.3 (January, 13, 2021)
+11 -7
View File
@@ -1,9 +1,5 @@
# [Nextcloud](https://nextcloud.com) Android app
[![irc](https://img.shields.io/badge/IRC-%23nextcloud%20on%20freenode-orange.svg)](https://webchat.freenode.net/?channels=nextcloud)
[![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile)
# Index
1. [Guidelines](#guidelines)
1. [Issue reporting](#issue-reporting)
@@ -16,6 +12,7 @@
1. [Branching model](#branching-model)
1. [Android Studio formatter setup](#android-studio-formatter-setup)
1. [Build variants](#build-variants)
1. [Git hooks](#git-hooks)
1. [Contribution process](#contribution-process)
1. [Fork and download android repository](#fork-and-download-android-repository)
1. [Create pull request](#create-pull-request)
@@ -119,6 +116,14 @@ There are three build variants
* gplay: with Google Stuff (Push notification), used for Google Play Store
* versionDev: based on master and library master, available as direct download and FDroid
### Git hooks
We provide git hooks to make development process easier for both the developer and the reviewers.
To install them, just run:
```bash
./gradlew installGitHooks
```
## Contribution process
* Contribute your code in the branch 'master'. It will give us a better chance to test your code before merging it with stable code.
* For your first contribution start a pull request on master.
@@ -129,12 +134,11 @@ There are three build variants
### Create pull request:
* Commit your changes locally: ```git commit -a```
* Commit your changes locally. Remember to sign off your commits (`git commit -sm 'Your commit message'`).
* Push your changes to your GitHub repo: ```git push```
* Browse to <https://github.com/YOURGITHUBNAME/android/pulls> and issue pull request
* Enter description and send pull request.
### Create another pull request:
To make sure your new pull request does not contain commits which are already contained in previous PRs, create a new branch which is a clone of upstream/master.
@@ -319,7 +323,7 @@ We manage translations via [Transifex](https://www.transifex.com/nextcloud/nextc
If you need to change a translation, do not change it, but give it new key. This way the translation stays backward compatible as we automatically backport translated strings to last versions.
When submitting PRs with changed translations, please only submit changes to values/strings.xml and not changes to translated files. These will be overwritten by next merge of transifex-but and increase PR review.
When submitting PRs with changed translations, please only submit changes to values/strings.xml and not changes to translated files. These will be overwritten by next merge of transifex-bot and increase PR review.
## Engineering practices
+119 -79
View File
@@ -1,77 +1,102 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.2)
addressable (2.7.0)
CFPropertyList (3.0.5)
rexml
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.1.0)
aws-partitions (1.343.0)
aws-sdk-core (3.104.1)
aws-eventstream (1.2.0)
aws-partitions (1.568.0)
aws-sdk-core (3.130.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-kms (1.36.0)
aws-sdk-core (~> 3, >= 3.99.0)
aws-sdk-kms (1.55.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.75.0)
aws-sdk-core (~> 3, >= 3.104.1)
aws-sdk-s3 (1.113.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.2.1)
aws-sigv4 (~> 1.4)
aws-sigv4 (1.4.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.3)
claide (1.0.3)
babosa (1.0.4)
claide (1.1.0)
colored (1.2)
colored2 (3.1.2)
commander-fastlane (4.4.6)
highline (~> 1.7.2)
commander (4.6.0)
highline (~> 2.0.0)
declarative (0.0.20)
declarative-option (0.1.0)
digest-crc (0.6.1)
rake (~> 13.0)
digest-crc (0.6.4)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6)
emoji_regex (3.0.0)
excon (0.75.0)
faraday (0.17.3)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
emoji_regex (3.2.3)
excon (0.92.1)
faraday (1.10.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-cookie_jar (0.0.7)
faraday (>= 0.8.0)
http-cookie (~> 1.0.0)
faraday_middleware (0.14.0)
faraday (>= 0.7.4, < 1.0)
fastimage (2.1.7)
fastlane (2.152.0)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.3)
multipart-post (>= 1.2, < 3)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.2.6)
fastlane (2.205.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
babosa (>= 1.0.3, < 2.0.0)
bundler (>= 1.12.0, < 3.0.0)
colored
commander-fastlane (>= 4.4.6, < 5.0.0)
commander (~> 4.6)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
excon (>= 0.71.0, < 1.0.0)
faraday (>= 0.17, < 1.0)
faraday (~> 1.0)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (>= 0.13.1, < 2.0)
faraday_middleware (~> 1.0)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-api-client (>= 0.37.0, < 0.39.0)
google-cloud-storage (>= 1.15.0, < 2.0.0)
highline (>= 1.7.2, < 2.0.0)
google-apis-androidpublisher_v3 (~> 0.3)
google-apis-playcustomapp_v1 (~> 0.1)
google-cloud-storage (~> 1.31)
highline (~> 2.0)
json (< 3.0.0)
jwt (>= 2.1.0, < 3)
mini_magick (>= 4.9.4, < 5.0.0)
multipart-post (~> 2.0.0)
naturally (~> 2.2)
optparse (~> 0.1.1)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.3)
simctl (~> 1.6.3)
slack-notifier (>= 2.0.0, < 3.0.0)
terminal-notifier (>= 2.0.0, < 3.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
tty-screen (>= 0.6.3, < 1.0.0)
@@ -80,74 +105,87 @@ GEM
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-huawei_appgallery_connect (1.0.9)
fastlane-plugin-huawei_appgallery_connect (1.0.18)
gh_inspector (1.1.3)
google-api-client (0.38.0)
google-apis-androidpublisher_v3 (0.16.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-core (0.4.2)
addressable (~> 2.5, >= 2.5.1)
googleauth (~> 0.9)
httpclient (>= 2.8.1, < 3.0)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
mini_mime (~> 1.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
signet (~> 0.12)
google-cloud-core (1.5.0)
retriable (>= 2.0, < 4.a)
rexml
webrick
google-apis-iamcredentials_v1 (0.10.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-playcustomapp_v1 (0.7.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-storage_v1 (0.11.0)
google-apis-core (>= 0.4, < 2.a)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.3.3)
google-cloud-env (1.5.0)
faraday (>= 0.17.3, < 2.0)
google-cloud-errors (1.0.1)
google-cloud-storage (1.26.2)
addressable (~> 2.5)
google-cloud-errors (1.2.0)
google-cloud-storage (1.36.1)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-api-client (~> 0.33)
google-cloud-core (~> 1.2)
googleauth (~> 0.9)
google-apis-iamcredentials_v1 (~> 0.1)
google-apis-storage_v1 (~> 0.1)
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
mini_mime (~> 1.0)
googleauth (0.13.0)
faraday (>= 0.17.3, < 2.0)
googleauth (1.1.2)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (~> 0.14)
highline (1.7.10)
http-cookie (1.0.3)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.4)
domain_name (~> 0.5)
httpclient (2.8.3)
jmespath (1.4.0)
json (2.3.1)
jwt (2.2.1)
jmespath (1.6.1)
json (2.6.1)
jwt (2.3.0)
memoist (0.16.2)
mini_magick (4.10.1)
mini_mime (1.0.2)
mini_magick (4.11.0)
mini_mime (1.1.2)
multi_json (1.15.0)
multipart-post (2.0.0)
nanaimo (0.3.0)
naturally (2.2.0)
os (1.1.0)
plist (3.5.0)
public_suffix (4.0.5)
rake (13.0.1)
representable (3.0.4)
naturally (2.2.1)
optparse (0.1.1)
os (1.1.4)
plist (3.6.0)
public_suffix (4.0.6)
rake (13.0.6)
representable (3.1.1)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.5)
rouge (2.0.7)
rubyzip (2.3.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.3)
signet (0.14.0)
addressable (~> 2.3)
faraday (>= 0.17.3, < 2.0)
signet (0.16.1)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.0)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.8)
CFPropertyList
naturally
slack-notifier (2.3.2)
terminal-notifier (2.0.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
trailblazer-option (0.1.2)
tty-cursor (0.7.1)
tty-screen (0.8.1)
tty-spinner (0.9.3)
@@ -155,26 +193,28 @@ GEM
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
unf_ext (0.0.8.1)
unicode-display_width (1.8.0)
webrick (1.7.0)
word_wrap (1.0.0)
xcodeproj (1.17.1)
xcodeproj (1.21.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.0)
xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
ruby
x86_64-linux
DEPENDENCIES
fastlane
fastlane-plugin-huawei_appgallery_connect
BUNDLED WITH
2.1.4
2.2.26
+2 -3
View File
@@ -1,6 +1,6 @@
# [Nextcloud](https://nextcloud.com) Android app :iphone:
[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=nextcloud/android&amp;utm_campaign=Badge_Grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest) [![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile)
[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=nextcloud/android&amp;utm_campaign=Badge_Grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest)
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png"
alt="Download from Google Play"
@@ -16,7 +16,6 @@
## How to contribute :rocket:
If you want to [contribute](https://nextcloud.com/contribute/) to Nextcloud, you are very welcome:
- on our IRC channels [![irc](https://img.shields.io/badge/IRC-%23nextcloud%20on%20freenode-orange.svg)](https://webchat.freenode.net/?channels=nextcloud) and [![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile) on freenode
- our forum at https://help.nextcloud.com
- for translations of the app on [Transifex](https://www.transifex.com/nextcloud/nextcloud/android/)
- opening issues and PRs (including a corresponding issue)
@@ -75,7 +74,7 @@ or
## Support :rescue_worker_helmet:
If you need assistance or want to ask a question about the Android app, you are welcome to [ask for support](https://help.nextcloud.com/c/clients/android) in our Forums or the [IRC-Channel](https://webchat.freenode.net/?channels=nextcloud-mobile). If you have found a bug, feel free to [open a new Issue on GitHub](https://github.com/nextcloud/android/issues). Keep in mind, that this repository only manages the Android app. If you find bugs or have problems with the server/backend, you should ask the [Nextcloud server team](https://github.com/nextcloud/server) for help!
If you need assistance or want to ask a question about the Android app, you are welcome to [ask for support](https://help.nextcloud.com/c/clients/android) in our Forums. If you have found a bug, feel free to [open a new Issue on GitHub](https://github.com/nextcloud/android/issues). Keep in mind, that this repository only manages the Android app. If you find bugs or have problems with the server/backend, you should ask the [Nextcloud server team](https://github.com/nextcloud/server) for help!
## Remarks :scroll:
+11 -15
View File
@@ -32,7 +32,7 @@ The next steps will assume you have a GitHub account and that you will get the c
* In a web browser, go to https://github.com/nextcloud/android, and click the 'Fork' button near the top right corner.
* Open a terminal and go on with the next steps in it.
* Clone your forked repository: ```git clone --recursive https://github.com/YOURGITHUBNAME/android.git```.
* Clone your forked repository: ```git clone https://github.com/YOURGITHUBNAME/android.git```.
* Move to the project folder with ```cd android```.
* Pull any changes from your remote branch 'master': ```git pull origin master```
* Make official Nextcloud repo known as upstream: ```git remote add upstream https://github.com/nextcloud/android.git```
@@ -49,7 +49,6 @@ We recommend to use the last version available in the stable channel of Android
To set up the project in Android Studio follow the next steps:
* Make sure you have called ```git submodule update``` whenever you switched branches
* Open Android Studio and select 'Import Project (Eclipse ADT, Gradle, etc)'. Browse through your file system to the folder 'android' where the project is located. Android Studio will then create the '.iml' files it needs. If you ever close the project but the files are still there, you just select 'Open Project…'. The file chooser will show an Android face as the folder icon, which you can select to reopen the project.
* Android Studio will try to build the project directly after importing it. To build it manually, follow the menu path 'Build'/'Make Project', or just click the 'Play' button in the toolbar to build and run it in a mobile device or an emulator. The resulting APK file will be saved in the 'build/outputs/apk/' subdirectory in the project folder.
* Setup Android Studio editor configurtation for the project: ```Settings``` → ```Editor``` → ```Code Style``` → ```Scheme: Project``` and ```Enable EditorConfig support```
@@ -60,7 +59,6 @@ To set up the project in Android Studio follow the next steps:
[Gradle][7] is the build system used by Android Studio to manage the building operations on Android apps. You do not need to install Gradle in your system, and Google recommends not to do it, but instead trusting on the [Gradle wrapper][8] included in the project.
* Open a terminal and go to the 'android' directory that contains the repository.
* Make sure you have called ```git submodule update``` whenever you switched branches
* Run the 'clean' and 'build' tasks using the Gradle wrapper provided
- Windows: ```gradlew.bat clean build```
- Mac OS/Linux: ```./gradlew clean build```
@@ -91,18 +89,16 @@ The app is currently equipped to be built with three flavours:
#### 1. Direct usage of library project
This is handy if one wants to make changes both to files app and library:
- in files app root: ln -s $pathToLibraryProject nextcloud-android-library
- uncomment in build.gradle:
- `// implementation project('nextcloud-android-library')`
- comment in build.gradle:
- `genericImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT'`
- `gplayImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT'`
- `versionDevImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT'`
- comment in settings.gradle:
- `include ':'`
- uncomment in settings.gradle:
- `//include 'nextcloud-android-library'`
- sync project with gradle files
- Add the following to `settings.gradle`:
```groovy
includeBuild('[path to library clone]') {
dependencySubstitution {
substitute module('com.github.nextcloud:android-library') using project(':library')
}
}
```
- Sync project with gradle files
Now every change in library can be directly used in files app.
-12
View File
@@ -43,18 +43,6 @@ The third party software included and used by this project is:
The library is included in the Nextcloud client APK.
See http://jackrabbit.apache.org/
* TouchImageView, 1.2.0. commit 6dbeac4f11936185ba374c73144ac431c23c9aab
Copyright (c) 2014 Michael Ortiz
Licensed under MIT License
This library is in the source code.
See https://github.com/MikeOrtiz/TouchImageView
* floatingactionbutton 1.10.21.
Copyright (c) 2014 Jerzy Chalupski
Licensed under Apache License, Version 2.0.
The library is included in the Nextcloud client APK.
See https://github.com/futuresimple/android-floating-action-button
* AndroidSVG 1.2.1.
Copyright (c) 2014 Paul LeBeau
Licensed under Apache License, Version 2.0.
+1
View File
@@ -0,0 +1 @@
/build
+431
View File
@@ -0,0 +1,431 @@
import com.github.spotbugs.snom.SpotBugsTask
import org.gradle.internal.jvm.Jvm
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath 'com.hiya:jacoco-android:0.2'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.6'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.19.0"
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
classpath 'com.karumi:shot:5.13.0'
classpath "org.jacoco:org.jacoco.core:$jacoco_version"
classpath "org.jacoco:org.jacoco.report:$jacoco_version"
classpath "org.jacoco:org.jacoco.agent:$jacoco_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.2.1"
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
apply plugin: 'checkstyle'
apply plugin: 'pmd'
apply plugin: 'com.hiya.jacoco-android'
apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'shot'
apply plugin: "org.jlleitschuh.gradle.ktlint"
println "Gradle uses Java ${Jvm.current()}"
configurations {
all {
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitly
// check for updates every build
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
}
}
}
configurations.configureEach {
resolutionStrategy.eachDependency {
if (requested.group == "org.checkerframework" && requested.name != "checker-compat-qual") {
useVersion(checkerVersion)
because("https://github.com/google/ExoPlayer/issues/10007")
}
}
}
// semantic versioning for version code
def versionMajor = 3
def versionMinor = 20
def versionPatch = 2
def versionBuild = 90 // 0-50=Alpha / 51-98=RC / 90-99=stable
def ndkEnv = new HashMap<String, String>()
file("$project.rootDir/ndk.env").readLines().each() {
def (key, value) = it.tokenize('=')
ndkEnv.put(key, value)
}
android {
compileSdkVersion 31
// install this NDK version and Cmake to produce smaller APKs. Build will still work if not installed
ndkVersion "${ndkEnv.get("NDK_VERSION")}"
defaultConfig {
minSdkVersion 23
targetSdkVersion 30
buildConfigField 'boolean', 'CI', ciBuild.toString()
// arguments to be passed to functional tests
testInstrumentationRunner "com.nextcloud.client.ScreenshotTestRunner"
testInstrumentationRunnerArgument "TEST_SERVER_URL", "${NC_TEST_SERVER_BASEURL}"
testInstrumentationRunnerArgument "TEST_SERVER_USERNAME", "${NC_TEST_SERVER_USERNAME}"
testInstrumentationRunnerArgument "TEST_SERVER_PASSWORD", "${NC_TEST_SERVER_PASSWORD}"
testInstrumentationRunnerArguments disableAnalytics: 'true'
multiDexEnabled true
versionCode versionMajor * 10000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
if (versionBuild > 89) {
versionName "${versionMajor}.${versionMinor}.${versionPatch}"
} else if (versionBuild > 50) {
versionName "${versionMajor}.${versionMinor}.${versionPatch} RC" + (versionBuild - 50)
} else {
versionName "${versionMajor}.${versionMinor}.${versionPatch} Alpha" + (versionBuild + 1)
}
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
flavorDimensions "default"
buildTypes {
debug {
testCoverageEnabled (project.hasProperty('coverage'))
}
}
productFlavors {
// used for f-droid
generic {
applicationId 'com.nextcloud.client'
dimension "default"
}
gplay {
applicationId 'com.nextcloud.client'
dimension "default"
}
huawei {
applicationId 'com.nextcloud.client'
dimension "default"
}
versionDev {
applicationId "com.nextcloud.android.beta"
dimension "default"
versionCode 20220322
versionName "20220322"
}
qa {
applicationId "com.nextcloud.android.qa"
dimension "default"
versionCode 1
versionName "1"
}
}
testOptions {
unitTests.returnDefaultValues = true
animationsDisabled true
}
}
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
packagingOptions {
resources {
excludes += ['META-INF/LICENSE.txt', 'META-INF/LICENSE']
}
}
tasks.register("checkstyle", Checkstyle) {
configFile = file("${rootProject.projectDir}/checkstyle.xml")
configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
source 'src'
include '**/*.java'
exclude '**/gen/**'
classpath = files()
}
tasks.register("pmd", Pmd) {
ruleSetFiles = files("${project.rootDir}/ruleset.xml")
ignoreFailures = true // should continue checking
ruleSets = []
source 'src'
include '**/*.java'
exclude '**/gen/**'
reports {
xml.enabled = false
html.enabled = true
xml {
destination = file("$project.buildDir/reports/pmd/pmd.xml")
}
html {
destination = file("$project.buildDir/reports/pmd/pmd.html")
}
}
}
check.dependsOn 'checkstyle', 'spotbugsGplayDebug', 'pmd', 'lint', 'ktlintCheck', 'detekt'
buildFeatures {
dataBinding true
viewBinding true
}
kotlinOptions {
jvmTarget = "1.8"
}
lint {
abortOnError false
checkGeneratedSources true
disable 'MissingTranslation', 'GradleDependency', 'VectorPath', 'IconMissingDensityFolder', 'IconDensities', 'GoogleAppIndexingWarning', 'MissingDefaultResource', 'InvalidPeriodicWorkRequestInterval', 'StringFormatInvalid', 'MissingQuantity'
htmlOutput file("$project.buildDir/reports/lint/lint.html")
htmlReport true
}
}
dependencies {
// dependencies for app building
implementation 'androidx.multidex:multidex:2.0.1'
// implementation project('nextcloud-android-library')
implementation ("com.github.nextcloud:android-library:$androidLibraryVersion") {
exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version
}
compileOnly 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2' // remove after entire switch to lib v2
implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.5' // remove after entire switch to lib v2
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.5.0'
implementation 'com.jakewharton:disklrucache:2.0.2'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.webkit:webkit:1.4.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.exifinterface:exifinterface:1.3.3'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1"
implementation "androidx.work:work-runtime:$workRuntime"
implementation "androidx.work:work-runtime-ktx:$workRuntime"
implementation "androidx.fragment:fragment-ktx:1.4.1"
implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
compileOnly 'com.google.code.findbugs:annotations:3.0.1u2'
implementation 'commons-io:commons-io:2.11.0'
implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
implementation 'org.lukhnos:nnio:0.2'
implementation 'org.bouncycastle:bcpkix-jdk15to18:1.70'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.afollestad:sectioned-recyclerview:0.5.0'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.24'
implementation 'com.github.tobiaskaminsky:qrcodescanner:0.1.2.4' // 'com.github.blikoon:QRCodeScanner:0.1.2'
implementation 'com.google.android.flexbox:flexbox:3.0.0'
implementation('com.github.bumptech.glide:glide:3.8.0') {
exclude group: "com.android.support"
}
implementation 'com.caverock:androidsvg:1.4'
implementation 'androidx.annotation:annotation:1.3.0'
implementation 'com.vanniktech:emoji-google:0.8.0'
implementation "com.github.cotechde.hwsecurity:hwsecurity-fido:$fidoVersion"
implementation "com.github.cotechde.hwsecurity:hwsecurity-fido2:$fidoVersion"
// document scanner not available on FDroid (generic) due to OpenCV binaries
gplayImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
huaweiImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
qaImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
versionDevImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.7'
implementation "com.google.dagger:dagger:$daggerVersion"
implementation "com.google.dagger:dagger-android:$daggerVersion"
implementation "com.google.dagger:dagger-android-support:$daggerVersion"
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
implementation 'org.conscrypt:conscrypt-android:2.5.2'
implementation "com.google.android.exoplayer:exoplayer:$exoplayerVersion"
implementation "com.google.android.exoplayer:extension-okhttp:$exoplayerVersion"
implementation 'me.zhanghai.android.fastscroll:library:1.1.8'
// Shimmer animation
implementation 'io.github.elye:loaderviewlibrary:3.0.0'
// dependencies for markdown rendering
implementation "io.noties.markwon:core:$markwonVersion"
implementation "io.noties.markwon:ext-strikethrough:$markwonVersion"
implementation "io.noties.markwon:ext-tables:$markwonVersion"
implementation "io.noties.markwon:ext-tasklist:$markwonVersion"
implementation "io.noties.markwon:html:$markwonVersion"
implementation "io.noties.markwon:syntax-highlight:$markwonVersion"
implementation "io.noties:prism4j:$prismVersion"
kapt "io.noties:prism4j-bundler:$prismVersion"
implementation ('org.mnode.ical4j:ical4j:1.0.8') {
['org.apache.commons','commons-logging'].each {
exclude group: "$it"
}
}
if (project.hasProperty("leakCanary")) {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
}
// dependencies for local unit tests
testImplementation 'junit:junit:4.13.2'
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "androidx.test:core:$androidxTestVersion"
testImplementation "org.powermock:powermock-core:$powermockVersion"
testImplementation "org.powermock:powermock-module-junit4:$powermockVersion"
testImplementation "org.powermock:powermock-api-mockito2:$powermockVersion"
testImplementation 'org.json:json:20220320'
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
testImplementation 'androidx.arch.core:core-testing:2.1.0'
testImplementation "io.mockk:mockk:$mockkVersion"
testImplementation "io.mockk:mockk-android:$mockkVersion"
// dependencies for instrumented tests
// JUnit4 Rules
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation "androidx.test:rules:$androidxTestVersion"
// Android JUnit Runner
androidTestImplementation "androidx.test:runner:$androidxTestVersion"
androidTestUtil "androidx.test:orchestrator:$androidxTestVersion"
androidTestImplementation "androidx.test:core-ktx:$androidxTestVersion"
// Espresso
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-web:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-accessibility:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"
// Mocking support
androidTestImplementation 'com.github.tmurakami:dexopener:2.0.5' // required to allow mocking on API 27 and older
androidTestImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
androidTestImplementation "org.mockito:mockito-core:$mockitoVersion"
androidTestImplementation("org.mockito:mockito-android:$mockitoVersion") {
exclude group: "net.bytebuddy", module: "byte-buddy-android"
}
androidTestImplementation "net.bytebuddy:byte-buddy:$byteBuddyVersion"
androidTestImplementation "net.bytebuddy:byte-buddy-android:$byteBuddyVersion"
androidTestImplementation "io.mockk:mockk-android:$mockkVersion"
androidTestImplementation 'androidx.arch.core:core-testing:2.0.1'
androidTestImplementation "com.facebook.testing.screenshot:core:0.15.0"
// UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
// androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
// fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
//androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
androidTestImplementation 'tools.fastlane:screengrab:2.1.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "com.github.stateless4j:stateless4j:2.6.0"
// upon each update first test: new registration, receive push
gplayImplementation "com.google.firebase:firebase-messaging:23.0.2"
}
configurations.all {
resolutionStrategy{
cacheChangingModulesFor 0, 'seconds'
force 'org.objenesis:objenesis:2.6'
eachDependency { details ->
if ('org.jacoco' == details.requested.group) {
details.useVersion "$jacoco_version"
}
}
}
}
tasks.withType(Test) {
// increased logging for tests
testLogging {
events "passed", "skipped", "failed"
}
}
android.applicationVariants.all { variant ->
variant.outputs.all { output ->
outputFileName = "${output.baseName}-${variant.versionCode}.apk"
}
}
task installGitHooks(type: Copy, group: "development") {
description = "Install git hooks"
from("${project.rootDir}/scripts/hooks") {
include '*'
}
into "${project.rootDir}/.git/hooks"
}
detekt {
reports {
xml {
enabled = false
}
}
config = files("detekt.yml")
}
shot {
showOnlyFailingTestsInReports = ciBuild
// CI environment renders some shadows slightly different from local VMs
// Add a 0.5% tolerance to account for that
tolerance = ciBuild ? 0.5: 0
}
jacoco {
toolVersion = "$jacoco_version"
}
spotbugs {
ignoreFailures = true // should continue checking
effort = "max"
reportLevel = "medium"
}
tasks.withType(SpotBugsTask){task ->
String variantNameCap = task.name.replace("spotbugs", "")
String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
dependsOn "compile${variantNameCap}Sources"
excludeFilter = file("${project.rootDir}/spotbugs-filter.xml")
classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/classes/")
reports {
xml.enabled = false
html {
enabled = true
destination = file("$project.buildDir/reports/spotbugs/spotbugs.html")
}
}
}
+7 -3
View File
@@ -1,5 +1,5 @@
build:
maxIssues: 10
maxIssues: 11
weights:
# complexity: 2
# LongParameterList: 1
@@ -267,7 +267,9 @@ naming:
functionPattern: '^([a-z$][a-zA-Z$0-9]*)|(`.*`)$'
excludeClassPattern: '$^'
ignoreOverridden: true
excludes: "**/*Test.kt"
excludes:
- "**/*Test.kt"
- "**/*IT.kt"
FunctionParameterNaming:
active: true
parameterPattern: '[a-z][A-Za-z0-9]*'
@@ -389,7 +391,9 @@ style:
ignoreAnnotation: false
ignoreNamedArgument: true
ignoreEnums: false
excludes: "**/*Test.kt"
excludes:
- "**/*Test.kt"
- "**/*IT.kt"
MandatoryBracesIfStatements:
active: false
MaxLineLength:
+4 -4
View File
@@ -7,7 +7,7 @@
<issue id="InvalidPackage">
<ignore path="**/freemarker-2.*.*.jar" />
<ignore path="**/nnio-0.2.jar"/>
<ignore path="**/bcpkix-jdk15on-1.65.jar" />
<ignore path="**/bcpkix-jdk15on-1.69.jar" />
</issue>
<issue id="UnusedResources">
@@ -23,9 +23,7 @@
</issue>
<issue id="UnusedQuantity">
<ignore path="**/values-sk-rSK/strings.xml"/>
<ignore path="**/values-cs-rCZ/strings.xml"/>
<ignore path="**/values-lt-rLT/strings.xml"/>
<ignore path="**/values-**/strings.xml" />
</issue>
<issue id="ExtraTranslation">
@@ -35,6 +33,7 @@
<issue id="UnusedResources">
<ignore path="**/values-**/strings.xml" />
<ignore path="**/values/setup.xml" />
</issue>
<issue id="TypographyEllipsis">
@@ -43,6 +42,7 @@
<issue id="Typos">
<ignore path="**/values-**/strings.xml" />
<ignore path="**/values/setup.xml" />
</issue>
<issue id="TrustAllX509TrustManager">
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Loaded 100 of 2238 files, more files were not shown because too many files have changed in this diff. Show more