Álvaro Brey Vilas
c506cda8a6
FileDisplayActivity: ditch secondFragment for FileDetailsFragment, use leftFragment instead
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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] <support@github.com>
2022-02-11 11:09:39 +00:00
tobiasKaminsky
7ddbb65ca2
Use 512px for avatar
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
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 <tobias@kaminsky.me>
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] <support@github.com>
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 <tobias@kaminsky.me>
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] <support@github.com>
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 <bot@nextcloud.com>
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] <support@github.com>
2022-02-07 02:07:01 +00:00
Nextcloud bot
559c41d880
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-05 03:54:13 +00:00
Álvaro Brey Vilas
08e7a761dc
NaturalSortTest: shuffle instead of duplicating parameters
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2022-02-04 12:54:45 +01:00
Álvaro Brey Vilas
91297b7ce0
Test AlphanumComparator
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-02-04 10:49:08 +01:00
Nextcloud bot
927babb3bf
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2022-02-03 13:17:13 +01:00
Nextcloud bot
c437db409e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-03 03:55:06 +00:00
Nextcloud bot
dba8da00f0
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-02 03:55:45 +00:00
Nextcloud bot
190332ceaa
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2022-01-28 16:32:46 +01:00
Nextcloud bot
204cd5a2c5
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-28 03:54:54 +00:00
Valdnet
f28bc6f9f9
i18n: Change to a capital letter
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-27 17:12:02 +01:00
tobiasKaminsky
ebf59510fc
remove gplay.gradle, use gplayImplementation instead
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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] <support@github.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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