Commit graph

730 commits

Author SHA1 Message Date
Á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 <alvaro.brey@nextcloud.com>
2021-10-15 10:42:12 +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
Álvaro Brey Vilas
267c4c2b72
pre-push hook: Exclude merges from signoff check
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-13 09:55:07 +02:00
Andy Scherzinger
9c432b5655 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-06 08:26:25 +00:00
Andy Scherzinger
ec59542f5a bump score due to AGP upgrade
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-06 08:26:25 +00:00
Álvaro Brey
7fd8724473 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2021-09-29 12:28:59 +00: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 <alvaro.brey@nextcloud.com>
2021-09-29 08:30:58 +00:00
tobiasKaminsky
a57f8eb989
Enhance screenshot handling
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-09-29 09:16:10 +02: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
Á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 <alvaro.brey@nextcloud.com>
2021-09-27 11:42:20 +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 <alvaro.brey@nextcloud.com>
2021-09-24 14:07:11 +02:00
Timo Triebensky
5e6e3d4800
Merge branch 'master' into add-sso-patch-method 2021-09-21 11:39:25 +02: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 <alvaro.brey@nextcloud.com>
2021-09-14 10:49:07 +02:00
Álvaro Brey Vilas
6c176c4802 deleteOldComments: fix github token var name
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2021-09-14 07:50:24 +00: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
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
Á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 <alvaro.brey@nextcloud.com>
2021-09-06 12:08:27 +02:00
Álvaro Brey Vilas
f3f14bfcc4
scripts:uploadReport: Fix git token usage
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-09-06 11:29:46 +02:00
Álvaro Brey Vilas
47689c938c
scripts:uploadReport: Fix github authorization
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2021-09-03 12:37:55 +02:00
Álvaro Brey Vilas
6ab58b7b1a
scripts: androidScreenshotTest: Fail on first error
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-09-03 12:29:58 +02:00
tobiasKaminsky
a35a6a3417
Revert Shot to get screenshots again
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-09-03 07:48:47 +02:00
Andy Scherzinger
a1700664d2
bump due to spotbugs update
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-08-19 21:53:15 +02:00
binsky
f25d85a33e increase SpotBugs to 464 to accept the new PatchMethod class for the SSO api
Signed-off-by: binsky <timo@binsky.org>
2021-08-12 15:50:47 +02:00
tobiasKaminsky
947d0c5115
Somehow SpotBugs needs to be on 462.
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-08-05 15:02:46 +02:00
Andy Scherzinger
e95c94939b
Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-24 15:23:44 +02:00
tobiasKaminsky
870e979f12
Correctly return exit code
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-07-22 07:40:54 +02:00
tobiasKaminsky
8ac7d46e0f
Correctly return exit code
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-07-22 07:40:20 +02: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
be1a52a813
bump spotbugs score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-17 22:33:02 +02:00
Andy Scherzinger
8516e6a4d5
Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-17 16:52:25 +02:00
Andy Scherzinger
10a6e519cb
Drone: update Lint/spotbugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-17 14:16:40 +02:00
tobiasKaminsky
14f7dbb3db
Delete outdated comments before running
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-07-16 11:07:23 +02:00
tobiasKaminsky
0a287e0b45 alwas upload code coverage
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-06-30 06:33:40 +00:00
tobiasKaminsky
1ea436e4dd
Use ExoPlayer for audio/video player
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-06-02 10:09:09 +02:00
Andy Scherzinger
5bbbae7165
Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-01 18:27:58 +02:00
tobiasKaminsky
8e0aebf3f0
uploadReport.sh: fix flavor case
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-05-27 11:11:37 +02:00
tobiasKaminsky
419cb69b08
Fix not null fix
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-05-27 10:16:06 +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
tobiasKaminsky
fb7bba8fe4
analysis-wrapper.sh: fix not Null check
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-05-26 08:43:22 +02:00
Andy Scherzinger
7ffa52c037
bump lint score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-14 10:57:21 +02:00
tobiasKaminsky
8a1b8c4185
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-05-11 08:56:45 +02:00
tobiasKaminsky
d3504118cb
Hide curl output
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-03-18 13:28:05 +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 <tobias@kaminsky.me>
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 <tobias@kaminsky.me>
2021-03-18 06:40:10 +00:00
tobiasKaminsky
11e077a51f
Use GITHUB_TOKEN instead of own private access token
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-03-03 09:51:49 +01:00
tobiasKaminsky
f1d3854a11
Before uploading failed reports check if secrets are set
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-02-25 15:32:52 +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
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
71894243f0
codacy: Avoid declaring a variable if it is unreferenced before a possible exit point.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-02-18 14:58:19 +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
tobiasKaminsky
296647ba9d
Upload coverage report even if combindedTestReport fails
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-06 09:41:13 +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
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
Tobias Kaminsky
51af817b76
Merge pull request #7603 from nextcloud/bottomSheetImprovement
Bottom sheet improvement
2021-01-05 11:58:39 +01:00
tobiasKaminsky
38e27420c3
Detect dependencies with snapshot
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-05 09:38:34 +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
tobiasKaminsky
548d2d75d7
add screenshot html overview script
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-08 23:42:08 +01:00
tobiasKaminsky
5ee724600d
Add screenshots with white primary color
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-08 23:42:05 +01:00
drone
badb394e19 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2020-12-04 09:20:24 +00:00
nextcloud-android-bot
58f4c6833c Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-11-30 09:58:07 +00:00
nextcloud-android-bot
0849cf21bd
Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-11-30 09:57:07 +01:00
nextcloud-android-bot
d25c201b63 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-11-25 21:22:03 +00:00
dependabot-preview[bot]
634e138fb4
Bump daggerVersion from 2.29.1 to 2.30.1
Bumps `daggerVersion` from 2.29.1 to 2.30.1.

