tobiasKaminsky
f34fff62a8
Fix #10176
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-05-06 07:55:29 +02:00
Nextcloud bot
73a18fbf6e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-06 04:11:46 +00:00
Álvaro Brey
be79e3cf37
Merge pull request #10152 from nextcloud/chore/update_fastlane
...
Update fastlane and fix huawei upload
2022-05-05 16:08:15 +02:00
Álvaro Brey
b897f09683
Merge pull request #10156 from nextcloud/bump-master-3.21
...
Bump master to 3.21.0
2022-05-05 15:57:12 +02:00
Álvaro Brey
ea4222a1ae
FileDisplayActivity: fix appbar for fast scroll
...
Adds padding at the bottom if appbar is not collapsed
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-05 15:51:58 +02:00
Álvaro Brey
09b95951c5
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 <alvaro.brey@nextcloud.com>
2022-05-05 15:51:58 +02:00
Tobias Kaminsky
d374d87c24
Merge pull request #10163 from nextcloud/fix/previewmedia-exoplayer-null
...
PreviewMediaFragment: prevent crash due to onStop called before exoplayer initialization
2022-05-05 15:28:03 +02:00
Tobias Kaminsky
4b0adb1bae
Merge pull request #10157 from nextcloud/drone-stable-24
...
Drone: test on stable 24
2022-05-05 13:42:22 +02:00
Álvaro Brey
12312393b2
Replace fastscroll library
...
Smoother scrolling
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-05 11:03:00 +02:00
Álvaro Brey
20ec696c99
Merge pull request #10171 from nextcloud/dependabot/gradle/com.google.android.material-material-1.6.0
...
Bump material from 1.5.0 to 1.6.0
2022-05-05 10:04:20 +02:00
Nextcloud bot
d6f6f36d52
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-05 04:12:34 +00:00
dependabot[bot]
362a8286a6
Bump material from 1.5.0 to 1.6.0
...
Bumps [material](https://github.com/material-components/material-components-android ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/material-components/material-components-android/releases )
- [Commits](https://github.com/material-components/material-components-android/compare/1.5.0...1.6.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] <support@github.com>
2022-05-05 01:07:03 +00:00
pelzvieh
5627e92619
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-04 17:40:32 +02:00
Álvaro Brey
aac4a0cd67
PreviewMediaFragment: prevent crash due to onStop called before exoplayer initialization
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-04 11:23:54 +02:00
Álvaro Brey
323fd34680
Merge pull request #10160 from nextcloud/dependabot/gradle/org.jlleitschuh.gradle-ktlint-gradle-10.3.0
...
Bump ktlint-gradle from 10.2.1 to 10.3.0
2022-05-04 11:17:59 +02:00
Nextcloud bot
1924041e4b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-04 04:19:43 +00:00
dependabot[bot]
bac992254c
Bump ktlint-gradle from 10.2.1 to 10.3.0
...
Bumps ktlint-gradle from 10.2.1 to 10.3.0.
---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle:ktlint-gradle
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 01:04:41 +00:00
Álvaro Brey
0ae42c892c
Drone: test on stable 24
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-03 15:59:44 +02:00
Álvaro Brey
520d17bb8b
Bump master to 3.21.0
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-03 15:58:59 +02:00
Álvaro Brey
4be4974c7e
Merge pull request #10151 from nextcloud/changelog-master-stable-3.20.0
...
Add changelog for 3.20.0
2022-05-03 15:04:18 +02:00
Álvaro Brey
1b021a9eb9
fastlane: huawei: Add delay before review
...
Otherwise we get an error, see https://github.com/shr3jn/fastlane-plugin-huawei_appgallery_connect/issues/34
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-03 12:48:11 +02:00
Álvaro Brey
ad5769c98c
Update fastlane and plugins
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-03 12:47:45 +02:00
Álvaro Brey
36062f7502
Add changelog for 3.20.0
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-03 12:42:55 +02:00
Nextcloud bot
76ab52499d
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-03 04:11:34 +00:00
Álvaro Brey
3c97b4b619
Merge pull request #10133 from nextcloud/fix/more-scrolling-bugs
...
Fix contents cut off when scrolling is locked
2022-05-02 18:10:53 +02:00
Álvaro Brey
f0b77e5751
Merge pull request #10052 from nextcloud/file_locking
...
File locking
2022-05-02 17:19:49 +02:00
Álvaro Brey
26aef8e462
Merge pull request #10134 from nextcloud/fix/dagger-mediacontrolview
...
Fix theme utils injection in custom views
2022-05-02 17:19:30 +02:00
Álvaro Brey
d34d3b419a
Fix mocking in FileMenuFilterIT
...
Not sure why this wasn't a compilation error
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-02 15:43:12 +02:00
Álvaro Brey
ba7a2192f3
Merge pull request #10140 from nextcloud/fix/directory-does-not-exist
...
FileDisplayActivity: wait until OCFileListFragment is initialized to trigger browseToRoot()
2022-05-02 14:56:57 +02:00
dependabot[bot]
0cd5f1b9f4
Bump codecov/codecov-action from 2 to 3
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 11:18:13 +00:00
Álvaro Brey
49ad952544
Restore library version, since library changes are merged
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-02 12:49:44 +02:00
Álvaro Brey Vilas
81ce812d86
Fix some licenses
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas
3eb3079757
Fix spotbugs
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas
f079f030cf
Remove unused resources
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas
f50d9f8451
Add test for FileMenuFilter that verifies file locking menu items
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas
6d40f25f29
Add unit tests for FileLockingHelper
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas
2cd2e29b86
FileMenuFilter: don't show lock options if there's no locking capability
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas
db30142ad3
Fix lock info in actionMode menu when selecting a single, locked, file
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas
f8ad9ae413
FileMenuFilter: don't show move, remove or rename options when file is locked
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas
d90083fc07
Show file lock info in actions menu instead of separate dialog
...
Requested by design team
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas
46ccddcef4
Combine lock indicator with overflow icon
...
Requested by design
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas
a902fb6f84
FileMenuFilter: properly filter lock/unlock depending on lock status
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas
a88b03a0c8
Show lock details when tapping on lock indicator
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas
68b2535481
Retrieve and persist more locking attributes from remote files
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas
356db04aa8
Add ability to toggle file lock from file context menu
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas
fd2435379a
FileDataStorageManager: small cleanup
...
- Remove two unused methods
- Make some fields final
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas
f5ecaf91d1
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 <alvaro.brey@nextcloud.com>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas
353afb119c
build.gradle: temporary library version
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas
b8cf8dade8
Store file locking capability
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-05-02 12:49:36 +02:00
Álvaro Brey
123cf4ad65
Merge pull request #10138 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.10
...
Bump byteBuddyVersion from 1.12.9 to 1.12.10
2022-05-02 12:10:55 +02:00