Álvaro Brey
2bb8c91965
Merge pull request #10132 from nextcloud/chore/cleanup-repositories
...
build: Clean up repository configuration
2022-05-02 09:45:42 +02:00
Nextcloud bot
ddb96e7b17
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-01 04:10:03 +00:00
Álvaro Brey Vilas
2bd8fb4240
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 <alvaro.brey@nextcloud.com>
2022-04-29 16:13:04 +02:00
Álvaro Brey Vilas
9463d2e668
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 <alvaro.brey@nextcloud.com>
2022-04-29 16:07:55 +02:00
Álvaro Brey Vilas
7e31a71ba0
FileDetailsSharing: Preserve selected date when recreating expiration date dialog
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 11:12:07 +00:00
Álvaro Brey Vilas
85dcbe542e
FileDetailsSharingProcess: force recreation of date picked on config changes
...
See added comment for details
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 11:12:07 +00:00
Álvaro Brey Vilas
8c2fc3ee87
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 <alvaro.brey@nextcloud.com>
2022-04-29 11:12:07 +00:00
Álvaro Brey Vilas
21ed337184
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 <alvaro.brey@nextcloud.com>
2022-04-29 11:43:11 +02:00
Álvaro Brey Vilas
4ff54bb48b
Fix and update testBottomSheet screenshot test
...
We can't edit the capability in FDA directly
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas
bdd1daa10e
SyncFileNotEnoughSpaceDialogFragment needs injector
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas
e023cedd7f
Fix GalleryAdapterTest
...
GalleryAdapter needs theme stuff now
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas
3ff35d46e6
Fix some spotbugs stuff
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas
56584c06e6
Fix detekt
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas
42c28dce70
ThemeModule: convert to Kotlin and fix copyright
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 06:38:14 +00:00
tobiasKaminsky
17828cb3b4
remove some spotbugs warnings
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas
f627f3d976
Fix injection ofr RenameFileDialogFragment
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas
6bd7d808f4
Put OCFileListBottomSheetDialog into a DialogFragment
...
Can't inject things into a Dialog
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 06:38:13 +00:00
tobiasKaminsky
74e17ee7c6
Fixes after rebase
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Fixes after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Fixes after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Fix after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-29 06:38:13 +00:00
Álvaro Brey Vilas
75cb8a767c
Remove SyncedFoldersActivity.java
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 06:38:13 +00:00
tobiasKaminsky
349a045b46
Move all Theme classes to DI
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Move all Theme classes to DI
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Move all Theme classes to DI
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-29 06:38:13 +00:00
Nextcloud bot
0a802b51da
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-29 04:11:37 +00:00
Álvaro Brey
c81c1c83aa
Merge pull request #10117 from nextcloud/chore/screenshot-test-reliability
...
Screenshot tests reliability improvements
2022-04-28 14:05:23 +02:00
Álvaro Brey Vilas
bc44b2c524
PasscodeActivityIT: add short sleep after closing keyboard
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-28 11:09:19 +02:00
tobiasKaminsky
73bb12f78a
Parallel thumbnail fetching
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-28 08:10:54 +00:00
Álvaro Brey Vilas
011d6c3ceb
ActivitiesActivityIT.error: more sleep
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-28 09:03:35 +02:00
Álvaro Brey Vilas
236925de99
Screenshot tests reliability improvements
...
Add more sleeps to SetupEncryptionDialogFragment.error and TrashBinActivity.empty, which fail frequently
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-28 09:03:29 +02:00
Álvaro Brey Vilas
d79b20dbc5
ActivitiesPresenterTest: Activity no longer has empty constructor
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 19:02:43 +02:00
Álvaro Brey Vilas
98177e3eb3
Fix crash in screenshot test due to changes in library
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 19:02:26 +02:00
Álvaro Brey
c20c3e4066
Merge pull request #10014 from nextcloud/spotbugs-improvements
...
Spotbugs improvements
2022-04-27 11:34:35 +02:00
Álvaro Brey
23dd1f30f1
Merge pull request #10113 from nextcloud/chore/unit-tests-gh-actions
...
Run unit tests in GH actions
2022-04-27 11:21:49 +02:00
dependabot[bot]
f93e65872a
Bump firebase-messaging from 23.0.2 to 23.0.3
...
Bumps firebase-messaging from 23.0.2 to 23.0.3.
---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-messaging
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-27 08:09:10 +00:00
Álvaro Brey Vilas
21a432dc9e
Generate spotbugs summary from xml
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 08:07:32 +00:00
Álvaro Brey Vilas
c850d14fc0
spotbugs: Use fancy stylesheet
...
MUCH more readable and easier to find stuff
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 08:07:32 +00:00
Álvaro Brey Vilas
3b80d4dc1f
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 <alvaro.brey@nextcloud.com>
2022-04-27 06:13:49 +00:00
Tobias Kaminsky
d61a8f3444
Merge pull request #10112 from nextcloud/fix/loginIT-master
...
Fix LoginIT for server master
2022-04-27 07:52:30 +02:00
Álvaro Brey
b3b3376c5b
Merge pull request #10069 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.9.0
...
Bump emoji-google from 0.8.0 to 0.9.0
2022-04-26 18:21:06 +02:00
Álvaro Brey Vilas
dd4a69d58c
LoginIT: convert to Kotlin
...
While we're at it
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-26 09:51:39 +02:00
Álvaro Brey Vilas
85b5bf6875
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 <alvaro.brey@nextcloud.com>
2022-04-26 09:45:32 +02:00
Nextcloud bot
bd139f1afb
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-26 04:11:10 +00:00
Álvaro Brey
d45e12c2b8
Merge pull request #10089 from nextcloud/remove-account-usage-from-manage-acconuts-activity
...
Remove account use from ManageAccountsActivity
2022-04-25 16:47:34 +02:00
dependabot[bot]
de0bcbb279
Bump shot from 5.13.0 to 5.14.0
...
Bumps [shot](https://github.com/pedrovgs/shot ) from 5.13.0 to 5.14.0.
- [Release notes](https://github.com/pedrovgs/shot/releases )
- [Commits](https://github.com/pedrovgs/shot/compare/5.13.0...5.14.0 )
---
updated-dependencies:
- dependency-name: com.karumi:shot
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 02:12:53 +00:00
Nextcloud bot
98075eba14
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-24 04:13:03 +00:00
Chris Narkiewicz
042c3758ac
Remove account use from ManageAccountsActivity
...
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2022-04-23 16:49:13 +01:00
Nextcloud bot
14aac48b90
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-23 04:00:20 +00:00
Nextcloud bot
7759475728
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-22 04:03:25 +00:00
Álvaro Brey
0c189a77b4
Merge pull request #10104 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.9.1
...
Bump leakcanary-android from 2.9 to 2.9.1
2022-04-21 09:29:36 +02:00
Nextcloud bot
7cc0d53cff
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-21 04:01:23 +00:00
dependabot[bot]
0b08f95361
Bump leakcanary-android from 2.9 to 2.9.1
...
Bumps [leakcanary-android](https://github.com/square/leakcanary ) from 2.9 to 2.9.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.9...v2.9.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] <support@github.com>
2022-04-21 01:05:49 +00:00
dependabot[bot]
f17cb72f99
Bump leakcanary-android from 2.8.1 to 2.9
...
Bumps [leakcanary-android](https://github.com/square/leakcanary ) from 2.8.1 to 2.9.
- [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.1...v2.9 )
---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-20 01:05:33 +00:00
Álvaro Brey Vilas
9e29b5cbc4
Remove FilesFilter, as it is unused
...
Only created in OCFileListAdapter, and then unused
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-19 14:19:38 +02:00