Updates `dagger` from 2.29.1 to 2.30.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.29.1...dagger-2.30.1)

Updates `dagger-android` from 2.29.1 to 2.30.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.29.1...dagger-2.30.1)

Updates `dagger-android-support` from 2.29.1 to 2.30.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.29.1...dagger-2.30.1)

Updates `dagger-compiler` from 2.29.1 to 2.30.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.29.1...dagger-2.30.1)

Updates `dagger-android-processor` from 2.29.1 to 2.30.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.29.1...dagger-2.30.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-24 09:45:05 +01:00
nextcloud-android-bot
e3c756364d Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-11-20 22:23:26 +00:00
tobiasKaminsky
4adf463668
do not use absolute path
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-20 12:58:07 +01:00
Andy Scherzinger
96a13de842
Merge pull request #7337 from nextcloud/rorNull
NPE on download
2020-11-18 23:57:09 +01:00
tobiasKaminsky
5db5aef0d0
Run screenshot tests on GitHub actions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-18 09:57:01 +01:00
nextcloud-android-bot
f036bea63a Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-11-17 09:04:37 +00:00
tobiasKaminsky
a506c31f76
use result from combinations
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-10 09:10:05 +01:00
nextcloud-android-bot
b466be9439
Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-11-08 16:57:27 +01:00
tobiasKaminsky
0826398c06
override minSdk only when using Karumi
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-04 12:42:11 +01:00
tobiasKaminsky
d686f202b7
add android_serial so that only uiComparison emulator is used for screenshot comparison
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-04 11:45:24 +01:00
nextcloud-android-bot
51837d7b0c
Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-10-30 10:12:57 +01:00
tobiasKaminsky
3a76ff78df
use stable 20 for stable tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-30 07:27:39 +01:00
tobiasKaminsky
0b8cf615e6
fix lint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-29 20:28:47 +01:00
tobiasKaminsky
dbd9e6fe9b
Add status to sharee
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-29 20:27:01 +01:00
tobiasKaminsky
bfccf4851f
Add dark screenshots
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-29 17:46:41 +01:00
nextcloud-android-bot
12a7145e1a Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-10-29 06:22:20 +00:00
tobiasKaminsky
6b0f929605
fix analysis-wrapper.sh script
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-28 14:44:20 +01:00
tobiasKaminsky
b7a4d265cd
fix analysis-wrapper.sh script
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-28 14:44:19 +01:00
tobiasKaminsky
3809f2ab7b
add check for nonNull
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-28 14:44:17 +01:00
nextcloud-android-bot
55057a386d
Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-10-28 14:44:17 +01:00
tobiasKaminsky
163422e6ff
fix tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-20 22:20:25 +02:00
tobiasKaminsky
ee5ff47138
IT report has changed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-19 16:10:51 +02:00
nextcloud-android-bot
0bba77ded8 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-10-15 10:03:28 +00:00
nextcloud-android-bot
7b9d90733f Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-10-15 09:18:33 +00:00
nextcloud-android-bot
247dabb385 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-10-15 08:21:34 +00:00
nextcloud-android-bot
a8f3f9022e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-10-14 06:37:49 +00:00
nextcloud-android-bot
5131ee762f Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-10-14 06:35:59 +00:00
Andy Scherzinger
1ca8136af9
bump lint score due to new lint checks / gradle version
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-13 11:19:33 +02:00
nextcloud-android-bot
3f067063ad Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-10-06 10:25:01 +00:00
nextcloud-android-bot
d0e66f95bd Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-10-01 10:40:51 +00:00
nextcloud-android-bot
58e16bcbbe Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-09-23 06:25:08 +00:00
nextcloud-android-bot
98c963cb10 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-09-22 06:25:59 +00:00
tobiasKaminsky
495cf0aea0
let uploadReport always fail
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-11 10:49:12 +02:00
Tobias Kaminsky
77c0d4b054
Merge pull request #6533 from nextcloud/ocFileListTest
add TestActivity to launch fragments in it
2020-09-04 07:51:43 +02:00
tobiasKaminsky
e07c2d169a
- use display name for avatar generation
- use new server algorithm
Ref: https://github.com/nextcloud/nextcloud-vue/blob/master/src/functions/usernameToColor/usernameToColor.js

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-03 09:19:03 +02:00
tobiasKaminsky
a3cb17a829
add TestActivity to launch fragments in it
fix wrong class cast exception message

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-08-31 17:05:57 +02:00
nextcloud-android-bot
9583fc87ec Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-08-27 15:52:23 +00:00
tobiasKaminsky
c9c0ae9e46
Allow to run different colors on dark/light mode
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-07-29 11:20:25 +02:00
nextcloud-android-bot
8f1d7b5b95 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-07-28 19:28:59 +00:00
tobiasKaminsky
76c20b22db
Write some UI tests for NotificationsActivity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-07-28 17:28:11 +02:00
tobiasKaminsky
d1adb2bf74
update FileDisplayActivityIT
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-07-17 11:56:23 +02:00
tobiasKaminsky
be977dda31
update ScreenshotIT
add helper script

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-07-17 07:47:59 +02:00
nextcloud-android-bot
94b26cc28e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-07-09 14:50:07 +00:00
tobiasKaminsky
a884bab878
reduce log output for drone
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-07-07 11:48:25 +02:00
nextcloud-android-bot
a06057acfa Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-07-01 13:52:27 +00:00
tobiasKaminsky
4bb0a3c176
Edit label for public share
split up between public share and user shares

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-07-01 12:07:26 +02:00
tobiasKaminsky
f6e8636cfa
remove EditShareFragment.java
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-30 15:32:17 +02:00
Andy Scherzinger
ba62819180
Merge pull request #6391 from nextcloud/switch
add default to switch
2020-06-30 14:46:01 +02:00
tobiasKaminsky
05748959e9
exit always with 0
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-30 11:55:52 +02:00
nextcloud-android-bot
444dcd000e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-30 07:55:26 +00:00
tobiasKaminsky
cc517ffcfd
Lint ignore
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:00:44 +02:00
tobiasKaminsky
98d1b5e2b9
split up delete old commit to always delete them
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:00:44 +02:00
tobiasKaminsky
3102c23d2c
always delete old comments
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:00:44 +02:00
tobiasKaminsky
32a0d1c309
Replace fragment by FragmentContainerView
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 16:00:44 +02:00
tobiasKaminsky
fd7b722ac4
type -> TYPE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 15:59:36 +02:00
tobiasKaminsky
fb5ae37a38
make deleteOutdatedComments.sh executable
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-29 15:41:55 +02:00
Tobias Kaminsky
ced60bf59b
Merge pull request #6366 from nextcloud/deleteOutdatedComments
Delete outdated comments in case of success
2020-06-29 10:28:59 +02:00
nextcloud-android-bot
79f4270bb9 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-26 13:35:51 +00:00
tobiasKaminsky
8f0e4eab60
Delete outdated comments in case of success
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-26 12:51:47 +02:00
tobiasKaminsky
c42c24be80
type -> TYPE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-26 10:58:34 +02:00
tobiasKaminsky
097434916e
fix deleting outdated comments
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-26 10:35:48 +02:00
nextcloud-android-bot
e0d5676151 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-25 21:18:34 +00:00
nextcloud-android-bot
f6e7c44596 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-25 16:55:05 +00:00
nextcloud-android-bot
741fb410f1 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-25 11:13:55 +00:00
nextcloud-android-bot
961e6c179a
Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-25 13:00:04 +02:00
Andy Scherzinger
83d4aaf1ab
Merge pull request #6345 from nextcloud/usbr
fix USBR_UNNECESSARY_STORE_BEFORE_RETURN
2020-06-24 23:18:08 +02:00
nextcloud-android-bot
98d930b8ab Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-24 21:00:09 +00:00
nextcloud-android-bot
0fa902d2d2 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-24 20:58:48 +00:00
nextcloud-android-bot
9f3e1857db Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-24 15:17:33 +00:00
Tobias Kaminsky
ed8819ec86
Merge pull request #6327 from nextcloud/combineShare
Combined ShareActivity with FileDetailSharingFragment as much as possible
2020-06-24 10:43:24 +02:00
nextcloud-android-bot
c5abe938bd Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-23 14:30:27 +00:00
tobiasKaminsky
7732ff065b
Combined ShareActivity with FileDetailSharingFragment as much as possible
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-23 10:47:43 +02:00
nextcloud-android-bot
3a28b84e9d Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-19 09:29:38 +00:00
tobiasKaminsky
94d7506cb5
fix after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-19 11:16:34 +02:00
tobiasKaminsky
ab0ea3e8d9
minor changes to build.gradle and fixed type on uploadReport.sh
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-19 11:05:47 +02:00
tobiasKaminsky
5f185326ab
Fixed Lint:
MissingClass: Missing registered class
Range: Outside Range
UseAppTint: app:tint attribute should be used on ImageView
UseCompatLoadingForDrawables
UseCompatTextViewDrawableXml

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-19 11:03:22 +02:00
tobiasKaminsky
a9f689044d
Delete old comments for corresponding type
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-19 11:03:07 +02:00
tobiasKaminsky
f6f401aa0d
change to newer spotbugs
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-19 11:03:07 +02:00
nextcloud-android-bot
8e5f893812 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-06-17 12:12:39 +00:00
tobiasKaminsky
5aeba5e021
enhance uploadReport script
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-10 07:12:36 +02:00
tobiasKaminsky
8cec637c24
manually increase findbugs
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-08 08:43:12 +02:00
tobiasKaminsky
80d83e4721
split up unit&IT tests from screenshot tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-05 08:06:42 +02:00
tobiasKaminsky
d0f3a00637
drone/ updateScreenshot update
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-05 08:06:42 +02:00
tobiasKaminsky
32c7c0560c
Fix avatar tests after changes of UI
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-02 16:12:30 +02:00
tobiasKaminsky
fa8ffa1873
- disabling test_orchestrator
- E2E tests only on NC19+
- fixed Tests

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-26 11:18:58 +02:00
nextcloud-android-bot
a5b0c83f02 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-05-25 11:35:24 +00:00
tobiasKaminsky
df75e35db5
revert findbugs count
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-25 13:26:27 +02:00
nextcloud-android-bot
a87c54effa Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-05-25 09:43:14 +00:00
tobiasKaminsky
5d7610d8b4
Fix failing CI, some tests still might fail, but at least all are executed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-20 18:38:32 +02:00
Tobias Kaminsky
b580352ccc
Merge pull request #6005 from nextcloud/randomE2E
E2E overhaul
2020-05-20 15:27:20 +02:00
tobiasKaminsky
4847d3f2f5
Move CI tasks to github actions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-19 07:41:52 +02:00
nextcloud-android-bot
d7eadbbb19 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-05-18 13:52:30 +00:00
tobiasKaminsky
a2fc279c01
E2E overhaul
- Limit online editing/stream when e2e-encrypted file
- download files in subfolder to correct local folder name
- use httpd/unix-directory for folder in metadata
- set encryption status of subfolder

Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-18 14:02:58 +02:00
Andy Scherzinger
84971d876e
raise lint score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-05-15 10:02:04 +02:00
nextcloud-android-bot
14f841300a Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-05-12 20:56:44 +00:00
nextcloud-android-bot
7084735f5e Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-05-06 13:50:48 +00:00
nextcloud-android-bot
1cf41b93ff Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-05-05 22:08:08 +00:00
nextcloud-android-bot
f22c34e432 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-04-30 00:03:39 +00:00
nextcloud-android-bot
871caae99f Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-04-28 15:55:18 +00:00
tobiasKaminsky
84e72b11a1
Allow local remote servers
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-28 16:08:15 +02:00
nextcloud-android-bot
d6ad8f6c2f Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-04-23 09:52:27 +00:00
David Luhmer
d4bc9b3cf2
refactorings
Drone: update FindBugs results to reflect reduced error/warning count [skip ci]

Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-04-20 15:00:31 +02:00
tobiasKaminsky
3a9d9e8c23
close SSO streams
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-20 15:00:26 +02:00
tobiasKaminsky
464aaded14
increase spotbugs
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-15 19:12:43 +02:00
tobiasKaminsky
45315f1486
Fix OOM during image browsing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-09 10:16:58 +02:00
Andy Scherzinger
2c9b0758e4
Merge pull request #5748 from nextcloud/ezaquarii/remove-deprecated-contacts-backup-job
Remove deprecated contacts backup job
2020-04-08 12:37:45 +02:00
Tobias Kaminsky
92d69de551
Merge pull request #5791 from nextcloud/ignore-changelog-in-changelogs
Ignore CHANGELOG.md while generating changelogs
2020-04-08 07:30:13 +02:00
tobiasKaminsky
c43b234ae4
Rich workspaces: can be null (if disabled), or string (empty or with content)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-07 16:57:40 +02:00
AJ Jordan
d31dd61b1b
Ignore CHANGELOG.md while generating changelogs
I heard you liked changelogs, so I put a changelog in your changelog...
or something. How meta.

