Compare commits

...
1988 Commits
Author SHA1 Message Date
Tobias Kaminsky 975ee12cc0 daily dev 20220122
Bump version to 3.20.0 on master
2022-01-22 05:37:41 +01:00
Tobias Kaminsky c2cd8e2486 Merge remote-tracking branch 'origin/master' into dev 2022-01-22 05:30:57 +01:00
Tobias Kaminsky 70b93ed89c Merge pull request #9723 from nextcloud/bump-minor-version
Bump version to 3.20.0 on master
2022-01-21 08:58:47 +01:00
Tobias Kaminsky add4b08802 Merge pull request #9721 from nextcloud/chore/temurin
workflows: Use temurin JDK instead of adopt
2022-01-21 08:33:12 +01:00
Tobias Kaminsky e0d2670a5e daily dev 20220121
Restore library version
Use capability in SearchRemoteOperation
Clear DNS cache on network changes
Update translations
Update Nextcloud Android library
2022-01-21 06:44:26 +01:00
Tobias Kaminsky 68b08163b7 Merge remote-tracking branch 'origin/master' into dev 2022-01-21 05:33:52 +01:00
Nextcloud bot d8cbde9105 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-21 03:52:14 +00:00
Álvaro Brey Vilas f4e979a385 Bump version to 3.20.0 on master
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-20 15:00:46 +01:00
Álvaro Brey Vilas 417dee2535 workflows: Use temurin JDK instead of adopt
Ref: https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/

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

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

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

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

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

* Remove unused resource

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

