Commit graph

551 commits

Author SHA1 Message Date
tobiasKaminsky
029b290a31
Close FOS
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-13 08:46:26 +02:00
Álvaro Brey
64d8b0e667
Merge pull request #10784 from nextcloud/chore/spotless
Use Spotless for ktlint
2022-10-10 14:11:16 +02:00
Álvaro Brey
89ddbd467c
Merge pull request #10718 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.12
Bump spotbugs-gradle-plugin from 5.0.11 to 5.0.12
2022-10-07 17:55:56 +02:00
Álvaro Brey
b463c04d36
Suppress detekt issue brought up by reformatting:
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:50:33 +02:00
Álvaro Brey
41a3a06a53
Fix previously undetected ktlint issues
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:49:23 +02:00
Álvaro Brey
11d665d972
build: Fix ktlint call in check task
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:49:05 +02:00
Álvaro Brey
13d4aed502
Move installGitHooks task to root project and fix target dir
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:44:52 +02:00
Álvaro Brey
0d646233b0
Replace ktlint plugin with Spotless
The original plugin did not check all sourcesets :(

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:42:29 +02:00
dependabot[bot]
5a9d4fca05
Bump exifinterface from 1.3.3 to 1.3.4
Bumps exifinterface from 1.3.3 to 1.3.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-06 01:09:04 +00:00
Álvaro Brey
9514b33e24
Merge pull request #10768 from nextcloud/dependabot/gradle/org.bouncycastle-bcpkix-jdk15to18-1.72
Bump bcpkix-jdk15to18 from 1.70 to 1.72
2022-09-30 11:33:15 +02:00
Álvaro Brey
e9c1013298
Merge pull request #10767 from nextcloud/dependabot/gradle/mockkVersion-1.13.2
Bump mockkVersion from 1.12.5 to 1.13.2
2022-09-30 10:42:27 +02:00
Álvaro Brey
934d7ae20f
Merge pull request #10765 from nextcloud/dependabot/gradle/org.json-json-20220924
Bump json from 20220320 to 20220924
2022-09-30 10:33:55 +02:00
Álvaro Brey
6c217cffa6
Update packagingOptions
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-30 10:00:24 +02:00
Nextcloud bot
6033c19df4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-30 05:46:13 +00:00
Nextcloud bot
e2c149cbe6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-29 04:36:51 +00:00
dependabot[bot]
4d700100c2
Bump bcpkix-jdk15to18 from 1.70 to 1.72
Bumps [bcpkix-jdk15to18](https://github.com/bcgit/bc-java) from 1.70 to 1.72.
- [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] <support@github.com>
2022-09-29 01:05:19 +00:00
Álvaro Brey
4bc0e24efd
Merge pull request #10760 from nextcloud/fix/9887
TextDrawable: handle spaces at start/end of displayNames
2022-09-28 10:50:38 +02:00
dependabot[bot]
72cc925a51
Bump json from 20220320 to 20220924
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20220320 to 20220924.
- [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] <support@github.com>
2022-09-26 01:33:40 +00:00
Nextcloud bot
89a0ff5b5a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-24 04:33:26 +00:00
Álvaro Brey
43bf5b982a
TextDrawable: handle spaces at start/end of displayNames
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-23 17:13:15 +02:00
Álvaro Brey
d515d34811
Merge pull request #10759 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.3
Bump fragment-ktx from 1.5.2 to 1.5.3
2022-09-23 12:33:35 +02:00
dependabot[bot]
0d65e83353
Bump spotbugs-gradle-plugin from 5.0.11 to 5.0.12
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.11 to 5.0.12.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.11...5.0.12)

---
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] <support@github.com>
2022-09-23 09:36:05 +00:00
Álvaro Brey
825ebd0bc6
Merge pull request #10753 from nextcloud/dependabot/gradle/androidx.annotation-annotation-1.5.0
Bump annotation from 1.4.0 to 1.5.0
2022-09-23 11:31:57 +02:00
dependabot[bot]
92c07102f7
Bump fragment-ktx from 1.5.2 to 1.5.3
Bumps fragment-ktx from 1.5.2 to 1.5.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 09:26:33 +00:00
Álvaro Brey
45bcd5e33a PassCodeManager: fix compilation error with kotlin 1.7.10
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-23 09:21:40 +02:00
Nextcloud bot
ac332e96ce
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-23 04:29:28 +00:00
Nextcloud bot
969f3471d4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-22 04:32:53 +00:00
dependabot[bot]
a9e2037983
Bump annotation from 1.4.0 to 1.5.0
Bumps annotation from 1.4.0 to 1.5.0.

