Commit graph

8196 commits

Author SHA1 Message Date
Andy Scherzinger
ae9c092997
ktlint: A comment in a 'value_argument_list' is only allowed when placed on a separate line
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:29:33 +01:00
Andy Scherzinger
f2da9b93de
ktlint: First line of body expression fits on same line as function signature
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:28:49 +01:00
Andy Scherzinger
88970c59a5
ktlint: Newline expected before expression body
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:26:33 +01:00
Marcel Hibbe
6ac9fa5fff
avoid error when declining recording consent
When declining recording consent, 404 might be returned when leaving the call (because the call was not joined before).
It might not be the best option to handle this via onError, but for the moment (18.0.0 release) it's the most robust/lowest-risk solution without to change some state handling to check if the call was joined).
finish was added which makes sense anyway, but for declining recording consent the error snackbar was removed.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-12-05 16:20:28 +01:00
Andy Scherzinger
627e9d5c20
ktlint: No whitespace expected between opening parenthesis and first parameter name
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:17:31 +01:00
Andy Scherzinger
f2b86a9d86
ktlint: Enum entry should start on a separate line
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:01:00 +01:00
Andy Scherzinger
3a6e18c07e
reformat test code for latest ktlint release
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 15:37:47 +01:00
Andy Scherzinger
cc559d9d75
adapt editorconfig to latest ktlint release
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 15:37:26 +01:00
Andy Scherzinger
cc40db041d
add new ktlint config params
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 12:58:27 +01:00
dependabot[bot]
794fdb017f
Build(deps): Bump org.jlleitschuh.gradle:ktlint-gradle
Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.6.1 to 12.0.2.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle:ktlint-gradle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-05 12:58:17 +01:00
Andy Scherzinger
5cfc7a7af0
Merge pull request #3501 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.0.2
Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 6.0.1 to 6.0.2
2023-12-05 07:47:13 +01:00
Nextcloud bot
d1247a6f6c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-05 02:42:10 +00:00
Nextcloud bot
327927a7d0
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-05 02:41:49 +00:00
dependabot[bot]
2c0b3fec55
Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin
Bumps [com.github.spotbugs.snom:spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/6.0.1...6.0.2)

---
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>
2023-12-05 02:34:34 +00:00
Andy Scherzinger
b415527710
Merge pull request #3500 from nextcloud/dependabot/github_actions/actions/setup-java-4.0.0
Build(deps): Bump actions/setup-java from 3.13.0 to 4.0.0
2023-12-05 00:33:20 +01:00
dependabot[bot]
f7fef5a972
Build(deps): Bump actions/setup-java from 3.13.0 to 4.0.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.13.0 to 4.0.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.13.0...387ac29b308b003ca37ba93a6cab5eb57c8f5f93)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 23:11:39 +00:00
Andy Scherzinger
aaf8c6b310
Merge pull request #3493 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.0.1
Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 5.2.5 to 6.0.1
2023-12-04 10:05:59 +01:00
Andy Scherzinger
4201ab525e
Merge pull request #3497 from nextcloud/dependabot/gradle/org.mockito-mockito-core-5.8.0
Build(deps): Bump org.mockito:mockito-core from 5.7.0 to 5.8.0
2023-12-04 10:04:03 +01:00
Andy Scherzinger
21e6823383
update syntax to snom 6
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-04 09:47:52 +01:00
dependabot[bot]
ee84703c94
Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin
Bumps [com.github.spotbugs.snom:spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.2.5 to 6.0.1.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.2.5...6.0.1)

---
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] <support@github.com>
2023-12-04 09:34:49 +01:00
dependabot[bot]
1342fc4ff6
Build(deps): Bump org.mockito:mockito-android from 5.7.0 to 5.8.0
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.7.0...v5.8.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 09:26:05 +01:00
dependabot[bot]
48bb7426e0
Build(deps): Bump org.mockito:mockito-core from 5.7.0 to 5.8.0
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.7.0...v5.8.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 09:19:10 +01:00
Andy Scherzinger
d523b8212a
Merge pull request #3494 from nextcloud/dependabot/gradle/com.mebigfatguy.fb-contrib-fb-contrib-7.6.3
Build(deps): Bump com.mebigfatguy.fb-contrib:fb-contrib from 7.6.2 to 7.6.3
2023-12-04 07:48:24 +01:00
Nextcloud Android Bot
a828dce27e Weekly 18.1.0 Alpha 03 2023-12-04 03:15:06 +00:00
dependabot[bot]
338028121b
Build(deps): Bump daggerVersion from 2.48.1 to 2.49
Bumps `daggerVersion` from 2.48.1 to 2.49.

Updates `com.google.dagger:dagger` from 2.48.1 to 2.49
- [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.48.1...dagger-2.49)