Co-authored-by: Álvaro Brey Vilas <[email protected]>
2022-01-18 09:05:02 +01:00
Tobias Kaminsky ae7fb23a6b Merge pull request #9711 from nextcloud/chore/codecov-improvements
Codecov: don't annotate diffs
2022-01-18 08:39:45 +01:00
Tobias Kaminsky e091a15089 Merge pull request #9710 from nextcloud/fix/crash-on-remove-all-accounts
SessionMixin: set currentAccount to null when no accounts are available
2022-01-18 08:38:29 +01:00
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
1177 changed files with 34050 additions and 21751 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",
}
+31 -29
View File
@@ -5,7 +5,7 @@ name: tests-stable
steps:
- name: gplay
image: nextcloudci/android8:android-60
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
LOG_USERNAME:
@@ -25,10 +25,12 @@ steps:
- ./gradlew assembleGplay
- ./gradlew assembleGplayDebug
- scripts/wait_for_emulator.sh
- ./gradlew jacocoTestGplayDebugUnitTestReport && scripts/deleteOutdatedComments.sh "stable" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- 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"
- ./gradlew createGplayDebugCoverageReport -Pcoverage -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest && scripts/deleteOutdatedComments.sh "stable" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- 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
@@ -51,6 +53,7 @@ steps:
- failure
branch:
- master
- stable-*
services:
- name: server
@@ -58,7 +61,7 @@ services:
environment:
EVAL: true
commands:
- BRANCH='stable20' /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"
@@ -67,16 +70,18 @@ services:
- su www-data -c "php /var/www/html/occ group:add users"
- su www-data -c "php /var/www/html/occ group:adduser users user1"
- su www-data -c "php /var/www/html/occ group:adduser users user2"
- su www-data -c "git clone -b stable20 https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "git clone -b 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 stable20 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
@@ -87,7 +92,7 @@ name: tests-master
steps:
- name: gplay
image: nextcloudci/android8:android-60
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
LOG_USERNAME:
@@ -103,16 +108,8 @@ steps:
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
- ./gradlew assembleGplay
- ./gradlew assembleGplayDebug
- scripts/wait_for_emulator.sh
- ./gradlew jacocoTestGplayDebugUnitTestReport && scripts/deleteOutdatedComments.sh "master" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || 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"
- ./gradlew createGplayDebugCoverageReport -Pcoverage -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest && scripts/deleteOutdatedComments.sh "master" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "master" "IT" $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
- 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,6 +131,7 @@ steps:
- failure
branch:
- master
- stable-*
services:
- name: server
@@ -161,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/android8:android-60
- name: runAllScreenshots
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
GIT_USERNAME:
from_secret: GIT_USERNAME
@@ -182,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:
@@ -207,10 +210,9 @@ steps:
- failure
branch:
- master
- stable-*
trigger:
branch:
- master
event:
- push
- 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
+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: "temurin"
java-version: 11
- name: Run analysis wrapper
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
scripts/analysis/analysis-wrapper.sh ${{ secrets.GIT_USERNAME }} ${{ secrets.GIT_TOKEN }} ${{ 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: "temurin"
java-version: 11
- name: Build ${{ matrix.flavor }}
run: |
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties
./gradlew assemble${{ matrix.flavor }}
+5 -3
View File
@@ -1,11 +1,13 @@
name: Auto approve
on: pull_request
on:
pull_request_target:
branches: [ master, stable-* ]
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.0.0
- uses: hmarr/auto-approve-action@v2.1.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
-42
View File
@@ -1,42 +0,0 @@
name: "Blue color on dark mode"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
blueDark:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build gplay
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGplayDebug
- name: Delete old comments
env:
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run: scripts/deleteOldComments.sh "Blue-Dark" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 27
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=blue -Pandroid.testInstrumentationRunnerArguments.DARKMODE=dark
- name: upload failing results
if: ${{ failure() }}
env:
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run:
scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" ${{github.event.number}} "Blue-Dark" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
-42
View File
@@ -1,42 +0,0 @@
name: "Blue color on light mode"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
blueLight:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build gplay
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGplayDebug
- name: Delete old comments
env:
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run: scripts/deleteOldComments.sh "Blue-Light" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 27
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=blue -Pandroid.testInstrumentationRunnerArguments.DARKMODE=light
- name: upload failing results
if: ${{ failure() }}
env:
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run:
scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" ${{github.event.number}} "Blue-Light" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_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: "temurin"
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;21.0.6113669" --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;21.0.6113669" --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
+12 -9
View File
@@ -1,26 +1,29 @@
name: "QA"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
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
- name: set up JDK 1.8
uses: actions/setup-java@v1
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:
java-version: 1.8
distribution: "temurin"
java-version: 11
- name: Build QA
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
env:
KS_PASS: ${{ secrets.KS_PASS }}
KEY_PASS: ${{ secrets.KEY_PASS }}
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
run: |
@@ -30,4 +33,4 @@ jobs:
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}} $GIT_USERNAME $GIT_TOKEN
sudo scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
+55
View File
@@ -0,0 +1,55 @@
name: Scorecards supply-chain security
on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
- cron: '33 1 * * 5'
push:
branches: [ master ]
# Declare default permissions as read only.
permissions: read-all
jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
actions: read
contents: read
steps:
- name: "Checkout code"
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@e3e75cf2ffbf9364bbff86cdbdf52b23176fe492 # v1.0.1
with:
results_file: results.sarif
results_format: sarif
# Read-only PAT token. To create it,
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
# Publish the results to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories, `publish_results` will automatically be set to `false`,
# regardless of the value entered here.
publish_results: false
# Upload the results as artifacts (optional).
- name: "Upload artifact"
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2.3.1
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # v1.0.26
with:
sarif_file: results.sarif
+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: "temurin"
java-version: 11
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
arch: x86
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: echo "Generated AVD snapshot for caching."
- name: Configure gradle daemon
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
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
-42
View File
@@ -1,42 +0,0 @@
name: "White color on dark mode"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
whiteDark:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build gplay
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGplayDebug
- name: Delete old comments
env:
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run: scripts/deleteOldComments.sh "White-Dark" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 27
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=white -Pandroid.testInstrumentationRunnerArguments.DARKMODE=dark
- name: upload failing results
if: ${{ failure() }}
env:
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run:
scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" ${{github.event.number}} "White-Dark" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
-42
View File
@@ -1,42 +0,0 @@
name: "White color on light mode"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
whiteLight:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build gplay
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGplayDebug
- name: Delete old comments
env:
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run: scripts/deleteOldComments.sh "White-Light" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 27
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=white -Pandroid.testInstrumentationRunnerArguments.DARKMODE=light
- name: upload failing results
if: ${{ failure() }}
env:
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run:
scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" ${{github.event.number}} "White-Light" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
+3 -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*
@@ -49,3 +49,4 @@ fastlane/Fastfile
**/fastlane/test_output
/fastlane/vendor/
/.bundle/
/fastlane/.bundle/
View File
Whitespace-only changes.
-10
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>
@@ -59,15 +58,6 @@
<package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
</value>
</option>
<option name="PACKAGES_IMPORT_LAYOUT">
<value>
<package name="" alias="false" withSubpackages="true" />
<package name="java" alias="false" withSubpackages="true" />
<package name="javax" alias="false" withSubpackages="true" />
<package name="kotlin" alias="false" withSubpackages="true" />
<package name="" alias="true" 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="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
+121 -10
View File
@@ -1,20 +1,131 @@
## 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
- 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
- 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
+11 -7
View File
@@ -1,9 +1,5 @@
# [Nextcloud](https://nextcloud.com) Android app
[![irc](https://img.shields.io/badge/IRC-%23nextcloud%20on%20freenode-orange.svg)](https://webchat.freenode.net/?channels=nextcloud)
[![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile)
# Index
1. [Guidelines](#guidelines)
1. [Issue reporting](#issue-reporting)
@@ -16,6 +12,7 @@
1. [Branching model](#branching-model)
1. [Android Studio formatter setup](#android-studio-formatter-setup)
1. [Build variants](#build-variants)
1. [Git hooks](#git-hooks)
1. [Contribution process](#contribution-process)
1. [Fork and download android repository](#fork-and-download-android-repository)
1. [Create pull request](#create-pull-request)
@@ -119,6 +116,14 @@ There are three build variants
* gplay: with Google Stuff (Push notification), used for Google Play Store
* versionDev: based on master and library master, available as direct download and FDroid
### Git hooks
We provide git hooks to make development process easier for both the developer and the reviewers.
To install them, just run:
```bash
./gradlew installGitHooks
```
## Contribution process
* Contribute your code in the branch 'master'. It will give us a better chance to test your code before merging it with stable code.
* For your first contribution start a pull request on master.
@@ -129,12 +134,11 @@ There are three build variants
### Create pull request:
* Commit your changes locally: ```git commit -a```
* Commit your changes locally. Remember to sign off your commits (`git commit -sm 'Your commit message'`).
* Push your changes to your GitHub repo: ```git push```
* Browse to <https://github.com/YOURGITHUBNAME/android/pulls> and issue pull request
* Enter description and send pull request.
### Create another pull request:
To make sure your new pull request does not contain commits which are already contained in previous PRs, create a new branch which is a clone of upstream/master.
@@ -319,7 +323,7 @@ We manage translations via [Transifex](https://www.transifex.com/nextcloud/nextc
If you need to change a translation, do not change it, but give it new key. This way the translation stays backward compatible as we automatically backport translated strings to last versions.
When submitting PRs with changed translations, please only submit changes to values/strings.xml and not changes to translated files. These will be overwritten by next merge of transifex-but and increase PR review.
When submitting PRs with changed translations, please only submit changes to values/strings.xml and not changes to translated files. These will be overwritten by next merge of transifex-bot and increase PR review.
## Engineering practices
+110 -74
View File
@@ -1,77 +1,98 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.2)
addressable (2.7.0)
CFPropertyList (3.0.5)
rexml
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.1.0)
aws-partitions (1.343.0)
aws-sdk-core (3.104.1)
aws-eventstream (1.2.0)
aws-partitions (1.541.0)
aws-sdk-core (3.124.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-kms (1.36.0)
aws-sdk-core (~> 3, >= 3.99.0)
aws-sdk-kms (1.52.0)
aws-sdk-core (~> 3, >= 3.122.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.75.0)
aws-sdk-core (~> 3, >= 3.104.1)
aws-sdk-s3 (1.109.0)
aws-sdk-core (~> 3, >= 3.122.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.2.1)
aws-sigv4 (~> 1.4)
aws-sigv4 (1.4.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.3)
babosa (1.0.4)
claide (1.0.3)
colored (1.2)
colored2 (3.1.2)
commander-fastlane (4.4.6)
highline (~> 1.7.2)
commander (4.6.0)
highline (~> 2.0.0)
declarative (0.0.20)
declarative-option (0.1.0)
digest-crc (0.6.1)
rake (~> 13.0)
digest-crc (0.6.4)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6)
emoji_regex (3.0.0)
excon (0.75.0)
faraday (0.17.3)
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)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
ruby2_keywords (>= 0.0.4)
faraday-cookie_jar (0.0.7)
faraday (>= 0.8.0)
http-cookie (~> 1.0.0)
faraday_middleware (0.14.0)
faraday (>= 0.7.4, < 1.0)
fastimage (2.1.7)
fastlane (2.152.0)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-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.3, < 3.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
babosa (>= 1.0.3, < 2.0.0)
bundler (>= 1.12.0, < 3.0.0)
colored
commander-fastlane (>= 4.4.6, < 5.0.0)
commander (~> 4.6)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
excon (>= 0.71.0, < 1.0.0)
faraday (>= 0.17, < 1.0)
faraday (~> 1.0)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (>= 0.13.1, < 2.0)
faraday_middleware (~> 1.0)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-api-client (>= 0.37.0, < 0.39.0)
google-cloud-storage (>= 1.15.0, < 2.0.0)
highline (>= 1.7.2, < 2.0.0)
google-apis-androidpublisher_v3 (~> 0.3)
google-apis-playcustomapp_v1 (~> 0.1)
google-cloud-storage (~> 1.31)
highline (~> 2.0)
json (< 3.0.0)
jwt (>= 2.1.0, < 3)
mini_magick (>= 4.9.4, < 5.0.0)
multipart-post (~> 2.0.0)
naturally (~> 2.2)
optparse (~> 0.1.1)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.3)
simctl (~> 1.6.3)
slack-notifier (>= 2.0.0, < 3.0.0)
terminal-notifier (>= 2.0.0, < 3.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
tty-screen (>= 0.6.3, < 1.0.0)
@@ -80,74 +101,87 @@ GEM
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-huawei_appgallery_connect (1.0.9)
fastlane-plugin-huawei_appgallery_connect (1.0.17)
gh_inspector (1.1.3)
google-api-client (0.38.0)
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.9)
httpclient (>= 2.8.1, < 3.0)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
mini_mime (~> 1.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
signet (~> 0.12)
google-cloud-core (1.5.0)
retriable (>= 2.0, < 4.a)
rexml
webrick
google-apis-iamcredentials_v1 (0.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.3.3)
google-cloud-env (1.5.0)
faraday (>= 0.17.3, < 2.0)
google-cloud-errors (1.0.1)
google-cloud-storage (1.26.2)
addressable (~> 2.5)
google-cloud-errors (1.2.0)
google-cloud-storage (1.35.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-api-client (~> 0.33)
google-cloud-core (~> 1.2)
googleauth (~> 0.9)
google-apis-iamcredentials_v1 (~> 0.1)
google-apis-storage_v1 (~> 0.1)
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
mini_mime (~> 1.0)
googleauth (0.13.0)
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.14)
highline (1.7.10)
http-cookie (1.0.3)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.4)
domain_name (~> 0.5)
httpclient (2.8.3)
jmespath (1.4.0)
json (2.3.1)
jwt (2.2.1)
json (2.6.1)
jwt (2.3.0)
memoist (0.16.2)
mini_magick (4.10.1)
mini_mime (1.0.2)
mini_magick (4.11.0)
mini_mime (1.1.2)
multi_json (1.15.0)
multipart-post (2.0.0)
nanaimo (0.3.0)
naturally (2.2.0)
os (1.1.0)
plist (3.5.0)
public_suffix (4.0.5)
rake (13.0.1)
representable (3.0.4)
naturally (2.2.1)
optparse (0.1.1)
os (1.1.4)
plist (3.6.0)
public_suffix (4.0.6)
rake (13.0.6)
representable (3.1.1)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.5)
rouge (2.0.7)
rubyzip (2.3.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.3)
signet (0.14.0)
addressable (~> 2.3)
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
slack-notifier (2.3.2)
terminal-notifier (2.0.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
trailblazer-option (0.1.2)
tty-cursor (0.7.1)
tty-screen (0.8.1)
tty-spinner (0.9.3)
@@ -155,26 +189,28 @@ GEM
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
unf_ext (0.0.8)
unicode-display_width (1.8.0)
webrick (1.7.0)
word_wrap (1.0.0)
xcodeproj (1.17.1)
xcodeproj (1.21.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.0)
xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
ruby
x86_64-linux
DEPENDENCIES
fastlane
fastlane-plugin-huawei_appgallery_connect
BUNDLED WITH
2.1.4
2.2.26
+12 -5
View File
@@ -1,6 +1,6 @@
# [Nextcloud](https://nextcloud.com) Android app :iphone:
[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=nextcloud/android&amp;utm_campaign=Badge_Grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest) [![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile)
[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=nextcloud/android&amp;utm_campaign=Badge_Grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest)
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png"
alt="Download from Google Play"
@@ -16,7 +16,6 @@
## How to contribute :rocket:
If you want to [contribute](https://nextcloud.com/contribute/) to Nextcloud, you are very welcome:
- on our IRC channels [![irc](https://img.shields.io/badge/IRC-%23nextcloud%20on%20freenode-orange.svg)](https://webchat.freenode.net/?channels=nextcloud) and [![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile) on freenode
- our forum at https://help.nextcloud.com
- for translations of the app on [Transifex](https://www.transifex.com/nextcloud/nextcloud/android/)
- opening issues and PRs (including a corresponding issue)
@@ -42,13 +41,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"
@@ -67,7 +74,7 @@ or
## Support :rescue_worker_helmet:
If you need assistance or want to ask a question about the Android app, you are welcome to [ask for support](https://help.nextcloud.com/c/clients/android) in our Forums or the [IRC-Channel](https://webchat.freenode.net/?channels=nextcloud-mobile). If you have found a bug, feel free to [open a new Issue on GitHub](https://github.com/nextcloud/android/issues). Keep in mind, that this repository only manages the Android app. If you find bugs or have problems with the server/backend, you should ask the [Nextcloud server team](https://github.com/nextcloud/server) for help!
If you need assistance or want to ask a question about the Android app, you are welcome to [ask for support](https://help.nextcloud.com/c/clients/android) in our Forums. If you have found a bug, feel free to [open a new Issue on GitHub](https://github.com/nextcloud/android/issues). Keep in mind, that this repository only manages the Android app. If you find bugs or have problems with the server/backend, you should ask the [Nextcloud server team](https://github.com/nextcloud/server) for help!
## Remarks :scroll:
+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.13.1</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
+146 -133
View File
@@ -1,4 +1,5 @@
import com.github.spotbugs.snom.SpotBugsTask
import org.gradle.internal.jvm.Jvm
// Gradle build file
//
@@ -8,33 +9,32 @@ import com.github.spotbugs.snom.SpotBugsTask
// its root folder, another one for the app module in subfolder of root.
buildscript {
ext.kotlin_version = '1.4.21'
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:4.1.1'
classpath('com.hiya:jacoco-android:0.2')
classpath 'gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.6.0'
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.14.2"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.19.0"
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
classpath 'com.karumi:shot:5.3.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'
@@ -43,6 +43,8 @@ apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'shot'
println "Gradle uses Java ${Jvm.current()}"
configurations {
ktlint
@@ -50,43 +52,42 @@ configurations {
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.30.1"
markwonVersion = "4.6.0"
androidxTestVersion = "1.4.0"
daggerVersion = "2.40.5"
markwonVersion = "4.6.2"
prismVersion = "2.0.0"
butterknifeVersion = "10.2.3"
androidLibraryVersion ="c6e1cfa2ac3e7e79da71ab847ab9b82a77bd033e"
mockitoVersion = "3.6.28"
mockkVersion = "1.10.2"
androidLibraryVersion ="2b6ccf62a00f9feb7f1c48483c17ba6a260b6caa"
mockitoVersion = "4.2.0"
mockkVersion = "1.12.2"
powermockVersion = "2.0.9"
byteBuddyVersion = "1.10.18"
espressoVersion = "3.3.0"
byteBuddyVersion = "1.12.7"
espressoVersion = "3.4.0"
workRuntime = "2.7.1"
fidoVersion = "4.1.0"
travisBuild = System.getenv("TRAVIS") == "true"
// allows for -D pre-dex=false to be set
preDexEnabled = "true" == 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 = 15
def versionMinor = 20
def versionPatch = 0
def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
@@ -100,8 +101,6 @@ for (TaskExecutionRequest tr : getGradle().getStartParameter().getTaskRequests()
}
}
android {
lintOptions {
checkGeneratedSources = true
@@ -118,15 +117,11 @@ android {
'InvalidPeriodicWorkRequestInterval' // crashes due to a bug in lint itself
}
dexOptions {
javaMaxHeapSize "4g"
}
compileSdkVersion 29
compileSdkVersion 31
defaultConfig {
minSdkVersion 21
targetSdkVersion 29
minSdkVersion 23
targetSdkVersion 30
// arguments to be passed to functional tests
testInstrumentationRunner "com.nextcloud.client.ScreenshotTestRunner"
@@ -169,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 20201210
versionName "20201210"
versionCode 20220122
versionName "20220122"
}
qa {
@@ -194,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 -D pre-dex=false.
preDexLibraries = preDexEnabled && !travisBuild
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE'
@@ -234,84 +229,53 @@ android {
}
}
android.applicationVariants.all { variant ->
String variantName = variant.name
String capVariantName = variantName.substring(0, 1).toUpperCase() + variantName.substring(1)
tasks.register("spotbugs${capVariantName}Report", 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")
reports {
xml.enabled = false
html {
enabled = true
destination = file("$project.buildDir/reports/spotbugs/spotbugs.html")
}
}
}
}
check.dependsOn 'checkstyle', 'spotbugsGplayDebugReport', 'pmd', 'lint', 'ktlint', 'detekt'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeatures {
dataBinding true
viewBinding true
}
kotlinOptions {
jvmTarget = "1.8"
}
}
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:2.0.4'
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.2.1'
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.3.2'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
implementation "androidx.work:work-runtime:2.4.0"
implementation "androidx.work:work-runtime-ktx:2.4.0"
implementation "androidx.fragment:fragment:1.2.5"
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.8.0'
implementation "com.jakewharton:butterknife:$butterknifeVersion"
kapt "com.jakewharton:butterknife-compiler:$butterknifeVersion"
implementation 'org.greenrobot:eventbus:3.2.0'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.2'
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-jdk15to18:1.67'
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.21'
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'
@@ -319,12 +283,11 @@ 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 'com.vanniktech:emoji-google:0.7.0'
implementation 'androidx.annotation:annotation:1.3.0'
implementation 'com.vanniktech:emoji-google:0.8.0'
implementation 'com.github.cotechde.hwsecurity:hwsecurity-fido:4.1.0'
implementation 'com.github.cotechde.hwsecurity:hwsecurity-fido2:4.1.0'
implementation "com.github.cotechde.hwsecurity:hwsecurity-fido:$fidoVersion"
implementation "com.github.cotechde.hwsecurity:hwsecurity-fido2:$fidoVersion"
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.7'
@@ -335,8 +298,10 @@ dependencies {
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
ktlint "com.pinterest:ktlint:0.40.0"
implementation 'org.conscrypt:conscrypt-android:2.5.1'
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'
@@ -352,14 +317,24 @@ 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.1'
testImplementation 'junit:junit:4.13.2'
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation 'androidx.test:core:1.3.0'
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:20201115'
testImplementation 'org.json:json:20211205'
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
testImplementation 'androidx.arch.core:core-testing:2.1.0'
testImplementation "io.mockk:mockk:$mockkVersion"
@@ -367,11 +342,11 @@ dependencies {
// dependencies for instrumented tests
// JUnit4 Rules
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test:rules:1.3.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation "androidx.test:rules:$androidxTestVersion"
// Android JUnit Runner
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestUtil 'androidx.test:orchestrator:1.3.0'
androidTestImplementation "androidx.test:runner:$androidxTestVersion"
androidTestUtil "androidx.test:orchestrator:$androidxTestVersion"
// Espresso core
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
@@ -388,36 +363,30 @@ dependencies {
}
androidTestImplementation "net.bytebuddy:byte-buddy:$byteBuddyVersion"
androidTestImplementation "net.bytebuddy:byte-buddy-android:$byteBuddyVersion"
androidTestImplementation "io.mockk:mockk-android:1.10.0"
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"
}
spotbugs {
toolVersion = '3.1.12'
}
configurations.all {
resolutionStrategy{
cacheChangingModulesFor 0, 'seconds'
force 'org.objenesis:objenesis:2.6'
eachDependency { details ->
if ('org.jacoco' == details.requested.group) {
details.useVersion "$jacoco_version"
}
}
}
}
@@ -437,6 +406,8 @@ android.applicationVariants.all { variant ->
tasks.register("combinedTestReport", JacocoReport) {
jacocoClasspath = configurations['jacocoAnt']
reports {
xml.enabled true
html.enabled true
@@ -465,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 {
@@ -474,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")
}
}
}
-1
View File
@@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z" /></svg>

Before

Width:  |  Height:  |  Size: 422 B

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