---
updated-dependencies:
- dependency-name: androidx.annotation:annotation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 01:15:43 +00:00
Tobias Kaminsky
3490fb66a6
Merge pull request #10745 from Sandelinos/themed-icons
Add monochrome icon
2022-09-20 11:56:06 +02:00
Nextcloud bot
4cb1d94a7e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-20 04:31:51 +00:00
Tobias Kaminsky
7f621159ee
Merge pull request #10705 from nextcloud/test/disable-backup
AndroidManifest: disable backup&restore
2022-09-19 07:24:16 +02:00
Sandelinos
1da8117902 Add monochrome icon
Signed-off-by: Sandelinos <3103376-Sandelinos@users.noreply.gitlab.com>
2022-09-18 20:07:54 +03:00
Álvaro Brey
25234fdb85
Rollback emoji-google to 0.9.0
New version is not compatible with Jacoco for some reason

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 16:36:52 +02:00
Álvaro Brey
f8d53218da AndroidManifest: disable backup&restore
Currently broken

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 12:21:13 +02:00
Álvaro Brey
9a0848e486
Move package declarations to build.gradle
Requested by AGP upgrade and also is crashing test builds

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 11:52:22 +02:00
Álvaro Brey
07aedfd888
Solve new lint warnings with AGP 7.3.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 11:52:22 +02:00
dependabot[bot]
b448e08985
Bump gradle from 7.1.3 to 7.3.0
Bumps gradle from 7.1.3 to 7.3.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 11:52:21 +02:00
Nextcloud bot
5c538146d6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-16 04:23:25 +00:00
Nextcloud bot
ddd87c5168
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-15 04:30:55 +00:00
Nextcloud bot
fe291eb973
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-14 04:22:50 +00:00
Nextcloud bot
2bc22fd76c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-13 04:26:49 +00:00
Nextcloud bot
56cf6bc531
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-11 04:29:41 +00:00
Nextcloud bot
515f2c3b72
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-10 04:32:40 +00:00
Nextcloud bot
297da371d7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-07 04:28:25 +00:00
Álvaro Brey
35878574df
Merge pull request #10706 from nextcloud/fix/delete-image-crash
PreviewImageFragment: prevent crash when redrawing menu after file deletion
2022-09-06 09:03:21 +02:00
dependabot[bot]
9ac17e7c17
Bump spotbugs-gradle-plugin from 5.0.10 to 5.0.11
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.10 to 5.0.11.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.10...5.0.11)

---
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] <support@github.com>
2022-09-05 12:35:51 +00:00
Nextcloud bot
ba0b7af6ce
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-03 04:27:10 +00:00
Álvaro Brey
37a9c438cd
PreviewImageFragment: prevent crash when redrawing menu after file deletion
For some reason this is called again after deleting the file (probably a fragment-ktx update or something).
However at this point getFileById will return null and crash the rest of the method.

This adds some checks to prevent that.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-02 16:25:15 +02:00
Álvaro Brey
c962476d90
Merge pull request #10703 from nextcloud/addAccount
Restart account creation with AuthenticatorActivity, which helps to add account in restricted profiles, e.g. MDM or Samsung second users
2022-09-02 12:21:21 +02:00
tobiasKaminsky
a6dcf263aa
Restart account creation with AuthenticatorActivity, which helps to add account in restricted profiles, e.g. MDM or Samsung second users
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-09-02 11:10:45 +02:00