Commit graph

8291 commits

Author SHA1 Message Date
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
Marcel Hibbe
9f463f32ac
Merge pull request #3482 from nextcloud/bugfix/fixCrashWhenNcNotificationFailed
avoid crash when NC notification could not be retrieved
2023-11-30 11:47:58 +01:00
Marcel Hibbe
cc6f3fff9a
avoid crash when NC notification could not be retrieved
crash:

              E  Failed to get NC notification
                                                                                                    retrofit2.adapter.rxjava2.HttpException: HTTP 404
                                                                                                    	at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:57)
                                                                                                    	at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:38)
                                                                                                    	at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:48)
                                                                                                    	at io.reactivex.Observable.subscribe(Observable.java:12284)
                                                                                                    	at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:35)
                                                                                                    	at io.reactivex.Observable.subscribe(Observable.java:12284)
                                                                                                    	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
                                                                                                    	at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:608)
                                                                                                    	at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
                                                                                                    	at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
                                                                                                    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                                                                                                    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
                                                                                                    	at java.lang.Thread.run(Thread.java:919)
2023-11-30 10:48:11.049  5352-5597  WM-WorkerWrapper        com.nextcloud.talk2                  I  Worker result SUCCESS for Work [ id=f899eadb-9fd0-4bdf-8cdf-a1ea4a1aa11b, tags={ com.nextcloud.talk.jobs.NotificationWorker } ]
2023-11-30 10:48:11.056  5352-5352  AndroidRuntime          com.nextcloud.talk2                  D  Shutting down VM
2023-11-30 10:48:11.058  5352-5352  AndroidRuntime          com.nextcloud.talk2                  E  FATAL EXCEPTION: main
                                                                                                    Process: com.nextcloud.talk2, PID: 5352
                                                                                                    java.lang.IllegalArgumentException: No suitable parent found from the given view. Please provide a valid view.
                                                                                                    	at com.google.android.material.snackbar.Snackbar.makeInternal(Snackbar.java:200)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-11-30 11:44:52 +01:00
Andy Scherzinger
ae8495aea5
Merge pull request #3480 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-11-30 09:14:32 +01:00
Andy Scherzinger
4f4a37e56d
Merge pull request #3479 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.2.5
Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 5.2.4 to 5.2.5
2023-11-30 07:36:22 +01:00
nextcloud-android-bot
5ee14c13a3 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-11-30 06:36:12 +00:00