Compare commits

...
3676 Commits
Author SHA1 Message Date
Tobias Kaminsky 4a65a7c434 daily dev 20220119
remove not used videos drawer entry (#9708)
SessionMixin: set currentAccount to null when no accounts are available
FileContentProvider: make projection map unmodifiable
FileContentProvider: fix formatting
FileContentProvider: make projection arrays and map static
FileContentProvider: use projections for queries
2022-01-19 05:37:47 +01:00
Tobias Kaminsky 1e3a4a4a38 Merge remote-tracking branch 'origin/master' into dev 2022-01-19 05:31:07 +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
Tobias Kaminsky 602005d51a daily dev 20220118
ConflictsResolveActivity: remove upload is KEEP_SERVER and shouldDeleteLocal
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.
:Conflict files are removed from the upload storage manager after downloaded successfully.
Fix NPE in BackupFragment when fragment exits while refresh is happening
Screenshot tests: Improve Activities activity tests
Update translations
Update 3rd-party dependencies
2022-01-18 05:37:37 +01:00
Tobias Kaminsky c6f6f15720 Merge remote-tracking branch 'origin/master' into dev 2022-01-18 05:31:01 +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
Tobias Kaminsky 0c14bb9e15 daily dev 20220117
Update translations
Update Nextcloud Android library
2022-01-17 06:44:48 +01:00
Tobias Kaminsky 0b2755fc73 Merge remote-tracking branch 'origin/master' into dev 2022-01-17 05:33:54 +01: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
Tobias Kaminsky d12a3762c8 daily dev 20220115
remove unused test automation
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2022-01-15 06:45:44 +01:00
Tobias Kaminsky 3d99c8f561 Merge remote-tracking branch 'origin/master' into dev 2022-01-15 05:33:25 +01: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 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
Tobias Kaminsky 97cec8931d daily dev 20220114
SendFilesDialog: Show error if no app can send multiple files
IntentUtil: fix sending multiple files
Update 3rd-party dependencies
2022-01-14 05:38:13 +01:00
Tobias Kaminsky a84f3f02b8 Merge remote-tracking branch 'origin/master' into dev 2022-01-14 05:30:56 +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
Tobias Kaminsky f004ce8e5d daily dev 20220113
Merge pull request #9043 from nextcloud/updateScreenshotsTests
Update translations
2022-01-13 05:37:52 +01:00
Tobias Kaminsky 2d9cc06165 Merge remote-tracking branch 'origin/master' into dev 2022-01-13 05:30:59 +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
Tobias Kaminsky 311e7fcd62 daily dev 20220112
removed redundant changes
removed redundant changes
made all the suggested changes - removed xml unnecessary lines
made all the suggested changes
fixed the visibility of slider of dark theme issue# 9170
Update translations
2022-01-12 05:37:28 +01:00
Tobias Kaminsky 8d1f889594 Merge remote-tracking branch 'origin/master' into dev 2022-01-12 05:31:01 +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
Tobias Kaminsky 72abd7ba3a daily dev 20220111
l10n: fixed grammar
FileOperationsHelper: fix aliasing when toggling favorite files
Manually bump lib
ChooseTemplateDialog: Fix crash on prefillFilenameIfEmpty
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2022-01-11 06:45:17 +01:00
Tobias Kaminsky 890090e3f8 Merge remote-tracking branch 'origin/master' into dev 2022-01-11 05:34:25 +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
Tobias Kaminsky c09eb33fd4 daily dev 20220108
Run contacts backup job only when network is connected
FileOperationsHelper: remove duplicated flags in openFile
AuthenticatorAsyncTask: check if user info result is success before proceeding
Centralize creation of ACTION_SEND intents and explicitly grant READ_URI permission to them
Update translations
Update 3rd-party dependencies
2022-01-08 05:40:45 +01:00
Tobias Kaminsky 27632fecae Merge remote-tracking branch 'origin/master' into dev 2022-01-08 05:31:55 +01: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
Tobias Kaminsky 6471b8901e daily dev 20220107
Update translations
Update Nextcloud Android library
2022-01-07 06:45:41 +01:00
Tobias Kaminsky 26a1e524f7 Merge remote-tracking branch 'origin/master' into dev 2022-01-07 05:34:12 +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
Tobias Kaminsky dae3f9d87d daily dev 20220106
Clean up AccountRemovalWork
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2022-01-06 05:38:19 +01:00
Tobias Kaminsky 5ada039408 Merge remote-tracking branch 'origin/master' into dev 2022-01-06 05:31:18 +01: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
Tobias Kaminsky e803686a0e daily dev 20220104
Player: don't try to pause a non-running media player
Update translations
Update 3rd-party dependencies
2022-01-04 05:38:13 +01:00
Tobias Kaminsky d36da3c6f3 Merge remote-tracking branch 'origin/master' into dev 2022-01-04 05:31:22 +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
Tobias Kaminsky 82c2ee2338 daily dev 20211224
Bump Gradle for Log4j
Update translations
2021-12-24 05:40:08 +01:00
Tobias Kaminsky 17b91ff89d Merge remote-tracking branch 'origin/master' into dev 2021-12-24 05:30:56 +01: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
Tobias Kaminsky d70d8c4cc5 daily dev 20211223
Fastfile: fix requirement check syntax
FileDataStorageManager: remove obsolete TODO
Fix for too many thumbnails in autoupload settings
Remove obsolete TODO
FileContentProvider: Use SQLiteTokenizer for sortOrder verification too
FileContentProvider: prevent injection through selection parameters (where)
FileContentProvider: prevent injection in sortOrder argument for query()
FileContentProvider: remove unused method
FileContentProvider: don't verify projectionArray in query()
FileContentProvider: prevent injection through Uri arguments
FileContentProvider: prevent injection via ContentValues arguments
fastlane: Check some basic requirements before starting release phase 2
Fastfile: Fix indentation on sh command
Update fastlane and plugins
Fastfile: Fix checkIfAPKexists, as there's 3 APKs now
Update translations
2021-12-23 05:38:47 +01:00
Tobias Kaminsky 19fa7ec6e5 Merge remote-tracking branch 'origin/master' into dev 2021-12-23 05:32:01 +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
Tobias Kaminsky 98967ab24b daily dev 20211221
Adjust instruction how to link library in app
Update translations
2021-12-21 05:38:47 +01:00
Tobias Kaminsky 2231943cbd Merge remote-tracking branch 'origin/master' into dev 2021-12-21 05:31:28 +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
Tobias Kaminsky 5a924e87b2 daily dev 20211217
naming in conflicts by location instead of date
Bump Android Gradle PLugin to 7.0.4
Update Nextcloud Android library
Update 3rd-party dependencies
2021-12-17 06:47:21 +01:00
Tobias Kaminsky d9cf7d578c Merge remote-tracking branch 'origin/master' into dev 2021-12-17 05:34:54 +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
Tobias Kaminsky acd585c71e daily dev 20211216
Manifest: update code to disable WorkManagerInitializer
ViewModelFactory: fix compile errors for viewmodel-ktx changes
Fix mockito imports
Delete unused string
FileMenuFilter: Allow "Send" for single files if in file detail fragment
FileDetailSharingFragment: remove misleading "Open in..." option
Fix ktlint
Move Throttler to proper package
Write tests for Throttler
OCFileListFragment: don't delete search event if resuming a search fragment
Add huawei build flavor
UploadFilesActivity: don't attempt to check selectAll if selectAll is not visible in menu
fix tests
OcFileListFragment: throttle overflow menu clicks
Unified search: show error when there's no connection
OCFileListFragment: Solve triplicated search events
DrawerActivity: extract duplicated search launch logic to a method
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-12-16 06:46:56 +01:00
Tobias Kaminsky c96251349c Merge remote-tracking branch 'origin/master' into dev 2021-12-16 05:33:39 +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
Tobias Kaminsky b648f70cf3 daily dev 20211214
"last modified" column may not exist, thus it shall never fail to upload
Do not set notification manager to null in uploader service
When stopping PlayerService, do not use foreground service api
Migrate FileActivity.EXTRA_ACCOUNT to EXTRA_USER
Update translations
Update Nextcloud Android library
2021-12-14 06:45:23 +01:00
Tobias Kaminsky e44e793340 Merge remote-tracking branch 'origin/master' into dev 2021-12-14 05:34:04 +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
Tobias Kaminsky b59bab1c98 daily dev 20211211
FileDisplayActivity: Preserve title bar after resume
Unified search: clear focus from search view on open
Update translations
Update Nextcloud Android library
2021-12-11 06:55:56 +01:00
Tobias Kaminsky e281ee199f Merge remote-tracking branch 'origin/master' into dev 2021-12-11 05:43:38 +01: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
Tobias Kaminsky 933395b594 daily dev 20211210
Remove TODO
Don't make note mandatory for sharing
DatePickerDialog: fix theme
Fix upload button not active unless select all is clicked
"set picture as" needs temporary read permission
when re-logging in too fast, we stored an empty auth token
Better positioning of preview media fragment
Better fullscreen toggle
On video player hide next button, as it is always disabled
Upon move update folder size
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.
After favorite/unfavorite store this also in db, not only change it in UI
Rename remote path upon renaming
Fix vanishing files after gallery search
Explicitly set background for fragments
Extract string to get translated
update file size upon opening share dialog
Play button as overlay on videos is now more sharpe on large displays
Update footer upon restore/delete of a deleted file
highlight correct menu drawer icon
- correctly highlight selected sort order - combine uploadFilesView and localFilesListView enum, as both are the same
Expand send share dialog when in landscape mode
If no search results from any provider, show it
Show correct empty screen if gallery search returns empty
Ask for permission in UploadFilesActivity
FileDetailFragment: prevent NullPointerException if fileDetailSharingFragment is called too soon
UnifiedSearch: Fix opening non-file results with relative URLs
Update translations
Update Nextcloud Android library
2021-12-10 06:46:19 +01:00
Tobias Kaminsky d612da73f7 Merge remote-tracking branch 'origin/master' into dev 2021-12-10 05:34:01 +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
Tobias Kaminsky efc45800de daily dev 20211204
Refresh on favorite/shared view does search again, not showing root folder content
show mnemonic only if requested
upload files activity: update select all button when selected files changed
Remember selected files in upload files activity upon screen rotation
Upon select all in upload files activity, enable upload button
Remove unfavorited file from favorited search
Show trashbin error in a better way
Update Nextcloud Android library
2021-12-04 06:51:26 +01:00
Tobias Kaminsky 4a655cf591 Merge remote-tracking branch 'origin/master' into dev 2021-12-04 05:38:15 +01: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
Tobias Kaminsky 70aecfaeca daily dev 20211202
Merge pull request #9354 from nextcloud/fix/ip-port-login
Refresh gallery screen when deleting a file
DrawerActivity: resize server logo if it's too big
Update translations
Update 3rd-party dependencies
2021-12-02 05:39:34 +01:00
Tobias Kaminsky d52d684c63 Merge remote-tracking branch 'origin/master' into dev 2021-12-02 05:31:44 +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
Tobias Kaminsky b33b4befc1 daily dev 20211201
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-12-01 06:47:23 +01:00
Tobias Kaminsky 540689666e Merge remote-tracking branch 'origin/master' into dev 2021-12-01 05:34:14 +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
Tobias Kaminsky 295e91c027 daily dev 20211130
Fix lint issues with cursor indexes on compileSdk 31
Bump compileSDK to 31
Fix dialog template chooser when new file has no extension #9282
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-11-30 06:50:29 +01:00
Tobias Kaminsky 0f730b30ec Merge remote-tracking branch 'origin/master' into dev 2021-11-30 05:34:52 +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
Tobias Kaminsky 336228361b daily dev 20211127
favorite/unfavorite in details view
Update translations
2021-11-27 05:45:45 +01:00
Tobias Kaminsky e20ac0c7c3 Merge remote-tracking branch 'origin/master' into dev 2021-11-27 05:36:58 +01: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
Tobias Kaminsky 01162798f4 daily dev 20211126
Fix another NPE in FileDownloader
Fix NPE regression in FileDownloader
Changed error color of TextInputLayoutInputWarning
Changed input warning to use TextInputLayout setError
Updated input warning message functionality
Updated input warning message functionality
Added Javadoc comments
Added hidden file warning message to the rename file dialog. Resolves #7722
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-11-26 06:49:45 +01:00
Tobias Kaminsky 92c7a7a16c Merge remote-tracking branch 'origin/master' into dev 2021-11-26 05:34:39 +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
Tobias Kaminsky be85466b3d daily dev 20211125
Update translations
Update Nextcloud Android library
2021-11-25 06:45:48 +01:00
Tobias Kaminsky 3b26caa906 Merge remote-tracking branch 'origin/master' into dev 2021-11-25 05:33:38 +01: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
Tobias Kaminsky 6c4a7a5490 daily dev 20211124
Remove Account from ArbitraryDataProvider
AndroidManifest: allow querying for davdroid app.
Update translations
2021-11-24 05:38:24 +01:00
Tobias Kaminsky 3a8c017ada Merge remote-tracking branch 'origin/master' into dev 2021-11-24 05:31:23 +01: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
Tobias Kaminsky b6c675f639 daily dev 20211123
Migate OCUpload to User
Remove platform Account from FileDataStorageManager implementation
Update translations
Update Nextcloud Android library
2021-11-23 06:45:14 +01:00
Tobias Kaminsky 0355f41aa9 Merge remote-tracking branch 'origin/master' into dev 2021-11-23 05:33:42 +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
Tobias Kaminsky e131d978a9 daily dev 20211122
Update translations
Update Nextcloud Android library
2021-11-22 06:45:06 +01:00
Tobias Kaminsky f02d6cfa9c Merge remote-tracking branch 'origin/master' into dev 2021-11-22 05:34:27 +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 401fad858d daily dev 20211119
fix FDSM call
Removed deprecated FileDataStorageManager constructors entirely
Deprecate FileDataStorageManager constructors depending on legacy Account
Update translations
2021-11-19 09:49:45 +01:00
Tobias Kaminsky 489fc33e25 Merge remote-tracking branch 'origin/master' into dev 2021-11-19 09:44:26 +01: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
Tobias Kaminsky 0af6708e2a Merge remote-tracking branch 'origin/master' into dev 2021-11-19 06:36:56 +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
Tobias Kaminsky a2f3b513c4 Merge remote-tracking branch 'origin/master' into dev 2021-11-19 05:31:27 +01: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
Tobias Kaminsky a9d5e4dac9 daily dev 20211118
improve detekt score
make permission dialog brandable and themed
use padding instead of margin for SSO dialog whitespace
Update translations
Update 3rd-party dependencies
2021-11-18 05:38:43 +01:00
Tobias Kaminsky edaeabef5b Merge remote-tracking branch 'origin/master' into dev 2021-11-18 05:31:19 +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
Tobias Kaminsky 190986e1a0 daily dev 20211117
Update Nextcloud Android library
2021-11-17 06:46:32 +01: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
Tobias Kaminsky c75b8883ce daily dev 20211116
Unified search: createNextcloudClient should not be called from main thread
manifest: Even more intent queries
Expand intent query declarations in AndroidManifest
Keep track of PlayerService state instead of restarting it before closing
Starts foreground service before stopping it to avoid app crash when listening to an audio file
Query Param needs serial uid
Bugfix: Issue #9060 (Status bar with sorting/view mode disappears after playing video)
Update translations
Update 3rd-party dependencies
2021-11-16 05:39:17 +01:00
Tobias Kaminsky 08b3b19958 Merge remote-tracking branch 'origin/master' into dev 2021-11-16 05:31:25 +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
Tobias Kaminsky a0771700b1 daily dev 20211111
Manifest: allow app to query for apps that can resolve VIEW or SEND intents
Update translations
2021-11-11 05:39:18 +01:00
Tobias Kaminsky 8132a5f9d2 Merge remote-tracking branch 'origin/master' into dev 2021-11-11 05:31:36 +01: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
Tobias Kaminsky 4912df114c daily dev 20211110
Remove some unused resources
Add dialog to inform the user of storage permission
Enable StrictMode during development
Re-try to get file management permission if user does not enable it, and show toast.
PermissionUtil: fix version conditional
rename "read only" -> "view only"
Revert "Use internalTemporalPath instead of temporalPath"
Revert "DownloadFileOperation: use moveFile instead of File.renameTo"
Remove What's New screens for scoped storage
Ditch scoped storage, try MANAGE_EXTERNAL_STORAGE
spotbugs: Show list of scanned files
build.gradle: Refactor spotbugs setup
Update translations
Update Nextcloud Android library
2021-11-10 06:49:15 +01:00
Tobias Kaminsky fe8d9bb20c Merge remote-tracking branch 'origin/master' into dev 2021-11-10 05:36:16 +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
Tobias Kaminsky 5c0b81c6b7 daily dev 20211109
i18n: Minor changes to sentence
Translation files must be one line
Disable leakCanary for CI builds
Use LeakCanary in debug mode
Update translations
Update Nextcloud Android library
2021-11-09 06:47:31 +01:00
Tobias Kaminsky 9a0814bffa Merge remote-tracking branch 'origin/master' into dev 2021-11-09 05:34:50 +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
Tobias Kaminsky 215ffd6d8a daily dev 20211106
Update Nextcloud Android library
Update 3rd-party dependencies
2021-11-06 06:48:53 +01:00
Tobias Kaminsky a71006ef2f Merge remote-tracking branch 'origin/master' into dev 2021-11-06 05:35:16 +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
Tobias Kaminsky 39a830dd4e daily dev 20211105
What's new: add second page of info for sdk30 storage update
AppInfo: add getVersionName, remove getFormattedVersionCode
Use package specific action
Add What's New view to warn users of changes in storage after sdk 30
Add missing copyright header to PermissionUtil
DownloadFileOperation: use moveFile instead of File.renameTo
Use internalTemporalPath instead of temporalPath
CONTRIBUTING: add indication that commits should be signed off.
Fix PermissionUtil after rebase
Fix storage permissions in debug manifest too
MediaProvider: remove useless parens
AbstractIT: adaptations to make integration tests work in sdk 30
Request READ_EXTERNAL_STORAGE in API >= 30
COntentResolverHelper: sort column must be an array
ContentResolverHelper: add tests and proper copyright headers
build.gradle: Bump mockK to fix test crashes in API 30 emulators
MediaProvider: solve crash on Android 11 due to invalid contentProvider queries
Fix some type errors after sdk 30 bump
Bump compileSdk and targetSdk to 30
Unified search: skip local file check for non-file results
Update Nextcloud Android library
2021-11-05 06:48:09 +01:00
Tobias Kaminsky 47fba8ac42 Merge remote-tracking branch 'origin/master' into dev 2021-11-05 05:34:01 +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
Tobias Kaminsky 3d05811dce daily dev 20211104
Prevent duplicate Settings activity on back stack
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-11-04 07:02:50 +01: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
Tobias Kaminsky 85f162a11b Merge remote-tracking branch 'origin/master' into dev 2021-11-03 05:34:07 +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
Tobias Kaminsky 9b54fe79f8 daily dev 20211031
Update translations
Update Nextcloud Android library
2021-10-31 05:38:48 +01:00
Tobias Kaminsky 20d7493535 Merge remote-tracking branch 'origin/master' into dev 2021-10-31 05:31:17 +01:00
Nextcloud bot 3abf27f947 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-30 03:50:46 +00:00
Tobias Kaminsky 6c6c636e19 Merge remote-tracking branch 'origin/master' into dev 2021-10-30 05:33:49 +02:00
Nextcloud bot f9bfb044dc [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-29 03:49:55 +00:00
Tobias Kaminsky d5f0de0eb3 daily dev 20211029
ConnectivityService: handle SecurityException in getNetworkCapabilities
fastlane: Restore version prompt for RC releases
Update translations
2021-10-29 05:38:42 +02:00
Tobias Kaminsky 88258d6c90 Merge remote-tracking branch 'origin/master' into dev 2021-10-29 05:31:20 +02: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 f32ae12f73 daily dev 20211028
AccountManagerService needs to be exported
Update translations
2021-10-28 05:38:03 +02:00
Tobias Kaminsky 818c015ecf daily dev 20211027
AccountManagerService needs to be exported
Update translations
2021-10-27 20:08:36 +02:00
Tobias Kaminsky e2eb323ba7 Merge remote-tracking branch 'origin/master' into dev 2021-10-27 20:01:32 +02: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
Tobias Kaminsky 44cb798fc7 daily dev 20211027
Remove unneeded checks for M build target
Bump master to 3.19 alpha
AndroidManifest: remove resources with maxSDK=22
TestPowerManagementService: Bump SDK version used for test
Bump minSdk version to 23
Bump OUTDATED_SERVER_VERSION to 19
Optimize imports
remove unused foreground (which was working only on API23+)
FileDisplayActivity: fix new spotbugs warning
Unified search: solve RTL symmetry warnings
Unified search: show context leak in UnifiedSearchViewModel
Unified search: add placeholder icon for Deck
Unified search: better placeholder icons
Unified search: fix inverted success value for "load more"
Unified search: Round thumbnails when requested by server
GetRemoteFileTask: pass User directly instead of account
Restore master branch for library
Unified search: minor UI improvements
Unified search: cleanup viewmodel usage with interface
Unified search: fix opening non-file results (open in a browser)
fix loading message
Unified search: bind search view on US fragment to allow subsequent searches
Unified search: set toolbar title to search query
Unified search: several UI and navigation improvements
Unified search: Show error messages, loading anim, click animations. Implement refresh.
Unified search: transform results in ViewModel and fix "load more" behaviour
Unified search: do not show "load more" if there are no more results
Unified search: basic "Load more" functionality
Unified search: always show files results first
Unified seach: allow querying different providers asynchronously, and get their IDs in the result
Unified search: get search to fetch and show multiple providers
FileDisplayActivity: Restore showFile function that was lost in the rebase
Suppress detekt at UnifiedSearchItemViewHolder
Fix build errors after rebase
ktlint: proper code formatting
wip
wip
wip
wip
Sharing dialog: fix spotbugs
File sharing: remove unused background parameters that were triggering lint
Reduce lint
Patch up integration tests for file sharing
Sharing dialog: fix accessibility in bottom sheet
fix ktlint
Sharing dialog improvement
Profile page
Calendar backup/import
I think we can disable this, as we only pass objects from our code / Android
Suppress walled network check when on metered wifi
Fix NPE during contacts backup
Fix NPE in ConflictsResolveActivity
remove icon mapping
add rfc822 to mimetypeutil
Handle 'Stream with...' option in PreviewMediaFragment
Update translations
Update Nextcloud Android library
2021-10-27 05:40:05 +02:00
Tobias Kaminsky b81aa800c1 Merge remote-tracking branch 'origin/master' into dev 2021-10-27 05:31:19 +02: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
Tobias Kaminsky 3d3664af1a Merge remote-tracking branch 'origin/master' into dev 2021-10-26 05:34:51 +02: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
Tobias Kaminsky 4e97f0ab82 daily dev 20211024
Fix NPE crash when uploading files
Update translations
2021-10-24 05:38:44 +02:00
Tobias Kaminsky d8f9f13d32 Merge remote-tracking branch 'origin/master' into dev 2021-10-24 05:31:29 +02: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
Tobias Kaminsky e029454f29 daily dev 20211023
Delete unused "File observer" notification channel
Fix notification channel strings not being updated
Make notification channel names less technical
fix image dimensions
fastlane: makeReleases: call androidVersion directly instead of getting from parameter
fastlane: Don't use rename command
align search bar text with items
make search bar more circular
Deprecate FileDataStorageManager constructors depending on legacy Account
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-10-23 05:38:17 +02:00
Tobias Kaminsky 977aa7891a Merge remote-tracking branch 'origin/master' into dev 2021-10-23 05:31:20 +02: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
Tobias Kaminsky 3741fd9d47 Merge remote-tracking branch 'origin/master' into dev 2021-10-22 05:34:55 +02: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
Tobias Kaminsky 2da4bc0324 daily dev 20211021
Fix GHSL-2021-1008 by using permission instead of readPermission
Fix typo in CONTRIBUTING.md
Update translations
2021-10-21 05:38:26 +02:00
Tobias Kaminsky aff140f3b7 Merge remote-tracking branch 'origin/master' into dev 2021-10-21 05:31:51 +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
Tobias Kaminsky 2c17dba045 daily dev 20211020
Explicitly specify exported="true/false" for all
Update translations
Update Nextcloud Android library
2021-10-20 05:38:02 +02:00
Tobias Kaminsky 634cd4e283 Merge remote-tracking branch 'origin/master' into dev 2021-10-19 05:34:52 +02: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
Tobias Kaminsky f9a86bc568 daily dev 20211016
Revert "AndroidManifest: don't request WRITE_EXTERNAL_STORAGE above api 29"
AndroidManifest: don't request WRITE_EXTERNAL_STORAGE above api 29
Check if UI bindings are valid when selecting preview text
Do not mark comments as read when FileDetailActivitiesFragment is detached
Migrate SynchronizeFolderOperation to new User model
Suppress fullscreen option when previewing audio files
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-10-16 05:39:34 +02: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
Tobias Kaminsky 1356315abf Merge remote-tracking branch 'origin/master' into dev 2021-10-15 05:33:42 +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
Tobias Kaminsky 7bec69a236 Merge remote-tracking branch 'origin/master' into dev 2021-10-11 05:31:12 +02:00
Nextcloud bot 6b855fb2f9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-10 03:51:38 +00:00
Tobias Kaminsky c88ce51e5b Merge remote-tracking branch 'origin/master' into dev 2021-10-09 05:31:06 +02: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
Tobias Kaminsky 3f27ad94f7 Merge remote-tracking branch 'origin/master' into dev 2021-10-08 05:33:36 +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
Tobias Kaminsky 34e1f42d1d daily dev 20211007
Force JaCoCo version 0.8.7
add missing changes from #8781
spotbugs: remove primitive boxing
spotbugs: remove redundant nullcheck of doubleCheck
lint: Using android:onClick on older version of the platform is broken
AS Arctic Fox | 2020.3.1 Update to Gradle/AGP 7.0.2 Removed obsolete DSL element 'dexOptions'
build: Use jacoco 0.8.7 for compatibility with Kotlin 1.5
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-10-07 05:41:25 +02:00
Tobias Kaminsky 0cbdd464f1 Merge remote-tracking branch 'origin/master' into dev 2021-10-07 05:31:36 +02: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
Tobias Kaminsky 6f111b08d1 Merge remote-tracking branch 'origin/master' into dev 2021-10-06 05:34:17 +02: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
Tobias Kaminsky 58d5ae8935 daily dev 20211002
Remove setHasFixedSize as it is not needed
Update Nextcloud Android library
Update 3rd-party dependencies
2021-10-02 05:37:47 +02:00
Tobias Kaminsky 40601d2ddb Merge remote-tracking branch 'origin/master' into dev 2021-10-02 05:31:12 +02: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
Tobias Kaminsky 3e8fcbe7d0 Merge remote-tracking branch 'origin/master' into dev 2021-10-01 05:33:36 +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
Tobias Kaminsky edab60017b daily dev 20210930
Enhance screenshot handling
Fix: boxed primitive for compare
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-09-30 06:33:19 +02:00
Tobias Kaminsky 7d8fd59758 Merge remote-tracking branch 'origin/master' into dev 2021-09-30 05:34:04 +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
Tobias Kaminsky 1320eb0ebe Merge remote-tracking branch 'origin/master' into dev 2021-09-29 05:35:41 +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
Tobias Kaminsky c1a5bbdb55 daily dev 20210928
add license header, clear comments in PatchMethod class
add custom PatchMethod class to use http PATCH requests with the Nextcloud SSO api
Update translations
2021-09-28 05:38:25 +02:00
Tobias Kaminsky 6bb30b2388 Merge remote-tracking branch 'origin/master' into dev 2021-09-28 05:31:52 +02: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
Tobias Kaminsky d4fce65b39 daily dev 20210926
build.gradle: installGitHooks: add description and group
Add simple git hooks and gradle task to install them
Update translations
2021-09-26 05:37:20 +02:00
Tobias Kaminsky 5b09165f38 Merge remote-tracking branch 'origin/master' into dev 2021-09-26 05:31:15 +02: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
Tobias Kaminsky fe3f2369ce daily dev 20210925
Update translations
Update Nextcloud Android library
2021-09-25 05:37:31 +02: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
Tobias Kaminsky 882d1b4472 Merge remote-tracking branch 'origin/master' into dev 2021-09-24 05:35:33 +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
Tobias Kaminsky de17d8230c Merge remote-tracking branch 'origin/master' into dev 2021-09-23 05:41:35 +02: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
Tobias Kaminsky 05fd24bcd2 daily dev 20210921
Update translations
Update Nextcloud Android library
2021-09-21 05:37:44 +02:00
Tobias Kaminsky 9fd08e634b Merge remote-tracking branch 'origin/master' into dev 2021-09-21 05:31: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
Tobias Kaminsky fb9a566ae5 Merge remote-tracking branch 'origin/master' into dev 2021-09-20 05:34:55 +02: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
Tobias Kaminsky 0d3c5cd1fb daily dev 20210916
Update translations
2021-09-16 05:37:13 +02:00
Tobias Kaminsky e5c8444e37 Merge remote-tracking branch 'origin/master' into dev 2021-09-16 05:31:08 +02: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
Tobias Kaminsky cfc957076b daily dev 20210914
Update translations
Update 3rd-party dependencies
2021-09-14 05:39:39 +02:00
Tobias Kaminsky 76498f4978 Merge remote-tracking branch 'origin/master' into dev 2021-09-14 05:31:42 +02: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
Tobias Kaminsky 3fcaa85884 daily dev 20210913
Update translations
2021-09-13 05:47:41 +02:00
Tobias Kaminsky b2ed5fcb9f Merge remote-tracking branch 'origin/master' into dev 2021-09-13 05:41:24 +02: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
Tobias Kaminsky 80431aca29 daily dev 20210911
l10n: Spelling unification
Update translations
2021-09-11 05:37:36 +02:00
Tobias Kaminsky f5b9ba1364 Merge remote-tracking branch 'origin/master' into dev 2021-09-11 05:31:42 +02: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
Tobias Kaminsky 81e45b908a daily dev 20210910
Migrate ThumbnailCacheManager to User model
Update translations
Update 3rd-party dependencies
2021-09-10 05:40:08 +02:00
Tobias Kaminsky fd2622fb5b Merge remote-tracking branch 'origin/master' into dev 2021-09-10 05:31:46 +02: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
Tobias Kaminsky 70836841b6 daily dev 20210909
Update translations
Update Nextcloud Android library
2021-09-09 05:37:39 +02:00
Tobias Kaminsky dacbc57fc0 Merge remote-tracking branch 'origin/master' into dev 2021-09-09 05:31:04 +02: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
Tobias Kaminsky 578cf1a126 Merge remote-tracking branch 'origin/master' into dev 2021-09-08 05:34:37 +02: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
Tobias Kaminsky 54d6f1aee2 daily dev 20210907
Fix opening downloaded files when offline (#5265)
Downgrade fido version to 4.1.0
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-09-07 05:38:05 +02:00
Tobias Kaminsky ebdac8795b Merge remote-tracking branch 'origin/master' into dev 2021-09-07 05:31:09 +02: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
Tobias Kaminsky ac5fead1cc daily dev 20210906
Change to a capital letter
Update translations
2021-09-06 05:39:24 +02:00
Tobias Kaminsky ea3bd0d3cc Merge remote-tracking branch 'origin/master' into dev 2021-09-06 05:32:41 +02: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
Tobias Kaminsky 81d200c6ed daily dev 20210904
Notification buttons enhancement  (#8932)
Revert Shot to get screenshots again
Update 3rd-party dependencies
2021-09-04 05:40:44 +02:00
Tobias Kaminsky 7fa61fd363 Merge remote-tracking branch 'origin/master' into dev 2021-09-04 05:32:01 +02: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
Tobias Kaminsky 5a01c6829d daily dev 20210903
build: Exclude xpp3 dependency from library
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-09-03 07:10:05 +02:00
Tobias Kaminsky 57c5e8f586 Merge remote-tracking branch 'origin/master' into dev 2021-09-03 03:34:59 +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
Tobias Kaminsky 9014a10c1c Merge remote-tracking branch 'origin/master' into dev 2021-09-02 03:36:56 +02:00
Nextcloud bot 052df0f42c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-01 03:54:48 +00:00
Tobias Kaminsky 24fb4ba6c6 Merge remote-tracking branch 'origin/master' into dev 2021-09-01 03:34:46 +02: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
Tobias Kaminsky a171db3af6 Merge remote-tracking branch 'origin/master' into dev 2021-08-31 03:34:25 +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
Tobias Kaminsky 5a00f17ec8 daily dev 20210828
Update translations
Update Nextcloud Android library
2021-08-28 03:46:43 +02:00
Tobias Kaminsky 78519c591e Merge remote-tracking branch 'origin/master' into dev 2021-08-28 03:36:23 +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
Tobias Kaminsky 7df6e3e6fc daily dev 20210826
Update Nextcloud Android library
2021-08-26 07:10:30 +02:00
Tobias Kaminsky 52f9c450f7 daily dev 20210825
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-08-25 10:53:32 +02:00
Tobias Kaminsky c17d1ac918 Merge remote-tracking branch 'origin/master' into dev 2021-08-25 10:27:36 +02:00
Nextcloud bot 7039208461 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-25 03:54:06 +00:00
Tobias Kaminsky 68575c44f2 Merge remote-tracking branch 'origin/master' into dev 2021-08-24 07:00:32 +02:00
Nextcloud bot 5eba647fb5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-24 03:55:02 +00:00
Tobias Kaminsky 4899ea6578 Merge remote-tracking branch 'origin/master' into dev 2021-08-24 03:37:14 +02: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
Tobias Kaminsky a6bdfdb467 Merge remote-tracking branch 'origin/master' into dev 2021-08-22 03:35:30 +02:00
Nextcloud bot 95e4e8a7a0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-21 03:57:24 +00:00
Tobias Kaminsky 578a2a0e17 Merge remote-tracking branch 'origin/master' into dev 2021-08-21 03:36:58 +02:00
Nextcloud bot 6b902c68bf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-20 03:55:28 +00:00
Tobias Kaminsky 9605ebdd1d Merge remote-tracking branch 'origin/master' into dev 2021-08-20 03:38:24 +02: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
Tobias Kaminsky d5ed34077a Merge remote-tracking branch 'origin/master' into dev 2021-08-19 03:34:47 +02:00
Nextcloud bot f9813bcdcb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-18 03:55:17 +00:00
Tobias Kaminsky 7bd364eba9 Merge remote-tracking branch 'origin/master' into dev 2021-08-18 03:36:56 +02: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
Tobias Kaminsky d44570e579 daily dev 20210814
catch AccountNotFoundException from createNextcloudClient
Delete app password on account removal
Removed Account dependency from preview fragments
Update Nextcloud Android library
Update 3rd-party dependencies
2021-08-14 03:48:52 +02:00
Tobias Kaminsky 05e5286216 Merge remote-tracking branch 'origin/master' into dev 2021-08-14 03:35:41 +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 8e8d9b69bf Merge remote-tracking branch 'origin/master' into dev 2021-08-12 03:38:25 +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
Tobias Kaminsky b08cd6f955 daily dev 20210811
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-08-11 03:38:53 +02:00
Tobias Kaminsky 3ffa5582f0 Merge remote-tracking branch 'origin/master' into dev 2021-08-11 03:31:09 +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
Tobias Kaminsky db850ee092 Merge remote-tracking branch 'origin/master' into dev 2021-08-10 03:37:50 +02: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
Tobias Kaminsky b01739c359 daily dev 20210807
ktlint: reformat kotlin
Avoid redundant call to getConnectivity()
Revert translation files that shouldn't have been changed
don't go over 120 characters
Use notificationID as requestcode to allow multiple android notifications
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-08-07 03:47:20 +02:00
Tobias Kaminsky c3cb9361d1 Merge remote-tracking branch 'origin/master' into dev 2021-08-07 03:34:24 +02: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
Tobias Kaminsky 1f409a12fa daily dev 20210806
Renamed QueryPair
Renamed QueryPair
Use own QueryPair implementation that supports serializable
Fix another NPE when parameterV2 is null
fix possible NPE
SSO: support of parameter v2, which allows to have multiple values for same key
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-08-06 06:53:51 +02:00
Tobias Kaminsky d4b062c3d4 Merge remote-tracking branch 'origin/master' into dev 2021-08-06 06:46:39 +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
Tobias Kaminsky 40a8fba7bd Merge remote-tracking branch 'origin/master' into dev 2021-08-06 03:37:13 +02: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
Tobias Kaminsky f0cf4dae62 Merge remote-tracking branch 'origin/master' into dev 2021-08-05 03:36:40 +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 04067364cf Merge remote-tracking branch 'origin/master' into dev 2021-08-04 03:36:44 +02: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
Tobias Kaminsky 2be4484922 daily dev 20210803
Replace server and server.com with an invalid domain everywhere.
Update translations
Update Nextcloud Android library
2021-08-03 03:45:11 +02:00
Tobias Kaminsky 3b6a3e5fcd Merge remote-tracking branch 'origin/master' into dev 2021-08-03 03:36:24 +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
Tobias Kaminsky d432c1c0f9 daily dev 20210801
Pass user info result upon success
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-08-01 03:46:51 +02: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
Tobias Kaminsky 5c52cd20d3 Merge remote-tracking branch 'origin/master' into dev 2021-07-31 03:37:12 +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
Tobias Kaminsky 6d6d4cea20 daily dev 20210726
explicitely add facedbook-screenshot dependencies
Fix exception when running CommentFileOperation
Update 3rd-party dependencies
2021-07-26 03:44:04 +02:00
Tobias Kaminsky d8ad436db4 Merge remote-tracking branch 'origin/master' into dev 2021-07-26 03:32:27 +02: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
Tobias Kaminsky 2a30bd95c1 daily dev 20210725
For SyncOperation FileDataStorageManager is required, therefore this is now part of constructor, whereas it before was only part of .execute()
Remove .gitmodules and references to submodules in SETUP.md
Use new dav
Update bundle for Fastlane
Change to uppercase
update bouncycastle to 1.69
Update translations
Update Nextcloud Android library
2021-07-25 03:41:41 +02:00
Tobias Kaminsky ce4f5c84c2 Merge remote-tracking branch 'origin/master' into dev 2021-07-25 03:33:17 +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
Tobias Kaminsky 2da82cf38c Merge remote-tracking branch 'origin/master' into dev 2021-07-24 03:36:25 +02: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
Tobias Kaminsky 872d0c5424 Merge remote-tracking branch 'origin/master' into dev 2021-07-23 03:38:03 +02: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
Tobias Kaminsky 9860ed1a6e daily dev 20210722
Fix test for DocumentsStorageProvider
Mockito 3.11.2 seems to have trouble for us, therefore reverting
Update Nextcloud Android library
2021-07-22 03:44:55 +02:00
Tobias Kaminsky 11866fd2c5 Merge remote-tracking branch 'origin/master' into dev 2021-07-22 03:36:28 +02: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
Tobias Kaminsky 42b4037a7e daily dev 20210720
Initialize last displayed user to correct empty Optional in FileDisplayActivity
remove break due to rebase
Update WebView
improve spotbugs score
remove obsolete Butterknife dependency
implement native view bindings in activities/fragments/adapters
replace switch statements with if/else since resource ids will be non-final in Android Gradle Plugin version 7.0
Migrate FileDisplayActivity to User model
Remove unused UserListItem.getAccount() method
Fix NPE when navigating out of PreviewMediaFragment during video loading
respect dark mode for web view
Add license header and remove duplicate empty lines
Normalize input URL scheme during auth process
Remove Account from UploadsStorageManager
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-07-20 03:40:21 +02:00
Tobias Kaminsky 4aa8dc0e08 Merge remote-tracking branch 'origin/master' into dev 2021-07-20 03:34:27 +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
Tobias Kaminsky e5bcdfd277 Merge remote-tracking branch 'origin/master' into dev 2021-07-18 03:35:41 +02: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
Tobias Kaminsky d35a430e22 Merge remote-tracking branch 'origin/master' into dev 2021-07-17 03:40:30 +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
Tobias Kaminsky 9a3ef2dc5f Merge remote-tracking branch 'origin/master' into dev 2021-07-14 03:39:25 +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
Tobias Kaminsky 223774375c Merge remote-tracking branch 'origin/master' into dev 2021-07-12 03:35:46 +02: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
Tobias Kaminsky 91df4022a6 daily dev 20210709
Update Nextcloud Android library
2021-07-09 03:40:55 +02:00
Tobias Kaminsky d781ff04eb daily dev 20210707
Bump master after split off of 3.17
move service dismissal to handler to prevent race-condition
Update translations
2021-07-07 03:41:31 +02:00
Tobias Kaminsky aaf38dc4d2 Merge remote-tracking branch 'origin/master' into dev 2021-07-07 03:35:08 +02:00
Andy Scherzinger eec5c43c23 Merge pull request #8664 from nextcloud/bumpMaster
Bump master after split off of 3.17
2021-07-06 14:11:27 +02:00
Tobias Kaminsky 646251c197 Merge pull request #8630 from nextcloud/fix/8308/dismiss-service-when-in-backgroud
move service dismissal to handler to prevent race-condition
2021-07-06 09:14:08 +02:00
tobiasKaminsky c875c7e572 Bump master after split off of 3.17
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-06 09:12:56 +02:00
tobiasKaminsky c867764fde Add stable-* to drone.yml
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-06 08:36:34 +02:00
Nextcloud bot 2f7072e720 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-06 03:55:57 +00:00
Tobias Kaminsky 3b22a50a02 daily dev 20210706
Update translations
Update Nextcloud Android library
2021-07-06 03:40:14 +02:00
Tobias Kaminsky b18dda0ca5 Merge remote-tracking branch 'origin/master' into dev 2021-07-05 03:37:56 +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
Nextcloud bot 7675066907 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-04 03:52:22 +00:00
Tobias Kaminsky b9fcd433b1 daily dev 20210704
SyncOperation always need fileDataStorageManager: throw an Exception if not properly started Fix ContactsBackupWork
Add new ShareType: GUEST, FEDERATED_GROUP, DECK Moved SearchRemoteOperation and GetSharesRemoteOperation to use typed response
missing share type: federated group
revert Kotlin version to make Jacoco work again
Update translations
Update Nextcloud Android library
2021-07-04 03:41:35 +02:00
Tobias Kaminsky 31d112d63b Merge remote-tracking branch 'origin/master' into dev 2021-07-03 03:43:04 +02:00
Andy Scherzinger 005c80ba20 Merge pull request #8631 from nextcloud/feat/rebase-template
Update command-rebase.yml from template
2021-07-02 11:25:46 +02:00
Tobias Kaminsky 33157b5e66 Merge pull request #8639 from nextcloud/shareType
Add new ShareType: GUEST, FEDERATED_GROUP, DECK, DECK_USER
2021-07-02 09:08:11 +02:00
Tobias Kaminsky 16243c2909 Merge pull request #8647 from nextcloud/fixContactBackup
SyncOperations always need fileDataStorageManager: throw an Exception if not properly started
2021-07-02 07:13:54 +02:00
Nextcloud bot dd86175529 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-02 05:03:28 +00:00
Tobias Kaminsky 8cbca507a3 Merge remote-tracking branch 'origin/master' into dev 2021-07-02 03:43:12 +02:00
tobiasKaminsky 262c156fd2 SyncOperation always need fileDataStorageManager: throw an Exception if not properly started
Fix ContactsBackupWork

Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-01 12:04:13 +02:00
tobiasKaminsky 2d9c4176a0 Add new ShareType: GUEST, FEDERATED_GROUP, DECK
Moved SearchRemoteOperation and GetSharesRemoteOperation to use typed response

Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-01 10:14:11 +02:00
tobiasKaminsky 4a6aa837c8 missing share type: federated group
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-01 10:14:11 +02:00
Tobias Kaminsky 1a65296042 Merge pull request #8565 from nextcloud/revertKotlin
revert Kotlin version to make Jacoco work again
2021-07-01 10:13:02 +02:00
Tobias Kaminsky b36e0c2ae8 daily dev 20210701 2021-07-01 03:41:11 +02:00
Tobias Kaminsky 580551658a Merge remote-tracking branch 'origin/master' into dev 2021-07-01 03:32:16 +02:00
tobiasKaminsky 0a287e0b45 alwas upload code coverage
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-30 06:33:40 +00:00
tobiasKaminsky e670dc1956 revert Kotlin version to make Jacoco work again
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-30 06:33:40 +00:00
Tobias Kaminsky d6ed606c34 Merge pull request #8642 from nextcloud/revert-8567-localID
Revert "better localId"
2021-06-30 08:13:50 +02:00
Tobias Kaminsky 0a4911ea79 Revert "better localId" 2021-06-30 08:12:52 +02:00
Tobias Kaminsky c22f2ce744 Merge pull request #8567 from nextcloud/localID
better localId
2021-06-30 08:11:18 +02:00
Tobias Kaminsky 7f093bed4b daily dev 20210629
remove unused import
Fix NPE when syncing contacts
Lint: ignore zero, as we do not show those translated strings in case of zero/empty
Update translations
2021-06-29 03:46:47 +02:00
Tobias Kaminsky fa70fbf256 Merge remote-tracking branch 'origin/master' into dev 2021-06-29 03:40:24 +02:00
Felix Nüsse 1bf01f1a52 move service dismissal to handler to prevent race-condition
Signed-off-by: Felix Nüsse <[email protected]>
2021-06-28 16:16:50 +00:00
Andy Scherzinger 952a8d5e3b Merge pull request #8632 from nextcloud/fix-sync-contact-npe
Fix sync contact npe
2021-06-28 17:26:45 +02:00
Andy Scherzinger 04fd45d2d2 remove unused import
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-28 17:12:38 +02:00
Chris Narkiewicz 99b45dfa0f Fix NPE when syncing contacts
Fixes #8592

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-06-28 13:52:26 +00:00
Andy Scherzinger 0cbc6808c9 Merge pull request #8634 from nextcloud/ignoreZero
Lint: ignore zero, as we do not show those translated strings in case of zero/empty
2021-06-28 15:46:18 +02:00
tobiasKaminsky b16de93c1e Lint: ignore zero, as we do not show those translated strings in case of zero/empty
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-28 14:40:21 +02:00
Nextcloud bot 04de7e3469 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-28 03:57:36 +00:00
John Molakvoæ e95da0a3d3 Delete rebase.yml 2021-06-27 19:54:21 +02:00
John Molakvoæ 996dfb0191 Create command-rebase.yml 2021-06-27 19:53:58 +02:00
Nextcloud bot 163d97bbb5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-27 03:55:24 +00:00
Nextcloud bot 25e09314ba [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-25 03:55:58 +00:00
Nextcloud bot 9319d267e4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-24 03:55:37 +00:00
Tobias Kaminsky 5602faa9db daily dev 20210624
Update translations
Update Nextcloud Android library
2021-06-24 03:46:27 +02:00
Tobias Kaminsky c8ae9b544f Merge remote-tracking branch 'origin/master' into dev 2021-06-23 03:39:11 +02:00
Nextcloud bot ff7523dad9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-22 03:57:52 +00:00
Nextcloud bot 930ed12cce [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-21 03:59:27 +00:00
Nextcloud bot e1147e2597 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-19 04:22:37 +00:00
Nextcloud bot f5af1b1214 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-18 04:03:53 +00:00
Tobias Kaminsky 8c8d99fe8e daily dev 20210618
Create SECURITY.md
Update translations
Update Nextcloud Android library
2021-06-18 03:45:37 +02:00
Tobias Kaminsky fb1f0f67c9 Merge remote-tracking branch 'origin/master' into dev 2021-06-18 03:38:16 +02:00
Nextcloud bot 05767855e8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-17 04:01:05 +00:00
Tobias Kaminsky 2581b6c33f Merge remote-tracking branch 'origin/master' into dev 2021-06-17 03:40:38 +02:00
Tobias Kaminsky 7b7d5af6f1 Merge pull request #8579 from nextcloud/security.md
Create SECURITY.md
2021-06-16 10:19:49 +02:00
Nextcloud bot f3a56c0f94 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-16 03:59:02 +00:00
Tobias Kaminsky b90dd53b36 daily dev 20210616
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-06-16 03:40:42 +02:00
Tobias Kaminsky a532aa096a Merge remote-tracking branch 'origin/master' into dev 2021-06-16 03:33:37 +02:00
Nextcloud bot 7f2882b93c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-15 04:07:03 +00:00
Tobias Kaminsky 8f6e6adf1d Merge remote-tracking branch 'origin/master' into dev 2021-06-15 03:35:45 +02:00
Tobias Kaminsky 6a1bc06740 Merge pull request #8522 from nextcloud/dependabot/maven/automationTest/org.apache.httpcomponents-httpclient-4.5.13
Bump httpclient from 4.3.6 to 4.5.13 in /automationTest
2021-06-14 11:53:24 +02:00
Tobias Kaminsky 2e98dcd11d Create SECURITY.md 2021-06-14 11:52:33 +02:00
Nextcloud bot 830bc3703c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-14 03:57:24 +00:00
Tobias Kaminsky b8ce48ad38 daily dev 20210612
Correct etag check/store when it has changed
Update translations
Update Nextcloud Android library
2021-06-12 03:47:54 +02:00
Tobias Kaminsky 5ee51ea888 Merge remote-tracking branch 'origin/master' into dev 2021-06-12 03:39:08 +02:00
tobiasKaminsky 4e508a9e8b better localId
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-11 12:25:21 +02:00
Andy Scherzinger 9b1d03181c Merge pull request #8554 from nextcloud/correctEtagCheck
Correct etag check/store when it has changed
2021-06-11 10:12:57 +02:00
Nextcloud bot fcb1e072a2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-11 04:04:11 +00:00
Tobias Kaminsky e753e5c52e Merge remote-tracking branch 'origin/master' into dev 2021-06-11 03:41:49 +02:00
tobiasKaminsky 7aede46b0a Correct etag check/store when it has changed
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-10 11:46:33 +02:00
Nextcloud bot 7d59ce3d34 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-10 04:14:56 +00:00
Tobias Kaminsky c058c0b431 daily dev 20210610
Use ExoPlayer for audio/video player
Update translations
2021-06-10 03:42:38 +02:00
Tobias Kaminsky e7fa798d80 Merge remote-tracking branch 'origin/master' into dev 2021-06-10 03:35:13 +02:00
Tobias Kaminsky 18594f99cb Merge pull request #8132 from nextcloud/exoPlayer
Replace video player by ExoPlayer
2021-06-09 11:16:39 +02:00
Nextcloud bot 078769b39e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-09 04:03:51 +00:00
Nextcloud bot 91a55d2025 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-08 04:04:55 +00:00
Tobias Kaminsky 2e525a70c8 daily dev 20210608
l10n: Separate words
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-06-08 03:45:39 +02:00
Tobias Kaminsky 85eb12232e Merge remote-tracking branch 'origin/master' into dev 2021-06-08 03:35:45 +02: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
Andy Scherzinger f5302e9c7b Merge pull request #8537 from nextcloud/Valdnet-patch-1
l10n: Separate words
2021-06-07 09:43:27 +02:00
Valdnet 42b24e680c l10n: Separate words 2021-06-07 09:24:52 +02:00
Nextcloud bot d7a743244b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-07 04:01:10 +00: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
Nextcloud bot 9b7163e733 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-06 04:02:17 +00:00
Andy Scherzinger 429a27fa46 Merge pull request #8521 from nextcloud/dependabot/gradle/mockitoVersion-3.11.0
Bump mockitoVersion from 3.10.0 to 3.11.0
2021-06-04 14:02:28 +02:00
Nextcloud bot 4cee1c6832 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-04 04:09:53 +00:00
Tobias Kaminsky 8ed517efd7 daily dev 20210604
Update translations
Update Nextcloud Android library
2021-06-04 03:48:07 +02:00
Tobias Kaminsky df12cd08ed Merge remote-tracking branch 'origin/master' into dev 2021-06-04 03:40:00 +02:00
dependabot[bot] e4f7543d28 Bump httpclient from 4.3.6 to 4.5.13 in /automationTest
Bumps httpclient from 4.3.6 to 4.5.13.

---
updated-dependencies:
- dependency-name: org.apache.httpcomponents:httpclient
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-06-04 01:33:08 +00:00
dependabot[bot] d8f3f2b361 Bump mockitoVersion from 3.10.0 to 3.11.0
Bumps `mockitoVersion` from 3.10.0 to 3.11.0.

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

Updates `mockito-android` from 3.10.0 to 3.11.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.10.0...v3.11.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]>
2021-06-04 01:04:45 +00:00
Nextcloud bot 686a0ca5c6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-03 04:06:39 +00:00
Tobias Kaminsky 7d1335af89 daily dev 20210603
remove deprecated test
remove unused imports, shorten when construct
use if/else instead of switch for menu actions
remove unused code due to Android 5.0 support dropped
Drop Android 5.0 support
Add UI tests
3rd-party-apps trashbin: Use Intent.EXTRA_USER in favor of custom String key
3rd-party-apps trashbin: Use SessionMixin to switch to targetUser
3rd-party-apps trashbin: Replace logging with toast, use User#nameEquals
Allow 3rd party apps to open the trashbin for a specific account
Update translations
Update Nextcloud Android library
2021-06-03 03:39:32 +02:00
Tobias Kaminsky df1a1159cf Merge remote-tracking branch 'origin/master' into dev 2021-06-03 03:31:32 +02:00
Tobias Kaminsky 51b82fcdd4 Merge pull request #8405 from nextcloud/grant-apps-access-to-trashbin
Allow 3rd party apps to open the trashbin for a specific account
2021-06-02 12:34:50 +02:00
tobiasKaminsky 1ea436e4dd Use ExoPlayer for audio/video player
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-02 10:09:09 +02:00
Andy Scherzinger a7ab5ae320 Merge pull request #8509 from nextcloud/dropLollipop
Drop Android 5.0 Support
2021-06-02 09:28:45 +02:00
Nextcloud bot 0fbd21b576 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-02 04:04:02 +00:00
Tobias Kaminsky 167928303b Merge remote-tracking branch 'origin/master' into dev 2021-06-02 03:37:06 +02:00
Chris Narkiewicz 9171fb1d1c Remove Account from UploadsStorageManager
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-06-02 01:54:51 +01:00
Andy Scherzinger d6e1d3e333 remove deprecated test
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 19:16:12 +02:00
Andy Scherzinger 5bbbae7165 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 18:27:58 +02:00
Andy Scherzinger 56a8c779be remove unused imports, shorten when construct
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 17:59:18 +02:00
Andy Scherzinger 80d3a552e5 use if/else instead of switch for menu actions
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 17:47:38 +02:00
Andy Scherzinger 14e1eabc48 remove unused code due to Android 5.0 support dropped
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 17:46:19 +02:00
Andy Scherzinger 4fd407bc11 Drop Android 5.0 support
Resolves #8508

Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 17:02:39 +02:00
Andy Scherzinger 2dd46ea967 Merge pull request #8507 from nextcloud/changelog-master-stable-3.16.1
Add changelog for 3.16.1
2021-06-01 16:10:06 +02:00
Andy Scherzinger 69b8a5affd add list formatting
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 16:08:20 +02:00
tobiasKaminsky f0826588e2 Add changelog for 3.16.1
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-01 12:06:05 +02:00
Nextcloud bot f35ab82b6d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-01 04:03:51 +00:00
Tobias Kaminsky ae3f9bdcbe daily dev 20210601
l10n: With a capital letter
Update translations
2021-06-01 03:39:45 +02:00
Tobias Kaminsky b174360e96 Merge remote-tracking branch 'origin/master' into dev 2021-06-01 03:33:06 +02:00
Andy Scherzinger ec073440a1 Merge pull request #8499 from nextcloud/Valdnet-patch-1
l10n: With a capital letter
2021-05-31 11:27:32 +02:00
Nextcloud bot 2e27e17639 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-31 04:13:04 +00:00
Valdnet d52107a79c l10n: With a capital letter 2021-05-30 19:36:17 +02:00
Tobias Kaminsky 1bf3fddd43 daily dev 20210530
New upload manager
Optimize writing out files to Nextcloud via SAF
Replace fragment by fragment-ktx as suggested
Use correct eTag to check if something has changed on server
Update translations
2021-05-30 03:41:11 +02:00
Tobias Kaminsky 253275e3a0 Merge remote-tracking branch 'origin/master' into dev 2021-05-30 03:33:42 +02:00
Andy Scherzinger 88cf9f5027 Merge pull request #7874 from nextcloud/new-upload-manager
New upload manager
2021-05-29 22:01:22 +02:00
Chris Narkiewicz ebf63f064b New upload manager
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-05-29 21:34:58 +02:00
Andy Scherzinger be29f9aa9a Merge pull request #8290 from grote/saf-optimization
Optimize writing out files to Nextcloud via SAF
2021-05-29 20:02:16 +02:00
Torsten Grote 44227d828d Optimize writing out files to Nextcloud via SAF
Signed-off-by: Torsten Grote <[email protected]>
2021-05-29 18:59:28 +02:00
Andy Scherzinger ab221fbb14 Merge pull request #8359 from nextcloud/etag
Use correct eTag to check if something has changed on server
2021-05-29 18:48:24 +02:00
Andy Scherzinger 44299b7034 Merge pull request #8470 from nextcloud/fragment-ktx
Replace fragment by fragment-ktx as suggested
2021-05-29 18:46:04 +02:00
Nextcloud bot 177b229154 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-29 04:18:15 +00:00
Tobias Kaminsky c683ae15fc daily dev 20210529
remove duplicate gson dependency definition
- use kotlin 1.5.0 - use kotlin-stdlib: https://medium.com/@mbonnin/the-different-kotlin-stdlibs-explained-83d7c6bf293
Print used java version in Gradle
Gradle 6.9
Remove spotbug version: Access to 'toolVersion' exceeds its access rights Cannot assign a value to final field 'toolVersion'
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-05-29 03:46:52 +02:00
Tobias Kaminsky 6e7b1b4c44 Merge remote-tracking branch 'origin/master' into dev 2021-05-29 03:36:54 +02:00
tobiasKaminsky 2c135b368f Replace fragment by fragment-ktx as suggested
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-28 15:52:49 +00:00
Andy Scherzinger 078bfa4cc8 Merge pull request #8394 from nextcloud/dependabot/gradle/mockitoVersion-3.10.0
Bump mockitoVersion from 3.9.0 to 3.10.0
2021-05-28 17:11:26 +02:00
Andy Scherzinger 83caa4e72d Merge pull request #8495 from nextcloud/dependabot/gradle/kotlin_version-1.5.10
Bump kotlin_version from 1.5.0 to 1.5.10
2021-05-28 16:32:25 +02:00
Andy Scherzinger ed2215e2fe remove duplicate gson dependency definition
Signed-off-by: Andy Scherzinger <[email protected]>
2021-05-28 16:14:03 +02:00
dependabot[bot] 8485c4711c Bump kotlin_version from 1.5.0 to 1.5.10
Bumps `kotlin_version` from 1.5.0 to 1.5.10.

Updates `kotlin-gradle-plugin` from 1.5.0 to 1.5.10

Updates `kotlin-stdlib` from 1.5.0 to 1.5.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.0...v1.5.10)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-28 12:34:03 +00:00
Andy Scherzinger eecf37fdc4 Merge pull request #8466 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.8.7
Bump gson from 2.8.6 to 2.8.7
2021-05-28 14:09:25 +02:00
dependabot[bot] 2b338cd8f8 Bump gson from 2.8.6 to 2.8.7
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.7.
- [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.6...gson-parent-2.8.7)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-28 10:51:12 +02:00
Andy Scherzinger 42dc360479 Merge pull request #8471 from nextcloud/useKoltin15
Update Kotlin
2021-05-28 10:50:04 +02:00
tobiasKaminsky 4619aa15a8 - use kotlin 1.5.0
- use kotlin-stdlib: https://medium.com/@mbonnin/the-different-kotlin-stdlibs-explained-83d7c6bf293

Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-28 09:15:44 +02:00
Nextcloud bot b48babbeb4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-28 04:05:47 +00:00
Tobias Kaminsky f8eb804a6f Merge remote-tracking branch 'origin/master' into dev 2021-05-28 03:36:27 +02:00
Andy Scherzinger 0c07b56a22 Merge pull request #8390 from nextcloud/Gradle-6.9
Gradle 6.9
2021-05-27 18:37:31 +02:00
Hannes Achleitner 75c3b0f646 Print used java version in Gradle 2021-05-27 15:57:02 +02:00
Hannes Achleitner 679d9b4627 Gradle 6.9
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-27 15:56:56 +02:00
Andy Scherzinger d4aae01660 Merge pull request #8475 from nextcloud/android61
Use JDK11 and Gradle 6.7.1 in Android container
2021-05-27 15:54:37 +02:00
Andy Scherzinger bde0c49041 remove java8 builds
Signed-off-by: Andy Scherzinger <[email protected]>
2021-05-27 14:21:41 +02:00
dependabot[bot] 5209231be5 Bump mockitoVersion from 3.9.0 to 3.10.0
Bumps `mockitoVersion` from 3.9.0 to 3.10.0.

Updates `mockito-core` from 3.9.0 to 3.10.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0)

Updates `mockito-android` from 3.9.0 to 3.10.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-27 09:17:28 +00:00
tobiasKaminsky 8e0aebf3f0 uploadReport.sh: fix flavor case
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-27 11:11:37 +02:00
tobiasKaminsky 6ac4b04992 Use JDK11 and Gradle 6.7.1 in Android container
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-27 11:11:36 +02:00
Tobias Kaminsky 60de5fd5ff Merge pull request #8489 from nextcloud/fixNotNullFix
Fix not null fix
2021-05-27 10:54:20 +02:00
Tobias Kaminsky 8038a79f31 Merge pull request #8488 from nextcloud/rebase
Rebase action: /rebase as comment
2021-05-27 10:54:09 +02:00
tobiasKaminsky 419cb69b08 Fix not null fix
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-27 10:16:06 +02:00
tobiasKaminsky d936f4707f Rebase action: /rebase as comment
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-27 09:49:07 +02:00
Andy Scherzinger 9d8b3f588b Merge pull request #8477 from nextcloud/dependabot/gradle/daggerVersion-2.36
Bump daggerVersion from 2.35.1 to 2.36
2021-05-27 09:20:22 +02:00
Andy Scherzinger 2c2fb049bc Merge pull request #8472 from nextcloud/removeSpotbugVersion
Remove spotbug version
2021-05-27 09:15:33 +02:00
Nextcloud bot 178ad5ea52 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-27 04:03:37 +00:00
Tobias Kaminsky e9ded3c5af daily dev 20210527
Remove jcenter, use maven instead Remove flatDir
Remove jaxb
Fix: Using android:onClick on older version of the platform is broken Move to view bindings
re-order
check e2e keys
prevent upload from sensitive path
wip
Use web/http input type
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-05-27 03:41:31 +02:00
Tobias Kaminsky 706a9b6ee8 Merge remote-tracking branch 'origin/master' into dev 2021-05-27 03:31:36 +02:00
drone 1d563cd69e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-05-26 22:11:07 +00:00
Andy Scherzinger 1c085eb74e Merge pull request #8448 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.17.1
Bump detekt-gradle-plugin from 1.17.0 to 1.17.1
2021-05-26 23:55:09 +02:00
tobiasKaminsky 2ef85e4db7 Remove spotbug version:
Access to 'toolVersion' exceeds its access rights
Cannot assign a value to final field 'toolVersion'

Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-26 23:47:36 +02:00
Tobias Kaminsky daa10d5dfe Merge pull request #8228 from nextcloud/inputURL
Use web/http input type
2021-05-26 12:58:34 +02:00
Tobias Kaminsky 1d3fd4304f Merge pull request #8480 from nextcloud/analysisCheck
analysis-wrapper.sh: fix not Null check
2021-05-26 12:52:40 +02:00
Andy Scherzinger 2840bad1f6 Merge pull request #8478 from nextcloud/dependabot/gradle/commons-io-commons-io-2.9.0
Bump commons-io from 2.8.0 to 2.9.0
2021-05-26 09:03:36 +02:00
tobiasKaminsky fb7bba8fe4 analysis-wrapper.sh: fix not Null check
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-26 08:43:22 +02:00
Nextcloud bot b1171a9e77 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-26 04:07:19 +00:00
Tobias Kaminsky e9451fb313 Merge remote-tracking branch 'origin/master' into dev 2021-05-26 03:32:57 +02:00
dependabot[bot] fc5d4435f6 Bump commons-io from 2.8.0 to 2.9.0
Bumps commons-io from 2.8.0 to 2.9.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-26 01:06:21 +00:00
dependabot[bot] 33b7a18696 Bump daggerVersion from 2.35.1 to 2.36
Bumps `daggerVersion` from 2.35.1 to 2.36.

Updates `dagger` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Updates `dagger-android` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Updates `dagger-android-support` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Updates `dagger-compiler` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Updates `dagger-android-processor` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-26 01:05:41 +00:00
Andy Scherzinger a6ecea19c6 Merge pull request #8469 from nextcloud/removeJcenter
Remove jcenter, use maven instead
2021-05-25 14:52:49 +02:00
tobiasKaminsky a5eb602139 Remove jcenter, use maven instead
Remove flatDir

Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-25 13:44:34 +02:00
Andy Scherzinger f6e24bc7f0 Merge pull request #8467 from nextcloud/removeJAXB
Remove jaxb
2021-05-25 10:35:01 +02: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
Nextcloud bot 3f83d4164e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-25 07:05:57 +00:00
Nextcloud bot 248e94c49a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-25 06:02:52 +00:00
tobiasKaminsky 0dfc35ddae Remove jaxb
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-25 07:18:24 +02:00
Tobias Kaminsky 25db150b24 Merge remote-tracking branch 'origin/master' into dev 2021-05-21 03:32:39 +02:00
dependabot[bot] b9c7578c65 Bump detekt-gradle-plugin from 1.17.0 to 1.17.1
Bumps detekt-gradle-plugin from 1.17.0 to 1.17.1.

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-21 01:04:11 +00:00
Andy Scherzinger 377853190d Merge pull request #8438 from nextcloud/checkKey
check e2e keys
2021-05-20 13:11:53 +02:00
Andy Scherzinger b80db0fe27 Merge pull request #8439 from nextcloud/enhanceAccountRemoval
re-order account removal
2021-05-20 13:07:08 +02:00
Tobias Kaminsky 6029984d2a Merge pull request #8436 from nextcloud/dependabot/gradle/androidx.fragment-fragment-1.3.4
Bump fragment from 1.3.2 to 1.3.4
2021-05-20 10:33:05 +02:00
Tobias Kaminsky 3902664bc0 Merge pull request #8435 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.3.0
Bump appcompat from 1.2.0 to 1.3.0
2021-05-20 10:32:29 +02:00
Tobias Kaminsky 70d26bb287 Merge pull request #8319 from nextcloud/dependabot/gradle/org.glassfish.jaxb-jaxb-runtime-3.0.1
Bump jaxb-runtime from 2.3.3 to 3.0.1
2021-05-20 09:37:15 +02:00
Tobias Kaminsky 8af3112fff Merge pull request #8433 from nextcloud/verifyLocalPath
prevent upload from sensitive path
2021-05-20 09:19:07 +02:00
Tobias Kaminsky b25eef9fd2 Merge pull request #8299 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.0
Bump byteBuddyVersion from 1.10.22 to 1.11.0
2021-05-20 09:03:13 +02:00
Tobias Kaminsky 0410ece23b Merge pull request #8317 from nextcloud/dependabot/gradle/daggerVersion-2.35.1
Bump daggerVersion from 2.33 to 2.35.1
2021-05-20 09:01:10 +02:00
tobiasKaminsky 7f82183bad Fix: Using android:onClick on older version of the platform is broken
Move to view bindings

Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-20 08:42:20 +02:00
Tobias Kaminsky ece5a9908b Merge pull request #8225 from nextcloud/dependabot/gradle/org.conscrypt-conscrypt-android-2.5.2
Bump conscrypt-android from 2.5.1 to 2.5.2
2021-05-20 08:27:53 +02:00
Tobias Kaminsky f279bab480 Merge pull request #8329 from nextcloud/dependabot/gradle/com.github.cotechde.hwsecurity-hwsecurity-fido-4.4.0
Bump hwsecurity-fido from 4.1.0 to 4.4.0
2021-05-20 08:26:25 +02:00
Tobias Kaminsky c09e3505d3 Merge pull request #6949 from nextcloud/uploadNothing
Allow upload only if a file is selected
2021-05-20 08:24:29 +02:00
Tobias Kaminsky 7e545355f9 daily dev 20210520
Avoid leaking AccountManagerService via InputStreamBinder
Fix ConnectivityService.isInternetWalled() check when content length is -1
l10n: Change to lowercase
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-05-20 03:41:22 +02:00
tobiasKaminsky e70b61d7a3 re-order
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-19 10:22:54 +02:00
tobiasKaminsky df2714ffad check e2e keys
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-19 09:56:43 +02:00
tobiasKaminsky e94b149852 Add UI tests
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-19 08:36:30 +02:00
Tobias Kaminsky f07bf7c174 Merge remote-tracking branch 'origin/master' into dev 2021-05-19 03:34:33 +02:00
dependabot[bot] 4c72da132b Bump fragment from 1.3.2 to 1.3.4
Bumps fragment from 1.3.2 to 1.3.4.

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-19 01:05:25 +00:00
dependabot[bot] ac13e06128 Bump appcompat from 1.2.0 to 1.3.0
Bumps appcompat from 1.2.0 to 1.3.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-19 01:05:09 +00:00
Andy Scherzinger f6d14856a4 Merge pull request #8343 from nextcloud/fixLeakingService
Avoid leaking AccountManagerService via InputStreamBinder
2021-05-18 08:20:37 +02:00
tobiasKaminsky 97d6f2954c prevent upload from sensitive path
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-18 07:58:04 +02:00
Tobias Kaminsky 3c6415147b Merge pull request #8385 from nextcloud/fix-is-internet-walled-check
Fix ConnectivityService.isInternetWalled() check when content length is -1
2021-05-18 07:18:56 +02:00
Tobias Kaminsky 4199027d6c Merge remote-tracking branch 'origin/master' into dev 2021-05-18 03:33:28 +02:00
Stefan Niedermann 6396d4c0be 3rd-party-apps trashbin: Use Intent.EXTRA_USER in favor of custom String key 2021-05-17 11:26:17 +02:00
Andy Scherzinger c538e5248d Merge pull request #8346 from nextcloud/Valdnet-patch-2
l10n: Change to lowercase
2021-05-17 11:26:11 +02:00
Stefan Niedermann 80c50395f0 3rd-party-apps trashbin: Use SessionMixin to switch to targetUser 2021-05-17 10:02:54 +02:00
Andy Scherzinger d1c8b2c668 Merge pull request #8427 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.17.0
Bump detekt-gradle-plugin from 1.16.0 to 1.17.0
2021-05-17 08:10:35 +02:00
Nextcloud bot 38f58e8db0 [tx-robot] updated from transifex 2021-05-17 04:01:13 +00:00
dependabot[bot] 877018495b Bump detekt-gradle-plugin from 1.16.0 to 1.17.0
Bumps detekt-gradle-plugin from 1.16.0 to 1.17.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-17 01:04:39 +00:00
Stefan Niedermann a7c62f7ede 3rd-party-apps trashbin: Replace logging with toast, use User#nameEquals 2021-05-16 11:16:33 +02:00
Unpublished 7632f12f98 Avoid leaking AccountManagerService via InputStreamBinder
Signed-off-by: Unpublished <[email protected]>
2021-05-15 12:30:09 +02:00
Tobias Kaminsky 895a1a38fb daily dev 20210515
Java 8 is now default
Android Studio 4.2
Gradle 6.7
Avatar generation can take long, so better check if ChooseAccountDialogFragment is still active
Prevent http redirection if https is used during login
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-05-15 03:43:00 +02:00
Tobias Kaminsky 6ca5b1924f Merge remote-tracking branch 'origin/master' into dev 2021-05-15 03:32:57 +02:00
dependabot[bot] d43d581c4e Bump daggerVersion from 2.33 to 2.35.1
Bumps `daggerVersion` from 2.33 to 2.35.1.

Updates `dagger` from 2.33 to 2.35.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.33...dagger-2.35.1)

Updates `dagger-android` from 2.33 to 2.35.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.33...dagger-2.35.1)

Updates `dagger-android-support` from 2.33 to 2.35.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.33...dagger-2.35.1)

Updates `dagger-compiler` from 2.33 to 2.35.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.33...dagger-2.35.1)

Updates `dagger-android-processor` from 2.33 to 2.35.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.33...dagger-2.35.1)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-14 15:27:56 +00:00
Stefan Niedermann 0472fb0759 Allow 3rd party apps to open the trashbin for a specific account 2021-05-14 15:52:10 +02:00
Andy Scherzinger 6239e608ae Merge pull request #8396 from nextcloud/AndroidStudio-4.2
Android Studio 4.2
2021-05-14 12:01:58 +02:00
Andy Scherzinger 969bfb13df update test to latest constructor change
Signed-off-by: Andy Scherzinger <[email protected]>
2021-05-14 10:57:24 +02:00
dependabot[bot] c9550386da Bump gradle from 4.1.3 to 4.2.1
Signed-off-by: dependabot[bot] <[email protected]>
2021-05-14 10:57:22 +02:00
Andy Scherzinger 7ffa52c037 bump lint score
Signed-off-by: Andy Scherzinger <[email protected]>
2021-05-14 10:57:21 +02:00
Hannes Achleitner 0db8057cdd Build CI with Java 8 and 11
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-14 10:57:20 +02:00
Hannes Achleitner 4e91f9bd9a Java 8 is now default
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-14 10:57:19 +02:00
Hannes Achleitner 29b2f8ab7a Codestyle for Android Studio 4.2
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-14 10:57:18 +02:00
Hannes Achleitner 09fb9c40cf Android Studio 4.2
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-14 10:57:17 +02:00
Hannes Achleitner 8e643d2f8d Gradle 6.7
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-14 10:57:16 +02:00
Andy Scherzinger a6c87ac78b Merge pull request #8356 from nextcloud/avatarInAccount
Avatar generation can take long, so better check if ChooseAccountDialogFragment is still active
2021-05-14 09:47:27 +02:00
Nextcloud bot 1195dda3bc [tx-robot] updated from transifex 2021-05-14 03:54:42 +00:00
Tobias Kaminsky 8cca90d941 Merge remote-tracking branch 'origin/master' into dev 2021-05-14 03:34:36 +02:00
Chris Narkiewicz fadf1b0dfd Fix ConnectivityService.isInternetWalled() check when content length is -1
When server returns no Content-Length, the check was failing due to
expectation of 0. Change the condition to account for no content-length
situation and updated test.

Fixes #8384

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-05-13 23:48:40 +01:00
Nextcloud bot bd241ecd5d [tx-robot] updated from transifex 2021-05-13 03:51:48 +00:00
Tobias Kaminsky e0566d088c Merge remote-tracking branch 'origin/master' into dev 2021-05-12 03:36:27 +02:00
tobiasKaminsky 2e9269510a wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-11 10:07:44 +02:00
tobiasKaminsky 8a1b8c4185 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-11 08:56:45 +02:00
dependabot[bot] fc730bc7b5 Bump byteBuddyVersion from 1.10.22 to 1.11.0
Bumps `byteBuddyVersion` from 1.10.22 to 1.11.0.

Updates `byte-buddy` from 1.10.22 to 1.11.0
- [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.10.22...byte-buddy-1.11.0)

Updates `byte-buddy-android` from 1.10.22 to 1.11.0
- [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.10.22...byte-buddy-1.11.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-11 06:38:11 +00:00
dependabot[bot] a6fd50c798 Bump conscrypt-android from 2.5.1 to 2.5.2
Bumps [conscrypt-android](https://github.com/google/conscrypt) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/google/conscrypt/releases)
- [Commits](https://github.com/google/conscrypt/compare/2.5.1...2.5.2)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-11 06:36:03 +00:00
Tobias Kaminsky 02d0f8aec0 Merge pull request #8321 from nextcloud/https
Prevent http redirection if https is used during login
2021-05-11 08:28:22 +02:00
dependabot[bot] 846f498945 Bump jaxb-runtime from 2.3.3 to 3.0.1
Bumps jaxb-runtime from 2.3.3 to 3.0.1.

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-11 08:07:21 +02:00
dependabot[bot] 0d7d40e1d3 Bump hwsecurity-fido from 4.1.0 to 4.4.0
Bumps hwsecurity-fido from 4.1.0 to 4.4.0.

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-11 08:00:35 +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
Nextcloud bot c318115218 [tx-robot] updated from transifex 2021-05-09 03:56:02 +00:00
Nextcloud bot 63ff8e57ea [tx-robot] updated from transifex 2021-05-08 03:58:28 +00: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
Nextcloud bot 33a70e53e7 [tx-robot] updated from transifex 2021-05-07 04:01:49 +00:00
tobiasKaminsky a6e7f1082e Use correct eTag to check if something has changed on server
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-06 12:14:03 +02:00
tobiasKaminsky 3ceb0b359e Avatar generation can take long, so better check if ChooseAccountDialogFragment is still active
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-06 07:28:55 +02:00
Nextcloud bot 4af63635c8 [tx-robot] updated from transifex 2021-05-06 04:01:53 +00:00
Tobias Kaminsky a86d94b757 daily dev 20210506
l10n: Spelling unification
attached view to parent when calling Inflater
Prevent NPE on non-existing account
Update translations
Update Nextcloud Android library
2021-05-06 03:40:10 +02:00
Tobias Kaminsky 82f1933c76 Merge remote-tracking branch 'origin/master' into dev 2021-05-06 03:33:42 +02:00
Andy Scherzinger f184fa0386 Merge pull request #8350 from nextcloud/changelog-master-stable-3.16.0
Add changelog for 3.16.0
2021-05-05 17:59:02 +02:00
Tobias Kaminsky 126a639fd0 Merge pull request #8334 from nextcloud/npeOnNonExistingAccount
Prevent NPE on non-existing account
2021-05-05 15:26:18 +02:00
Tobias Kaminsky 6977da20f7 Merge pull request #8344 from nextcloud/Valdnet-patch-1
l10n: Spelling unification
2021-05-05 15:25:52 +02:00
tobiasKaminsky 3048998bd0 Add changelog for 3.16.0
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-05 11:45:31 +02:00
Tobias Kaminsky 87b8c1342f Merge pull request #8340 from nextcloud/fixInflaterCall
Attach view to parent when calling Inflater
2021-05-05 10:30:20 +02:00
Nextcloud bot bdc6aeaae5 [tx-robot] updated from transifex 2021-05-05 04:10:00 +00:00
Tobias Kaminsky fffe834bbc daily dev 20210505
Update translations
2021-05-05 03:42:17 +02:00
Tobias Kaminsky 6f84a33d3a Merge remote-tracking branch 'origin/master' into dev 2021-05-05 03:36:46 +02:00
Valdnet 067679fdd7 l10n: Change to lowercase
Signed-off-by: Valdnet <[email protected]>
2021-05-04 22:09:09 +02:00
Valdnet ccf3bec722 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <[email protected]>
2021-05-04 09:47:31 +02: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
Nextcloud bot 3fac3f4953 [tx-robot] updated from transifex 2021-05-04 03:58:47 +00:00
Andy Scherzinger 1147440f3e attached view to parent when calling Inflater
Fixes #8332

Signed-off-by: Andy Scherzinger <[email protected]>
2021-05-02 16:07:19 +02:00
Nextcloud bot 9e32fc0aa5 [tx-robot] updated from transifex 2021-05-02 03:55:45 +00:00
Nextcloud bot 2b11b7802c [tx-robot] updated from transifex 2021-05-01 03:59:34 +00:00
Tobias Kaminsky 5ceb62a3eb daily dev 20210501
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-05-01 03:41:38 +02:00
tobiasKaminsky 697541e054 Prevent NPE on non-existing account
Signed-off-by: tobiasKaminsky <[email protected]>
2021-04-30 11:37:54 +02:00
Tobias Kaminsky 237bb69cc4 Merge remote-tracking branch 'origin/master' into dev 2021-04-30 03:32:48 +02:00
Andy Scherzinger a646adb716 Merge pull request #8327 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.1
Bump spotbugs-gradle-plugin from 4.7.0 to 4.7.1
2021-04-29 14:45:39 +02:00
Nextcloud bot b5d97f7d10 [tx-robot] updated from transifex 2021-04-29 04:01:27 +00:00
Tobias Kaminsky 151b5e90d2 daily dev 20210429
Update translations
Update Nextcloud Android library
2021-04-29 03:39:36 +02:00
Tobias Kaminsky ea9a8ceda1 Merge remote-tracking branch 'origin/master' into dev 2021-04-29 03:32:20 +02:00
dependabot[bot] 29de2be17f Bump spotbugs-gradle-plugin from 4.7.0 to 4.7.1
Bumps spotbugs-gradle-plugin from 4.7.0 to 4.7.1.

Signed-off-by: dependabot[bot] <[email protected]>
2021-04-29 01:03:02 +00:00
tobiasKaminsky 17b52e8271 Prevent http redirection if https is used during login
Signed-off-by: tobiasKaminsky <[email protected]>
2021-04-28 11:47:10 +02:00
Nextcloud bot 2346ddd657 [tx-robot] updated from transifex 2021-04-28 03:59:27 +00:00
Tobias Kaminsky 044d953d27 Merge remote-tracking branch 'origin/master' into dev 2021-04-28 03:34:09 +02:00
Nextcloud bot 14133a5679 [tx-robot] updated from transifex 2021-04-27 04:01:06 +00:00
Nextcloud bot a5ac4b0075 [tx-robot] updated from transifex 2021-04-26 05:18:28 +00:00
Tobias Kaminsky 6f69e03265 daily dev 20210420
l10n: Correct spelling
Update translations
2021-04-20 03:38:13 +02:00
Tobias Kaminsky fc9fabbc05 Merge remote-tracking branch 'origin/master' into dev 2021-04-20 03:31:18 +02:00
Andy Scherzinger 67a5f867d9 Merge pull request #8258 from nextcloud/Valdnet-patch-1
l10n: Correct spelling
2021-04-19 10:35:26 +02:00
Nextcloud bot efc1d2f692 [tx-robot] updated from transifex 2021-04-19 04:01:13 +00:00
Nextcloud bot 0aef497c3f [tx-robot] updated from transifex 2021-04-18 03:54:39 +00:00
Nextcloud bot d269804df0 [tx-robot] updated from transifex 2021-04-17 03:56:35 +00:00
Nextcloud bot 573f26df67 [tx-robot] updated from transifex 2021-04-16 06:39:27 +00:00
Tobias Kaminsky 4d8f5246de daily dev 20210413
l10n: Unify spelling
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-04-13 03:37:25 +02:00
Tobias Kaminsky 2814154c9e Merge remote-tracking branch 'origin/master' into dev 2021-04-13 03:32:14 +02:00
Andy Scherzinger 0cc7704d7a Merge pull request #8271 from nextcloud/Valdnet-patch-2
l10n: Unify spelling
2021-04-12 12:32:14 +02:00
Valdnet 87b3475ff3 l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-04-12 12:06:55 +02:00
Nextcloud bot 8282df5ae5 [tx-robot] updated from transifex 2021-04-12 03:56:36 +00:00
Nextcloud bot 12f2cfc128 [tx-robot] updated from transifex 2021-04-10 04:08:12 +00:00
Valdnet 6900cee21f l10n: Correct spelling
Unify the spelling in applications.
2021-04-09 11:50:56 +02:00
Andy Scherzinger 48fc0676c3 Merge pull request #8250 from nextcloud/dependabot/gradle/mockitoVersion-3.9.0
Bump mockitoVersion from 3.8.0 to 3.9.0
2021-04-09 10:31:20 +02:00
dependabot[bot] c5517a5f77 Bump mockitoVersion from 3.8.0 to 3.9.0
Bumps `mockitoVersion` from 3.8.0 to 3.9.0.

Updates `mockito-core` from 3.8.0 to 3.9.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.8.0...v3.9.0)

Updates `mockito-android` from 3.8.0 to 3.9.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.8.0...v3.9.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-04-09 08:15:38 +00:00
Nextcloud bot 247d422b37 [tx-robot] updated from transifex 2021-04-08 03:56:39 +00:00
Tobias Kaminsky 4a64eaa0c7 daily dev 20210408
Update translations
Update Nextcloud Android library
2021-04-08 03:39:23 +02:00
Tobias Kaminsky 55821a565f Merge remote-tracking branch 'origin/master' into dev 2021-04-08 03:32:52 +02:00
Nextcloud bot d382365eae [tx-robot] updated from transifex 2021-04-07 03:57:21 +00:00
Tobias Kaminsky 01a2b07c64 Merge remote-tracking branch 'origin/master' into dev 2021-04-07 03:32:59 +02:00
Nextcloud bot 3cbb48195b [tx-robot] updated from transifex 2021-04-06 03:55:58 +00:00
Nextcloud bot c94cb32915 [tx-robot] updated from transifex 2021-04-04 03:54:40 +00:00
Nextcloud bot d1a4313273 [tx-robot] updated from transifex 2021-04-03 04:13:22 +00:00
Nextcloud bot 3e03e729f5 [tx-robot] updated from transifex 2021-04-02 03:56:34 +00:00
Tobias Kaminsky 5cd12ebc91 daily dev 20210402
Update instrumentation test runner and shot version
Update translations
2021-04-02 03:39:09 +02:00
Tobias Kaminsky 62c7cbe3f6 Merge remote-tracking branch 'origin/master' into dev 2021-04-02 03:32:09 +02:00
Tobias Kaminsky e6f8cc2599 Merge pull request #8224 from Karumi/configure-shot-test-runner
Update instrumentation test runner and Shot version
2021-04-01 14:15:58 +02:00
tobiasKaminsky adbdcd2670 Use web/http input type
Signed-off-by: tobiasKaminsky <[email protected]>
2021-04-01 12:32:50 +02:00
Nextcloud bot 796f983e04 [tx-robot] updated from transifex 2021-04-01 03:56:35 +00:00
Nextcloud bot 59750e5530 [tx-robot] updated from transifex 2021-03-31 03:57:33 +00:00
Pedro Gómez 28660ed001 Update instrumentation test runner and shot version 2021-03-30 10:41:01 +02:00
Nextcloud bot cb2d234b93 [tx-robot] updated from transifex 2021-03-30 03:52:50 +00:00
Tobias Kaminsky ab13746f0d daily dev 20210330
Update translations
Update Nextcloud Android library
2021-03-30 03:40:03 +02:00
Tobias Kaminsky 728ea72ef5 Merge remote-tracking branch 'origin/master' into dev 2021-03-30 03:33:44 +02:00
Andy Scherzinger 39ade50486 Merge pull request #8222 from nextcloud/autoApproveFix
Auto approve: fix gitHub action
2021-03-29 23:00:26 +02:00
tobiasKaminsky eaf144d4cf Auto approve: fix gitHub action
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-29 16:44:23 +02:00
Nextcloud bot 261fb28c46 [tx-robot] updated from transifex 2021-03-28 03:52:44 +00:00
Nextcloud bot 093e9af01d [tx-robot] updated from transifex 2021-03-27 03:54:17 +00:00
Tobias Kaminsky 2306c24a39 daily dev 20210327
bump to 3.17.0 Alpha 1
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-03-27 03:38:32 +01:00
Tobias Kaminsky 0d432f69ec Merge remote-tracking branch 'origin/master' into dev 2021-03-27 03:32:18 +01:00
Nextcloud bot 0285bb0c27 [tx-robot] updated from transifex 2021-03-26 03:56:00 +00:00
Tobias Kaminsky f96e474113 Merge remote-tracking branch 'origin/master' into dev 2021-03-26 03:34:13 +01:00
Andy Scherzinger a4af4c3d08 Merge pull request #8203 from nextcloud/v3170
Bump to 3.17.0 Alpha 1
2021-03-25 11:00:55 +01:00
Andy Scherzinger bf8e72f361 Merge pull request #8206 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.3.1
Bump lifecycle-viewmodel-ktx from 2.3.0 to 2.3.1
2021-03-25 08:46:21 +01:00
Andy Scherzinger 148721b6a6 Merge pull request #8207 from nextcloud/dependabot/gradle/androidx.fragment-fragment-1.3.2
Bump fragment from 1.3.1 to 1.3.2
2021-03-25 08:46:05 +01:00
Andy Scherzinger c28c48e20f Merge pull request #8205 from nextcloud/dependabot/gradle/androidx.annotation-annotation-1.2.0
Bump annotation from 1.1.0 to 1.2.0
2021-03-25 08:26:24 +01:00
Nextcloud bot 7ceb982f67 [tx-robot] updated from transifex 2021-03-25 03:55:57 +00:00
Tobias Kaminsky 5ef2231932 daily dev 20210325
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-03-25 03:41:50 +01:00
Tobias Kaminsky 2a3860b0be Merge remote-tracking branch 'origin/master' into dev 2021-03-25 03:33:19 +01:00
dependabot[bot] d8a0f0325e Bump fragment from 1.3.1 to 1.3.2
Bumps fragment from 1.3.1 to 1.3.2.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-25 02:04:32 +00:00
dependabot[bot] a5a6b67e6a Bump lifecycle-viewmodel-ktx from 2.3.0 to 2.3.1
Bumps lifecycle-viewmodel-ktx from 2.3.0 to 2.3.1.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-25 02:04:26 +00:00
dependabot[bot] 834a839405 Bump annotation from 1.1.0 to 1.2.0
Bumps annotation from 1.1.0 to 1.2.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-25 02:03:37 +00:00
Andy Scherzinger f9d09d7c53 Merge pull request #8200 from nextcloud/dependabot/gradle/kotlin_version-1.4.32
Bump kotlin_version from 1.4.31 to 1.4.32
2021-03-24 11:33:14 +01:00
Nextcloud bot 41d6a2d1e9 [tx-robot] updated from transifex 2021-03-24 03:53:54 +00:00
Andy Scherzinger 2b4eacacc6 bump to 3.17.0 Alpha 1
Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-23 22:02:48 +01:00
Nextcloud bot 5f38da1271 [tx-robot] updated from transifex 2021-03-23 03:53:01 +00:00
dependabot[bot] 5445c70795 Bump kotlin_version from 1.4.31 to 1.4.32
Bumps `kotlin_version` from 1.4.31 to 1.4.32.

Updates `kotlin-gradle-plugin` from 1.4.31 to 1.4.32

Updates `kotlin-stdlib-jdk7` from 1.4.31 to 1.4.32
- [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)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-23 02:05:53 +00:00
Nextcloud bot 235062ec88 [tx-robot] updated from transifex 2021-03-22 03:52:35 +00:00
Nextcloud bot 44a7ceea2b [tx-robot] updated from transifex 2021-03-21 03:48:31 +00:00
Nextcloud bot e6ecc27b68 [tx-robot] updated from transifex 2021-03-20 03:51:10 +00:00
Tobias Kaminsky 0cd836700e daily dev 20210320
Password dialog: - enforced password: prevent dismiss if empty password - optional password: rename cancel button to skip
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-03-20 03:41:47 +01:00
Tobias Kaminsky 9c0509f3c0 Merge remote-tracking branch 'origin/master' into dev 2021-03-20 03:32:36 +01:00
Andy Scherzinger 3249ab3c96 Merge pull request #8188 from nextcloud/passwordDialog
Password dialog
2021-03-19 10:39:18 +01:00
Andy Scherzinger 749035df38 Merge pull request #8190 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-4.1.3
Bump gradle from 4.1.2 to 4.1.3
2021-03-19 08:42:26 +01:00
Nextcloud bot c96212fe43 [tx-robot] updated from transifex 2021-03-19 03:51:16 +00:00
Tobias Kaminsky d9347b0755 daily dev 20210319
dismiss only after delay to remove stuck notification
Enhance overlapping multi-avatar display
Themes header: plain background color and logo, if available
All files -> media --> all files: show sort header
Added Tests
Added comment
Implementation of folder uploads
2021-03-19 03:38:19 +01:00
Tobias Kaminsky 4e43c62610 Merge remote-tracking branch 'origin/master' into dev 2021-03-19 03:32:36 +01:00
dependabot[bot] 8af37082d1 Bump gradle from 4.1.2 to 4.1.3
Bumps gradle from 4.1.2 to 4.1.3.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-19 02:04:46 +00:00
Andy Scherzinger e7a79e7f9c Merge pull request #8187 from nextcloud/fix/8179/dismissDownloadbar
dismiss only after delay to remove stuck notification
2021-03-18 21:18:46 +01:00
Stefan Niedermann 59a2187447 Fix another NPE when parameterV2 is null 2021-03-18 20:30:16 +01:00
tobiasKaminsky 3d8418f078 Password dialog:
- enforced password: prevent dismiss if empty password
- optional password: rename cancel button to skip

Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 17:01:01 +01:00
tobiasKaminsky 42a0dff86a Password dialog:
- enforced password: prevent dismiss if empty password
- optional password: rename cancel button to skip

Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 16:51:58 +01:00
Felix Nüsse d48ffc769e dismiss only after delay to remove stuck notification
Signed-off-by: Felix Nüsse <[email protected]>
2021-03-18 16:07:32 +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
Tobias Kaminsky ada75e22ce Merge pull request #8185 from nextcloud/lessOutput
Hide curl output
2021-03-18 15:30:11 +01:00
tobiasKaminsky d3504118cb Hide curl output
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 13:28:05 +01:00
Tobias Kaminsky 9baa1556a8 Merge pull request #8137 from nextcloud/overlappingAvatars
Enhance overlapping multi-avatar display
2021-03-18 08:20:49 +01:00
Tobias Kaminsky 28f4cf94e7 Merge pull request #7794 from nextcloud/themedHeader
Themes header: plain background color and logo, if available
2021-03-18 08:11:07 +01:00
Andy Scherzinger 32caf48782 Enhance overlapping multi-avatar display
Resolves #6019

Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-18 07:54:25 +01:00
Tobias Kaminsky 574556a536 Merge pull request #8182 from nextcloud/fixRemovalOfQA
This fixes removal of built QA versions, due to moving QA to github a…
2021-03-18 07:53:58 +01:00
tobiasKaminsky c91aef3c3a This fixes removal of built QA versions, due to moving QA to github actions
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 07:53:35 +01:00
Tobias Kaminsky 271845c0b0 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Tobias Kaminsky <[email protected]>
2021-03-18 06:40:10 +00:00
Tobias Kaminsky be651e6616 Merge pull request #7877 from Ich5003/master
Allow to upload whole folders.
2021-03-18 07:22:01 +01:00
Tobias Kaminsky f2e9d4f285 Merge pull request #7289 from nextcloud/showSortingAgain
All files -> media --> all files: show sort header
2021-03-18 07:21:33 +01:00
Tobias Kaminsky 984c93fe50 Merge pull request #7118 from jmue/fix-documentprovider-test
fix documentprovider test failure because of asynchronous upload
2021-03-18 07:20:20 +01:00
Tobias Kaminsky 6637f5d335 daily dev 20210318
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-03-18 03:39:01 +01:00
Tobias Kaminsky 4a1ffb7218 Merge remote-tracking branch 'origin/master' into dev 2021-03-18 03:32:29 +01:00
Tobias Kaminsky 12fed51451 Merge pull request #8141 from nextcloud/dependabot/gradle/org.json-json-20210307
Bump json from 20201115 to 20210307
2021-03-17 15:15:54 +01:00
tobiasKaminsky fd9e0e2f69 Themes header: plain background color and logo, if available
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-17 14:30:21 +01:00
Andy Scherzinger fa8d42a252 Merge pull request #7407 from nextcloud/screenshotsBlack
Screenshots black
2021-03-17 11:15:38 +01:00
Jens Mueller 7fd9a05e72 fix documentprovider test failure because of asynchronous upload
Signed-off-by: Jens Mueller <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-17 08:40:13 +01:00
Andy Scherzinger f671a6a4ed update screenshot test
Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-17 08:25:06 +01:00
tobiasKaminsky cbf80a7422 Change test so that it does not need server
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-17 08:25:06 +01:00
tobiasKaminsky 830be6c914 All files -> media --> all files: show sort header
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-17 08:25:06 +01:00
Andy Scherzinger b78088be4a Merge pull request #8177 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.41.0
Bump ktlint from 0.40.0 to 0.41.0
2021-03-17 07:11:09 +01:00
Nextcloud bot 357cbb0e22 [tx-robot] updated from transifex 2021-03-17 03:50:53 +00:00
dependabot[bot] 407054e2ba Bump ktlint from 0.40.0 to 0.41.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.40.0 to 0.41.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.40.0...0.41.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-17 02:02:37 +00:00
Nextcloud bot 99a4104d8f [tx-robot] updated from transifex 2021-03-16 08:42:38 +00:00
Nextcloud bot 15765d7089 [tx-robot] updated from transifex 2021-03-16 03:51:30 +00:00
Tobias Kaminsky e3b394e4ff daily dev 20210314
add debug section for Windows
Update translations
2021-03-14 03:56:55 +01:00
Tobias Kaminsky b5aa24c4a0 Merge remote-tracking branch 'origin/master' into dev 2021-03-14 03:44:40 +01:00
Andy Scherzinger 7074682817 Merge pull request #8167 from nextcloud/szaimen-patch-1
add debug section for Windows
2021-03-13 09:45:31 +01:00
Nextcloud bot f4a3fa58cf [tx-robot] updated from transifex 2021-03-13 03:48:31 +00:00
szaimen 32491d2262 add debug section for Windows
Signed-off-by: szaimen <[email protected]>
2021-03-13 01:01:34 +01:00
Nextcloud bot 87d87c70df [tx-robot] updated from transifex 2021-03-12 03:49:32 +00:00
Tobias Kaminsky 1c000b0886 daily dev 20210312
Update Nextcloud Android library
Update 3rd-party dependencies
2021-03-12 03:41:20 +01:00
Tobias Kaminsky 8c18d7ee20 Merge remote-tracking branch 'origin/master' into dev 2021-03-12 03:32:55 +01:00
Andy Scherzinger 6b79907001 Merge pull request #8143 from nextcloud/changelog3151
Changelog release 3.15.1
2021-03-11 14:01:24 +01:00
Andy Scherzinger f8e960105a Merge pull request #8152 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.16.0
Bump detekt-gradle-plugin from 1.15.0 to 1.16.0
2021-03-11 08:01:19 +01:00
Andy Scherzinger 3de44a56b7 Merge pull request #8151 from nextcloud/dependabot/gradle/androidx.fragment-fragment-1.3.1
Bump fragment from 1.3.0 to 1.3.1
2021-03-11 07:55:29 +01:00
Tobias Kaminsky 4c45c60529 daily dev 20210311
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-03-11 03:39:04 +01:00
Tobias Kaminsky b3f0c8cc26 Merge remote-tracking branch 'origin/master' into dev 2021-03-11 03:32:38 +01:00
dependabot[bot] 3a22110cc9 Bump detekt-gradle-plugin from 1.15.0 to 1.16.0
Bumps detekt-gradle-plugin from 1.15.0 to 1.16.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-11 02:04:23 +00:00
dependabot[bot] 4f296132d3 Bump fragment from 1.3.0 to 1.3.1
Bumps fragment from 1.3.0 to 1.3.1.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-11 02:04:05 +00:00
Andy Scherzinger af0be78073 Release 3.15.1
Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-10 10:25:52 +01:00
Andy Scherzinger 7b67a5fc67 Merge pull request #8140 from nextcloud/dependabot/gradle/byteBuddyVersion-1.10.22
Bump byteBuddyVersion from 1.10.21 to 1.10.22
2021-03-10 10:13:50 +01:00
Nextcloud bot 79024d47d6 [tx-robot] updated from transifex 2021-03-10 04:02:18 +00:00
Tobias Kaminsky 379652aeb8 daily dev 20210310
harden notification empty screenshot test
Update translations
2021-03-10 03:36:54 +01:00
Tobias Kaminsky 089f0eb2ac Merge remote-tracking branch 'origin/master' into dev 2021-03-10 03:31:21 +01:00
dependabot[bot] 2368861779 Bump json from 20201115 to 20210307
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20201115 to 20210307.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-10 02:05:32 +00:00
dependabot[bot] 4e90fdc16b Bump byteBuddyVersion from 1.10.21 to 1.10.22
Bumps `byteBuddyVersion` from 1.10.21 to 1.10.22.

Updates `byte-buddy` from 1.10.21 to 1.10.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.10.21...byte-buddy-1.10.22)

Updates `byte-buddy-android` from 1.10.21 to 1.10.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.10.21...byte-buddy-1.10.22)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-10 02:04:47 +00:00
Andy Scherzinger 2fdf84ac2b Add black screenshots tests
Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-09 11:43:30 +01:00
Andy Scherzinger 1e0ec8b2d4 Merge pull request #8091 from nextcloud/hardenEmptyNotificationTest
Harden notification empty screenshot test
2021-03-09 09:05:28 +01:00
Nextcloud bot 18e7840ad8 [tx-robot] updated from transifex 2021-03-09 03:53:37 +00:00
Tobias Kaminsky 8163cfb137 daily dev 20210309
Fixed Misdisplaying view in landscape mode.
Use v2 for user info, also switched to typed response
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-03-09 03:40:49 +01:00
Tobias Kaminsky c8a0fa8179 Merge remote-tracking branch 'origin/master' into dev 2021-03-09 03:32:45 +01:00
Lucas Haug a114a593a8 Added Tests
Signed-off-by: Lucas Haug <[email protected]>
2021-03-08 18:35:34 +01:00
Lucas Haug 17bdb8979e Added comment
Signed-off-by: Lucas Haug <[email protected]>
2021-03-08 18:35:33 +01:00
Lucas Haug 1e3ea9e74c Implementation of folder uploads
Signed-off-by: Lucas Haug <[email protected]>
2021-03-08 18:35:33 +01:00
Andy Scherzinger c8696d9f64 harden notification empty screenshot test
Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-08 18:26:22 +01:00
Andy Scherzinger 5bd4dc88f3 Merge pull request #8061 from nextcloud/dependabot/gradle/kotlin_version-1.4.31
Bump kotlin_version from 1.4.30 to 1.4.31
2021-03-08 16:44:50 +01:00
dependabot[bot] 4d83670ce1 Bump kotlin_version from 1.4.30 to 1.4.31
Bumps `kotlin_version` from 1.4.30 to 1.4.31.

Updates `kotlin-gradle-plugin` from 1.4.30 to 1.4.31

Updates `kotlin-stdlib-jdk7` from 1.4.30 to 1.4.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)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-08 10:14:44 +00:00
Andy Scherzinger 082d436ee5 Merge pull request #8129 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.0
Bump spotbugs-gradle-plugin from 4.6.2 to 4.7.0
2021-03-08 11:13:58 +01:00
dependabot[bot] c3603936ad Bump spotbugs-gradle-plugin from 4.6.2 to 4.7.0
Bumps spotbugs-gradle-plugin from 4.6.2 to 4.7.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-08 08:58:07 +00:00
Tobias Kaminsky a64ad5f179 Merge pull request #8124 from Mehdi-git/master
Fixed Misdisplaying view in landscape mode.
2021-03-08 07:29:31 +01:00
Tobias Kaminsky 0a1a32c68c Merge pull request #8106 from nextcloud/useV2
Use v2 for user info, also switched to typed response
2021-03-08 07:15:15 +01:00
Nextcloud bot 827f0a9f84 [tx-robot] updated from transifex 2021-03-08 03:53:02 +00:00
mehdi-git c6e27fd4aa Fixed Misdisplaying view in landscape mode. 2021-03-07 16:51:25 +03:30
Nextcloud bot dbee7bf0fc [tx-robot] updated from transifex 2021-03-07 03:49:05 +00:00
Tobias Kaminsky dee06f454e daily dev 20210307
Reduce number of calls to /index.php/204 if there is nothing to do.
Update translations
Update Nextcloud Android library
2021-03-07 03:49:40 +01:00
Tobias Kaminsky 14c8770e51 Merge remote-tracking branch 'origin/master' into dev 2021-03-07 03:39:54 +01:00
Nextcloud bot f78765e672 [tx-robot] updated from transifex 2021-03-06 03:53:33 +00:00
Tobias Kaminsky b7774e0e13 Merge remote-tracking branch 'origin/master' into dev 2021-03-06 03:32:48 +01:00
Tobias Kaminsky 191c6096ba Merge pull request #8115 from nextcloud/fixScreenshotTestsWorkflow
Fix workflow for screenShotTest.yml
2021-03-05 09:03:46 +01:00
tobiasKaminsky 1a66f6a3ee Fix workflow for screenShotTest.yml
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-05 09:03:16 +01:00
tobiasKaminsky 3fd76e1e2a Use v2 for user info, also switched to typed response
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-05 08:27:47 +01:00
Tobias Kaminsky 2d087215de Merge pull request #7892 from tomaszduda23/master
Reduce number of calls to /index.php/204 if there is nothing to do.
2021-03-05 07:40:12 +01:00
Nextcloud bot 283ea398da [tx-robot] updated from transifex 2021-03-05 03:52:45 +00:00
Tobias Kaminsky 8afed6b4f9 Merge remote-tracking branch 'origin/master' into dev 2021-03-05 03:34:44 +01:00
Tobias Kaminsky 6ac9ab20fd Merge pull request #8095 from nextcloud/assembleOnUbuntu
Assemble can run on ubuntu, so we save precious macOS testing time
2021-03-04 14:02:53 +01:00
Tobias Kaminsky c768fab7a0 Merge pull request #8104 from nextcloud/githubTokenForAutoApprove
Use github_token also for auto_approve
2021-03-04 07:52:46 +01:00
tobiasKaminsky 815a8a95fc Use github_token also for auto_approve
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-04 07:48:59 +01:00
Tobias Kaminsky 6f813dbf42 Merge pull request #8094 from nextcloud/qaSecrets
Use GITHUB_TOKEN
2021-03-04 07:45:04 +01:00
Tobias Kaminsky 7a335c5a07 daily dev 20210304
Update Nextcloud Android library
2021-03-04 03:39:37 +01:00
tobiasKaminsky b1616eb715 Assemble can run on ubuntu, so we save precious macOS testing time
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-03 11:11:22 +01:00
tobiasKaminsky 11e077a51f Use GITHUB_TOKEN instead of own private access token
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-03 09:51:49 +01:00
Tobias Kaminsky 467f8dcdd0 daily dev 20210303
reformat code
Correctly parse share api
Fix after rebase
remove unexpected spacing
use binding instead of findById
plugin: 'kotlin-android-extensions' deprecrated use viewbinding see: https://developer.android.com/topic/libraries/view-binding/migration
plugin: 'kotlin-android-extensions' deprecrated use viewbinding see: https://developer.android.com/topic/libraries/view-binding/migration
Update translations
Update Nextcloud Android library
2021-03-03 03:38:04 +01:00
Tobias Kaminsky 5ac5d7cd8c Merge remote-tracking branch 'origin/master' into dev 2021-03-03 03:31:55 +01:00
Tomasz cc69e660f0 Reduce number of calls to /index.php/204 if there is nothing to do.
https://github.com/nextcloud/android/issues/2263
Signed-off-by: Tomasz <[email protected]>
2021-03-02 23:03:21 +01:00
Andy Scherzinger b160958a95 Merge pull request #8084 from nextcloud/fixShareResponse
Correctly parse share api
2021-03-02 16:43:06 +01:00
Andy Scherzinger dd3c8b4363 Merge pull request #7620 from nextcloud/kotlin-android-extensions
plugin: 'kotlin-android-extensions' deprecrated
2021-03-02 10:22:48 +01:00
Andy Scherzinger 4822bc68b3 reformat code 2021-03-02 09:29:02 +01:00
Nextcloud bot b041ee1f42 [tx-robot] updated from transifex 2021-03-02 03:58:55 +00:00
Tobias Kaminsky 727fcae2dc Merge remote-tracking branch 'origin/master' into dev 2021-03-02 03:32:33 +01:00
tobiasKaminsky 6a0b91e2c3 Correctly parse share api
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-01 15:03:05 +01:00
Nextcloud bot 9b1e0f3e8a [tx-robot] updated from transifex 2021-03-01 03:49:44 +00:00
Nextcloud bot dfaffb34af [tx-robot] updated from transifex 2021-02-28 03:47:51 +00:00
Nextcloud bot 6ad1fa7a13 [tx-robot] updated from transifex 2021-02-27 03:52:42 +00:00
Tobias Kaminsky e2703bc33d daily dev 20210227
Update translations
Update 3rd-party dependencies
2021-02-27 03:38:50 +01:00
Tobias Kaminsky ae4f24e189 Merge remote-tracking branch 'origin/master' into dev 2021-02-27 03:32:54 +01:00
Andy Scherzinger 805f49cddd Merge pull request #8068 from nextcloud/ReduceStoredArtifacts
Reduce stored artifact size
2021-02-26 11:48:01 +01:00
Hannes Achleitner fb40016b02 Reduce stored artifact size 2021-02-26 10:55:11 +01:00
Andy Scherzinger 5a2ca96c05 Merge pull request #8066 from nextcloud/dependabot/gradle/daggerVersion-2.33
Bump daggerVersion from 2.32 to 2.33
2021-02-26 10:34:06 +01:00
Nextcloud bot 5c56fba753 [tx-robot] updated from transifex 2021-02-26 03:50:22 +00:00
Tobias Kaminsky 845c32a097 daily dev 20210226
codacy: remove unused line
Previously TestActivity overwrote Capabilities on start if there is no account passed to ThemeUtils when fetching primary Color, FileDataStorageManager is created, there we need application context, normal context is not enough for testing
remove unused variable
simplify primary borderless button theming
simplify and unify borderless button theming
moving "cancel" dialog-button-action from negative to neutral action-button
Update translations
Update 3rd-party dependencies
2021-02-26 03:38:22 +01:00
Tobias Kaminsky 3dce97a4f9 Merge remote-tracking branch 'origin/master' into dev 2021-02-26 03:31:27 +01:00
dependabot[bot] a8d0bfbaf0 Bump daggerVersion from 2.32 to 2.33
Bumps `daggerVersion` from 2.32 to 2.33.

Updates `dagger` from 2.32 to 2.33
- [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.32...dagger-2.33)

Updates `dagger-android` from 2.32 to 2.33
- [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.32...dagger-2.33)

Updates `dagger-android-support` from 2.32 to 2.33
- [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.32...dagger-2.33)

Updates `dagger-compiler` from 2.32 to 2.33
- [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.32...dagger-2.33)

Updates `dagger-android-processor` from 2.32 to 2.33
- [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.32...dagger-2.33)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-26 02:03:54 +00:00
Andy Scherzinger 075c6808ee Merge pull request #8060 from nextcloud/onlyUploadIfSecretsSet
Before uploading failed reports check if secrets are set
2021-02-25 22:27:09 +01:00
Andy Scherzinger 08053f5dbc Merge pull request #8058 from nextcloud/fixScreenshotColorTests
Fix screenshot tests on TestActivity
2021-02-25 21:48:06 +01:00
Andy Scherzinger f13f01327d update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-25 21:47:34 +01:00
Andy Scherzinger 9addd74bec codacy: remove unused line
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-25 21:15:08 +01:00
tobiasKaminsky 6a3f3051c4 Previously TestActivity overwrote Capabilities on start
if there is no account passed to ThemeUtils when fetching primary Color, FileDataStorageManager is created, there we need application context, normal context is not enough for testing

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-25 21:15:07 +01:00
Andy Scherzinger b11119266d Merge pull request #8045 from hannesa2/LineLength
Proposal to change max line length
2021-02-25 19:03:46 +01:00
Andy Scherzinger 19f40e139d Merge pull request #7966 from nextcloud/dependabot/gradle/androidx.fragment-fragment-1.3.0
Bump fragment from 1.2.5 to 1.3.0
2021-02-25 16:14:44 +01:00
Andy Scherzinger dab5ce0f7c Merge pull request #8046 from nextcloud/GrabEspressoResults
Grab Espresso results and apk
2021-02-25 16:06:38 +01:00
tobiasKaminsky f1d3854a11 Before uploading failed reports check if secrets are set
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-25 15:32:52 +01:00
Andy Scherzinger 9eae1aea56 Merge pull request #8012 from nextcloud/dialogActionAlignment
Moving "cancel" dialog-button-action
2021-02-25 14:56:54 +01:00
Tobias Kaminsky 244952f82e Merge pull request #8056 from nextcloud/staleV3
Run every 2h
2021-02-25 08:55:29 +01:00
tobiasKaminsky 72d7f46ed1 Run every 2h
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-25 08:53:18 +01:00
Andy Scherzinger a6db551f2a Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-25 08:29:23 +01:00
Andy Scherzinger 739ff2a91e remove unused variable
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-25 08:29:05 +01:00
Tobias Kaminsky 5511cd4046 Merge pull request #8048 from nextcloud/HamonizeCheckOnCI
Harmonize check CI jobs
2021-02-25 07:34:38 +01:00
Hannes Achleitner 434f1c28ef Change max line length
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-25 07:05:45 +01:00
Nextcloud bot 1c964b4032 [tx-robot] updated from transifex 2021-02-25 03:51:52 +00:00
Tobias Kaminsky c3b9d15722 daily dev 20210225
Migrate UriUploader to User model
format code
replace Random with SecureRandom and ignore Spotbugs warnign about randomness (just creating Notification IDs)
Dont dismiss notification after each upload/download
Fix wrong sharing behavior. Test: - open sharing detail of a file - share a file - go back - refresh folder or go into another folder -> should work as expected
Fix wrong renaming of unkown file types Fix #7962
Rename .java to .kt
Migrate ThumbnailsCacheManager to User model
move color(-calculation) related implementation to distinct class
Update translations
Update Nextcloud Android library
2021-02-25 03:41:46 +01:00
Tobias Kaminsky 411dff4c03 Merge remote-tracking branch 'origin/master' into dev 2021-02-25 03:34:29 +01:00
Hannes Achleitner 2039a61013 Grab Espresso results
Keep apk artifacts

Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-24 18:03:29 +01:00
Andy Scherzinger bb0e07a2d2 Merge pull request #8033 from hannesa2/DependabotActions
Dependabot for actions
2021-02-24 16:36:13 +01:00
tobiasKaminsky b4283b2654 Fix after rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-24 15:39:07 +01:00
Andy Scherzinger 2e7c16d736 simplify primary borderless button theming
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:33:24 +01:00
Andy Scherzinger 7ab77f7194 harden UI tests
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:33:23 +01:00
Andy Scherzinger b00d9d4975 Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:33:22 +01:00
Andy Scherzinger f7627365b2 simplify and unify borderless button theming
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:33:21 +01:00
Andy Scherzinger 840e3909e0 moving "cancel" dialog-button-action from negative to neutral action-button
Resolves #8006

Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:33:20 +01:00
Andy Scherzinger 5073e04b0b remove unexpected spacing
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:07:50 +01:00
Andy Scherzinger 1af19c6b04 use binding instead of findById
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:07:50 +01:00
tobiasKaminsky 71e6540a72 plugin: 'kotlin-android-extensions' deprecrated
use viewbinding
see: https://developer.android.com/topic/libraries/view-binding/migration

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-24 15:07:49 +01:00
tobiasKaminsky c7ad968773 plugin: 'kotlin-android-extensions' deprecrated
use viewbinding
see: https://developer.android.com/topic/libraries/view-binding/migration

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-24 15:07:06 +01:00
Tobias Kaminsky ca8f385439 Merge pull request #8043 from nextcloud/MatrixFlavors
[Testing] Build flavors with matrix
2021-02-24 14:51:13 +01:00
Hannes Achleitner 71a71f49f8 Harmonize check CI jobs
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-24 14:21:33 +01:00
Tobias Kaminsky ecbf815f23 Merge pull request #7992 from nextcloud/fixSharing
Fix wrong sharing behavior.
2021-02-24 14:18:36 +01:00
Andy Scherzinger 723d81e8a7 Merge pull request #7868 from nextcloud/ezaquarii/migrate-thumbnail-cache-manager-to-user-model
Migrate ThumbnailsCacheManager to User model
2021-02-24 14:09:55 +01:00
Andy Scherzinger 49cb7f8318 Merge pull request #7867 from nextcloud/ezaquarii/migrate-uri-uploader-to-user-model
Migrate UriUploader to User model
2021-02-24 13:18:03 +01:00
Chris Narkiewicz 23536be206 Migrate UriUploader to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-02-24 13:08:16 +01:00
Andy Scherzinger 9c44d5d866 Merge pull request #8024 from nextcloud/uncommonFilesAddBin
Fix: uncommon files add bin
2021-02-24 13:02:35 +01:00
Andy Scherzinger e5d3010c90 Merge pull request #8034 from hannesa2/MatrixScreenshot
Harmonize screenshot test with a matrix
2021-02-24 13:01:25 +01:00
Andy Scherzinger 09cead89a9 Merge pull request #7949 from nextcloud/fix/7651/singlenotification
Dont dismiss notification after each upload/download
2021-02-24 11:56:30 +01:00
Andy Scherzinger 9e2920b2dc format code
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 11:55:58 +01:00
Andy Scherzinger debc206ab0 Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 11:55:57 +01:00
Andy Scherzinger 8bf657ce27 replace Random with SecureRandom and ignore Spotbugs warnign about randomness (just creating Notification IDs)
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 11:55:57 +01:00
Felix Nüsse 4c77c6ad51 Dont dismiss notification after each upload/download
Signed-off-by: Felix Nüsse <[email protected]>
2021-02-24 11:55:56 +01:00
Tobias Kaminsky 2f4b1e7861 Merge pull request #8014 from nextcloud/refactorColorSystem
Move color(-calculation) related implementation to distinct classes
2021-02-24 11:29:08 +01:00
tobiasKaminsky a763d693db Fix wrong sharing behavior.
Test:
- open sharing detail of a file
- share a file
- go back
- refresh folder or go into another folder
-> should work as expected

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-24 11:19:17 +01:00
Hannes Achleitner 6beeadc322 Build flavors with matrix
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-24 06:53:57 +01:00
Nextcloud bot 454abad732 [tx-robot] updated from transifex 2021-02-24 03:57:29 +00:00
Tobias Kaminsky eeefe69eb7 daily dev 20210224
Try to fetch avatar only if sharee type is "federated"
user search: when reusing temp file, we first need to delete it
Update Nextcloud Android library
Update 3rd-party dependencies
2021-02-24 03:40:52 +01:00
Tobias Kaminsky 18b3652594 Merge remote-tracking branch 'origin/master' into dev 2021-02-24 03:33:50 +01:00
drone d597952522 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-02-23 23:52:26 +01:00
tobiasKaminsky d4aaebe5ac Fix wrong renaming of unkown file types
Fix #7962

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-23 23:52:25 +01:00
tobiasKaminsky 891532ca55 Rename .java to .kt
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-23 23:52:25 +01:00
Andy Scherzinger ce4a8159b6 Merge pull request #7993 from nextcloud/noAvatars
user search: when reusing temp file, we first need to delete it
2021-02-23 23:48:42 +01:00
Chris Narkiewicz 1451a115d9 Migrate ThumbnailsCacheManager to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-02-23 23:47:22 +01:00
Andy Scherzinger c9a888ce4a Merge pull request #8027 from nextcloud/federatedUser
Try to fetch avatar only if sharee type is "federated"
2021-02-23 23:29:59 +01:00
Hannes Achleitner c1eac11903 Build in matrix all
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-23 20:10:40 +01:00
Hannes Achleitner cbafad99a0 Harmonize screenshot test with a matrix
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-23 18:36:31 +01:00
Hannes Achleitner 7af55b2e77 Format all again
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-23 18:28:19 +01:00
Hannes Achleitner 28967d677b Dependabot for actions
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-23 17:37:55 +01:00
Hannes Achleitner d8a42b24f7 Format file
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-23 17:37:46 +01:00
Andy Scherzinger 4322d26d30 Merge pull request #8030 from nextcloud/dependabot/gradle/mockitoVersion-3.8.0
Bump mockitoVersion from 3.7.7 to 3.8.0
2021-02-23 16:04:31 +01:00
Tobias Kaminsky 8cd6285a68 Merge pull request #8031 from nextcloud/updateStaleActions
Stale actions: update label set
2021-02-23 07:13:58 +01:00
tobiasKaminsky 3a2cc8f247 Update label set
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-23 07:13:01 +01:00
Tobias Kaminsky 6b3bfa1db5 daily dev 20210223
After reboot passcode timeout was miscalculated
replace edge colors for primary color highlighting of tabs
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-02-23 03:41:55 +01:00
Tobias Kaminsky d9ac623777 Merge remote-tracking branch 'origin/master' into dev 2021-02-23 03:33:01 +01:00
dependabot[bot] ce10ffe623 Bump mockitoVersion from 3.7.7 to 3.8.0
Bumps `mockitoVersion` from 3.7.7 to 3.8.0.

Updates `mockito-core` from 3.7.7 to 3.8.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.7...v3.8.0)

Updates `mockito-android` from 3.7.7 to 3.8.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.7...v3.8.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-23 02:03:56 +00:00
Andy Scherzinger d24a58c007 Merge pull request #8026 from nextcloud/handlePassAfterReboot
After reboot passcode timeout was miscalculated
2021-02-22 22:08:23 +01:00
tobiasKaminsky d23145bb77 Try to fetch avatar only if sharee type is "federated"
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-22 15:09:59 +01:00
Andy Scherzinger 30e1d74a46 Merge pull request #8020 from nextcloud/dependabot/gradle/byteBuddyVersion-1.10.21
Bump byteBuddyVersion from 1.10.19 to 1.10.21
2021-02-22 14:49:36 +01:00
Andy Scherzinger fe42bb799b move color(-calculation) related implementation to distinct class
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-22 14:44:51 +01:00
tobiasKaminsky 86e83b66b2 After reboot passcode timeout was miscalculated
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-22 14:43:11 +01:00
Tobias Kaminsky 53a17dd755 Merge pull request #8025 from nextcloud/staleBotToStaleAction
Use stale actions instead of stale bot
2021-02-22 13:53:01 +01:00
tobiasKaminsky 69e7013727 Use stale actions instead of stale bot
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-22 13:51:30 +01:00
Andy Scherzinger ac1cc0b625 Merge pull request #8022 from nextcloud/tabsHighlighting
Replace edge colors for primary color highlighting of tabs
2021-02-22 13:04:26 +01:00
Andy Scherzinger d09991805e Merge pull request #8021 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.6.2
Bump spotbugs-gradle-plugin from 4.6.0 to 4.6.2
2021-02-22 08:55:59 +01:00
Andy Scherzinger 6fa3ed0556 replace edge colors for primary color highlighting of tabs
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-22 08:39:47 +01:00
Nextcloud bot b49a07ed3b [tx-robot] updated from transifex 2021-02-22 06:07:08 +00:00
dependabot[bot] 58950d64dd Bump spotbugs-gradle-plugin from 4.6.0 to 4.6.2
Bumps spotbugs-gradle-plugin from 4.6.0 to 4.6.2.

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-22 02:03:56 +00:00
dependabot[bot] acef6230a3 Bump byteBuddyVersion from 1.10.19 to 1.10.21
Bumps `byteBuddyVersion` from 1.10.19 to 1.10.21.

Updates `byte-buddy` from 1.10.19 to 1.10.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.10.19...byte-buddy-1.10.21)

Updates `byte-buddy-android` from 1.10.19 to 1.10.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.10.19...byte-buddy-1.10.21)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-22 02:03:26 +00:00
Tobias Kaminsky 5f7445d8a5 daily dev 20210220
codacy: introduce constant
codacy: remove unused code/imports
remove deprecated style definition and use new theming method
preserve button state and title on restore
show helper text for more than one template only
Use dynamic titles
hide template chooser in case there is only one template
proper code formatting
update rich document chooser for new prefill logic
add auto pre-filling of file name upon template chosen
proper text input handling for button state checks
Add button state coloring
enable "create" button only if template is selected and name is valid
use neutral instead of negative button for cancel action
polish template chooser dialog
Template Dialog: template needs to be selected
repsect color-edge cases for share dialog tinting
optimize search view
add avatar to comment field
adjust menu alignment with headline text
adjust text colors
remove unused imports
harmonize text sizes, make active tab easier to discover
replace edge color for input field
cleanup legacy text size values
add button tinting
harmonize text sizes, make active tab easier to discover
containerize status text field
simplify PIN theming for non-containerized input field
Use containerized text input field styling
Fix during CI
Fix tests
codacy: Avoid declaring a variable if it is unreferenced before a possible exit point.
Add test
Use new GetMethod, drop apache one
Update translations
Update 3rd-party dependencies
2021-02-20 03:37:18 +01:00
Tobias Kaminsky 9198290680 Merge remote-tracking branch 'origin/master' into dev 2021-02-20 03:31:50 +01:00
Tobias Kaminsky afc6b720c3 Merge pull request #8005 from nextcloud/template
Template Dialog: template needs to be selected
2021-02-19 14:55:00 +01:00
Andy Scherzinger 06b581a7a9 codacy: introduce constant
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 14:09:08 +01:00
Andy Scherzinger ac33333c35 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 14:07:27 +01:00
Andy Scherzinger eaeb0f350c codacy: remove unused code/imports
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 14:07:08 +01:00
dependabot[bot] 4eb68d192f Bump fragment from 1.2.5 to 1.3.0
Bumps fragment from 1.2.5 to 1.3.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-19 11:58:19 +00:00
Andy Scherzinger 586c546a8a Merge pull request #7902 from nextcloud/dependabot/gradle/androidx.work-work-runtime-2.5.0
Bump work-runtime from 2.4.0 to 2.5.0
2021-02-19 12:57:30 +01:00
Andy Scherzinger 9868245fdd remove deprecated style definition and use new theming method
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 11:47:31 +01:00
Andy Scherzinger cd341063fb preserve button state and title on restore
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:13 +01:00
Andy Scherzinger 99e1e8a24c show helper text for more than one template only
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:12 +01:00
Andy Scherzinger 3253e1356f Use dynamic titles
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:11 +01:00
Andy Scherzinger cdc611a71e hide template chooser in case there is only one template
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:10 +01:00
Andy Scherzinger 39433b57f1 proper code formatting
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:09 +01:00
Andy Scherzinger 06ced09c7a update rich document chooser for new prefill logic
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:09 +01:00
Andy Scherzinger 64ad49163f add auto pre-filling of file name upon template chosen
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:08 +01:00
Andy Scherzinger 299248766c proper text input handling for button state checks
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:07 +01:00
Andy Scherzinger adb0394722 Add button state coloring
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:06 +01:00
tobiasKaminsky 6edaaa3d3c enable "create" button only if template is selected and name is valid
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-19 09:00:05 +01:00
Andy Scherzinger 44b2e565b2 use neutral instead of negative button for cancel action
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:04 +01:00
drone 01897a04d2 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-02-19 09:00:04 +01:00
Andy Scherzinger 46da2040ae polish template chooser dialog
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:03 +01:00
tobiasKaminsky d326044bfe Template Dialog: template needs to be selected
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-19 08:59:56 +01:00
Andy Scherzinger 44926b6f24 Merge pull request #7207 from nextcloud/newGet
Use new GetMethod, drop apache one
2021-02-19 08:59:16 +01:00
Andy Scherzinger a07a5fa8e7 Merge pull request #8001 from nextcloud/containerizedTextfields
Containerized textfield theme
2021-02-19 08:57:42 +01:00
dependabot[bot] 8c08d7c4a8 Bump work-runtime from 2.4.0 to 2.5.0
Bumps work-runtime from 2.4.0 to 2.5.0.

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-19 08:47:32 +01:00
Nextcloud bot d41ba8ce0f [tx-robot] updated from transifex 2021-02-19 03:54:48 +00:00
Tobias Kaminsky abf539e482 daily dev 20210219
Official naming schema
Meaningfull project name
Pin prompt: add brute force: delay from 1 to 10s when wrong input
Update SETUP.md
Update translations
Update 3rd-party dependencies
2021-02-19 03:38:26 +01:00
Tobias Kaminsky 4c3eb64fbd Merge remote-tracking branch 'origin/master' into dev 2021-02-19 03:31:50 +01:00
Andy Scherzinger 7ea103dd09 Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:27 +01:00
Andy Scherzinger 99f1bfa6e6 repsect color-edge cases for share dialog tinting
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:26 +01:00
Andy Scherzinger 0fbf17a789 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:25 +01:00
Andy Scherzinger 43f034c778 optimize search view
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:20 +01:00
Andy Scherzinger 5c7ebccd1d add avatar to comment field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:19 +01:00
Andy Scherzinger 9a44fed0b5 adjust menu alignment with headline text
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:18 +01:00
Andy Scherzinger 90437b237f adjust text colors
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:17 +01:00
Andy Scherzinger f9c74c1ea3 remove unused imports
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:17 +01:00
Andy Scherzinger 6efe2934b4 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:16 +01:00
Andy Scherzinger 99e5694ece harmonize text sizes, make active tab easier to discover
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:15 +01:00
Andy Scherzinger 204cd0d4b7 replace edge color for input field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:14 +01:00
Andy Scherzinger 433a541b64 cleanup legacy text size values
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:13 +01:00
Andy Scherzinger f55e711801 add button tinting
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:09 +01:00
Andy Scherzinger b286740148 harmonize text sizes, make active tab easier to discover
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:09 +01:00
Andy Scherzinger 1e250109ab containerize status text field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:30:39 +01:00
Andy Scherzinger 8792e2e3f2 simplify PIN theming for non-containerized input field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:30:38 +01:00
Andy Scherzinger 136dfea69a Use containerized text input field styling
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:30:34 +01:00
Andy Scherzinger 6c9a639bd6 Merge pull request #7997 from nextcloud/pinBruteForce
Pin prompt: add brute force: delay from 1 to 10s when wrong input
2021-02-18 16:28:22 +01:00
Tobias Kaminsky 7f3050ea12 Merge pull request #7967 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.3.0
Bump lifecycle-viewmodel-ktx from 2.2.0 to 2.3.0
2021-02-18 15:20:25 +01:00
Tobias Kaminsky 494aefad4a Merge pull request #7889 from Webbeh/patch-1
Update SETUP.md
2021-02-18 14:59:41 +01:00
tobiasKaminsky d29e0305ef Fix during CI
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-18 14:58:19 +01:00
tobiasKaminsky d3306ba516 Fix tests
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-18 14:58:19 +01:00
Andy Scherzinger 71894243f0 codacy: Avoid declaring a variable if it is unreferenced before a possible exit point.
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-18 14:58:19 +01:00
tobiasKaminsky 4905d01e67 Add test
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-18 14:58:19 +01:00
tobiasKaminsky f97a86df68 Use new GetMethod, drop apache one
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-18 14:58:18 +01:00
Tobias Kaminsky 12de84c6c6 Merge pull request #8011 from hannesa2/MeaningfullProjectName
Meaningfull project name
2021-02-18 14:49:38 +01:00
Hannes AchleitnerandAndy Scherzinger 7eec7614e3 Official naming schema
Co-authored-by: Andy Scherzinger <[email protected]>
2021-02-18 11:41:11 +01:00
Hannes Achleitner b678951cfb Meaningfull project name
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-18 10:53:10 +01:00
Nextcloud bot a64d74027d [tx-robot] updated from transifex 2021-02-18 03:54:24 +00:00
Tobias Kaminsky ede4c34993 daily dev 20210218
Set text field text color
Add screenshot tests
resize input fields so they don't span 100% width
Update translations
Update 3rd-party dependencies
2021-02-18 03:40:53 +01:00
Tobias Kaminsky 5fda30f7d4 Merge remote-tracking branch 'origin/master' into dev 2021-02-18 03:32:54 +01:00
Andy Scherzinger a5aa8c9042 Merge pull request #7994 from nextcloud/loginTextfieldWidth
Resize log-in input fields so they don't span 100% width
2021-02-17 18:03:33 +01:00
dependabot[bot] 9ba4be9333 Bump lifecycle-viewmodel-ktx from 2.2.0 to 2.3.0
Bumps lifecycle-viewmodel-ktx from 2.2.0 to 2.3.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-17 12:24:36 +00:00
Tobias Kaminsky e1434cf090 Merge pull request #7930 from nextcloud/dependabot/gradle/kotlin_version-1.4.30
Bump kotlin_version from 1.4.21-2 to 1.4.30
2021-02-17 13:22:59 +01:00
tobiasKaminsky 42619191d7 user search: when reusing temp file, we first need to delete it
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-17 10:57:43 +01:00
Andy Scherzinger 7732ad3014 add screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-17 10:46:29 +01:00
tobiasKaminsky 048bb8aa34 Pin prompt: add brute force: delay from 1 to 10s when wrong input
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-17 09:06:13 +01:00
Andy Scherzinger c4e8c3df6c Set text field text color
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-17 09:03:05 +01:00
Andy Scherzinger 7650c8f8ea Add screenshot tests
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-17 09:03:04 +01:00
Andy Scherzinger 4714e7767e resize input fields so they don't span 100% width
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-17 09:03:03 +01:00
Nextcloud bot fe2887456e [tx-robot] updated from transifex 2021-02-17 03:48:18 +00:00
Tobias Kaminsky f2efc58300 daily dev 20210217
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-02-17 03:38:11 +01:00
Tobias Kaminsky 5507494cb0 Merge remote-tracking branch 'origin/master' into dev 2021-02-17 03:32:09 +01:00
Nextcloud bot 241ba4104b [tx-robot] updated from transifex 2021-02-16 03:49:43 +00:00
Tobias Kaminsky 66e56fb915 Merge remote-tracking branch 'origin/master' into dev 2021-02-16 03:33:06 +01:00
Andy Scherzinger d6d8435b96 Merge pull request #7984 from nextcloud/dependabot/gradle/junit-junit-4.13.2
Bump junit from 4.13.1 to 4.13.2
2021-02-15 09:38:11 +01:00
Nextcloud bot 62c2ef9340 [tx-robot] updated from transifex 2021-02-15 03:45:30 +00:00
dependabot[bot] c15aa52911 Bump junit from 4.13.1 to 4.13.2
Bumps [junit](https://github.com/junit-team/junit4) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13.1...r4.13.2)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-15 02:04:43 +00:00
Nextcloud bot fadda0d76f [tx-robot] updated from transifex 2021-02-14 03:43:10 +00:00
Nextcloud bot 12b47af1c0 [tx-robot] updated from transifex 2021-02-13 03:46:08 +00:00
Tobias Kaminsky 3df83402b5 daily dev 20210213
hardening of passcode screenshot test
Add some more whitespace below the input field
user container-styling for text field on login screen
spotbugs: remove unused paramter and add null-check where needed
add helper text to server address field
user container-styling for text field on login screen
move note dialog to native view binding
Update translations
Update 3rd-party dependencies
2021-02-13 03:40:21 +01:00
Tobias Kaminsky ae1e2bee4e Merge remote-tracking branch 'origin/master' into dev 2021-02-13 03:32:27 +01:00
Andy Scherzinger b760abde36 Merge pull request #7971 from nextcloud/textfieldDesign
Textfield design
2021-02-12 12:03:56 +01:00
Andy Scherzinger e21f6ef0db hardening of passcode screenshot test
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-12 10:25:51 +01:00
dependabot[bot] ebb610b17c Bump kotlin_version from 1.4.21-2 to 1.4.30
Bumps `kotlin_version` from 1.4.21-2 to 1.4.30.

Updates `kotlin-gradle-plugin` from 1.4.21-2 to 1.4.30

Updates `kotlin-stdlib-jdk7` from 1.4.21-2 to 1.4.30
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.21-2...v1.4.30)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-12 07:25:14 +00:00
Tobias Kaminsky 7e100e5a80 Merge pull request #7690 from nextcloud/dependabot/gradle/com.karumi-shot-5.5.0
Bump shot from 5.3.0 to 5.5.0
2021-02-12 07:31:53 +01:00
Nextcloud bot 2bdd186a67 [tx-robot] updated from transifex 2021-02-12 03:46:28 +00:00
Tobias Kaminsky fb723f0442 daily dev 20210212
suppress lint, as it looks good on Android 5.0
remove obsolete dimens-value
Use full width of drawer for logo
Use full width of drawer for logo
Update translations
2021-02-12 03:36:47 +01:00
Tobias Kaminsky 8b7cf3b6f3 Merge remote-tracking branch 'origin/master' into dev 2021-02-12 03:31:20 +01:00
drone a2d31e8ed0 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-02-11 18:01:52 +00:00
Andy Scherzinger d776035132 Add some more whitespace below the input field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 18:53:25 +01:00
Andy Scherzinger d863131821 user container-styling for text field on login screen
* utilize endIcon capabilities
* move to native view binding

Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 18:36:51 +01:00
Andy Scherzinger c7a8062f00 spotbugs: remove unused paramter and add null-check where needed
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 18:27:52 +01:00
Andy Scherzinger 0dad4840f1 add helper text to server address field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 17:56:04 +01:00
Andy Scherzinger c8144a08d5 user container-styling for text field on login screen
* utilize endIcon capabilities
* move to native view binding

Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 13:54:52 +01:00
Andy Scherzinger 1a8434dd45 move note dialog to native view binding
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 12:51:23 +01:00
Andy Scherzinger 65300c35df Merge pull request #7916 from nextcloud/logo
Use full width of drawer for logo
2021-02-11 12:48:41 +01:00
Andy Scherzinger 97d9a1851a Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 12:48:16 +01:00
tobiasKaminsky c51588715a Merge remote-tracking branch 'origin/logo' into logo
# Conflicts:
#	screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer.png
#	screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_light_white.png
#	src/main/res/drawable/nextcloud_logo.xml
2021-02-11 08:51:24 +01:00
tobiasKaminsky 9cebf08143 replace screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-11 08:50:33 +01:00
tobiasKaminsky 86df058774 suppress lint, as it looks good on Android 5.0
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-11 08:49:35 +01:00
Tobias Kaminsky af1ca486c7 Merge pull request #7963 from nextcloud/codespace
Add support for GitHub codespaces
2021-02-11 08:28:00 +01:00
Nextcloud bot aef0c40a48 [tx-robot] updated from transifex 2021-02-11 03:46:09 +00:00
Tobias Kaminsky 6c03ceb84d daily dev 20210211
It can happen that client is null during thumbnail generation via SAF, if so let us create it
Update translations
Update 3rd-party dependencies
2021-02-11 03:38:39 +01:00
Tobias Kaminsky 9e8e9a30b4 Merge remote-tracking branch 'origin/master' into dev 2021-02-11 03:32:15 +01:00
Andy Scherzinger 27cf0987e6 remove obsolete dimens-value
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-10 23:12:52 +01:00
Andy Scherzinger 4f46951475 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-10 23:12:49 +01:00
tobiasKaminsky ba89d40fe8 Use full width of drawer for logo
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-10 23:12:22 +01:00
Andy Scherzinger 62d93502f4 Merge pull request #7935 from nextcloud/dependabot/gradle/com.google.android.material-material-1.3.0
Bump material from 1.2.1 to 1.3.0
2021-02-10 22:57:30 +01:00
Andy Scherzinger 0fe5244be6 Update Screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-10 22:57:03 +01:00
Andy Scherzinger 593c0a652d Merge pull request #7955 from nextcloud/clientDuringSAF
It can happen that client is null during thumbnail generation via SAF, if so let us create it
2021-02-10 19:16:08 +01:00
Lukas Reschke 71dcbbfdc1 Add support for GitHub codespaces
Signed-off-by: Lukas Reschke <[email protected]>
2021-02-10 11:39:23 +00:00
tobiasKaminsky 2fddaab17a It can happen that client is null during thumbnail generation via SAF, if so let us create it
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-10 09:30:45 +01:00
Nextcloud bot 759d9443c7 [tx-robot] updated from transifex 2021-02-10 03:52:59 +00:00
Tobias Kaminsky 4ddc98d196 daily dev 20210210
Fix not showing share view when clicking on it in send share dialog
Opens bottom share dialog on every file
Do not crash if wrong deep login url is used
Update translations
Update 3rd-party dependencies
2021-02-10 03:39:34 +01:00
Tobias Kaminsky d7bc7e3d80 Merge remote-tracking branch 'origin/master' into dev 2021-02-10 03:33:11 +01:00
Andy Scherzinger 33945b880b Merge pull request #7919 from nextcloud/parseLoginUrl
Do not crash if wrong deep login url is used
2021-02-09 23:47:55 +01:00
dependabot[bot] ec8732baae Bump material from 1.2.1 to 1.3.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.2.1...1.3.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-09 23:29:25 +01:00
Andy Scherzinger 87f5237e36 Merge pull request #7937 from nextcloud/opensShareDialogCorrectly
Opens bottom share dialog on every file
2021-02-09 23:08:47 +01:00
Andy Scherzinger 7ee51b97a3 Merge pull request #7953 from nextcloud/dependabot/gradle/daggerVersion-2.32
Bump daggerVersion from 2.31 to 2.32
2021-02-09 22:13:15 +01:00
dependabot[bot] e63b02015a Bump daggerVersion from 2.31 to 2.32
Bumps `daggerVersion` from 2.31 to 2.32.

Updates `dagger` from 2.31 to 2.32
- [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.31...dagger-2.32)

Updates `dagger-android` from 2.31 to 2.32
- [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.31...dagger-2.32)

Updates `dagger-android-support` from 2.31 to 2.32
- [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.31...dagger-2.32)

Updates `dagger-compiler` from 2.31 to 2.32
- [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.31...dagger-2.32)

Updates `dagger-android-processor` from 2.31 to 2.32
- [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.31...dagger-2.32)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-09 07:23:03 +00:00
Andy Scherzinger 48007f1f32 Merge pull request #7954 from nextcloud/dependabot/gradle/markwonVersion-4.6.2
Bump markwonVersion from 4.6.1 to 4.6.2
2021-02-09 07:56:30 +01:00
Nextcloud bot 4bb6a85fe0 [tx-robot] updated from transifex 2021-02-09 03:46:14 +00:00
dependabot[bot] 41cb7039e8 Bump markwonVersion from 4.6.1 to 4.6.2
Bumps `markwonVersion` from 4.6.1 to 4.6.2.

Updates `core` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Updates `ext-strikethrough` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Updates `ext-tables` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Updates `ext-tasklist` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Updates `html` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Updates `syntax-highlight` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-09 02:04:50 +00:00
Nextcloud bot 93266c20cf [tx-robot] updated from transifex 2021-02-08 03:46:10 +00:00
Nextcloud bot 00bc1aad10 [tx-robot] updated from transifex 2021-02-07 03:47:06 +00:00
Nextcloud bot 178e114f84 [tx-robot] updated from transifex 2021-02-06 03:49:55 +00:00
Tobias Kaminsky a76e3c379a daily dev 20210206
Update translations
Update Nextcloud Android library
2021-02-06 03:39:28 +01:00
Tobias Kaminsky 6c8ba6cb80 Merge remote-tracking branch 'origin/master' into dev 2021-02-06 03:32:25 +01:00
tobiasKaminsky 42da5f572a Fix not showing share view when clicking on it in send share dialog
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-05 11:16:08 +01:00
tobiasKaminsky f443cc8383 Opens bottom share dialog on every file
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-05 10:45:56 +01:00
Nextcloud bot b907b3cf22 [tx-robot] updated from transifex 2021-02-05 03:50:09 +00:00
Tobias Kaminsky 254f177c76 daily dev 20210205
remove invalid nc12 tags since the methods are used as fallback in case of errors and don't link to a server version
Update translations
2021-02-05 03:39:06 +01:00
Tobias Kaminsky ecb583f296 Merge remote-tracking branch 'origin/master' into dev 2021-02-05 03:33:20 +01:00
Andy Scherzinger 54be80a38d Merge pull request #7924 from nextcloud/serverSupport316
Server support bumps for 3.16
2021-02-04 18:27:23 +01:00
Andy Scherzinger fc31c2e30b remove invalid nc12 tags since the methods are used as fallback in case of errors and don't link to a server version
Update server versions according to E-o-L schedule

Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-04 08:50:34 +01:00
Nextcloud bot eca7f16abd [tx-robot] updated from transifex 2021-02-04 03:45:07 +00:00
Tobias Kaminsky 0e3ab321bc daily dev 20210204
Update translations
2021-02-04 03:41:42 +01:00
Tobias Kaminsky 48568bd83f Merge remote-tracking branch 'origin/master' into dev 2021-02-04 03:32:26 +01:00
Andy Scherzinger f4c9692877 Merge pull request #7922 from nextcloud/changelog-master-stable-3.14.3
Add changelog for 3.14.3
2021-02-03 11:53:05 +01:00
Andy Scherzinger 6e26529771 Add changelog for 3.14.3
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-03 11:51:24 +01:00
tobiasKaminsky 9343bdd85d Do not crash if wrong deep login url is used
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-03 09:01:40 +01:00
Nextcloud bot 7fc6b23d1c [tx-robot] updated from transifex 2021-02-03 04:00:24 +00:00
Tobias Kaminsky 5e1b18ba98 daily dev 20210203
Update translations
2021-02-03 03:38:38 +01:00
Tobias Kaminsky 8da8d5003f Merge remote-tracking branch 'origin/master' into dev 2021-02-03 03:33:14 +01:00
Andy Scherzinger 4ae1f86f77 Merge pull request #7918 from nextcloud/changelog-master-stable-3.15.0
Add changelog for 3.15.0
2021-02-02 18:43:47 +01:00
tobiasKaminsky ea21a45e61 Add changelog for 3.15.0
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-02 14:37:36 +01:00
tobiasKaminsky 5e46b835d0 Use full width of drawer for logo
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-02 13:12:14 +01:00
Nextcloud bot afbd744227 [tx-robot] updated from transifex 2021-02-02 03:42:51 +00:00
Tobias Kaminsky c058fb3453 daily dev 20210202
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-02-02 03:40:30 +01:00
Tobias Kaminsky 6756fad8d3 Merge remote-tracking branch 'origin/master' into dev 2021-02-02 03:32:10 +01:00
Andy Scherzinger 64767602e1 Merge pull request #7871 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-4.1.2
Bump gradle from 4.1.1 to 4.1.2
2021-02-01 14:50:52 +01:00
dependabot[bot] bba187cc0a Bump shot from 5.3.0 to 5.5.0
Bumps [shot](https://github.com/karumi/shot) from 5.3.0 to 5.5.0.
- [Release notes](https://github.com/karumi/shot/releases)
- [Changelog](https://github.com/Karumi/Shot/blob/master/release.gradle)
- [Commits](https://github.com/karumi/shot/compare/5.3.0...5.5.0)

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

Show only failing tests

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-01 14:22:37 +01:00
Nextcloud bot 5bc89bf0af [tx-robot] updated from transifex 2021-02-01 03:48:29 +00:00
Nextcloud bot a128027c56 [tx-robot] updated from transifex 2021-01-31 03:45:18 +00:00
Tobias Kaminsky 2b210b3b0d daily dev 20210130
Update translations
Update Nextcloud Android library
2021-01-30 03:41:07 +01:00
Tobias Kaminsky a1be85e2b9 Merge remote-tracking branch 'origin/master' into dev 2021-01-30 03:32:55 +01:00
Nextcloud bot 46286bc8e7 [tx-robot] updated from transifex 2021-01-29 03:51:22 +00:00
Nextcloud bot 623f6fc42e [tx-robot] updated from transifex 2021-01-28 09:07:57 +00:00
Nextcloud bot 66b8f57729 [tx-robot] updated from transifex 2021-01-27 14:28:43 +00:00
Nextcloud bot ef3bf41b04 [tx-robot] updated from transifex 2021-01-27 03:48:57 +00:00
Nextcloud bot 6768663082 [tx-robot] updated from transifex 2021-01-26 03:47:13 +00:00
Nicolas Glassey 68271956db Update SETUP.md 2021-01-23 18:45:49 +01:00
Nextcloud bot bf093a7927 [tx-robot] updated from transifex 2021-01-22 03:49:30 +00:00
Tobias Kaminsky 732782ec20 daily dev 20210122
Update translations
Update Nextcloud Android library
2021-01-22 03:43:54 +01:00
Tobias Kaminsky 1b75a428ab Merge remote-tracking branch 'origin/master' into dev 2021-01-22 03:34:18 +01:00
Nextcloud bot 03df829e55 [tx-robot] updated from transifex 2021-01-21 03:48:27 +00:00
Nextcloud bot 552958c886 [tx-robot] updated from transifex 2021-01-20 03:48:35 +00:00
Tobias Kaminsky ef735332de daily dev 20210120
Migrate CheckCurrentCredentialsOperation to User
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-01-20 03:43:19 +01:00
Tobias Kaminsky 99ef22323c Merge remote-tracking branch 'origin/master' into dev 2021-01-20 03:33:46 +01:00
dependabot[bot] 39c43e3e10 Bump gradle from 4.1.1 to 4.1.2
Bumps gradle from 4.1.1 to 4.1.2.

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-20 02:04:56 +00:00
Nextcloud bot f8b28a505b [tx-robot] updated from transifex 2021-01-19 03:46:47 +00:00
Tobias Kaminsky 1b7971fd21 Merge remote-tracking branch 'origin/master' into dev 2021-01-19 03:32:44 +01:00
Andy Scherzinger 19b4490215 Merge pull request #7854 from nextcloud/ezaquarii/migrate-check-current-credentials-to-user
Migrate CheckCurrentCredentialsOperation to User
2021-01-18 13:34:47 +01:00
Tobias Kaminsky 6744ed4fc9 Merge pull request #7788 from nextcloud/coverageReport
Upload coverage report even if combindedTestReport fails
2021-01-18 12:48:02 +01:00
Tobias Kaminsky 3a30b456fe Merge pull request #7841 from nextcloud/dependabot/gradle/daggerVersion-2.31
Bump daggerVersion from 2.30.1 to 2.31
2021-01-18 12:45:18 +01:00
Andy Scherzinger 129859d919 Merge pull request #7862 from nextcloud/dependabot/gradle/mockitoVersion-3.7.7
Bump mockitoVersion from 3.7.0 to 3.7.7
2021-01-18 08:31:41 +01:00
Nextcloud bot b4521a315b [tx-robot] updated from transifex 2021-01-18 03:45:48 +00:00
dependabot[bot] ee4040b33d Bump mockitoVersion from 3.7.0 to 3.7.7
Bumps `mockitoVersion` from 3.7.0 to 3.7.7.

Updates `mockito-core` from 3.7.0 to 3.7.7
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.0...v3.7.7)

Updates `mockito-android` from 3.7.0 to 3.7.7
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.0...v3.7.7)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-18 02:04:11 +00:00
Nextcloud bot 5d342032f3 [tx-robot] updated from transifex 2021-01-17 03:45:09 +00:00
Chris Narkiewicz d06463bbc5 Migrate CheckCurrentCredentialsOperation to User
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-01-16 20:04:40 +00:00
Nextcloud bot 2cc7788b7f [tx-robot] updated from transifex 2021-01-16 03:43:40 +00:00
Tobias Kaminsky 3ace4d6ca6 daily dev 20210116
l10n: Add word "data"
Update translations
Update 3rd-party dependencies
2021-01-16 03:37:27 +01:00
Tobias Kaminsky 6361d6cb34 Merge remote-tracking branch 'origin/master' into dev 2021-01-16 03:31:58 +01:00
dependabot[bot] 99d9ea2c6f Bump daggerVersion from 2.30.1 to 2.31
Bumps `daggerVersion` from 2.30.1 to 2.31.

Updates `dagger` from 2.30.1 to 2.31
- [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.30.1...dagger-2.31)

Updates `dagger-android` from 2.30.1 to 2.31
- [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.30.1...dagger-2.31)

Updates `dagger-android-support` from 2.30.1 to 2.31
- [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.30.1...dagger-2.31)

Updates `dagger-compiler` from 2.30.1 to 2.31
- [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.30.1...dagger-2.31)

Updates `dagger-android-processor` from 2.30.1 to 2.31
- [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.30.1...dagger-2.31)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-15 14:16:20 +00:00
Andy Scherzinger 20c66efd04 Merge pull request #7818 from nextcloud/Valdnet-patch-1
l10n: Add word "data"
2021-01-15 12:02:16 +01:00
Andy Scherzinger 9cdb002645 Merge pull request #7824 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.3.0-beta01
Bump appcompat from 1.2.0-rc01 to 1.2.0
2021-01-15 08:50:30 +01:00
Andy Scherzinger 44c44c40a7 Merge pull request #7831 from nextcloud/reduceWorkflowExecution
Run workflows only on PRs, but not on direct push (e.g. transifex push, or merge commit)
2021-01-15 08:40:54 +01:00
Nextcloud bot 1a157adf3d [tx-robot] updated from transifex 2021-01-15 03:51:05 +00:00
Tobias Kaminsky 7c1c15fae5 daily dev 20210115
Bump master to 3.16 apha
Fix crash when multiple editors are shown
Update translations
2021-01-15 03:37:52 +01:00
Tobias Kaminsky 751bd9b307 Merge remote-tracking branch 'origin/master' into dev 2021-01-15 03:32:09 +01:00
Andy Scherzinger 18ccf11c00 Merge pull request #7830 from nextcloud/bumpMasterTo3.16
Bump master to 3.16 apha
2021-01-14 20:28:52 +01:00
Tobias Kaminsky ebdf716e11 Merge pull request #7829 from nextcloud/fixCrashOnMultipleCreators
Fix crash when multiple editors are shown
2021-01-14 15:12:24 +01:00
tobiasKaminsky fb51298c97 Run workflows only on PRs, but not on direct push (e.g. transifex push, or merge commit)
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-14 15:10:21 +01:00
tobiasKaminsky dde0f116e9 Bump master to 3.16 apha
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-14 14:37:29 +01:00
Nextcloud bot e2567cf3cb [tx-robot] updated from transifex 2021-01-14 13:29:03 +00:00
tobiasKaminsky 211786c226 Fix crash when multiple editors are shown
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-14 14:19:26 +01:00
Tobias Kaminsky b0c44bb2f9 Merge pull request #7820 from nextcloud/changelog3_14_2
3.14.2 Changelog
2021-01-14 14:08:40 +01:00
dependabot[bot] cf9e38fa45 Bump appcompat from 1.2.0-rc01 to 1.2.0
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-14 13:54:41 +01:00
Nextcloud bot 14775f6f80 [tx-robot] updated from transifex 2021-01-14 03:48:54 +00:00
Andy Scherzinger 018ce30bad 3.14.2 Changelog
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-13 17:38:26 +01:00
Valdnet 5f64d99a2d l10n: Add word "data" 2021-01-13 11:24:24 +01:00
Nextcloud bot 7f502aaaaf [tx-robot] updated from transifex 2021-01-13 09:03:53 +00:00
Tobias Kaminsky fe69a2fc2c daily dev 20210109
Update Nextcloud Android library
2021-01-09 03:38:37 +01:00
Tobias Kaminsky d71d72f533 daily dev 20210107
Update Nextcloud Android library
Update 3rd-party dependencies
2021-01-07 03:41:51 +01:00
Tobias Kaminsky 272a440c01 Merge remote-tracking branch 'origin/master' into dev 2021-01-07 03:33:07 +01:00
Andy Scherzinger 782da9fdd0 Merge pull request #7686 from nextcloud/dependabot/gradle/com.google.code.findbugs-annotations-3.0.1u2
Bump annotations from 2.0.1 to 3.0.1u2
2021-01-06 10:43:29 +01:00
Andy Scherzinger 1bed4654cf Merge pull request #7747 from nextcloud/dependabot/gradle/mockkVersion-1.10.4
Bump mockkVersion from 1.10.2 to 1.10.4
2021-01-06 10:42:36 +01:00
tobiasKaminsky 296647ba9d Upload coverage report even if combindedTestReport fails
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-06 09:41:13 +01:00
Andy Scherzinger 5ae805bd2c Merge pull request #7753 from nextcloud/dependabot/gradle/kotlin_version-1.4.21-2
Bump kotlin_version from 1.4.21 to 1.4.21-2
2021-01-06 08:34:52 +01:00
dependabot[bot] d667514de5 Bump mockkVersion from 1.10.2 to 1.10.4
Bumps `mockkVersion` from 1.10.2 to 1.10.4.

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

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-06 07:32:53 +00:00
Andy Scherzinger f28bdb24a4 Merge pull request #7787 from nextcloud/dependabot/gradle/mockitoVersion-3.7.0
Bump mockitoVersion from 3.6.28 to 3.7.0
2021-01-06 08:32:01 +01:00
Tobias Kaminsky 60dbf308e0 daily dev 20210106
reformat code
Format code
use Android's view binding for adapter's view holder
adapt dialog icon to dark/light theme
Android view binding for activities view holder
l10n: Adding "date"
l10n: Changing string text "patch" to "folder"
use correct click UI element for create folder
make variables final
use Android view bindings
Add null check since capabilities can be null
Fix crash in SetStatusDialogFragment.clearTopStatus
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2021-01-06 03:40:24 +01:00
Tobias Kaminsky bce8d6b8c2 Merge remote-tracking branch 'origin/master' into dev 2021-01-06 03:33:01 +01:00
dependabot[bot] f68d1950cc Bump mockitoVersion from 3.6.28 to 3.7.0
Bumps `mockitoVersion` from 3.6.28 to 3.7.0.

Updates `mockito-core` from 3.6.28 to 3.7.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.28...v3.7.0)

Updates `mockito-android` from 3.6.28 to 3.7.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.28...v3.7.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-06 02:06:11 +00:00
dependabot[bot] 18d5d3766a Bump kotlin_version from 1.4.21 to 1.4.21-2
Bumps `kotlin_version` from 1.4.21 to 1.4.21-2.

Updates `kotlin-gradle-plugin` from 1.4.21 to 1.4.21-2

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-05 20:51:00 +00:00
dependabot[bot] fbd33cc1e8 Bump annotations from 2.0.1 to 3.0.1u2
Bumps [annotations](https://github.com/findbugsproject/findbugs) from 2.0.1 to 3.0.1u2.
- [Release notes](https://github.com/findbugsproject/findbugs/releases)
- [Commits](https://github.com/findbugsproject/findbugs/commits)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-05 20:49:52 +00:00
Andy Scherzinger e930ad31e2 Merge pull request #7639 from nextcloud/notificationItemViewBinding
Android view binding for notification-adapter's view holder
2021-01-05 21:44:50 +01:00
drone 7afbab6337 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-01-05 20:39:26 +00:00
Andy Scherzinger 620a008b34 reformat code
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-05 21:16:23 +01:00
tobiasKaminsky ce861ee170 Format code
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-05 21:12:35 +01:00
Andy Scherzinger c085ab3233 use Android's view binding for adapter's view holder
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-05 21:12:34 +01:00
Andy Scherzinger 440d47913a Merge pull request #7682 from nextcloud/batteryDialog
Change icon according to dark mode
2021-01-05 21:07:59 +01:00
Andy Scherzinger a515b11961 adapt dialog icon to dark/light theme
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-05 21:07:10 +01:00
Andy Scherzinger ccaa502252 Merge pull request #7643 from nextcloud/activityItemViewBinding
Android view binding for activities view holder
2021-01-05 21:05:59 +01:00
Andy Scherzinger 57fcbe885f Merge pull request #7783 from nextcloud/workflowTarget
Use master, stable-* as target for workflow branches
2021-01-05 21:05:23 +01:00
Andy Scherzinger 8a6dad2e34 Merge pull request #7657 from nextcloud/Valdnet-patch-1
l10n: Changing string text "path" to "folder"
2021-01-05 21:02:45 +01:00
Andy Scherzinger e1725f22cc update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-05 21:01:59 +01:00
drone da8ecb5aa0 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-01-05 16:21:02 +00:00
Andy Scherzinger 5e42efa564 Android view binding for activities view holder
housekeeping (removing unused members)

Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-05 16:11:48 +01:00
tobiasKaminsky cff5e413c5 Use master, stable-* as target for workflow branches
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-05 14:42:56 +01:00
tobiasKaminsky c98fde3e6e Update screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-05 13:21:27 +01:00
Tobias Kaminsky af2891a4a7 Merge pull request #7749 from nextcloud/ezaquarii/fix-crash-in-set-status-dialog
Fix crash in SetStatusDialogFragment.clearTopStatus
2021-01-05 11:59:48 +01:00
Tobias Kaminsky 51af817b76 Merge pull request #7603 from nextcloud/bottomSheetImprovement
Bottom sheet improvement
2021-01-05 11:58:39 +01:00
Tobias Kaminsky 707254acc9 Merge pull request #7774 from nextcloud/detectSnapshot
Detect dependencies with snapshot
2021-01-05 09:59:19 +01:00
tobiasKaminsky 38e27420c3 Detect dependencies with snapshot
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-05 09:38:34 +01:00
Nextcloud bot b536684170 [tx-robot] updated from transifex 2021-01-05 03:54:52 +00:00
Andy Scherzinger e64dc4c72e Merge pull request #7748 from nextcloud/dependabot/gradle/markwonVersion-4.6.1
Bump markwonVersion from 4.6.0 to 4.6.1
2021-01-04 23:01:09 +01:00
Valdnet 9519924875 l10n: Adding "date" 2021-01-04 18:03:01 +01:00
Valdnet 2b360d6c32 l10n: Changing string text "patch" to "folder"
1. Unify the name to other applications.
2. More understandable for the user.
3. Report also by translator for line: 444.
2021-01-04 18:02:00 +01:00
drone 47b63c94c3 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-01-04 17:48:43 +01:00
Andy Scherzinger 3cb3442c8f use correct click UI element for create folder
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-04 17:48:42 +01:00
Andy Scherzinger d0f4a16664 make variables final
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-04 17:48:41 +01:00
Andy Scherzinger 9a03dc199d use Android view bindings
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-04 17:48:40 +01:00
Andy Scherzinger 9cf14f7e94 Add null check since capabilities can be null
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-04 17:48:39 +01:00
dependabot[bot] a07eb920ba Bump markwonVersion from 4.6.0 to 4.6.1
Bumps `markwonVersion` from 4.6.0 to 4.6.1.

Updates `core` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Updates `ext-strikethrough` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Updates `ext-tables` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Updates `ext-tasklist` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Updates `html` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Updates `syntax-highlight` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-04 16:43:38 +00:00
Andy Scherzinger 88c6d33c57 Merge pull request #7718 from nextcloud/dependabot/gradle/org.bouncycastle-bcpkix-jdk15to18-1.68
Bump bcpkix-jdk15to18 from 1.67 to 1.68
2021-01-04 17:42:20 +01:00
Tobias Kaminsky 584caa4170 daily dev 20210104
Update translations
2021-01-04 03:38:09 +01:00
Tobias Kaminsky 9eb4324a8b Merge remote-tracking branch 'origin/master' into dev 2021-01-04 03:32:02 +01:00
Andy Scherzinger 8018fc79c9 Merge pull request #7772 from Doomsdayrs/gitignore-remove-dup
Removed a duplicate from git ignore
2021-01-03 22:52:21 +01:00
Nextcloud bot 2783808c04 [tx-robot] updated from transifex 2021-01-03 03:56:51 +00:00
Nextcloud bot 64b2a98133 [tx-robot] updated from transifex 2021-01-02 03:54:24 +00:00
doomsdayrs 5e1137cf68 Removed a duplicate from git ignore
Signed-off-by: doomsdayrs <[email protected]>
2021-01-01 17:44:46 -05:00
Nextcloud bot 2f77cb0d8b [tx-robot] updated from transifex 2020-12-31 04:03:30 +00:00
Nextcloud bot 3a3080cbd0 [tx-robot] updated from transifex 2020-12-30 03:50:24 +00:00
Chris Narkiewicz 2fc47c243a Fix crash in SetStatusDialogFragment.clearTopStatus
Fix #7741

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-12-29 13:22:00 +00:00
Nextcloud bot 3e2da8bb56 [tx-robot] updated from transifex 2020-12-29 03:50:47 +00:00
Nextcloud bot 04eb83c7c3 [tx-robot] updated from transifex 2020-12-28 03:47:46 +00:00
Nextcloud bot 35d829e4cf [tx-robot] updated from transifex 2020-12-26 03:47:26 +00:00
Nextcloud bot ac29ae28e4 [tx-robot] updated from transifex 2020-12-24 03:48:10 +00:00
Nextcloud bot 12789ed8e0 [tx-robot] updated from transifex 2020-12-23 03:48:32 +00:00
Tobias Kaminsky 810615d746 daily dev 20201223
fix not updating sharee list after creating a new link
Downgrade firebase-messaging use NC specific user agent for Push
Remove snapshot repo
If path is not set or empty do not run any media scanner
Change alert dialog button text color
Change button text color from black to system text color
Fix issue #7633 by adding button style
fix crash when changing theme after showing media pane
Update help link
Fix upload by sharing link with defensive check during mtime read
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-12-23 03:47:55 +01:00
Tobias Kaminsky 82f96a36e9 Merge remote-tracking branch 'origin/master' into dev 2020-12-23 03:33:31 +01:00
dependabot[bot] d0d867cf24 Bump bcpkix-jdk15to18 from 1.67 to 1.68
Bumps [bcpkix-jdk15to18](https://github.com/bcgit/bc-java) from 1.67 to 1.68.
- [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)

Signed-off-by: dependabot[bot] <[email protected]>
2020-12-23 02:04:28 +00:00
Andy Scherzinger 22f7ecd7f1 Merge pull request #7673 from nextcloud/addLink
fix not updating sharee list after creating a new link
2020-12-22 15:54:01 +01:00
Andy Scherzinger e9198313fd Merge pull request #7674 from nextcloud/themeCrash
fix crash when changing theme after showing media pane
2020-12-22 12:08:43 +01:00
tobiasKaminsky 09a0a6ef7d fix not updating sharee list after creating a new link
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-22 11:55:19 +01:00
Andy Scherzinger 00e1af0b7a Merge pull request #7619 from nextcloud/proxyWithUA
Fix Push notifications
2020-12-22 11:21:51 +01:00
Andy Scherzinger 01bfcae3ec Merge pull request #7691 from nextcloud/fixMediaScannerWithNoPath
If path is not set or empty do not run any media scanner
2020-12-22 09:13:39 +01:00
tobiasKaminsky fd306758ba Downgrade firebase-messaging
use NC specific user agent for Push

Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-22 08:59:57 +01:00
Nextcloud bot 1c4e5dd810 [tx-robot] updated from transifex 2020-12-22 03:49:29 +00:00
Tobias Kaminsky 3d14c23922 Merge remote-tracking branch 'origin/master' into dev 2020-12-22 03:33:17 +01:00
Andy Scherzinger 26027a80bb Merge pull request #7708 from nextcloud/fix7699
Remove snapshot repo
2020-12-21 17:43:05 +01:00
Andy Scherzinger 9e118d4c30 Merge pull request #7706 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.15.0
Bump detekt-gradle-plugin from 1.14.2 to 1.15.0
2020-12-21 17:42:38 +01:00
dependabot[bot] ee8a97b86c Bump detekt-gradle-plugin from 1.14.2 to 1.15.0
Bumps detekt-gradle-plugin from 1.14.2 to 1.15.0.

Signed-off-by: dependabot[bot] <[email protected]>
2020-12-21 17:42:05 +01:00
Andy Scherzinger 60285c0082 Merge pull request #7705 from nextcloud/dependabot/gradle/byteBuddyVersion-1.10.19
Bump byteBuddyVersion from 1.10.18 to 1.10.19
2020-12-21 10:54:42 +01:00
Unpublished 542d472a4d Remove snapshot repo
Signed-off-by: Unpublished <[email protected]>
2020-12-21 10:23:53 +01:00
Nextcloud bot b13b9fc5bf [tx-robot] updated from transifex 2020-12-21 03:47:49 +00:00
Tobias Kaminsky 5ac076128e Merge remote-tracking branch 'origin/master' into dev 2020-12-21 03:32:10 +01:00
dependabot[bot] e18762c49e Bump byteBuddyVersion from 1.10.18 to 1.10.19
Bumps `byteBuddyVersion` from 1.10.18 to 1.10.19.

Updates `byte-buddy` from 1.10.18 to 1.10.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.10.18...byte-buddy-1.10.19)

Updates `byte-buddy-android` from 1.10.18 to 1.10.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.10.18...byte-buddy-1.10.19)

Signed-off-by: dependabot[bot] <[email protected]>
2020-12-21 02:04:46 +00:00
Nextcloud bot 2854d7ab2f [tx-robot] updated from transifex 2020-12-20 03:49:54 +00:00
Tobias Kaminsky 7b1844e06d Merge remote-tracking branch 'origin/master' into dev 2020-12-20 03:33:26 +01:00
Nextcloud bot 7ad01df9ca [tx-robot] updated from transifex 2020-12-19 03:48:21 +00:00
Tobias Kaminsky 3bab0ecc52 Merge remote-tracking branch 'origin/master' into dev 2020-12-19 03:32:13 +01:00
Tobias Kaminsky 69af47857b Merge pull request #7649 from nextcloud/ezaquarii/fix-upload-via-share-make-mtime-read-optional
Fix upload by sharing link with defensive check during mtime read
2020-12-18 08:19:51 +01:00
tobiasKaminsky e6a7d124fc If path is not set or empty do not run any media scanner
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-18 07:55:48 +01:00
Nextcloud bot cfb44f6b83 [tx-robot] updated from transifex 2020-12-18 03:49:34 +00:00
Tobias Kaminsky 7b419d9655 Merge remote-tracking branch 'origin/master' into dev 2020-12-18 03:32:28 +01:00
Andy Scherzinger 03606f01d9 Merge pull request #7664 from czlucius/fix-issue-7633
Fix issue #7633
2020-12-17 22:49:09 +01:00
Andy Scherzinger e1a46e1ff5 Merge pull request #7675 from nextcloud/dependabot/add-v2-config-file
Create Dependabot config file
2020-12-17 18:27:38 +01:00
czlucius 2cad7849ba Change alert dialog button text color
This commit changes the text color of the AlertDialog's buttons from `?android:attr/textColorPrimary` to `@color/text_color`.
This ensures that the button text can be readable throughout all themes.
2020-12-17 22:43:50 +08:00
Tobias Kaminsky dd98c51474 Merge pull request #7668 from nextcloud/fixHelpLink
Update help link
2020-12-17 15:33:03 +01:00
czlucius 125bc3089d Change button text color from black to system text color
This commit changes the button text color from black(#000000) to a prominent text color that varies depending on the theme settings.
2020-12-17 22:29:48 +08:00
czlucius 36c6729d6c Fix issue #7633 by adding button style
Add `android:buttonBarButtonStyle` to `FallbackTheming.Dialog`, modifying the button style of the fallback `AlertDialog`, so that the button would not appear as invisible.
2020-12-17 22:25:00 +08:00
Nextcloud bot 828384b913 [tx-robot] updated from transifex 2020-12-17 03:47:40 +00:00
Tobias Kaminsky 9f54fa761d Merge remote-tracking branch 'origin/master' into dev 2020-12-17 03:32:52 +01:00
dependabot-preview[bot] d5b566a6c2 Create Dependabot config file 2020-12-16 10:40:01 +00:00
tobiasKaminsky 0ad1af7717 fix crash when changing theme after showing media pane
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-16 10:46:46 +01:00
Nextcloud bot a5fd5b3523 [tx-robot] updated from transifex 2020-12-16 03:49:46 +00:00
Tobias Kaminsky 815f848d22 daily dev 20201216
Do not line wrap
Update translations
2020-12-16 03:42:40 +01:00
Tobias Kaminsky 6ef837f2b0 Merge remote-tracking branch 'origin/master' into dev 2020-12-16 03:31:43 +01:00
Nextcloud bot 91dbcc3644 [tx-robot] updated from transifex 2020-12-15 16:35:50 +00:00
Tobias Kaminsky 6d63811d70 Merge pull request #7670 from nextcloud/transifexLineWrap
Do not line wrap
2020-12-15 17:33:24 +01:00
tobiasKaminsky 8f17dad9e5 Do not line wrap
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-15 17:32:43 +01:00
Tobias Kaminsky b0d6a3fcba daily dev 20201215
Update Nextcloud Android library
2020-12-15 03:43:59 +01:00
Andy Scherzinger 0e66e8ea86 Update help link
Resolves #7646

Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-14 22:19:55 +01:00
Chris Narkiewicz 70865ae337 Fix upload by sharing link with defensive check during mtime read
Since mtime is used to update cache and is not on critical path,
we can make it optional. If it's not available, cache behaviour
will suffer, but sharing should not fail.

Fixes #7587

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-12-12 00:06:05 +00:00
Tobias Kaminsky 5222e17af6 daily dev 20201210
Added copyright comment to the header of a file
Update 3rd-party dependencies
2020-12-10 03:45:59 +01:00
Tobias Kaminsky db40bd5848 Merge remote-tracking branch 'origin/master' into dev 2020-12-10 03:32:02 +01:00
Andy Scherzinger a95c363e8f Merge pull request #7638 from Kuuuna98/CopyrightComment
Added copyright comment to the header of a file
2020-12-09 14:38:09 +01:00
Kuuuna98 72483f0e10 Added copyright comment to the header of a file
Signed-off-by: Kuuuna98 <[email protected]>
2020-12-09 22:24:36 +09:00
Andy Scherzinger c787a29463 Merge pull request #6652 from nextcloud/screenshotsWhite
Screenshots white
2020-12-09 14:12:04 +01:00
Andy Scherzinger 382f24a528 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-09 13:11:47 +01:00
Andy Scherzinger 912f4c083c Merge pull request #7636 from nextcloud/dependabot/gradle/kotlin_version-1.4.21
Bump kotlin_version from 1.4.20 to 1.4.21
2020-12-09 11:41:23 +01:00
Andy Scherzinger a584855519 add missing screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-09 09:38:30 +01:00
Tobias Kaminsky 74dd5e01a2 daily dev 20201209
proper identation
Update 3rd-party dependencies
2020-12-09 03:44:28 +01:00
Tobias Kaminsky 0df96e6153 Merge remote-tracking branch 'origin/master' into dev 2020-12-09 03:31:47 +01:00
dependabot-preview[bot] 49effe0021 Bump kotlin_version from 1.4.20 to 1.4.21
Bumps `kotlin_version` from 1.4.20 to 1.4.21.

Updates `kotlin-gradle-plugin` from 1.4.20 to 1.4.21

Updates `kotlin-stdlib-jdk7` from 1.4.20 to 1.4.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.20...v1.4.21)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-12-09 02:16:00 +00:00
tobiasKaminsky 9800d58366 add missing screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:13 +01:00
tobiasKaminsky bb14387ee3 add missing screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:11 +01:00
tobiasKaminsky a382cd0afb Add missing screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:10 +01:00
tobiasKaminsky 500541ed7b Add missing screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:09 +01:00
tobiasKaminsky 548d2d75d7 add screenshot html overview script
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:08 +01:00
Andy Scherzinger 7e51ba99f6 Update white/dark screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-08 23:42:07 +01:00
tobiasKaminsky 2499896a51 Add white screenhot tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:06 +01:00
tobiasKaminsky 5ee724600d Add screenshots with white primary color
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:05 +01:00
Andy Scherzinger ab26acbce3 Merge pull request #7618 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.40.0
Bump ktlint from 0.39.0 to 0.40.0
2020-12-08 09:58:57 +01:00
Andy Scherzinger 0fc91a7a1e proper identation
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-08 09:11:18 +01:00
Tobias Kaminsky 1836e35e72 daily dev 20201208
add button tinting
Fix edge case when app is restored during backup and storage path does not exist Fix #4151
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-12-08 03:45:32 +01:00
Tobias Kaminsky 4e54e25877 Merge remote-tracking branch 'origin/master' into dev 2020-12-08 03:33:29 +01:00
Andy Scherzinger 39847c3ef3 Merge pull request #7163 from nextcloud/newEmulator
use new emulator
2020-12-07 22:02:06 +01:00
Andy Scherzinger 45f8d5163b update screenshot
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-07 21:26:08 +01:00
tobiasKaminsky 2d0e924919 use new emulator
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-07 21:25:29 +01:00
Andy Scherzinger 44440f8f08 Merge pull request #7591 from nextcloud/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.2
Bump exifinterface from 1.3.1 to 1.3.2
2020-12-07 21:24:20 +01:00
dependabot-preview[bot] d3a94aedff Bump exifinterface from 1.3.1 to 1.3.2
Bumps exifinterface from 1.3.1 to 1.3.2.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-12-07 16:48:20 +00:00
Andy Scherzinger 3d47ce579c Merge pull request #7481 from nextcloud/storagePath
Fix edge case when app is restored during backup and storage path does not exist
2020-12-07 17:40:10 +01:00
Andy Scherzinger 1d35868f51 add button tinting
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-07 15:17:50 +01:00
tobiasKaminsky 975841735b Fix edge case when app is restored during backup and storage path does not exist
Fix #4151

Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-07 15:17:39 +01:00
Andy Scherzinger 96e9ae7f77 Merge pull request #7586 from nextcloud/coverage
Fix coverage tests
2020-12-07 14:56:10 +01:00
Nextcloud bot 1a34d75eff [tx-robot] updated from transifex 2020-12-07 03:49:41 +00:00
Tobias Kaminsky b67c88478e Merge remote-tracking branch 'origin/master' into dev 2020-12-07 03:34:08 +01:00
dependabot-preview[bot] 1477c82ce1 Bump ktlint from 0.39.0 to 0.40.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.39.0 to 0.40.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.39.0...0.40.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-12-07 02:15:15 +00:00
Nextcloud bot d93bd41538 [tx-robot] updated from transifex 2020-12-06 03:45:26 +00:00
Nextcloud bot 31de25b86a [tx-robot] updated from transifex 2020-12-05 03:46:14 +00:00
Tobias Kaminsky 7468877cb9 daily dev 20201205
proper back arrow handling after moving auto upload screen to settings
Move auto upload to settings
Update translations
2020-12-05 03:44:22 +01:00
Tobias Kaminsky 883562a63a Merge remote-tracking branch 'origin/master' into dev 2020-12-05 03:32:20 +01:00
Andy Scherzinger 72f980ed94 Merge pull request #7527 from nextcloud/moveAutoUploadToSettings
Move auto upload to settings
2020-12-04 16:11:36 +01:00
drone badb394e19 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2020-12-04 09:20:24 +00:00
Andy Scherzinger fb254d1b1f Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-04 09:35:23 +01:00
Andy Scherzinger 0086b01e1e update tests
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-04 09:35:22 +01:00
Andy Scherzinger 54589b42b4 proper back arrow handling after moving auto upload screen to settings
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-04 09:35:21 +01:00
Andy Scherzinger fca4e92749 Move auto upload to settings
Resolves #6793

Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-04 09:35:10 +01:00
Nextcloud bot a7fed0fc49 [tx-robot] updated from transifex 2020-12-03 03:47:30 +00:00
Tobias Kaminsky 90a719e444 daily dev 20201203
Update translations
2020-12-03 03:44:11 +01:00
Tobias Kaminsky b4fe4e30be Merge remote-tracking branch 'origin/master' into dev 2020-12-03 03:32:21 +01:00
Andy Scherzinger 1f0f7c163d Merge pull request #7585 from nextcloud/changelog-master-stable-3.14.1
Add changelog for 3.14.1
2020-12-02 11:41:40 +01:00
tobiasKaminsky aa188d8c0d Fix coverage tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-02 11:22:13 +01:00
tobiasKaminsky 3d2930da50 Add changelog for 3.14.1
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-02 10:35:43 +01:00
Nextcloud bot b4b8a67019 [tx-robot] updated from transifex 2020-12-02 03:47:46 +00:00
Tobias Kaminsky 45100dd75e daily dev 20201202
remove testing delay
wip
wip
optimized layout for rtl languages
optimize layout
remove variable prefixes and sort member variables
replace manual view access with view binding
use final on variables, remove c-style array definition
further optimize layout to mimic dialog
Add padding to layout
Make PIN activity mimic a dialog
remove unused string resouces
remove Android 4.4. code block from kotlin files
spotbugs: remove unreachable code block
remove all test min sdk references and declarations
spotbugs remove unused list
merge theme for minSDK=21
Drop Android 4.4 Support
getActiveNetwork might be null
Update translations
Update Nextcloud Android library
2020-12-02 03:44:31 +01:00
Tobias Kaminsky 2b181981f0 Merge remote-tracking branch 'origin/master' into dev 2020-12-02 03:32:06 +01:00
Andy Scherzinger 183efcbe89 Merge pull request #7333 from nextcloud/shimmer
Add shimmer to preview image fragment
2020-12-01 12:43:47 +01:00
Andy Scherzinger 6521f2c117 Merge pull request #7538 from bguneys/master
Make PIN activity mimic a dialog
2020-12-01 12:41:52 +01:00
Andy Scherzinger 700d3fe866 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-01 09:14:19 +01:00
Tobias Kaminsky 01eee6b115 Merge remote-tracking branch 'origin/master' into dev 2020-12-01 03:32:57 +01:00
Andy Scherzinger f50d805e4a remove testing delay
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-01 00:01:44 +01:00
tobiasKaminsky f32ac35783 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-30 22:55:51 +01:00
tobiasKaminsky a319b2195f wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-30 22:55:50 +01:00
Andy Scherzinger 35a070b7d5 optimized layout for rtl languages
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:42:36 +01:00
Andy Scherzinger 06aca9e078 optimize layout
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:37:07 +01:00
Andy Scherzinger 6ff582a886 remove variable prefixes and sort member variables
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:49 +01:00
Andy Scherzinger 7af5ed1bb6 replace manual view access with view binding
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:48 +01:00
Andy Scherzinger dadbf70fd6 use final on variables, remove c-style array definition
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:48 +01:00
Andy Scherzinger a2ac0d427a further optimize layout to mimic dialog
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:48 +01:00
Andy Scherzinger 379a5d0ec7 Updated screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:48 +01:00
bguneys f048880725 Add padding to layout
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:47 +01:00
bguneys d90facec0a Make PIN activity mimic a dialog
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:47 +01:00
Tobias Kaminsky ad54939b39 Merge pull request #7513 from nextcloud/drop44
Drop Android 4.4 Support
2020-11-30 15:27:25 +01:00
Andy Scherzinger dc0337476d Merge pull request #7565 from nextcloud/hardenConnectionCheck
getActiveNetwork might be null
2020-11-30 13:13:10 +01:00
nextcloud-android-bot 58f4c6833c Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-11-30 09:58:07 +00:00
Andy Scherzinger f1857bc88f remove unused string resouces
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:09 +01:00
Andy Scherzinger a72bf7bc78 remove Android 4.4. code block from kotlin files
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:08 +01:00
nextcloud-android-bot 0849cf21bd Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-11-30 09:57:07 +01:00
Andy Scherzinger e745dc8b67 spotbugs: remove unreachable code block
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:06 +01:00
Andy Scherzinger a75d8c0755 remove all test min sdk references and declarations
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:05 +01:00
Andy Scherzinger 02ec390cc4 spotbugs remove unused list
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:04 +01:00
Andy Scherzinger e52331a781 merge theme for minSDK=21
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:03 +01:00
Andy Scherzinger cf2a35f64d Drop Android 4.4 Support
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:02 +01:00
tobiasKaminsky a03b066073 getActiveNetwork might be null
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-30 09:55:39 +01:00
Nextcloud bot a9906aa1d7 [tx-robot] updated from transifex 2020-11-30 03:44:41 +00:00
Nextcloud bot 9bf4b11cd0 [tx-robot] updated from transifex 2020-11-29 03:43:39 +00:00
Nextcloud bot 6367537c23 [tx-robot] updated from transifex 2020-11-28 03:41:00 +00:00
Tobias Kaminsky 7074cc21d4 daily dev 20201127
add test for shimmering contact list
changes after rebase
Update tests to shimmer logic
update activities tests
cleanup shimmers
use correct license headers
add shimmer to media preview
reset binding at view destruction
add shimmer test for trashbin
add shimmer effect to trashbin screen
WIP image loader animation
proper empty list display
proper empty list display
Cleanup code
remove unused imports
add shimmer to text preview loading
add shimmer effect to file detail activities
add shimmer to contacts list
proper loading animation for notification list
optimize loading layout for image preview
Update after rebase
add loading shimmer for preview image
add loading shimmer effect for auto upload
correct test call
correct writing of shimmer
replace butterknife with native view bindings for activities view
introduce schimmer effect for loading screen for activities and view bindings
shimmer effect loading screen for user info details
Draft for shimmer effect loading screen for activities
Remove big spinner
More detailed check if >= Android M for metered connections
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-11-27 07:27:44 +01:00
Tobias Kaminsky e1c18164b6 Merge remote-tracking branch 'origin/master' into dev 2020-11-27 07:17:24 +01:00
Nextcloud bot 4216316141 [tx-robot] updated from transifex 2020-11-27 03:42:04 +00:00
Tobias Kaminsky fcfdcf7b58 Merge remote-tracking branch 'origin/master' into dev 2020-11-27 03:33:55 +01:00
Tobias Kaminsky 4d481a712f Merge pull request #7488 from nextcloud/vpn
More detailed check if >= Android M for metered connections
2020-11-26 10:13:15 +01:00
Tobias Kaminsky 7436fbede7 Merge pull request #6757 from nextcloud/removeBigSpinner
Remove big spinner
2020-11-26 09:30:26 +01:00
Andy Scherzinger 5a4e059265 Merge pull request #7501 from nextcloud/dependabot/gradle/mockitoVersion-3.6.28
Bump mockitoVersion from 3.6.0 to 3.6.28
2020-11-26 09:26:27 +01:00
tobiasKaminsky a81fcb8f63 Update last screenshot
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-26 08:25:40 +01:00
Nextcloud bot d3d2564d0c [tx-robot] updated from transifex 2020-11-26 03:46:54 +00:00
Tobias Kaminsky dd6374cc04 daily dev 20201126
When conflicting upload and user decides to keep existing file, do not fail on downloading it
Show folder name in resolve conflict dialog
replaced "21" with "Build.VERSION_CODES.LOLLIPOP"
Modified code to close the app after checking API >= 21
Modified code in consideration of API
Closed the screen when press back button from App passcode screen
Update translations
2020-11-26 03:43:09 +01:00
Tobias Kaminsky 930f75e7dd Merge remote-tracking branch 'origin/master' into dev 2020-11-26 03:32:04 +01:00
dependabot-preview[bot] 127e1fb6eb Bump mockitoVersion from 3.6.0 to 3.6.28
Bumps `mockitoVersion` from 3.6.0 to 3.6.28.

Updates `mockito-core` from 3.6.0 to 3.6.28
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.0...v3.6.28)

Updates `mockito-android` from 3.6.0 to 3.6.28
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.0...v3.6.28)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-11-26 02:20:15 +00:00
Andy Scherzinger b1cc464348 Update/Add screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-26 00:25:18 +01:00
nextcloud-android-bot d25c201b63 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-11-25 21:22:03 +00:00
Andy Scherzinger 1e93c5c301 add test for shimmering contact list
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:16 +01:00
Andy Scherzinger b58402cab6 changes after rebase
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:15 +01:00
Andy Scherzinger f3749b6bd3 Update tests to shimmer logic
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:14 +01:00
Andy Scherzinger 3d2b7b33b6 update screenshot
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:12 +01:00
Andy Scherzinger 1f1d50e54a update activities tests
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:11 +01:00
Andy Scherzinger 104d2f0bbf Update Screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:10 +01:00
Andy Scherzinger 95120156c8 cleanup shimmers
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:09 +01:00
Andy Scherzinger 3e9b9b0406 use correct license headers
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:07 +01:00
Andy Scherzinger 2c5e035f1d add trashbin loading screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:06 +01:00
Andy Scherzinger 50ae3c631f add shimmer to media preview
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:04 +01:00
Andy Scherzinger a3c1cecc7d reset binding at view destruction
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:03 +01:00
Andy Scherzinger 7febfb262b add shimmer test for trashbin
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:01 +01:00
Andy Scherzinger afb4d925a1 add shimmer effect to trashbin screen
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:59 +01:00
Andy Scherzinger b74be97a16 WIP image loader animation
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:57 +01:00
Andy Scherzinger 82339ef769 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:56 +01:00
Andy Scherzinger aa76e9e147 proper empty list display
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:54 +01:00
Andy Scherzinger d5e6c5af5d proper empty list display
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:53 +01:00
Andy Scherzinger 5f9ab5de88 Cleanup code
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:52 +01:00
Andy Scherzinger c76c02b542 remove unused imports
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:51 +01:00
Andy Scherzinger db8c1ce130 add shimmer to text preview loading
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:49 +01:00
Andy Scherzinger 5cedaad2ba add shimmer effect to file detail activities
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:48 +01:00
Andy Scherzinger e1191f95ad add shimmer to contacts list
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:45 +01:00
Andy Scherzinger a5b2d02c4a proper loading animation for notification list
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:43 +01:00
Andy Scherzinger eab3a66bea update screenshot
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:42 +01:00
Andy Scherzinger ed9149c27b optimize loading layout for image preview
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:41 +01:00
Andy Scherzinger f95c0b5024 Update after rebase
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:40 +01:00
Andy Scherzinger 8da22c53f4 update test screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:39 +01:00
Andy Scherzinger a2f0d81c21 add loading shimmer for preview image
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:38 +01:00
Andy Scherzinger ae838f69cd add loading shimmer effect for auto upload
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:37 +01:00
Andy Scherzinger f36ea93c2b correct test call
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:36 +01:00
Andy Scherzinger bf37be4da5 correct writing of shimmer
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:34 +01:00
Andy Scherzinger c1a5481283 replace butterknife with native view bindings for activities view
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:33 +01:00
Andy Scherzinger 168c0d5483 introduce schimmer effect for loading screen for activities and view bindings
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:32 +01:00
Andy Scherzinger dd6fe73302 shimmer effect loading screen for user info details
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:31 +01:00
Andy Scherzinger 7f49ed9e08 Draft for shimmer effect loading screen for activities
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:30 +01:00
tobiasKaminsky 92197d368b Remove big spinner
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-25 22:08:29 +01:00
Andy Scherzinger 3ec96c215f Merge pull request #7348 from nextcloud/conflictName
Show file and folder name in resolve conflict dialog
2020-11-25 15:26:28 +01:00
tobiasKaminsky e899c28988 More detailed check if >= Android M for metered connections
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-25 15:17:09 +01:00
Tobias Kaminsky 284bc6460a Merge pull request #7482 from nextcloud/fixDownloadOnConflict
When conflicting upload and user decides to keep existing file, do not fail on downloading it
2020-11-25 14:16:52 +01:00
Tobias Kaminsky 03a6d9294d Merge pull request #7372 from Kuuuna98/enhancement_passcode_screen
Closed the app when press back button from App passcode screen
2020-11-25 11:44:39 +01:00
tobiasKaminsky 01240c9fd4 When conflicting upload and user decides to keep existing file, do not fail on downloading it
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-25 09:29:57 +01:00
Nextcloud bot 2fb43be91e [tx-robot] updated from transifex 2020-11-25 03:44:06 +00:00
Tobias Kaminsky 3802cb7372 daily dev 20201125
SDK30: Add queries to get info about deck app
Stop file only if removed file is an audio file
Update Nextcloud Android library
Update 3rd-party dependencies
2020-11-25 03:47:05 +01:00
Tobias Kaminsky 4671102a29 Merge remote-tracking branch 'origin/master' into dev 2020-11-25 03:33:30 +01:00
Andy Scherzinger 76af29a216 Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-24 22:41:57 +01:00
tobiasKaminsky cc6be5f2f0 Show folder name in resolve conflict dialog
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-24 22:40:26 +01:00
Andy Scherzinger e7fccdfe29 Merge pull request #7312 from nextcloud/deckIntegration
SDK30: Add queries to get info about deck app
2020-11-24 22:17:19 +01:00
tobiasKaminsky db3d238523 SDK30: Add queries to get info about deck app
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-24 16:13:58 +01:00
dependabot-preview[bot] ac68f844fd Merge pull request #7459 from nextcloud/dependabot/gradle/daggerVersion-2.30.1 2020-11-24 10:03:44 +00:00
una.kwon 830e84df38 replaced "21" with "Build.VERSION_CODES.LOLLIPOP" 2020-11-24 18:39:52 +09:00
dependabot-preview[bot] 634e138fb4 Bump daggerVersion from 2.29.1 to 2.30.1
Bumps `daggerVersion` from 2.29.1 to 2.30.1.

Updates `dagger` from 2.29.1 to 2.30.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.29.1...dagger-2.30.1)

Updates `dagger-android` from 2.29.1 to 2.30.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.29.1...dagger-2.30.1)

Updates `dagger-android-support` from 2.29.1 to 2.30.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.29.1...dagger-2.30.1)

Updates `dagger-compiler` from 2.29.1 to 2.30.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.29.1...dagger-2.30.1)

Updates `dagger-android-processor` from 2.29.1 to 2.30.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.29.1...dagger-2.30.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-24 09:45:05 +01:00
Tobias Kaminsky 909c3d3313 Merge pull request #7461 from nextcloud/deletFile
Stop file only if removed file is an audio file
2020-11-24 09:24:23 +01:00
tobiasKaminsky a6862e8d99 Stop file only if removed file is an audio file
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-24 07:59:34 +01:00
una.kwon babf64f5e9 Modified code to close the app after checking API >= 21
If API >= 21, Closed the app when press back button from App passcode screen
2020-11-24 13:16:33 +09:00
Tobias Kaminsky 2ed3f8e220 daily dev 20201124
FileDetailFragment also uses left fragment
use upload_and_delete for direct camera upload to allow for multiple image uploads ...without having to wait for a successful upload before taking the next photo.
Update 3rd-party dependencies
2020-11-24 03:44:36 +01:00
Tobias Kaminsky 87e90c6037 Merge remote-tracking branch 'origin/master' into dev 2020-11-24 03:31:59 +01:00
Andy Scherzinger 879157e468 Merge pull request #7375 from nextcloud/fileDetailLeftFragment
FileDetailFragment also uses left fragment
2020-11-23 22:14:39 +01:00
tobiasKaminsky 4640ff0fbb FileDetailFragment also uses left fragment
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-23 18:43:16 +01:00
Andy Scherzinger 01bfc278a3 Merge pull request #7453 from nextcloud/fixPinScreenshot
fix pin screenshots
2020-11-23 12:38:17 +01:00
Tobias Kaminsky ec956048d3 Merge pull request #7204 from nextcloud/dependabot/gradle/org.bouncycastle-bcpkix-jdk15on-1.67
Bump bcpkix-jdk15on from 1.65 to 1.67
2020-11-23 11:29:57 +01:00
tobiasKaminsky 354a6bcfd1 fix pin screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-23 10:25:54 +01:00
Andy Scherzinger db6badbb1b Merge pull request #7411 from nextcloud/multiCamUpload
Use upload_and_delete for direct camera upload
2020-11-23 09:22:28 +01:00
Tobias Kaminsky e846ef7b82 daily dev 20201123
Modify PIN setting layout alignment
Disable debugging obsolete apis
Add toggle function
Fix falsely starting player service when previewing video
Open PreviewMediaFragment only in left fragment
Update fonts
Use sans font on MaterialButtons to have same font overall in app
SVG: do not override view box
Update translations
Update 3rd-party dependencies
2020-11-23 07:31:04 +01:00
Tobias Kaminsky c0985a0dde Merge remote-tracking branch 'origin/master' into dev 2020-11-23 07:20:26 +01:00
Nextcloud bot f46d34e9c9 [tx-robot] updated from transifex 2020-11-23 03:39:55 +00:00
Tobias Kaminsky b7aed5e663 Merge remote-tracking branch 'origin/master' into dev 2020-11-23 03:31:27 +01:00
Nextcloud bot 4571c69c9a [tx-robot] updated from transifex 2020-11-22 03:42:01 +00:00
Tobias Kaminsky ca9e92b755 Merge remote-tracking branch 'origin/master' into dev 2020-11-21 03:31:54 +01:00
nextcloud-android-bot e3c756364d Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-11-20 22:23:26 +00:00
Andy Scherzinger 6e3a13ada4 use upload_and_delete for direct camera upload to allow for multiple image uploads
...without having to wait for a successful upload before taking the next photo.

Resolves #4609

Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-20 23:02:11 +01:00
Andy Scherzinger 9a80066f9f Merge pull request #7340 from nextcloud/foregroundServiceCrash
Directly start foreground service
2020-11-20 21:27:39 +01:00
Andy Scherzinger 9c0e7c5788 Merge pull request #7370 from Kuuuna98/layout_Alignment
Modify passcode setting layout alignment
2020-11-20 19:45:34 +01:00
Kuuuna98 bab018e169 Modify PIN setting layout alignment
Signed-off-by: Kuuuna98 <[email protected]>
2020-11-20 17:55:30 +01:00
Andy Scherzinger d71890e9dc Merge pull request #7371 from nextcloud/previewMediaFragmentOnLeftFragment
Open PreviewMediaFragment only in left fragment
2020-11-20 17:37:15 +01:00
una.kwon 02d12b803c Modified code in consideration of API
It has been modified from finishAndRemoveTask() to finish() in consideration of API  < 21.
2020-11-21 00:54:14 +09:00
Andy Scherzinger db8b3f4e97 Merge pull request #7390 from nextcloud/passCodeScreenshot
Add password screenshot tests
2020-11-20 16:03:50 +01:00
dependabot-preview[bot] d159f70bae Bump bcpkix-jdk15on from 1.65 to 1.67
Bumps [bcpkix-jdk15on](https://github.com/bcgit/bc-java) from 1.65 to 1.67.
- [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)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-20 14:07:27 +01:00
Andy Scherzinger 536c7daeb5 add dark screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-20 13:24:27 +01:00
tobiasKaminsky 9951331ca2 Add password screenshot tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-20 13:24:26 +01:00
Tobias Kaminsky 0f160f0f63 daily dev 20201120 2020-11-20 13:01:44 +01:00
Tobias Kaminsky b9d9017837 Merge pull request #7399 from nextcloud/apksigner
do not use absolute path
2020-11-20 12:58:54 +01:00
tobiasKaminsky 4adf463668 do not use absolute path
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-20 12:58:07 +01:00
Tobias Kaminsky d5a0ab11a3 daily dev 20201120 2020-11-20 12:49:24 +01:00
Andy Scherzinger 6e9c6beb70 Merge pull request #7393 from nextcloud/disableDebugObsoleteApi
Disable debugging obsolete apis
2020-11-20 11:59:29 +01:00
tobiasKaminsky 529a99227e Disable debugging obsolete apis
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-20 11:27:01 +01:00
Andy Scherzinger 9bf8ca05c6 Merge pull request #7369 from nextcloud/svg
SVG: do not override view box
2020-11-20 11:26:46 +01:00
tobiasKaminsky 343561a013 Add toggle function
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-20 09:39:38 +01:00
tobiasKaminsky be223883c2 Fix falsely starting player service when previewing video
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-20 09:39:38 +01:00
tobiasKaminsky ca5bda527a Open PreviewMediaFragment only in left fragment
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-20 08:50:50 +01:00
Tobias Kaminsky 843ecb40f7 Merge pull request #7352 from nextcloud/materialButton
Use sans font on MaterialButtons to have same font overall in app
2020-11-20 07:42:31 +01:00
dependabot-preview[bot] 50187bd10d Merge pull request #7387 from nextcloud/dependabot/gradle/kotlin_version-1.4.20 2020-11-20 02:42:05 +00:00
Tobias Kaminsky 6386429b4f daily dev 20201120
I think I found a typo.
accessibility: 48dp hitbox for send-button plus update from image-button to material button
optimize menu button
add proper hitboxes for file details buttons
optimize toolbar layout after accessibility improvements
Fix account_setup.xml
Enable accessibility scanner: https://developer.android.com/guide/topics/ui/accessibility/testing#espresso-enable-checks
Update translations
Update Nextcloud Android library
2020-11-20 03:41:49 +01:00
Tobias Kaminsky 3319090e7a Merge remote-tracking branch 'origin/master' into dev 2020-11-20 03:32:06 +01:00
dependabot-preview[bot] 6643edbd6b Bump kotlin_version from 1.4.10 to 1.4.20
Bumps `kotlin_version` from 1.4.10 to 1.4.20.

Updates `kotlin-gradle-plugin` from 1.4.10 to 1.4.20

Updates `kotlin-stdlib-jdk7` from 1.4.10 to 1.4.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.4.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.10...v1.4.20)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-11-20 02:15:08 +00:00
Andy Scherzinger b6f88b7afa Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-20 00:58:30 +01:00
tobiasKaminsky 8d65838d74 Update fonts
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-19 23:20:49 +01:00
tobiasKaminsky a0b5c93f12 Use sans font on MaterialButtons to have same font overall in app
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-19 23:20:24 +01:00
Andy Scherzinger c5fcba31be Merge pull request #7384 from alfkalfk1234/develop
Fix a typo in CONTRIBUTING.md
2020-11-19 19:51:51 +01:00
Andy Scherzinger 9e1ff71a9c Merge pull request #7093 from nextcloud/accessibilityScanner
Enable accessibility scanner
2020-11-19 19:50:28 +01:00
alfkalfk1234 476200ac22 I think I found a typo. 2020-11-20 03:39:52 +09:00
Andy Scherzinger 926114b23c Update Screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-19 18:46:29 +01:00
Andy Scherzinger 77b53a1044 accessibility: 48dp hitbox for send-button plus update from image-button to material button
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-19 18:37:34 +01:00
Andy Scherzinger d249b8fe7f optimize menu button
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-19 18:37:33 +01:00
Andy Scherzinger 81f0f14449 add proper hitboxes for file details buttons
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-19 18:37:32 +01:00
Andy Scherzinger f32a74551c optimize toolbar layout after accessibility improvements
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-19 18:37:31 +01:00
tobiasKaminsky 8c0878de71 Fix account_setup.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-19 18:37:30 +01:00
tobiasKaminsky 69256d0c53 Enable accessibility scanner: https://developer.android.com/guide/topics/ui/accessibility/testing#espresso-enable-checks
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-19 18:37:25 +01:00
Andy Scherzinger d3f658d0a2 Merge pull request #7353 from nextcloud/disableFlakyTests
Fix/disable flaky tests
2020-11-19 18:35:47 +01:00
Kuuuna98 ddc3db038c Closed the screen when press back button from App passcode screen
Signed-off-by: Kuuuna98 <[email protected]>
2020-11-19 19:22:19 +09:00
tobiasKaminsky 3d93818533 SVG: do not override view box
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-19 09:34:07 +01:00
tobiasKaminsky 1ee4cec7ba disabled flaky tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-19 08:51:30 +01:00
Nextcloud bot 4ef7aa90b9 [tx-robot] updated from transifex 2020-11-19 03:45:27 +00:00
Tobias Kaminsky 7ca784bfb2 daily dev 20201119
Black background on video playback in fullscreen mode
no default for share type avatar generation
remove unused resource
Updated avatar handling
Fix a typing error in CONTRIBUTING.md
Fix black text on dark mode for synced folder preferences
Fix overlapping seek bar and softkeys
show snackbar when entering wrong passcode
NPE on download
Reformat if / try to make Codecy happy
Check if cursor is null added
added imports for Cursor and DocumentsContract
Get last modified time from SAF files put it on the uploaded file
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-11-19 03:38:52 +01:00
Tobias Kaminsky 8477e63295 Merge remote-tracking branch 'origin/master' into dev 2020-11-19 03:30:42 +01:00
Andy Scherzinger c3acfc9de8 Merge pull request #7338 from nextcloud/passwordSnackbar
show snackbar when entering wrong passcode
2020-11-18 23:58:29 +01:00
Andy Scherzinger 96a13de842 Merge pull request #7337 from nextcloud/rorNull
NPE on download
2020-11-18 23:57:09 +01:00
Andy Scherzinger ef3b90ee92 Merge pull request #7344 from nextcloud/blackText
Fix black text on dark mode for synced folder preferences
2020-11-18 23:55:40 +01:00
Andy Scherzinger f87bd9b03b Merge pull request #7339 from nextcloud/mediaOverlaps
Fix overlapping seek bar and softkeys
2020-11-18 17:27:55 +01:00
Andy Scherzinger 96d9ab4ea1 Merge pull request #7359 from nextcloud/videoBlackBackgronud
Black background on video playback in fullscreen mode
2020-11-18 16:46:18 +01:00
tobiasKaminsky 7a50d8ccce Black background on video playback in fullscreen mode
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-18 14:14:26 +01:00
Andy Scherzinger 35c12eead8 Merge pull request #7357 from nextcloud/changelog-master-stable-3.14.0
Add changelog for 3.14.0
2020-11-18 12:46:33 +01:00
tobiasKaminsky aa8b0f0b45 Add changelog for 3.14.0
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-18 12:31:30 +01:00
tobiasKaminsky 2f4725f55e Fix testGallerySearch test
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-18 11:23:22 +01:00
Tobias Kaminsky 9c20fb3120 Merge pull request #7009 from nextcloud/testScreenshots
Run screenshot tests on github actions
2020-11-18 10:22:57 +01:00
tobiasKaminsky 5db5aef0d0 Run screenshot tests on GitHub actions
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-18 09:57:01 +01:00
Tobias Kaminsky 283ef85bbb Merge remote-tracking branch 'origin/master' into dev 2020-11-18 03:31:48 +01:00
Andy Scherzinger 4de0123784 Merge pull request #7098 from nextcloud/avatars
Updated avatar handling
2020-11-18 01:07:20 +01:00
Andy Scherzinger 840d7e5f83 no default for share type avatar generation
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-17 22:25:04 +01:00
Andy Scherzinger aa54d02631 remove unused resource
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-17 22:16:41 +01:00
Andy Scherzinger 7807e1e829 update dark screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-17 21:56:44 +01:00
tobiasKaminsky 85551b5eec Updated avatar handling
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-17 19:17:10 +01:00
Andy Scherzinger f0b7eb46a4 Merge pull request #7346 from kimminji00/master
Fix a typing error in CONTRIBUTING.md
2020-11-17 14:19:34 +01:00
kimminji00 70efff5322 Fix a typing error in CONTRIBUTING.md
I fixed "comparision" to "comparison".
2020-11-17 22:11:37 +09:00
tobiasKaminsky bea890ceac Fix black text on dark mode for synced folder preferences
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-17 13:16:53 +01:00
tobiasKaminsky aa28d30fa0 Fix overlapping seek bar and softkeys
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-17 11:20:00 +01:00
nextcloud-android-bot f036bea63a Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-11-17 09:04:37 +00:00
tobiasKaminsky a51a4ed52a show snackbar when entering wrong passcode
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-17 09:53:40 +01:00
tobiasKaminsky 06ad76979a NPE on download
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-17 09:22:12 +01:00
Tobias Kaminsky 4b3b0db518 Merge remote-tracking branch 'origin/master' into dev 2020-11-17 03:31:48 +01:00
Andy Scherzinger 8101dacecb Merge pull request #7308 from hochwasser/patch-1
Get last modified time from SAF files put it on the uploaded file
2020-11-16 09:25:22 +01:00
Tobias Kaminsky b9d0d49c10 Merge pull request #7326 from nextcloud/dependabot/gradle/org.json-json-20201115
Bump json from 20200518 to 20201115
2020-11-16 07:44:26 +01:00
Nextcloud bot ec9bf0b828 [tx-robot] updated from transifex 2020-11-16 03:45:11 +00:00
Tobias Kaminsky 2826401d00 Merge remote-tracking branch 'origin/master' into dev 2020-11-16 03:32:19 +01:00
dependabot-preview[bot] 1d68c5f450 Bump json from 20200518 to 20201115
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20200518 to 20201115.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-11-16 02:13:43 +00:00
Christian Tacke 1974689974 Reformat if / try to make Codecy happy
It's nicer to put the try inside the if, anyway.

Signed-off-by: Christian Tacke <[email protected]>
2020-11-15 21:59:36 +01:00
Nextcloud bot 3ef396befc [tx-robot] updated from transifex 2020-11-14 03:45:42 +00:00
Tobias Kaminsky 04550332b1 daily dev 20201114
fixed typo in Migrations.kt
Update translations
2020-11-14 03:40:27 +01:00
Tobias Kaminsky 757fd54acb Merge remote-tracking branch 'origin/master' into dev 2020-11-14 03:30:51 +01:00
hochwasserandTobias Kaminsky d814802fa9 Check if cursor is null added
This was found by @tobiasKaminsky thx

Co-authored-by: Tobias Kaminsky <[email protected]>
2020-11-13 15:08:49 +01:00
Andy Scherzinger 7f0ef32dfd Merge pull request #7316 from KwonEunKyung/ek
fixed typo in Migrations.kt
2020-11-13 13:13:41 +01:00
KwonEunKyung ce4b98eb57 fixed typo in Migrations.kt 2020-11-13 18:59:52 +09:00
hochwasser ec16755e5c added imports for Cursor and DocumentsContract 2020-11-13 00:14:23 +01:00
hochwasser e36d1e5c41 Get last modified time from SAF files put it on the uploaded file
Get the modified time from SAF files and set it on the cache file.
The uploaded then sets the correct modified time ob the server.
This fixes #5660
2020-11-13 00:04:15 +01:00
Nextcloud bot c2fb05a743 [tx-robot] updated from transifex 2020-11-12 03:46:15 +00:00
Tobias Kaminsky 709437cf40 daily dev 20201112
Show generated avatars is file detail sharing list
fixed typo in comment
fixed typo in comment
proper edit text coloring
use higher sdk only for lint
Fix CONTRIBUTING.md Typing Error
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-11-12 03:41:23 +01:00
Tobias Kaminsky 573367aef8 Merge remote-tracking branch 'origin/master' into dev 2020-11-12 03:30:50 +01:00
Tobias Kaminsky e3e178b683 Merge pull request #7294 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-4.1.1
Bump gradle from 4.1.0 to 4.1.1
2020-11-11 09:34:17 +01:00
Nextcloud bot 70f5670c94 [tx-robot] updated from transifex 2020-11-11 03:48:55 +00:00
Tobias Kaminsky 9485f83cfd Merge remote-tracking branch 'origin/master' into dev 2020-11-11 03:32:21 +01:00
dependabot-preview[bot] cafecdfc29 Bump gradle from 4.1.0 to 4.1.1
Bumps gradle from 4.1.0 to 4.1.1.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-11-11 02:12:49 +00:00
Andy Scherzinger 2db40c36ca Merge pull request #7271 from nextcloud/differentAvatars
Show generated avatars is file detail sharing list
2020-11-10 10:44:33 +01:00
tobiasKaminsky a733d1e5f0 Show generated avatars is file detail sharing list
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-10 10:15:17 +01:00
Andy Scherzinger 6ef4f51ed7 Merge pull request #7284 from Kuuuna98/Fix_typo
Fixed a typo in a comment
2020-11-10 09:29:31 +01:00
Kuuuna98 cf62ff3a60 fixed typo in comment 2020-11-10 17:20:59 +09:00
Andy Scherzinger 1767d35535 Merge pull request #7281 from Kuuuna98/Fix_typo
Fixed a typo in a comment
2020-11-10 09:16:49 +01:00
Andy Scherzinger 527c7707f2 Merge pull request #7277 from aqaqsubin/Fix_Md_Typing_Error
Fix CONTRIBUTING.md Typing Error
2020-11-10 09:15:36 +01:00
Tobias Kaminsky c899c3ef08 Merge pull request #7279 from nextcloud/combinationResult
use result from combinations
2020-11-10 09:10:44 +01:00
tobiasKaminsky a506c31f76 use result from combinations
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-10 09:10:05 +01:00
Tobias Kaminsky 9d3f5dac38 Merge pull request #7181 from nextcloud/themeStatusEditText
Theme edit text status message
2020-11-10 09:03:18 +01:00
Kuuuna98 318cea9e34 fixed typo in comment 2020-11-10 16:35:26 +09:00
Andy Scherzinger 706f371634 proper edit text coloring
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-10 08:28:38 +01:00
Tobias Kaminsky b571847c73 Merge pull request #7278 from nextcloud/sdkLint
use higher sdk only for lint
2020-11-10 08:22:55 +01:00
tobiasKaminsky e4c7e22c59 use higher sdk only for lint
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-10 07:50:59 +01:00
Nextcloud bot 05ebdd8853 [tx-robot] updated from transifex 2020-11-10 03:47:27 +00:00
Tobias Kaminsky d39db00337 daily dev 20201110
Fix AppPreferencee Comment Typing Error
simplify test min sdk
Reset eTag so that capability get parsed again, so status is set
replace butterknife with native view binding
Update translations
Update 3rd-party dependencies
2020-11-10 03:40:30 +01:00
Tobias Kaminsky 4b701be5f9 Merge remote-tracking branch 'origin/master' into dev 2020-11-10 03:30:49 +01:00
aqaqsubin 1d8b5d9bc9 Fix CONTRIBUTING.md Typing Error
Signed-off-by: aqaqsubin <[email protected]>
2020-11-10 11:30:06 +09:00
Andy Scherzinger 5d035b31d9 Merge pull request #7186 from nextcloud/screenshots
Update Screenshots
2020-11-09 23:17:54 +01:00
Andy Scherzinger e17f7f4b71 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-09 20:08:43 +01:00
Andy Scherzinger 7b7677c666 stabilize rich workspace UI test
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-09 20:08:42 +01:00
Andy Scherzinger 76a77bb370 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-09 20:08:41 +01:00
Andy Scherzinger 723c4042df use our screenshot function, which obeys dark/color
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-09 20:08:41 +01:00
Andy Scherzinger 933ed34c49 Do not use images for tests, as text placeholder tends to get rendered randomly
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-09 20:08:40 +01:00
Andy Scherzinger a335cd12e8 add wait for stabilizing text file icon rendering
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-09 20:08:39 +01:00
Andy Scherzinger 9e6ee79c3f use dark/light aware screenshot method
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-09 20:08:39 +01:00
Andy Scherzinger 973977e6ff Update Screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-09 20:08:30 +01:00
Andy Scherzinger 33ede0b617 Merge pull request #7268 from aqaqsubin/Fix_Typing_Error
Fix AppPreferences Comment Typing Error
2020-11-09 19:19:25 +01:00
Tobias Kaminsky 502d167be6 Merge pull request #7264 from nextcloud/ci
simplify test min sdk
2020-11-09 14:31:20 +01:00
aqaqsubin a4343dc050 Fix AppPreferencee Comment Typing Error
Signed-off-by: aqaqsubin <[email protected]>
2020-11-09 21:54:51 +09:00
Andy Scherzinger b3aa5a9ff6 Merge pull request #7246 from nextcloud/resetCapability
Reset eTag so that capability get parsed again, so status is set
2020-11-09 10:24:45 +01:00
tobiasKaminsky 1b461d3e03 simplify test min sdk
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-09 10:09:53 +01:00
Tobias Kaminsky 8dba90993d Merge pull request #7105 from nextcloud/viewBindingFileDetailsFragments
Replace butterknife with native view binding (File Details Fragments)
2020-11-09 09:24:51 +01:00
Andy Scherzinger 7893c1963d Merge pull request #7260 from nextcloud/dependabot/gradle/com.googlecode.ez-vcard-ez-vcard-0.11.2
Bump ez-vcard from 0.11.1 to 0.11.2
2020-11-09 09:15:57 +01:00
tobiasKaminsky baa0de428f Reset eTag so that capability get parsed again, so status is set
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-09 08:50:45 +01:00
Nextcloud bot da05b8ba52 [tx-robot] updated from transifex 2020-11-09 03:43:53 +00:00
dependabot-preview[bot] 3f732c7436 Bump ez-vcard from 0.11.1 to 0.11.2
Bumps [ez-vcard](https://github.com/mangstadt/ez-vcard) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/mangstadt/ez-vcard/releases)
- [Commits](https://github.com/mangstadt/ez-vcard/compare/0.11.1...0.11.2)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-11-09 02:13:03 +00:00
nextcloud-android-bot b466be9439 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-11-08 16:57:27 +01:00
Andy Scherzinger 299a5e4d7c replace butterknife with native view binding
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-08 16:57:22 +01:00
Nextcloud bot 813a6dd5ed [tx-robot] updated from transifex 2020-11-08 03:43:51 +00:00
Tobias Kaminsky 1bb067d75d daily dev 20201108
do not tint nc logo
Update translations
2020-11-08 03:39:12 +01:00
Tobias Kaminsky 77a52f6fde Merge remote-tracking branch 'origin/master' into dev 2020-11-08 03:30:52 +01:00
Andy Scherzinger 2373c4feac Merge pull request #7242 from nextcloud/tintHeader
do not tint nc logo
2020-11-07 07:27:13 +01:00
Nextcloud bot d198a45176 [tx-robot] updated from transifex 2020-11-07 03:43:37 +00:00
Tobias Kaminsky 70b058f639 daily dev 20201107
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-11-07 03:42:59 +01:00
Tobias Kaminsky 6c209b6863 Merge remote-tracking branch 'origin/master' into dev 2020-11-07 03:31:46 +01:00
tobiasKaminsky 2194e98b0c do not tint nc logo
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-06 14:47:33 +01:00
Andy Scherzinger e51ac4876f Merge pull request #7240 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.6.0
Bump spotbugs-gradle-plugin from 4.5.1 to 4.6.0
2020-11-06 07:56:22 +01:00
Nextcloud bot 6dc9c1c47e [tx-robot] updated from transifex 2020-11-06 03:43:14 +00:00
Tobias Kaminsky 4f056a362e daily dev 20201106
removed outdated search enums changed photos -> media
If relative subfolder cannot be found, do nut use it
ignore multiple instanceof calls
Fix crash on opening details within PreviewText
override minSdk only when using Karumi
Bump to 5.1.0
bump minSdkVersion for screenshot tests
Update translations
Update 3rd-party dependencies
2020-11-06 03:41:24 +01:00
Tobias Kaminsky f3a7d67df2 Merge remote-tracking branch 'origin/master' into dev 2020-11-06 03:30:54 +01:00
dependabot-preview[bot] 93154be9ff Bump spotbugs-gradle-plugin from 4.5.1 to 4.6.0
Bumps spotbugs-gradle-plugin from 4.5.1 to 4.6.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-11-06 02:12:52 +00:00
Andy Scherzinger 47f9dff8bb Merge pull request #6820 from nextcloud/media
Photos -> Media/Gallery
2020-11-05 22:37:38 +01:00
tobiasKaminsky 56776c915b removed outdated search enums
changed photos -> media

Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-05 21:07:05 +01:00
Andy Scherzinger 3db917addb Merge pull request #7230 from nextcloud/fixNullOnAutoUpload
If relative subfolder cannot be found, do not use it
2020-11-05 20:51:59 +01:00
tobiasKaminsky a42e0b42f4 If relative subfolder cannot be found, do nut use it
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-05 18:25:50 +01:00
Andy Scherzinger f8c83e9e6f Merge pull request #7229 from nextcloud/detailCrash
Fix crash on opening details within PreviewText
2020-11-05 17:55:18 +01:00
Andy Scherzinger 08fa69a655 ignore multiple instanceof calls
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-05 17:08:41 +01:00
Andy Scherzinger a90ba47849 Merge pull request #7051 from nextcloud/dependabot/gradle/com.karumi-shot-5.0.1
Bump shot from 4.4.0 to 5.1.0
2020-11-05 11:29:30 +01:00
Nextcloud bot b978684a2e [tx-robot] updated from transifex 2020-11-05 03:42:00 +00:00
Tobias Kaminsky 35dd3aef78 daily dev 20201105
Test also for connected networks
Update translations
2020-11-05 03:39:19 +01:00
Tobias Kaminsky 14b899ab93 Merge remote-tracking branch 'origin/master' into dev 2020-11-05 03:30:52 +01:00
tobiasKaminsky b1e69426c7 Fix crash on opening details within PreviewText
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-04 14:00:15 +01:00
tobiasKaminsky 0826398c06 override minSdk only when using Karumi
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-04 12:42:11 +01:00
tobiasKaminsky d686f202b7 add android_serial so that only uiComparison emulator is used for screenshot comparison
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-04 11:45:24 +01:00
tobiasKaminsky 5d258e7b57 Bump to 5.1.0
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-04 11:45:24 +01:00
tobiasKaminsky a3fc5a87c7 bump minSdkVersion for screenshot tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-04 11:45:24 +01:00
dependabot-preview[bot] e729577eb5 Bump shot from 4.4.0 to 5.0.1
Bumps [shot](https://github.com/karumi/shot) from 4.4.0 to 5.0.1.
- [Release notes](https://github.com/karumi/shot/releases)
- [Changelog](https://github.com/Karumi/Shot/blob/master/release.gradle)
- [Commits](https://github.com/karumi/shot/compare/4.4.0...5.0.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-11-04 11:45:24 +01:00
Tobias Kaminsky f8c71694bd Merge pull request #7164 from nextcloud/network
Test also for connected networks
2020-11-04 09:55:43 +01:00
tobiasKaminsky e20f69dd7f Test also for connected networks
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-04 08:09:29 +01:00
Nextcloud bot bdf90f0a1c [tx-robot] updated from transifex 2020-11-04 03:42:58 +00:00
Tobias Kaminsky 195a8c85b9 daily dev 20201104
Reduce apk size by ~20 MB
Changes due to CR
Drop NC13-NC15 in 204 endpoint there is no maintenance:false
Only do UI manipulation if visible
Update translations
Update Nextcloud Android library
2020-11-04 03:41:43 +01:00
Tobias Kaminsky 219edc378b Merge remote-tracking branch 'origin/master' into dev 2020-11-04 03:32:15 +01:00
Andy Scherzinger 45cfa09c12 Merge pull request #7173 from nextcloud/qaToActions
QA to gh actions
2020-11-03 22:53:16 +01:00
Andy Scherzinger 26ae153bfc Merge pull request #7221 from nextcloud/reduceEmojiSize
Reduce apk size by ~20 MB
2020-11-03 22:48:53 +01:00
Andy Scherzinger 74edac558a Merge pull request #7210 from nextcloud/populateList
Only do UI manipulation if visible
2020-11-03 18:11:57 +01:00
tobiasKaminsky 04693ed1a2 Move QA to GH actions
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-03 16:12:06 +01:00
tobiasKaminsky 70c47937b8 Reduce apk size by ~20 MB
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-03 15:54:47 +01:00
Tobias Kaminsky 9cf0999cbf Merge pull request #7209 from nextcloud/dropNC15
Drop NC13-NC15
2020-11-03 15:48:33 +01:00
tobiasKaminsky 77751da6b8 Changes due to CR
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-03 11:24:08 +01:00
tobiasKaminsky 16997601fc Drop NC13-NC15
in 204 endpoint there is no maintenance:false

Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-03 10:46:50 +01:00
Nextcloud bot 8283b5aab9 [tx-robot] updated from transifex 2020-11-03 03:43:09 +00:00
Tobias Kaminsky 478cd7145c daily dev 20201103
Unify powermock version
Use context of fragment
Only access data if operation succeeded
Update translations
Update 3rd-party dependencies
2020-11-03 03:40:11 +01:00
Tobias Kaminsky ae85edf82c Merge remote-tracking branch 'origin/master' into dev 2020-11-03 03:30:53 +01:00
Andy Scherzinger c57448e32c Merge pull request #7201 from nextcloud/dependabot/gradle/org.powermock-powermock-core-2.0.9
Bump powermock-core from 2.0.7 to 2.0.9
2020-11-02 20:43:38 +01:00
Andy Scherzinger 611a75e613 Unify powermock version
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-02 17:38:39 +01:00
dependabot-preview[bot] 5859f5253b Bump powermock-core from 2.0.7 to 2.0.9
Bumps [powermock-core](https://github.com/powermock/powermock) from 2.0.7 to 2.0.9.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.7...powermock-2.0.9)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-11-02 17:38:16 +01:00
Andy Scherzinger a9196f168a Merge pull request #7202 from nextcloud/dependabot/gradle/byteBuddyVersion-1.10.18
Bump byteBuddyVersion from 1.10.17 to 1.10.18
2020-11-02 16:14:19 +01:00
Andy Scherzinger 18e0639e28 Merge pull request #7211 from nextcloud/npeInStatus
Only access data if operation succeeded
2020-11-02 16:08:04 +01:00
tobiasKaminsky fb8ea9bf55 Only do UI manipulation if visible
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-02 14:44:12 +01:00
tobiasKaminsky 6f66aca101 Use context of fragment
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-02 11:16:54 +01:00
tobiasKaminsky b2145d98cd Only access data if operation succeeded
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-02 11:10:01 +01:00
Nextcloud bot 779d5cf30c [tx-robot] updated from transifex 2020-11-02 03:42:57 +00:00
dependabot-preview[bot] ccfb83c0c1 Bump byteBuddyVersion from 1.10.17 to 1.10.18
Bumps `byteBuddyVersion` from 1.10.17 to 1.10.18.

Updates `byte-buddy` from 1.10.17 to 1.10.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.10.17...byte-buddy-1.10.18)

Updates `byte-buddy-android` from 1.10.17 to 1.10.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.10.17...byte-buddy-1.10.18)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-11-02 02:15:11 +00:00
Nextcloud bot ffd441f7e5 [tx-robot] updated from transifex 2020-11-01 03:41:59 +00:00
Tobias Kaminsky dda02e529f daily dev 20201101
Bump to 3.15 alpha
l10n: Change the hour to plural
ktlint
theming fur status message buttons
Javascript enabled for WebViews is fine
Fix wrong background on error display of PreviewImageFragment
changes after rebase
changes after rebase
use primarey
Use status from lib
Fix detekt
remove magic numbers
reformat for ktlint
replace magic number with constants
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-11-01 03:45:01 +01:00
Tobias Kaminsky b394800c2d Merge remote-tracking branch 'origin/master' into dev 2020-11-01 03:34:21 +01:00
Nextcloud bot 0504ad4d61 [tx-robot] updated from transifex 2020-10-31 03:43:21 +00:00
Tobias Kaminsky d361a5b811 Merge remote-tracking branch 'origin/master' into dev 2020-10-31 03:32:15 +01:00
Andy Scherzinger 0e30c5e597 Merge pull request #7177 from nextcloud/v315
Bump to 3.15 alpha
2020-10-30 22:24:15 +01:00
Andy Scherzinger 88c795fcef Merge pull request #7176 from nextcloud/Valdnet-patch-1
l10n: Change the hour to plural
2020-10-30 13:35:29 +01:00
Andy Scherzinger 0e793faae1 Bump to 3.15 alpha
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-30 13:22:20 +01:00
Valdnet 8c68afea18 l10n: Change the hour to plural 2020-10-30 12:17:39 +01:00
Nextcloud bot c0d615e5a0 [tx-robot] updated from transifex 2020-10-30 10:41:36 +00:00
Tobias Kaminsky 25911ccaa0 Merge pull request #7172 from nextcloud/themeStatusMessageButtons
theming for status message buttons
2020-10-30 11:28:55 +01:00
tobiasKaminsky 70f7be9c4b ktlint
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-30 11:08:54 +01:00
Andy Scherzinger 1d3edd05ea theming fur status message buttons
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-30 11:08:29 +01:00
Tobias Kaminsky 84e7d941bb Merge pull request #7100 from nextcloud/corruptImage
Fix wrong background on error display of PreviewImageFragment
2020-10-30 11:08:00 +01:00
Andy Scherzinger a8c38774ae Merge pull request #7170 from nextcloud/dependabot/gradle/com.h3xstream.findsecbugs-findsecbugs-plugin-1.11.0
Bump findsecbugs-plugin from 1.10.1 to 1.11.0
2020-10-30 10:14:05 +01:00
nextcloud-android-bot 51837d7b0c Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-10-30 10:12:57 +01:00
Andy Scherzinger d52fbb3790 Javascript enabled for WebViews is fine
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-30 10:12:56 +01:00
dependabot-preview[bot] 3da53225bf Bump findsecbugs-plugin from 1.10.1 to 1.11.0
Bumps [findsecbugs-plugin](https://github.com/find-sec-bugs/find-sec-bugs) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/find-sec-bugs/find-sec-bugs/releases)
- [Changelog](https://github.com/find-sec-bugs/find-sec-bugs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/find-sec-bugs/find-sec-bugs/commits)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-30 10:12:51 +01:00
Andy Scherzinger d1691e653b Merge pull request #7168 from nextcloud/dependabot/gradle/androidx.emoji-emoji-bundled-1.1.0
Bump emoji-bundled from 1.0.0 to 1.1.0
2020-10-30 10:10:31 +01:00
tobiasKaminsky 4783a95694 update screenshot
wait until fragment is in "resumed" state

Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-30 10:09:44 +01:00
tobiasKaminsky 23ca829569 update screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-30 10:09:44 +01:00
tobiasKaminsky c33e805c5d Fix wrong background on error display of PreviewImageFragment
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-30 10:09:44 +01:00
Tobias Kaminsky d09b460c84 Merge pull request #7123 from nextcloud/statusFeature
Add status to sharee
2020-10-30 10:09:08 +01:00
tobiasKaminsky 3d79b79685 changes after rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-30 10:08:36 +01:00
Andy Scherzinger 5467576c95 Merge pull request #7169 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.0.4
Bump constraintlayout from 2.0.3 to 2.0.4
2020-10-30 09:21:42 +01:00
tobiasKaminsky 640820826f changes after rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-30 09:20:03 +01:00
tobiasKaminsky 540285560a use primarey
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-30 09:20:03 +01:00
tobiasKaminsky cfb3778a9a Use status from lib
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-30 09:20:02 +01:00
Tobias Kaminsky c2e6343e79 Merge pull request #7161 from nextcloud/serverStable20
Server stable20
2020-10-30 09:19:20 +01:00
tobiasKaminsky c48228bcb3 Fix detekt
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-30 08:21:08 +01:00
Andy Scherzinger 4da28f0d8b remove magic numbers
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-30 07:27:55 +01:00
Andy Scherzinger 7db8069ff0 reformat for ktlint
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-30 07:27:55 +01:00
Andy Scherzinger 63efedff6e replace magic number with constants
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-30 07:27:55 +01:00
tobiasKaminsky 3a76ff78df use stable 20 for stable tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-30 07:27:39 +01:00
Nextcloud bot eea048b1ec [tx-robot] updated from transifex 2020-10-30 03:44:25 +00:00
Tobias Kaminsky cfeab7b394 daily dev 20201030
Spotbugs
fix lint
wip
optimize status dialog layout, add status active visual
set texts and move to view binding
emoji
improved layouting
wip
wip
wip
wip
wip
wip
wip
proper comment formatting
improve detekt score
remove var prefixes
proper kotlin enum naming pattern
user proper license header format
Remove unneeded empty lines
Add status to sharee
Add dark screenshots
Upload are deleted after decision was made in conflict activity
HttpStreamFetcher: - copy stream - close connection
use custom SSO value for authTokenType -> to detect if account is added by SSO
Update translations
2020-10-30 03:40:14 +01:00
Tobias Kaminsky 4a60f3aac3 Merge remote-tracking branch 'origin/master' into dev 2020-10-30 03:30:52 +01:00
dependabot-preview[bot] 160330d83a Bump constraintlayout from 2.0.3 to 2.0.4
Bumps constraintlayout from 2.0.3 to 2.0.4.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-30 02:13:02 +00:00
dependabot-preview[bot] 2ec25c2c75 Bump emoji-bundled from 1.0.0 to 1.1.0
Bumps emoji-bundled from 1.0.0 to 1.1.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-30 02:12:31 +00:00
Andy Scherzinger fb7fd8c517 Merge pull request #7149 from nextcloud/setStatus
Set status
2020-10-29 23:56:01 +01:00
Andy Scherzinger a542bee93f add dark screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 22:55:24 +01:00
tobiasKaminsky 6d1d4a732d Spotbugs
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:28:48 +01:00
tobiasKaminsky 0b8cf615e6 fix lint
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:28:47 +01:00
tobiasKaminsky 7d7a80af34 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:28:46 +01:00
Andy Scherzinger 8369e4c413 optimize status dialog layout, add status active visual
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 20:28:45 +01:00
Andy Scherzinger fba718ad84 set texts and move to view binding
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 20:28:44 +01:00
tobiasKaminsky 21fbb68a2b emoji
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:27:13 +01:00
tobiasKaminsky 4244a50c52 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:27:13 +01:00
Andy Scherzinger f802cb3122 improved layouting
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 20:27:12 +01:00
tobiasKaminsky fcb0147d71 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:27:11 +01:00
tobiasKaminsky ad5ca22e23 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:27:10 +01:00
tobiasKaminsky bff08bbc17 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:27:09 +01:00
tobiasKaminsky 0bb5ad643f wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:27:09 +01:00
tobiasKaminsky c09fa8c944 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:27:08 +01:00
tobiasKaminsky 0709076e54 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:27:07 +01:00
tobiasKaminsky dcc246fd58 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:27:06 +01:00
Andy Scherzinger 4fed61d3f3 proper comment formatting
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 20:27:05 +01:00
Andy Scherzinger 9741cf21c9 improve detekt score
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 20:27:05 +01:00
Andy Scherzinger 711b2334b0 remove var prefixes
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 20:27:04 +01:00
Andy Scherzinger 96680fdeca proper kotlin enum naming pattern
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 20:27:03 +01:00
Andy Scherzinger 4d5eb127f8 user proper license header format
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 20:27:03 +01:00
Andy Scherzinger d642da450f Remove unneeded empty lines
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 20:27:02 +01:00
tobiasKaminsky dbd9e6fe9b Add status to sharee
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 20:27:01 +01:00
Andy Scherzinger 153aa77b41 Merge pull request #6572 from nextcloud/dark
Add dark screenshots
2020-10-29 20:06:57 +01:00
Andy Scherzinger 93b38db646 updated screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-29 17:46:43 +01:00
tobiasKaminsky f246268c9c add missing screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 17:46:42 +01:00
tobiasKaminsky 5a2f891e6e Add missing dark screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 17:46:41 +01:00
tobiasKaminsky bfccf4851f Add dark screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 17:46:41 +01:00
Nextcloud bot 81f6ba471a [tx-robot] updated from transifex 2020-10-29 10:41:31 +00:00
Tobias Kaminsky d4d22c4a27 Merge pull request #7124 from nextcloud/loginQR
use custom SSO value for authTokenType -> to detect if account is added by SSO
2020-10-29 09:46:48 +01:00
Tobias Kaminsky 109487ff91 Merge pull request #7102 from nextcloud/conflictAutoUpload
Upload are deleted after decision was made in conflict activity
2020-10-29 09:45:50 +01:00
Andy Scherzinger 1730499609 Merge pull request #7160 from nextcloud/fixActivityFetching
Fix activity fetching
2020-10-29 09:39:46 +01:00
tobiasKaminsky d34b1e8da7 Upload are deleted after decision was made in conflict activity
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 08:22:34 +01:00
nextcloud-android-bot 12a7145e1a Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-10-29 06:22:20 +00:00
drone 66ea4d9cf8 Merge commit 'f6abb5b4f16efbe1008e82b4903e248d4bea705f' 2020-10-29 06:08:40 +00:00
tobiasKaminsky f6abb5b4f1 HttpStreamFetcher:
- copy stream
- close connection

Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-29 07:07:42 +01:00
Tobias Kaminsky e58e9dabce daily dev 20201029
replace NotNull with NonNull annotation
codacy: Avoid really long methods
codacy: Assigning an Object to null is a code smell.
codacy: Avoid unused method parameters
codacy: Avoid using Literals in Conditional Statements
codacy: Perhaps 'user' could be replaced by a local variable.
codacy: Document empty method body
codacy: Avoid reassigning parameters
codacy: Useless parentheses
codacy: Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
codacy: Unnecessary use of fully qualified name due to existing static import
codacy: Avoid declaring a variable if it is unreferenced before a possible exit point.
codacy: Unused imports
codacy: Document empty constructor
codacy: Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
Fix: open rich workspace click on "all files" on drawer
l10n: Add a space before the ellipsis
l10n: Cloud name with a capital letter
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-10-29 03:42:09 +01:00
Tobias Kaminsky c70a59d0a9 Merge remote-tracking branch 'origin/master' into dev 2020-10-29 03:32:24 +01:00
Andy Scherzinger af09ee9191 Merge pull request #7127 from nextcloud/codacy
Codacy: Code Style Improvements
2020-10-28 18:30:23 +01:00
tobiasKaminsky 6b0f929605 fix analysis-wrapper.sh script
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-28 14:44:20 +01:00
tobiasKaminsky b7a4d265cd fix analysis-wrapper.sh script
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-28 14:44:19 +01:00
Andy Scherzinger a1bb60b278 replace NotNull with NonNull annotation
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:18 +01:00
tobiasKaminsky 3809f2ab7b add check for nonNull
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-28 14:44:17 +01:00
nextcloud-android-bot 55057a386d Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-10-28 14:44:17 +01:00
Andy Scherzinger 73de8af270 codacy: Avoid really long methods
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:16 +01:00
Andy Scherzinger 553699a095 codacy: Assigning an Object to null is a code smell.
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:15 +01:00
Andy Scherzinger d705c52fae codacy: Avoid unused method parameters
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:14 +01:00
Andy Scherzinger 4f8f07ee6a codacy: Avoid using Literals in Conditional Statements
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:13 +01:00
Andy Scherzinger 8ff2cdcb87 codacy: Perhaps 'user' could be replaced by a local variable.
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:12 +01:00
Andy Scherzinger 56723dc547 codacy: Document empty method body
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:12 +01:00
Andy Scherzinger d7c783f6b0 codacy: Avoid reassigning parameters
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:11 +01:00
Andy Scherzinger d157762538 codacy: Useless parentheses
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:10 +01:00
Andy Scherzinger 4b3185dbe0 codacy: Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:09 +01:00
Andy Scherzinger f8542da589 codacy: Unnecessary use of fully qualified name due to existing static import
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:08 +01:00
Andy Scherzinger ccd05b51ba codacy: Avoid declaring a variable if it is unreferenced before a possible exit point.
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:08 +01:00
Andy Scherzinger fc324504f2 codacy: Unused imports
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:07 +01:00
Andy Scherzinger 2251dde731 codacy: Document empty constructor
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:44:06 +01:00
Andy Scherzinger d62c2b3f9f codacy: Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:43:51 +01:00
Andy Scherzinger d9886e8a96 Merge pull request #7159 from nextcloud/screenshots
update screenshots
2020-10-28 14:39:40 +01:00
Andy Scherzinger 1eef664a46 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-28 14:33:23 +01:00
Andy Scherzinger 0ac927d209 Merge pull request #7135 from nextcloud/Valdnet-patch-1
l10n: Cloud name with a capital letter
2020-10-28 14:00:41 +01:00
Andy Scherzinger 8b57f176a9 Merge pull request #7156 from nextcloud/fixBackFromRichWorkspace
Fix: #7139
2020-10-28 13:30:24 +01:00
tobiasKaminsky 6ff581c1a8 Fix:
open rich workspace
click on "all files" on drawer

Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-28 10:44:29 +01:00
Tobias Kaminsky 18740e9183 Merge pull request #7153 from nextcloud/dependabot/gradle/mockitoVersion-3.6.0
Bump mockitoVersion from 3.5.15 to 3.6.0
2020-10-28 07:37:11 +01:00
Tobias Kaminsky abd1c5e176 Merge pull request #7152 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.0.3
Bump constraintlayout from 2.0.2 to 2.0.3
2020-10-28 07:36:44 +01:00
Nextcloud bot 1deaf807d2 [tx-robot] updated from transifex 2020-10-28 03:44:21 +00:00
Tobias Kaminsky e6e16ec168 daily dev 20201028
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-10-28 03:42:50 +01:00
Tobias Kaminsky 71e04fbfb9 Merge remote-tracking branch 'origin/master' into dev 2020-10-28 03:33:40 +01:00
dependabot-preview[bot] 1f4374baaf Bump mockitoVersion from 3.5.15 to 3.6.0
Bumps `mockitoVersion` from 3.5.15 to 3.6.0.

Updates `mockito-core` from 3.5.15 to 3.6.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.15...v3.6.0)

Updates `mockito-android` from 3.5.15 to 3.6.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.15...v3.6.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-28 02:14:38 +00:00
dependabot-preview[bot] 7a217d2b0f Bump constraintlayout from 2.0.2 to 2.0.3
Bumps constraintlayout from 2.0.2 to 2.0.3.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-28 02:14:00 +00:00
Nextcloud bot 493758af57 [tx-robot] updated from transifex 2020-10-27 03:43:59 +00:00
Valdnet fbdbac0901 l10n: Add a space before the ellipsis 2020-10-26 19:38:34 +01:00
Andy Scherzinger 5b52e0314d Merge pull request #7140 from nextcloud/dependabot/gradle/com.googlecode.ez-vcard-ez-vcard-0.11.1
Bump ez-vcard from 0.11.0 to 0.11.1
2020-10-26 08:02:50 +01:00
Tobias Kaminsky 4eec05535f daily dev 20201026
Update translations
Update Nextcloud Android library
2020-10-26 03:43:17 +01:00
Tobias Kaminsky 69778f1522 Merge remote-tracking branch 'origin/master' into dev 2020-10-26 03:33:55 +01:00
dependabot-preview[bot] f2012acf92 Bump ez-vcard from 0.11.0 to 0.11.1
Bumps [ez-vcard](https://github.com/mangstadt/ez-vcard) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/mangstadt/ez-vcard/releases)
- [Commits](https://github.com/mangstadt/ez-vcard/compare/0.11.0...0.11.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-26 02:13:41 +00:00
Nextcloud bot 2f9c3f6f70 [tx-robot] updated from transifex 2020-10-25 03:40:49 +00:00
Tobias Kaminsky fe2034a3aa daily dev 20201025
Update translations
Update Nextcloud Android library
2020-10-25 03:41:33 +01:00
Tobias Kaminsky 786c877828 Merge remote-tracking branch 'origin/master' into dev 2020-10-25 03:32:08 +01:00
Valdnet f2a94ea657 l10n: Cloud name with a capital letter 2020-10-24 18:19:09 +02:00
Nextcloud bot ab659a1d0e [tx-robot] updated from transifex 2020-10-24 03:41:00 +00:00
Andy Scherzinger 905c1377d0 Merge pull request #7132 from nextcloud/ktlintFormatting
project IDE config for ktlint
2020-10-23 23:45:08 +02:00
Andy Scherzinger 0051efc025 project IDE config for ktlint
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-23 20:50:35 +02:00
Nextcloud bot 7a764175a6 [tx-robot] updated from transifex 2020-10-23 03:40:24 +00:00
Nextcloud bot a3cf19fba3 [tx-robot] updated from transifex 2020-10-22 03:40:56 +00:00
Tobias Kaminsky 22ae383e00 daily dev 20201022
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-10-22 03:45:22 +02:00
Tobias Kaminsky 870052cf32 Merge remote-tracking branch 'origin/master' into dev 2020-10-22 03:34:15 +02:00
tobiasKaminsky 2866e1848a use custom SSO value for authTokenType -> to detect if account is added by SSO
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-21 14:43:56 +02:00
Tobias Kaminsky 22b2a15677 Merge pull request #7119 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.14.2
Bump detekt-gradle-plugin from 1.14.1 to 1.14.2
2020-10-21 07:41:53 +02:00
Nextcloud bot 3ffd6d5f4f [tx-robot] updated from transifex 2020-10-21 03:41:09 +00:00
Tobias Kaminsky f4af67444b daily dev 20201021
fix tests
As soon as we have a thumbnail we should stop shimmer. This happens when a thumbnail is available, but one scrolls and then come back to the thumbnail, as image view is recycled
Collabora: click on hyperlink opens it in browser, not in webview
Update Nextcloud Android library
Update 3rd-party dependencies
2020-10-21 03:38:57 +02:00
Tobias Kaminsky b5b67e85d1 Merge remote-tracking branch 'origin/master' into dev 2020-10-21 03:30:51 +02:00
dependabot-preview[bot] 4e600e1aa4 Bump detekt-gradle-plugin from 1.14.1 to 1.14.2
Bumps detekt-gradle-plugin from 1.14.1 to 1.14.2.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-21 01:12:09 +00:00
Andy Scherzinger 4e5b473f09 Merge pull request #7109 from nextcloud/fixSyncedFolderUtilsTests
fix tests
2020-10-20 23:14:13 +02:00
Andy Scherzinger a5c8337c79 Merge pull request #7088 from nextcloud/coolLink
Collabora: click on hyperlink opens it in browser, not in webview
2020-10-20 22:28:10 +02:00
tobiasKaminsky 163422e6ff fix tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-20 22:20:25 +02:00
Andy Scherzinger 95c85ba358 Merge pull request #7111 from nextcloud/shimmerBigFolder
As soon as we have a thumbnail we should stop shimmer
2020-10-20 22:14:12 +02:00
Andy Scherzinger 6ff4de1711 updated screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-20 22:12:58 +02:00
tobiasKaminsky 58591832c8 As soon as we have a thumbnail we should stop shimmer.
This happens when a thumbnail is available, but one scrolls and then come back to the thumbnail, as image view is recycled

Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-20 22:12:57 +02:00
Andy Scherzinger 3c86bdd5a0 Merge pull request #7114 from nextcloud/dependabot/gradle/mockitoVersion-3.5.15
Bump mockitoVersion from 3.5.13 to 3.5.15
2020-10-20 10:53:57 +02:00
Tobias Kaminsky 56e9b1ec77 Merge pull request #7097 from nextcloud/fixITpath
IT report has changed
2020-10-20 06:59:02 +02:00
Tobias Kaminsky cdea0cc364 daily dev 20201020
Update translations
Update Nextcloud Android library
2020-10-20 03:43:28 +02:00
Tobias Kaminsky 7554b42172 Merge remote-tracking branch 'origin/master' into dev 2020-10-20 03:34:16 +02:00
dependabot-preview[bot] ddeb9cd395 Bump mockitoVersion from 3.5.13 to 3.5.15
Bumps `mockitoVersion` from 3.5.13 to 3.5.15.

Updates `mockito-core` from 3.5.13 to 3.5.15
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.13...v3.5.15)

Updates `mockito-android` from 3.5.13 to 3.5.15
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.13...v3.5.15)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-20 01:13:45 +00:00
tobiasKaminsky ee5ff47138 IT report has changed
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-19 16:10:51 +02:00
Nextcloud bot 781ca558b5 [tx-robot] updated from transifex 2020-10-17 03:39:54 +00:00
Tobias Kaminsky 71f8929897 daily dev 20201017
#7103 Remove item divider in share list
If file is valid, then allow upload
Fix wrong handling of back button (#7067)
Update translations
Update Nextcloud Android library
2020-10-17 03:40:56 +02:00
Tobias Kaminsky 6a9deac545 Merge remote-tracking branch 'origin/master' into dev 2020-10-17 03:31:48 +02:00
Andy Scherzinger b0d6f944ce Merge pull request #7106 from o3661606/fix-7103
#7103 Remove item divider in share list
2020-10-16 20:13:46 +02:00
Michael Lam ba5f47dbe9 #7103 Remove item divider in share list 2020-10-17 00:09:25 +08:00
Andy Scherzinger ed3c607da5 Merge pull request #7099 from nextcloud/appCloses
Fix wrong handling of back button (#7067)
2020-10-16 18:02:07 +02:00
Andy Scherzinger d42512d7ae Merge pull request #7101 from nextcloud/fixUploadCheck
If file is valid, then allow upload
2020-10-16 11:38:37 +02:00
tobiasKaminsky 4eb9ae0947 If file is valid, then allow upload
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-16 10:27:54 +02:00
tobiasKaminsky 45367ee3f4 Fix wrong handling of back button (#7067)
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-16 06:52:09 +02:00
Nextcloud bot 4b91b23c28 [tx-robot] updated from transifex 2020-10-16 03:40:45 +00:00
Tobias Kaminsky c0180236b7 daily dev 20201016
codacy: remove unused variable
utilze TextUtils, remove unused code
invert folder name filter check, move to standard Android view binding
remove unused import
ignore thumbnail-related data on auto upload
ignore thumbnauil folders for detection/display - related to #7085 ignore thumbdata files for detection - related to #3177
add tests
ignore image-media folders that have no-images _or_ seem to be music albums (just a single cover art image) block detection notification and hide in lists
lint: use proper date format
Null safe
add tests
Do not show rich workspace if it only contains whitespaces
Any camera (front/back) is enough for scanning QR or taking an image
switch to users
use view bindings
remove unused dimension value
use correct avatar radius
trigger save state info processing in test
User Info screen tests
streamline layout for user infos
codacy: Avoid appending characters as strings in StringBuffer.append
codacy: Avoid unused imports
codacy: Avoid unused local variables
codacy: Avoid unused private fields
Ensure that upload notification gets cancelled
Update translations
Update 3rd-party dependencies
2020-10-16 03:38:56 +02:00
Tobias Kaminsky 71c47851af Merge remote-tracking branch 'origin/master' into dev 2020-10-16 03:30:51 +02:00
Andy Scherzinger ee01ed385e Merge pull request #7042 from nextcloud/enh/coverArtFilter
Auto Upload: Ignore folders that have no-images or seem to be music albums
2020-10-15 15:26:44 +02:00
Andy Scherzinger a1832eb908 Merge pull request #7086 from nextcloud/hideEmptyRichWorkspacses
Do not show rich workspace if it only contains whitespaces
2020-10-15 14:47:34 +02:00
nextcloud-android-bot 0bba77ded8 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-10-15 10:03:28 +00:00
Andy Scherzinger 0f94eefe33 codacy: remove unused variable
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-15 11:35:59 +02:00
Andy Scherzinger e20e0dbf92 utilze TextUtils, remove unused code
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-15 11:35:58 +02:00
Andy Scherzinger 219ca5fb93 invert folder name filter check, move to standard Android view binding
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-15 11:35:58 +02:00
Andy Scherzinger 57c3f3cf2f remove unused import
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-15 11:35:57 +02:00
Andy Scherzinger 2113ea26f2 ignore thumbnail-related data on auto upload
Resolves #7085
Resolves #4350

Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-15 11:35:56 +02:00
Andy Scherzinger 608dbd998f ignore thumbnauil folders for detection/display - related to #7085
ignore thumbdata files for detection - related to #3177

Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-15 11:35:56 +02:00
Andy Scherzinger 2fe3369210 add tests
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-15 11:35:55 +02:00
Andy Scherzinger 2c5f5e43a7 ignore image-media folders that have no-images _or_ seem to be music albums (just a single cover art image)
block detection notification and hide in lists

related to #3239

Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-15 11:35:51 +02:00
Andy Scherzinger 79ad627083 Merge pull request #7096 from nextcloud/fix/weekDateFormmat
lint: use proper date format
2020-10-15 11:32:24 +02:00
nextcloud-android-bot 7b9d90733f Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-10-15 09:18:33 +00:00
Andy Scherzinger 23b5f594d2 lint: use proper date format
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-15 10:51:51 +02:00
nextcloud-android-bot 247dabb385 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-10-15 08:21:34 +00:00
Andy Scherzinger ec09b7cf72 Merge pull request #7094 from nextcloud/anyCamera
Any camera (front/back) is enough for scanning QR or taking an image
2020-10-15 10:06:21 +02:00
tobiasKaminsky 149dce7571 Null safe
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-15 10:05:39 +02:00
tobiasKaminsky 7982a9f223 add tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-15 10:01:01 +02:00
tobiasKaminsky 9b2ce0c845 Do not show rich workspace if it only contains whitespaces
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-15 10:01:01 +02:00
Tobias Kaminsky a07b11df71 Merge pull request #7050 from grote/4998-cancel-notification
Ensure that upload notification gets cancelled
2020-10-15 09:54:22 +02:00
tobiasKaminsky 06a7800eb1 Any camera (front/back) is enough for scanning QR or taking an image
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-15 09:52:52 +02:00
Andy Scherzinger f4bf71337e Merge pull request #7090 from nextcloud/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.1
Bump exifinterface from 1.3.0 to 1.3.1
2020-10-15 08:23:19 +02:00
Nextcloud bot 58cfa69247 [tx-robot] updated from transifex 2020-10-15 03:39:11 +00:00
dependabot-preview[bot] a7667c9645 Bump exifinterface from 1.3.0 to 1.3.1
Bumps exifinterface from 1.3.0 to 1.3.1.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-15 01:13:35 +00:00
Andy Scherzinger 5ebd4b007c Merge pull request #7052 from nextcloud/resourceFix
streamline layout for user infos
2020-10-14 15:56:29 +02:00
Andy Scherzinger 7a8a08d4eb Merge pull request #7045 from nextcloud/codacy
Codacy
2020-10-14 15:53:54 +02:00
tobiasKaminsky 7edd1f22fa Collabora: click on hyperlink opens it in browser, not in webview
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-14 12:13:30 +02:00
Andy Scherzinger 8b498f4e60 Merge pull request #7087 from nextcloud/user
switch to users
2020-10-14 11:17:26 +02:00
tobiasKaminsky 7b57950abf switch to users
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-14 08:44:15 +02:00
nextcloud-android-bot a8f3f9022e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-10-14 06:37:49 +00:00
nextcloud-android-bot 5131ee762f Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-10-14 06:35:59 +00:00
drone 0a3300c529 Merge commit '0bd091b35038841a1dc3a500dcec2ad21f95f527' 2020-10-14 06:24:02 +00:00
tobiasKaminsky 0bd091b350 use view bindings
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-14 08:23:36 +02:00
Nextcloud bot baff5f2f64 [tx-robot] updated from transifex 2020-10-14 03:43:21 +00:00
Tobias Kaminsky 422cf27d77 daily dev 20201014
Update to Android Studio 4.1
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-10-14 03:45:20 +02:00
Tobias Kaminsky 900a599218 Merge remote-tracking branch 'origin/master' into dev 2020-10-14 03:32:28 +02:00
Andy Scherzinger 10999af2ab remove unused dimension value
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 18:02:50 +02:00
Andy Scherzinger 1a23d43a6d add screenshot diff image
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 18:02:42 +02:00
Andy Scherzinger cec7328bcf use correct avatar radius
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 18:02:41 +02:00
Andy Scherzinger 29ba8c948f trigger save state info processing in test
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 18:02:41 +02:00
Andy Scherzinger 4aac2d48d3 User Info screen tests
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 18:02:40 +02:00
Andy Scherzinger 41056302dd streamline layout for user infos
Fix #7047

Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 18:02:39 +02:00
Andy Scherzinger 0417382417 codacy: Avoid appending characters as strings in StringBuffer.append
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 18:01:49 +02:00
Andy Scherzinger 6d33d71c0d codacy: Avoid unused imports
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 18:01:48 +02:00
Andy Scherzinger c0504e72a3 codacy: Avoid unused local variables
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 18:01:48 +02:00
Andy Scherzinger 8ee3664601 codacy: Avoid unused private fields
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 18:01:47 +02:00
Andy Scherzinger 2696df8d46 Merge pull request #7083 from nextcloud/AS41
Update to Android Studio 4.1
2020-10-13 17:08:58 +02:00
Andy Scherzinger b2370c9fed Merge pull request #7084 from nextcloud/dependabot/maven/automationTest/junit-junit-4.13.1
Bump junit from 4.11 to 4.13.1 in /automationTest
2020-10-13 13:19:59 +02:00
dependabot[bot] c73b60eeeb Bump junit from 4.11 to 4.13.1 in /automationTest
Bumps [junit](https://github.com/junit-team/junit4) from 4.11 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.11.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.11...r4.13.1)

Signed-off-by: dependabot[bot] <[email protected]>
2020-10-13 10:01:22 +00:00
Andy Scherzinger 1ca8136af9 bump lint score due to new lint checks / gradle version
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 11:19:33 +02:00
Andy Scherzinger 06dacc0965 Update Screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 11:18:53 +02:00
Andy Scherzinger 86d0b033ce Update to Android Studio 4.1
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-13 09:12:22 +02:00
Nextcloud bot d57a6f81c0 [tx-robot] updated from transifex 2020-10-13 03:41:47 +00:00
Tobias Kaminsky 712840956a daily dev 20201013
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-10-13 03:42:16 +02:00
Tobias Kaminsky a8032f515d Merge remote-tracking branch 'origin/master' into dev 2020-10-13 03:32:35 +02:00
Andy Scherzinger 91242cbb66 Merge pull request #7077 from nextcloud/dependabot/gradle/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1
2020-10-12 08:14:46 +02:00
Nextcloud bot 4999ddad80 [tx-robot] updated from transifex 2020-10-12 03:38:56 +00:00
dependabot-preview[bot] 8ad08b0f77 Bump junit from 4.13 to 4.13.1
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-12 01:12:36 +00:00
Nextcloud bot e264454730 [tx-robot] updated from transifex 2020-10-10 03:43:36 +00:00
Tobias Kaminsky 7f3c4226d2 daily dev 20201009
Update Nextcloud Android library
Update 3rd-party dependencies
2020-10-09 03:41:21 +02:00
Tobias Kaminsky a0da23743a Merge remote-tracking branch 'origin/master' into dev 2020-10-09 03:31:54 +02:00
Andy Scherzinger c2488d5714 Merge pull request #7066 from nextcloud/dependabot/gradle/byteBuddyVersion-1.10.17
Bump byteBuddyVersion from 1.10.16 to 1.10.17
2020-10-08 19:57:37 +02:00
Tobias Kaminsky e6641fa24c daily dev 20201008
override lib is not needed anylonger
Update translations
Update 3rd-party dependencies
2020-10-08 03:41:05 +02:00
Tobias Kaminsky ae94f2b7af Merge remote-tracking branch 'origin/master' into dev 2020-10-08 03:30:50 +02:00
dependabot-preview[bot] 8c5d0f2e79 Bump byteBuddyVersion from 1.10.16 to 1.10.17
Bumps `byteBuddyVersion` from 1.10.16 to 1.10.17.

Updates `byte-buddy` from 1.10.16 to 1.10.17
- [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.10.16...byte-buddy-1.10.17)

Updates `byte-buddy-android` from 1.10.16 to 1.10.17
- [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.10.16...byte-buddy-1.10.17)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-08 01:13:05 +00:00
Andy Scherzinger c47dead2af Merge pull request #7060 from nextcloud/removeOverrideLib
override lib is not needed anylonger
2020-10-07 11:11:17 +02:00
tobiasKaminsky e187af77f0 override lib is not needed anylonger
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-07 09:10:17 +02:00
Andy Scherzinger ac2492185b Merge pull request #7059 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.0.2
Bump constraintlayout from 2.0.1 to 2.0.2
2020-10-07 07:32:17 +02:00
Andy Scherzinger af96b1bc32 Merge pull request #7058 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-4.0.2
Bump gradle from 4.0.1 to 4.0.2
2020-10-07 07:30:39 +02:00
Nextcloud bot 250bcef15a [tx-robot] updated from transifex 2020-10-07 03:37:44 +00:00
Tobias Kaminsky 600a42c8d1 daily dev 20201007
remove unused resource
Update translations
Update Nextcloud Android library
2020-10-07 03:41:29 +02:00
Tobias Kaminsky 25812794f7 Merge remote-tracking branch 'origin/master' into dev 2020-10-07 03:32:13 +02:00
dependabot-preview[bot] 587b1ee860 Bump constraintlayout from 2.0.1 to 2.0.2
Bumps constraintlayout from 2.0.1 to 2.0.2.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-07 01:14:10 +00:00
dependabot-preview[bot] 2530441c7c Bump gradle from 4.0.1 to 4.0.2
Bumps gradle from 4.0.1 to 4.0.2.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-07 01:12:39 +00:00
Andy Scherzinger cba8d96526 Merge pull request #7054 from nextcloud/fixLint
Remove unused resource
2020-10-06 17:40:21 +02:00
Andy Scherzinger 68fb019798 updated screenshot
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-06 14:44:10 +02:00
nextcloud-android-bot 3f067063ad Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-10-06 10:25:01 +00:00
Andy Scherzinger 92fbc7b63b remove unused resource
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-06 11:28:28 +02:00
Torsten Grote 931aac7345 Ensure that upload notification gets cancelled
Normally, the notification gets cancelled when the service is destroyed.
But that does not always happen in practice, so we also cancel it after
every result.

Signed-off-by: Torsten Grote <[email protected]>
2020-10-05 13:28:55 -03:00
Nextcloud bot 44d97594cf [tx-robot] updated from transifex 2020-10-05 03:40:04 +00:00
Nextcloud bot 13ca0d8442 [tx-robot] updated from transifex 2020-10-04 03:40:32 +00:00
Nextcloud bot cde3ca4cf9 [tx-robot] updated from transifex 2020-10-03 03:42:11 +00:00
Tobias Kaminsky fe4f8c2160 daily dev 20201003
spotbugs: Method does not presize the allocation of a collection
use a constant for equals statement
Add send multiple files, if downloaded
add tests
Prevent firebase crashes
re-add flag_secure to prevent showing content if app is locked
unify mockk version
drop Android 4.3, new min version is Android 4.4
add skip option in case of name collision
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-10-03 03:43:27 +02:00
Tobias Kaminsky ed35aaa6a9 Merge remote-tracking branch 'origin/master' into dev 2020-10-03 03:32:21 +02:00
Andy Scherzinger 5ec2f9ab4e Merge pull request #6990 from nextcloud/multipleSend
Add send multiple files, if downloaded
2020-10-02 22:53:29 +02:00
Andy Scherzinger e01b6177d7 update screenshot
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-02 22:43:06 +02:00
Andy Scherzinger 33d26c6322 spotbugs: Method does not presize the allocation of a collection
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-02 22:43:05 +02:00
Andy Scherzinger 9a730d8c0b use a constant for equals statement
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-02 22:43:04 +02:00
tobiasKaminsky cfdd3d4588 Add send multiple files, if downloaded
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-02 22:43:03 +02:00
Andy Scherzinger 61aaba5b33 Merge pull request #7011 from dassio/skip_upload
add skip option in case of name collision
2020-10-02 22:41:33 +02:00
tobiasKaminsky 6a5f5f4c41 add tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-02 16:10:17 +02:00
Andy Scherzinger a6174169a5 Merge pull request #7043 from nextcloud/enh/no-more-freenode
No more freenode
2020-10-02 13:31:13 +02:00
Daniel Kesselberg 02f404dbc1 no more freenode
Signed-off-by: Daniel Kesselberg <[email protected]>
2020-10-02 10:58:02 +02:00
Andy Scherzinger 501eb7de89 Merge pull request #7030 from nextcloud/preventFirebaseCrashes
Prevent firebase crashes
2020-10-02 10:22:32 +02:00
tobiasKaminsky b66adb9199 Prevent firebase crashes
https://firebase.google.com/docs/analytics/configure-data-collection?platform=android

Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-02 08:53:05 +02:00
Nextcloud bot b83bf828f2 [tx-robot] updated from transifex 2020-10-02 03:34:02 +00:00
Andy Scherzinger 7436f5d167 Merge pull request #6996 from nextcloud/secureFlag
re-add flag_secure to prevent showing content if app is locked
2020-10-01 21:17:24 +02:00
tobiasKaminsky b9d84c36f1 re-add flag_secure to prevent showing content if app is locked
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-01 20:38:15 +02:00
Andy Scherzinger f7477627eb Merge pull request #7036 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.14.1
Bump detekt-gradle-plugin from 1.14.0 to 1.14.1
2020-10-01 14:01:53 +02:00
Andy Scherzinger 574a384f5c Merge pull request #7039 from nextcloud/mockkVersion
Mockk version centralized
2020-10-01 13:59:25 +02:00
dependabot-preview[bot] 28886fbd09 Bump detekt-gradle-plugin from 1.14.0 to 1.14.1
Bumps detekt-gradle-plugin from 1.14.0 to 1.14.1.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-01 11:23:33 +00:00
Andy Scherzinger 017ba89f16 Merge pull request #7037 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.5.1
Bump spotbugs-gradle-plugin from 4.5.0 to 4.5.1
2020-10-01 13:22:20 +02:00
Andy Scherzinger 3735d747d1 unify mockk version
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-01 13:20:38 +02:00
dependabot-preview[bot] c7bb2de3f7 Bump mockk from 1.10.0 to 1.10.2
Bumps [mockk](https://github.com/mockk/mockk) from 1.10.0 to 1.10.2.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.10.0...1.10.2)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-01 13:20:36 +02:00
Andy Scherzinger 6341008e4f Merge pull request #7038 from nextcloud/feature/drop43
drop Android 4.3, new min version is Android 4.4
2020-10-01 13:10:47 +02:00
nextcloud-android-bot d0e66f95bd Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-10-01 10:40:51 +00:00
Andy Scherzinger d6a02ce765 drop Android 4.3, new min version is Android 4.4
Signed-off-by: Andy Scherzinger <[email protected]>
2020-10-01 12:06:14 +02:00
Nextcloud bot 64659dae12 [tx-robot] updated from transifex 2020-10-01 03:41:31 +00:00
Tobias Kaminsky 3cf12c08f7 daily dev 20201001
fix review comments
fix review comments
fix codacy comments
DocumentsStorageProvider: prevent opening stale file contents fix #6883
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-10-01 03:42:10 +02:00
Tobias Kaminsky e5d85d7dd7 Merge remote-tracking branch 'origin/master' into dev 2020-10-01 03:30:51 +02:00
dependabot-preview[bot] d075795a0d Bump spotbugs-gradle-plugin from 4.5.0 to 4.5.1
Bumps spotbugs-gradle-plugin from 4.5.0 to 4.5.1.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-10-01 01:13:37 +00:00
Tobias Kaminsky d782da2fe9 Merge pull request #6917 from jmue/fixStaleFileContents
DocumentsStorageProvider: prevent opening stale file contents
2020-09-30 11:35:51 +02:00
dependabot-preview[bot] f86e6b77ba Merge pull request #7005 from nextcloud/dependabot/gradle/mockitoVersion-3.5.13 2020-09-30 07:55:03 +00:00
Andy Scherzinger 33936bc805 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-09-30 09:38:54 +02:00
Nextcloud bot d3c33c1f95 [tx-robot] updated from transifex 2020-09-30 03:40:57 +00:00
Nextcloud bot c3731a3e1e [tx-robot] updated from transifex 2020-09-29 03:42:45 +00:00
dependabot-preview[bot] 44685cd121 Bump mockitoVersion from 3.5.11 to 3.5.13
Bumps `mockitoVersion` from 3.5.11 to 3.5.13.

Updates `mockito-core` from 3.5.11 to 3.5.13
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.11...v3.5.13)

Updates `mockito-android` from 3.5.11 to 3.5.13
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.11...v3.5.13)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-28 15:28:12 +00:00
Nextcloud bot 92e28a40d2 [tx-robot] updated from transifex 2020-09-28 03:39:14 +00:00
dependabot-preview[bot] 281e7cbade Merge pull request #7023 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.14.0 2020-09-28 01:41:32 +00:00
dependabot-preview[bot] a83a8900ae Bump detekt-gradle-plugin from 1.13.1 to 1.14.0
Bumps detekt-gradle-plugin from 1.13.1 to 1.14.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-28 01:13:22 +00:00
Nextcloud bot ca1509cda5 [tx-robot] updated from transifex 2020-09-27 03:38:27 +00:00
Tobias Kaminsky 36ecbfc189 daily dev 20200927
re-add grey200
enhance mnemonic on dark mode
Stacktrace is selectable in error activity
Re-use the existing foreground notification for FileUploader progress
Do not show shimmer on non-media files
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-09-27 03:39:02 +02:00
Tobias Kaminsky 317fe9774e Merge remote-tracking branch 'origin/master' into dev 2020-09-27 03:30:47 +02:00
Nextcloud bot f38c84f11f [tx-robot] updated from transifex 2020-09-26 03:39:23 +00:00
Tobias Kaminsky 15c04dd132 Merge remote-tracking branch 'origin/master' into dev 2020-09-26 03:32:06 +02:00
dassio b408c74b04 add skip option in case of name collision
Signed-off-by: dassio <[email protected]>
2020-09-25 11:46:49 +01:00
Tobias Kaminsky 2f08647118 Merge pull request #7010 from nextcloud/grey200
re-add grey200
2020-09-25 12:41:34 +02:00
tobiasKaminsky 2d0a8cceee re-add grey200
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-25 12:20:20 +02:00
Andy Scherzinger aa9966d8a3 Merge pull request #6994 from nextcloud/dependabot/gradle/byteBuddyVersion-1.10.16
Bump byteBuddyVersion from 1.10.15 to 1.10.16
2020-09-25 11:52:19 +02:00
dependabot-preview[bot] 2b3e3d1b47 Bump byteBuddyVersion from 1.10.15 to 1.10.16
Bumps `byteBuddyVersion` from 1.10.15 to 1.10.16.

Updates `byte-buddy` from 1.10.15 to 1.10.16
- [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.10.15...byte-buddy-1.10.16)

Updates `byte-buddy-android` from 1.10.15 to 1.10.16
- [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.10.15...byte-buddy-1.10.16)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-25 08:54:20 +00:00
Tobias Kaminsky 01d6ab9c91 Merge pull request #7006 from nextcloud/errorTextSelectable
Stacktrace is selectable in error activity
2020-09-25 10:52:43 +02:00
Tobias Kaminsky b5f75494c6 Merge pull request #7001 from nextcloud/mnemonic
enhance mnemonic on dark mode
2020-09-25 10:51:43 +02:00
Tobias Kaminsky 10de257720 Merge pull request #6997 from grote/4998-single-upload-notification
Re-use the existing foreground notification for FileUploader progress notifications
2020-09-25 07:42:15 +02:00
tobiasKaminsky a29739c6de enhance mnemonic on dark mode
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-25 07:41:33 +02:00
tobiasKaminsky 52472f500e Stacktrace is selectable in error activity
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-25 07:35:35 +02:00
Tobias Kaminsky f1e7a58767 Merge pull request #6999 from nextcloud/shimmerOnlyOnMedia
Do not show shimmer on folders
2020-09-25 07:24:49 +02:00
Nextcloud bot 86c54b1d1e [tx-robot] updated from transifex 2020-09-25 03:43:13 +00:00
Tobias Kaminsky 206115c8d7 daily dev 20200925
use new server for tests
detekt, ktlint
wip
Rename .java to .kt
wip
Update DocumentsProvider roots when enabling/disabling app lock feature
directly go back to app if SSO is used
wip
codacy
cleanup
wip
wip
wip
wip
wip
wip
wip
wip
wip
wip
Update translations
Update Nextcloud Android library
2020-09-25 03:38:57 +02:00
Tobias Kaminsky ac08ef2192 Merge remote-tracking branch 'origin/master' into dev 2020-09-25 03:30:48 +02:00
Torsten Grote 6dc30d88ba Re-use the existing foreground notification for FileUploader progress
notifications

Signed-off-by: Torsten Grote <[email protected]>
2020-09-24 09:35:12 -03:00
tobiasKaminsky 950c393d69 Do not show shimmer on non-media files
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-24 13:08:06 +02:00
Tobias Kaminsky c781447559 Merge pull request #6504 from nextcloud/sharingPart2
Sharing part2
2020-09-24 09:11:06 +02:00
Nextcloud bot 44f1a50cdb [tx-robot] updated from transifex 2020-09-24 03:40:06 +00:00
Tobias Kaminsky 1cadee318a Merge remote-tracking branch 'origin/master' into dev 2020-09-24 03:32:02 +02:00
tobiasKaminsky e70aedaae7 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-23 15:52:12 +02:00
tobiasKaminsky 7fdda6ace0 use new server for tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-23 11:22:45 +02:00
tobiasKaminsky 5c9f5a5c4f wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-23 10:08:38 +02:00
tobiasKaminsky ed90d07a17 detekt, ktlint
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-23 09:39:58 +02:00
Tobias Kaminsky 750e4de407 Merge pull request #6983 from nextcloud/sso
directly go back to app if SSO is used
2020-09-23 09:27:53 +02:00
tobiasKaminsky 07bb37ab7a wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-23 09:26:49 +02:00
tobiasKaminsky 92070d2934 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-23 09:26:04 +02:00
tobiasKaminsky 6a1292d690 Rename .java to .kt
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-23 09:26:04 +02:00
nextcloud-android-bot 58e16bcbbe Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-09-23 06:25:08 +00:00
drone b516eaf657 Merge commit 'c95615aeaa7090c5b4e6e07fdd6e790af31a5b00' 2020-09-23 06:14:57 +00:00
tobiasKaminsky c95615aeaa wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-23 08:14:35 +02:00
Tobias Kaminsky 63da455635 Merge pull request #6991 from nextcloud/6882-passcode-update-roots
Update DocumentsProvider roots when enabling/disabling app lock feature
2020-09-23 07:27:50 +02:00
Tobias Kaminsky 2782468a1b Merge pull request #6995 from nextcloud/autoApprove
Add auto-approve for dependabot
2020-09-23 07:23:47 +02:00
tobiasKaminsky c1a406f395 Add automerge for dependabot
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-23 07:22:08 +02:00
Tobias Kaminsky ccd261f51f daily dev 20200923
New media scanner: only use with valid path
2020-09-23 03:38:45 +02:00
Tobias Kaminsky b73c424755 Merge remote-tracking branch 'origin/master' into dev 2020-09-23 03:30:48 +02:00
Torsten Grote f7e711d98d Update DocumentsProvider roots when enabling/disabling app lock feature
Signed-off-by: Torsten Grote <[email protected]>
2020-09-22 16:50:10 -03:00
nextcloud-android-bot 98c963cb10 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-09-22 06:25:59 +00:00
tobiasKaminsky c8a49d99ba Merge remote-tracking branch 'remotes/origin/master' into sharingPart2
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-22 08:14:43 +02:00
Tobias Kaminsky faad38835e Merge pull request #6984 from nextcloud/newMediaScannerOnlyWithValidPath
New media scanner: only use with valid path
2020-09-22 07:40:38 +02:00
Tobias Kaminsky e28f2b81bf daily dev 20200922
Add debug webview when using versionDev built
fix #6818
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-09-22 03:41:20 +02:00
Tobias Kaminsky 1b21fedc18 Merge remote-tracking branch 'origin/master' into dev 2020-09-22 03:32:06 +02:00
tobiasKaminsky b01fdbab1b New media scanner: only use with valid path
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-21 13:22:10 +02:00
tobiasKaminsky 07e4ac28df directly go back to app if SSO is used
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-21 11:19:52 +02:00
dependabot-preview[bot] 4f38a46846 Merge pull request #6979 from nextcloud/dependabot/gradle/net.bytebuddy-byte-buddy-1.10.15 2020-09-21 08:18:27 +00:00
Tobias Kaminsky a197c43f96 Merge pull request #6978 from nextcloud/dependabot/gradle/markwonVersion-4.6.0
Bump markwonVersion from 4.5.1 to 4.6.0
2020-09-21 09:54:32 +02:00
dependabot-preview[bot] 28299428ef Bump byte-buddy from 1.10.14 to 1.10.15
Bumps [byte-buddy](https://github.com/raphw/byte-buddy) from 1.10.14 to 1.10.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.10.14...byte-buddy-1.10.15)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-21 09:53:21 +02:00
Tobias Kaminsky 803121fd5f Merge pull request #6980 from nextcloud/dependabot/gradle/net.bytebuddy-byte-buddy-android-1.10.15
Bump byte-buddy-android from 1.10.14 to 1.10.15
2020-09-21 09:48:55 +02:00
Andy Scherzinger c11e44257a Merge pull request #6981 from nextcloud/webviewDebugOnDev
Add debug webview when using versionDev built
2020-09-21 09:21:10 +02:00
Tobias Kaminsky 7415f7ea2c Merge pull request #6928 from nextcloud/doNotShowListHeaderOnResume
Do not show sortList group upon resume
2020-09-21 09:05:35 +02:00
tobiasKaminsky 9e2b101663 Add debug webview when using versionDev built
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-21 07:33:31 +02:00
Nextcloud bot 900e6f1c8d [tx-robot] updated from transifex 2020-09-21 03:33:27 +00:00
dependabot-preview[bot] 6cc3150809 Bump byte-buddy-android from 1.10.14 to 1.10.15
Bumps [byte-buddy-android](https://github.com/raphw/byte-buddy) from 1.10.14 to 1.10.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.10.14...byte-buddy-1.10.15)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-21 01:14:00 +00:00
dependabot-preview[bot] b83f836de2 Bump markwonVersion from 4.5.1 to 4.6.0
Bumps `markwonVersion` from 4.5.1 to 4.6.0.

Updates `core` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.1...v4.6.0)

Updates `ext-strikethrough` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.1...v4.6.0)

Updates `ext-tables` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.1...v4.6.0)

Updates `ext-tasklist` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.1...v4.6.0)

Updates `html` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.1...v4.6.0)

Updates `syntax-highlight` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.1...v4.6.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-21 01:13:19 +00:00
Nextcloud bot 8c07a92615 [tx-robot] updated from transifex 2020-09-20 03:33:04 +00:00
Nextcloud bot c5734bc1da [tx-robot] updated from transifex 2020-09-19 03:35:30 +00:00
Tobias Kaminsky 784e99f426 daily dev 20200919
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-09-19 03:41:14 +02:00
Tobias Kaminsky 540eb38bd0 Merge remote-tracking branch 'origin/master' into dev 2020-09-19 03:32:00 +02:00
Tobias Kaminsky 035b342b40 Merge pull request #6969 from nextcloud/dependabot/gradle/mockitoVersion-3.5.11
Bump mockitoVersion from 3.5.10 to 3.5.11
2020-09-18 10:33:59 +02:00
Nextcloud bot 8fe5ce3ce0 [tx-robot] updated from transifex 2020-09-18 03:32:21 +00:00
Tobias Kaminsky f6ec55b691 daily dev 20200918
Remove dual pane for rich workspaces
- removed test data - added tests
Update translations
Update 3rd-party dependencies
2020-09-18 03:38:48 +02:00
Tobias Kaminsky 2ea1b568d2 Merge remote-tracking branch 'origin/master' into dev 2020-09-18 03:30:50 +02:00
dependabot-preview[bot] 5665a0624f Bump mockitoVersion from 3.5.10 to 3.5.11
Bumps `mockitoVersion` from 3.5.10 to 3.5.11.

Updates `mockito-core` from 3.5.10 to 3.5.11
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.10...v3.5.11)

Updates `mockito-android` from 3.5.10 to 3.5.11
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.10...v3.5.11)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-18 01:15:06 +00:00
Tobias Kaminsky 5f8bd7d5f0 Merge pull request #6961 from nextcloud/comment
Fix not showing comments in file detail view
2020-09-17 16:31:05 +02:00
Tobias Kaminsky 1e09ae2787 Merge pull request #6947 from nextcloud/removeDualPane2
Remove dual pane for rich workspaces
2020-09-17 16:19:07 +02:00
dependabot-preview[bot] b2010621ca Merge pull request #6968 from nextcloud/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.0 2020-09-17 14:06:04 +00:00
Nextcloud bot 074af5c104 [tx-robot] updated from transifex 2020-09-17 04:15:06 +00:00
dependabot-preview[bot] de69054c0d Bump exifinterface from 1.2.0 to 1.3.0
Bumps exifinterface from 1.2.0 to 1.3.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-17 01:13:22 +00:00
tobiasKaminsky ea623aa01e Remove dual pane for rich workspaces
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-16 11:00:46 +02:00
tobiasKaminsky 4ca33a8438 - removed test data
- added tests

Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-16 10:36:06 +02:00
Nextcloud bot f50a204a79 [tx-robot] updated from transifex 2020-09-16 03:29:18 +00:00
Tobias Kaminsky 67c7cd6392 daily dev 20200916
new tests for avatars, shares in OCFileList
remove unneeded parentheses
open PreviewTextFragment within left fragment
detect tablet mode again
detect tablet mode again
Update translations
Update 3rd-party dependencies
2020-09-16 03:40:42 +02:00
Tobias Kaminsky d03f977047 Merge remote-tracking branch 'origin/master' into dev 2020-09-16 03:30:49 +02:00
Andy Scherzinger d94d4dfddc Merge pull request #6955 from nextcloud/changelog-master-stable-3.13.1
Add changelog for 3.13.1
2020-09-15 13:53:26 +02:00
Andy Scherzinger 19df0c9695 Merge pull request #6866 from nextcloud/2charUI
UI test: sharees in file list
2020-09-15 13:52:17 +02:00
tobiasKaminsky 8999a9e037 Add changelog for 3.13.1
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-15 12:56:52 +02:00
Tobias Kaminsky 51611d70a9 Merge pull request #6926 from nextcloud/removeDualPane
Open PreviewTextFragment within left fragment
2020-09-15 08:47:58 +02:00
tobiasKaminsky e0700c376c new tests for avatars, shares in OCFileList
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-15 08:47:31 +02:00
Tobias Kaminsky 8f5a8d4230 Merge pull request #6924 from nextcloud/activateTablet
detect tablet mode again
2020-09-15 08:11:17 +02:00
dependabot-preview[bot] eded414d50 Merge pull request #6951 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.39.0 2020-09-15 06:11:02 +00:00
Jens Mueller 69f3f804e2 fix ktlint
Signed-off-by: Jens Mueller <[email protected]>
2020-09-15 05:36:32 +02:00
dependabot-preview[bot] 5ef39f8af3 Bump ktlint from 0.38.1 to 0.39.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.38.1 to 0.39.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.38.1...0.39.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-15 01:12:59 +00:00
Jens Mueller a4b0e29d80 fix review comments
Signed-off-by: Jens Mueller <[email protected]>
2020-09-14 20:35:20 +02:00
tobiasKaminsky d09490eb89 fix #6818
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-14 15:10:18 +02:00
tobiasKaminsky 75cd055676 remove unneeded parentheses
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-14 14:59:30 +02:00
tobiasKaminsky 27277f1970 open PreviewTextFragment within left fragment
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-14 14:59:30 +02:00
tobiasKaminsky edaffa4c0f detect tablet mode again
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-14 14:59:30 +02:00
Tobias Kaminsky 4dead24acf Merge pull request #6933 from nextcloud/dependabot/gradle/daggerVersion-2.29.1
Bump daggerVersion from 2.28.3 to 2.29.1
2020-09-14 13:07:53 +02:00
dependabot-preview[bot] 95f896897a Bump daggerVersion from 2.28.3 to 2.29.1
Bumps `daggerVersion` from 2.28.3 to 2.29.1.

Updates `dagger` from 2.28.3 to 2.29.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.28.3...dagger-2.29.1)

Updates `dagger-android` from 2.28.3 to 2.29.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.28.3...dagger-2.29.1)

Updates `dagger-android-support` from 2.28.3 to 2.29.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.28.3...dagger-2.29.1)

Updates `dagger-compiler` from 2.28.3 to 2.29.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.28.3...dagger-2.29.1)

Updates `dagger-android-processor` from 2.28.3 to 2.29.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.28.3...dagger-2.29.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-14 08:00:17 +02:00
dependabot-preview[bot] 1cc44ce77c Merge pull request #6946 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.13.1 2020-09-14 05:55:11 +00:00
dependabot-preview[bot] 62543b5fdd Bump detekt-gradle-plugin from 1.12.0 to 1.13.1
Bumps detekt-gradle-plugin from 1.12.0 to 1.13.1.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-14 01:12:49 +00:00
Nextcloud bot 65145ca1c5 [tx-robot] updated from transifex 2020-09-13 03:20:33 +00:00
Tobias Kaminsky c02addcbf8 daily dev 20200913
Update translations
2020-09-13 03:39:00 +02:00
Tobias Kaminsky 3ebfe66ab9 Merge remote-tracking branch 'origin/master' into dev 2020-09-13 03:30:49 +02:00
Andy Scherzinger ca1b3649bd Merge pull request #6934 from nextcloud/codeStyle
added by new Android Studio
2020-09-12 21:46:24 +02:00
Nextcloud bot 9a1554f650 [tx-robot] updated from transifex 2020-09-12 03:21:07 +00:00
Tobias Kaminsky 9faab1483f daily dev 20200912
fix codacy comments
do not use internal FieldSetter
unify context access
Don't disable upload retries for uploads from DocumentsProvider
Update 3rd-party dependencies
2020-09-12 03:39:20 +02:00
Tobias Kaminsky d094c34812 Merge remote-tracking branch 'origin/master' into dev 2020-09-12 03:30:48 +02:00
Jens Mueller f9a82f9ed9 add integration test
Signed-off-by: Jens Mueller <[email protected]>
2020-09-12 00:09:51 +02:00
Jens Mueller c00e7b3dbb fix review comments
Signed-off-by: Jens Mueller <[email protected]>
2020-09-12 00:02:49 +02:00
tobiasKaminsky beed0fd720 added by new Android Studio
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-11 12:07:40 +02:00
tobiasKaminsky 495cf0aea0 let uploadReport always fail
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-11 10:49:12 +02:00
tobiasKaminsky f992dd336d detect tablet mode again
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-11 10:49:11 +02:00
Tobias Kaminsky fe3ef767cd Merge pull request #6918 from jmue/storageProviderCleanup
unify context access
2020-09-11 10:47:16 +02:00
dependabot-preview[bot] 32d7dc40f2 Merge pull request #6932 from nextcloud/dependabot/gradle/org.conscrypt-conscrypt-android-2.5.1 2020-09-11 08:45:07 +00:00
Tobias Kaminsky caabf7b5dc Merge pull request #6880 from grote/upload-retries
Don't disable upload retries for uploads from DocumentsProvider
2020-09-11 10:36:31 +02:00
Tobias Kaminsky 706b47f3f5 Merge pull request #6927 from nextcloud/fixMockito
do not use internal FieldSetter
2020-09-11 10:34:43 +02:00
Tobias Kaminsky 28d204dc4b daily dev 20200911
add tests for rich workspaces: as we will have light/dark screenshots for all, we do not have to do this here manually
use same version for all org.mockito releases
Fix npe on computing enough space with non-downloaded folder content
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-09-11 03:43:02 +02:00
Tobias Kaminsky f416802a1f Merge remote-tracking branch 'origin/master' into dev 2020-09-11 03:31:55 +02:00
dependabot-preview[bot] 45ca566f9a Bump conscrypt-android from 2.5.0 to 2.5.1
Bumps [conscrypt-android](https://github.com/google/conscrypt) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/google/conscrypt/releases)
- [Commits](https://github.com/google/conscrypt/compare/2.5.0...2.5.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-11 01:13:51 +00:00
Jens Mueller a5272c5700 fix codacy comments
Signed-off-by: Jens Mueller <[email protected]>
2020-09-10 21:36:27 +02:00
Jens Mueller cae0e77267 fix codacy comments
Signed-off-by: Jens Mueller <[email protected]>
2020-09-10 21:12:03 +02:00
tobiasKaminsky eb839c3968 do not use internal FieldSetter
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-10 12:46:51 +02:00
Tobias Kaminsky 7f729e630e Merge pull request #6892 from nextcloud/richWorkspacesTest
add tests for rich workspaces
2020-09-10 08:15:00 +02:00
dependabot-preview[bot] 81cf45ab0e Merge pull request #6921 from nextcloud/dependabot/gradle/commons-io-commons-io-2.8.0 2020-09-10 05:46:25 +00:00
dependabot-preview[bot] a0c015c554 Merge pull request #6923 from nextcloud/dependabot/gradle/kotlin_version-1.4.10 2020-09-10 05:46:11 +00:00
Nextcloud bot 23cc09bc0b [tx-robot] updated from transifex 2020-09-10 03:27:24 +00:00
Tobias Kaminsky 1b8c6b25cf Merge remote-tracking branch 'origin/master' into dev 2020-09-10 03:32:20 +02:00
dependabot-preview[bot] c3590a691f Bump kotlin_version from 1.4.0 to 1.4.10
Bumps `kotlin_version` from 1.4.0 to 1.4.10.

Updates `kotlin-gradle-plugin` from 1.4.0 to 1.4.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-stdlib-jdk7` from 1.4.0 to 1.4.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-10 01:17:35 +00:00
dependabot-preview[bot] c5efc24f20 Bump commons-io from 2.7 to 2.8.0
Bumps commons-io from 2.7 to 2.8.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-10 01:14:06 +00:00
Jens Mueller e15f8fbc6c DocumentsStorageProvider: prevent opening stale file contents
fix #6883

Signed-off-by: Jens Mueller <[email protected]>
2020-09-09 20:27:46 +02:00
Jens Mueller b329bc9149 unify context access
Signed-off-by: Jens Mueller <[email protected]>
2020-09-09 20:17:30 +02:00
Torsten Grote 6699c2437a Don't disable upload retries for uploads from DocumentsProvider
Signed-off-by: Torsten Grote <[email protected]>
2020-09-09 16:38:51 +02:00
tobiasKaminsky 6c7b96db53 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 16:37:20 +02:00
tobiasKaminsky be357db8f1 codacy
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:52 +02:00
tobiasKaminsky 0d942cca55 ktlint
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:52 +02:00
tobiasKaminsky 1a32e9b268 detekt
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:52 +02:00
tobiasKaminsky a6c898d2a5 cleanup
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:52 +02:00
tobiasKaminsky 50c7635869 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:49 +02:00
tobiasKaminsky bd3f22f65d wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky d6d0c5939c wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky 3262461100 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky 01f27dd08c wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky 4dfefee31a wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky 8b6171361a wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky 7b2ed741bd wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky 4f8de5731d wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky a470bd1f56 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky 996b0f0e67 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky 20d24d8a6d wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky 82d36f0cab wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 13:06:35 +02:00
tobiasKaminsky 90efc2cdfc add tests for rich workspaces:
as we will have light/dark screenshots for all, we do not have to do this here manually

Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 12:59:55 +02:00
Tobias Kaminsky 68efb59b5b Merge pull request #6768 from nextcloud/dependabot/gradle/org.mockito-mockito-android-3.5.3
Bump mockito-android from 3.4.6 to 3.5.10
2020-09-09 12:53:08 +02:00
tobiasKaminsky 8c77b98532 use same version for all org.mockito releases
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-09 12:14:42 +02:00
dependabot-preview[bot] 3f5b257777 Bump mockito-android from 3.4.6 to 3.5.3
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.4.6 to 3.5.3.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.6...v3.5.3)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-09 12:12:47 +02:00
Nextcloud bot 1c9506c86f [tx-robot] updated from transifex 2020-09-09 03:21:19 +00:00
Tobias Kaminsky 3633603d58 Merge remote-tracking branch 'origin/master' into dev 2020-09-09 03:32:17 +02:00
Tobias Kaminsky fdeca7c5a2 Merge pull request #6900 from nextcloud/fixCheckIfEnoughSpace
Fix npe on computing enough space with non-downloaded folder content
2020-09-08 14:38:15 +02:00
tobiasKaminsky 1547bc7b16 Fix npe on computing enough space with non-downloaded folder content
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-08 07:07:51 +02:00
Nextcloud bot bcb82833d7 [tx-robot] updated from transifex 2020-09-08 03:21:15 +00:00
Tobias Kaminsky ee937badc7 daily dev 20200908
DocumentsStorageProvider: open thumbnail directly fix #6884
Update translations
2020-09-08 03:39:00 +02:00
Tobias Kaminsky f58a9aa69d Merge remote-tracking branch 'origin/master' into dev 2020-09-08 03:30:47 +02:00
Tobias Kaminsky 51cf63b79b Merge pull request #6886 from nextcloud/docImage
DocumentsStorageProvider: open thumbnail directly
2020-09-07 10:02:35 +02:00
Nextcloud bot d031185f48 [tx-robot] updated from transifex 2020-09-05 03:30:42 +00:00
Tobias Kaminsky 0d69b20e48 daily dev 20200905
fix spotbugs
removed unneeded layout
add TestActivity to launch fragments in it fix wrong class cast exception message
Update translations
Update Nextcloud Android library
2020-09-05 03:40:57 +02:00
Tobias Kaminsky dcfc218544 Merge remote-tracking branch 'origin/master' into dev 2020-09-05 03:31:44 +02:00
tobiasKaminsky 5db18a24d3 DocumentsStorageProvider: open thumbnail directly
fix #6884

Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-04 08:15:34 +02:00
Tobias Kaminsky 77c0d4b054 Merge pull request #6533 from nextcloud/ocFileListTest
add TestActivity to launch fragments in it
2020-09-04 07:51:43 +02:00
tobiasKaminsky 1757fa9e53 do not use preview, but directly show placeholder
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-04 07:30:18 +02:00
Nextcloud bot a3dbd08ac2 [tx-robot] updated from transifex 2020-09-04 03:31:08 +00:00
Tobias Kaminsky 26c32a3082 daily dev 20200904
- use display name for avatar generation - use new server algorithm Ref: https://github.com/nextcloud/nextcloud-vue/blob/master/src/functions/usernameToColor/usernameToColor.js
fix inplace scrollview in sharing fragment
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-09-04 03:41:09 +02:00
Tobias Kaminsky 4e781b0778 Merge remote-tracking branch 'origin/master' into dev 2020-09-04 03:31:46 +02:00
tobiasKaminsky 3972ddf98c do not use preview, but directly show placeholder
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-03 15:53:04 +02:00
Tobias Kaminsky 8af7aefd81 Merge pull request #6871 from jmue/fix-share-scrollview
fix inplace scrollview in sharing fragment
2020-09-03 10:25:04 +02:00
Tobias Kaminsky 33ece4a557 Merge pull request #6817 from nextcloud/avatar
Avatar: use display name & adapted algorithm to server one
2020-09-03 10:21:57 +02:00
tobiasKaminsky 16d839c262 use longer sleep
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-03 10:08:10 +02:00
dependabot-preview[bot] 18b194e6bc Merge pull request #6885 from nextcloud/dependabot/gradle/com.google.android.material-material-1.2.1 2020-09-03 07:28:43 +00:00
Tobias Kaminsky 5007bc3d41 Merge pull request #6835 from nextcloud/dependabot/gradle/pl.droidsonroids.gif-android-gif-drawable-1.2.21
Bump android-gif-drawable from 1.2.20 to 1.2.21
2020-09-03 09:27:17 +02:00
tobiasKaminsky e07c2d169a - use display name for avatar generation
- use new server algorithm
Ref: https://github.com/nextcloud/nextcloud-vue/blob/master/src/functions/usernameToColor/usernameToColor.js

Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-03 09:19:03 +02:00
tobiasKaminsky e6be088897 add screenshot from CI
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-03 09:12:30 +02:00
Nextcloud bot 546907ac57 [tx-robot] updated from transifex 2020-09-03 03:30:46 +00:00
Tobias Kaminsky 5709a8d475 daily dev 20200903
use same version for all espresso releases
Fix not waiting for non-metered wifi
Fix crashing app when adding same account for second time when using qrCode
no sticky broadcast: - use local broadcast system instead - no need to remove sticky broadcasts then
Instrumentation tests for DocumentsProvider
Improve DocumentsProvider implementation
Reduce extend of FileActivity, use DrawerActivity instead
Start audio player using foreground service API on Android 26+
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-09-03 03:43:02 +02:00
Tobias Kaminsky a76908f1c0 Merge remote-tracking branch 'origin/master' into dev 2020-09-03 03:32:00 +02:00
dependabot-preview[bot] 2a6bc630d5 Bump material from 1.2.0 to 1.2.1
Bumps [material](https://github.com/material-components/material-components-android) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.2.0...1.2.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-03 01:12:14 +00:00
dependabot-preview[bot] 890527b790 Bump android-gif-drawable from 1.2.20 to 1.2.21
Bumps [android-gif-drawable](https://github.com/koral--/android-gif-drawable) from 1.2.20 to 1.2.21.
- [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.20...v1.2.21)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-02 13:54:50 +00:00
tobiasKaminsky 68adfc6c4d removed outdated search enums
longer pause

Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-02 15:20:47 +02:00
Tobias Kaminsky ebd39db114 Merge pull request #6822 from nextcloud/reduceFileActivity
Reduce extend of FileActivity, use DrawerActivity instead
2020-09-02 15:15:46 +02:00
Tobias Kaminsky 3b2eb969c4 Merge pull request #6870 from nextcloud/testUploadConditions
Fix not waiting for non-metered wifi
2020-09-02 13:38:29 +02:00
Tobias Kaminsky 1381f594f7 Merge pull request #6858 from nextcloud/fixAccountWarning
Fix crashing app when adding same account for second time when using qrCode
2020-09-02 13:37:36 +02:00
Tobias Kaminsky f807397bdd Merge pull request #6806 from nextcloud/grote/improve-documentsprovider-add-tests
Improve DocumentsProvider and add tests
2020-09-02 12:27:17 +02:00
Tobias Kaminsky 0b98f5ba5e Merge pull request #6808 from nextcloud/dependabot/gradle/androidx.test-rules-1.3.0
Bump rules from 1.2.0 to 1.3.0
2020-09-02 12:23:00 +02:00
dependabot-preview[bot] db9add76c9 Merge pull request #6813 from nextcloud/dependabot/gradle/androidx.test.espresso-espresso-contrib-3.3.0 2020-09-02 09:36:56 +00:00
tobiasKaminsky 9b3f4cd532 use same version for all espresso releases
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-02 11:18:41 +02:00
dependabot-preview[bot] 6f05c0f5e8 Bump espresso-contrib from 3.2.0 to 3.3.0
Bumps espresso-contrib from 3.2.0 to 3.3.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-02 11:18:41 +02:00
dependabot-preview[bot] 3c3622288e Bump rules from 1.2.0 to 1.3.0
Bumps rules from 1.2.0 to 1.3.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-02 09:10:08 +00:00
Tobias Kaminsky 90978dda4a Merge pull request #6875 from nextcloud/trashbinIT
fix Trashbin IT
2020-09-02 11:02:30 +02:00
tobiasKaminsky 430a94ff0e fix Trashbin IT
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-02 10:12:19 +02:00
Tobias Kaminsky 47d66d6356 Merge pull request #6748 from nextcloud/noStickyBroadcasts
no sticky broadcast
2020-09-02 09:33:42 +02:00
tobiasKaminsky 86d1a2820f fix spotbugs
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-02 09:31:32 +02:00
Tobias Kaminsky 75066c8673 Merge pull request #6798 from nextcloud/ezaquarii/fix-illegal-state-exception-when-stopping-audio-player
Start audio player using foreground service API on Android 26+
2020-09-02 09:04:28 +02:00
Nextcloud bot 0efd71d62c [tx-robot] updated from transifex 2020-09-02 05:32:13 +00:00
Jens Mueller 031e506ec0 fix inplace scrollview in sharing fragment
Signed-off-by: Jens Mueller <[email protected]>
2020-09-01 17:17:53 +02:00
dependabot-preview[bot] 4dcb298505 Merge pull request #6836 from nextcloud/dependabot/gradle/androidx.test.ext-junit-1.1.2 2020-09-01 11:55:20 +00:00
Tobias Kaminsky 7123359223 Merge pull request #6812 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.12.0
Bump detekt-gradle-plugin from 1.11.2 to 1.12.0
2020-09-01 13:13:46 +02:00
tobiasKaminsky 4e0c111395 removed unneeded layout
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-01 13:11:15 +02:00
dependabot-preview[bot] 1a5f0a8eaa Bump junit from 1.1.1 to 1.1.2
Bumps junit from 1.1.1 to 1.1.2.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-09-01 11:07:41 +00:00
Tobias Kaminsky a8359787bf Merge pull request #6838 from nextcloud/dependabot/gradle/androidx.test-runner-1.3.0
Bump runner from 1.2.0 to 1.3.0
2020-09-01 13:06:29 +02:00
tobiasKaminsky e6a516f10a Fix not waiting for non-metered wifi
Signed-off-by: tobiasKaminsky <[email protected]>
2020-09-01 12:35:20 +02:00
Tobias Kaminsky b42c692ea1 daily dev 20200901
do not use scale larger than max scale
compute space: take downloaded folder into account
Update 3rd-party dependencies
2020-09-01 03:40:31 +02:00
Tobias Kaminsky 97f72dc184 Merge remote-tracking branch 'origin/master' into dev 2020-09-01 03:30:45 +02:00
tobiasKaminsky a3cb17a829 add TestActivity to launch fragments in it
fix wrong class cast exception message

Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-31 17:05:57 +02:00
Tobias Kaminsky 3f0e68fe30 Merge pull request #6859 from nextcloud/fixMaxScale
Do not use scale larger than max scale
2020-08-31 13:22:17 +02:00
tobiasKaminsky fc2e84a5b0 do not use scale larger than max scale
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-31 11:07:11 +02:00
tobiasKaminsky ebf7097042 Fix crashing app when adding same account for second time when using qrCode
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-31 10:52:33 +02:00
dependabot-preview[bot] ca5ee406ec Bump detekt-gradle-plugin from 1.11.2 to 1.12.0
Bumps [detekt-gradle-plugin](https://github.com/detekt/detekt) from 1.11.2 to 1.12.0.
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/compare/v1.11.2...v1.12.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-31 07:03:29 +00:00
dependabot-preview[bot] 228116484c Merge pull request #6837 from nextcloud/dependabot/gradle/com.karumi-shot-4.4.0 2020-08-31 07:02:10 +00:00
Tobias Kaminsky 90a7e00c62 Merge pull request #6762 from nextcloud/enoughSpaceComputation
compute space: take downloaded folder into account
2020-08-31 08:25:44 +02:00
Tobias Kaminsky 96877679e5 Merge pull request #6810 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.0.1
Bump constraintlayout from 2.0.0 to 2.0.1
2020-08-31 08:23:50 +02:00
Tobias Kaminsky a3341da7e1 daily dev 20200829
Use two chars for avatars
2020-08-29 03:38:35 +02:00
Tobias Kaminsky 7190acce21 Merge remote-tracking branch 'origin/master' into dev 2020-08-29 03:30:45 +02:00
dependabot-preview[bot] 75dfa034fa Bump shot from 4.3.0 to 4.4.0
Bumps [shot](https://github.com/karumi/shot) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/karumi/shot/releases)
- [Changelog](https://github.com/Karumi/Shot/blob/master/release.gradle)
- [Commits](https://github.com/karumi/shot/compare/4.3.0...4.4.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-28 10:43:53 +00:00
tobiasKaminsky 15dcad229c no sticky broadcast:
- use local broadcast system instead
- no need to remove sticky broadcasts then

Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-28 12:34:20 +02:00
Tobias Kaminsky adff9511e9 Merge pull request #6819 from nextcloud/twoChars
Use two chars for avatars
2020-08-28 12:27:40 +02:00
dependabot-preview[bot] 0fe5faf68f Bump runner from 1.2.0 to 1.3.0
Bumps runner from 1.2.0 to 1.3.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-28 10:22:33 +00:00
Tobias Kaminsky ba8bd8f705 Merge pull request #6842 from nextcloud/updateTrashbin
update trashbin screenshot
2020-08-28 12:19:01 +02:00
tobiasKaminsky 91721c6ae2 update trashbin screenshot
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-28 12:12:14 +02:00
Tobias Kaminsky 5655fd6ca2 daily dev 20200828
Fix unresponsive preview player controls
Improve performance of DocumentsProvider#isChildDocument()
arbitrary data set: store "" instead of null
Update CONTRIBUTING.md
Update translations
Update 3rd-party dependencies
2020-08-28 03:38:41 +02:00
Tobias Kaminsky d014ade6c1 Merge remote-tracking branch 'origin/master' into dev 2020-08-28 03:30:46 +02:00
nextcloud-android-bot 9583fc87ec Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-08-27 15:52:23 +00:00
Torsten Grote 27f48b331f Instrumentation tests for DocumentsProvider
Note there's still some FIXMEs in the tests that hint at bugs discovered
by the tests.

Also this is very incomplete, but a good beginning for further tests.

Signed-off-by: Torsten Grote <[email protected]>
2020-08-27 11:18:14 -03:00
Torsten Grote 1fdea37c2b Improve DocumentsProvider implementation
The initial goal was to make all operations completely synchronous,
so failures can be detected by apps using our DocumentsProvider.

However, `#openDocument()` could not be made fully synchronous,
because we need to wait for the ParcelFileDescriptor we are returning to
close before we can upload a file.
Nextcloud works with locally cached files that only get synchronized to
remote storage.

Things I have tried:

* Use the Handler from the calling I/O Thread:
  not guaranteed to have a prepared Looper,
  so can't always create Handler on that Thread
* Extend ParcelFileDescriptor and override its close() methods:
  For some reason they don't get called when the stream gets closed
* notify the content URI when the upload is complete,
  so callers can wait for the notification:
  works, but is non-standard.
  Other DPs are not doing it,
  so it requires Nextcloud specific code on caller side
  and is still hacky:
  what happens if notification doesn't come? Timeout, but for how long?
* use other ways to get a ParcelFileDescriptor on the file:
  couldn't find anything that would interface with Nextcloud's
  current architecture

Signed-off-by: Torsten Grote <[email protected]>
2020-08-27 11:18:13 -03:00
tobiasKaminsky 6fcc95d117 compute space: take downloaded folder into account
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-27 15:38:27 +02:00
Tobias Kaminsky da2352974c Merge pull request #6774 from nextcloud/noNullOnDataSet
arbitrary data set: store "" instead of null
2020-08-27 15:31:40 +02:00
Tobias Kaminsky c149813e2b Merge pull request #6805 from nextcloud/ezaquarii/fix-unresponsive-audio-player-controls-with-linear-layout
Fix unresponsive preview player controls
2020-08-27 15:31:12 +02:00
Tobias Kaminsky 8a5d58a64e Merge pull request #6725 from grote/is-child-performance
Improve performance of DocumentsProvider#isChildDocument()
2020-08-27 15:29:15 +02:00
Tobias Kaminsky d50d8a4577 Merge pull request #6816 from nextcloud/dependabot/gradle/androidx.test-core-1.3.0
Bump core from 1.2.0 to 1.3.0
2020-08-27 15:12:41 +02:00
Tobias Kaminsky 2a4d466627 Merge pull request #6811 from nextcloud/dependabot/gradle/androidx.test-orchestrator-1.3.0
Bump orchestrator from 1.2.0 to 1.3.0
2020-08-27 15:07:58 +02:00
Tobias Kaminsky 41fcb90bf2 Merge pull request #6735 from nextcloud/semver-vs-marketing
Update CONTRIBUTING.md
2020-08-27 13:42:00 +02:00
Nextcloud bot 9183e3c9d1 [tx-robot] updated from transifex 2020-08-27 03:31:06 +00:00
Tobias Kaminsky b8dfb946d9 daily dev 20200827
Fix insert image file picker only opens once
fix code formatting according to new ktlint
Reset last sync date of files written via DocumentsProvider
do not preview html within our text view
return onError in onPostExecute (which runs on UI thread)
Fix #5755 - use correct name collision info by synced folder - syncedFolder.getNameCollisionPolicyInt -> returns int - syncedFolder.getNameColllisionPolicy -> returns enum - remove not needed backgroundJobManager from FilesSyncWork.kt
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-08-27 03:43:21 +02:00
Tobias Kaminsky 1198bf70f8 Merge remote-tracking branch 'origin/master' into dev 2020-08-27 03:32:00 +02:00
tobiasKaminsky 2a0f14231a Reduce extend of FileActivity, use DrawerActivity instead
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-26 15:14:21 +02:00
tobiasKaminsky 12f827e063 Use two chars for avatars
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-26 10:41:27 +02:00
Tobias Kaminsky 8fc2bcdab0 Merge pull request #6807 from merttumer/master
Fix insert image file picker only opens once
2020-08-26 09:10:30 +02:00
Nextcloud bot 6b80669000 [tx-robot] updated from transifex 2020-08-26 03:31:16 +00:00
Tobias Kaminsky 3d4c5341f6 Merge remote-tracking branch 'origin/master' into dev 2020-08-26 03:40:52 +02:00
dependabot-preview[bot] 2b7031d198 Bump core from 1.2.0 to 1.3.0
Bumps core from 1.2.0 to 1.3.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-26 01:15:52 +00:00
dependabot-preview[bot] d1a9bb27c9 Bump orchestrator from 1.2.0 to 1.3.0
Bumps orchestrator from 1.2.0 to 1.3.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-26 01:14:01 +00:00
dependabot-preview[bot] 2be2b9f393 Bump constraintlayout from 2.0.0 to 2.0.1
Bumps constraintlayout from 2.0.0 to 2.0.1.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-26 01:13:18 +00:00
merttumer e37635e602 Fix insert image file picker only opens once
When no image is selected from the intent we should set onReceiveValue to null and uploadMessage to null otherwise it does not open after closing it without selecting an image.
2020-08-25 22:51:12 +03:00
Chris Narkiewicz 6feedf881f Start audio player using foreground service API on Android 26+
On API 26+ (Oreo, 8.0) running background services is restricted
by power saving mechanisms, causing occasional IllegalStateException
when service intent is rejected by the OS.

Migrate to startForegroundService API to mitigate this problem.
Audio player service is foreground by design.

Fixes #6665

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-08-25 18:55:13 +01:00
Chris Narkiewicz 6e6f8303a8 Fix unresponsive preview player controls
Media controls view were covered by a ScrollView
stealing all touch events. By changing it to FrameLayout,
touch events can reach media controls.

Content embedded inside ScrollView should not
exceed screen boundaries. If so - content must
be changed.

This fixes immediate problem with unresponsive media controls
reported in #6796 and #6782.

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-08-25 18:24:58 +01:00
Torsten Grote e8870334d2 Improve performance of DocumentsProvider#isChildDocument()
The old solution iterates through all parents of the child until it
finds the given parent or the storage root.
This has been show to be very expensive in empirical tests.

Therefore, this commit introduces a more efficient solution that simply
compares the file paths of child and given parent.
It also ensures that parent and child belong to the same account.

Reviewers need to take extra care that this change does not introduce
security issues by claiming a document is a child of a parent when it is
really not.

Signed-off-by: Torsten Grote <[email protected]>
2020-08-25 09:32:48 -03:00
tobiasKaminsky a79a780129 arbitrary data set: store "" instead of null
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-25 08:43:32 +02:00
dependabot-preview[bot] 1fec59e719 Merge pull request #6801 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.38.1 2020-08-25 05:47:40 +00:00
Tobias Kaminsky d2b8c407a9 Merge remote-tracking branch 'origin/master' into dev 2020-08-25 03:32:16 +02:00
dependabot-preview[bot] 493f77f060 Bump ktlint from 0.38.0 to 0.38.1
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.38.0 to 0.38.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.38.0...0.38.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-25 01:13:12 +00:00
Tobias Kaminsky a90cf6a364 Merge pull request #6786 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.38.0
Bump ktlint from 0.37.2 to 0.38.0
2020-08-24 10:09:55 +02:00
Tobias Kaminsky ad7564b942 Merge pull request #6751 from grote/6726-documentsprovider-0-bytes
Reset last sync date of files written via DocumentsProvider
2020-08-24 09:51:10 +02:00
Tobias Kaminsky 3d083444fd Merge pull request #6772 from nextcloud/crashOnBrokenThumbnail
return onError in onPostExecute (which runs on UI thread)
2020-08-24 09:32:13 +02:00
Tobias Kaminsky e13b580611 Merge pull request #6775 from nextcloud/doNotPreviewHTML
do not preview html within our text view
2020-08-24 09:29:14 +02:00
Tobias Kaminsky 59e6722b11 Merge pull request #6771 from nextcloud/fixSyncConflictOnAutoUpload
Fix #5755
2020-08-24 09:02:14 +02:00
dependabot-preview[bot] 5c3fbf232c Merge pull request #6787 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.0.0 2020-08-24 06:38:35 +00:00
tobiasKaminsky f0f467d2a1 fix code formatting according to new ktlint
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-24 08:36:43 +02:00
Nextcloud bot d20a006ad6 [tx-robot] updated from transifex 2020-08-24 03:32:28 +00:00
dependabot-preview[bot] fd8c50fea7 Bump constraintlayout from 1.1.3 to 2.0.0
Bumps constraintlayout from 1.1.3 to 2.0.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-24 01:13:59 +00:00
dependabot-preview[bot] 3f0a4d0f44 Bump ktlint from 0.37.2 to 0.38.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.37.2 to 0.38.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.37.2...0.38.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-24 01:13:35 +00:00
Nextcloud bot 0b3826fcf8 [tx-robot] updated from transifex 2020-08-23 03:33:15 +00:00
Nextcloud bot ce041065c5 [tx-robot] updated from transifex 2020-08-22 03:30:14 +00:00
Torsten Grote 64ec705398 Reset last sync date of files written via DocumentsProvider
The sync operation detects changes by comparing timestamps in
milliseconds. However, the local modification time only has a precision
of seconds (even though given in milliseconds).
When the DocumentsProvider is used programmatically, operations such as
a create and a subsequent write can happen within the same second
causing the sync operation to not detect the change and therefore
failing to upload a file causing data loss.

This commit also moves the file close listener to the thread used by the
DocumentsStorageProvider as this is more appropriate than the UI thread.

Fixes #6726

Signed-off-by: Torsten Grote <[email protected]>
2020-08-21 09:15:19 -03:00
tobiasKaminsky 856916e658 do not preview html within our text view
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-21 11:44:57 +02:00
tobiasKaminsky c50798cd24 return onError in onPostExecute (which runs on UI thread)
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-21 10:46:11 +02:00
dependabot-preview[bot] de38e90acb Merge pull request #6764 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.11.2 2020-08-21 07:33:04 +00:00
Tobias Kaminsky 6c043bff77 Merge pull request #6763 from nextcloud/dependabot/gradle/org.conscrypt-conscrypt-android-2.5.0
Bump conscrypt-android from 2.4.0 to 2.5.0
2020-08-21 09:32:50 +02:00
tobiasKaminsky 23b05f3a56 Fix #5755
- use correct name collision info by synced folder
- syncedFolder.getNameCollisionPolicyInt -> returns int
- syncedFolder.getNameColllisionPolicy -> returns enum
- remove not needed backgroundJobManager from FilesSyncWork.kt

Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-21 09:21:32 +02:00
Nextcloud bot bf460b7451 [tx-robot] updated from transifex 2020-08-21 03:31:44 +00:00
Tobias Kaminsky 70afe99c87 daily dev 20200821
Fix crash on setting password
Update translations
2020-08-21 03:38:34 +02:00
Tobias Kaminsky adcaca0d6f Merge remote-tracking branch 'origin/master' into dev 2020-08-21 03:30:47 +02:00
dependabot-preview[bot] da01fff04f Bump detekt-gradle-plugin from 1.11.1 to 1.11.2
Bumps detekt-gradle-plugin from 1.11.1 to 1.11.2.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-20 15:04:06 +00:00
dependabot-preview[bot] 916c503a2f Bump conscrypt-android from 2.4.0 to 2.5.0
Bumps [conscrypt-android](https://github.com/google/conscrypt) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/google/conscrypt/releases)
- [Commits](https://github.com/google/conscrypt/compare/2.4.0...2.5.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-20 15:03:02 +00:00
Andy Scherzinger dcf7455e57 Merge pull request #6760 from nextcloud/passwortToShare
Fix crash on setting password
2020-08-20 14:00:11 +02:00
tobiasKaminsky 886d42dc0f Fix crash on setting password
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-20 12:30:18 +02:00
Tobias Kaminsky 800da337e9 Merge pull request #6744 from nextcloud/mnemonicTest
fix mnemonic test
2020-08-20 10:39:10 +02:00
Nextcloud bot b75b151906 [tx-robot] updated from transifex 2020-08-20 03:33:56 +00:00
Tobias Kaminsky 9de188e8b3 daily dev 20200820
Bump to 3.14.0 Alpha
Do not show big spinner when initial loading a folder that is known to be not empty, or on PhotoFragment
E2E: support old iv delimiter, read only
Ensure that mNotificationManager is not null when updating transfer progress
make sure sorting is hidden too for details view remove redundant calls
hide FAB on sharing view
add tests - for error: UI test - for mnemonic: we cannot capture dialog, so it is only an integration test
Fixes #6675 correct call order when tinting the dialog button
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-08-20 03:42:30 +02:00
Tobias Kaminsky 274ad73f89 Merge remote-tracking branch 'origin/master' into dev 2020-08-20 03:31:45 +02:00
Tobias Kaminsky 4b9546335e Merge pull request #6747 from nextcloud/bumpTo3.14Alpha
Bump to 3.14.0 Alpha
2020-08-19 10:48:36 +02:00
tobiasKaminsky 43d2edec47 also fix FDA open test
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-19 10:22:06 +02:00
Andy Scherzinger 457a5f1e90 Bump to 3.14.0 Alpha
Signed-off-by: Andy Scherzinger <[email protected]>
2020-08-19 09:48:20 +02:00
Andy Scherzinger 9a72f408c4 Merge pull request #6743 from nextcloud/changelog-master-stable-3.13.0
Add changelog for 3.13.0
2020-08-19 09:39:55 +02:00
tobiasKaminsky 0ecc933d5f fix mnemonic test
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-19 09:19:26 +02:00
Tobias Kaminsky 8e33dd89fc Merge pull request #6740 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.11.1
Bump detekt-gradle-plugin from 1.11.0 to 1.11.1
2020-08-19 09:19:00 +02:00
Nextcloud bot 47898e5d0d [tx-robot] updated from transifex 2020-08-19 03:34:36 +00:00
dependabot-preview[bot] 51ebac6aa4 Bump detekt-gradle-plugin from 1.11.0 to 1.11.1
Bumps detekt-gradle-plugin from 1.11.0 to 1.11.1.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-19 01:13:25 +00:00
Jos Poortvliet b5ff570d3c Update CONTRIBUTING.md 2020-08-18 15:07:42 +02:00
tobiasKaminsky 039c4ee350 Add changelog for 3.13.0
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-18 10:37:42 +02:00
Tobias Kaminsky 5a1e57dbd1 Merge pull request #6724 from nextcloud/hideBigLoadingSpinner
Do not show big spinner when initial loading a folder that is known to be not empty
2020-08-18 09:38:39 +02:00
Tobias Kaminsky 5640c8c522 Merge pull request #6715 from nextcloud/fabOnSharing
hide FAB on sharing view
2020-08-18 08:45:05 +02:00
tobiasKaminsky a6e0d2b8bf Do not show big spinner when initial loading a folder that is known to be not empty, or on PhotoFragment
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-18 08:40:15 +02:00
Tobias Kaminsky cd3cd7962a Merge pull request #6701 from nextcloud/fix/dialogButtonTinting
Correct call order when tinting the dialog button
2020-08-18 08:30:27 +02:00
Tobias Kaminsky 872901fca4 Merge pull request #6714 from nextcloud/e2e_oldsupport
E2E: support old iv delimiter, read only
2020-08-18 07:54:28 +02:00
Nextcloud bot 0fe4115a67 [tx-robot] updated from transifex 2020-08-18 03:36:21 +00:00
Tobias Kaminsky 0f218832f5 Merge remote-tracking branch 'origin/master' into dev 2020-08-18 03:40:57 +02:00
Tobias Kaminsky ee075f285c Merge pull request #6721 from grote/6719-npe-onTransferProgress
Prevent NPE: Ensure that mNotificationManager is not null
2020-08-17 20:32:27 +02:00
tobiasKaminsky c88cd18774 E2E: support old iv delimiter, read only
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-17 20:28:45 +02:00
Torsten Grote 8fbfc9028a Ensure that mNotificationManager is not null when updating transfer progress
This might happen, if the FileUploader service is being destroyed,
so mNotificationManager is set to null.

The applied fix has been used in a couple of other places in this file
as well, so it is at least consistent.

Signed-off-by: Torsten Grote <[email protected]>
2020-08-17 11:03:39 -03:00
Andy Scherzinger 2bead6a747 make sure sorting is hidden too for details view
remove redundant calls

Signed-off-by: Andy Scherzinger <[email protected]>
2020-08-17 13:58:47 +02:00
tobiasKaminsky 2a48130c55 hide FAB on sharing view
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-17 11:22:29 +02:00
Nextcloud bot f71827c014 [tx-robot] updated from transifex 2020-08-17 03:29:39 +00:00
Tobias Kaminsky 96f35bf2d4 daily dev 20200817
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-08-17 03:42:44 +02:00
Tobias Kaminsky 497fadd853 Merge remote-tracking branch 'origin/master' into dev 2020-08-17 03:31:54 +02:00
tobiasKaminsky be04dec3ea add tests
- for error: UI test
- for mnemonic: we cannot capture dialog, so it is only an integration test

Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-17 03:01:30 +02:00
Tobias Kaminsky 9cbbc556e0 Merge pull request #6703 from nextcloud/dependabot/gradle/kotlin_version-1.4.0
Bump kotlin_version from 1.3.72 to 1.4.0
2020-08-17 02:20:17 +02:00
Nextcloud bot e26b403e42 [tx-robot] updated from transifex 2020-08-16 03:29:45 +00:00
dependabot-preview[bot] 4427aa8204 Merge pull request #6702 from nextcloud/dependabot/gradle/markwonVersion-4.5.1 2020-08-14 16:03:56 +00:00
dependabot-preview[bot] 2bde2df257 Bump kotlin_version from 1.3.72 to 1.4.0
Bumps `kotlin_version` from 1.3.72 to 1.4.0.

Updates `kotlin-gradle-plugin` from 1.3.72 to 1.4.0

Updates `kotlin-stdlib-jdk7` from 1.3.72 to 1.4.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-14 14:22:23 +00:00
dependabot-preview[bot] 622f1ae1d6 Bump markwonVersion from 4.5.0 to 4.5.1
Bumps `markwonVersion` from 4.5.0 to 4.5.1.

Updates `core` from 4.5.0 to 4.5.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.0...v4.5.1)

Updates `ext-strikethrough` from 4.5.0 to 4.5.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.0...v4.5.1)

Updates `ext-tables` from 4.5.0 to 4.5.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.0...v4.5.1)

Updates `ext-tasklist` from 4.5.0 to 4.5.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.0...v4.5.1)

Updates `html` from 4.5.0 to 4.5.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.0...v4.5.1)

Updates `syntax-highlight` from 4.5.0 to 4.5.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.5.0...v4.5.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-14 14:19:40 +00:00
Andy Scherzinger f2f4265a42 Fixes #6675 correct call order when tinting the dialog button
Signed-off-by: Andy Scherzinger <[email protected]>
2020-08-14 10:09:21 +02:00
Andy Scherzinger c65d50a8ee Merge pull request #6698 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.11.0
Bump detekt-gradle-plugin from 1.10.0 to 1.11.0
2020-08-14 09:17:38 +02:00
Nextcloud bot d85063ef67 [tx-robot] updated from transifex 2020-08-14 03:46:02 +00:00
dependabot-preview[bot] d3fb6a2ab6 Bump detekt-gradle-plugin from 1.10.0 to 1.11.0
Bumps detekt-gradle-plugin from 1.10.0 to 1.11.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-14 01:14:09 +00:00
dependabot-preview[bot] 18b9b0f147 Merge pull request #6695 from nextcloud/dependabot/gradle/butterknifeVersion-10.2.3 2020-08-13 15:05:48 +00:00
Nextcloud bot f1dfd44f07 [tx-robot] updated from transifex 2020-08-13 03:32:10 +00:00
dependabot-preview[bot] 3d934ed9fa Bump butterknifeVersion from 10.2.2 to 10.2.3
Bumps `butterknifeVersion` from 10.2.2 to 10.2.3.

Updates `butterknife` from 10.2.2 to 10.2.3
- [Release notes](https://github.com/JakeWharton/butterknife/releases)
- [Changelog](https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JakeWharton/butterknife/compare/10.2.2...10.2.3)

Updates `butterknife-compiler` from 10.2.2 to 10.2.3
- [Release notes](https://github.com/JakeWharton/butterknife/releases)
- [Changelog](https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JakeWharton/butterknife/compare/10.2.2...10.2.3)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-13 01:13:36 +00:00
Nextcloud bot f35ef1b320 [tx-robot] updated from transifex 2020-08-12 03:31:51 +00:00
Nextcloud bot 7daf2bfa5d [tx-robot] updated from transifex 2020-08-11 03:31:28 +00:00
Tobias Kaminsky 1917244531 daily dev 20200809 2020-08-09 03:38:38 +02:00
Tobias Kaminsky 258749e686 daily dev 20200808
add sort option to UploadFilesActivity and FolderPickerActivity added UI tests
removed FAB from text file preview and use FDA one
fix npe on setting expiration date on public share
make + icon grey600 for proper icon coloring dark/light
Update translations
Update Nextcloud Android library
2020-08-08 03:41:20 +02:00
Tobias Kaminsky 6392a647c8 Merge remote-tracking branch 'origin/master' into dev 2020-08-08 03:32:06 +02:00
Tobias Kaminsky 7e08278246 Merge pull request #6667 from nextcloud/sortUpload
add sort option to UploadFilesActivity and FolderPickerActivity
2020-08-07 19:09:00 +02:00
tobiasKaminsky bee0c7b4a1 add sort option to UploadFilesActivity and FolderPickerActivity
added UI tests

Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-07 17:51:22 +02:00
Andy Scherzinger babbd23bf2 Merge pull request #6669 from nextcloud/duplicatedFAB
removed FAB from text file preview and use FDA one
2020-08-07 14:17:34 +02:00
tobiasKaminsky 92301735af removed FAB from text file preview and use FDA one
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-07 13:56:08 +02:00
Tobias Kaminsky 5d21b3668d Merge pull request #6651 from nextcloud/fixLinkIcon
make + icon grey600 for proper icon coloring dark/light
2020-08-07 11:24:46 +02:00
Andy Scherzinger cd2c2d858b Merge pull request #6662 from nextcloud/npeExpirationDate
fix npe on setting expiration date on public share
2020-08-07 09:39:22 +02:00
tobiasKaminsky 898708cfc8 fix npe on setting expiration date on public share
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-07 09:04:47 +02:00
Nextcloud bot ff0dd4ace4 [tx-robot] updated from transifex 2020-08-07 03:33:43 +00:00
Tobias Kaminsky 75b22aae85 daily dev 20200807
Rename Downloader to TransferManager
Update translations
Update 3rd-party dependencies
2020-08-07 03:38:44 +02:00
Tobias Kaminsky 521935d361 Merge remote-tracking branch 'origin/master' into dev 2020-08-07 03:30:48 +02:00
Andy Scherzinger 90b368b25b Merge pull request #6656 from nextcloud/dependabot/gradle/markwonVersion-4.5.0
Bump markwonVersion from 4.4.0 to 4.5.0
2020-08-06 17:34:29 +02:00
Tobias Kaminsky 5b22cbe038 Merge pull request #6655 from nextcloud/ezaquarii/rename-downloader-to-transfer-manager
Rename Downloader to TransferManager
2020-08-06 14:01:49 +02:00
Nextcloud bot 2d1dc5775d [tx-robot] updated from transifex 2020-08-06 03:32:34 +00:00
Tobias Kaminsky 7905478ba3 daily dev 20200806
object.getId() can also be a string if RichObjects refers to an user
Update 3rd-party dependencies
2020-08-06 03:38:58 +02:00
Tobias Kaminsky 974131ebb6 Merge remote-tracking branch 'origin/master' into dev 2020-08-06 03:30:49 +02:00
dependabot-preview[bot] 7cb9cc3bbb Bump markwonVersion from 4.4.0 to 4.5.0
Bumps `markwonVersion` from 4.4.0 to 4.5.0.

Updates `core` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.4.0...v4.5.0)

Updates `ext-strikethrough` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.4.0...v4.5.0)

Updates `ext-tables` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.4.0...v4.5.0)

Updates `ext-tasklist` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.4.0...v4.5.0)

Updates `html` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.4.0...v4.5.0)

Updates `syntax-highlight` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.4.0...v4.5.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-06 01:12:25 +00:00
Chris Narkiewicz b0053d1481 Rename Downloader to TransferManager
As the Downloader architecture can support any type of
asynchronous operations so we can easily support file uploads.

Rename Downloader to TransferManager to reflect this.
This is just a rename, without upload implementation.
Upload feature shall follow in separate PRs.

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-08-06 00:05:52 +01:00
Andy Scherzinger 9db4585224 make + icon grey600 for proper icon coloring dark/light
Fixes #6647

Signed-off-by: Andy Scherzinger <[email protected]>
2020-08-05 12:43:26 +02:00
Andy Scherzinger 8d82203c15 Merge pull request #6646 from nextcloud/activityCompare
object.getId() can also be a string if RichObjects refers to an user
2020-08-05 12:23:04 +02:00
dependabot-preview[bot] 81d75ad5dd Merge pull request #6645 from nextcloud/dependabot/gradle/com.google.android.material-material-1.2.0 2020-08-05 08:47:41 +00:00
tobiasKaminsky 5ad6cafb92 change test to directly launch SyncedFoldersActivity
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-05 10:22:40 +02:00
tobiasKaminsky c8863c61b0 object.getId() can also be a string if RichObjects refers to an user
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-05 08:30:33 +02:00
dependabot-preview[bot] 251af8f0ef Bump material from 1.1.0 to 1.2.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.1.0...1.2.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-05 07:18:48 +02:00
Tobias Kaminsky 3fd65e7568 daily dev 20200805
update build.gradle
Sync of encrypted folders, in sync with RefreshFolderOperation.synchronizeData
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-08-05 07:12:59 +02:00
Tobias Kaminsky 2f72bd7d2a Merge remote-tracking branch 'origin/master' into dev 2020-08-05 06:57:40 +02:00
tobiasKaminsky f4b35f5bf6 update build.gradle
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-05 06:54:27 +02:00
Nextcloud bot 433e1c0c16 [tx-robot] updated from transifex 2020-08-05 03:32:52 +00:00
dependabot-preview[bot] ad4e3832bc Merge pull request #6635 from nextcloud/dependabot/gradle/com.jakewharton-butterknife-10.2.2 2020-08-04 16:18:36 +00:00
dependabot-preview[bot] a361df0b4c Bump butterknife from 10.2.1 to 10.2.2
Bumps [butterknife](https://github.com/JakeWharton/butterknife) from 10.2.1 to 10.2.2.
- [Release notes](https://github.com/JakeWharton/butterknife/releases)
- [Changelog](https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JakeWharton/butterknife/compare/10.2.1...10.2.2)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-04 17:45:50 +02:00
Tobias Kaminsky 54adf9823e Merge pull request #6634 from nextcloud/dependabot/gradle/com.jakewharton-butterknife-compiler-10.2.2
Bump butterknife-compiler from 10.2.1 to 10.2.2
2020-08-04 16:08:05 +02:00
Nextcloud bot 66d9465e11 [tx-robot] updated from transifex 2020-08-04 12:44:52 +00:00
dependabot-preview[bot] 3d73a2336f Merge pull request #6633 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.5.0 2020-08-04 11:44:09 +00:00
Andy Scherzinger a255c27f4f Merge pull request #6627 from nextcloud/fixE2Esync
Sync of encrypted folders, in sync with RefreshFolderOperation.synchronizeData
2020-08-04 13:09:35 +02:00
Tobias Kaminsky 206f62a24b daily dev 20200804
Rename Download into Transfer
TrashbinActivity: - moved to ViewBindings - add UI test for error/view
OCFileListFragment can be used witout FDA, and this crashed
change order of fastlane lanes
Update Nextcloud Android library
Update 3rd-party dependencies
2020-08-04 03:40:54 +02:00
Tobias Kaminsky 562365e8ea Merge remote-tracking branch 'origin/master' into dev 2020-08-04 03:31:47 +02:00
dependabot-preview[bot] d1131702f6 Bump butterknife-compiler from 10.2.1 to 10.2.2
Bumps [butterknife-compiler](https://github.com/JakeWharton/butterknife) from 10.2.1 to 10.2.2.
- [Release notes](https://github.com/JakeWharton/butterknife/releases)
- [Changelog](https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JakeWharton/butterknife/compare/10.2.1...10.2.2)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-04 01:13:39 +00:00
dependabot-preview[bot] 60856c6146 Bump spotbugs-gradle-plugin from 4.4.5 to 4.5.0
Bumps spotbugs-gradle-plugin from 4.4.5 to 4.5.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-04 01:13:05 +00:00
Chris Narkiewicz 67e6c3402c Rename Download into Transfer
Extending Download into more generic Transfer that
can support both downloads and uploads.

Upload functionality is not provided in this PR - it's
only a rename.

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-08-03 23:23:16 +01:00
Andy Scherzinger d745a2cbbf Merge pull request #6556 from nextcloud/trashbinLoadingTests
TrashbinActivity: viewbindings tests
2020-08-03 20:49:50 +02:00
Andy Scherzinger 111daf1162 Merge pull request #6623 from nextcloud/fixOClistOnAutoUpload
OCFileListFragment can be used witout FDA, and this crashed
2020-08-03 20:33:28 +02:00
Andy Scherzinger c9d3641136 Update screenshot due to new toolbar height
Signed-off-by: Andy Scherzinger <[email protected]>
2020-08-03 20:27:24 +02:00
tobiasKaminsky f7ab5d90dc TrashbinActivity:
- moved to ViewBindings
- add UI test for error/view

Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-03 20:05:31 +02:00
Andy Scherzinger 607ed3115e Merge pull request #6595 from nextcloud/hidCursor
Hide cursor to make UI test more stable
2020-08-03 19:16:14 +02:00
tobiasKaminsky 93104917a7 Sync of encrypted folders, in sync with RefreshFolderOperation.synchronizeData
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-03 12:08:36 +02:00
Andy Scherzinger a2b95c5766 Merge pull request #6622 from nextcloud/dependabot/gradle/net.bytebuddy-byte-buddy-android-1.10.14
Bump byte-buddy-android from 1.10.13 to 1.10.14
2020-08-03 09:18:00 +02:00
dependabot-preview[bot] a0179aa6b6 Bump byte-buddy-android from 1.10.13 to 1.10.14
Bumps [byte-buddy-android](https://github.com/raphw/byte-buddy) from 1.10.13 to 1.10.14.
- [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.10.13...byte-buddy-1.10.14)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-03 06:40:58 +00:00
Tobias Kaminsky a28fafaaab Merge pull request #6621 from nextcloud/dependabot/gradle/net.bytebuddy-byte-buddy-1.10.14
Bump byte-buddy from 1.10.13 to 1.10.14
2020-08-03 08:39:50 +02:00
Tobias Kaminsky d521a9f36c Merge pull request #6599 from nextcloud/fastlaneOrder
change order of fastlane lanes
2020-08-03 08:39:25 +02:00
tobiasKaminsky 3c5549adac OCFileListFragment can be used witout FDA, and this crashed
Signed-off-by: tobiasKaminsky <[email protected]>
2020-08-03 08:31:45 +02:00
dependabot-preview[bot] fcf81e5d89 Bump byte-buddy from 1.10.13 to 1.10.14
Bumps [byte-buddy](https://github.com/raphw/byte-buddy) from 1.10.13 to 1.10.14.
- [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.10.13...byte-buddy-1.10.14)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-08-03 01:12:21 +00:00
Tobias Kaminsky 208a8c949d daily dev 20200801
l10n: Add a period in the text string
updated tests Upload: - obey LOCAL_BEHAVIOUR_COPY - correct storage path for encrypted files in subdirectories
Fix crash when showing default storage friendly name
parseColor("") throws IndexOutOfBounds, so catch all Exceptions is better
open vcf works again
only remove nextcloud accounts (no permission for others) contact backup job: better rename than ask user, as we want to have backup not delayed add test for contacts backup/import/vcard
wrong storage location
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-08-01 03:42:36 +02:00
Tobias Kaminsky 4e9b7bf56e Merge remote-tracking branch 'origin/master' into dev 2020-08-01 03:32:05 +02:00
Andy Scherzinger c7984a706c Merge pull request #6600 from nextcloud/Valdnet-patch-1
l10n: Add a period in the text string
2020-07-31 16:14:37 +02:00
Valdnet 68cae46c96 l10n: Add a period in the text string 2020-07-31 15:46:51 +02:00
tobiasKaminsky 1d3c2e98a9 change order of fastlane lanes
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-31 12:47:00 +02:00
Tobias Kaminsky cc750123a7 Merge pull request #6559 from nextcloud/downloadTest
Download / upload tests
2020-07-31 11:38:52 +02:00
tobiasKaminsky e9733ad744 - fix dummy storage location
- dummy files are re-created if needed

Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-31 10:55:21 +02:00
tobiasKaminsky 7f339f9fe0 updated tests
Upload:
- obey LOCAL_BEHAVIOUR_COPY
- correct storage path for encrypted files in subdirectories

Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-31 10:55:21 +02:00
tobiasKaminsky 78128ff5dc Hide cursor to make UI test more stable
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-31 08:32:58 +02:00
Tobias Kaminsky ba0005d930 Merge pull request #6592 from nextcloud/fixDetekt
Fix detekt: Random Date is magic number in test
2020-07-31 08:29:52 +02:00
Tobias Kaminsky 6469fdb658 Merge pull request #6585 from nextcloud/nullColor
parseColor("") throws IndexOutOfBounds, so catch all Exceptions is better
2020-07-31 08:13:28 +02:00
tobiasKaminsky 0d381c8233 Random Date is magic number in test
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-31 08:07:15 +02:00
tobiasKaminsky 07aff36578 added test cases
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-31 07:45:04 +02:00
dependabot-preview[bot] 9f4d90f48b Merge pull request #6591 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.4.5 2020-07-31 05:17:47 +00:00
dependabot-preview[bot] d60a2a6a3f Bump spotbugs-gradle-plugin from 4.4.4 to 4.4.5
Bumps spotbugs-gradle-plugin from 4.4.4 to 4.4.5.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-31 01:13:56 +00:00
Andy Scherzinger 5c5cdbb0a2 Merge pull request #6578 from nextcloud/dependabot/gradle/org.mockito-mockito-core-3.4.6
Bump mockito-core from 3.4.4 to 3.4.6
2020-07-30 17:14:16 +02:00
Andy Scherzinger 6f38bf7a8b Merge pull request #6586 from nextcloud/friendlyName
Fix crash when showing default storage friendly name
2020-07-30 17:11:38 +02:00
Andy Scherzinger 5f426223b2 Merge pull request #6580 from nextcloud/bige2eTest
E2E test with random files that are big enought to use chunked uploads
2020-07-30 17:08:05 +02:00
dependabot-preview[bot] 111713f52e Bump mockito-core from 3.4.4 to 3.4.6
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.4.4 to 3.4.6.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.4...v3.4.6)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-30 14:28:59 +00:00
Tobias Kaminsky 24c84de9cd Merge pull request #6577 from nextcloud/dependabot/gradle/org.mockito-mockito-android-3.4.6
Bump mockito-android from 3.4.4 to 3.4.6
2020-07-30 16:27:46 +02:00
Tobias Kaminsky 02686e462a Merge pull request #6587 from nextcloud/updateContactsScreenshots
Update screenshots, wrong emulator was used
2020-07-30 16:10:23 +02:00
tobiasKaminsky 69476bba29 Update screenshots, wrong emulator was used
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-30 15:57:23 +02:00
tobiasKaminsky 60b1f3702e Fix crash when showing default storage friendly name
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-30 15:35:57 +02:00
tobiasKaminsky 528cd23cc0 parseColor("") throws IndexOutOfBounds, so catch all Exceptions is better
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-30 15:16:26 +02:00
Tobias Kaminsky e35dfbffc9 Merge pull request #6579 from nextcloud/openVCF
open vcf works again
2020-07-30 15:02:58 +02:00
Tobias Kaminsky 98bc395799 Merge pull request #6551 from nextcloud/dependabot/gradle/com.googlecode.ez-vcard-ez-vcard-0.11.0
Bump ez-vcard from 0.10.6 to 0.11.0
2020-07-30 14:57:34 +02:00
Tobias Kaminsky afc54de8f1 Merge pull request #6557 from nextcloud/onDevice
wrong storage location
2020-07-30 14:54:02 +02:00
tobiasKaminsky 2c96094f21 E2E test with random files that are big enought to use chunked uploads
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-30 13:41:24 +02:00
tobiasKaminsky 75c8359781 open vcf works again
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-30 09:17:02 +02:00
Andy Scherzinger 372e478bfd Merge pull request #6552 from nextcloud/contactsBackupTest
Contacts backup tests
2020-07-30 07:15:34 +02:00
Nextcloud bot be3c0db309 [tx-robot] updated from transifex 2020-07-30 03:32:43 +00:00
Tobias Kaminsky e1b8044aa0 daily dev 20200730
Remove all uploads after test for sure
hide sort/list group on previews
optimize sorting/layout bar spacing for home/search bar
optimize toolbar layout
properly reset header for preview fragments
proper coloring and sizing for toolbar_standard.xml(s)
lint: Use ResourcesCompat.getDrawable()
lint: remove unused resources
improve notification icon dark theming
proper margin calculations
remove padding
Write some UI tests for NotificationsActivity
make button text non-all-caps for consistent styling
When going into subfolder or show details: show header even if it was scrolled away
if photo search returns less photos than limit -> hide spinner
Trashbin: show empty message only if empty
Activity list: - show correct placeholder - click on preview open file
add ROOM handling for sharees
align grid/sort buttons
add WebAuthn support using hwsecurity-fido2:4.1.0
Update translations
Update Nextcloud Android library
2020-07-30 03:40:39 +02:00
Tobias Kaminsky a92d1ee5ff Merge remote-tracking branch 'origin/master' into dev 2020-07-30 03:31:54 +02:00
dependabot-preview[bot] b8fb7358b3 Bump mockito-android from 3.4.4 to 3.4.6
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.4.4 to 3.4.6.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.4...v3.4.6)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-30 01:13:21 +00:00
Andy Scherzinger 663c0beda5 Merge pull request #6395 from cotechde/webauthn
add passwordless WebAuthn logins
2020-07-29 21:25:48 +02:00
Andy Scherzinger a930d9b6e1 reformat code
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-29 14:42:41 +02:00
tobiasKaminsky 8ef4e04312 only remove nextcloud accounts (no permission for others)
contact backup job: better rename than ask user, as we want to have backup not delayed
add test for contacts backup/import/vcard

Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-29 14:42:41 +02:00
Tobias Kaminsky eedb5008bb Merge pull request #6573 from nextcloud/uploadStorageTest
Remove all uploads after test for sure
2020-07-29 14:42:07 +02:00
tobiasKaminsky 29a0c138c7 Remove all uploads after test for sure
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-29 13:00:50 +02:00
Tobias Kaminsky 0976f7abe2 Merge pull request #6566 from nextcloud/uiTestsColor
Test different primary colors / dark mode
2020-07-29 11:53:25 +02:00
Tobias Kaminsky f7d886037a Merge pull request #6569 from nextcloud/fixToolbar
Fix toolbar
2020-07-29 11:28:18 +02:00
tobiasKaminsky c9c0ae9e46 Allow to run different colors on dark/light mode
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-29 11:20:25 +02:00
Andy Scherzinger e02b9adf8a hide sort/list group on previews
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-29 08:20:53 +02:00
Andy Scherzinger fdb4489e38 Updated screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-29 08:20:53 +02:00
Andy Scherzinger 130503a6e3 optimize sorting/layout bar spacing for home/search bar
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-29 08:20:52 +02:00
Andy Scherzinger af924761b7 optimize toolbar layout
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-29 08:20:51 +02:00
Andy Scherzinger e7cd9ce6bc properly reset header for preview fragments
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-29 08:20:51 +02:00
Andy Scherzinger ddd7b901da proper coloring and sizing for toolbar_standard.xml(s)
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-29 08:20:46 +02:00
Nextcloud bot 0a062ea937 [tx-robot] updated from transifex 2020-07-29 03:34:20 +00:00
Andy Scherzinger ef1aaead0c Merge pull request #6561 from nextcloud/notificationButtonStyling
Make button text non-all-caps for consistent styling
2020-07-28 22:22:16 +02:00
nextcloud-android-bot 8f1d7b5b95 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-07-28 19:28:59 +00:00
Andy Scherzinger 774beec484 lint: Use ResourcesCompat.getDrawable()
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 21:20:44 +02:00
Andy Scherzinger 6b6e7c7f2c lint: remove unused resources
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 21:17:16 +02:00
Andy Scherzinger 4c547c2de2 update screenshot due to updated testcase data
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 18:01:08 +02:00
Andy Scherzinger d1bd1dd16e use proper testing date within this century
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 17:44:26 +02:00
Andy Scherzinger a514ad81a0 update test screenshot due to consolidated icon tinting
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 17:39:29 +02:00
Andy Scherzinger ed229267d2 improve notification icon dark theming
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 17:28:15 +02:00
Andy Scherzinger 080dc4047f proper button styling
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 17:28:14 +02:00
Andy Scherzinger f744a2351d proper code formatting
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 17:28:13 +02:00
Andy Scherzinger 7d14c90b7d proper margin calculations
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 17:28:13 +02:00
Andy Scherzinger 6c8d52119f remove padding
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 17:28:12 +02:00
tobiasKaminsky 76c20b22db Write some UI tests for NotificationsActivity
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-28 17:28:11 +02:00
Andy Scherzinger 3bba95365c make button text non-all-caps for consistent styling
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-28 17:28:11 +02:00
Andy Scherzinger 81654379f9 Merge pull request #6562 from nextcloud/headerScroll
When going into subfolder or show details: show header even if it was scrolled away
2020-07-28 17:08:40 +02:00
tobiasKaminsky 376ad933fb When going into subfolder or show details: show header even if it was scrolled away
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-28 14:40:20 +02:00
Andy Scherzinger c981833bc1 Merge pull request #6560 from nextcloud/fixLargeTest
make sure to delete all uploads
2020-07-28 12:05:18 +02:00
tobiasKaminsky cdf0c97001 make sure to delete all uploads
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-28 11:35:21 +02:00
Nextcloud bot cb27c7b413 [tx-robot] updated from transifex 2020-07-28 03:32:22 +00:00
Tobias Kaminsky 49612f91f7 Merge remote-tracking branch 'origin/master' into dev 2020-07-28 03:30:48 +02:00
tobiasKaminsky 8966803e39 wrong storage location
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-27 15:23:29 +02:00
Andy Scherzinger 919539846f Merge pull request #6553 from nextcloud/photoSearch
if photo search returns less photos than limit -> hide spinner
2020-07-27 12:06:27 +02:00
Tobias Kaminsky 17a19bd4be Merge pull request #6537 from nextcloud/trashbinLoading
Trashbin: show empty message only if empty
2020-07-27 11:30:33 +02:00
tobiasKaminsky 0be925f00e if photo search returns less photos than limit -> hide spinner
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-27 11:25:17 +02:00
Nextcloud bot 1000c9b83f [tx-robot] updated from transifex 2020-07-27 03:30:44 +00:00
dependabot-preview[bot] 4931122392 Bump ez-vcard from 0.10.6 to 0.11.0
Bumps [ez-vcard](https://github.com/mangstadt/ez-vcard) from 0.10.6 to 0.11.0.
- [Release notes](https://github.com/mangstadt/ez-vcard/releases)
- [Commits](https://github.com/mangstadt/ez-vcard/compare/0.10.6...0.11.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-27 01:13:42 +00:00
Tobias Kaminsky 53710cad77 Merge remote-tracking branch 'origin/master' into dev 2020-07-26 03:30:49 +02:00
Nextcloud bot 2bd5b1cb27 [tx-robot] updated from transifex 2020-07-25 03:31:17 +00:00
Tobias Kaminsky 55f11313d8 Merge remote-tracking branch 'origin/master' into dev 2020-07-25 03:33:16 +02:00
tobiasKaminsky e1bb072588 Trashbin: show empty message only if empty
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-24 17:28:44 +02:00
Andy Scherzinger 675e6dc4d5 Merge pull request #6519 from nextcloud/activityList
Enhancing activity list
2020-07-24 13:59:30 +02:00
Andy Scherzinger 3a324f11e6 Merge pull request #6528 from nextcloud/federatedIcon
add ROOM handling for sharees
2020-07-24 13:41:32 +02:00
tobiasKaminsky 681263cc7f Activity list:
- show correct placeholder
- click on preview open file

Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-24 12:43:46 +02:00
Tobias Kaminsky 10580c9579 Merge pull request #6523 from nextcloud/sameHeight
align grid/sort buttons
2020-07-24 08:43:36 +02:00
tobiasKaminsky 7a9cf103b4 add ROOM handling for sharees
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-24 08:33:45 +02:00
Nextcloud bot 2248911da0 [tx-robot] updated from transifex 2020-07-24 03:33:06 +00:00
Tobias Kaminsky e8ca3b9a2a daily dev 20200724
fix crash on folder picker of synced folder
Fixed create folder due to new system (write on server is only performed upon unlock) added test case for remove file
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-07-24 03:41:10 +02:00
Tobias Kaminsky 3a5baf8a29 Merge remote-tracking branch 'origin/master' into dev 2020-07-24 03:32:06 +02:00
Andy Scherzinger 6fda99a633 Merge pull request #6522 from nextcloud/fabCrash
fix crash on folder picker of synced folder
2020-07-23 20:41:05 +02:00
Andy Scherzinger eed4293c43 Updated screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-23 19:20:42 +02:00
tobiasKaminsky d6890111bb align grid/sort buttons
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-23 18:10:40 +02:00
tobiasKaminsky a3487adbdf fix crash on folder picker of synced folder
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-23 16:40:57 +02:00
Tobias Kaminsky 57919b63c7 Merge pull request #6514 from nextcloud/dependabot/gradle/androidx.work-work-runtime-ktx-2.4.0
Bump work-runtime-ktx from 2.3.4 to 2.4.0
2020-07-23 09:12:16 +02:00
dependabot-preview[bot] 5dfeb14412 Bump work-runtime-ktx from 2.3.4 to 2.4.0
Bumps work-runtime-ktx from 2.3.4 to 2.4.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-23 08:20:30 +02:00
Tobias Kaminsky 10b5113299 Merge pull request #6515 from nextcloud/dependabot/gradle/androidx.work-work-runtime-2.4.0
Bump work-runtime from 2.3.4 to 2.4.0
2020-07-23 08:19:12 +02:00
dependabot-preview[bot] e0c15717f7 Bump work-runtime from 2.3.4 to 2.4.0
Bumps work-runtime from 2.3.4 to 2.4.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-23 07:39:39 +02:00
Andy Scherzinger ed94dfb139 Merge pull request #6479 from nextcloud/encUpdate
Fixed create folder due to new system (write on server is only performed upon unlock)
2020-07-23 07:06:24 +02:00
Nextcloud bot 623a0e9c59 [tx-robot] updated from transifex 2020-07-23 03:34:13 +00:00
Tobias Kaminsky 4dc69acc6c daily dev 20200723
Add huawei upload
ETM internal strings that specify background jobs do not need to be translated
Update translations
2020-07-23 03:38:24 +02:00
Tobias Kaminsky 721f3824df Merge remote-tracking branch 'origin/master' into dev 2020-07-23 03:30:50 +02:00
tobiasKaminsky 907e9f0b26 Fixed create folder due to new system (write on server is only performed upon unlock)
added test case for remove file

Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-22 16:47:53 +02:00
Andy Scherzinger 1bf3425ab2 Merge pull request #6511 from nextcloud/huawei
Add huawei upload
2020-07-22 16:47:11 +02:00
tobiasKaminsky 933c61d0c9 Fixed create folder due to new system (write on server is only performed upon unlock)
added test case for remove file

Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-22 16:28:48 +02:00
tobiasKaminsky b39d3d4182 Add huawei upload
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-22 14:43:44 +02:00
Nextcloud bot d852aff107 [tx-robot] updated from transifex 2020-07-22 08:10:53 +00:00
Tobias Kaminsky 8e97d363fe Merge pull request #6503 from nextcloud/doNotTranslateETM
ETM internal strings that specify background jobs do not need to be translated
2020-07-22 07:11:15 +02:00
Nextcloud bot cb6ccbe650 [tx-robot] updated from transifex 2020-07-22 03:32:50 +00:00
Tobias Kaminsky 37fa5dbf6c daily dev 20200722
Warn on NC16 as outdated server
Test login on integrationTests
Update 3rd-party dependencies
2020-07-22 03:38:19 +02:00
Tobias Kaminsky 779b179025 Merge remote-tracking branch 'origin/master' into dev 2020-07-22 03:30:47 +02:00
tobiasKaminsky 121c6c1f23 Fixed create folder due to new system (write on server is only performed upon unlock)
added test case for remove file

Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-21 14:58:28 +02:00
tobiasKaminsky 4d040fba86 ETM internal strings that specify background jobs do not need to be translated
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-21 11:52:29 +02:00
Tobias Kaminsky 2dfde203c8 Merge pull request #6501 from nextcloud/bumpServerVersions
Warn on NC16 as outdated server
2020-07-21 11:47:11 +02:00
Dominik Schürmann c5e624f1e2 add WebAuthn support using hwsecurity-fido2:4.1.0
Signed-off-by: Dominik Schürmann <[email protected]>
2020-07-21 09:17:46 +02:00
tobiasKaminsky f4684f15c1 Warn on NC16 as outdated server
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-21 08:35:18 +02:00
dependabot-preview[bot] 14cec7d029 Merge pull request #6498 from nextcloud/dependabot/gradle/net.bytebuddy-byte-buddy-android-1.10.13 2020-07-21 05:25:32 +00:00
Tobias Kaminsky 4fad4403fc Merge pull request #4146 from nextcloud/loginOnEmulator
Test login on integrationTests
2020-07-21 07:15:37 +02:00
dependabot-preview[bot] 95c2db021f Merge pull request #6497 from nextcloud/dependabot/gradle/org.mockito-mockito-android-3.4.4 2020-07-21 05:11:16 +00:00
Tobias Kaminsky 85632d6721 daily dev 20200721
upon encryption directly ask for mnemonic/setup
supprss lint warning
New download manager
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-07-21 03:40:56 +02:00
Tobias Kaminsky 1561f1415d Merge remote-tracking branch 'origin/master' into dev 2020-07-21 03:31:55 +02:00
dependabot-preview[bot] 8cf7ba60b5 Bump byte-buddy-android from 1.10.10 to 1.10.13
Bumps [byte-buddy-android](https://github.com/raphw/byte-buddy) from 1.10.10 to 1.10.13.
- [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.10.10...byte-buddy-1.10.13)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-21 01:14:06 +00:00
dependabot-preview[bot] a8db8ef38f Bump mockito-android from 3.3.3 to 3.4.4
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.3.3 to 3.4.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.3.3...v3.4.4)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-21 01:12:35 +00:00
Tobias Kaminsky 7861eb787e Merge pull request #6495 from nextcloud/directlyAskForE2E
upon encryption directly ask for mnemonic/setup
2020-07-20 17:13:26 +02:00
tobiasKaminsky 196b16d1d3 Test login on integrationTests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-20 16:17:27 +02:00
Tobias Kaminsky 4f97110ab3 Merge pull request #6048 from nextcloud/ezaquarii/new-download-manager
New download manager
2020-07-20 12:52:49 +02:00
dependabot-preview[bot] 2150295acc Merge pull request #6493 from nextcloud/dependabot/gradle/daggerVersion-2.28.3 2020-07-20 10:42:44 +00:00
tobiasKaminsky de0467381c upon encryption directly ask for mnemonic/setup
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-20 12:33:58 +02:00
tobiasKaminsky 5a9d578018 supprss lint warning
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-20 12:28:50 +02:00
Chris Narkiewicz 75b9fa8551 New download manager
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-07-20 12:28:47 +02:00
dependabot-preview[bot] 72b9dd069a Bump daggerVersion from 2.28.1 to 2.28.3
Bumps `daggerVersion` from 2.28.1 to 2.28.3.

Updates `dagger` from 2.28.1 to 2.28.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.28.1...dagger-2.28.3)

Updates `dagger-android` from 2.28.1 to 2.28.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.28.1...dagger-2.28.3)

Updates `dagger-android-support` from 2.28.1 to 2.28.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.28.1...dagger-2.28.3)

Updates `dagger-compiler` from 2.28.1 to 2.28.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.28.1...dagger-2.28.3)

Updates `dagger-android-processor` from 2.28.1 to 2.28.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.28.1...dagger-2.28.3)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-20 12:26:12 +02:00
Andy Scherzinger 51f48549c3 Merge pull request #6494 from nextcloud/dependabot/gradle/org.mockito-mockito-android-3.4.4
Bump mockito-android from 3.4.2 to 3.4.4
2020-07-20 11:53:50 +02:00
Andy Scherzinger 1b1823db0a Merge pull request #6492 from nextcloud/dependabot/gradle/org.mockito-mockito-core-3.4.4
Bump mockito-core from 3.4.2 to 3.4.4
2020-07-20 11:53:27 +02:00
dependabot-preview[bot] 65a2b895f5 Bump mockito-core from 3.4.2 to 3.4.4
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.4.2 to 3.4.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.2...v3.4.4)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-20 09:32:57 +00:00
dependabot-preview[bot] 81bb72344c Bump mockito-android from 3.4.2 to 3.4.4
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.4.2 to 3.4.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.2...v3.4.4)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-20 09:32:06 +00:00
Tobias Kaminsky 8a2bd6370d Merge pull request #6487 from nextcloud/fixScreenshotFDA
update FileDisplayActivityIT
2020-07-20 11:30:39 +02:00
tobiasKaminsky 88a609fc0e another try to get tests green
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-20 11:12:16 +02:00
tobiasKaminsky ffa19f0fa9 update screenshots to reflect https
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-20 10:58:00 +02:00
tobiasKaminsky 8957d5a525 missing protocol prefix
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-20 10:09:38 +02:00
tobiasKaminsky df72d84f91 fix last remaining tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-20 09:06:08 +02:00
Nextcloud bot c4fc2f52ea [tx-robot] updated from transifex 2020-07-19 03:33:32 +00:00
Tobias Kaminsky 633c82de93 daily dev 20200718
Use same color for status bar
Fix crash on missing user
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-07-18 03:40:42 +02:00
Tobias Kaminsky e85cf54640 Merge remote-tracking branch 'origin/master' into dev 2020-07-18 03:31:58 +02:00
Andy Scherzinger ad12be8218 Merge pull request #6483 from nextcloud/dependabot/gradle/org.mockito-mockito-core-3.4.2
Bump mockito-core from 3.4.0 to 3.4.2
2020-07-17 23:17:09 +02:00
Andy Scherzinger 0ab788d116 Merge pull request #6484 from nextcloud/dependabot/gradle/org.mockito-mockito-android-3.4.2
Bump mockito-android from 3.4.0 to 3.4.2
2020-07-17 23:16:44 +02:00
tobiasKaminsky 7a3ef013d1 always start with no account
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-17 13:37:04 +02:00
tobiasKaminsky acbb2f06bf disable flaky screenshot tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-17 13:18:12 +02:00
tobiasKaminsky b29767b648 remove accounts, as otherwise account from AbstractOnServer might be there
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-17 12:52:54 +02:00
tobiasKaminsky d17dd38589 Fix DialogFragmentIT
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-17 12:32:27 +02:00
tobiasKaminsky 78cc80266a Fix: server IT tests need AbstractOnServerIT
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-17 12:16:41 +02:00
tobiasKaminsky d1adb2bf74 update FileDisplayActivityIT
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-17 11:56:23 +02:00
Tobias Kaminsky faab13ca92 Merge pull request #6476 from nextcloud/authCrash
Fix crash on missing user
2020-07-17 11:56:10 +02:00
Andy Scherzinger 1cf178893a Merge pull request #6480 from nextcloud/loginColor
Use same color for status bar
2020-07-17 09:27:44 +02:00
dependabot-preview[bot] a56a34079b Bump mockito-android from 3.4.0 to 3.4.2
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.4.0 to 3.4.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.0...v3.4.2)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-17 08:33:01 +02:00
dependabot-preview[bot] e753f8ea3d Bump mockito-core from 3.4.0 to 3.4.2
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.4.0 to 3.4.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.0...v3.4.2)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-17 08:32:26 +02:00
tobiasKaminsky 404f43fad4 Use same color for status bar
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-17 08:18:28 +02:00
tobiasKaminsky 9a07418e51 Fix crash on missing user
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-17 08:07:45 +02:00
Tobias Kaminsky 7b1522e86a Merge pull request #6486 from nextcloud/fixSettingScreenshotTest
update ScreenshotIT
2020-07-17 08:07:12 +02:00
tobiasKaminsky be977dda31 update ScreenshotIT
add helper script

Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-17 07:47:59 +02:00
Nextcloud bot aa5cf6b5ae [tx-robot] updated from transifex 2020-07-17 03:32:59 +00:00
Tobias Kaminsky 9a64fe7aff daily dev 20200717
new screenshots, disabled non working
Add tests for dialogs
fix wrong show of sort/list group and FAB in details or text preview
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-07-17 03:40:10 +02:00
Tobias Kaminsky 2afbf11f73 Merge remote-tracking branch 'origin/master' into dev 2020-07-17 03:30:49 +02:00
Tobias Kaminsky f7e08a724b Merge pull request #6441 from nextcloud/previewText
fix wrong show of sort/list group and FAB in details or text preview
2020-07-16 11:08:52 +02:00
Nextcloud bot 990673077f [tx-robot] updated from transifex 2020-07-16 03:43:23 +00:00
Tobias Kaminsky 3b2fd340d3 Merge remote-tracking branch 'origin/master' into dev 2020-07-16 03:32:45 +02:00
Andy Scherzinger cc1c4e9b11 Merge pull request #6452 from nextcloud/dialogTests
Add tests for dialogs
2020-07-15 19:31:26 +02:00
tobiasKaminsky cc18577efa fix after rebasing
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-15 15:44:36 +02:00
tobiasKaminsky db6c1ba055 new screenshots, disabled non working
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-15 15:42:26 +02:00
tobiasKaminsky 3b89449939 RetryRule does not work on Screenshot Tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-15 15:42:26 +02:00
tobiasKaminsky 4336082bb7 Add tests for dialogs
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-15 15:42:26 +02:00
Tobias Kaminsky 93183cf9b2 Merge pull request #6474 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-4.0.1
Bump gradle from 4.0.0 to 4.0.1
2020-07-15 15:39:31 +02:00
Nextcloud bot e4335583cf [tx-robot] updated from transifex 2020-07-15 03:59:53 +00:00
dependabot-preview[bot] 7932a2a876 Bump gradle from 4.0.0 to 4.0.1
Bumps gradle from 4.0.0 to 4.0.1.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-15 01:12:12 +00:00
Nextcloud bot 818ff4f11d [tx-robot] updated from transifex 2020-07-14 03:31:31 +00:00
Tobias Kaminsky 225f133341 daily dev 20200714
Migrate FileMenuFiler to User model
Migrate UploadFileOperation to User model
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-07-14 03:41:44 +02:00
Tobias Kaminsky ef5362f877 Merge remote-tracking branch 'origin/master' into dev 2020-07-14 03:32:22 +02:00
Tobias Kaminsky 7dd42f0bac Merge pull request #6438 from nextcloud/ezaquarii/migrate-upload-file-operation-to-user-model
Migrate UploadFileOperation to User model
2020-07-13 08:37:48 +02:00
Tobias Kaminsky ca7cdc9524 Merge pull request #6447 from nextcloud/ezaquarii/migrate-file-menu-filter-to-user-model
Migrate FileMenuFiler to User model
2020-07-13 08:37:07 +02:00
Tobias Kaminsky 4e31f15c09 Merge pull request #6466 from nextcloud/dependabot/gradle/org.mockito-mockito-core-3.4.0
Bump mockito-core from 3.3.3 to 3.4.0
2020-07-13 07:32:58 +02:00
Tobias Kaminsky 0896ad7c17 Merge pull request #6467 from nextcloud/dependabot/gradle/org.mockito-mockito-android-3.4.0
Bump mockito-android from 3.3.3 to 3.4.0
2020-07-13 07:32:31 +02:00
dependabot-preview[bot] 2edc1320ea Bump mockito-android from 3.3.3 to 3.4.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.3.3 to 3.4.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.3.3...v3.4.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-13 01:14:00 +00:00
dependabot-preview[bot] 493d0b76ee Bump mockito-core from 3.3.3 to 3.4.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.3.3 to 3.4.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.3.3...v3.4.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-07-13 01:13:08 +00:00
Nextcloud bot 9b73819256 [tx-robot] updated from transifex 2020-07-12 03:31:03 +00:00
Nextcloud bot 34c27204d4 [tx-robot] updated from transifex 2020-07-11 03:31:32 +00:00
Tobias Kaminsky d7b9d5df07 daily dev 20200711
Theme login with server capability
remove unused import
spotbugs: remove unused variables
dialog buttons shouldn't have a background color
make sure dialog button text is not allCaps and title is standard material colored
remove unused variable
Remove title theming of modal dialog
show downloaded encrypted files in subfolders
direct login works again
Update translations
2020-07-11 03:38:10 +02:00
Tobias Kaminsky d27dd7c4c6 Merge remote-tracking branch 'origin/master' into dev 2020-07-11 03:30:50 +02:00
Andy Scherzinger d96b4e4c6c Merge pull request #6442 from nextcloud/themeLogin
Theme login with server capability
2020-07-10 11:52:26 +02:00
Tobias Kaminsky 234c8d33ee Merge pull request #6434 from nextcloud/removeDialogTitleTheming
Remove title theming of modal dialog
2020-07-10 11:41:19 +02:00
tobiasKaminsky b46af2b5fa fix tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-10 11:34:25 +02:00
tobiasKaminsky ea0c09dd49 Theme login with server capability
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-10 11:22:55 +02:00
Tobias Kaminsky a2743f206a Merge pull request #6445 from nextcloud/downloadedE2E
show downloaded encrypted files in subfolders
2020-07-10 10:57:49 +02:00
Tobias Kaminsky 3730eff7ae Merge pull request #6435 from nextcloud/directLogin
direct login works again
2020-07-10 10:57:24 +02:00
Nextcloud bot aef8ee5384 [tx-robot] updated from transifex 2020-07-10 03:35:10 +00:00
Tobias Kaminsky 5e8a2b714c daily dev 20200710
Migrate data transfer listener to User model
Update translations
2020-07-10 03:38:29 +02:00
Tobias Kaminsky 77c76bd10f Merge remote-tracking branch 'origin/master' into dev 2020-07-10 03:30:49 +02:00
Chris Narkiewicz 69414303a8 Migrate FileMenuFiler to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-07-09 23:00:19 +01:00
Chris Narkiewicz 7bb49bd610 Migrate UploadFileOperation to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-07-09 17:51:23 +02:00
nextcloud-android-bot 94b26cc28e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-07-09 14:50:07 +00:00
Andy Scherzinger 2ed70f279d remove unused import
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-09 16:34:52 +02:00
Andy Scherzinger 2916c82a5b spotbugs: remove unused variables
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-09 16:34:51 +02:00
Andy Scherzinger b6d09c42a9 dialog buttons shouldn't have a background color
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-09 16:34:50 +02:00
Andy Scherzinger 8585e44d4b make sure dialog button text is not allCaps and title is standard material colored
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-09 16:34:50 +02:00
Andy Scherzinger 7cda9b5e8d remove unused variable
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-09 16:34:49 +02:00
Andy Scherzinger 27fc8c6540 Remove title theming of modal dialog
Resolves #6429

Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-09 16:34:37 +02:00
Tobias Kaminsky a7b90ed588 Merge pull request #6439 from nextcloud/ezaquarii/migrate-data-transfer-listener-to-user-model
Migrate data transfer listener to User model
2020-07-09 15:19:17 +02:00
tobiasKaminsky 419b14afcf show downloaded encrypted files in subfolders
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-09 12:17:47 +02:00
tobiasKaminsky be9d4facce fix wrong show of sort/list group and FAB in details or text preview
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-09 07:43:20 +02:00
Nextcloud bot 89edfe518b [tx-robot] updated from transifex 2020-07-09 03:33:24 +00:00
Chris Narkiewicz 6b3c4621b7 Migrate data transfer listener to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-07-08 22:47:35 +01:00
tobiasKaminsky d8d24908da direct login works again
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-08 16:03:12 +02:00
Nextcloud bot 4eadfac145 [tx-robot] updated from transifex 2020-07-08 03:42:18 +00:00
Tobias Kaminsky 062151a248 daily dev 20200708
do not user NotNull, but NonNull
Migrate SetupEncryptionDialogFragment to User model
Migrate MimeTypeUtil.getFileTypeIcon to User model
Migrate PreviewImagePagerAdapter to User model
Update translations
2020-07-08 03:38:10 +02:00
Tobias Kaminsky 9c139e5186 Merge remote-tracking branch 'origin/master' into dev 2020-07-08 03:30:49 +02:00
Tobias Kaminsky 9c066bbe2a Merge pull request #6426 from nextcloud/reduceOutput
reduce log output for drone
2020-07-07 15:48:00 +02:00
Andy Scherzinger 2562a84352 Merge pull request #6425 from nextcloud/changelog-master-stable-3.12.1
Add changelog for 3.12.1
2020-07-07 14:57:44 +02:00
tobiasKaminsky a884bab878 reduce log output for drone
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-07 11:48:25 +02:00
Tobias Kaminsky e3121bf18d Merge pull request #6423 from nextcloud/noNotNull
do not user NotNull, but NonNull
2020-07-07 11:34:02 +02:00
tobiasKaminsky 909fb2187f Add changelog for 3.12.1
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-07 10:32:29 +02:00
tobiasKaminsky 1b62bb93cb do not user NotNull, but NonNull
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-07 10:16:32 +02:00
Tobias Kaminsky fd1d391d2b Merge pull request #6421 from nextcloud/ezaquarii/migrate-setup-encryption-dialog-fragment-to-user-model
Migrate SetupEncryptionDialogFragment to User model
2020-07-07 07:55:30 +02:00
Tobias Kaminsky b047dccd56 Merge pull request #6420 from nextcloud/ezaquarii/migrate-mime-type-util-get-file-type-icon-to-user-model
Migrate MimeTypeUtil.getFileTypeIcon to User model
2020-07-07 07:51:26 +02:00
Tobias Kaminsky b39bceb607 Merge pull request #6419 from nextcloud/ezaquarii/migrate-preview-image-pager-adapter-to-user-model
Migrate PreviewImagePagerAdapter to User model
2020-07-07 07:50:27 +02:00
Nextcloud bot 31ac25f8d0 [tx-robot] updated from transifex 2020-07-07 03:36:26 +00:00
Tobias Kaminsky ff823480c9 daily dev 20200707
fix possible NPE
minor code formatting
Fix ReceiveExternalFilesActivity account -> user
Migrate MumeTypeUtil.folderTypeIcon to user model
Migrate UploadListAdapter to User model
Migrate player service and preview fragment to User model
Update translations
2020-07-07 03:38:16 +02:00
Tobias Kaminsky a7182dc7ae Merge remote-tracking branch 'origin/master' into dev 2020-07-07 03:30:49 +02:00
Chris Narkiewicz 3c87c8fc67 Migrate SetupEncryptionDialogFragment to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-07-06 20:58:36 +01:00
Chris Narkiewicz eb722457ca Migrate MimeTypeUtil.getFileTypeIcon to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-07-06 20:46:13 +01:00
Chris Narkiewicz c56e2c3d21 Migrate PreviewImagePagerAdapter to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-07-06 20:31:33 +01:00
Tobias Kaminsky 6b431a388e Merge pull request #6415 from nextcloud/ezaquarii/migrate-mimetypeutil-get-folder-type-icon-to-user-model
Migrate MimeTypeUtil.folderTypeIcon to user model
2020-07-06 15:29:42 +02:00
Tobias Kaminsky 5e6038ef1d Merge pull request #6414 from nextcloud/ezaquarii/migrate-upload-list-adapter-to-user-model
Migrate UploadListAdapter to User model
2020-07-06 15:29:11 +02:00
Tobias Kaminsky 3f254ee348 Merge pull request #6375 from nextcloud/ezaquarii/migrate-audio-player-and-audio-preview-to-user-model
Migrate audio player and preview fragment to user model
2020-07-06 15:28:35 +02:00
tobiasKaminsky 13593fb7f7 fix possible NPE
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-06 11:31:02 +02:00
tobiasKaminsky f9b232fb49 minor code formatting
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-06 10:37:18 +02:00
tobiasKaminsky 0af29bf500 Fix ReceiveExternalFilesActivity account -> user
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-06 10:29:07 +02:00
Nextcloud bot 9cd108d229 [tx-robot] updated from transifex 2020-07-06 03:25:45 +00:00
Chris Narkiewicz ed9afe8c6c Migrate MumeTypeUtil.folderTypeIcon to user model
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-07-05 23:12:56 +01:00
Chris Narkiewicz c650e55af9 Migrate UploadListAdapter to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-07-05 22:53:29 +01:00
Chris Narkiewicz 277f08b941 Migrate player service and preview fragment to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-07-05 22:18:55 +01:00
Nextcloud bot 8e7ce3c7a1 [tx-robot] updated from transifex 2020-07-05 03:26:35 +00:00
Tobias Kaminsky 867b3c25d7 daily dev 20200705
Update translations
2020-07-05 03:40:28 +02:00
Tobias Kaminsky dd52045b4d Merge remote-tracking branch 'origin/master' into dev 2020-07-05 03:31:06 +02:00
Nextcloud bot d52b1cc6ba [tx-robot] updated from transifex 2020-07-04 03:28:45 +00:00
Tobias Kaminsky 40ab5cffa1 daily dev 20200704
remove fileDrop capability
Resolve #6399 adding theming logic for share link icons
Spotbugs: MS 	com.owncloud.android.db.ProviderMeta$ProviderTableMeta.FILE_ALL_COLUMNS is a mutable array MS 	com.owncloud.android.providers.UsersAndGroupsSearchProvider.ACTION_SHARE_WITH isn't final and can't be protected from malicious code MS 	com.owncloud.android.utils.FileSortOrder.sortOrders is a mutable collection MS 	org.nextcloud.providers.cursors.FileCursor.DEFAULT_DOCUMENT_PROJECTION should be package protected
Edit label for public share split up between public share and user shares
l10n: Delete a space character
Update translations
Update Nextcloud Android library
2020-07-04 03:41:11 +02:00
Tobias Kaminsky 371160b479 Merge remote-tracking branch 'origin/master' into dev 2020-07-04 03:32:26 +02:00
Nextcloud bot d137302dab [tx-robot] updated from transifex 2020-07-03 03:31:35 +00:00
Tobias Kaminsky ce4e1c15f5 Merge remote-tracking branch 'origin/master' into dev 2020-07-03 03:32:14 +02:00
Andy Scherzinger 93528534aa Merge pull request #6404 from nextcloud/removeFilesdrop
remove fileDrop capability
2020-07-02 14:34:39 +02:00
Tobias Kaminsky 1126823db9 Merge pull request #6400 from nextcloud/themeIconImagesWithUnicolorBackgrounds
Add theming logic for share link icons
2020-07-02 13:55:14 +02:00
tobiasKaminsky 73bc3735d4 remove fileDrop capability
Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-02 13:50:37 +02:00
Tobias Kaminsky a6dd338c79 Merge pull request #6403 from nextcloud/maliciousCode
Spotbugs: fixed all malicious code errors
2020-07-02 12:46:20 +02:00
Andy Scherzinger fd47348f1b Resolve #6399 adding theming logic for share link icons
Signed-off-by: Andy Scherzinger <[email protected]>
2020-07-02 09:18:32 +02:00
Nextcloud bot 0f67f4b1e1 [tx-robot] updated from transifex 2020-07-02 03:37:07 +00:00
Tobias Kaminsky 75650bcfe8 Merge remote-tracking branch 'origin/master' into dev 2020-07-02 03:40:59 +02:00
nextcloud-android-bot a06057acfa Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-07-01 13:52:27 +00:00
tobiasKaminsky eda28d67a6 Spotbugs:
MS 	com.owncloud.android.db.ProviderMeta$ProviderTableMeta.FILE_ALL_COLUMNS is a mutable array
MS 	com.owncloud.android.providers.UsersAndGroupsSearchProvider.ACTION_SHARE_WITH isn't final and can't be protected from malicious code
MS 	com.owncloud.android.utils.FileSortOrder.sortOrders is a mutable collection
MS 	org.nextcloud.providers.cursors.FileCursor.DEFAULT_DOCUMENT_PROJECTION should be package protected

Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-01 15:36:56 +02:00
Andy Scherzinger 2192bdcf39 Merge pull request #6396 from nextcloud/editLabel
Edit label for public share
2020-07-01 13:49:43 +02:00
tobiasKaminsky 4bb0a3c176 Edit label for public share
split up between public share and user shares

Signed-off-by: tobiasKaminsky <[email protected]>
2020-07-01 12:07:26 +02:00
Tobias Kaminsky 325e6005c5 Merge pull request #6397 from nextcloud/Valdnet-patch-1
l10n: Delete a space character
2020-07-01 11:11:16 +02:00
Valdnet ee3e92c805 l10n: Delete a space character 2020-07-01 09:22:38 +02:00
Nextcloud bot 19d37ef49d [tx-robot] updated from transifex 2020-07-01 03:27:02 +00:00
Tobias Kaminsky 2f7597cc68 daily dev 20200701
remove EditShareFragment.java
remove unused ressources
add default to switch
fix switch statement
add missing import
fix test
minor code changes after rebase
Synced folder dialog: remove local and remote folder icons
Synced folder dialog: use display name instead of full path for local folder
Synced folder dialog: remove folder path expand action
Deep link handler tests
Move user filtering to deep link handler
Refactored deep link handling
Deep link handler prototype
allow 3 times deep nextcloud nesting
Update pattern matcher to allow pretty urls
allow pretty urls
revert library
fixes after rebase
remove literals in conditional statements
UI fine tuning for link items / sharing fragments
add multiple share links
Add to jetified-dagger-lint-aar-2.28.1 for custom lint check
Bump to dagger 2.28.1
Provide DeckApi via dependency injection framework
Migate file details and share details to User model
Fix NPE in OCFileListFragment when OCFile is null
Update translations
Update 3rd-party dependencies
2020-07-01 03:38:05 +02:00
Tobias Kaminsky d31a83c426 Merge remote-tracking branch 'origin/master' into dev 2020-07-01 03:30:46 +02:00
Andy Scherzinger 0acae91fdf Merge pull request #6392 from nextcloud/removeEditShareFragment
remove EditShareFragment.java
2020-06-30 16:52:23 +02:00
tobiasKaminsky f6e8636cfa remove EditShareFragment.java
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 15:32:17 +02:00
Andy Scherzinger ba62819180 Merge pull request #6391 from nextcloud/switch
add default to switch
2020-06-30 14:46:01 +02:00
Tobias Kaminsky cee5b45b84 Merge pull request #6121 from nextcloud/enhance_deep_links
enhance deep linking to allow pretty urls
2020-06-30 12:30:43 +02:00
tobiasKaminsky 05748959e9 exit always with 0
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 11:55:52 +02:00
Tobias Kaminsky 969c0d3916 Merge pull request #5593 from nextcloud/fix-synced-folder-dialog-click
Synced folder dialog: fix summary click event intercepting parent
2020-06-30 11:46:05 +02:00
tobiasKaminsky 726e4ca7b4 remove unused ressources
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 10:52:46 +02:00
nextcloud-android-bot 444dcd000e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-30 07:55:26 +00:00
Tobias Kaminsky 551628d4fe Merge pull request #6358 from nextcloud/multipleShareLink
add multiple share links
2020-06-30 09:51:12 +02:00
Tobias Kaminsky 9f7f28c7c1 Merge pull request #6373 from nextcloud/ezaquarii/add-deck-api-to-dependency-injection-framework
Provide DeckApi via dependency injection framework
2020-06-30 09:49:17 +02:00
drone 5fa9f7420d Merge commit 'db5b0752f87d7b0647e7d8c99c21adc99151abb1' 2020-06-30 07:42:19 +00:00
tobiasKaminsky db5b0752f8 add default to switch
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 09:39:28 +02:00
tobiasKaminsky 7cbfc58036 fix switch statement
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 09:35:33 +02:00
tobiasKaminsky 3d7e8b770a add missing import
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 08:45:52 +02:00
Tobias Kaminsky f1a70ccb32 Merge pull request #6364 from nextcloud/ezaquarii/fix-npe-in-file-list-fragment-when-file-is-null
Fix NPE in OCFileListFragment when OCFile is null
2020-06-30 08:42:52 +02:00
tobiasKaminsky d721941032 fix test
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 08:41:27 +02:00
tobiasKaminsky f07e14fd30 minor code changes after rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 08:34:39 +02:00
Alice Gaudon 7af28a1c36 Synced folder dialog: remove local and remote folder icons
Signed-off-by: Alice Gaudon <[email protected]>
2020-06-30 07:53:13 +02:00
Alice Gaudon e5f56152b0 Synced folder dialog: use display name instead of full path for local folder
Signed-off-by: Alice Gaudon <[email protected]>
2020-06-30 07:53:13 +02:00
Alice Gaudon 4a4ad20e66 Synced folder dialog: remove folder path expand action
Signed-off-by: Alice Gaudon <[email protected]>
2020-06-30 07:53:13 +02:00
Chris Narkiewicz 74e68d6b8e Deep link handler tests
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-06-30 07:51:21 +02:00
Chris Narkiewicz a887a4c32b Move user filtering to deep link handler
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-06-30 07:51:21 +02:00
Chris Narkiewicz 50b19e5d77 Refactored deep link handling
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-06-30 07:51:21 +02:00
Chris Narkiewicz bcb1262064 Deep link handler prototype
Signed-off-by: Chris Narkiewicz <[email protected]>
2020-06-30 07:51:20 +02:00
szaimen 214689bc0d allow 3 times deep nextcloud nesting
Signed-off-by: szaimen <[email protected]>
2020-06-30 07:51:20 +02:00
szaimen ed4917db14 Update pattern matcher to allow pretty urls
Signed-off-by: szaimen <[email protected]>
2020-06-30 07:51:20 +02:00
szaimen 815e30166e allow pretty urls
Signed-off-by: szaimen <[email protected]>
2020-06-30 07:51:20 +02:00
tobiasKaminsky 40d40c32b1 revert library
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 07:34:24 +02:00
tobiasKaminsky 51365fa7c3 fixes after rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 07:34:24 +02:00
Andy Scherzinger 3848346f4a remove literals in conditional statements 2020-06-30 07:34:23 +02:00
Andy Scherzinger 3c7fe3a405 UI fine tuning for link items / sharing fragments
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-30 07:34:04 +02:00
tobiasKaminsky 8c9841f033 add multiple share links
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-30 07:34:03 +02:00
Tobias Kaminsky ff4a0a7030 Merge pull request #6372 from nextcloud/ezaquarii/migrate-file-details-to-user-model
Migate file details and share details to User model
2020-06-30 07:29:48 +02:00
Tobias Kaminsky 197552a488 Merge pull request #6158 from nextcloud/dependabot/gradle/daggerVersion-2.28
Bump daggerVersion from 2.27 to 2.28
2020-06-30 07:27:39 +02:00
Nextcloud bot beb45efc0b [tx-robot] updated from transifex 2020-06-30 03:26:21 +00:00
Tobias Kaminsky b630abe052 daily dev 20200630
Lint ignore
Replace fragment by FragmentContainerView
remove element color references
remove unused method
improve edge case FAB coloring
move primary action button theming to new theming method
Introduce light/dark theme / black/white primary-color-aware primary-button theming
proper coloring of drawer items in black/white edge case scenarios
proper button coloring for dark theme + black primary color
Remove duplacation
black nav bar on image preview
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-06-30 03:43:25 +02:00
Tobias Kaminsky 07a2106d45 Merge remote-tracking branch 'origin/master' into dev 2020-06-30 03:32:48 +02:00
tobiasKaminsky 10f6ec94fa Add to jetified-dagger-lint-aar-2.28.1 for custom lint check
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-29 16:59:20 +02:00
tobiasKaminsky 738291b2fa Bump to dagger 2.28.1
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-29 16:31:15 +02:00
dependabot-preview[bot] 14fd15e9ae Bump daggerVersion from 2.27 to 2.28
Bumps `daggerVersion` from 2.27 to 2.28.

Updates `dagger` from 2.27 to 2.28
- [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.27...dagger-2.28)

Updates `dagger-android` from 2.27 to 2.28
- [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.27...dagger-2.28)

Updates `dagger-android-support` from 2.27 to 2.28
- [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.27...dagger-2.28)

Updates `dagger-compiler` from 2.27 to 2.28
- [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.27...dagger-2.28)

Updates `dagger-android-processor` from 2.27 to 2.28
- [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.27...dagger-2.28)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-06-29 16:31:15 +02:00
Tobias Kaminsky 4073cd235c Merge pull request #6341 from nextcloud/fragmentContainerView
Replace fragment by FragmentContainerView
2020-06-29 16:30:40 +02:00
tobiasKaminsky cc517ffcfd Lint ignore
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-29 16:00:44 +02:00
tobiasKaminsky 98d1b5e2b9 split up delete old commit to always delete them
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-29 16:00:44 +02:00
tobiasKaminsky 3102c23d2c always delete old comments
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-29 16:00:44 +02:00
tobiasKaminsky 32a0d1c309 Replace fragment by FragmentContainerView
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-29 16:00:44 +02:00
Tobias Kaminsky 212b3a6ef9 Merge pull request #6385 from nextcloud/fixDeleteOnSuccess
type -> TYPE
2020-06-29 15:59:58 +02:00
tobiasKaminsky fd7b722ac4 type -> TYPE
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-29 15:59:36 +02:00
Tobias Kaminsky 0207e70323 Merge pull request #6384 from nextcloud/dronePermission
make deleteOutdatedComments.sh executable
2020-06-29 15:42:14 +02:00
tobiasKaminsky fb5ae37a38 make deleteOutdatedComments.sh executable
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-29 15:41:55 +02:00
Tobias Kaminsky ced60bf59b Merge pull request #6366 from nextcloud/deleteOutdatedComments
Delete outdated comments in case of success
2020-06-29 10:28:59 +02:00
Tobias Kaminsky 3c609a329f Merge pull request #6332 from nextcloud/enh/darkThemeOptimizations
Enh/dark theme optimizations
2020-06-29 10:28:36 +02:00
Tobias Kaminsky 9a0d1085ed Merge pull request #6382 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.4.4
Bump spotbugs-gradle-plugin from 4.4.3 to 4.4.4
2020-06-29 10:00:45 +02:00
Tobias Kaminsky a5142483a4 Merge pull request #6381 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.10.0
Bump detekt-gradle-plugin from 1.9.1 to 1.10.0
2020-06-29 10:00:31 +02:00
Tobias Kaminsky 1edaffeafe Merge pull request #6380 from nextcloud/dependabot/gradle/net.bytebuddy-byte-buddy-1.10.13
Bump byte-buddy from 1.10.12 to 1.10.13
2020-06-29 10:00:12 +02:00
Tobias Kaminsky b2ff37505e Merge pull request #6244 from nextcloud/blackNavBar
black nav bar on image preview
2020-06-29 09:59:06 +02:00
Nextcloud bot ebbedb46a0 [tx-robot] updated from transifex 2020-06-29 03:26:45 +00:00
dependabot-preview[bot] dfe2e5dbd4 Bump spotbugs-gradle-plugin from 4.4.3 to 4.4.4
Bumps spotbugs-gradle-plugin from 4.4.3 to 4.4.4.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-06-29 01:14:26 +00:00
dependabot-preview[bot] c1f5817f3f Bump detekt-gradle-plugin from 1.9.1 to 1.10.0
Bumps detekt-gradle-plugin from 1.9.1 to 1.10.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-06-29 01:13:56 +00:00
dependabot-preview[bot] 9f23230bf1 Bump byte-buddy from 1.10.12 to 1.10.13
Bumps [byte-buddy](https://github.com/raphw/byte-buddy) from 1.10.12 to 1.10.13.
- [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.10.12...byte-buddy-1.10.13)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-06-29 01:13:16 +00:00
Nextcloud bot fbfdf1104a [tx-robot] updated from transifex 2020-06-28 03:27:05 +00:00
Nextcloud bot bf587f1a65 [tx-robot] updated from transifex 2020-06-27 03:26:25 +00:00
Tobias Kaminsky cbfa9ff6cb daily dev 20200627
lint: remove unused resource
Enhance FileDetailSharingFragment: - remove no users text - disable search view if reshare is not allowed - show note icon
Hide on scrolling for activities and notifications
fix #5468 if we have no activity, do nothing
2020-06-27 03:38:19 +02:00
Tobias Kaminsky 6db7c79962 Merge remote-tracking branch 'origin/master' into dev 2020-06-27 03:30:49 +02:00
Chris Narkiewicz dbae9443eb Provide DeckApi via dependency injection framework
- renamed integration packate to integrations (plural)
- created DI module for integrations
- added provider for DeckApi
- inject DeckApi to background job factory

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-06-26 23:43:43 +01:00
Chris Narkiewicz e13a3ca7cb Migate file details and share details to User model
UserAccountManager:
 - added userOwnsFile API that replaces accountOwnsFile
 - deprecated accountOwnsFile

FileDisplayActivity:
 - simplified initFragmentWithFile by passing non-null instanecs
   of user and file and thus avoiding numerous redundant null-checks
 - fragments are initialized using User model instead of Account
 - transfer and download callbacks use getUser() instead of getAccount()
   and pass user instance to framents

ShareActivity
 - initlize fragment using user model instead of account
 - close acivity immediately if current user is not available
   (cannot reach such state not, but historically account was nullable)

FileDetailTabAdapter
 - framents are initialized using User model instead of Account

FileDetailActivitiesFragment
 - migrated to User
 - removed dependency on constants from FileActivity

FileDetailFragment
 - migrated to User
 - removed dependency on constants from FileActivity

FileDetailsSharingFragment
 - migrated to User
 - removed dependency on constants from FileActivity

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-06-26 23:07:40 +01:00
nextcloud-android-bot 79f4270bb9 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-26 13:35:51 +00:00
Andy Scherzinger 5f73a5ec75 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-26 15:15:30 +02:00
Andy Scherzinger 0ad81bdd29 remove element color references
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-26 15:15:29 +02:00
Andy Scherzinger 8af257d54f remove unused method
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-26 15:15:27 +02:00
Andy Scherzinger a7088c8c87 improve edge case FAB coloring
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-26 15:15:25 +02:00
Andy Scherzinger 5b76892ab1 move primary action button theming to new theming method
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-26 15:15:24 +02:00
Andy Scherzinger 7005cdef2e Introduce light/dark theme / black/white primary-color-aware primary-button theming
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-26 15:15:22 +02:00
Andy Scherzinger 643454c1d7 proper coloring of drawer items in black/white edge case scenarios
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-26 15:15:21 +02:00
Andy Scherzinger 20d2ef989d proper button coloring for dark theme + black primary color
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-26 15:15:14 +02:00
Andy Scherzinger dfc94f4505 Merge pull request #6354 from nextcloud/noShare
Enhance FileDetailSharingFragment
2020-06-26 13:27:16 +02:00
tobiasKaminsky 8f0e4eab60 Delete outdated comments in case of success
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-26 12:51:47 +02:00
Andy Scherzinger 93d0875883 Merge pull request #6253 from nextcloud/noNothingIfNoActivity
PreviewImageFragment: if we have no activity, do nothing
2020-06-26 11:13:58 +02:00
Joris Bodin 947e4a1b10 Remove duplacation
Signed-off-by: Joris Bodin <[email protected]>
2020-06-26 11:05:44 +02:00
tobiasKaminsky c55e9b8fd2 black nav bar on image preview
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-26 11:05:44 +02:00
Andy Scherzinger 2b5c39095d lint: remove unused resource
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-26 11:03:09 +02:00
tobiasKaminsky 348ae4435a Enhance FileDetailSharingFragment:
- remove no users text
- disable search view if reshare is not allowed
- show note icon

Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-26 11:03:03 +02:00
Tobias Kaminsky a22b0724ae Merge pull request #6367 from nextcloud/fixTypeInReport
type -> TYPE
2020-06-26 10:58:58 +02:00
tobiasKaminsky c42c24be80 type -> TYPE
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-26 10:58:34 +02:00
Tobias Kaminsky 7e03aa39b5 Merge pull request #6365 from nextcloud/fixDeleteCommits
fix deleting outdated comments
2020-06-26 10:36:11 +02:00
tobiasKaminsky 097434916e fix deleting outdated comments
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-26 10:35:48 +02:00
Tobias Kaminsky 728de81736 Merge pull request #6263 from nextcloud/scrollPart2
Hide on scrolling for activities and notifications
2020-06-26 08:39:57 +02:00
Tobias Kaminsky 21f2ce7425 daily dev 20200626
changes due to CR
Removed legacy login cleaned up a bit AuthenticatorActivity
add null check
fix OCP_OVERLY_CONCRETE_PARAMETER
use fixed spotbug version
fix tests
make function puplic for testing
Fix zoom, toggle background
Removed possible NPE
removed duplicated sort/switch grid buttons
Changes due to CR
Hide on scrolling, fix https://github.com/nextcloud/android/issues/6238
use view instead of linear layout as common parent
Update translations
Update 3rd-party dependencies
2020-06-26 03:40:15 +02:00
Tobias Kaminsky 8ba7eb619e Merge remote-tracking branch 'origin/master' into dev 2020-06-26 03:30:48 +02:00
Chris Narkiewicz 5609b5041e Fix NPE in OCFileListFragment when OCFile is null
1. Fixed NPE
2. Audited all use of nullable field in all called APIs
3. Updated called APIs nullability documentation

Fixes #6282

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-06-25 22:55:08 +01:00
tobiasKaminsky d36c2d35a5 Hide on scrolling for activities and notifications
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 23:44:03 +02:00
tobiasKaminsky 741cc24d11 fix #5468
if we have no activity, do nothing

Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 23:36:05 +02:00
Andy Scherzinger 5288548e70 Merge pull request #6338 from nextcloud/legacyLoginFlow
Removed legacy login
2020-06-25 23:33:57 +02:00
nextcloud-android-bot e0d5676151 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-25 21:18:34 +00:00
tobiasKaminsky 7ed4e2b24e changes due to CR
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 22:57:48 +02:00
tobiasKaminsky 58ba15ac95 Removed legacy login
cleaned up a bit AuthenticatorActivity

Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 22:57:22 +02:00
Andy Scherzinger fe1cd33c26 Merge pull request #6344 from nextcloud/ocp
fix OCP_OVERLY_CONCRETE_PARAMETER
2020-06-25 20:30:34 +02:00
Andy Scherzinger c3f838d445 Merge pull request #6349 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.4.3
Bump spotbugs-gradle-plugin from 4.3.0 to 4.4.3
2020-06-25 20:29:45 +02:00
Andy Scherzinger 2f60b75fc5 add null check 2020-06-25 18:55:50 +02:00
nextcloud-android-bot f6e7c44596 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-25 16:55:05 +00:00
tobiasKaminsky 1017e3ac3b fix OCP_OVERLY_CONCRETE_PARAMETER
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 18:45:28 +02:00
Andy Scherzinger 2913918232 Merge pull request #6361 from nextcloud/fixZoom
Fix zoom, toggle background
2020-06-25 17:12:00 +02:00
tobiasKaminsky ca7350fa8a use fixed spotbug version
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 16:52:12 +02:00
dependabot-preview[bot] 2c5fb2b2f9 Bump spotbugs-gradle-plugin from 4.3.0 to 4.4.3
Bumps spotbugs-gradle-plugin from 4.3.0 to 4.4.3.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-06-25 16:52:12 +02:00
Tobias Kaminsky d70502f747 Merge pull request #6262 from nextcloud/hideOnScrolling
Hide on scrolling
2020-06-25 16:18:40 +02:00
tobiasKaminsky 38c28332e2 fix tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 15:57:46 +02:00
tobiasKaminsky bd5c9dfa1e make function puplic for testing
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 15:22:58 +02:00
tobiasKaminsky db4a7ee8f5 Fix zoom, toggle background
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 15:17:54 +02:00
Andy Scherzinger 066fef03c2 Merge pull request #6359 from nextcloud/photoBugfix
use view instead of linear layout as common parent
2020-06-25 13:44:32 +02:00
nextcloud-android-bot 741fb410f1 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-25 11:13:55 +00:00
nextcloud-android-bot 961e6c179a Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-25 13:00:04 +02:00
tobiasKaminsky 22657040bd Removed possible NPE
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 12:59:54 +02:00
tobiasKaminsky a9dc3f5787 removed duplicated sort/switch grid buttons
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 12:59:54 +02:00
tobiasKaminsky e5ec91b5a7 Changes due to CR
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 12:59:54 +02:00
tobiasKaminsky 1ecd64f128 Hide on scrolling, fix https://github.com/nextcloud/android/issues/6238
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 12:59:54 +02:00
tobiasKaminsky 6dfb4c7ef6 use view instead of linear layout as common parent
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-25 12:48:40 +02:00
Nextcloud bot 56a1fc868d [tx-robot] updated from transifex 2020-06-25 03:28:24 +00:00
Tobias Kaminsky 7140340c59 daily dev 20200625
Remove useless parents
fix USBR_UNNECESSARY_STORE_BEFORE_RETURN
remove unused constants
fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD
on user share permission: unshare as destructive option on bottom
Use same search hint as on server
rich workspace not in folder picker activity
#6247 View Binding - Fix new SpotBugs performance warning (unread field)
fix LSC_LITERAL_STRING_COMPARISON
#6247 View Binding - Remove unused imports
#6247 View Binding - SendButtonAdapter.ViewHolder
#6247 View Binding - AccountItemBinding & AccountActionBinding
#6247 View Binding - ConflictResolveDialogBinding
Combined ShareActivity with FileDetailSharingFragment as much as possible
Update Nextcloud Android library
2020-06-25 03:40:02 +02:00
Tobias Kaminsky 360f9dab90 Merge remote-tracking branch 'origin/master' into dev 2020-06-25 03:31:45 +02:00
Andy Scherzinger 83d4aaf1ab Merge pull request #6345 from nextcloud/usbr
fix USBR_UNNECESSARY_STORE_BEFORE_RETURN
2020-06-24 23:18:08 +02:00
Andy Scherzinger 01d9d2e437 Merge pull request #6347 from nextcloud/uselessParent
Remove useless parents
2020-06-24 23:15:04 +02:00
nextcloud-android-bot 98d930b8ab Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-24 21:00:09 +00:00
nextcloud-android-bot 0fa902d2d2 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-24 20:58:48 +00:00
tobiasKaminsky 1f5352f2ec Remove useless parents
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-24 22:05:37 +02:00
tobiasKaminsky 72fce1dd1e fix USBR_UNNECESSARY_STORE_BEFORE_RETURN
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-24 21:54:56 +02:00
Andy Scherzinger 9e633b91b5 Merge pull request #6342 from nextcloud/view-binding
View binding
2020-06-24 20:28:20 +02:00
Andy Scherzinger 37fdd97c29 Merge pull request #6355 from nextcloud/unshareOnBottom
on user share permission: unshare as destructive option on bottom
2020-06-24 20:22:20 +02:00
Andy Scherzinger cb0ae700db Merge pull request #6346 from nextcloud/urf
fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD
2020-06-24 17:21:41 +02:00
nextcloud-android-bot 9f3e1857db Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-24 15:17:33 +00:00
Andy Scherzinger f0a608acde remove unused constants
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-24 17:00:38 +02:00
tobiasKaminsky 4a791dda86 fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-24 16:45:15 +02:00
Andy Scherzinger 3e05624064 Merge pull request #6351 from nextcloud/castException
rich workspace not in folder picker activity
2020-06-24 12:52:36 +02:00
Andy Scherzinger 33dfc9651a Merge pull request #6353 from nextcloud/userSearchText
Use same search hint as on server
2020-06-24 12:49:21 +02:00
tobiasKaminsky 14172fd1f0 on user share permission: unshare as destructive option on bottom
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-24 11:51:53 +02:00
tobiasKaminsky b18ff7404e Use same search hint as on server
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-24 10:58:24 +02:00
Tobias Kaminsky ed8819ec86 Merge pull request #6327 from nextcloud/combineShare
Combined ShareActivity with FileDetailSharingFragment as much as possible
2020-06-24 10:43:24 +02:00
tobiasKaminsky a424706368 rich workspace not in folder picker activity
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-24 07:56:58 +02:00
Andy Scherzinger 7ced94d42e Merge pull request #6343 from nextcloud/lsc
fix LSC_LITERAL_STRING_COMPARISON
2020-06-24 06:56:54 +02:00
Tobias Kaminsky 86ebd24f2d daily dev 20200624
Fixed NPE when hiding ssl cert
#6247 View Binding - Fix codacy issue
#6247 View Binding - FileDisplayActivity and partial Ssl views
Fix improper deleting synced folder by OfflineSyncWork
Remove redundant style
color nav bar
Update Nextcloud Android library
2020-06-24 03:40:08 +02:00
Tobias Kaminsky 99d6c1c5fd Merge remote-tracking branch 'origin/master' into dev 2020-06-24 03:31:44 +02:00
Stefan Niedermann 0aed8aaa86 #6247 View Binding - Fix new SpotBugs performance warning (unread field)
Signed-off-by: Stefan Niedermann <[email protected]>
2020-06-23 18:21:22 +02:00
nextcloud-android-bot c5abe938bd Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-23 14:30:27 +00:00
tobiasKaminsky 4e52f7f970 fix LSC_LITERAL_STRING_COMPARISON
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-23 14:59:02 +02:00
Stefan Niedermann a43933082d #6247 View Binding - Remove unused imports
Signed-off-by: Stefan Niedermann <[email protected]>
2020-06-23 14:10:18 +02:00
Stefan Niedermann 374bb21c33 #6247 View Binding - SendButtonAdapter.ViewHolder
Signed-off-by: Stefan Niedermann <[email protected]>
2020-06-23 14:01:45 +02:00
Stefan Niedermann 558f1775de #6247 View Binding - AccountItemBinding & AccountActionBinding
Signed-off-by: Stefan Niedermann <[email protected]>
2020-06-23 11:15:03 +02:00
Stefan Niedermann 934e1f406a #6247 View Binding - ConflictResolveDialogBinding
Signed-off-by: Stefan Niedermann <[email protected]>
2020-06-23 10:51:40 +02:00
tobiasKaminsky 7732ff065b Combined ShareActivity with FileDetailSharingFragment as much as possible
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-23 10:47:43 +02:00
Tobias Kaminsky 9e6fa5c769 Merge pull request #6281 from nextcloud/view-binding
#6247 View Binding - FileDisplayActivity and partial Ssl views
2020-06-23 10:36:08 +02:00
Tobias Kaminsky 59fddce138 Merge pull request #6243 from nextcloud/navBar
color nav bar
2020-06-23 10:30:52 +02:00
tobiasKaminsky e503106960 Fixed NPE when hiding ssl cert
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-23 09:23:59 +02:00
Stefan Niedermann 96aecac8ed #6247 View Binding - Fix codacy issue
Signed-off-by: Stefan Niedermann <[email protected]>
2020-06-23 09:23:59 +02:00
Stefan Niedermann ab3dff9e1b #6247 View Binding - FileDisplayActivity and partial Ssl views 2020-06-23 09:23:59 +02:00
Tobias Kaminsky 2bbaf7b21d Merge pull request #6335 from stephanritscher/fix-deleting-synced-folder
Fix improper deleting synced folder by OfflineSyncWork
2020-06-23 08:12:21 +02:00
Stephan Ritscher 9370cbab09 Fix improper deleting synced folder by OfflineSyncWork 2020-06-22 21:09:41 +02:00
Tobias Kaminsky a04f52915a daily dev 20200620
minor changes to build.gradle and fixed type on uploadReport.sh
minor changes to build.gradle
Use always recommended spotbug version, defined by plugin exclude data binding generated classes
Fixed Lint: MissingClass: Missing registered class Range: Outside Range UseAppTint: app:tint attribute should be used on ImageView UseCompatLoadingForDrawables UseCompatTextViewDrawableXml
Fix spotbugs output
update combinedTestReport
change to newer spotbugs
change Gradle to 6.1.1
Update Nextcloud Android library
Update 3rd-party dependencies
2020-06-20 03:43:55 +02:00
Tobias Kaminsky 0de60103b1 Merge remote-tracking branch 'origin/master' into dev 2020-06-20 03:32:16 +02:00
Tobias Kaminsky 388301082d Merge pull request #6322 from nextcloud/bountysource
Do not advertise bountyscource, but NC include
2020-06-19 13:00:32 +02:00
tobiasKaminsky 4bdd27ffe0 Do not advertise bountyscource, but NC include
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 12:59:41 +02:00
Andy Scherzinger fb1bb6905c Merge pull request #6180 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-4.0.0
Bump gradle from 3.6.3 to 4.0.0
2020-06-19 12:23:56 +02:00
nextcloud-android-bot 3a28b84e9d Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-19 09:29:38 +00:00
tobiasKaminsky 94d7506cb5 fix after rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:16:34 +02:00
tobiasKaminsky ab0ea3e8d9 minor changes to build.gradle and fixed type on uploadReport.sh
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:05:47 +02:00
tobiasKaminsky eb08f75257 minor changes to build.gradle
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:03:24 +02:00
tobiasKaminsky e40893a136 Use always recommended spotbug version, defined by plugin
exclude data binding generated classes

Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:03:24 +02:00
tobiasKaminsky 5f185326ab Fixed Lint:
MissingClass: Missing registered class
Range: Outside Range
UseAppTint: app:tint attribute should be used on ImageView
UseCompatLoadingForDrawables
UseCompatTextViewDrawableXml

Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:03:22 +02:00
tobiasKaminsky a9f689044d Delete old comments for corresponding type
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:03:07 +02:00
tobiasKaminsky 7360bbabfe Fix spotbugs output
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:03:07 +02:00
tobiasKaminsky 0f9ec55d7a update combinedTestReport
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:03:07 +02:00
tobiasKaminsky 7802fabf0e if multiple apksigner are available, use newest one
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:03:07 +02:00
tobiasKaminsky f6f401aa0d change to newer spotbugs
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:03:07 +02:00
tobiasKaminsky 123593fc4e change Gradle to 6.1.1
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-19 11:03:06 +02:00
dependabot-preview[bot] a9b8bf7f3a Bump gradle from 3.6.3 to 4.0.0
Bumps gradle from 3.6.3 to 4.0.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-06-19 11:03:06 +02:00
Andy Scherzinger 0630142792 Merge pull request #6320 from nextcloud/dependabot/gradle/net.bytebuddy-byte-buddy-1.10.12
Bump byte-buddy from 1.10.11 to 1.10.12
2020-06-19 09:56:47 +02:00
Tobias Kaminsky 94dfdd88a6 daily dev 20200619
check if activity is running before showing dialog
Migrate ContactsPreferenceActivity startup to type-safe API
Show "photos" in title
centralize intent creation for - FileUploader - ConflictsResolveActivity
Update translations
2020-06-19 03:37:42 +02:00
Tobias Kaminsky 33d5826337 Merge remote-tracking branch 'origin/master' into dev 2020-06-19 03:30:43 +02:00
dependabot-preview[bot] 7306bc096d Bump byte-buddy from 1.10.11 to 1.10.12
Bumps [byte-buddy](https://github.com/raphw/byte-buddy) from 1.10.11 to 1.10.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.10.11...byte-buddy-1.10.12)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-06-19 01:13:00 +00:00
Joris Bodin a475af6ac6 Remove redundant style
Signed-off-by: Joris Bodin <[email protected]>
2020-06-18 11:02:52 +02:00
Andy Scherzinger c048fe2121 Merge pull request #6256 from nextcloud/clickConflictNotification
fix #5281: click on conflict notification opens conflict dialog directly
2020-06-18 09:26:58 +02:00
Tobias Kaminsky ace90ef2ad Merge pull request #6306 from nextcloud/fixBatteryDialog
check if activity is running before showing dialog
2020-06-18 07:06:47 +02:00
Tobias Kaminsky 1b1a58ed8c Merge pull request #6289 from nextcloud/ezaquarii/migrate-contacts-preference-activity-startup-to-type-safe-api
Migrate ContactsPreferenceActivity startup to type-safe API
2020-06-18 07:03:58 +02:00
tobiasKaminsky 6e7cdededb color nav bar
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-18 06:57:43 +02:00
Tobias Kaminsky cc06c8b613 Merge pull request #6283 from nextcloud/fixPhotoviewTitle
Show "photos" in title
2020-06-18 06:54:58 +02:00
Nextcloud bot 347abae8aa [tx-robot] updated from transifex 2020-06-18 03:28:10 +00:00
Tobias Kaminsky b65fd5bd46 daily dev 20200618
Theme refresh bugfix
Fix appbar photos view when enter in background
remove unneeded linearLayout id
Drop Android 4.2 support
Use MaterialButton for addAccount action in accounts screen
Add touch states to file_list_actions_bottom_sheet
tint first run
perperly align 3-dot menu of folder items
Update translations
Update 3rd-party dependencies
2020-06-18 03:38:57 +02:00
Tobias Kaminsky 6d3c96c8f3 Merge remote-tracking branch 'origin/master' into dev 2020-06-18 03:30:42 +02:00
Andy Scherzinger 6a6913b17e Merge pull request #6303 from thgoebel/bottom-sheet-touch
Add touch states to file_list_actions_bottom_sheet
2020-06-17 18:53:25 +02:00
Andy Scherzinger 28279bc3c1 Merge pull request #6284 from nextcloud/fixPhotoViewAppbar
Fix appbar photos view when enter in background
2020-06-17 16:55:18 +02:00
Andy Scherzinger 663537f304 Merge pull request #6209 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.37.0
Bump ktlint from 0.36.0 to 0.37.0
2020-06-17 16:54:38 +02:00
Andy Scherzinger 39bb258648 Merge pull request #6231 from nextcloud/theme-refresh
Theme refresh bugfix
2020-06-17 16:53:51 +02:00
Andy Scherzinger a33cc9d278 Merge pull request #6309 from nextcloud/layout
remove unneeded linearLayout id
2020-06-17 16:53:06 +02:00
Andy Scherzinger 73c22d4e8f Merge pull request #6307 from thgoebel/addaccount-materialbutton
Use MaterialButton for addAccount action in accounts screen
2020-06-17 16:37:28 +02:00
Andy Scherzinger 7b88e39572 Merge pull request #6278 from nextcloud/enh/dropAndroid42
Drop Android 4.2 support
2020-06-17 15:35:51 +02:00
Daniel Bailey 6f31f92a3f Theme refresh bugfix
Removed call to setLocalNightMode from DrawerActivity to allow the theme
setting to be done by SettingsActivity and the following activity
recreation to be handled by BaseActivity.

Signed-off-by: Daniel Bailey <[email protected]>
2020-06-17 14:33:19 +02:00
Tobias Kaminsky f499fb3ee8 Merge pull request #6265 from nextcloud/fix/iconAlignment
Properly align 3-dot menu of folder items
2020-06-17 14:26:36 +02:00
Tobias Kaminsky d053177cf7 Merge pull request #6296 from nextcloud/tintFirstRun
tint first run
2020-06-17 14:25:41 +02:00
nextcloud-android-bot 8e5f893812 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-06-17 12:12:39 +00:00
Joris Bodin 7f1ba75b7d Fix appbar photos view when enter in background
Signed-off-by: Joris Bodin <[email protected]>
2020-06-17 12:21:32 +02:00
tobiasKaminsky b6b57fa06e remove unneeded linearLayout id
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-17 11:06:38 +02:00
Andy Scherzinger adac921f5c Drop Android 4.2 support
Resolves #6276

Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-17 10:58:35 +02:00
dependabot-preview[bot] 78b879d10f Bump ktlint from 0.36.0 to 0.37.2
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.36.0 to 0.37.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.36.0...0.37.0)

changed to new syntax

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-17 10:45:36 +02:00
Thore Goebel 7c5948b61a Use MaterialButton for addAccount action in accounts screen 2020-06-17 09:00:35 +02:00
tobiasKaminsky 0b15433cda check if activity is running before showing dialog
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-17 07:57:15 +02:00
Nextcloud bot 228a44fc87 [tx-robot] updated from transifex 2020-06-17 03:26:05 +00:00
Tobias Kaminsky fbb3a339bc daily dev 20200617
remove non needed exceptions
Split off of #5150
Update translations
Update Nextcloud Android library
2020-06-17 03:40:21 +02:00
Tobias Kaminsky 5d9d094f42 Merge remote-tracking branch 'origin/master' into dev 2020-06-17 03:32:15 +02:00
Thore Goebel 094416e8e3 Add touch states to file_list_actions_bottom_sheet 2020-06-16 18:06:01 +02:00
Tobias Kaminsky 2d6c25ab0f Merge pull request #6300 from nextcloud/nextcloudClientNonBlocking
remove non needed exceptions
2020-06-16 15:40:18 +02:00
tobiasKaminsky 34eaf9d6db remove non needed exceptions
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-16 14:49:01 +02:00
Tobias Kaminsky 3ae47b3f9a Merge pull request #5336 from nextcloud/fdsTests
Fds tests
2020-06-16 08:44:26 +02:00
Joris Bodin 37bf0dde69 Split off of #5150
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-16 08:09:42 +02:00
Tobias Kaminsky eec9e940fd Merge pull request #6298 from nextcloud/fixDroneScreenshots
add missing " to fix drone
2020-06-16 08:09:22 +02:00
tobiasKaminsky f608b3916e add missing " to fix drone
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-16 08:08:40 +02:00
Nextcloud bot 81764b4872 [tx-robot] updated from transifex 2020-06-16 03:27:49 +00:00
tobiasKaminsky fd7cf51a4b tint first run
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-15 16:23:30 +02:00
Nextcloud bot 09c48e65d4 [tx-robot] updated from transifex 2020-06-15 03:27:03 +00:00
Chris Narkiewicz 3e3d80d08c Migrate ContactsPreferenceActivity startup to type-safe API
This change addresses #6277 bug in more comprehensible way.
All calls to Context.startActivity(...) starthing
ContactsPreferenceActivity are replaced with type-safe
calls to static ContactsPreferenceActivity.startActivity*
sets of APIs.

No client code should be calling `Intent(..., ContactsPreferenceActivity.class)`
constructor anymore.

See #5866 for discussion about the pattern used in this PR.

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-06-13 17:42:24 +01:00
Joris Bodin fa9804d742 Show "photos" in title
Signed-off-by: Joris Bodin <[email protected]>
2020-06-12 15:25:44 +02:00
Nextcloud bot 983a35517d [tx-robot] updated from transifex 2020-06-11 03:26:48 +00:00
Tobias Kaminsky 49a93485c4 daily dev 20200611
add lint ignore for newApi within build dir
Ignore RestrictedApiCheck for generated files
Check also generated sources to avoid unused resources warning
Add account: grey color align text
Fix unit tests
#6247 View Binding - ShareFileFragment (Remove Jetbrains annotation)
#6247 View Binding - ShareFileFragment
Update translations
Update Nextcloud Android library
2020-06-11 03:40:38 +02:00
Tobias Kaminsky a2487ff457 Merge remote-tracking branch 'origin/master' into dev 2020-06-11 03:32:07 +02:00
Andy Scherzinger 7d000f964e perperly align 3-dot menu of folder items
Fixes #6259

Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-10 17:52:48 +02:00
Andy Scherzinger d65d917b81 Merge pull request #6249 from nextcloud/view-binding
#6247 View Binding - ShareFileFragment
2020-06-10 17:26:46 +02:00
Andy Scherzinger 5f74c93664 Merge pull request #6245 from nextcloud/manageAccount
Add account: grey color & align text
2020-06-10 17:26:01 +02:00
Andy Scherzinger a71933d075 Merge pull request #6261 from nextcloud/changelog-master-stable-3.12.0
Add changelog for 3.12.0
2020-06-10 10:28:40 +02:00
tobiasKaminsky 0f06180ba3 Add changelog for 3.12.0
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-10 10:12:05 +02:00
tobiasKaminsky 5d8883e8c2 add lint ignore for newApi within build dir
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-10 09:09:56 +02:00
Stefan Niedermann 8a70f22cc3 Ignore RestrictedApiCheck for generated files
https://stackoverflow.com/a/53193227
2020-06-10 09:06:43 +02:00
Stefan Niedermann b508452eb0 Check also generated sources to avoid unused resources warning
https://stackoverflow.com/a/53193227
2020-06-10 08:20:55 +02:00
Andy Scherzinger 270c8a36d2 update screenshot
Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-10 07:30:47 +02:00
tobiasKaminsky 4d9fc70376 Add account: grey color
align text

Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-10 07:30:47 +02:00
Tobias Kaminsky c289e61b39 Merge pull request #6257 from nextcloud/fixUnitTests
Fix unit tests
2020-06-10 07:29:40 +02:00
tobiasKaminsky 5aeba5e021 enhance uploadReport script
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-10 07:12:36 +02:00
Nextcloud bot 740c3fe2ba [tx-robot] updated from transifex 2020-06-10 03:29:39 +00:00
Tobias Kaminsky b633ebd86b daily dev 20200610
replace edge colors
remove action_sort
Fix crash when creating client
Update translations
Update 3rd-party dependencies
2020-06-10 03:39:31 +02:00
Tobias Kaminsky 77ab8116cc Merge remote-tracking branch 'origin/master' into dev 2020-06-10 03:30:43 +02:00
Andy Scherzinger 613b98ae1b Merge pull request #6254 from nextcloud/replaceEdgeColors
replace edge colors
2020-06-09 20:37:29 +02:00
tobiasKaminsky 5ba2aff146 Fix unit tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-09 16:35:11 +02:00
Andy Scherzinger 29ed661cec Merge pull request #6236 from nextcloud/dependabot/gradle/com.karumi-shot-4.3.0
Bump shot from 4.1.1 to 4.3.0
2020-06-09 14:36:39 +02:00
tobiasKaminsky e95caf3572 centralize intent creation for
- FileUploader
- ConflictsResolveActivity

fix #5281: click on conflict notification opens conflict dialog directly

Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-09 14:13:23 +02:00
Andy Scherzinger 5472ec40e2 Merge pull request #6221 from nextcloud/removeSortSwitch
remove action_sort
2020-06-09 14:04:38 +02:00
tobiasKaminsky f028eefd83 replace edge colors
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-09 12:11:58 +02:00
dependabot-preview[bot] 2e8fd6aba1 Bump shot from 4.1.1 to 4.3.0
Bumps [shot](https://github.com/karumi/shot) from 4.1.1 to 4.3.0.
- [Release notes](https://github.com/karumi/shot/releases)
- [Changelog](https://github.com/Karumi/Shot/blob/master/release.gradle)
- [Commits](https://github.com/karumi/shot/compare/4.1.1...4.3.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-06-09 08:23:42 +02:00
Tobias Kaminsky 3965af0cfc Merge pull request #6214 from nextcloud/fixods
Fix crash when creating client
2020-06-09 08:03:33 +02:00
tobiasKaminsky fe8b0fba77 remove action_sort
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-09 08:00:55 +02:00
Nextcloud bot 6f9db5475e [tx-robot] updated from transifex 2020-06-09 03:27:26 +00:00
Tobias Kaminsky 75ce22d2db daily dev 20200609
use check arrow for chosen account
Update translations
2020-06-09 03:37:23 +02:00
Tobias Kaminsky 9801bbef76 Merge remote-tracking branch 'origin/master' into dev 2020-06-09 03:30:42 +02:00
Stefan Niedermann a0bf78e7b4 Merge remote-tracking branch 'origin/view-binding' into view-binding
# Conflicts:
#	src/main/java/com/owncloud/android/ui/fragment/ShareFileFragment.java
2020-06-08 19:52:07 +02:00
Stefan Niedermann 8b1396f73a #6247 View Binding - ShareFileFragment (Remove Jetbrains annotation)
Signed-off-by: Stefan Niedermann <[email protected]>
2020-06-08 19:45:24 +02:00
Stefan Niedermann b13e828b87 #6247 View Binding - ShareFileFragment
Signed-off-by: Stefan Niedermann <[email protected]>
2020-06-08 19:45:24 +02:00
Stefan Niedermann 53fcf81b75 #6247 View Binding - ShareFileFragment 2020-06-08 14:24:07 +02:00
Andy Scherzinger 3c0415e417 Merge pull request #6246 from nextcloud/accountChosenStreamline
use check arrow for chosen account
2020-06-08 11:51:53 +02:00
tobiasKaminsky ec12ad56d4 use check arrow for chosen account
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-08 10:03:38 +02:00
tobiasKaminsky 8cec637c24 manually increase findbugs
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-08 08:43:12 +02:00
Nextcloud bot 392961dbe6 [tx-robot] updated from transifex 2020-06-08 03:26:05 +00:00
Nextcloud bot d2f1f33ef0 [tx-robot] updated from transifex 2020-06-07 03:27:06 +00:00
Tobias Kaminsky 45ef15cd66 daily dev 20200607
Fix format
Added some tool hints for easier development
Update translations
2020-06-07 03:37:58 +02:00
Tobias Kaminsky 36eaee63b6 Merge remote-tracking branch 'origin/master' into dev 2020-06-07 03:30:44 +02:00
Andy Scherzinger ec5dcefc7d Merge pull request #6226 from nextcloud/tool-hints
Added some tool hints for easier development
2020-06-06 09:19:57 +02:00
Nextcloud bot 1671ba29c8 [tx-robot] updated from transifex 2020-06-06 03:29:33 +00:00
Tobias Kaminsky 6bd0fd9eb6 daily dev 20200606
set gradient via imageview for markdown previews
invert activity icon on dark mode removed outer white border on shared_via_ink
split up unit&IT tests from screenshot tests
drone/ updateScreenshot update
fix #6137
Fix after rebase
Add local variable for storageManager
Add etag column to capabilities table
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-06-06 03:41:58 +02:00
Tobias Kaminsky 5adef2978a Merge remote-tracking branch 'origin/master' into dev 2020-06-06 03:32:13 +02:00
Stefan Niedermann d2a56f871b Fix format
Signed-off-by: Stefan Niedermann <[email protected]>
2020-06-05 19:55:30 +02:00
Stefan Niedermann 94e72e9293 Added some tool hints for easier development
Signed-off-by: Stefan Niedermann <[email protected]>
2020-06-05 19:55:30 +02:00
Andy Scherzinger ddb8ee9fd1 Merge pull request #6222 from nextcloud/fix/MarkdwondPreview
set gradient via imageview for markdown previews
2020-06-05 15:52:19 +02:00
Andy Scherzinger f07c535fba Merge pull request #6224 from nextcloud/invertActivity
Activity stream on dark mode
2020-06-05 15:47:26 +02:00
Andy Scherzinger 94b31a0a37 set gradient via imageview for markdown previews
Fixes #6034

Signed-off-by: Andy Scherzinger <[email protected]>
2020-06-05 13:36:39 +02:00
tobiasKaminsky b625cdaddb invert activity icon on dark mode
removed outer white border on shared_via_ink

Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-05 12:08:49 +02:00
Andy Scherzinger 3d5d6ea739 Merge pull request #6220 from nextcloud/dependabot/gradle/net.bytebuddy-byte-buddy-1.10.11
Bump byte-buddy from 1.10.10 to 1.10.11
2020-06-05 11:16:26 +02:00
Andy Scherzinger cad9e59435 Merge pull request #6218 from nextcloud/moveFails
Fix move/copy to root folder
2020-06-05 08:59:35 +02:00
Tobias Kaminsky b996cced68 Merge pull request #5927 from nextcloud/dependabot/gradle/com.karumi-shot-4.1.1
Bump shot from 3.1.0 to 4.1.1
2020-06-05 08:40:27 +02:00
tobiasKaminsky 80d83e4721 split up unit&IT tests from screenshot tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-05 08:06:42 +02:00
tobiasKaminsky d0f3a00637 drone/ updateScreenshot update
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-05 08:06:42 +02:00
dependabot-preview[bot] ee6e5311b8 Bump shot from 3.1.0 to 4.1.1
Bumps [shot](https://github.com/karumi/shot) from 3.1.0 to 4.1.1.
- [Release notes](https://github.com/karumi/shot/releases)
- [Changelog](https://github.com/Karumi/Shot/blob/master/release.gradle)
- [Commits](https://github.com/karumi/shot/compare/3.1.0...4.1.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-06-05 08:06:42 +02:00
Tobias Kaminsky d1f17df63c Merge pull request #6035 from nextcloud/enh/capabilities-etag
Add etag column to capabilities table
2020-06-05 07:28:06 +02:00
Nextcloud bot 409947cb10 [tx-robot] updated from transifex 2020-06-05 03:26:17 +00:00
Tobias Kaminsky 9016b98cb1 daily dev 20200605
show rich workspace in grid spanned across first row
Adjusted one comment
Fixed a bug relative to actionmode + Enhanced actionmode behaviour
ReceiveExternalFiles to new layout
Upload list activity: new sort / switch button
set sorting button text for trashbin activity, extract button text logic to utils method
Fix lint
Fix onResume FileDetailFragment
Improve google style
Fix appbar when show FileDetailFragment
Fix contextual action bar theme
Appbar like google and fix property file appbar
change trashbin view to new layout
Update translations
2020-06-05 03:37:21 +02:00
Tobias Kaminsky 389b0efe14 Merge remote-tracking branch 'origin/master' into dev 2020-06-05 03:30:43 +02:00
dependabot-preview[bot] ba6a38de64 Bump byte-buddy from 1.10.10 to 1.10.11
Bumps [byte-buddy](https://github.com/raphw/byte-buddy) from 1.10.10 to 1.10.11.
- [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.10.10...byte-buddy-1.10.11)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-06-05 01:12:18 +00:00
Andy Scherzinger f0f700900f Merge pull request #6216 from nextcloud/richworkspacesFirstRow
show rich workspace in grid spanned across first row
2020-06-04 21:03:25 +02:00
Andy Scherzinger 27214ae138 Merge pull request #6193 from nextcloud/receiveExternalChange
Sort/list change for ReceiveExternalFilesActivity.java
2020-06-04 19:08:32 +02:00
tobiasKaminsky d446d9eae9 show rich workspace in grid spanned across first row
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-04 16:51:37 +02:00
Andy Scherzinger 352cdb6332 Merge pull request #6213 from nextcloud/fix/action-mode-crash
Fixed a bug relative to actionmode + Enhanced actionmode behaviour
2020-06-04 16:43:51 +02:00
tobiasKaminsky 20a63a6cde fix #6137
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-04 16:31:44 +02:00
tobiasKaminsky 07dc18339a Fix crash when creating client
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-04 15:44:03 +02:00
Kilian P 1dd3c986c4 Adjusted one comment 2020-06-04 15:35:07 +02:00
Kilian Périsset 6a6231ef5e Fixed a bug relative to actionmode + Enhanced actionmode behaviour
Signed-off-by: Kilian Périsset <[email protected]>
2020-06-04 15:28:34 +02:00
tobiasKaminsky 2a3fd4287e Fix after rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-04 15:16:57 +02:00
Daniel Kesselberg a86038ebab Add local variable for storageManager
Signed-off-by: Daniel Kesselberg <[email protected]>
2020-06-04 15:14:57 +02:00
Daniel Kesselberg ca8a89b930 Add etag column to capabilities table
Signed-off-by: Daniel Kesselberg <[email protected]>
2020-06-04 15:14:55 +02:00
tobiasKaminsky 8a09c3fdfd ReceiveExternalFiles to new layout
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: Joris Bodin <[email protected]>
2020-06-04 13:45:15 +02:00
Andy Scherzinger 80d4dd5908 Merge pull request #6207 from nextcloud/pixelPerfectAndBugFix
Appbar - Pixel perfect and bug fix
2020-06-04 11:01:19 +02:00
Andy Scherzinger 16794043fe Merge pull request #6203 from nextcloud/uploadsNewLayout
Upload list activity: new sort / switch button
2020-06-04 10:59:01 +02:00
tobiasKaminsky f0f77098bb Upload list activity: new sort / switch button
Signed-off-by: tobiasKaminsky <[email protected]>
2020-06-04 08:15:06 +02:00
Tobias Kaminsky b0ac12f933 daily dev 20200604
invert if to make it more readable
only scroll to position, if highlighted item exists
Replaced primary color by element color for chosen Sort-By element
Applied a new fallback color for DarkMode
Update translations
Update Nextcloud Android library
2020-06-04 03:40:14 +02:00
Tobias Kaminsky d968dc20b3 Merge remote-tracking branch 'origin/master' into dev 2020-06-04 03:32:07 +02:00
Joris Bodin 7739d87cbb Fix lint
Signed-off-by: Joris Bodin <[email protected]>
2020-06-03 17:12:04 +02:00
Joris Bodin cff3d8f588 Fix onResume FileDetailFragment
Signed-off-by: Joris Bodin <[email protected]>
2020-06-03 17:04:37 +02:00
Joris Bodin 3e55fad482 Improve google style
Signed-off-by: Joris Bodin <[email protected]>
2020-06-03 16:49:23 +02:00
Joris Bodin 212671813b Fix appbar when show FileDetailFragment
Signed-off-by: Joris Bodin <[email protected]>
2020-06-03 16:40:45 +02:00
Joris Bodin 8d6e4a9b6e Fix contextual action bar theme
Signed-off-by: Joris Bodin <[email protected]>
2020-06-03 16:30:24 +02:00
Joris Bodin 72ddb14d95 Appbar like google and fix property file appbar
Signed-off-by: Joris Bodin <[email protected]>
2020-06-03 16:30:24 +02:00
Tobias Kaminsky e9734ffb00 daily dev 20200603
fix search related items in drawer
Removed unused items in FileDisplayActivity + Fixed some bugs
Fixed lint
Removed startSynchronization method
Removed unused Sync account + Fixed a display inconsistency bug
Increased searchview width when deployed
Restructured options menu + Removed unused items
Update translations
2020-06-03 03:37:27 +02:00
Tobias Kaminsky 89eaa947e1 Merge remote-tracking branch 'origin/master' into dev 2020-06-03 03:30:42 +02:00
Tobias Kaminsky 134286eff1 daily dev 20200530
exclude all files for backup
Do not show rich workspace when "on devices"
correct empty message for "on devices"
2020-05-30 03:37:18 +02:00
Tobias Kaminsky fe20249af3 Merge remote-tracking branch 'origin/master' into dev 2020-05-30 03:30:41 +02:00
Tobias Kaminsky af14a5ae95 daily dev 20200529
synced folder dialog, if disabled: - do not allow to click on any item - checkboxes are grey
refresh favorites result in actually reloading favorites
Fixed the color for Drawer Quota + fixed a global bug about color
Replaced the logo and header drawer background/color
Adjusted drawer quota font-size + Formated Drawer XML code
Fixed spotbugs useless issue
Fixed Android Studio lint
Adjusted drawer menu item tint management
Increased the Drawer Quota progressbar height
Replaced Drawer logo color by Primary one (with white-replace)
Fixed some Drawer errors due to clean
Added Drawer logo description
Removed the Drawer profiles part + removed unused code
Remove deprecated method and fix color in light
Refactor UploadFilesActivity
fix test
fix favorite star to top
re-arrange code
hide share icon in grid mode
Update Nextcloud Android library
Update 3rd-party dependencies
2020-05-29 03:40:29 +02:00
Tobias Kaminsky 9ed8713503 Merge remote-tracking branch 'origin/master' into dev 2020-05-29 03:32:08 +02:00
Tobias Kaminsky bb83592db3 daily dev 20200527
Revert "Fixed unused resources linter warning"
Fixed unused resources linter warning
Implemented "Switch to account" feature in Accounts list
Fix #6147
Fix lint
- disabling test_orchestrator - E2E tests only on NC19+ - fixed Tests
Improve design
Fixed definitively KTLint errors
Enhanced code syntax
Fixed Spotbugs and KtLint reports
Aligned icons + Cleaned code + Implemented listeners
Implemented ChooseAccountFragment dialog + Fixed some things around accounts management
do not let media scanner throw an exception as otherwise upload fails
Update translations
2020-05-27 03:47:28 +02:00
Tobias Kaminsky 2d3aef36f6 Merge remote-tracking branch 'origin/master' into dev 2020-05-27 03:40:55 +02:00
Tobias Kaminsky 74e7b13968 daily dev 20200526
FIX: #5752 Upload files: too much whitespace
Revert "[FIX: #5752] Upload files: too much whitespace"
If we cancel by user, we pass a reason, so app can handle it correctly
Add jaxb dependencies for builde (with jdk>8)
Fix contacts backup job interval
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-05-26 03:40:28 +02:00
Tobias Kaminsky df6256edd4 Merge remote-tracking branch 'origin/master' into dev 2020-05-26 03:32:03 +02:00
Tobias Kaminsky 5843499d7a daily dev 20200523
Add media title to mediaStore if necessary
Set title in mediaStore, when upload from "move to <nc> folder"
insert uploaded image to mediaStore
do not use media scanner
Update translations
Update 3rd-party dependencies
2020-05-23 03:37:13 +02:00
Tobias Kaminsky 46c410cad6 Merge remote-tracking branch 'origin/master' into dev 2020-05-23 03:30:40 +02:00
Tobias Kaminsky 016fa1373a daily dev 20200521
Fix upload and wrote tests
Fix upload and wrote tests
Properly show default/generated avatar if there is no one yet
Fix navigationbar in all activity
Improve userinfo item
Use ConstraintLayout
Refactor
Remove old layout
E2E overhaul - Limit online editing/stream when e2e-encrypted file - download files in subfolder to correct local folder name - use httpd/unix-directory for folder in metadata - set encryption status of subfolder
Update translations
2020-05-21 03:37:11 +02:00
Tobias Kaminsky 2c1c49076c Merge remote-tracking branch 'origin/master' into dev 2020-05-21 03:30:40 +02:00
Tobias Kaminsky d9f2d996bf daily dev 20200520
Fix wrongly sized png thumbnail after download #6006
Update translations
Update Nextcloud Android library
2020-05-20 03:39:01 +02:00
Tobias Kaminsky 13f071a721 Merge remote-tracking branch 'origin/master' into dev 2020-05-20 03:31:35 +02:00
Tobias Kaminsky 3963a0dec1 daily dev 20200519
Add licence
Add light navigationbar and fix statusbar with actionMode
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-05-19 03:40:50 +02:00
Tobias Kaminsky b417d6eae9 Merge remote-tracking branch 'origin/master' into dev 2020-05-19 03:31:38 +02:00
Tobias Kaminsky 561c5f4b94 daily dev 20200517
fix unused background
remove unused files and colors
Remove unused background for selection in grid_sync_item
Replace list_selector background by ripple effect
remove unused background in grid_image
remove unused background list_selector on grid_item
remove unused properties in list_item
Fix selected item background color
Update translations
2020-05-17 03:37:19 +02:00
Tobias Kaminsky 40c2de359f Merge remote-tracking branch 'origin/master' into dev 2020-05-17 03:30:41 +02:00
Tobias Kaminsky 2c2a07de46 daily dev 20200516
Fixed linter warnings
Add SQL query pagination to fix #5891
Add some tests for upload storage manager
Minor changes after rebase
Appbar like google
Bug fix
Fix toolbar color un darkmode
Fix tiny jump
Improve color in darkmode and fix another searchview collapsed
Fix when searchview is open and reload page
Implement new searchbar
Don't show new appbar with DeviceOnly
Fix userinfo and previewimage toolbar
Remove redundant code
Fix SyncedFoldersActivity
Fix select nav_all_files in drawer
Only show new app bar for "all_files"
Add home search appbar
spotbugs: Unused public or protected field
Fix wrong extra_account, which used user instead of account
Fix linter warnings
Tried to fix the "Spotbug" NAB detections
Removed "Dead store" spotbug error for PhotoSearchTask
Cleaned up the old toolbar progressbar dependent code
Replaced toolbar loading by SwipeRefresh in Files list
Update translations
Update 3rd-party dependencies
2020-05-16 03:37:24 +02:00
Tobias Kaminsky 7f00d2b018 Merge remote-tracking branch 'origin/master' into dev 2020-05-16 03:30:39 +02:00
Tobias Kaminsky 2b0f55982e daily dev 20200515
Fix the star for favorite for shimmers
fix crash when populating info on vanished activity
Fix the shimmer that had been accidentally hidden on master
spotbugs. needless boxing of a boolean constant
Fix gridview enabled name
Fix grid image padding dimension name
remove some warnings
fix thumbnail dynamic size
Fix fab behavior hide and ripple color
Fix after rebase
DeckApi unit test
Adjusted javadoc
Removed logging
Add license header and code format
Internal refactoring of the DeckApiImpl
Add some java doc
Rename interface and implementation for Deck integration
Use Optional for DeckIntegration and better name for interface
Don't instantiate intent each time in the for loop
Don't spam logs
Small refactorings
Added default serialVersionUID for new Exception classes
Fix typo in handle
Add GPL headers
Move Deck exception classes into own files
Move Deck integration logic to own package
Set shimmer corner same as the thumbnail
remove unused imports
Set thumbnail shimmer height same as the thumbnail
set new margin for icons in grid view
custom different radius for icons on the grid view and the list view
3 Columns on grid mode
add margin in grid mode
Add corners in shimmer effect for all modes
add thumbnail corners on grid and list mode fix to 8dp
Update translations
2020-05-15 03:37:12 +02:00
Tobias Kaminsky f53b16a48c Merge remote-tracking branch 'origin/master' into dev 2020-05-15 03:30:41 +02:00
Tobias Kaminsky bfc054f38a daily dev 20200513
consistent naming schema for folder icons
replace folder icons with material design like versions
Implemented a fixed width for local file indicator
remove EXTRA_FILE_PATH
move field to local variable
Fixed a bug relative to account switch
Splitted User ClickListener interface in two methods
spotbugs: FCBL_FIELD_COULD_BE_LOCAL
Replaced "Open" by "View Profile" and removed french translation for transifex
Aligned the files icons
Fix parameters passed to downloader during contacts list download
Added account deletion feature
Enabled the actions and the inflating for Accounts Management
Implemented view in listener + Pre-implemented menu inflating
Applied a listener on account menu button
Pre-added a menu to manage accounts
Translation fix
Update strings.xml file
Update strings.xml file
Update Nextcloud Android library
2020-05-13 03:39:50 +02:00
Tobias Kaminsky 08ed7a971e Merge remote-tracking branch 'origin/master' into dev 2020-05-13 03:31:58 +02:00
Tobias Kaminsky 1bc187ec48 daily dev 20200512
Fixed account extra argument passed to OperationsService when starting sync
Update translations
Update Nextcloud Android library
2020-05-12 03:39:16 +02:00
Tobias Kaminsky 93e0fef71b Merge remote-tracking branch 'origin/master' into dev 2020-05-12 03:31:41 +02:00
Tobias Kaminsky cbe99d978e daily dev 20200508
remove unused file
Update translations
2020-05-08 03:37:28 +02:00
Tobias Kaminsky 0734102c4c Merge remote-tracking branch 'origin/master' into dev 2020-05-08 03:30:55 +02:00
Tobias Kaminsky 4e1ef91f8c daily dev 20200507
Refactor and readd unnecessary id
Fix account removal, #6012
Remove Evernote job scheduler dependency
show "no new version available" only when clicking on it, not in background check
Readd necessaries values
Improve sort button and hide if necessary
Reduce lint warning
Remove unused dependencies
Shimmer effect in grid mode
Improve ripple
Replace shimmer effect on list mode view
Add loaderViewLibrary for youtube skeleton effect
Improve margin and lower case button
fix some warnings for lint
Hide FAB in scroll
Reduce spotbugs
Hide when scroll
Add new sort and gridview switch button. Remove duplication
fix shimmer background marge for grid mode
Fix shimmer background width for grid mode
Background shimmer size on grid image is the same as the downloaded pictures
Infinite shimmer animation continue while scrolling until the thumbnail is loaded
Replaced some file and list icons
add a corner on the background of the shimmer
stop shimmer on network error and show a default picture
Shimmer effect only when you download a thumbnail and you only display gray during the progression
remove unused shimmer effects
Replaced some icons by Material ones + Removed a useless double-icon
add facebook shimmer effect
Replaced some icons
add facebook shimmer effect
Updated headers (removed due to autochange) + Replaced some icons by Material ones
Replaced some icons by Material ones to (removed useless icons)
Remove unused class
Update translations
2020-05-07 03:37:13 +02:00
Tobias Kaminsky 25adbd4f47 Merge remote-tracking branch 'origin/master' into dev 2020-05-07 03:30:44 +02:00
Tobias Kaminsky c3f015b695 daily dev 20200506
Migrate UserListAdapter to new User model
Update translations
Update 3rd-party dependencies
2020-05-06 03:38:18 +02:00
Tobias Kaminsky f0c09bdd7b Merge remote-tracking branch 'origin/master' into dev 2020-05-06 03:31:41 +02:00
Tobias Kaminsky abaecc3bcc daily dev 20200505
Fix color
Update translations
2020-05-05 03:37:33 +02:00
Tobias Kaminsky b12671234a Merge remote-tracking branch 'origin/master' into dev 2020-05-05 03:30:54 +02:00
Tobias Kaminsky 5e6beb78ff daily dev 20200501
fix typo organized imports
fix #4540
fix multiselect #5970
Migrate remaining jobs to WorkManager
Fixed invisible back-button
add missing work manager function to create notification work
Migrate NotificationJob to WorkManager API
Update translations
Update Nextcloud Android library
2020-05-01 03:37:40 +02:00
Tobias Kaminsky 834ad8018a Merge remote-tracking branch 'origin/master' into dev 2020-05-01 03:30:51 +02:00
Tobias Kaminsky 84d740c231 Merge remote-tracking branch 'origin/master' into dev 2020-04-30 03:31:56 +02:00
Tobias Kaminsky bbdeec4d9e daily dev 20200429
Fix background tests
Remove unused argument
Unused function
Improve methode name
Revert " Bugfix for #5929"
Fix dark mode "follow system"
Put back the Material values (due invision false values)
revert background image for notifications
Tinted checkboxes in ConflictsResolveDialog Activity icons have a 'night mode' background circle. Signed-off-by: Daniel Bailey <[email protected]>
set secondary action button in notifications to grey
proper toolbar theming ignoring dark/light theme for toolbar colors
properly theme SwipeRefreshLayout
unify divider colors
change dark theme background to #121212 see https://material.io/design/color/dark-theme.html#properties
dark theme favorite icon
don't tint drawer menu toggle
use proper rtl values
raise margin for bottom sheet menu item divider
Dark Mode Improvements (2)
Fixes bug whereby a user initiated change to dark mode isn't applied for "follow system".
Bump to 3.13 alpha
Better item selected background color in dark mode
Improve variable name
Change ActionMode color
Correction Whitespace and remove superficial comments
add missing back button in ManageAccountsActivity & UserInfoActivity
Enhanced dark mode for some text colors
Replaced comma separator by bullet character in files list
Adjusted size of file list item
Removed edited icons, merged changes in a new branch
Set color of hamburger icon
Replaced some icons by Material ones to (removed useless icons)
Fix setting background if change manualy dark theme (And remove duplication)
Changed Drawer and global texts colors
Reformat ThemeUtils
Black Status bar in light theme <23 api
Refactor and fix bug
Change font color for darkmode and remove unused code
Refactor
New color, white for light theme and grey for dark theme. New progressbar
Fixed bug relative to inflating (due to < API 21)
Start files sync job when enabling auto upload
Migrate file sync related jobs to WorkManager API
Replaced colors by native Android ones
Update translations
2020-04-29 03:37:24 +02:00
Tobias Kaminsky 5858f68878 Merge remote-tracking branch 'origin/master' into dev 2020-04-29 03:30:49 +02:00
Tobias Kaminsky c1396fd3b8 daily dev 20200425
Update translations
2020-04-25 03:37:28 +02:00
Tobias Kaminsky 46f0880b83 Merge remote-tracking branch 'origin/master' into dev 2020-04-25 03:30:55 +02:00
Tobias Kaminsky 8b9147ac4a daily dev 20200424
Switch to bouncycastle
Update translations
2020-04-24 03:41:00 +02:00
Tobias Kaminsky 4653f10957 Merge remote-tracking branch 'origin/master' into dev 2020-04-24 03:31:09 +02:00
Tobias Kaminsky 894b4b0977 daily dev 20200423
Formated the code (applied DRY principle)
Resolved the crash when account is not new (Auth)
refactorings
close SSO streams
Update translations
2020-04-23 03:39:51 +02:00
Tobias Kaminsky 1a473b6f6e Merge remote-tracking branch 'origin/master' into dev 2020-04-23 03:31:03 +02:00
Tobias Kaminsky fde2de08e0 daily dev 20200422
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-04-22 03:41:23 +02:00
Tobias Kaminsky f53e509085 Merge remote-tracking branch 'origin/master' into dev 2020-04-22 03:32:05 +02:00
Tobias Kaminsky d37e0e8254 Merge remote-tracking branch 'origin/master' into dev 2020-04-21 03:33:10 +02:00
Tobias Kaminsky c0e80d5ebd daily dev 20200417
code formatting
Make the name collision policy for auto uploads selectable, fixes #5599.
Release connections after usage
[FIX: #5752] Upload files: too much whitespace
Readd enableAccountHandling for show slider
Update 3rd-party dependencies
2020-04-17 03:41:33 +02:00
Tobias Kaminsky f22a7c70b3 Merge remote-tracking branch 'origin/master' into dev 2020-04-17 03:30:56 +02:00
Tobias Kaminsky 8a5d4bec67 daily dev 20200416
fix https://github.com/nextcloud/android/issues/5457
Update translations
2020-04-16 03:38:24 +02:00
Tobias Kaminsky 766b7c755a Merge remote-tracking branch 'origin/master' into dev 2020-04-16 03:30:53 +02:00
Tobias Kaminsky 6c889e62cb daily dev 20200415
Don't put User model into ConflictsResolveActivity account extra
show all files when clicking on show files
Update translations
Update Nextcloud Android library
2020-04-15 03:40:19 +02:00
Tobias Kaminsky 7f3ca4fa9f Merge remote-tracking branch 'origin/master' into dev 2020-04-15 03:32:45 +02:00
Tobias Kaminsky e53d40a4e3 daily dev 20200410
Fix OOM during image browsing
Do not tint dialog
Migrate FileDownloader server to User model
2020-04-10 03:37:11 +02:00
Tobias Kaminsky bf7e13efbf Merge remote-tracking branch 'origin/master' into dev 2020-04-10 03:30:52 +02:00
Tobias Kaminsky 7a9e67e788 daily dev 20200409
Log exception in ContactsImportWork catch block
codacy: Avoid unused local variables
codacy: Avoid unused method parameters
reformat code
codacy: Unnecessary use of fully qualified name
codacy: Avoid unused private fields
codacy: Avoid unused imports
check if at least one account is set up, before receiving files
Change pdf icon
Directly show loading spinner show "no files" only if folder is known to be empty
Fix crash while showing ConflictDialog
Rich workspaces: can be null (if disabled), or string (empty or with content)
Search: only parse search if search event is there
NC18+: add possibility to set expiration date on user/group shares
Ninja-fix formatting of CONTRIBUTING.md
Migrate contacts import job to new API
Migrate ChooseRichDocumentsTemplateDialogFragment to User
Migrate EditShareFragment to new User model
Remove deprecated contacts backup job
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-04-09 03:39:02 +02:00
Tobias Kaminsky fbfefd5235 Merge remote-tracking branch 'origin/master' into dev 2020-04-09 03:30:53 +02:00
Tobias Kaminsky 535624264c Merge remote-tracking branch 'origin/master' into dev 2020-04-08 03:32:01 +02:00
Tobias Kaminsky a7bf4aa581 daily dev 20200405
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-04-05 03:38:20 +02:00
Tobias Kaminsky 67e2fee514 Merge remote-tracking branch 'origin/master' into dev 2020-04-05 03:30:56 +02:00
Tobias Kaminsky 7d2d48f1c6 Merge remote-tracking branch 'origin/master' into dev 2020-04-04 03:32:38 +02:00
Tobias Kaminsky 7f47effb34 daily dev 20200403
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-04-03 03:39:12 +02:00
Tobias Kaminsky 7651a9df83 Merge remote-tracking branch 'origin/master' into dev 2020-04-03 03:30:54 +02:00
Tobias Kaminsky d66a60e6af Merge remote-tracking branch 'origin/master' into dev 2020-04-02 03:34:12 +02:00
Tobias Kaminsky 697d660d42 daily dev 20200331
if no offline editor is available, use OO/Cool/Text
edit downloaded md/text file is working now
First use preferred mimetypes, then editor for optional mimetypes
Update translations
Update 3rd-party dependencies
2020-03-31 03:38:56 +02:00
Tobias Kaminsky c45ae25414 Merge remote-tracking branch 'origin/master' into dev 2020-03-31 03:30:55 +02:00
Tobias Kaminsky 14d6e473a3 daily dev 20200327
Changelog for 3.11.0
Add changelog for 3.11.0
Update translations
2020-03-27 03:37:11 +01:00
Tobias Kaminsky 46051694fe Merge remote-tracking branch 'origin/master' into dev 2020-03-27 03:30:50 +01:00
Tobias Kaminsky 44793c2ba7 daily dev 20200325
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-03-25 03:42:24 +01:00
Tobias Kaminsky 9caa4ab460 Merge remote-tracking branch 'origin/master' into dev 2020-03-25 03:32:41 +01:00
Tobias Kaminsky 42f5469afc daily dev 20200324
Bump to latest firebase messaging
fix activity image loading
Update translations
Update 3rd-party dependencies
2020-03-24 03:38:55 +01:00
Tobias Kaminsky 0b19e2129d Merge remote-tracking branch 'origin/master' into dev 2020-03-24 03:30:51 +01:00
Tobias Kaminsky 796db9d195 daily dev 20200323
Fix for sso Grant/Deny dialog text color in dark mode.
Wrong string
Update translations
2020-03-23 03:37:18 +01:00
Tobias Kaminsky bc2a0725ac Merge remote-tracking branch 'origin/master' into dev 2020-03-23 03:30:52 +01:00
Tobias Kaminsky 78f1289cd5 daily dev 20200320
revert to master lib
Add circle support for searching / displaying
Fixes "Report a bug" button in community tab
Adjusted file list banner background colour in dark mode
Tint buttons in upload
Dark Mode Improvements
fix lint to exclude correct freemarker version
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-03-20 03:40:13 +01:00
Tobias Kaminsky 1227572edd Merge remote-tracking branch 'origin/master' into dev 2020-03-20 03:32:19 +01:00
Tobias Kaminsky f8428a0d1f daily dev 20200319
remove outdated background for dev
Update translations
2020-03-19 03:37:09 +01:00
Tobias Kaminsky 5f30815410 Merge remote-tracking branch 'origin/master' into dev 2020-03-19 03:30:50 +01:00
Tobias Kaminsky e568054e94 daily dev 20200318
fix wrong assumption how conflict dialog show work updated tests
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2020-03-18 03:37:22 +01:00
Tobias Kaminsky 0c051fd72b Merge remote-tracking branch 'origin/master' into dev 2020-03-18 03:30:52 +01:00
Tobias Kaminsky 3f1dfed3a8 Merge remote-tracking branch 'origin/master' into dev 2020-03-17 03:32:02 +01:00
Tobias Kaminsky 0c7bec049f daily dev 20200313
Migrate contacts backup job to new background job manager API
add gradient to preview images in toolbar
fix crash when sorting in folder picker
remove unneeded ressource
adjust share size
Correct font color in dark mode
tint back button correctly
Update translations
2020-03-13 03:37:10 +01:00
Tobias Kaminsky f36ac479a8 Merge remote-tracking branch 'origin/master' into dev 2020-03-13 03:30:52 +01:00
Tobias Kaminsky 510c6c26e8 daily dev 20200312
v3.12.-Alpha1
Fix border of disabled FAB
Update translations
Update Nextcloud Android library
2020-03-12 03:39:22 +01:00
Tobias Kaminsky 909c9606ce Merge remote-tracking branch 'origin/master' into dev 2020-03-12 03:31:58 +01:00
Tobias Kaminsky 4923a8efa7 daily dev 20200311
All files shows root again annotated functions with correct NonNull
Improve readability on active drawer item
Use UTF8 PostMethod everywhere
Update contributing.md
Update translations
2020-03-11 03:36:49 +01:00
Tobias Kaminsky 3e741eee31 Merge remote-tracking branch 'origin/master' into dev 2020-03-11 03:30:50 +01:00
Tobias Kaminsky 99e3843427 daily dev 20200310
Fix NPE on restoring file detail sharing fragment
Update translations
2020-03-10 03:36:51 +01:00
Tobias Kaminsky 3996901d7c Merge remote-tracking branch 'origin/master' into dev 2020-03-10 03:30:50 +01:00
Tobias Kaminsky c09264bc0f daily dev 20200307
remove unused dimens value
remove unneeded call
use correct dimens id
remove sdk17 checks
Remove outdated right/left as now only start/end is needed
change minimum supported Android version to 4.2
Properly signal error when user id migration fails
Enabled migration manager in MainApp
Removed MigrationManager Robolectric tests
Support for optional migrations
Migrations manager
remove ununsed raw files
remove unused class
Update translations
Update 3rd-party dependencies
2020-03-07 03:38:14 +01:00
Tobias Kaminsky 4f7fd16470 Merge remote-tracking branch 'origin/master' into dev 2020-03-07 03:30:49 +01:00
Tobias Kaminsky d19e9e0556 daily dev 20200306
Fix test
Update Nextcloud Android library
Update 3rd-party dependencies
2020-03-06 03:41:32 +01:00
Tobias Kaminsky 56d7169ca2 Merge remote-tracking branch 'origin/master' into dev 2020-03-06 03:32:20 +01:00
Tobias Kaminsky 3a77d8071d daily dev 20200305
update dev changelog recognition for updating library
Update translations
Update Nextcloud Android library
2020-03-05 07:27:09 +01:00
Tobias Kaminsky a65b208355 Merge remote-tracking branch 'origin/master' into dev 2020-03-05 07:19:03 +01:00
Tobias Kaminsky 0f0173ccf3 Merge remote-tracking branch 'origin/master' into dev 2020-03-05 03:32:28 +01:00
Tobias Kaminsky 8c2c38d916 daily dev 20200304
switch back to light mode after test
remove unneeded strings
Disable old login method
Update Nextcloud Android library
2020-03-04 03:37:34 +01:00
Tobias Kaminsky 4f0bf90433 Merge remote-tracking branch 'origin/master' into dev 2020-03-04 03:30:48 +01:00
Tobias Kaminsky bd01843be7 daily dev 20200303
fix dev lib replacement
dev: change library before building
Show slideshow as new activity
Update translations
Update Nextcloud Android library
2020-03-03 07:35:01 +01:00
Tobias Kaminsky d5fe7679da Merge remote-tracking branch 'origin/master' into dev 2020-03-03 07:26:42 +01:00
Tobias Kaminsky be11180ca9 Merge remote-tracking branch 'origin/master' into dev 2020-03-03 03:32:22 +01:00
Tobias Kaminsky 9938f2e421 daily dev 20200228
3facd6c20 Merge remote-tracking branch 'origin/master' into dev
d88dac628 Merge pull request #5536 from nextcloud/changeFolderString
42d1dafaf Change to better english
43dfa7a77 Merge pull request #5528 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.6.0
4481af43f Merge pull request #5529 from nextcloud/dependabot/gradle/org.mockito-mockito-core-3.3.1
36dbdf5f6 Merge pull request #5527 from nextcloud/dependabot/gradle/markwonVersion-4.2.2
cd893c685 Bump mockito-core from 3.3.0 to 3.3.1
8b14e8a8b Bump detekt-gradle-plugin from 1.5.1 to 1.6.0
82d0ad98d Bump markwonVersion from 4.2.1 to 4.2.2
eb94a66b2 [tx-robot] updated from transifex
543e25667 [tx-robot] updated from transifex
97c53b38c daily dev 20200225
2020-02-28 03:41:00 +01:00
Tobias Kaminsky 3facd6c200 Merge remote-tracking branch 'origin/master' into dev 2020-02-28 03:32:21 +01:00
Tobias Kaminsky 97c53b38ce daily dev 20200225
d7febee4f Merge remote-tracking branch 'origin/master' into dev
a163321fa Merge pull request #5511 from nextcloud/dependabot/gradle/org.mockito-mockito-core-3.3.0
6ab91c959 [tx-robot] updated from transifex
68d6fe555 daily dev 20200224
2020-02-25 03:39:00 +01:00
Tobias Kaminsky d7febee4fa Merge remote-tracking branch 'origin/master' into dev 2020-02-25 03:32:22 +01:00
Tobias Kaminsky 68d6fe5557 daily dev 20200224
f782e3d9f Merge remote-tracking branch 'origin/master' into dev
c6bb9744e Merge pull request #5498 from nextcloud/stableMaterial
0b90250b6 [tx-robot] updated from transifex
7b049a99d [tx-robot] updated from transifex
70471b623 [tx-robot] updated from transifex
bdaaf63fc [tx-robot] updated from transifex
1cc383df2 daily dev 20200222
2020-02-24 03:37:29 +01:00
Tobias Kaminsky f782e3d9fd Merge remote-tracking branch 'origin/master' into dev 2020-02-24 03:30:48 +01:00
Tobias Kaminsky 1cc383df2a daily dev 20200222
84cef3baf Merge remote-tracking branch 'origin/master' into dev
e1b8d525e Merge pull request #5445 from nextcloud/headMethod
92f5e07b9 [tx-robot] updated from transifex
de4fc2cd2 daily dev 20200221
2020-02-22 03:37:31 +01:00
Tobias Kaminsky 84cef3bafc Merge remote-tracking branch 'origin/master' into dev 2020-02-22 03:30:46 +01:00
Tobias Kaminsky de4fc2cd2b daily dev 20200221
9b3f00c12 Merge remote-tracking branch 'origin/master' into dev
da6a29a51 Merge pull request #5493 from nextcloud/dependabot/gradle/androidx.work-work-runtime-ktx-2.3.2
2356e839d Bump work-runtime-ktx from 2.3.1 to 2.3.2
7305272bd Merge pull request #5494 from nextcloud/dependabot/gradle/androidx.work-work-runtime-2.3.2
be238a3f9 Merge pull request #5471 from nextcloud/richWorkspace18only
65548c4b4 [tx-robot] updated from transifex
ac6a64b67 Drone: update Lint results to reflect reduced error/warning count [skip ci]
993aa4afb Bump work-runtime from 2.3.0 to 2.3.2
0f1da5238 [tx-robot] updated from transifex
26bbfa353 daily dev 20200219
2020-02-21 03:37:48 +01:00
Tobias Kaminsky 9b3f00c12d Merge remote-tracking branch 'origin/master' into dev 2020-02-21 03:30:48 +01:00
Tobias Kaminsky 26bbfa3538 daily dev 20200219
3f62afabf Merge remote-tracking branch 'origin/master' into dev
5d428fe9a Merge pull request #4788 from nextcloud/instantupload_all
49f3a6725 ConflictsResolveActivity: code style and readability improvements
6540e3ef7 Upload list conflicts: replace trash icon with menu and add resolve action
a4ff1f11d Customize upload sync conflict notification strings
e77ffa00a Fix synced folder layout form control widgets alignment
91ef307e7 Fix database migration of field forceOverwrite to NameCollisionPolicy
52d089b18 FileUploader: fix codacy issues and SpotBugs
ec27f840a FileUploader: code cleanup
7713a28a4 FileUploader: require explicit NameCollisionPolicy and change default used value
6783e8ab4 Make file uploads ask the user what to do when the file already exists on remote
213002f44 Make newly created synced folders auto upload existing files by default
1b7bd72c4 ADD: [instantupload] setting to also upload existing files
c24345316 Merge pull request #5465 from nextcloud/fix/create-folder-crash-autosync
d178cde22 daily dev 20200218
2020-02-19 03:37:25 +01:00
Tobias Kaminsky 3f62afabf6 Merge remote-tracking branch 'origin/master' into dev 2020-02-19 03:30:48 +01:00
Tobias Kaminsky d178cde220 daily dev 20200218
2b26a5176 Merge remote-tracking branch 'origin/master' into dev
4616b0d40 Merge pull request #5447 from nextcloud/ezaquarii/migrate-jobs-to-new-user-model
20b910a64 Merge pull request #5442 from nextcloud/ezaquarii/fix-crash-on-text-file-creation
0977c3791 Fix crash during text file creation
5c74f2b1b [tx-robot] updated from transifex
27fabe745 [tx-robot] updated from transifex
60295480b daily dev 20200215
2020-02-18 03:37:38 +01:00
Tobias Kaminsky 2b26a5176a Merge remote-tracking branch 'origin/master' into dev 2020-02-18 03:30:49 +01:00
Tobias Kaminsky 60295480b5 daily dev 20200215
020e5a2c3 Merge remote-tracking branch 'origin/master' into dev
490b292ad Merge pull request #5300 from nextcloud/sharedSearchAgain
61027524f test
af93382c6 test
68f06ea15 [tx-robot] updated from transifex
2d82f80e9 daily dev 20200214
2020-02-15 03:37:26 +01:00
Tobias Kaminsky 020e5a2c3b Merge remote-tracking branch 'origin/master' into dev 2020-02-15 03:30:49 +01:00
Tobias Kaminsky 2d82f80e9c daily dev 20200214
706ae93a3 Merge remote-tracking branch 'origin/master' into dev
045a7aa9e Merge pull request #5466 from nextcloud/squareIcon
eefeda930 Add square google icon
7156aaff2 [tx-robot] updated from transifex
57ce989a5 daily dev 20200213
2020-02-14 03:38:38 +01:00
Tobias Kaminsky 706ae93a32 Merge remote-tracking branch 'origin/master' into dev 2020-02-14 03:31:56 +01:00
Tobias Kaminsky 57ce989a5a daily dev 20200213
23fea78a9 Merge remote-tracking branch 'origin/master' into dev
67880e275 Merge pull request #5450 from nextcloud/etmScreenshots
a063f32d2 Merge pull request #5434 from nextcloud/ezaquarii/migrate-account-list-to-new-user-model
d841f6425 Screenshot tests for ETM
0569b0de6 Screenshot tests ManageAccountsActivity
53024d1cd Migrate account list to new user model
e716c99a9 [tx-robot] updated from transifex
1dd355dde daily dev 20200212
2020-02-13 03:37:26 +01:00
Tobias Kaminsky 23fea78a96 Merge remote-tracking branch 'origin/master' into dev 2020-02-13 03:30:48 +01:00
Tobias Kaminsky 1dd355ddec daily dev 20200212
e1d684255 Merge remote-tracking branch 'origin/master' into dev
f520f2f9a Merge pull request #5436 from nextcloud/ezaquarii/make-user-model-parcelable
25cbeb4bd Merge pull request #5422 from nextcloud/gplayScreenshots
87eb8e0d1 [tx-robot] updated from transifex
644b91dce daily dev 20200211
2020-02-12 03:37:18 +01:00
Tobias Kaminsky e1d6842552 Merge remote-tracking branch 'origin/master' into dev 2020-02-12 03:30:48 +01:00
Tobias Kaminsky 644b91dce0 daily dev 20200211
92ddf10d0 Merge remote-tracking branch 'origin/master' into dev
5905b1c5a Merge pull request #5432 from nextcloud/ezaquarii/migrate-drawer-menu-utils-to-new-user-model
4be18adc2 Merge pull request #5064 from nextcloud/ezaquarii/extract-account-logic-from-base-activity-into-mixin
619b5d05d Merge pull request #5419 from nextcloud/dependabot/gradle/org.projectlombok-lombok-1.18.12
2d6e73dd3 Merge pull request #5414 from nextcloud/fixContactCrash
1bb04aa29 also increase annotationProcessor
6048243f4 Fix crash: Caused by: java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.Void[]
0027df9d0 [tx-robot] updated from transifex
6dd5d925a Merge pull request #5443 from nextcloud/fixTransifex
b4db9d07a do not break line on transifex
b5fb9c137 Migrate drawer menu utilities to new user model
a906a14b1 daily dev 20200208
2020-02-11 03:38:43 +01:00
Tobias Kaminsky 92ddf10d07 Merge remote-tracking branch 'origin/master' into dev 2020-02-11 03:31:51 +01:00
Tobias Kaminsky a906a14b15 daily dev 20200208
66c25fa25 Merge remote-tracking branch 'origin/master' into dev
f415cd966 Merge pull request #5420 from nextcloud/dependabot/gradle/org.parceler-parceler-1.1.13
2b2800bc7 Bump parceler from 1.1.12 to 1.1.13
98d751880 Merge pull request #5418 from nextcloud/dependabot/gradle/org.parceler-parceler-api-1.1.13
8ce35e3f5 manually bump lint
6fbe0b595 daily dev 20200207
2020-02-08 03:38:35 +01:00
Tobias Kaminsky 66c25fa255 Merge remote-tracking branch 'origin/master' into dev 2020-02-08 03:31:55 +01:00
Tobias Kaminsky 6fbe0b5952 daily dev 20200207
ad21ad34c Merge remote-tracking branch 'origin/master' into dev
b13cba02c Merge pull request #5412 from nextcloud/dependabot/gradle/androidx.work-work-runtime-ktx-2.3.1
dc1a3f1f0 Drone: update Lint results to reflect reduced error/warning count [skip ci]
aa3727e03 Bump work-runtime-ktx from 2.3.0 to 2.3.1
7dbf43b2f Merge pull request #5413 from nextcloud/lint
4a1e1b1ca Bump to "Obsolete custom lint check"
f18b9363a daily dev 20200206
2020-02-07 03:37:51 +01:00
Tobias Kaminsky ad21ad34cd Merge remote-tracking branch 'origin/master' into dev 2020-02-07 03:30:48 +01:00
Tobias Kaminsky f18b9363ad daily dev 20200206
ac971ae36 Merge remote-tracking branch 'origin/master' into dev
94abac7f7 Merge pull request #5403 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.5.1
8890770fb Bump detekt-gradle-plugin from 1.5.0 to 1.5.1
823808e37 Merge pull request #5407 from nextcloud/changelog-master-stable-3.10.1
c7669fe9d Merge pull request #5393 from nextcloud/removeUnsetType
e8d00fd81 proper headline formatting
c5be0ad7e Merge pull request #5399 from nextcloud/extractArbitraryDataSet
a0de3e5ad Add changelog for 3.10.1
0936945b3 Merge pull request #5328 from nextcloud/fix/not-enough-space-dialog
c7d2b0e80 Merge pull request #5404 from nextcloud/uploadReportVerbose
7e4711a23 github comment if preliminary step failed
778fec9e2 extract openDrawer test into AbstractIT rebased
3a78c1b9d add more UI tests
e118f9a51 Remove UnsetType as we do not have bottom bar anymore…
c7ea6458b extract ArbitraryDataSet class cleanup
7c84a9f92 Merge pull request #5296 from nextcloud/fix/defective-search
f9a47e6b3 Formated the code
c64e90e8c Merge pull request #5401 from nextcloud/needlesslyBoxing
84adb9eaa Merge pull request #5400 from nextcloud/rakekniven-patch-1
0d0a4a319 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
d7918c59c Merge commit '1bf079d2cd85fe4770716bbf02790651290d66c1'
1bf079d2c NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION: Method needlessly boxes a boolean constant
e19b58178 l10n: Grammar: url -> URL
75c0871e6 Merge pull request #5395 from nextcloud/dependabot/gradle/org.greenrobot-eventbus-3.2.0
ebba5ea4e Merge pull request #5396 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.5.0
a2e327bdc [tx-robot] updated from transifex
a5d0fe936 daily dev 20200205
2020-02-06 03:39:07 +01:00
Tobias Kaminsky ac971ae36d Merge remote-tracking branch 'origin/master' into dev 2020-02-06 03:30:48 +01:00
Tobias Kaminsky a5d0fe9362 daily dev 20200205
4ce26101b Merge remote-tracking branch 'origin/master' into dev
f9af611a2 Merge pull request #4878 from nextcloud/ezaquarii/contributions-engineering-practices-section
fab19e8f7 minor enhancements
460389579 Added TOC links and Engineering section to CONTRIBUTING.md
f7d7a0c7a Merge pull request #5378 from nextcloud/dependabot/gradle/markwonVersion-4.2.1
f7220f461 Merge pull request #5246 from siebica/master
3d5a40fa0 Merge pull request #5169 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.4.0
eb903ab48 add UI test for Markdown
64c253be6 Merge pull request #5089 from cheecodes/master
ff400e16b [tx-robot] updated from transifex
55f6aebab daily dev 20200204
2020-02-05 03:39:11 +01:00
Tobias Kaminsky 4ce26101b0 Merge remote-tracking branch 'origin/master' into dev 2020-02-05 03:30:47 +01:00
Tobias Kaminsky 55f6aebabf daily dev 20200204
c9d3605ec Merge remote-tracking branch 'origin/master' into dev
5d868e47f Merge pull request #5363 from nextcloud/fix/lolipop-webview-crash
0c272ad1d Merge pull request #5231 from nextcloud/roundedCorners
b787284ab bump spotbugs
6e202dd94 Merge pull request #5383 from nextcloud/whitePrimaryColor
66b78e0eb changed to 8dp
5ac25d545 remove unneeded resource
176c7f893 Merge pull request #5382 from nextcloud/prLineWrapping
120a6ca87 PR template: line wrapping
81c3bcef3 Merge pull request #5381 from nextcloud/movePRtemplate
622f1f9f6 move pr template
f8ff0e106 Auth activity with primary white color
aeee4beba [tx-robot] updated from transifex
d60133bb8 [tx-robot] updated from transifex
c3be96884 [tx-robot] updated from transifex
489b5e051 daily dev 20200201
2020-02-04 03:38:36 +01:00
Tobias Kaminsky c9d3605ec2 Merge remote-tracking branch 'origin/master' into dev 2020-02-04 03:31:42 +01:00
Tobias Kaminsky 489b5e0514 daily dev 20200201
158d06112 Merge remote-tracking branch 'origin/master' into dev
9c12102d2 Merge pull request #5360 from nextcloud/testDocumentation
b8d042e17 Basic documentation of how to test add checklist as PR template
e617e5708 Merge pull request #5358 from nextcloud/transifexFix
73697963c [tx-robot] updated from transifex
bd99ee995 No need of CDATA
a8409b3aa daily dev 20200131
2020-02-01 03:37:14 +01:00
Tobias Kaminsky 158d061127 Merge remote-tracking branch 'origin/master' into dev 2020-02-01 03:30:44 +01:00
Tobias Kaminsky a8409b3aa8 daily dev 20200131
d93f893b6 Merge remote-tracking branch 'origin/master' into dev
8dc162960 Merge pull request #5209 from nextcloud/ooDownloadFile
7f558a14a Merge pull request #5352 from nextcloud/dependabot/gradle/daggerVersion-2.26
613c24220 daily dev 20200130
2020-01-31 03:37:21 +01:00
Tobias Kaminsky d93f893b6b Merge remote-tracking branch 'origin/master' into dev 2020-01-31 03:30:42 +01:00
Tobias Kaminsky 613c242205 daily dev 20200130
edc6198f2 daily dev 20200129
0c3c286c0 Merge remote-tracking branch 'origin/master' into dev
4a9fc087a Merge pull request #5349 from nextcloud/devBranchMigration
cfb830668 dev: do not modify master, but push everything to dev branch
e03b819ef daily dev 20200129
2020-01-30 03:37:27 +01:00
Tobias Kaminsky edc6198f29 daily dev 20200129
0c3c286c0 Merge remote-tracking branch 'origin/master' into dev
4a9fc087a Merge pull request #5349 from nextcloud/devBranchMigration
cfb830668 dev: do not modify master, but push everything to dev branch
e03b819ef daily dev 20200129
2020-01-29 08:52:36 +01:00
Tobias Kaminsky 0c3c286c0a Merge remote-tracking branch 'origin/master' into dev 2020-01-29 08:45:22 +01:00
Tobias Kaminsky 7aab6137be daily dev 20200124
e4f099237 Merge pull request #5203 from nextcloud/directEditingPre5
04b5b6ae3 Merge pull request #5288 from nextcloud/dependabot/gradle/androidx.work-work-runtime-2.3.0
fc8c9b7bb Bump work-runtime from 2.2.0 to 2.3.0
63b5276c8 Merge pull request #5289 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.2.0
ed2e90bf3 Merge pull request #5286 from nextcloud/dependabot/gradle/androidx.work-work-runtime-ktx-2.3.0
ce6ce0663 [tx-robot] updated from transifex
b62d29194 Bump lifecycle-viewmodel-ktx from 2.1.0 to 2.2.0
d42566be7 Bump work-runtime-ktx from 2.2.0 to 2.3.0
f783eed9b [tx-robot] updated from transifex
642682b21 daily dev 20200122
2020-01-24 03:38:01 +01:00
1729 changed files with 60275 additions and 35840 deletions

No files matched your search

+4 -1
View File
@@ -16,6 +16,9 @@ comment:
layout: "header, diff, changes, uncovered, tree"
behavior: default
github_checks:
annotations: false
ignore:
- "src/main/res/values*/*"
+16
View File
@@ -0,0 +1,16 @@
FROM ubuntu:focal
ARG DEBIAN_FRONTEND=noninteractive
ENV ANDROID_HOME=/usr/lib/android-sdk
RUN apt-get update -y
RUN apt-get install -y unzip wget openjdk-8-jdk vim
RUN wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -O /tmp/commandlinetools.zip
RUN cd /tmp && unzip commandlinetools.zip
RUN mkdir -p /usr/lib/android-sdk/cmdline-tools/
RUN cd /tmp/ && mv cmdline-tools/ latest/ && mv latest/ /usr/lib/android-sdk/cmdline-tools/
RUN mkdir /usr/lib/android-sdk/licenses/
RUN chmod -R 755 /usr/lib/android-sdk/
RUN mkdir -p $HOME/.gradle
RUN echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
+5
View File
@@ -0,0 +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`.
+3
View File
@@ -0,0 +1,3 @@
ANDROID_HOME=/usr/lib/android-sdk
JAVA_OPTS="-Xmx8192M"
GRADLE_OPTS="-Dorg.gradle.daemon=true"
+4
View File
@@ -0,0 +1,4 @@
{
"name": "NextcloudAndroid",
"dockerFile": "Dockerfile",
}
+47 -76
View File
@@ -1,11 +1,11 @@
---
kind: pipeline
type: docker
name: gplay-stable
name: tests-stable
steps:
- name: gplay
image: nextcloudci/android:android-49
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
LOG_USERNAME:
@@ -16,20 +16,21 @@ steps:
from_secret: GIT_USERNAME
GIT_TOKEN:
from_secret: GIT_TOKEN
ORG_GRADLE_PROJECT_coverage: ''
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- 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-stable#" gradle.properties
- sed -i s"#server#server#" gradle.properties
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
- ./gradlew assembleGplay
- ./gradlew assembleGplayDebug
- scripts/wait_for_emulator.sh
- ./gradlew jacocoTestGplayDebugUnitTestReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable-Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- scripts/deleteOldComments.sh "stable" "Unit" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew jacocoTestGplayDebugUnitTestReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "Unit" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew installGplayDebugAndroidTest
- scripts/wait_for_server.sh "server-stable"
- ./gradlew createGplayDebugCoverageReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable-IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- ./gradlew executeScreenshotTests || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable-Screenshot" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- scripts/wait_for_server.sh "server"
- 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
- ./gradlew combinedTestReport
- name: notify
image: drillster/drone-email
@@ -52,12 +53,16 @@ steps:
- failure
branch:
- master
- stable-*
services:
- name: server-stable
- name: server
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
environment:
EVAL: true
commands:
- BRANCH='stable18' /usr/local/bin/initnc.sh
- BRANCH='stable22' /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"
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
@@ -65,27 +70,29 @@ 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 stable18 https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "git clone -b stable22 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 stable18 https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "git clone -b stable22 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 stable22 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
---
kind: pipeline
type: docker
name: gplay-master
name: tests-master
steps:
- name: gplay
image: nextcloudci/android:android-49
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
LOG_USERNAME:
@@ -96,23 +103,13 @@ steps:
from_secret: GIT_USERNAME
GIT_TOKEN:
from_secret: GIT_TOKEN
ORG_GRADLE_PROJECT_coverage: ''
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- 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-master#" gradle.properties
- ./gradlew assembleGplay
- ./gradlew assembleGplayDebug
- scripts/wait_for_emulator.sh
- ./gradlew jacocoTestGplayDebugUnitTestReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "master-Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- ./gradlew installGplayDebugAndroidTest
- scripts/wait_for_server.sh "server-master"
- ./gradlew createGplayDebugCoverageReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "master-IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- ./gradlew executeScreenshotTests || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "master-Screenshot" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- ./gradlew combinedTestReport
- curl -o codecov.sh https://codecov.io/bash
- bash ./codecov.sh -t fc506ba4-33c3-43e4-a760-aada38c24fd5
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
- scripts/runCombinedTest.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER
- name: notify
image: drillster/drone-email
settings:
@@ -134,13 +131,16 @@ steps:
- failure
branch:
- master
- stable-*
services:
- name: server-master
- name: server
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
environment:
EVAL: true
commands:
- /usr/local/bin/initnc.sh
- su www-data -c "php /var/www/html/occ status"
- 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"
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
@@ -159,17 +159,20 @@ services:
trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: analysis
name: allScreenshots
steps:
- name: analysis
image: nextcloudci/android:android-49
- name: runAllScreenshots
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
GIT_USERNAME:
from_secret: GIT_USERNAME
@@ -180,10 +183,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 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:
@@ -205,43 +210,9 @@ steps:
- failure
branch:
- master
trigger:
branch:
- master
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: qa
steps:
- name: qa
image: nextcloudci/android:android-49
privileged: true
environment:
LOG_USERNAME:
from_secret: LOG_USERNAME
LOG_PASSWORD:
from_secret: LOG_PASSWORD
GIT_USERNAME:
from_secret: GIT_USERNAME
GIT_TOKEN:
from_secret: GIT_TOKEN
KS_PASS:
from_secret: KS_PASS
KEY_PASS:
from_secret: KEY_PASS
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- sed -i "/qa/,/\}/ s/versionCode .*/versionCode $DRONE_BUILD_NUMBER/" build.gradle
- sed -i "/qa/,/\}/ s/versionName .*/versionName \"$DRONE_BUILD_NUMBER\"/" build.gradle
- ./gradlew assembleQaDebug
- /opt/android-sdk-linux/build-tools/*/apksigner 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
- scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- stable-*
trigger:
event:
- pull_request
- cron
cron:
- allscreenshots
+3
View File
@@ -13,6 +13,9 @@ max_line_length=120
indent_style=space
indent_size=4
[*.yml]
max_line_length=150
charset=utf-8
# Trimming is good for consistency
-1
View File
@@ -1,4 +1,3 @@
firstPRMergeComment: >
Thanks for your first pull request and welcome to the community!
Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/android/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22
Most developers hang out on IRC. So join \#nextcloud-mobile on Freenode for a chat!
+1 -1
View File
@@ -1,2 +1,2 @@
# You can add one username per supported platform and one custom link
custom: https://www.bountysource.com/teams/nextcloud/issues?tracker_ids=38838206
custom: https://nextcloud.com/include/
+17
View File
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: gradle
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
-19
View File
@@ -1,19 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 28
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels:
- bug
- "needs info/discussion"
# Issues with these labels will never be considered stale
exemptLabels: []
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
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!
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+21
View File
@@ -0,0 +1,21 @@
name: "Analysis"
on:
pull_request:
branches: [ master, stable-* ]
jobs:
analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "adopt"
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 }} ${{ github.head_ref }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} $GITHUB_RUN_NUMBER ${{ github.event.pull_request.number }}
+24
View File
@@ -0,0 +1,24 @@
name: "Assemble"
on:
pull_request:
branches: [ master, stable-* ]
jobs:
flavor:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
flavor: [ Generic, Gplay, Huawei ]
steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: 11
- name: Build ${{ matrix.flavor }}
run: |
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties
./gradlew assemble${{ matrix.flavor }}
@@ -0,0 +1,13 @@
name: Auto approve
on:
pull_request_target:
branches: [ master, stable-* ]
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/[email protected]
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
+22
View File
@@ -0,0 +1,22 @@
name: Check
on:
pull_request:
branches: [ master, stable-* ]
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
task: [ detekt, ktlint ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: 11
- name: Check ${{ matrix.task }}
run: ./gradlew ${{ matrix.task }}
+46
View File
@@ -0,0 +1,46 @@
# This workflow is provided via the organization template repository
#
# 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
jobs:
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
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/[email protected]
env:
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"
+14
View File
@@ -0,0 +1,14 @@
name: "Detect snapshot"
on:
pull_request:
branches: [ master, stable-* ]
jobs:
detectSnapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Detect SNAPSHOT
run: scripts/analysis/detectSNAPSHOT.sh
-20
View File
@@ -1,20 +0,0 @@
name: Detekt
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
detekt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Runt detekt
run: ./gradlew detekt
-25
View File
@@ -1,25 +0,0 @@
name: "Gplay Flavor"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
gPlayFlavor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Install NDK
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT}
- name: Build with Gradle
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGplay
-25
View File
@@ -1,25 +0,0 @@
name: "Generic Flavor"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
genericFlavor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Install NDK
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT}
- name: Build generic
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGeneric
@@ -1,10 +1,8 @@
name: "Validate Gradle Wrapper"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
validation:
-20
View File
@@ -1,20 +0,0 @@
name: KtLint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ktlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Runt ktlint
run: ./gradlew ktlint
+36
View File
@@ -0,0 +1,36 @@
name: "QA"
on:
pull_request:
branches: [ master, stable-* ]
jobs:
qa:
runs-on: ubuntu-latest
steps:
- name: Check if secrets are available
run: echo "::set-output name=ok::${{ secrets.KS_PASS != '' }}"
id: check-secrets
- uses: actions/checkout@v2
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
- name: set up JDK 11
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: 11
- name: Build QA
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
env:
KS_PASS: ${{ secrets.KS_PASS }}
KEY_PASS: ${{ secrets.KEY_PASS }}
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
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
./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
sudo scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
+85
View File
@@ -0,0 +1,85 @@
name: "Screenshot Test"
on:
pull_request:
branches: [ master, stable-* ]
jobs:
screenshot:
runs-on: macOS-latest
strategy:
fail-fast: false
matrix:
scheme: [ Light ]
color: [ blue ]
api-level: [ 27 ]
steps:
- uses: actions/checkout@v2
- name: Gradle cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: AVD cache
uses: actions/cache@v2
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}
- uses: actions/setup-java@v2
with:
distribution: "adopt"
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
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 screenshot tests
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: ./gradlew 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() }}
run:
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
if: ${{ always() }}
with:
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
path: build/reports
retention-days: 4
+20
View File
@@ -0,0 +1,20 @@
name: 'Close stale issues'
on:
schedule:
- cron: '* */2 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
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!'
exempt-all-pr-milestones: true
+5 -2
View File
@@ -28,8 +28,8 @@ tests/proguard-project.txt
# Android Studio and Gradle specific entries
.gradle
.idea
*.iml
.idea/*
!.idea/codeStyles/
build
/gradle.properties
.attach_pid*
@@ -47,3 +47,6 @@ fastlane/Fastfile
# scan temporary files
**/fastlane/test_output
/fastlane/vendor/
/.bundle/
/fastlane/.bundle/
View File
Whitespace-only changes.
+14 -3
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>
@@ -56,12 +55,12 @@
<JetCodeStyleSettings>
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
<value>
<package name="kotlinx.android.synthetic" withSubpackages="true" static="false" />
<package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
</value>
</option>
<option name="NAME_COUNT_TO_USE_STAR_IMPORT" value="2147483647" />
<option name="NAME_COUNT_TO_USE_STAR_IMPORT_FOR_MEMBERS" value="2147483647" />
<option name="CONTINUATION_INDENT_IN_PARAMETER_LISTS" value="false" />
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<MarkdownNavigatorCodeStyleSettings>
<option name="RIGHT_MARGIN" value="120" />
@@ -194,5 +193,17 @@
</rules>
</arrangement>
</codeStyleSettings>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
<option name="LINE_COMMENT_AT_FIRST_COLUMN" value="false" />
<option name="LINE_COMMENT_ADD_SPACE" value="true" />
<option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1" />
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
</codeStyleSettings>
</code_scheme>
</component>
+7
View File
@@ -0,0 +1,7 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="ktlint" />
<inspection_tool class="KotlinUnusedImport" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="RedundantSemicolon" enabled="true" level="ERROR" enabled_by_default="true" />
</profile>
</component>
+6
View File
@@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="PROJECT_PROFILE" value="ktlint" />
<version value="1.0" />
</settings>
</component>
+171
View File
@@ -1,3 +1,174 @@
## 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
For a full list, please see https://github.com/nextcloud/android/milestone/59
## 3.16.1 (June, 01, 2021)
- Fix media tab not showing images/videos
- Connectivity checks fixed
- Crashing while retrieving avatar
Minimum: NC 16 Server, Android 5.0 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/58
## 3.16.0 (May, 05, 2021)
- Enhance sharing
- Update template section when creating new files
- Pin protection update
- Updated notification handling during updates @newhinton
- UI improvements
Minimum: NC 16 Server, Android 5.0 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/55
## 3.15.1 (March, 10, 2021)
- share fix
- 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)
- Media instead of Photos: also show videos
- UI Improvement (shimmer)
- 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)
- Fix crash when clicking "+" button
- Fix push notifications on some devices
- Fix updating of sharee list
- Fix crash during setting status
- Fix Crash Sharing files to Nextcloud via Android Apps
For a full list, please see https://github.com/nextcloud/android/milestone/56
## 3.14.2 (January, 13, 2021)
- Fix push notifications on some devices
- Fix updating of sharee list
- Fix crash during setting status
- Fix Crash Sharing files to Nextcloud via Android Apps
For a full list, please see https://github.com/nextcloud/android/milestone/54
## 3.14.1 (December, 02, 2020)
- Fix crash due to service not started in time
- Fix UI while media playback
- Fix uploading direct camera images with more than one picture
- Fix conflict handling on auto upload
For a full list, please see https://github.com/nextcloud/android/milestone/53
## 3.14.0 (November, 18, 2020)
- Prevent Firebase crashes: Exodus will warn about tracker, but code wise it is disabled
- Status support
- Document storage enhancement @tgrote
- Auto upload media detection improvements @AndyScherzinger
- Sharing UI rewrite
- Drop Android 4.3, new min version Android 4.4
For a full list, please see https://github.com/nextcloud/android/milestone/50
## 3.13.1 (September, 15, 2020)
- bugfix release
- auto upload obey metered network
- fix adding account via qrCode
- fix deleting password on share
- fix conflict handling on auto upload
- lots more
For a full list, please see https://github.com/nextcloud/android/milestone/51
## 3.13.0 (August, 18, 2020)
- new UI overhaul @Shagequi @JorisBodin
- E2EE beta support
- dark mode enhancement @AndyScherzinger
- warn on outdated NC16 server
- requires Android 4.3 or newer
For a full list, please see https://github.com/nextcloud/android/milestone/48
## 3.12.1 (July, 07, 2020)
- UI does not hang when changing auto upload
- fix crash on contacts backup settings
- bugfixes
For a full list, please see https://github.com/nextcloud/android/milestone/49
## 3.12.0 (June, 10, 2020)
- add circle support for searching/displaying
- if no offline editor is available, use OO/Cool/Text
- add possibility to set expiration date on user/group shares (NC18+)
- rich workspaces can be disabled on server side
- improved loading view
- requires Android 4.2 or newer
For a full list, please see https://github.com/nextcloud/android/milestone/42
## 3.11.1 (April, 23, 2020)
- Crash while browsing files
+17 -8
View File
@@ -16,6 +16,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 +120,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 +138,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.
@@ -272,11 +280,11 @@ Source code of app:
#### UI tests
We use [shot](https://github.com/Karumi/Shot) for taking screenshots and compare them
- check screenshots: ```./gradlew executeScreenshotTests ```
- check screenshots: ```./gradlew gplayDebugExecuteScreenshotTests ```
- update/generate new screenshots: ```scripts/updateScreenshots.sh ```
- in this script are samples how to only execute a given class/test
- this will fire up docker & emulator to ensure that screenshots look the same
- creating own UI comparision tests:
- creating own UI comparison tests:
- add IntentsTestRule for launching activity directly:
```java
@@ -319,17 +327,17 @@ 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
This section contains some general guideliens for new contributors, based on common issues flagged during code review.
This section contains some general guidelines for new contributors, based on common issues flagged during code review.
### Approach to technical debt
TL;DR Non-Stop Litter Picking Party!
We recognize the importance of technical debt that can slow down development, make bufixing difficult and
We recognize the importance of technical debt that can slow down development, make bug fixing difficult and
discourage future contributors.
We are mindful of the [Broken Windows Theory](https://en.wikipedia.org/wiki/Broken_windows_theory) and we'd like
@@ -379,6 +387,7 @@ Generally, whenever you need:
* media playback
* networking
* logging
* notifications management
we have something more suitable.
@@ -444,7 +453,7 @@ Examples for different versions:
* 8.12.2 ```80120200```
* 9.8.4-rc18 ```90080418```
beware, that beta releases for an upcoming version will always use the minor and hotfix version of the release they are targeting. So to make sure the version code of the upcoming stable release will always be higher stable releases set the 2 beta digits to '99' as seen above in the examples.
beware, that beta releases for an upcoming version will always use the minor and hotfix version of the release they are targeting. So to make sure the version code of the upcoming stable release will always be higher stable releases set the 2 beta digits to '99' as seen above in the examples. For major versions, as we're not a library and thus 'incompatible API changes' is not something that happens, decisions are essentially marketing-based. If we deem a release to be very impactful, we might increase the major version number.
### Dev
For dev the version name is in format YYYYMMDD. It is mainly as a reference for reporting bugs and is not related to stable/release candidates as it is an independent app.
+10
View File
@@ -0,0 +1,10 @@
# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!
source "https://rubygems.org"
gem 'fastlane'
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
+216
View File
@@ -0,0 +1,216 @@
GEM
remote: https://rubygems.org/
specs:
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.2.0)
aws-partitions (1.541.0)
aws-sdk-core (3.124.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-kms (1.52.0)
aws-sdk-core (~> 3, >= 3.122.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.109.0)
aws-sdk-core (~> 3, >= 3.122.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
aws-sigv4 (1.4.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.0.3)
colored (1.2)
colored2 (3.1.2)
commander (4.6.0)
highline (~> 2.0.0)
declarative (0.0.20)
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.2.3)
excon (0.89.0)
faraday (1.8.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords (>= 0.0.4)
faraday-cookie_jar (0.0.7)
faraday (>= 0.8.0)
http-cookie (~> 1.0.0)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.2.5)
fastlane (2.199.0)
CFPropertyList (>= 2.3, < 4.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 (~> 4.6)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
excon (>= 0.71.0, < 1.0.0)
faraday (~> 1.0)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 1.0)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.1.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)
terminal-notifier (>= 2.0.0, < 3.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
tty-screen (>= 0.6.3, < 1.0.0)
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-huawei_appgallery_connect (1.0.17)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.14.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-core (0.4.1)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
mini_mime (~> 1.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.a)
rexml
webrick
google-apis-iamcredentials_v1 (0.9.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-playcustomapp_v1 (0.6.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-storage_v1 (0.10.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.5.0)
faraday (>= 0.17.3, < 2.0)
google-cloud-errors (1.2.0)
google-cloud-storage (1.35.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
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 (1.1.0)
faraday (>= 0.17.3, < 2.0)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
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.6.1)
jwt (2.3.0)
memoist (0.16.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.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)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.5)
rouge (2.0.7)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.3)
signet (0.16.0)
addressable (~> 2.8)
faraday (>= 0.17.3, < 2.0)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.8)
CFPropertyList
naturally
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)
tty-cursor (~> 0.7)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8)
unicode-display_width (1.8.0)
webrick (1.7.0)
word_wrap (1.0.0)
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.1)
xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
x86_64-linux
DEPENDENCIES
fastlane
fastlane-plugin-huawei_appgallery_connect
BUNDLED WITH
2.2.26
+10 -2
View File
@@ -42,13 +42,21 @@ Make sure you read [SETUP.md](https://github.com/nextcloud/android/blob/master/S
Easy starting points are also reviewing [pull requests](https://github.com/nextcloud/android/pulls) and working on [starter issues](https://github.com/nextcloud/android/issues?q=is%3Aopen+is%3Aissue+label%3A%22starter+issue%22).
### Getting debug info via logcat :mag:
#### With a computer:
- connect the device via USB
#### With a linux computer:
- enable USB-Debugging in your smartphones developer settings and connect it via USB
- open command prompt/terminal
- enter `adb logcat | grep "$(adb shell ps | awk '/com.nextcloud.client/{print $2}')" > logcatOutput.txt` to save the output to this file
**Note:** You must have [adb](https://developer.android.com/studio/releases/platform-tools.html) installed first!
#### On Windows:
- download and install [Minimal ADB and fastboot](https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/#post-42407269)
- enable USB-Debugging in your smartphones developer settings and connect it via USB
- launch Minimal ADB and fastboot
- enter `adb shell ps | findstr com.nextcloud.client` and use the second place of this output (it is the first integer, e.g. `18841`) as processID in the following command:
- `adb logcat | findstr <processID> > %HOMEPATH%\Downloads\logcatOutput.txt` (This will produce a logcatOutput.txt file in your downloads)
- if the processID is 18841, an example command is: `adb logcat | findstr 18841 > %HOMEPATH%\Downloads\logcatOutput.txt` (You might cancel the process after a while manually: it will not be exited automatically.)
#### On a device (with root) :wrench:
- open terminal app *(can be enabled in developer options)*
- get root access via "su"
+24
View File
@@ -0,0 +1,24 @@
# Security Policy
## Supported Versions
Only the latest version is supported. We release every second month a feature release (currently 3.x) and inbetween a bug fix release (3.x.y).
## Reporting a Vulnerability
Security is very important to us. If you have discovered a security issue with Nextcloud,
please read our responsible disclosure guidelines and contact us at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
Your report should include:
- Product version
- A vulnerability description
- Reproduction steps
A member of the security team will confirm the vulnerability, determine its impact, and develop a fix.
The fix will be applied to the master branch, tested, and packaged in the next bug fix release.
The vulnerability will be publicly announced after the release. Finally, your name will be added
to the [hall of fame](https://hackerone.com/nextcloud/thanks) as a thank you from the entire Nextcloud community. Note our
[threat model](https://nextcloud.com/security/threat-model) to know what is expected behavior.
Please visit https://nextcloud.com/security/ for further information about security.
+18 -9
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```
@@ -94,14 +92,25 @@ 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 build.gradle:
```
implementation ("com.github.nextcloud:android-library:$androidLibraryVersion") {
exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version
}
```
- comment in settings.gradle:
- `include ':'`
- uncomment in settings.gradle:
- `//include 'nextcloud-android-library'`
- add in settings.gradle:
- `include 'nextcloud-android-library'`
- sync project with gradle files
Now every change in library can be directly used in files app.
### 6. Troubleshooting
#### 1. Compilation fails with "java.lang.OutOfMemoryError: Java heap space" error
The default settings for Gradle is to limit the compilation to 1GB of heap.
You can increase that value by :
- adding `org.gradle.jvmargs=-Xmx4G` to `gradle.properties`
- running gradlew(.bat) with this command line : `GRADLE_OPTS="-Xmx4G" ./gradlew clean build"
-32
View File
@@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="resources"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
-5
View File
@@ -1,5 +0,0 @@
target/
ScreenShots/
.DS_Store
Users/
-23
View File
@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>androidtest</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
@@ -1,12 +0,0 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.7
@@ -1,4 +0,0 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
-20
View File
@@ -1,20 +0,0 @@
** Work in progress
This project contains a set of automatic tests operating in the UI level.
Tests are to be run with the tool Appium. Check [here][0] to install it and all its dependencies (including Maven).
You will need to modify the constants in automationTest/src/test/java/com/owncloud/android/test/ui/testSuites/Config.java to assign appropriate values for your test server and accounts.
You will need to include the ownCloud.apk to test in automationTest/src/test/resources/.
To run the tests from command line, plug a device to your computer or start and emulator. Then type
mvn clean tests
To run only one category of the test
mvn clean -Dtest=RunSmokeTests test
The project may also be imported in Eclipse, with the appropriate plug-ins, and run from it.
[0]: http://appium.io/slate/en/master/?java#about-appium
-78
View File
@@ -1,78 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.owncloud</groupId>
<artifactId>androidtest</artifactId>
<version>1.0-SNAPSHOT</version>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<includes>
<include>**/*Test**.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>2.45.0</version>
</dependency>
<dependency>
<groupId>io.selendroid</groupId>
<version>0.9.0</version>
<artifactId>selendroid-standalone</artifactId>
</dependency>
<dependency>
<groupId>io.selendroid</groupId>
<version>0.9.0</version>
<artifactId>selendroid-client</artifactId>
</dependency>
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.3.6</version>
</dependency>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>4.1.1.4</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
-4
View File
@@ -1,4 +0,0 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
@@ -1,244 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.actions;
import java.util.HashMap;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.ScreenOrientation;
import org.openqa.selenium.remote.RemoteWebElement;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import com.owncloud.android.test.ui.models.CertificatePopUp;
import com.owncloud.android.test.ui.models.ElementMenuOptions;
import com.owncloud.android.test.ui.models.GmailSendMailView;
import com.owncloud.android.test.ui.models.ShareView;
import com.owncloud.android.test.ui.models.UploadFilesView;
import com.owncloud.android.test.ui.models.LoginForm;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.MenuList;
import com.owncloud.android.test.ui.models.NewFolderPopUp;
import com.owncloud.android.test.ui.models.RemoveConfirmationView;
import com.owncloud.android.test.ui.models.SettingsView;
import com.owncloud.android.test.ui.models.WaitAMomentPopUp;
import com.owncloud.android.test.ui.testSuites.Common;
import com.owncloud.android.test.ui.testSuites.Config;
public class Actions {
public static FileListView login(String url, String user, String password,
Boolean isTrusted, AndroidDriver driver)
throws InterruptedException {
LoginForm loginForm = new LoginForm(driver);
CertificatePopUp certificatePopUp = loginForm.typeHostUrl(url);
if(!isTrusted){
WebDriverWait wait = new WebDriverWait(driver, 30);
//sometimes the certificate has been already accept
//and it doesn't appear again
try {
wait.until(ExpectedConditions
.visibilityOf(certificatePopUp.getOkButtonElement()));
//we need to repaint the screen
//because of some element are misplaced
driver.rotate(ScreenOrientation.LANDSCAPE);
driver.rotate(ScreenOrientation.PORTRAIT);
certificatePopUp.clickOnOkButton();
}catch (NoSuchElementException e) {
}
}
loginForm.typeUserName(user);
loginForm.typePassword(password);
//TODO. Assert related to check the connection?
return loginForm.clickOnConnectButton();
}
public static WaitAMomentPopUp createFolder(String folderName,
FileListView fileListView){
NewFolderPopUp newFolderPopUp = fileListView.clickOnNewFolderButton();
newFolderPopUp.typeNewFolderName(folderName);
WaitAMomentPopUp waitAMomentPopUp = newFolderPopUp
.clickOnNewFolderOkButton();
//TODO. assert here
return waitAMomentPopUp;
}
public static AndroidElement scrollTillFindElement (String elementName,
AndroidElement element, AndroidDriver driver) {
AndroidElement fileElement;
if(element.getAttribute("scrollable").equals("true")){
HashMap<String, String> scrollObject = new HashMap<String,String>();
scrollObject.put("text", elementName);
scrollObject.put("element", ( (RemoteWebElement) element).getId());
driver.executeScript("mobile: scrollTo", scrollObject);
}
try {
fileElement = (AndroidElement) driver
.findElementByName(elementName);
} catch (NoSuchElementException e) {
fileElement = null;
}
return fileElement;
}
public static void deleteAccount (int accountPosition,FileListView fileListView) {
MenuList menulist = fileListView.clickOnMenuButton();
SettingsView settingView = menulist.clickOnSettingsButton();
deleteAccount(accountPosition,settingView);
}
public static void deleteAccount (int accountPosition, SettingsView settingsView) {
settingsView.tapOnAccountElement(accountPosition,1, 1000);
settingsView.clickOnDeleteAccountElement();
}
public static void clickOnMainLayout(AndroidDriver driver){
driver.tap(1, 0, 0, 1);
}
public static AndroidElement deleteElement(String elementName,
FileListView fileListView, AndroidDriver driver) throws Exception{
AndroidElement fileElement;
WaitAMomentPopUp waitAMomentPopUp;
try{
//To open directly the "file list view" and
//we don't need to know in which view we are
driver.startActivity("com.owncloud.android",
".ui.activity.FileDisplayActivity");
fileElement = (AndroidElement) driver
.findElementByName(elementName);
ElementMenuOptions menuOptions = fileListView
.longPressOnElement(elementName);
RemoveConfirmationView removeConfirmationView = menuOptions
.clickOnRemove();;
waitAMomentPopUp = removeConfirmationView
.clickOnRemoteAndLocalButton();
Common.waitTillElementIsNotPresent(
waitAMomentPopUp.getWaitAMomentTextElement(), 100);
}catch(NoSuchElementException e){
fileElement=null;
}
return fileElement;
}
public static AndroidElement shareLinkElementByGmail(String elementName,
FileListView fileListView, AndroidDriver driver, Common common)
throws Exception{
try{
//To open directly the "file list view" and
//we don't need to know in which view we are
driver.startActivity("com.owncloud.android",
".ui.activity.FileDisplayActivity");
ElementMenuOptions menuOptions = fileListView
.longPressOnElement(elementName);
ShareView shareView = menuOptions.clickOnShareLinkElement();
Actions.scrollTillFindElement("Gmail", shareView
.getListViewLayout(), driver).click();
GmailSendMailView gmailSendMailView = new GmailSendMailView(driver);
gmailSendMailView.typeToEmailAdress(Config.gmailAccount);
gmailSendMailView.clickOnSendButton();
Common.waitTillElementIsNotPresentWithoutTimeout(fileListView
.getProgressCircular(), 1000);
common.wait.until(ExpectedConditions.visibilityOf(
fileListView.getFileElementLayout()
.findElement(By.id(FileListView
.getSharedElementIndicator()))));
}catch(NoSuchElementException e){
return null;
}
return (AndroidElement) fileListView.getFileElementLayout()
.findElement(By.id(FileListView.getSharedElementIndicator()));
}
public static AndroidElement shareLinkElementByCopyLink(String elementName,
FileListView fileListView, AndroidDriver driver, Common common)
throws Exception{
try{
//To open directly the "file list view" and
//we don't need to know in which view we are
driver.startActivity("com.owncloud.android",
".ui.activity.FileDisplayActivity");
ElementMenuOptions menuOptions = fileListView
.longPressOnElement(elementName);
ShareView shareView = menuOptions.clickOnShareLinkElement();
Actions.scrollTillFindElement("Copy link", shareView.getListViewLayout(),
driver).click();
WaitAMomentPopUp waitAMomentPopUp = new WaitAMomentPopUp(driver);
Common.waitTillElementIsNotPresentWithoutTimeout(waitAMomentPopUp
.getWaitAMomentTextElement(), 100);
common.wait.until(ExpectedConditions.visibilityOf(
fileListView.getFileElementLayout()
.findElement(By.id(FileListView.getSharedElementIndicator()))));
}catch(NoSuchElementException e){
return null;
}
return (AndroidElement) fileListView.getFileElementLayout()
.findElement(By.id(FileListView.getSharedElementIndicator()));
}
public static void unshareLinkElement(String elementName,
FileListView fileListView, AndroidDriver driver, Common common)
throws Exception{
try{
//To open directly the "file list view" and
//we don't need to know in which view we are
driver.startActivity("com.owncloud.android",
".ui.activity.FileDisplayActivity");
ElementMenuOptions menuOptions = fileListView
.longPressOnElement(elementName);
WaitAMomentPopUp waitAMomentPopUp = menuOptions
.clickOnUnshareLinkElement();
Common.waitTillElementIsNotPresentWithoutTimeout(waitAMomentPopUp
.getWaitAMomentTextElement(), 100);
Common.waitTillElementIsNotPresent((AndroidElement) fileListView
.getFileElementLayout()
.findElement(By.id(FileListView.getSharedElementIndicator())
),100);
}catch(NoSuchElementException e){
}
}
public static FileListView uploadFile(String elementName,
FileListView fileListView) throws InterruptedException{
fileListView.clickOnUploadButton();
UploadFilesView uploadFilesView = fileListView
.clickOnFilesElementUploadFile();
uploadFilesView.clickOnFileName(elementName);
FileListView fileListViewAfterUploadFile = uploadFilesView
.clickOnUploadButton();
//TO DO. detect when the file is successfully uploaded
Thread.sleep(15000);
return fileListViewAfterUploadFile;
}
}
@@ -1,22 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.groups;
public interface FailingTestCategory extends IgnoreTestCategory {}
@@ -1,138 +0,0 @@
package com.owncloud.android.test.ui.groups;
import java.lang.annotation.Annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import org.junit.Test;
import org.junit.experimental.categories.Categories.CategoryFilter;
import org.junit.experimental.categories.Categories.ExcludeCategory;
import org.junit.experimental.categories.Categories.IncludeCategory;
import org.junit.experimental.categories.Category;
import org.junit.runner.Description;
import org.junit.runner.manipulation.NoTestsRemainException;
import org.junit.runners.Suite;
import org.junit.runners.model.InitializationError;
import org.junit.runners.model.RunnerBuilder;
/**
* This class is based on org.junit.experimental.categories.Categories from JUnit 4.10.
*
* All anotations and inner classes from the original class Categories are removed,
* since they will be re-used.
* Unfortunately sub-classing Categories did not work.
*/
public class FlexibleCategories extends Suite {
/**
* Specifies the package which should be scanned for test classes (e.g. @TestScanPackage("my.package")).
* This annotation is required.
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface TestScanPackage {
public String value();
}
/**
* Specifies the prefix of matching class names (e.g. @TestClassPrefix("Test")).
* This annotation is optional (default: "").
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface TestClassPrefix {
public String value();
}
/**
* Specifies the suffix of matching class names (e.g. @TestClassSuffix("Test")).
* This annotation is optional (default: "Test").
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface TestClassSuffix {
public String value();
}
/**
* Specifies an annotation for methods which must be present in a matching class (e.g. @TestMethodAnnotationFilter(Test.class)).
* This annotation is optional (default: org.junit.Test.class).
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface TestMethodAnnotation {
public Class<? extends Annotation> value();
}
public FlexibleCategories(Class<?> clazz, RunnerBuilder builder)
throws InitializationError {
this(builder, clazz, PatternClasspathClassesFinder.getSuiteClasses(
getTestScanPackage(clazz), getTestClassPrefix(clazz), getTestClassSuffix(clazz),
getTestMethodAnnotation(clazz)));
try {
filter(new CategoryFilter(getIncludedCategory(clazz),
getExcludedCategory(clazz)));
} catch (NoTestsRemainException e) {
// Ignore all classes with no matching tests.
}
assertNoCategorizedDescendentsOfUncategorizeableParents(getDescription());
}
public FlexibleCategories(RunnerBuilder builder, Class<?> clazz,
Class<?>[] suiteClasses) throws InitializationError {
super(builder, clazz, suiteClasses);
}
private static String getTestScanPackage(Class<?> clazz) throws InitializationError {
TestScanPackage annotation = clazz.getAnnotation(TestScanPackage.class);
if (annotation == null) {
throw new InitializationError("No package given to scan for tests!\nUse the annotation @TestScanPackage(\"my.package\") on the test suite " + clazz + ".");
}
return annotation.value();
}
private static String getTestClassPrefix(Class<?> clazz) {
TestClassPrefix annotation = clazz.getAnnotation(TestClassPrefix.class);
return annotation == null ? "" : annotation.value();
}
private static String getTestClassSuffix(Class<?> clazz) {
TestClassSuffix annotation = clazz.getAnnotation(TestClassSuffix.class);
return annotation == null ? "Test" : annotation.value();
}
private static Class<? extends Annotation> getTestMethodAnnotation(Class<?> clazz) {
TestMethodAnnotation annotation = clazz.getAnnotation(TestMethodAnnotation.class);
return annotation == null ? Test.class : annotation.value();
}
private Class<?> getIncludedCategory(Class<?> clazz) {
IncludeCategory annotation= clazz.getAnnotation(IncludeCategory.class);
return annotation == null ? null : annotation.value();
}
private Class<?> getExcludedCategory(Class<?> clazz) {
ExcludeCategory annotation= clazz.getAnnotation(ExcludeCategory.class);
return annotation == null ? null : annotation.value();
}
private void assertNoCategorizedDescendentsOfUncategorizeableParents(Description description) throws InitializationError {
if (!canHaveCategorizedChildren(description))
assertNoDescendantsHaveCategoryAnnotations(description);
for (Description each : description.getChildren())
assertNoCategorizedDescendentsOfUncategorizeableParents(each);
}
private void assertNoDescendantsHaveCategoryAnnotations(Description description) throws InitializationError {
for (Description each : description.getChildren()) {
if (each.getAnnotation(Category.class) != null)
throw new InitializationError("Category annotations on Parameterized classes are not supported on individual methods.");
assertNoDescendantsHaveCategoryAnnotations(each);
}
}
// If children have names like [0], our current magical category code can't determine their
// parentage.
private static boolean canHaveCategorizedChildren(Description description) {
for (Description each : description.getChildren())
if (each.getTestClass() == null)
return false;
return true;
}
}
@@ -1,24 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.groups;
public interface IgnoreTestCategory {}
@@ -1,5 +0,0 @@
package com.owncloud.android.test.ui.groups;
public interface InProgressCategory extends IgnoreTestCategory{
}
@@ -1,25 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.groups;
public interface NoIgnoreTestCategory {
}
@@ -1,23 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.groups;
public interface OtherTestCategory extends IgnoreTestCategory {}
@@ -1,141 +0,0 @@
package com.owncloud.android.test.ui.groups;
import java.io.File;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.net.URL;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
/**
*
* Modified version of ClasspathClassesFinder from:
* http://linsolas.free.fr/wordpress/index.php/2011/02/how-to-categorize-junit-tests-with-maven/
*
* The difference is, that it does not search for annotated classes but for classes with a certain
* class name prefix and suffix.
*/
public final class PatternClasspathClassesFinder {
/**
* Get the list of classes of a given package name, and that are annotated
* by a given annotation.
*
* @param packageName
* The package name of the classes.
* @param classPrefix
* The prefix of the class name.
* @param classSuffix
* The suffix of the class name.
* @param methodAnnotation
* Only return classes containing methods annotated with methodAnnotation.
* @return The List of classes that matches the requirements.
*/
public static Class<?>[] getSuiteClasses(String packageName,
String classPrefix, String classSuffix,
Class<? extends Annotation> methodAnnotation) {
try {
return getClasses(packageName, classPrefix, classSuffix, methodAnnotation);
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
/**
* Get the list of classes of a given package name, and that are annotated
* by a given annotation.
*
* @param packageName
* The package name of the classes.
* @param classPrefix
* The prefix of the class name.
* @param classSuffix
* The suffix of the class name.
* @param methodAnnotation
* Only return classes containing methods annotated with methodAnnotation.
* @return The List of classes that matches the requirements.
* @throws ClassNotFoundException
* If something goes wrong...
* @throws IOException
* If something goes wrong...
*/
private static Class<?>[] getClasses(String packageName,
String classPrefix, String classSuffix,
Class<? extends Annotation> methodAnnotation)
throws ClassNotFoundException, IOException {
ClassLoader classLoader = Thread.currentThread()
.getContextClassLoader();
String path = packageName.replace('.', '/');
// Get classpath
Enumeration<URL> resources = classLoader.getResources(path);
List<File> dirs = new ArrayList<File>();
while (resources.hasMoreElements()) {
URL resource = resources.nextElement();
dirs.add(new File(resource.getFile()));
}
// For each classpath, get the classes.
ArrayList<Class<?>> classes = new ArrayList<Class<?>>();
for (File directory : dirs) {
classes.addAll(findClasses(directory, packageName, classPrefix, classSuffix, methodAnnotation));
}
return classes.toArray(new Class[classes.size()]);
}
/**
* Find classes, in a given directory (recursively), for a given package
* name, that are annotated by a given annotation.
*
* @param directory
* The directory where to look for.
* @param packageName
* The package name of the classes.
* @param classPrefix
* The prefix of the class name.
* @param classSuffix
* The suffix of the class name.
* @param methodAnnotation
* Only return classes containing methods annotated with methodAnnotation.
* @return The List of classes that matches the requirements.
* @throws ClassNotFoundException
* If something goes wrong...
*/
private static List<Class<?>> findClasses(File directory,
String packageName, String classPrefix, String classSuffix,
Class<? extends Annotation> methodAnnotation)
throws ClassNotFoundException {
List<Class<?>> classes = new ArrayList<Class<?>>();
if (!directory.exists()) {
return classes;
}
File[] files = directory.listFiles();
for (File file : files) {
if (file.isDirectory()) {
classes.addAll(findClasses(file,
packageName + "." + file.getName(), classPrefix, classSuffix, methodAnnotation));
} else if (file.getName().startsWith(classPrefix) && file.getName().endsWith(classSuffix + ".class")) {
// We remove the .class at the end of the filename to get the
// class name...
Class<?> clazz = Class.forName(packageName
+ '.'
+ file.getName().substring(0,
file.getName().length() - 6));
// Check, if class contains test methods (prevent "No runnable methods" exception):
boolean classHasTest = false;
for (Method method : clazz.getMethods()) {
if (method.getAnnotation(methodAnnotation) != null) {
classHasTest = true;
break;
}
}
if (classHasTest) {
classes.add(clazz);
}
}
}
return classes;
}
}
@@ -1,25 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.groups;
public interface SmokeTestCategory {
}
@@ -1,25 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.groups;
public interface UnfinishedTestCategory extends IgnoreTestCategory{
}
@@ -1,49 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.PageFactory;
public class CertificatePopUp {
final AndroidDriver driver;
@AndroidFindBy(name = "OK")
private AndroidElement okButton;
public CertificatePopUp (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public void clickOnOkButton () {
okButton.click();
}
public AndroidElement getOkButtonElement () {
return okButton;
}
}
@@ -1,94 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.PageFactory;
public class ElementMenuOptions {
final AndroidDriver driver;
@AndroidFindBy(name = "Share link")
private AndroidElement shareLinkElement;
@AndroidFindBy(name = "Unshare link")
private AndroidElement unshareLinkElement;
@AndroidFindBy(name = "Details")
private AndroidElement detailsFileElement;
@AndroidFindBy(name = "Rename")
private AndroidElement renameFileElement;
@AndroidFindBy(name = "Remove")
private AndroidElement removeFileElement;
@AndroidFindBy(name = "Move")
private AndroidElement moveElement;
public ElementMenuOptions (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public FileDetailsView clickOnDetails () {
detailsFileElement.click();
FileDetailsView fileDetailsView = new FileDetailsView(driver);
return fileDetailsView;
}
public RemoveConfirmationView clickOnRemove () {
removeFileElement.click();
RemoveConfirmationView removeConfirmationView =
new RemoveConfirmationView(driver);
return removeConfirmationView;
}
public MoveView clickOnMove () {
moveElement.click();
MoveView moveView = new MoveView(driver);
return moveView;
}
public NewFolderPopUp clickOnRename () {
renameFileElement.click();
NewFolderPopUp newFolderPopUp = new NewFolderPopUp(driver);
return newFolderPopUp;
}
public ShareView clickOnShareLinkElement () {
shareLinkElement.click();
ShareView shareView = new ShareView(driver);
return shareView;
}
public WaitAMomentPopUp clickOnUnshareLinkElement () {
unshareLinkElement.click();
WaitAMomentPopUp waitAMomentPopUp = new WaitAMomentPopUp(driver);
return waitAMomentPopUp;
}
}
@@ -1,61 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.PageFactory;
public class FileDetailsView {
final AndroidDriver driver;
@CacheLookup
@AndroidFindBy(name = "Keep file up to date")
private AndroidElement keepFileUpToDateCheckbox;
@AndroidFindBy(id = "com.owncloud.android:id/fdProgressBar")
private AndroidElement progressBar;
public FileDetailsView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public void checkKeepFileUpToDateCheckbox () {
if(keepFileUpToDateCheckbox.getAttribute("checked").equals("false")){
keepFileUpToDateCheckbox.click();
}
}
public void unCheckKeepFileUpToDateCheckbox () {
if(keepFileUpToDateCheckbox.getAttribute("checked").equals("true")){
keepFileUpToDateCheckbox.click();
}
}
public AndroidElement getProgressBar (){
return progressBar;
}
}
@@ -1,211 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import java.util.List;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.android.AndroidKeyCode;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.Point;
import com.owncloud.android.test.ui.actions.Actions;
public class FileListView {
final AndroidDriver driver;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".description(\"More options\")")
private AndroidElement menuButton;
@CacheLookup
@AndroidFindBy(id = "com.owncloud.android:id/list_root")
private AndroidElement filesLayout;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".resourceId(\"android:id/action_bar_title\")")
private AndroidElement titleText;
@AndroidFindBy(id = "android:id/progress_circular")
private AndroidElement progressCircular;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".description(\"New folder\")")
private AndroidElement newFolderButton;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector().description(\"Upload\")")
private AndroidElement uploadButton;
private AndroidElement waitAMomentText;
@AndroidFindBy(id = "com.owncloud.android:id/ListItemLayout")
private List<AndroidElement> listItemLayout;
@AndroidFindBy(id = "com.owncloud.android:id/list_root")
private AndroidElement listRootLayout;
@AndroidFindBy(name = "Files")
private AndroidElement filesElementUploadFile;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".description(\"List Layout\")")
private AndroidElement listLayout;
@AndroidFindBy(uiAutomator = "new UiSelector().className(\"android.widget.FrameLayout\").index(0)")
private AndroidElement deviceScreen;
private AndroidElement fileElement;
private AndroidElement fileElementLayout;
private static String localFileIndicator =
"com.owncloud.android:id/localFileIndicator";
private static String favoriteFileIndicator =
"com.owncloud.android:id/keptOfflineIcon";
private static String sharedElementIndicator =
"com.owncloud.android:id/sharedIcon";
public FileListView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public MenuList clickOnMenuButton () {
//if the menu option is not in the actionBar, it is opening again
try {
menuButton.click();
} catch (NoSuchElementException e){
driver.sendKeyEvent(AndroidKeyCode.MENU);
}
MenuList menuList = new MenuList (driver);
return menuList;
}
public SettingsView getSettingsView () {
SettingsView settingsView = new SettingsView(driver);
return settingsView;
}
public NewFolderPopUp clickOnNewFolderButton () {
newFolderButton.click();
NewFolderPopUp newFolderPopUp = new NewFolderPopUp(driver);
return newFolderPopUp;
}
public void clickOnUploadButton () {
uploadButton.click();
}
public UploadFilesView clickOnFilesElementUploadFile () {
filesElementUploadFile.click();
UploadFilesView uploadFilesView = new UploadFilesView(driver);
return uploadFilesView;
}
public AndroidElement getTitleTextElement () {
return titleText;
}
public AndroidElement getUploadButton () {
return uploadButton;
}
public AndroidElement getWaitAMomentTextElement () {
return waitAMomentText;
}
public AndroidElement getListRootElement () {
return listRootLayout;
}
public List<AndroidElement> getListItemLayout () {
return listItemLayout;
}
public AndroidElement getFileElement () {
return fileElement;
}
public ElementMenuOptions longPressOnElement (String elementName) {
scrollTillFindElement(elementName).tap(1, 1000);
//fileElement.tap(1, 1000);
ElementMenuOptions menuOptions = new ElementMenuOptions(driver);
return menuOptions;
}
public AndroidElement scrollTillFindElement (String elementName) {
fileElement = Actions
.scrollTillFindElement (elementName,filesLayout,driver);
try {
fileElementLayout = (AndroidElement) driver
.findElementByAndroidUIAutomator("new UiSelector()"
+ ".description(\"LinearLayout-"+ elementName +"\")");
} catch (NoSuchElementException e) {
fileElementLayout = null;
}
return fileElement;
}
public AndroidElement getFileElementLayout () {
return fileElementLayout;
}
public AndroidElement getProgressCircular () {
return progressCircular;
}
public static String getLocalFileIndicator() {
return localFileIndicator;
}
public static String getFavoriteFileIndicator() {
return favoriteFileIndicator;
}
public static String getSharedElementIndicator() {
return sharedElementIndicator;
}
public void pulldownToRefresh () throws InterruptedException {
Point listLocation = listLayout.getLocation();
driver.swipe(listLocation.getX(),listLocation.getY(),
listLocation.getX(),listLocation.getY()+1000, 5000);
}
public void pulldownToSeeNotification () throws InterruptedException {
Point listLocation = deviceScreen.getLocation();
driver.swipe(listLocation.getX(),listLocation.getY(),
listLocation.getX(),listLocation.getY()+1000, 5000);
}
}
@@ -1,58 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.support.PageFactory;
public class GmailEmailListView {
final AndroidDriver driver;
@AndroidFindBy(uiAutomator = "new UiSelector().description(\""
+ "me about UploadFile, on May 11, conversation read\")")
private AndroidElement emailAmericanFormatDate;
@AndroidFindBy(uiAutomator = "new UiSelector().description(\""
+ "me about UploadFile, on 11 May, conversation read\")")
private AndroidElement emailEuropeanFormatDate;
public GmailEmailListView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public GmailEmailView clickOnEmail (){
try{
emailAmericanFormatDate.click();
}catch (NoSuchElementException e) {
emailEuropeanFormatDate.click();
}
GmailEmailView gmailEmailView = new GmailEmailView(driver);
return gmailEmailView;
}
}
@@ -1,50 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.PageFactory;
import com.owncloud.android.test.ui.testSuites.Config;
public class GmailEmailView {
final AndroidDriver driver;
@CacheLookup
@AndroidFindBy(name = Config.fileToTestSendByEmailName)
private AndroidElement fileButton;
public GmailEmailView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public ImageView clickOnfileButton (){
fileButton.click();
ImageView imageView = new ImageView(driver);
return imageView;
}
}
@@ -1,63 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.PageFactory;
public class GmailSendMailView {
final AndroidDriver driver;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector().description(\"To\")")
private AndroidElement toTextField;
@CacheLookup
@AndroidFindBy(name = "Subject")
private AndroidElement subjectTextField;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector().description(\"Send\")")
private AndroidElement sendButton;
public GmailSendMailView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public void typeToEmailAdress (String email) {
toTextField.sendKeys(email + "\n");
}
public void clickOnSendButton () {
sendButton.click();
}
public void typeSubject (String subject) {
subjectTextField.clear();
subjectTextField.sendKeys(subject);
}
}
@@ -1,80 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.PageFactory;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.testSuites.Common;
public class ImageView {
final AndroidDriver driver;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".description(\"More options\")")
private AndroidElement optionsButton;
@AndroidFindBy(name = "Share")
private AndroidElement shareButton;
@AndroidFindBy(name = "ownCloud")
private AndroidElement ownCloudButton;
@AndroidFindBy(name = "Share with ownCloud")
private AndroidElement shareWithOwnCloudButton;
@AndroidFindBy(name = "Just once")
private AndroidElement justOnceButton;
@AndroidFindBy(id = "android:id/resolver_list")
private AndroidElement sharingAppsLayout;
public ImageView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public void clickOnOptionsButton(){
optionsButton.click();
}
public void clickOnShareButton(){
shareButton.click();
}
public void clickOnOwnCloudButton(){
if(Common.isElementPresent(ownCloudButton)){
Actions.scrollTillFindElement("ownCloud",sharingAppsLayout,driver);
ownCloudButton.click();
}else if(Common.isElementPresent(shareWithOwnCloudButton)){}
}
public void clickOnJustOnceButton(){
justOnceButton.click();
}
}
@@ -1,115 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.PageFactory;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
public class LoginForm {
final AndroidDriver driver;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".description(\"Server address\")")
private AndroidElement hostUrlInput;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector().description(\"Username\")")
private AndroidElement userNameInput;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector().description(\"Password\")")
private AndroidElement passwordInput;
@CacheLookup
@AndroidFindBy(uiAutomator = "new UiSelector().description(\"Connect\")")
private AndroidElement connectButton;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".description(\"Testing connection\")")
private AndroidElement serverStatusText;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".description(\"Wrong username or password\")")
private AndroidElement authStatusText;
public LoginForm (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public CertificatePopUp typeHostUrl (String hostUrl) {
hostUrlInput.clear();
hostUrlInput.sendKeys(hostUrl + "\n");
CertificatePopUp certificatePopUp = new CertificatePopUp(driver);
return certificatePopUp;
}
public void clickOnUserName () {
userNameInput.click();
}
public void typeUserName (String userName) {
userNameInput.clear();
//using the \n , it not need to hide the keyboard
//which sometimes gives problems
userNameInput.sendKeys(userName + "\n");
//driver.hideKeyboard();
}
public void typePassword (String password) {
passwordInput.clear();
passwordInput.sendKeys(password + "\n");
//driver.hideKeyboard();
}
public FileListView clickOnConnectButton () {
connectButton.click();
FileListView fileListView = new FileListView(driver);
return fileListView;
}
public AndroidElement gethostUrlInput () {
return hostUrlInput;
}
public AndroidElement getUserNameInput () {
return userNameInput;
}
public AndroidElement getPasswordInput () {
return passwordInput;
}
public AndroidElement getServerStatusTextElement () {
return serverStatusText;
}
public AndroidElement getAuthStatusText () {
return authStatusText;
}
}
@@ -1,47 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import org.openqa.selenium.support.PageFactory;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
public class MenuList {
final AndroidDriver driver;
@AndroidFindBy(name = "Settings")
private AndroidElement settingsButton;
public MenuList (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public SettingsView clickOnSettingsButton () {
settingsButton.click();
SettingsView settingsView = new SettingsView(driver);
return settingsView;
}
}
@@ -1,57 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.PageFactory;
import com.owncloud.android.test.ui.actions.Actions;
public class MoveView {
final AndroidDriver driver;
@CacheLookup
@AndroidFindBy(id = "com.owncloud.android:id/list_root")
private AndroidElement filesLayout;
@AndroidFindBy(name = "Choose")
private AndroidElement chooseButton;
public MoveView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public WaitAMomentPopUp clickOnChoose () {
chooseButton.click();
WaitAMomentPopUp waitAMomentPopUp = new WaitAMomentPopUp(driver);
return waitAMomentPopUp;
}
public AndroidElement scrollTillFindElement (String elementName) {
return Actions.scrollTillFindElement (elementName,filesLayout,driver);
}
}
@@ -1,58 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import org.openqa.selenium.support.PageFactory;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
public class NewFolderPopUp {
final AndroidDriver driver;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".resourceId(\"android:id/button1\")")
private AndroidElement newFolderOkButton;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".resourceId(\"com.owncloud.android:id/user_input\")")
private AndroidElement newFolderNameField;
public NewFolderPopUp (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public void typeNewFolderName (String newFolderName) {
newFolderNameField.clear();
newFolderNameField.sendKeys(newFolderName + "\n");
//driver.hideKeyboard();
}
public WaitAMomentPopUp clickOnNewFolderOkButton () {
newFolderOkButton.click();
WaitAMomentPopUp waitAMomentPopUp = new WaitAMomentPopUp(driver);
return waitAMomentPopUp;
}
}
@@ -1,54 +0,0 @@
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.PageFactory;
public class NotificationView {
final AndroidDriver driver;
@AndroidFindBy(name = "Upload succeeded")
private static AndroidElement uploadSucceededNotification;
@AndroidFindBy(name = "Uploading ?")
private static AndroidElement uploadingNotification;
@AndroidFindBy(uiAutomator = "new UiSelector().description(\"Clear all notifications.\")")
private AndroidElement clearAllNotificationButton;
@AndroidFindBy(uiAutomator = "new UiSelector().className(\"android.widget.FrameLayout\").index(0)")
private AndroidElement notificationArea;
public NotificationView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public AndroidElement getUploadSucceededNotification() {
return uploadSucceededNotification;
}
public AndroidElement getUploadingNotification() {
return uploadingNotification;
}
public AndroidElement getClearAllNotificationButton() {
return clearAllNotificationButton;
}
public void tapOnClearAllNotification () {
clearAllNotificationButton.tap(1, 1000);
}
public void tapOnBottomNotificationArea(){
//TODO. it is not working
notificationArea.getSize();
notificationArea.tap(1, 1000);
}
}
@@ -1,60 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import org.openqa.selenium.support.PageFactory;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
public class PassCodeRequestView {
final AndroidDriver driver;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".className(\"android.widget.EditText\").index(0)")
private AndroidElement codeElement1;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".className(\"android.widget.EditText\").index(1)")
private AndroidElement codeElement2;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".className(\"android.widget.EditText\").index(2)")
private AndroidElement codeElement3;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".className(\"android.widget.EditText\").index(3)")
private AndroidElement codeElement4;
public PassCodeRequestView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public void enterPasscode(String codeNumber1, String codeNumber2,
String codeNumber3, String codeNumber4){
codeElement1
.sendKeys(codeNumber1 + codeNumber1 + codeNumber1 + codeNumber1);
}
}
@@ -1,71 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.PageFactory;
public class PassCodeView {
final AndroidDriver driver;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".className(\"android.widget.EditText\").index(0)")
private AndroidElement codeElement1;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".className(\"android.widget.EditText\").index(1)")
private AndroidElement codeElement2;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".className(\"android.widget.EditText\").index(2)")
private AndroidElement codeElement3;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".className(\"android.widget.EditText\").index(3)")
private AndroidElement codeElement4;
@AndroidFindBy(name = "Cancel")
private AndroidElement cancelButton;
public PassCodeView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public PassCodeView enterPasscode(String codeNumber1, String codeNumber2,
String codeNumber3, String codeNumber4){
codeElement1
.sendKeys(codeNumber1 + codeNumber1 + codeNumber1 + codeNumber1);
return this;
}
public SettingsView reenterPasscode(String codeNumber1,
String codeNumber2, String codeNumber3, String codeNumber4){
codeElement1
.sendKeys(codeNumber1 + codeNumber1 + codeNumber1 + codeNumber1);
SettingsView settingsView = new SettingsView(driver);
return settingsView;
}
}
@@ -1,46 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.PageFactory;
public class RemoveConfirmationView {
final AndroidDriver driver;
@AndroidFindBy(name = "Remote and local")
private AndroidElement remoteAndLocalButton;
public RemoveConfirmationView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public WaitAMomentPopUp clickOnRemoteAndLocalButton () {
remoteAndLocalButton.click();
WaitAMomentPopUp waitAMomentPopUp = new WaitAMomentPopUp(driver);
return waitAMomentPopUp;
}
}
@@ -1,101 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.PageFactory;
import com.owncloud.android.test.ui.testSuites.Config;
public class SettingsView {
final AndroidDriver driver;
@CacheLookup
@AndroidFindBy(name = Config.userAccount)
private AndroidElement accountElement;
@CacheLookup
@AndroidFindBy(name = Config.userAccount2)
private AndroidElement accountElement2;
@AndroidFindBy(name = "Delete account")
private AndroidElement deleteAccountElement;
@AndroidFindBy(name = "Change password")
private AndroidElement changePasswordElement;
@AndroidFindBy(name = "Add account")
private AndroidElement addAccountElement;
@AndroidFindBy(uiAutomator = "new UiSelector()"
+ ".className(\"android.widget.CheckBox\").index(0)")
private AndroidElement passcodeCheckbox;
public SettingsView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public void tapOnAccountElement (int accountPosition, int fingers, int milliSeconds) {
if(accountPosition==1)
accountElement.tap(fingers, milliSeconds);
else
accountElement2.tap(fingers, milliSeconds);
}
public void tapOnAddAccount (int fingers, int milliSeconds) {
addAccountElement.tap(fingers, milliSeconds);
}
public LoginForm clickOnDeleteAccountElement () {
deleteAccountElement.click();
LoginForm loginForm = new LoginForm(driver);
return loginForm;
}
public LoginForm clickOnChangePasswordElement () {
changePasswordElement.click();
LoginForm loginForm = new LoginForm(driver);
return loginForm;
}
public PassCodeView EnablePassCode(){
if(!passcodeCheckbox.isSelected()){
passcodeCheckbox.click();
}
PassCodeView passcodeview = new PassCodeView(driver);
return passcodeview;
}
public PassCodeView DisablePassCode(){
if(passcodeCheckbox.isSelected()){
passcodeCheckbox.click();
}
PassCodeView passcodeview = new PassCodeView(driver);
return passcodeview;
}
}
@@ -1,48 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class ShareView {
final AndroidDriver driver;
@CacheLookup
@FindBy(id = "android:id/select_dialog_listview")
private AndroidElement listViewLayout;
public ShareView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public AndroidElement getListViewLayout () {
return listViewLayout;
}
}
@@ -1,67 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.PageFactory;
import com.owncloud.android.test.ui.actions.Actions;
public class UploadFilesView{
final AndroidDriver driver;
@CacheLookup
@AndroidFindBy(id = "com.owncloud.android:id/list_root")
private AndroidElement filesLayout;
@CacheLookup
@AndroidFindBy(id = "com.owncloud.android:id/upload_files_btn_upload")
private AndroidElement uploadButton;
private AndroidElement fileElement;
public UploadFilesView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public FileListView clickOnUploadButton () {
uploadButton.click();
FileListView fileListView = new FileListView (driver);
return fileListView;
}
//change to scrollTillFindElement
public void scrollTillFindFile (String fileName) {
fileElement = Actions
.scrollTillFindElement(fileName,filesLayout,driver);
}
public void clickOnFileName (String fileName) {
scrollTillFindFile(fileName);
fileElement.click();
}
}
@@ -1,46 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.PageFactory;
public class UploadView {
final AndroidDriver driver;
@CacheLookup
@AndroidFindBy(name = "Upload")
private AndroidElement uploadButton;
public UploadView (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public void clickOUploadButton () {
uploadButton.click();
}
}
@@ -1,44 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.models;
import org.openqa.selenium.support.PageFactory;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.AndroidFindBy;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
public class WaitAMomentPopUp {
final AndroidDriver driver;
@AndroidFindBy(name = "Wait a moment")
private AndroidElement waitAMomentText;
public WaitAMomentPopUp (AndroidDriver driver) {
this.driver = driver;
PageFactory.initElements(new AppiumFieldDecorator(driver), this);
}
public AndroidElement getWaitAMomentTextElement () {
return waitAMomentText;
}
}
@@ -1 +0,0 @@
Config.java
@@ -1,203 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TimeoutException;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.support.ui.WebDriverWait;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
public class Common{
AndroidDriver driver;
static int waitingTime = 30;
public WebDriverWait wait;
protected AndroidDriver setUpCommonDriver () throws Exception {
File rootPath = new File(System.getProperty("user.dir"));
File appDir = new File(rootPath,"src/test/resources");
File app = new File(appDir,"ownCloud.apk");
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("platformName", "Android");
capabilities.setCapability("deviceName", "test");
capabilities.setCapability("app", app.getAbsolutePath());
capabilities.setCapability("appPackage", "com.owncloud.android");
capabilities.setCapability("appActivity",
".ui.activity.FileDisplayActivity");
capabilities.setCapability("appWaitActivity",
".authentication.AuthenticatorActivity");
driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"),
capabilities);
driver.manage().timeouts().implicitlyWait(waitingTime,
TimeUnit.SECONDS);
wait = new WebDriverWait(driver, waitingTime, 50);
return driver;
}
protected boolean waitForTextPresent(String text, AndroidElement element)
throws InterruptedException{
for (int second = 0;;second++){
if (second >= waitingTime)
return false;
try{
if (text.equals(element.getText()))
break;
} catch (Exception e){
}
Thread.sleep(1000);
}
return true;
}
protected boolean isElementPresent(AndroidElement element, By by) {
try {
element.findElement(by);
return true;
} catch (NoSuchElementException e) {
return false;
}
}
public static boolean isElementPresent(AndroidElement element) {
try{
element.isDisplayed();
} catch (NoSuchElementException e){
return false;
}
return true;
}
//pollingTime in milliseconds
public static void waitTillElementIsNotPresent (AndroidElement element,
int pollingTime) throws Exception {
for (int time = 0;time <= waitingTime * 1000;time += pollingTime){
try{
element.isDisplayed();
} catch (NoSuchElementException e){
return;
}
Thread.sleep(pollingTime);
}
throw new TimeoutException();
}
public static void waitTillElementIsNotPresentWithoutTimeout (
AndroidElement element,int pollingTime)
throws InterruptedException {
for (int time = 0;time <= waitingTime * 1000;time += pollingTime){
try{
element.isDisplayed();
} catch (NoSuchElementException e){
return;
}
Thread.sleep(pollingTime);
}
}
public static void waitTillElementIsPresent (
AndroidElement element,int pollingTime)
throws InterruptedException {
for (int time = 0;time <= waitingTime * 1000;time += pollingTime){
try{
if(element.isDisplayed()){
return;
}
} catch (NoSuchElementException e){
}
Thread.sleep(pollingTime);
}
}
protected void takeScreenShotOnFailed (String testName)
throws IOException {
File file = ((RemoteWebDriver) driver)
.getScreenshotAs(OutputType.FILE);
SimpleDateFormat dt1 = new SimpleDateFormat("yyyy-MM-dd");
Date today = Calendar.getInstance().getTime();
String screenShotName = "ScreenShots/" + dt1.format(today) + "/"
+ testName + ".png";
FileUtils.copyFile(file, new File(screenShotName));
}
protected void assertIsInFileListView() throws InterruptedException {
//waitForTextPresent("Wrong username or password",
// changePasswordForm.getAuthStatusText());
Thread.sleep(2000);
assertTrue(waitForTextPresent("ownCloud", (AndroidElement) driver
.findElementByAndroidUIAutomator("new UiSelector()"
+ ".resourceId(\"android:id/action_bar_title\")")));
assertTrue(isElementPresent((AndroidElement) driver
.findElementByAndroidUIAutomator("new UiSelector()"
+ ".description(\"Upload\")")));
}
protected void assertIsNotInFileListView() throws InterruptedException {
AndroidElement fileElement;
assertTrue(waitForTextPresent("ownCloud", (AndroidElement) driver
.findElementByAndroidUIAutomator("new UiSelector()"
+ ".resourceId(\"android:id/action_bar_title\")")));
try {
fileElement = (AndroidElement) driver
.findElementByAndroidUIAutomator("new UiSelector()"
+ ".description(\"Upload\")");
} catch (NoSuchElementException e) {
fileElement = null;
}
assertNull(fileElement);
}
protected void assertIsPasscodeRequestView() throws InterruptedException {
assertTrue(waitForTextPresent("ownCloud", (AndroidElement) driver
.findElementByAndroidUIAutomator("new UiSelector()"
+ ".resourceId(\"android:id/action_bar_title\")")));
assertTrue(((AndroidElement) driver.findElementByAndroidUIAutomator(
"new UiSelector().text(\"Please, insert your pass code\")"))
.isDisplayed());
}
protected void assertIsInSettingsView() throws InterruptedException {
assertTrue(waitForTextPresent("Settings", (AndroidElement) driver
.findElementByAndroidUIAutomator("new UiSelector()"
+ ".resourceId(\"android:id/action_bar_title\")")));
}
}
@@ -1,54 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
public final class Config {
//without http or https
public static final String URL = "owncloudServerVar";
public static boolean isTrusted = true;
//without http or https
public static final String URL2 = "owncloudServer2Var";
public static boolean isTrusted2 = true;
public static final String user = "owncloudUserVar";
public static final String password = "owncloudPasswordVar";
public static final String user2 = "owncloudUser2Var";
public static final String password2 = "owncloudPassword2Var";
public static final String userAccount = user + "@"+ URL;
public static final String userAccount2 = user2 + "@"+ URL2;
public static final String gmailAccount = "gmailAccountVar";
public static final String fileWhichIsInTheServer1 ="test";
public static final String fileWhichIsInTheServer2 ="test";
public static final String fileToTestName = "test";
public static final String fileToTestSendByEmailName = "test";
public static final String bigFileToTestName = "test";
public static final String passcode1 = "passcode1";
public static final String passcode2 = "passcode2";
public static final String passcode3 = "passcode3";
public static final String passcode4 = "passcode4";
}
@@ -1,94 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import org.junit.FixMethodOrder;
import org.junit.Test;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.WaitAMomentPopUp;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class CreateFolderTestSuite{
AndroidDriver driver;
Common common;
private Boolean folderHasBeenCreated = false;
private final String FOLDER_NAME = "testCreateFolder";
private String CurrentCreatedFolder = "";
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testCreateNewFolder () throws Exception {
String NEW_FOLDER_NAME = "testCreateFolder";
FileListView fileListView = Actions.login(Config.URL,
Config.user,Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//check if the folder already exists and if true, delete them
Actions.deleteElement(NEW_FOLDER_NAME, fileListView, driver);
WaitAMomentPopUp waitAMomentPopUp = Actions
.createFolder(NEW_FOLDER_NAME, fileListView);
Common.waitTillElementIsNotPresentWithoutTimeout(waitAMomentPopUp
.getWaitAMomentTextElement(), 100);
fileListView.scrollTillFindElement(FOLDER_NAME);
assertNotNull(fileListView.getFileElement());
assertTrue(
folderHasBeenCreated=fileListView.getFileElement().isDisplayed());
CurrentCreatedFolder = FOLDER_NAME;
assertEquals(FOLDER_NAME , fileListView.getFileElement().getText());
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
if (folderHasBeenCreated) {
FileListView fileListView = new FileListView(driver);
Actions.deleteElement(CurrentCreatedFolder, fileListView, driver);
}
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,87 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.support.ui.ExpectedConditions;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.models.FileListView;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class DeleteFileTestSuite{
AndroidDriver driver;
Common common;
private final String FILE_NAME = Config.fileToTestName;
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testDeleteFile () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//TODO. if the file already exists, do not upload
FileListView fileListViewAfterUploadFile = Actions
.uploadFile(FILE_NAME, fileListView);
fileListViewAfterUploadFile.scrollTillFindElement(FILE_NAME);
Common.waitTillElementIsNotPresentWithoutTimeout(
fileListViewAfterUploadFile.getProgressCircular(), 1000);
common.wait.until(ExpectedConditions.visibilityOf(
fileListViewAfterUploadFile.getFileElementLayout()
.findElement(By.id(FileListView.getLocalFileIndicator()))));
Actions.deleteElement(FILE_NAME,fileListViewAfterUploadFile, driver);
assertFalse(fileListViewAfterUploadFile.getFileElement().isDisplayed());
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,92 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import org.junit.FixMethodOrder;
import org.junit.Test;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.WaitAMomentPopUp;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class DeleteFolderTestSuite{
AndroidDriver driver;
Common common;
private Boolean folderHasBeenCreated = false;
private final String FOLDER_NAME = "testCreateFolder";
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testDeleteFolder () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//TODO. if the folder already exists, do no created
//create the folder
WaitAMomentPopUp waitAMomentPopUp = Actions
.createFolder(FOLDER_NAME, fileListView);
Common.waitTillElementIsNotPresentWithoutTimeout(
waitAMomentPopUp.getWaitAMomentTextElement(), 100);
fileListView.scrollTillFindElement(FOLDER_NAME);
assertTrue(
folderHasBeenCreated = fileListView.getFileElement().isDisplayed());
//delete the folder
Actions.deleteElement(FOLDER_NAME, fileListView, driver);
assertFalse(
folderHasBeenCreated =fileListView.getFileElement().isDisplayed());
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
if(folderHasBeenCreated){
FileListView fileListView = new FileListView(driver);
Actions.deleteElement(FOLDER_NAME, fileListView, driver);
}
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,181 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.openqa.selenium.ScreenOrientation;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.*;
import com.owncloud.android.test.ui.models.LoginForm;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.MenuList;
import com.owncloud.android.test.ui.models.SettingsView;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class LoginTestSuite{
AndroidDriver driver;
Common common;
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class})
public void test1LoginPortrait () throws Exception {
driver.rotate(ScreenOrientation.PORTRAIT);
Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
}
@Test
@Category({NoIgnoreTestCategory.class})
public void test2LoginLandscape () throws Exception {
driver.rotate(ScreenOrientation.LANDSCAPE);
Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testLoginAndShowFiles () throws Exception {
driver.rotate(ScreenOrientation.PORTRAIT);
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
fileListView.scrollTillFindElement(Config.fileWhichIsInTheServer1);
assertTrue(fileListView.getFileElement().isDisplayed());
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void test3MultiAccountRotate () throws Exception {
driver.rotate(ScreenOrientation.LANDSCAPE);
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
driver.rotate(ScreenOrientation.PORTRAIT);
MenuList menu = fileListView.clickOnMenuButton();
SettingsView settingsView = menu.clickOnSettingsButton();
settingsView.tapOnAddAccount(1, 1000);
fileListView = Actions.login(Config.URL2, Config.user2,
Config.password2, Config.isTrusted2, driver);
common.assertIsInSettingsView();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testMultiAccountAndShowFiles () throws Exception {
driver.rotate(ScreenOrientation.LANDSCAPE);
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
fileListView.scrollTillFindElement(Config.fileWhichIsInTheServer1);
assertTrue(fileListView.getFileElement().isDisplayed());
driver.rotate(ScreenOrientation.PORTRAIT);
MenuList menu = fileListView.clickOnMenuButton();
SettingsView settingsView = menu.clickOnSettingsButton();
settingsView.tapOnAddAccount(1, 1000);
fileListView = Actions.login(Config.URL2, Config.user2,
Config.password2, Config.isTrusted2, driver);
common.assertIsInSettingsView();
settingsView.tapOnAccountElement(2,1, 100);
common.assertIsInFileListView();
fileListView.scrollTillFindElement(Config.fileWhichIsInTheServer2);
assertTrue(fileListView.getFileElement().isDisplayed());
}
@Test
@Category({NoIgnoreTestCategory.class})
public void test4ExistingAccountRotate () throws Exception {
driver.rotate(ScreenOrientation.PORTRAIT);
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
driver.rotate(ScreenOrientation.LANDSCAPE);
MenuList menu = fileListView.clickOnMenuButton();
SettingsView settingsView = menu.clickOnSettingsButton();
settingsView.tapOnAddAccount(1, 1000);
LoginForm loginForm = new LoginForm(driver);
fileListView = Actions.login(Config.URL, Config.user,Config.password,
Config.isTrusted, driver);
assertTrue(common.waitForTextPresent("An account for the same user and"
+ " server already exists in the device",
loginForm.getAuthStatusText()));
}
@Test
@Category({NoIgnoreTestCategory.class})
public void test5ChangePasswordWrong () throws Exception {
driver.rotate(ScreenOrientation.PORTRAIT);
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
MenuList menu = fileListView.clickOnMenuButton();
SettingsView settingsView = menu.clickOnSettingsButton();
settingsView.tapOnAccountElement(1,1, 1000);
LoginForm changePasswordForm = settingsView
.clickOnChangePasswordElement();
changePasswordForm.typePassword("WrongPassword");
changePasswordForm.clickOnConnectButton();
assertTrue(common.waitForTextPresent("Wrong username or password",
changePasswordForm.getAuthStatusText()));
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,77 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.models.LoginForm;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.MenuList;
import com.owncloud.android.test.ui.models.SettingsView;
public class LogoutTestSuite{
AndroidDriver driver;
Common common;
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testLogout () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
MenuList menulist = fileListView.clickOnMenuButton();
SettingsView settingsView = menulist.clickOnSettingsButton();
settingsView.tapOnAccountElement(1,1, 1000);
LoginForm loginForm = settingsView.clickOnDeleteAccountElement();
assertEquals("Server address https://…",
loginForm.gethostUrlInput().getText());
assertEquals("Username", loginForm.getUserNameInput().getText());
assertEquals("", loginForm.getPasswordInput().getText());
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
//driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,120 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.FixMethodOrder;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.models.ElementMenuOptions;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.MoveView;
import com.owncloud.android.test.ui.models.WaitAMomentPopUp;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class MoveFileTestSuite{
AndroidDriver driver;
Common common;
private String FOLDER_WHERE_MOVE = "folderWhereMove";
private String FILE_NAME = Config.fileToTestName;
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testMoveFile () throws Exception {
WaitAMomentPopUp waitAMomentPopUp;
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//Common.waitTillElementIsNotPresentWithoutTimeout(
//fileListView.getProgressCircular(), 1000);
//check if the folder already exists and if true, delete them
Actions.deleteElement(FOLDER_WHERE_MOVE, fileListView, driver);
Actions.deleteElement(FILE_NAME, fileListView, driver);
//Create the folder where the other is gone to be moved
waitAMomentPopUp = Actions
.createFolder(FOLDER_WHERE_MOVE, fileListView);
Common.waitTillElementIsNotPresentWithoutTimeout(
waitAMomentPopUp.getWaitAMomentTextElement(), 100);
fileListView.scrollTillFindElement(FOLDER_WHERE_MOVE);
assertTrue(fileListView.getFileElement().isDisplayed());
FileListView fileListViewAfterUploadFile = Actions
.uploadFile(FILE_NAME, fileListView);
fileListViewAfterUploadFile.scrollTillFindElement(FILE_NAME);
assertTrue(fileListViewAfterUploadFile.getFileElement().isDisplayed());
//select to move the file
ElementMenuOptions menuOptions = fileListView
.longPressOnElement(FILE_NAME);
MoveView moveView = menuOptions.clickOnMove();
//to move to a folder
moveView.scrollTillFindElement(FOLDER_WHERE_MOVE).tap(1,1);
waitAMomentPopUp = moveView.clickOnChoose();
Common.waitTillElementIsNotPresentWithoutTimeout(
waitAMomentPopUp.getWaitAMomentTextElement(), 100);
//check that the folder moved is inside the other
fileListView.scrollTillFindElement(FOLDER_WHERE_MOVE).tap(1,1);
Common.waitTillElementIsNotPresentWithoutTimeout(fileListView.getProgressCircular(),
1000);
Thread.sleep(1000);
fileListView.scrollTillFindElement(FILE_NAME);
assertEquals(FILE_NAME , fileListView.getFileElement().getText());
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
FileListView fileListView = new FileListView(driver);
driver.sendKeyEvent(android.view.KeyEvent.KEYCODE_BACK);
Actions.deleteElement(FOLDER_WHERE_MOVE, fileListView, driver);
Actions.deleteElement(FILE_NAME, fileListView, driver);
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,122 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import org.junit.FixMethodOrder;
import org.junit.Test;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.models.ElementMenuOptions;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.MoveView;
import com.owncloud.android.test.ui.models.WaitAMomentPopUp;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class MoveFolderTestSuite{
AndroidDriver driver;
Common common;
private String FOLDER_TO_MOVE = "folderToMove";
private String FOLDER_WHERE_MOVE = "folderWhereMove";
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testMoveFolder () throws Exception {
WaitAMomentPopUp waitAMomentPopUp;
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//Common.waitTillElementIsNotPresentWithoutTimeout(
//fileListView.getProgressCircular(), 1000);
//check if the folder already exists and if true, delete them
Actions.deleteElement(FOLDER_WHERE_MOVE, fileListView, driver);
Actions.deleteElement(FOLDER_TO_MOVE, fileListView, driver);
//Create the folder where the other is gone to be moved
waitAMomentPopUp = Actions
.createFolder(FOLDER_WHERE_MOVE, fileListView);
Common.waitTillElementIsNotPresentWithoutTimeout(
waitAMomentPopUp.getWaitAMomentTextElement(), 100);
fileListView.scrollTillFindElement(FOLDER_WHERE_MOVE);
assertTrue(fileListView.getFileElement().isDisplayed());
//Create the folder which is going to be moved
waitAMomentPopUp = Actions.createFolder(FOLDER_TO_MOVE, fileListView);
Common.waitTillElementIsNotPresent(
waitAMomentPopUp.getWaitAMomentTextElement(), 100);
fileListView.scrollTillFindElement(FOLDER_TO_MOVE);
assertTrue(fileListView.getFileElement().isDisplayed());
//select to move the folder
ElementMenuOptions menuOptions = fileListView
.longPressOnElement(FOLDER_TO_MOVE);
MoveView moveView = menuOptions.clickOnMove();
//to move to a folder
moveView.scrollTillFindElement(FOLDER_WHERE_MOVE).tap(1,1);
waitAMomentPopUp = moveView.clickOnChoose();
Common.waitTillElementIsNotPresentWithoutTimeout(waitAMomentPopUp
.getWaitAMomentTextElement(), 100);
//check that the folder moved is inside the other
fileListView.scrollTillFindElement(FOLDER_WHERE_MOVE).tap(1,1);
Common.waitTillElementIsNotPresentWithoutTimeout(fileListView.getProgressCircular(),
1000);
Thread.sleep(1000);
fileListView.scrollTillFindElement(FOLDER_TO_MOVE);
assertEquals(FOLDER_TO_MOVE , fileListView.getFileElement().getText());
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
FileListView fileListView = new FileListView(driver);
driver.sendKeyEvent(android.view.KeyEvent.KEYCODE_BACK);
Actions.deleteElement(FOLDER_WHERE_MOVE, fileListView, driver);
Actions.deleteElement(FOLDER_TO_MOVE, fileListView, driver);
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,98 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.FixMethodOrder;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import org.openqa.selenium.ScreenOrientation;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.MenuList;
import com.owncloud.android.test.ui.models.PassCodeRequestView;
import com.owncloud.android.test.ui.models.PassCodeView;
import com.owncloud.android.test.ui.models.SettingsView;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class PasscodeTestSuite {
AndroidDriver driver;
Common common;
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class})
public void testPincodeEnable () throws Exception {
driver.rotate(ScreenOrientation.PORTRAIT);
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
MenuList menu = fileListView.clickOnMenuButton();
SettingsView settingsView = menu.clickOnSettingsButton();
PassCodeView passCodeview = settingsView.EnablePassCode();
PassCodeView passCodeview2 = passCodeview.enterPasscode(
Config.passcode1, Config.passcode2, Config.passcode3,
Config.passcode4);
passCodeview2.reenterPasscode(Config.passcode1, Config.passcode2,
Config.passcode3, Config.passcode4);
driver.sendKeyEvent(android.view.KeyEvent.KEYCODE_HOME);
//TO DO. Open the app instead of start an activity
driver.startActivity("com.owncloud.android",
".ui.activity.FileDisplayActivity");
//here we check that we are not in the fileDisplayActivity,
//because pincode is asked
common.assertIsNotInFileListView();
common.assertIsPasscodeRequestView();
PassCodeRequestView passCodeReequestView = new
PassCodeRequestView(driver);
passCodeReequestView.enterPasscode(Config.passcode1, Config.passcode2,
Config.passcode3, Config.passcode4);
common.assertIsInFileListView();
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,77 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import org.junit.FixMethodOrder;
import org.junit.Test;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.UnfinishedTestCategory;
import com.owncloud.android.test.ui.models.FileListView;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class RefreshFolderTestSuite{
AndroidDriver driver;
Common common;
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({UnfinishedTestCategory.class})
public void testPulldownToRefreshFolder () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//TODO. Remove the sleep and check why is not working the assert
//when using waitTillElementIsNotPresent
Thread.sleep(5000);
//waitTillElementIsNotPresentWithoutTimeout(fileListView.getProgressCircular(), 1000);
fileListView.pulldownToRefresh();
assertTrue(fileListView.getProgressCircular().isDisplayed());
//TODO insert a file in the web, and check that it's shown here
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,114 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.support.ui.ExpectedConditions;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.models.ElementMenuOptions;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.NewFolderPopUp;
import com.owncloud.android.test.ui.models.WaitAMomentPopUp;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class RenameFileTestSuite{
AndroidDriver driver;
Common common;
private Boolean fileHasBeenCreated = false;
private final String OLD_FILE_NAME = Config.fileToTestName;
private final String FILE_NAME = "newNameFile";
private String CurrentCreatedFile = "";
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testRenameFile () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//TODO. if the file already exists, do not upload
FileListView fileListViewAfterUploadFile = Actions
.uploadFile(OLD_FILE_NAME, fileListView);
//check if the file with the new name already exists, if true delete it
Actions.deleteElement(FILE_NAME, fileListView, driver);
fileListViewAfterUploadFile.scrollTillFindElement(OLD_FILE_NAME);
assertTrue(fileHasBeenCreated = fileListViewAfterUploadFile
.getFileElement().isDisplayed());
CurrentCreatedFile = OLD_FILE_NAME;
Common.waitTillElementIsNotPresentWithoutTimeout(fileListViewAfterUploadFile
.getProgressCircular(), 1000);
common.wait.until(ExpectedConditions.visibilityOf(
fileListViewAfterUploadFile.getFileElementLayout()
.findElement(By.id(FileListView.getLocalFileIndicator()))));
ElementMenuOptions menuOptions = fileListViewAfterUploadFile
.longPressOnElement(OLD_FILE_NAME);
NewFolderPopUp newFolderPopUp = menuOptions.clickOnRename();
newFolderPopUp.typeNewFolderName(FILE_NAME);
WaitAMomentPopUp waitAMomentPopUp = newFolderPopUp
.clickOnNewFolderOkButton();
Common.waitTillElementIsNotPresentWithoutTimeout(waitAMomentPopUp
.getWaitAMomentTextElement(), 100);
fileListViewAfterUploadFile.scrollTillFindElement(FILE_NAME);
assertNotNull(fileListViewAfterUploadFile.getFileElement());
assertTrue(fileListViewAfterUploadFile.getFileElement().isDisplayed());
assertEquals(FILE_NAME , fileListViewAfterUploadFile.getFileElement()
.getText());
CurrentCreatedFile = FILE_NAME;
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
if (fileHasBeenCreated) {
FileListView fileListView = new FileListView(driver);
Actions.deleteElement(CurrentCreatedFile,fileListView, driver);
}
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,112 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import org.junit.FixMethodOrder;
import org.junit.Test;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.models.ElementMenuOptions;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.NewFolderPopUp;
import com.owncloud.android.test.ui.models.WaitAMomentPopUp;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class RenameFolderTestSuite{
AndroidDriver driver;
Common common;
private Boolean folderHasBeenCreated = false;
private final String OLD_FOLDER_NAME = "beforeRemoving";
private final String FOLDER_NAME = "testCreateFolder";
private String CurrentCreatedFolder = "";
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testRenameFolder () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//TODO. if the folder already exists, do no created
//create the folder to rename
WaitAMomentPopUp waitAMomentPopUp = Actions
.createFolder(OLD_FOLDER_NAME, fileListView);
Common.waitTillElementIsNotPresentWithoutTimeout(
waitAMomentPopUp.getWaitAMomentTextElement(), 100);
fileListView.scrollTillFindElement(OLD_FOLDER_NAME);
assertTrue(
folderHasBeenCreated = fileListView.getFileElement().isDisplayed());
//check if the folder with the new name already exists
//and if true, delete them
Actions.deleteElement(FOLDER_NAME, fileListView, driver);
CurrentCreatedFolder = OLD_FOLDER_NAME;
ElementMenuOptions menuOptions = fileListView
.longPressOnElement(OLD_FOLDER_NAME);
NewFolderPopUp FolderPopUp = menuOptions.clickOnRename();
FolderPopUp.typeNewFolderName(FOLDER_NAME);
FolderPopUp.clickOnNewFolderOkButton();
CurrentCreatedFolder = FOLDER_NAME;
Common.waitTillElementIsNotPresentWithoutTimeout(waitAMomentPopUp
.getWaitAMomentTextElement(), 100);
fileListView.scrollTillFindElement(FOLDER_NAME);
assertNotNull(fileListView.getFileElement());
assertTrue(
folderHasBeenCreated = fileListView.getFileElement().isDisplayed());
assertEquals(FOLDER_NAME , fileListView.getFileElement().getText());
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
if(folderHasBeenCreated){
FileListView fileListView = new FileListView(driver);
Actions.deleteElement(CurrentCreatedFolder, fileListView, driver);
}
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,44 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import org.junit.experimental.categories.Categories.ExcludeCategory;
import org.junit.experimental.categories.Categories.IncludeCategory;
import org.junit.runner.RunWith;
import com.owncloud.android.test.ui.groups.FailingTestCategory;
import com.owncloud.android.test.ui.groups.FlexibleCategories;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestClassPrefix;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestClassSuffix;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestScanPackage;
@RunWith(FlexibleCategories.class)
@ExcludeCategory(NoIgnoreTestCategory.class)
@IncludeCategory(FailingTestCategory.class)
@TestScanPackage("com.owncloud.android.test.ui.testSuites")
@TestClassPrefix("")
@TestClassSuffix("TestSuite")
public class RunFailingTests {
}
@@ -1,19 +0,0 @@
package com.owncloud.android.test.ui.testSuites;
import org.junit.experimental.categories.Categories.IncludeCategory;
import org.junit.runner.RunWith;
import com.owncloud.android.test.ui.groups.FlexibleCategories;
import com.owncloud.android.test.ui.groups.InProgressCategory;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestClassPrefix;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestClassSuffix;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestScanPackage;
@RunWith(FlexibleCategories.class)
@IncludeCategory(InProgressCategory.class)
@TestScanPackage("com.owncloud.android.test.ui.testSuites")
@TestClassPrefix("")
@TestClassSuffix("TestSuite")
public class RunInProgressTest {
}
@@ -1,42 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import org.junit.experimental.categories.Categories.ExcludeCategory;
import org.junit.experimental.categories.Categories.IncludeCategory;
import org.junit.runner.RunWith;
import com.owncloud.android.test.ui.groups.FlexibleCategories;
import com.owncloud.android.test.ui.groups.IgnoreTestCategory;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestClassPrefix;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestClassSuffix;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestScanPackage;
@RunWith(FlexibleCategories.class)
@ExcludeCategory(IgnoreTestCategory.class)
@IncludeCategory(NoIgnoreTestCategory.class)
@TestScanPackage("com.owncloud.android.test.ui.testSuites")
@TestClassPrefix("")
@TestClassSuffix("TestSuite")
public class RunNoIgnoreTests {
}
@@ -1,42 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import org.junit.experimental.categories.Categories.ExcludeCategory;
import org.junit.experimental.categories.Categories.IncludeCategory;
import org.junit.runner.RunWith;
import com.owncloud.android.test.ui.groups.FlexibleCategories;
import com.owncloud.android.test.ui.groups.IgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestClassPrefix;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestClassSuffix;
import com.owncloud.android.test.ui.groups.FlexibleCategories.TestScanPackage;
@RunWith(FlexibleCategories.class)
@ExcludeCategory(IgnoreTestCategory.class)
@IncludeCategory(SmokeTestCategory.class)
@TestScanPackage("com.owncloud.android.test.ui.testSuites")
@TestClassPrefix("")
@TestClassSuffix("TestSuite")
public class RunSmokeTests {
}
@@ -1,133 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.IgnoreTestCategory;
import com.owncloud.android.test.ui.groups.InProgressCategory;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.models.FileListView;;
public class ShareLinkFileTestSuite{
AndroidDriver driver;
Common common;
private final String FILE_NAME = Config.fileToTestName;
private Boolean fileHasBeenCreated = false;
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class})
public void testShareLinkFileByGmail () throws Exception {
AndroidElement sharedElementIndicator;
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//TODO. if the file already exists, do not upload
FileListView fileListViewAfterUploadFile = Actions
.uploadFile(FILE_NAME, fileListView);
fileListViewAfterUploadFile.scrollTillFindElement(FILE_NAME);
assertTrue(fileHasBeenCreated = fileListViewAfterUploadFile
.getFileElement().isDisplayed());
sharedElementIndicator = Actions.shareLinkElementByGmail(FILE_NAME,
fileListViewAfterUploadFile,driver,common);
assertTrue(sharedElementIndicator.isDisplayed());
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testShareLinkFileByCopyLink () throws Exception {
AndroidElement sharedElementIndicator;
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//TODO. if the file already exists, do not upload
FileListView fileListViewAfterUploadFile = Actions
.uploadFile(FILE_NAME, fileListView);
fileListViewAfterUploadFile.scrollTillFindElement(FILE_NAME);
assertTrue(fileHasBeenCreated = fileListViewAfterUploadFile
.getFileElement().isDisplayed());
sharedElementIndicator = Actions.shareLinkElementByCopyLink(FILE_NAME,
fileListViewAfterUploadFile,driver,common);
assertTrue(sharedElementIndicator.isDisplayed());
}
@Test
@Category({IgnoreTestCategory.class, SmokeTestCategory.class})
public void testUnshareLinkFile () throws Exception {
AndroidElement sharedElementIndicator;
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//TODO. if the file already exists, do not upload
FileListView fileListViewAfterUploadFile = Actions
.uploadFile(FILE_NAME, fileListView);
fileListViewAfterUploadFile.scrollTillFindElement(FILE_NAME);
assertTrue(fileHasBeenCreated = fileListViewAfterUploadFile
.getFileElement().isDisplayed());
sharedElementIndicator = Actions.shareLinkElementByCopyLink(FILE_NAME,
fileListViewAfterUploadFile,driver,common);
assertTrue(sharedElementIndicator.isDisplayed());
Actions.unshareLinkElement(FILE_NAME,
fileListViewAfterUploadFile,driver,common);
assertFalse(sharedElementIndicator.isDisplayed());
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
if (fileHasBeenCreated) {
FileListView fileListView = new FileListView(driver);
Actions.deleteElement(FILE_NAME,fileListView, driver);
}
driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,285 +0,0 @@
/**
* ownCloud Android client application
*
* @author purigarcia
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.test.ui.testSuites;
import static org.junit.Assert.*;
import io.appium.java_client.MobileBy;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.support.ui.ExpectedConditions;
import com.owncloud.android.test.ui.actions.Actions;
import com.owncloud.android.test.ui.groups.FailingTestCategory;
import com.owncloud.android.test.ui.groups.InProgressCategory;
import com.owncloud.android.test.ui.groups.NoIgnoreTestCategory;
import com.owncloud.android.test.ui.groups.SmokeTestCategory;
import com.owncloud.android.test.ui.groups.UnfinishedTestCategory;
import com.owncloud.android.test.ui.models.FileDetailsView;
import com.owncloud.android.test.ui.models.ElementMenuOptions;
import com.owncloud.android.test.ui.models.GmailEmailListView;
import com.owncloud.android.test.ui.models.GmailEmailView;
import com.owncloud.android.test.ui.models.ImageView;
import com.owncloud.android.test.ui.models.FileListView;
import com.owncloud.android.test.ui.models.NotificationView;
import com.owncloud.android.test.ui.models.SettingsView;
import com.owncloud.android.test.ui.models.UploadView;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
@Category({NoIgnoreTestCategory.class})
public class UploadTestSuite{
AndroidDriver driver;
Common common;
String FILE_NAME = Config.fileToTestName;
String BIG_FILE_NAME = Config.bigFileToTestName;
String FILE_GMAIL_NAME = Config.fileToTestSendByEmailName;
private Boolean fileHasBeenUploadedFromGmail = false;
private Boolean fileHasBeenUploaded = false;
@Rule public TestName name = new TestName();
@Before
public void setUp() throws Exception {
common=new Common();
driver=common.setUpCommonDriver();
}
@Test
@Category({NoIgnoreTestCategory.class, SmokeTestCategory.class})
public void testUploadFile () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//check if the file already exists and if true, delete it
Actions.deleteElement(FILE_NAME, fileListView, driver);
FileListView fileListViewAfterUploadFile = Actions
.uploadFile(FILE_NAME, fileListView);
fileListViewAfterUploadFile.scrollTillFindElement(FILE_NAME);
assertTrue(fileListViewAfterUploadFile.getFileElement().isDisplayed());
Common.waitTillElementIsNotPresentWithoutTimeout(
fileListViewAfterUploadFile.getProgressCircular(), 1000);
common.wait.until(ExpectedConditions.visibilityOf(
fileListViewAfterUploadFile.getFileElementLayout()
.findElement(By.id(FileListView.getLocalFileIndicator()))));
assertTrue(fileListViewAfterUploadFile.getFileElementLayout()
.findElement(By.id(FileListView.getLocalFileIndicator()))
.isDisplayed());
fileListView = new FileListView(driver);
fileListView.scrollTillFindElement(FILE_NAME);
assertTrue(
fileHasBeenUploaded = fileListView.getFileElement().isDisplayed());
}
@Test
@Category({UnfinishedTestCategory.class})
public void testUploadBigFile () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
//check if the file already exists and if true, delete it
Actions.deleteElement(BIG_FILE_NAME, fileListView, driver);
FileListView fileListViewAfterUploadFile = Actions
.uploadFile(BIG_FILE_NAME, fileListView);
driver.openNotifications();
NotificationView notificationView = new NotificationView(driver);
try{
if(notificationView.getUploadingNotification().isDisplayed()){
Common.waitTillElementIsPresent(
notificationView.getUploadSucceededNotification(),300000);
driver.sendKeyEvent(android.view.KeyEvent.KEYCODE_HOME);
driver.startActivity("com.owncloud.android",
".ui.activity.FileDisplayActivity");
}
} catch (NoSuchElementException e) {
driver.sendKeyEvent(android.view.KeyEvent.KEYCODE_HOME);
driver.startActivity("com.owncloud.android",
".ui.activity.FileDisplayActivity");
}
fileListViewAfterUploadFile.scrollTillFindElement(BIG_FILE_NAME);
assertTrue(fileListViewAfterUploadFile.getFileElement().isDisplayed());
Common.waitTillElementIsNotPresentWithoutTimeout(
fileListViewAfterUploadFile.getProgressCircular(), 1000);
common.wait.until(ExpectedConditions.visibilityOf(
fileListViewAfterUploadFile.getFileElementLayout()
.findElement(By.id(FileListView.getLocalFileIndicator()))));
assertTrue(fileListViewAfterUploadFile.getFileElementLayout()
.findElement(By.id(FileListView.getLocalFileIndicator()))
.isDisplayed());
fileListView = new FileListView(driver);
fileListView.scrollTillFindElement(BIG_FILE_NAME);
assertTrue(
fileHasBeenUploaded = fileListView.getFileElement().isDisplayed());
}
@Test
@Category(UnfinishedTestCategory.class)
public void testUploadFromGmail () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
driver.startActivity("com.google.android.gm",
".ConversationListActivityGmail");
GmailEmailListView gmailEmailListView = new GmailEmailListView(driver);
Thread.sleep(3000);
GmailEmailView gmailEmailView = gmailEmailListView.clickOnEmail();
ImageView imageView = gmailEmailView.clickOnfileButton();
imageView.clickOnOptionsButton();
imageView.clickOnShareButton();
imageView.clickOnOwnCloudButton();
//justonce button do not appear always
try{
imageView.clickOnJustOnceButton();
}catch (NoSuchElementException e) {
}
UploadView uploadView = new UploadView(driver);
uploadView.clickOUploadButton();
driver.sendKeyEvent(android.view.KeyEvent.KEYCODE_HOME);
driver.startActivity("com.owncloud.android",
".ui.activity.FileDisplayActivity");
common.wait.until(ExpectedConditions
.visibilityOfAllElementsLocatedBy(By.name(FILE_GMAIL_NAME)));
assertEquals(Config.fileToTestSendByEmailName ,
driver.findElementByName(FILE_GMAIL_NAME).getText());
fileListView = new FileListView(driver);
fileListView.scrollTillFindElement(FILE_GMAIL_NAME);
assertTrue(fileHasBeenUploadedFromGmail = fileListView
.getFileElement().isDisplayed());
//TODO. correct assert if fileListView is shown in grid mode
}
@Test
@Category({FailingTestCategory.class})
public void testKeepFileUpToDate () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
Common.waitTillElementIsNotPresentWithoutTimeout(fileListView.getProgressCircular(),
1000);
FileListView fileListViewAfterUploadFile = Actions
.uploadFile(FILE_NAME, fileListView);
fileListViewAfterUploadFile.scrollTillFindElement(FILE_NAME);
assertTrue(fileHasBeenUploaded = fileListViewAfterUploadFile
.getFileElement().isDisplayed());
ElementMenuOptions menuOptions = fileListViewAfterUploadFile
.longPressOnElement(FILE_NAME);
FileDetailsView fileDetailsView = menuOptions.clickOnDetails();
fileDetailsView.checkKeepFileUpToDateCheckbox();
Thread.sleep(3000);
driver.sendKeyEvent(android.view.KeyEvent.KEYCODE_BACK);
assertTrue(common.isElementPresent(
fileListViewAfterUploadFile.getFileElementLayout(),
MobileBy.id(FileListView.getFavoriteFileIndicator())));
assertTrue(fileListViewAfterUploadFile.getFileElementLayout()
.findElement(By.id(FileListView.getFavoriteFileIndicator()))
.isDisplayed());
}
@Test
@Category({NoIgnoreTestCategory.class})
public void testKeepFileUpToDateAndRefresh () throws Exception {
FileListView fileListView = Actions.login(Config.URL, Config.user,
Config.password, Config.isTrusted, driver);
common.assertIsInFileListView();
Common.waitTillElementIsNotPresentWithoutTimeout(fileListView.getProgressCircular(),
1000);
FileListView fileListViewAfterUploadFile = Actions
.uploadFile(FILE_NAME, fileListView);
fileListViewAfterUploadFile.scrollTillFindElement(FILE_NAME);
assertTrue(fileHasBeenUploaded = fileListViewAfterUploadFile
.getFileElement().isDisplayed());
ElementMenuOptions menuOptions = fileListViewAfterUploadFile
.longPressOnElement(FILE_NAME);
FileDetailsView fileDetailsView = menuOptions.clickOnDetails();
fileDetailsView.checkKeepFileUpToDateCheckbox();
Thread.sleep(3000);
driver.sendKeyEvent(android.view.KeyEvent.KEYCODE_BACK);
fileListViewAfterUploadFile.pulldownToRefresh();
//assertTrue(fileListView.getProgressCircular().isDisplayed());
Common.waitTillElementIsNotPresentWithoutTimeout(fileListView.getProgressCircular(),
100);
assertTrue(common.isElementPresent(
fileListViewAfterUploadFile.getFileElementLayout(),
MobileBy.id(FileListView.getFavoriteFileIndicator())));
assertTrue(fileListViewAfterUploadFile.getFileElementLayout()
.findElement(By.id(FileListView.getFavoriteFileIndicator()))
.isDisplayed());
}
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
FileListView fileListView = new FileListView(driver);
if (fileHasBeenUploadedFromGmail) {
Actions.deleteElement(FILE_GMAIL_NAME,fileListView, driver);
}
if(fileHasBeenUploaded){
Actions.deleteElement(FILE_NAME,fileListView, driver);
Actions.deleteElement(BIG_FILE_NAME,fileListView, driver);
}
//driver.removeApp("com.owncloud.android");
driver.quit();
}
}
@@ -1,4 +0,0 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
+191 -169
View File
@@ -1,115 +1,109 @@
import com.github.spotbugs.snom.SpotBugsTask
import org.gradle.internal.jvm.Jvm
// Gradle build file
//
// This project was started in Eclipse and later moved to Android Studio. In the transition, both IDEs were supported.
// Due to this, the files layout is not the usual in new projects created with Android Studio / gradle. This file
// merges declarations usually split in two separates build.gradle file, one for global settings of the project in
// its root folder, another one for the app module in subfolder of root.
import com.github.spotbugs.SpotBugsTask
buildscript {
ext.kotlin_version = '1.3.72'
ext.kotlin_version = '1.6.10'
ext.jacoco_version = '0.8.7'
repositories {
google()
jcenter()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
maven {
url 'https://plugins.gradle.org/m2/'
}
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath('com.dicedmelon.gradle:jacoco-android:0.1.4') {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
classpath 'gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.6'
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'com.hiya:jacoco-android:0.2'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.9.1"
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:3.1.0'
classpath 'com.karumi:shot:5.11.2'
classpath "org.jacoco:org.jacoco.core:$jacoco_version"
classpath "org.jacoco:org.jacoco.report:$jacoco_version"
classpath "org.jacoco:org.jacoco.agent:$jacoco_version"
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'checkstyle'
apply plugin: 'pmd'
apply plugin: 'jacoco-android'
apply plugin: 'com.hiya.jacoco-android'
apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'shot'
println "Gradle uses Java ${Jvm.current()}"
configurations {
ktlint
all {
exclude group: 'com.google.firebase', module: 'firebase-core'
exclude group: 'com.google.firebase', module: 'firebase-analytics'
exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitely
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitly
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
}
}
}
ext {
jacocoVersion = "0.8.2"
daggerVersion = "2.27"
markwonVersion = "4.4.0"
androidxTestVersion = "1.4.0"
daggerVersion = "2.40.5"
markwonVersion = "4.6.2"
prismVersion = "2.0.0"
androidLibraryVersion = "master-SNAPSHOT"
androidLibraryVersion ="1b0e418e6843f56c62ee37854a8c167ed7aadd72"
mockitoVersion = "4.2.0"
mockkVersion = "1.12.2"
powermockVersion = "2.0.9"
byteBuddyVersion = "1.12.7"
espressoVersion = "3.4.0"
workRuntime = "2.7.1"
fidoVersion = "4.1.0"
travisBuild = System.getenv("TRAVIS") == "true"
// allows for -Dpre-dex=false to be set
preDexEnabled = "true".equals(System.getProperty("pre-dex", "true"))
ciBuild = System.getenv("CI") == "true"
}
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
flatDir {
dirs 'libs'
mavenCentral()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
// semantic versioning for version code
def versionMajor = 3
def versionMinor = 13
def versionMinor = 19
def versionPatch = 0
def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
for (TaskExecutionRequest tr : getGradle().getStartParameter().getTaskRequests()) {
for (String arg : tr.args) {
// any gplay, but only exact "build", as e.g. buildGeneric shall not apply gplay.grade
if (arg.contains("Gplay") || arg.contains("lint") || arg.contains("executeScreenshot") || arg == "build") {
if (arg.contains("Gplay") || arg.contains("lint") || arg.contains("ExecuteScreenshot") || arg == "build") {
apply from: 'gplay.gradle'
System.console().println("Applying gplay.gradle")
break
}
}
}
spotbugs {
toolVersion = '3.1.12'
}
shot {
appId = 'com.nextcloud.client'
instrumentationTestTask = 'connectedGplayDebugAndroidTest'
}
android {
lintOptions {
checkGeneratedSources = true
abortOnError false
htmlReport true
htmlOutput file("$project.buildDir/reports/lint/lint.html")
@@ -123,15 +117,11 @@ android {
'InvalidPeriodicWorkRequestInterval' // crashes due to a bug in lint itself
}
dexOptions {
javaMaxHeapSize "4g"
}
compileSdkVersion 29
compileSdkVersion 31
defaultConfig {
minSdkVersion 17
targetSdkVersion 29
minSdkVersion 23
targetSdkVersion 30
// arguments to be passed to functional tests
testInstrumentationRunner "com.nextcloud.client.ScreenshotTestRunner"
@@ -174,12 +164,17 @@ android {
applicationId 'com.nextcloud.client'
dimension "default"
}
huawei {
applicationId 'com.nextcloud.client'
dimension "default"
}
versionDev {
applicationId "com.nextcloud.android.beta"
dimension "default"
versionCode 20200129
versionName "20200129"
versionCode 20220119
versionName "20220119"
}
qa {
@@ -199,11 +194,6 @@ android {
// 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
dexOptions {
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
preDexLibraries = preDexEnabled && !travisBuild
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE'
@@ -239,44 +229,15 @@ android {
}
}
android.applicationVariants.all { variant ->
String variantName = variant.name
String capVariantName = variantName.substring(0, 1).toUpperCase() + variantName.substring(1)
tasks.register("spotbugs${capVariantName}", SpotBugsTask) {
ignoreFailures = true // should continue checking
effort = "max"
reportLevel = "medium"
classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/classes/")
excludeFilter = file("${project.rootDir}/spotbugs-filter.xml")
pluginClasspath = project.configurations.spotbugsPlugins
source = fileTree('src/main/java')
classpath = files()
include '**/*.java'
exclude '**/gen/**'
check.dependsOn 'checkstyle', 'spotbugsGplayDebugReport', 'pmd', 'lint', 'ktlint', 'detekt'
reports {
xml.enabled = false
html.enabled = true
html {
destination = file("$project.buildDir/reports/spotbugs/spotbugs.html")
}
}
}
buildFeatures {
dataBinding true
viewBinding true
}
check.dependsOn 'checkstyle', 'spotbugsGplayDebug', 'pmd', 'lint', 'ktlint', 'detekt'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dataBinding {
enabled true
}
viewBinding {
enabled true
kotlinOptions {
jvmTarget = "1.8"
}
}
@@ -284,46 +245,37 @@ dependencies {
// dependencies for app building
implementation 'androidx.multidex:multidex:2.0.1'
// implementation project('nextcloud-android-library')
genericImplementation "com.github.nextcloud:android-library:$androidLibraryVersion"
gplayImplementation "com.github.nextcloud:android-library:$androidLibraryVersion"
versionDevImplementation "com.github.nextcloud:android-library:$androidLibraryVersion"
qaImplementation "com.github.nextcloud:android-library:$androidLibraryVersion"
kapt 'javax.xml.bind:jaxb-api:2.3.1'
kapt 'org.glassfish.jaxb:jaxb-core:2.3.0.1'
kapt 'org.glassfish.jaxb:jaxb-runtime:2.3.3'
annotationProcessor 'javax.xml.bind:jaxb-api:2.3.1'
annotationProcessor 'org.glassfish.jaxb:jaxb-core:2.3.0.1'
annotationProcessor 'org.glassfish.jaxb:jaxb-runtime:2.3.3'
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.1' // remove after entire switch to lib v2
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
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.1.0'
implementation 'com.google.android.material:material:1.5.0'
implementation 'com.jakewharton:disklrucache:2.0.2'
implementation 'androidx.appcompat:appcompat:1.2.0-rc01'
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.2.0'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
implementation "androidx.work:work-runtime:2.3.4"
implementation "androidx.work:work-runtime-ktx:2.3.4"
implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
compileOnly 'com.google.code.findbugs:annotations:2.0.1'
implementation 'commons-io:commons-io:2.7'
implementation 'com.jakewharton:butterknife:10.2.1'
kapt 'com.jakewharton:butterknife-compiler:10.2.1'
implementation 'org.greenrobot:eventbus:3.2.0'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.6'
implementation 'androidx.exifinterface:exifinterface:1.3.3'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0"
implementation "androidx.work:work-runtime:$workRuntime"
implementation "androidx.work:work-runtime-ktx:$workRuntime"
implementation "androidx.fragment:fragment-ktx:1.4.0"
implementation 'com.github.albfernandez:juniversalchardet:2.3.2' // 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-jdk15on:1.65'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'org.bouncycastle:bcpkix-jdk15to18:1.70'
implementation 'com.google.code.gson:gson:2.8.9'
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.20'
implementation 'com.github.tobiaskaminsky:qrcodescanner:0.1.2.2' // 'com.github.blikoon:QRCodeScanner:0.1.2'
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:2.0.1'
implementation 'org.parceler:parceler-api:1.1.13'
kapt 'org.parceler:parceler:1.1.13'
@@ -331,12 +283,13 @@ dependencies {
exclude group: "com.android.support"
}
implementation 'com.caverock:androidsvg:1.4'
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'androidx.annotation:annotation:1.3.0'
implementation 'com.vanniktech:emoji-google:0.8.0'
implementation 'com.github.cotechde.hwsecurity:hwsecurity-fido:2.5.1'
implementation "com.github.cotechde.hwsecurity:hwsecurity-fido:$fidoVersion"
implementation "com.github.cotechde.hwsecurity:hwsecurity-fido2:$fidoVersion"
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.10.1'
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"
@@ -345,8 +298,10 @@ dependencies {
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
ktlint "com.pinterest:ktlint:0.36.0"
implementation 'org.conscrypt:conscrypt-android:2.4.0'
ktlint "com.pinterest:ktlint:0.43.2"
implementation 'org.conscrypt:conscrypt-android:2.5.2'
implementation 'com.google.android.exoplayer:exoplayer:2.16.1'
// Shimmer animation
implementation 'com.elyeproj.libraries:loaderviewlibrary:2.0.0'
@@ -362,53 +317,78 @@ dependencies {
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 (!ciBuild) {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
}
// dependencies for local unit tests
testImplementation 'junit:junit:4.13'
testImplementation 'org.mockito:mockito-core:3.3.3'
testImplementation 'androidx.test:core:1.2.0'
testImplementation 'org.powermock:powermock-core:2.0.7'
testImplementation 'org.powermock:powermock-module-junit4:2.0.7'
testImplementation 'org.powermock:powermock-api-mockito2:2.0.7'
testImplementation 'org.json:json:20200518'
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:20211205'
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
testImplementation "androidx.arch.core:core-testing:2.1.0"
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.1'
androidTestImplementation 'androidx.test:rules:1.2.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation "androidx.test:rules:$androidxTestVersion"
// Android JUnit Runner
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestUtil 'androidx.test:orchestrator:1.2.0'
androidTestImplementation "androidx.test:runner:$androidxTestVersion"
androidTestUtil "androidx.test:orchestrator:$androidxTestVersion"
// Espresso core
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.2.0'
androidTestImplementation 'org.mockito:mockito-core:3.3.1'
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"
// Mocking support
androidTestImplementation 'com.github.tmurakami:dexopener:2.0.5' // required to allow mocking on API 27 and older
androidTestImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
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.13.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.0.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
androidTestImplementation 'tools.fastlane:screengrab:2.1.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
androidTestImplementation('com.android.support.test.espresso:espresso-intents:3.0.2')
// jacocoAnt "org.jacoco:org.jacoco.ant:${jacocoVersion}"
// jacocoAgent "org.jacoco:org.jacoco.agent:${jacocoVersion}"
// androidJacocoAgent "org.jacoco:org.jacoco.agent:${jacocoVersion}"
// androidJacocoAnt "org.jacoco:org.jacoco.ant:${jacocoVersion}"
// androidJacocoAnt "org.jacoco:org.jacoco.core:${jacocoVersion}"
// androidJacocoAnt "org.jacoco:org.jacoco.report:${jacocoVersion}"
// androidJacocoAnt "org.jacoco:org.jacoco.agent:${jacocoVersion}"
implementation "com.github.stateless4j:stateless4j:2.6.0"
androidTestImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
androidTestImplementation "org.mockito:mockito-android:3.3.3"
androidTestImplementation 'net.bytebuddy:byte-buddy:1.10.10'
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
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) {
@@ -426,18 +406,18 @@ android.applicationVariants.all { variant ->
tasks.register("combinedTestReport", JacocoReport) {
jacocoClasspath = configurations['jacocoAnt']
reports {
xml.enabled = true
html.enabled = true
xml.enabled true
html.enabled true
csv.enabled false
}
def fileFilter = ['**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/Manifest*.*', '**/*Test*.*', 'android/**/*.*']
def debugTree = fileTree(dir: "$project.buildDir/intermediates/classes/gplay/debug", excludes: fileFilter)
def mainSrc = "$project.projectDir/src/main/java"
sourceDirectories = files([mainSrc])
classDirectories = files([debugTree])
executionData = fileTree(dir: project.buildDir, includes: [
additionalSourceDirs.setFrom files(subprojects.sourceSets.main.allSource.srcDirs)
sourceDirectories.setFrom files(subprojects.sourceSets.main.allSource.srcDirs)
classDirectories.setFrom files(subprojects.sourceSets.main.output)
executionData.setFrom project.fileTree(dir: project.buildDir, includes: [
'jacoco/testGplayDebugUnitTest.exec', 'outputs/code-coverage/connected/flavors/GPLAY/*coverage.ec'
])
}
@@ -456,6 +436,14 @@ task ktlintFormat(type: JavaExec, group: "formatting") {
args "-F", "src/**/*.kt"
}
task installGitHooks(type: Copy, group: "development") {
description = "Install git hooks"
from("${project.rootDir}/scripts/hooks") {
include '*'
}
into '.git/hooks'
}
detekt {
reports {
xml {
@@ -465,3 +453,37 @@ detekt {
config = files("detekt.yml")
input = files("src/")
}
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")
}
}
}
+8 -6
View File
@@ -56,6 +56,7 @@ complexity:
threshold: 10
ignoreSingleWhenExpression: false
ignoreSimpleWhenEntries: false
excludes: ['**/androidTest/**']
LabeledExpression:
active: false
ignoredLabels: ""
@@ -65,6 +66,7 @@ complexity:
LongMethod:
active: true
threshold: 60
excludes: ['**/androidTest/**']
LongParameterList:
active: true
threshold: 6
@@ -83,14 +85,14 @@ complexity:
ignoreStringsRegex: '$^'
TooManyFunctions:
active: true
thresholdInFiles: 11
thresholdInClasses: 11
thresholdInInterfaces: 11
thresholdInObjects: 11
thresholdInFiles: 15
thresholdInClasses: 15
thresholdInInterfaces: 15
thresholdInObjects: 15
thresholdInEnums: 11
ignoreDeprecated: false
ignoreDeprecated: true
ignorePrivate: false
ignoreOverridden: false
ignoreOverridden: true
empty-blocks:
active: true
Loaded 100 of 1729 files, more files were not shown because too many files have changed in this diff. Show more