Commit Graph

6367 Commits

Author SHA1 Message Date
Andy Scherzinger
565d0cf61b
ktlint: statement fits in a single line
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:45:02 +01:00
Andy Scherzinger
3f911965bd
ktlint: Property name should start with a lowercase letter and use camel case
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:37:53 +01:00
Andy Scherzinger
d7f8d1ecb2
ktlint: Single space expected between colon and return type
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:35:43 +01:00
Andy Scherzinger
9395a35af6
ktlint: Newline expected after opening parenthesis
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:34:54 +01:00
Andy Scherzinger
67b2752360
ktlint: Expected a single space
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:32:21 +01:00
Andy Scherzinger
59e8f4b550
ktlint: No comment expected at this location
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:31:34 +01:00
Andy Scherzinger
29db97c8bc
ktlint: Missing newline before/after '{'
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:30:25 +01:00
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
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
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
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
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]
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]
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
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
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
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
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
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
dependabot[bot]
7783ab7f34
Build(deps): Bump roomVersion from 2.6.0 to 2.6.1
Bumps `roomVersion` from 2.6.0 to 2.6.1.

Updates `androidx.room:room-runtime` from 2.6.0 to 2.6.1

Updates `androidx.room:room-rxjava2` from 2.6.0 to 2.6.1

Updates `androidx.room:room-compiler` from 2.6.0 to 2.6.1

Updates `androidx.room:room-ktx` from 2.6.0 to 2.6.1

---
updated-dependencies:
- dependency-name: androidx.room:room-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.room:room-rxjava2
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.room:room-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.room:room-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-30 03:05:12 +00:00
Nextcloud bot
6fb6597070
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-30 02:41:00 +00:00
Nextcloud bot
f8497dd50e
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-30 02:40:40 +00:00
Marcel Hibbe
f6b481cea8
translate "no proxy" in settings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-11-29 11:43:18 +01:00
Julius Linus
2adad16914
small adjustments
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2023-11-29 11:38:26 +01:00
Julius Linus
b5f49ccfaa
fixed bug - Note to Self Now allows messages to expire and be deleted
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2023-11-29 11:38:25 +01:00
Julius Linus
b1568e7f49
- Fixed bug with occasional crash with stop
- Implement MediaRecorderState handling
- Fixed lifecycle bug - recording and locked UI now ends after app exits
- Saves Waveform to storage after initial loading
- Fixes File caption crashes
- A couple other bugs

Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2023-11-29 11:38:25 +01:00
Nextcloud bot
d88ab82d92
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-29 02:46:00 +00:00
Nextcloud bot
d1d2139db7
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-29 02:45:41 +00:00
Andy Scherzinger
60d602e564
Merge pull request #3469 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.13.0
Build(deps): Bump com.github.nextcloud.android-common:ui from 0.12.0 to 0.13.0
2023-11-28 10:43:58 +01:00
Andy Scherzinger
da5d47b9c4
Merge pull request #3466 from nextcloud/bugfix/noid/fixSaveFileDialog
Bugfix/noid/fix save file dialog
2023-11-28 10:38:26 +01:00
Nextcloud bot
02c45bc242
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-28 02:49:42 +00:00