Updates `com.google.dagger:dagger-compiler` from 2.48.1 to 2.49
- [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.48.1...dagger-2.49)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  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
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 02:47:33 +00:00
dependabot[bot]
ca2e633739
Build(deps): Bump com.mebigfatguy.fb-contrib:fb-contrib
Bumps [com.mebigfatguy.fb-contrib:fb-contrib](https://github.com/mebigfatguy/fb-contrib) from 7.6.2 to 7.6.3.
- [Commits](https://github.com/mebigfatguy/fb-contrib/compare/v7.6.2...v7.6.3)

---
updated-dependencies:
- dependency-name: com.mebigfatguy.fb-contrib:fb-contrib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 02:47:24 +00:00
Nextcloud bot
e88ac62efa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-04 02:37:19 +00:00
Nextcloud bot
6980b68fee
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-04 02:37:00 +00:00
Nextcloud bot
d05a151e63
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-03 02:44:15 +00:00
Nextcloud bot
145333de47
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-03 02:43:56 +00:00
Nextcloud bot
ba8c5f79e7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-02 02:57:17 +00:00
Nextcloud bot
7be0c3a7d5
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-02 02:56:54 +00:00
Andy Scherzinger
fc6b50a2a1
Merge pull request #3478 from nextcloud/dependabot/gradle/workVersion-2.9.0
Build(deps): Bump workVersion from 2.8.1 to 2.9.0
2023-12-01 17:01:13 +01:00
dependabot[bot]
adb86a1a04
Build(deps): Bump workVersion from 2.8.1 to 2.9.0
Bumps `workVersion` from 2.8.1 to 2.9.0.

Updates `androidx.work:work-runtime` from 2.8.1 to 2.9.0

Updates `androidx.work:work-rxjava2` from 2.8.1 to 2.9.0

Updates `androidx.work:work-testing` from 2.8.1 to 2.9.0

---
updated-dependencies:
- dependency-name: androidx.work:work-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.work:work-rxjava2
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.work:work-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 16:52:51 +01:00
Andy Scherzinger
30e13435f3
Merge pull request #3486 from nextcloud/dependabot/gradle/org.jetbrains.kotlinx-kotlinx-serialization-json-1.6.2
Build(deps): Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.6.1 to 1.6.2
2023-12-01 16:51:47 +01:00
Andy Scherzinger
9dcd77eaff
Merge pull request #3477 from nextcloud/dependabot/gradle/roomVersion-2.6.1
Build(deps): Bump roomVersion from 2.6.0 to 2.6.1
2023-12-01 16:43:04 +01:00
Andy Scherzinger
7411a037f6
Merge pull request #3487 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-8.2.0
Build(deps): Bump com.android.tools.build:gradle from 8.1.4 to 8.2.0
2023-12-01 15:50:26 +01:00
Andy Scherzinger
ee1a485b05
Update lint-results.txt
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-01 14:56:23 +01:00
Andy Scherzinger
490f2ce135
Update gradle-wrapper to 8.2
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-01 14:56:03 +01:00
dependabot[bot]
bf6709703f
Build(deps): Bump com.android.tools.build:gradle from 8.1.4 to 8.2.0
Bumps com.android.tools.build:gradle from 8.1.4 to 8.2.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>
2023-12-01 14:55:59 +01:00
Marcel Hibbe
e86599e817
Merge pull request #3485 from nextcloud/bugfix/noid/inviniteLoadingAfterLogin
Add fixes and changes to push handling
2023-12-01 14:14:36 +01:00
github-actions
173582ad0e
Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2023-12-01 13:35:53 +01:00
Marcel Hibbe
119310ecc7
Add fixes and changes to push handling
- Fix injection in GetFirebasePushTokenWorker.
injection was not setup correctly in GetFirebasePushTokenWorker so the appPreferences were null. This resulted in the invinite loading screen during account setup if somehow onNewToken did not set the token.

- avoid to register push on every load of ConversationList.

- call GetFirebasePushTokenWorker instead of PushRegistrationWorker to make sure the firebase token is set(if onNewToken somehow fails to set it). Other than that, only call PushRegistrationWorker directly in NCFirebaseMessagingService as there the token is set.

- add logging

- trigger GetFirebasePushTokenWorker daily with periodical worker (instead monthly), and combine this with PushRegistrationWorker as this is defined inside GetFirebasePushTokenWorker

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-12-01 13:35:53 +01:00
Marcel Hibbe
a8cacf1957
Merge pull request #3484 from nextcloud/issue-3473-saving-webinar-settings
Saving Webinar Settings
2023-12-01 13:33:16 +01:00
Julius Linus
1efa14ebae
Fix wrong url for webinar. Add logging+snackbar for onError
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-12-01 13:31:53 +01:00
Andy Scherzinger
95b8ef3371
Merge pull request #3488 from nextcloud/dependabot/gradle/com.mebigfatguy.fb-contrib-fb-contrib-7.6.2
Build(deps): Bump com.mebigfatguy.fb-contrib:fb-contrib from 7.6.1 to 7.6.2
2023-12-01 07:52:41 +01:00
dependabot[bot]
f4508c23d8
Build(deps): Bump com.mebigfatguy.fb-contrib:fb-contrib
Bumps [com.mebigfatguy.fb-contrib:fb-contrib](https://github.com/mebigfatguy/fb-contrib) from 7.6.1 to 7.6.2.
- [Commits](https://github.com/mebigfatguy/fb-contrib/compare/v7.6.1...v7.6.2)

---
updated-dependencies:
- dependency-name: com.mebigfatguy.fb-contrib:fb-contrib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 02:56:25 +00:00
dependabot[bot]
a74e699cf0
Build(deps): Bump org.jetbrains.kotlinx:kotlinx-serialization-json
Bumps [org.jetbrains.kotlinx:kotlinx-serialization-json](https://github.com/Kotlin/kotlinx.serialization) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Kotlin/kotlinx.serialization/compare/v1.6.1...v1.6.2)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 02:56:16 +00:00
Nextcloud bot
ee105ee68b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-01 02:39:57 +00:00
Nextcloud bot
b23f8e0288
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-01 02:39:38 +00:00