Commit graph

389 commits

Author SHA1 Message Date
github-actions
4102d45a83
Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2022-10-14 11:28:45 +02:00
Álvaro Brey
7fb3c6f2ed
Remove detectNewJavaFiles script
Now built into the workflow

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-30 09:44:36 +02:00
github-actions
bf0a884e54 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2022-06-08 15:35:45 +00:00
nextcloud-android-bot
89c712d39c Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-06-01 07:28:17 +00:00
Álvaro Brey
f54d234626
Merge pull request #10279 from nextcloud/chore/analysis-github-token
workflows/analysis: Use GITHUB_TOKEN instead of GIT_TOKEN, and some cleanup
2022-05-31 10:07:03 +02:00
Álvaro Brey
96ee2ee661
Fix spotbugs not failing builds when count increases
spotbugs-up now needs base branch, not target branch

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 09:32:15 +02:00
nextcloud-android-bot
1ea61c6fe6 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-29 15:07:40 +00:00
nextcloud-android-bot
e2c3091fc0 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas
7073746309
Use defusedxml for xml parsing instead of etree
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 11:03:59 +02:00
Álvaro Brey Vilas
6eff01d735
Fix some codacy warnings
- Quote some strings in analysis-wrapper
 - Cleanup unneeded checks in spotbugs-up

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 10:53:30 +02:00
Álvaro Brey Vilas
3879d90eec Ditch findbugs-results.txt: use the stable branch XML as single source of truth
Poor man's baseline

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 08:07:32 +00:00
Álvaro Brey Vilas
21a432dc9e Generate spotbugs summary from xml
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 08:07:32 +00:00
nextcloud-android-bot
d1a3b415d8 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-19 12:40:36 +00:00
nextcloud-android-bot
997e4c736c Analysis: update Spotbugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-18 17:22:02 +00:00
nextcloud-android-bot
eddbe5ef28 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-18 17:20:49 +00:00
nextcloud-android-bot
e47f97b07e
Analysis: update Spotbugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-13 10:20:07 +02:00
Tobias Kaminsky
31dda2e0fb
Merge pull request #9985 from nextcloud/fastscrollWithLib
Fastscroll for all lists
2022-04-13 08:30:03 +02:00
nextcloud-android-bot
c8cf7bbfe7 Analysis: update Spotbugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-12 07:23:20 +00:00
tobiasKaminsky
7817a3b8d5
Let us no longer create java files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-08 10:17:44 +02:00
nextcloud-android-bot
a64986e2e3
Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas
91c46090e8
Increase findbugs-results.txt
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-14 14:09:57 +01:00
Álvaro Brey Vilas
a860761144
Increase lint and spotbugs
Lint is expected, spotbugs is false positive

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 13:22:52 +01:00
Álvaro Brey Vilas
dd4085cf96
Fix analysis script for new project structure
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:12:47 +01:00
tobiasKaminsky
e32de23933
fix qa
fix lint
fix uploadArtifact.sh

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-11 11:11:43 +01:00
Álvaro Brey Vilas
b4c241cef9
Update analysis.yml
Analysis: don't add "skip ci" to drone commit messages

Messes up Github Actions and doesn't work on Drone anyway

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>

analysis: Fix commiter name and email

Not drone anymore

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-09 15:02:44 +01:00
nextcloud-android-bot
3f61f6767f Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-03-09 09:34:24 +00:00
Álvaro Brey
4a621176a4
Merge pull request #9922 from nextcloud/syncedfolders-async
SyncedFoldersActivity: asynchronous loading
2022-03-09 10:01:20 +01:00
Álvaro Brey Vilas
2a8123210a
Analysis scripts: fix push
I am TIRED of fighting with this scripts and Github actions

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-08 13:16:53 +01:00
nextcloud-android-bot
0a97b9b797
Drone: update FindBugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-03-04 17:50:11 +01:00
nextcloud-android-bot
0ad73f845d
Drone: update Lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-03-04 17:49:54 +01:00
Unpublished
3c002fa0c3
Allow EditorWebView accessing URLs with custom certificate
Signed-off-by: Unpublished <unpublished@users.noreply.github.com>

Drone: update Lint results to reflect reduced error/warning count

Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>

Drone: update FindBugs results to reflect reduced error/warning count

Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-03-01 16:26:37 +01:00
nextcloud-android-bot
a990e6c2c8 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-02-25 13:54:05 +00:00
nextcloud-android-bot
99854accf6 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-02-25 12:49:47 +00:00
nextcloud-android-bot
2854b72f77 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-02-21 16:47:54 +00:00
nextcloud-android-bot
28e8c0d1ad Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-02-21 16:46:46 +00:00
Unpublished
2bd0bf0f14 Update findbugs-results.txt
Signed-off-by: Unpublished <unpublished@users.noreply.github.com>
2022-02-20 13:22:48 +01:00
nextcloud-android-bot
905b21e04a
Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-02-14 07:35:51 +01:00
tobiasKaminsky
ebf59510fc remove gplay.gradle, use gplayImplementation instead
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-01-27 12:15:37 +00:00
Álvaro Brey Vilas
96c55a6d9f
FileSortOrder*: convert to Kotlin
Need more kotlin in the codebase and these were simple enough

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-27 09:49:07 +01:00
nextcloud-android-bot
d51268d7b8
Drone: update FindBugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-01-26 14:09:47 +01:00
nextcloud-android-bot
af2059660f Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <drone@nextcloud.com>
2022-01-26 12:08:19 +00:00
Álvaro Brey Vilas
494cceab8e
Analysis: fix checkout and commit generation
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-26 12:54:24 +01:00
Álvaro Brey Vilas
9fa63c7547
Run analysis workflow in github actions
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-13 09:29:43 +01:00
Álvaro Brey
9433e2968e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Álvaro Brey <drone@nextcloud.com>
2021-12-22 08:51:21 +00:00
Álvaro Brey Vilas
3775e13b5c
Increase lint due to dependencies
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 18:50:46 +01:00
Álvaro Brey Vilas
f81779285e Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: Álvaro Brey Vilas <drone@nextcloud.com>
2021-12-10 13:05:22 +00:00
Álvaro Brey Vilas
3b023e9be5
Update analysis results
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-10 13:08:06 +01:00
Álvaro Brey Vilas
d84d82b176 Increase findbugs
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-01 10:47:22 +01:00
Álvaro Brey Vilas
8f6c7fe4d9
Increase findbugs result
Was missing in a previous PR

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-26 11:02:55 +01:00
Álvaro Brey Vilas
815e946adc
Increase spotbugs result due to new spotbugs version
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-25 09:19:13 +01:00
Álvaro Brey Vilas
be54fa0bce
Update spotbugs results
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:56:04 +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 <alvaro.brey@nextcloud.com>
2021-11-05 16:12:05 +01:00
tobiasKaminsky
3823eccfe6
AccountManagerService needs to be exported
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-27 08:49:05 +02:00
drone
05d98ccc4b Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
2021-10-26 06:02:19 +00:00
drone
16b37bcc05
Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 16:06:17 +02:00
tobiasKaminsky
042c413569
Calendar backup/import
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 13:02:12 +02:00
drone
8b53b54d48 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
2021-10-25 06:02:10 +00: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
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
Á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
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
Timo Triebensky
5e6e3d4800
Merge branch 'master' into add-sso-patch-method 2021-09-21 11:39:25 +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
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
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
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
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
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
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
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
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
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
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
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
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
0b8cf615e6
fix lint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-29 20:28:47 +01:00