Signed-off-by: AJ Jordan <alex@strugee.net>
2020-04-01 20:00:15 -04:00
nextcloud-android-bot
9fa46b0b48 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-03-26 19:17:48 +00:00
nextcloud-android-bot
18cdde1acd Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-03-23 06:55:36 +00:00
tobiasKaminsky
25b8886ba2
manually increase lint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-19 19:12:36 +01:00
tobiasKaminsky
7eb0f66079
Add circle support for searching / displaying
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-19 19:12:23 +01:00
nextcloud-android-bot
b34bf03551 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-03-19 13:17:48 +00:00
Andy Scherzinger
0925f54d84
Merge pull request #5598 from nextcloud/changelog-ancestry-fix
Fix the dev edition changelog excluding stuff
2020-03-12 08:38:37 +01:00
tobiasKaminsky
9ead4432e8
manually increase spotbug/lint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-10 09:21:00 +01:00
AJ Jordan
9686d38f95
Expand paths to ignore for dev edition changelogs 2020-03-06 21:34:22 -05:00
AJ Jordan
a712d61386
Fix commits missing from dev edition changelogs
Ref #5525

Signed-off-by: AJ Jordan <alex@strugee.net>
2020-03-06 21:34:17 -05:00
Andy Scherzinger
11aa3e1575
master is at 94 lint warnings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-03-06 11:10:30 +01:00
Tobias Kaminsky
2061207e25
Merge pull request #5531 from nextcloud/fix/AS36
Update to Android Studio 3.6
2020-03-05 09:58:46 +01:00
Tobias Kaminsky
c00b13df12
Merge pull request #5491 from nextcloud/conflictDialog
Enhance conflict dialog
2020-03-05 08:40:07 +01:00
tobiasKaminsky
185123c58f
update dev changelog recognition for updating library
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-04 07:40:33 +01:00
tobiasKaminsky
ae08a42f8a
Enhance conflict dialog
- fix bug
- add ui tests
- add instrumented tests

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-03 10:31:03 +01:00
Tobias Kaminsky
3dde163c70
Merge pull request #5496 from nextcloud/fix/5232
properly colorize text preview gradient based on theme (day/night)
2020-03-03 09:44:37 +01:00
Andy Scherzinger
b9df3de466
use app namespace instead of android
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-03-03 09:39:47 +01:00
Andy Scherzinger
e5e4973c60
Update to AS 3.6.1
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-03-03 09:39:14 +01:00
tobiasKaminsky
b9ea5d44ba
switch back to light mode after test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-03 08:52:32 +01:00
tobiasKaminsky
d8ada799f3
fix dev lib replacement
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-03 07:22:49 +01:00
tobiasKaminsky
391a9fe8e3
dev: change library before building
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-02 16:15:42 +01:00
Tobias Kaminsky
6d6d8898cd
Merge pull request #5530 from nextcloud/better-dev-changelogs
Improve dev edition changelog generation
2020-03-02 16:13:21 +01:00
nextcloud-android-bot
059eb9176c Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-03-02 08:32:04 +00:00
AJ Jordan
a6c95934cf
Improve dev edition changelog generation
We:

* No longer include commit ids
* Exclude merges, individual Dependabot commits, commits including only
  non-user-facing changes, or version bump commits
* Collapse all Dependabot commits into a single "Update dependencies"
  changelog entry
* Do the same for Transifex updates, which get turned into a single
  "Update translations" changelog entry
* Say if the Android Nextcloud library has changed instead of including
  its commit id

The list of paths to ignore is probably incomplete, but it's easier to
just revisit this script over time and add to it as new contenders pop
up, rather than trying to find everything now.

Fixes #5525

Signed-off-by: AJ Jordan <alex@strugee.net>
2020-02-27 10:04:34 -05:00
tobiasKaminsky
ecd5379646
Add screenshot tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-21 19:40:43 +01:00
nextcloud-android-bot
ac6a64b672 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-02-20 02:25:48 +00:00
Alice Gaudon
49f3a67251
ConflictsResolveActivity: code style and readability improvements
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-18 07:39:13 +01:00