Commit graph

18947 commits

Author SHA1 Message Date
tobiasKaminsky
92d3f08f6a
Setting token permissions to read-only follows the principle of least privilege.
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-13 14:23:55 +02:00
Tobias Kaminsky
fcbbd45ec7
Merge pull request #10379 from nextcloud/repo-sync/android-common/master
🔄 Synced file(s) with nextcloud/android-common
2022-06-13 13:40:44 +02:00
Álvaro Brey
e2ea977288 Lower detekt maxIssues to 0
Finally no more issues!

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-13 10:51:38 +00:00
Álvaro Brey
43215a0833 FileDetailsSharingProcessFragment: clean up last detekt issues
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-13 10:51:38 +00:00
Álvaro Brey
29bf03a4e4
Merge pull request #10376 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2022-06-13 12:27:17 +02:00
Álvaro Brey
1917729598
Remove duplicated codeql analysis workflow
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-13 12:06:42 +02:00
nextcloud-android-bot
aa40ba3d5c 🔄 Synced local '.github/workflows/' with remote 'config/workflows/' 2022-06-13 10:03:55 +00:00
Álvaro Brey
e9c30584a7
runCombinedTest: remove leftover debug flags
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-13 12:00:44 +02:00
Nextcloud bot
c56ccc8363
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-12 04:18:20 +00:00
Nextcloud bot
14ca116b86 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-11 15:15:00 +00:00
Álvaro Brey
22deea9e4f
Upload logcat on failing master-IT builds
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-10 16:29:57 +02:00
Álvaro Brey
d432c8e46f
Merge pull request #10359 from nextcloud/enterCreatedFolder
When copy/move a file and creating a new folder we now go directly into this freshly created folder
2022-06-10 15:58:52 +02:00
Álvaro Brey
0f8a5b1bf3
Merge pull request #10353 from nextcloud/fix/invalid-folder-no-mediascan
FileDataStorageManager: don't add files to media scan in android 11+
2022-06-10 15:56:40 +02:00
Álvaro Brey
ede4790927
Merge pull request #10352 from nextcloud/fix/oob-gallery-scroll
GalleryFastScrollViewHelper: fix index out of bounds in getScrollOffset
2022-06-10 13:59:59 +02:00
tobiasKaminsky
ffdb26b4be
move md5 function to tests, as md5 should never be used is production
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-10 07:57:44 +02:00
Tobias Kaminsky
8b79aa17f4
Merge pull request #10364 from nextcloud/changelog-master-stable-3.20.2
Add changelog for 3.20.2
2022-06-10 07:10:52 +02:00
Tobias Kaminsky
c8e720a4d9
Merge pull request #9356 from nextcloud/tobiasKaminsky-patch-2
Create codeql-analysis.yml
2022-06-10 06:51:53 +02:00
tobiasKaminsky
d536b9fea7
Add changelog for 3.20.2
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-09 15:55:26 +02:00
Tobias Kaminsky
451694d0fb
Update .github/workflows/codeql-analysis.yml
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-09 12:48:30 +02:00
Álvaro Brey
e644b12aee
Merge pull request #10355 from nextcloud/fix/synced-folders-adapter-performance
SyncedFoldersActivity: don't refresh entire adapter when toggling a folder from dialog
2022-06-09 11:44:07 +02:00
Álvaro Brey Vilas
b94c776d6e CodeQL: format file and remove extra comments
[skip ci]

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-06-09 08:35:21 +00:00
Álvaro Brey Vilas
81d8cafa02 CodeQL: setup JDK for build
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-06-09 08:35:21 +00:00
Álvaro Brey Vilas
9bc615a287 CodeQL: do not use autobuild
Fails for android projects

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-06-09 08:35:21 +00:00
Tobias Kaminsky
51dc293fab Update codeql-analysis.yml 2022-06-09 08:35:21 +00:00
Tobias Kaminsky
9684b0172d Create codeql-analysis.yml 2022-06-09 08:35:21 +00:00
Tobias Kaminsky
266e45b098
Merge pull request #10343 from nextcloud/fix/community-report
Use different link for automated bugreport and manual report
2022-06-09 09:50:52 +02:00
tobiasKaminsky
67cb25a603
When copy/move a file and creating a new folder we now go directly into this freshly created folder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-09 09:12:32 +02:00
Nextcloud bot
5538a5e734
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-09 04:22:28 +00: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
Álvaro Brey
fb4eaf11ff
SyncedFoldersActivity: don't refresh entire adapter when toggling a folder from dialog
It's enough to refresh its header, and it doesn't have to refresh all pictures

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-08 16:54:20 +02:00
Álvaro Brey
affe52e49a
Merge pull request #10315 from nextcloud/dependabot/gradle/com.google.android.material-material-1.6.1
Bump material from 1.6.0 to 1.6.1
2022-06-08 13:18:22 +02:00
Álvaro Brey
306bcb09ef
Merge pull request #10348 from nextcloud/file-uploader-downloader-migration-to-user
Migrate some FileUploader and FileDownloader APIs to User
2022-06-08 09:38:50 +02:00
Nextcloud bot
f6bb42141e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-08 04:24:38 +00:00
dependabot[bot]
4d0db55318
Bump material from 1.6.0 to 1.6.1
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.0...1.6.1)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-08 01:05:20 +00:00
Chris Narkiewicz
1d81a705bf
Migrate some FileUploader and FileDownloader APIs to User
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2022-06-07 20:56:43 +01:00
Álvaro Brey
c9933d558e
FileDataStorageManager: don't add files to media scan in android 11+
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-07 10:20:17 +02:00
Álvaro Brey
301d9ae9a9
GalleryFastScrollViewHelper: fix index out of bounds in getScrollOffset
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-07 10:03:12 +02:00
Álvaro Brey
5944bfabdd
Merge pull request #10209 from nextcloud/migrate-remote-operation-execute-to-user
Migrate RemoteOperation.execute calls to User
2022-06-06 13:10:37 +02:00
Álvaro Brey
6f6bed084c
Use different link for automated bugreport and manual report
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-06 10:02:55 +02:00
Nextcloud bot
721f63971a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-06 04:25:53 +00:00
Chris Narkiewicz
35e164fa2d
Migrate RemoteOperation.execute calls to User
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2022-06-04 23:59:50 +01:00
Nextcloud bot
bd5a99a10e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-04 04:22:45 +00:00
Álvaro Brey
5a3ad05b0e
Merge pull request #10328 from nextcloud/dependabot/gradle/mockitoVersion-4.6.1
Bump mockitoVersion from 4.6.0 to 4.6.1
2022-06-03 13:55:00 +02:00
Álvaro Brey
03964f4342
Merge pull request #10319 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.4.2
Bump appcompat from 1.4.1 to 1.4.2
2022-06-03 09:56:00 +02:00
Tobias Kaminsky
3fd8928327
Merge pull request #10307 from nextcloud/fix/choosetemplate-button-nullpointer
Fix NPE in ChooseTemplateDialogFragment
2022-06-03 07:29:32 +02:00
Álvaro Brey
4011fa7b7d
Exclude all activities except AuthenticatorActivity from security key listener (#10311)
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-03 07:28:27 +02:00
dependabot[bot]
cfc34942b0
Bump mockitoVersion from 4.6.0 to 4.6.1
Bumps `mockitoVersion` from 4.6.0 to 4.6.1.

Updates `mockito-core` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.0...v4.6.1)

Updates `mockito-android` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.0...v4.6.1)

---
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] <support@github.com>
2022-06-03 04:44:13 +00:00
dependabot[bot]
bddbc4ff9d
Bump appcompat from 1.4.1 to 1.4.2
Bumps appcompat from 1.4.1 to 1.4.2.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 01:06:48 +00:00
Álvaro Brey
f6f8b91d25
Merge pull request #10317 from nextcloud/chore/remove-powermock
build: Remove powermock
2022-06-01 12:56:32 +02:00
Álvaro Brey
5b85fb95d6
build: Remove powermock
Unused, bad practice, and incompatible with mockito 4 anyway.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-01 11:15:01 +02:00