Commit graph

8996 commits

Author SHA1 Message Date
Marcel Hibbe
1d2f1bfeb7
Merge pull request #3830 from nextcloud/bugfix/3315/fixEmptyCallNotificationScreen
Bugfix/3315/fix empty call notification screen
2024-04-15 14:41:34 +02:00
Marcel Hibbe
2485b14009
get room in NotificationWorker so CallNotificationActivity doesn't have to wait for it
The get-room request in CallNotificationActivity was sometimes too slow which caused the activity to be unresponsive.
With this commit, the room is first loaded before the user gets a notification.
For now all necessary values are passed as intent extras. In the future with offline support, there might be reasons to load it from DB in CallNotificationActivity.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-15 14:33:27 +02:00
Marcel Hibbe
7e1ebebd5d
remove unnecessary KEY_FROM_NOTIFICATION_START_CALL handling
this seems to be a relict caused by conductor back then.

CallNotificationActivity is opened directly.
There shouldn't have been any scenario anymore when it would be opened by MainActivity.
Back then with conductor, this was done because there must have been an activity to open which then opened a controller.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-15 14:33:26 +02:00
Marcel Hibbe
4c96f511c8
Merge pull request #3823 from nextcloud/bugfix/noid/fixClickOnFederatedUser
avoid error when clicking on federated user
2024-04-15 14:32:29 +02:00
Marcel Hibbe
52dc82703e
avoid error when clicking on federated user avatar
without this, there would be http 404 error (nothing was shown to user):

2024-04-11 15:34:30.612 18641-18641 ProfileBottomSheet      com.nextcloud.talk2                  E  Failed to get hover card for user user@yourfereatedserver.dev
                                                                                                    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:264)
                                                                                                    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
                                                                                                    	at java.lang.Thread.run(Thread.java:1012)

With this fix, nothing happens when clicking on a federated user avatar, just like in web and iOS.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-15 14:31:53 +02:00
Marcel Hibbe
69e8c91431
avoid error when clicking on federated user mention chip
without this, there would be the common error message shown because of a http 404 error.

With this fix, nothing happens when clicking on a federated user mention chip, just like in web and iOS.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-15 14:31:53 +02:00
Nextcloud bot
7979af0d38
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-14 02:44:56 +00:00
Andy Scherzinger
9d7231a0d4
Merge pull request #3831 from nextcloud/renovate/gradle-gradle-build-action-3.x
Update gradle/gradle-build-action action to v3.3.0
2024-04-13 08:19:29 +02:00
Andy Scherzinger
45afa9fd3f
Merge pull request #3833 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-04-13 08:17:44 +02:00
nextcloud-android-bot
1130f2c0fa 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2024-04-13 02:11:27 +00:00
renovate[bot]
2584dbc052
Update gradle/gradle-build-action action to v3.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 22:37:54 +00:00
Sowjanya Kota
d8e6a4a135
Merge pull request #3822 from nextcloud/bugfix/noid/fixCanModerate
Bugfix/noid/fix can moderate
2024-04-12 14:54:19 +02:00
Sowjanya Kota
d7d3ec2ed6
Merge pull request #3825 from nextcloud/bugfix/noid/hideOpenConversationsInAddingParticipantsView
hide button for open conversations when adding participants
2024-04-12 14:37:15 +02:00
Andy Scherzinger
afc2a3e8e2
Merge pull request #3826 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.12
2024-04-12 07:25:50 +02:00
renovate[bot]
0383c416cb
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 03:34:05 +00:00
Marcel Hibbe
e5e859feeb
hide button for open conversations when adding participants
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-11 17:17:40 +02:00
Andy Scherzinger
9607066020
Merge pull request #3817 from nextcloud/renovate/media3_version
Update media3_version to v1.3.1
2024-04-11 16:45:47 +02:00
renovate[bot]
f8d89406eb Update media3_version to v1.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 16:17:02 +02:00
Andy Scherzinger
5c4ba24ccd
Merge pull request #3819 from nextcloud/renovate/com.android.tools.build-gradle-8.x
Update dependency com.android.tools.build:gradle to v8.3.2
2024-04-11 16:16:33 +02:00
Andy Scherzinger
9d63b2995e
Add checksums
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-11 15:32:29 +02:00
Marcel Hibbe
d5ff59fcd0
remove unused method
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-11 13:53:39 +02:00
Marcel Hibbe
d93dd0f3c1
fix logic for canModerate
bug was introduced with commit 754b8250

As a result, for example the delete conversation option was not shown.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-11 13:51:15 +02:00
Andy Scherzinger
533a30504c
Bump 8.3.2
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-11 11:56:46 +02:00
renovate[bot]
757dc4693e
Update dependency com.android.tools.build:gradle to v8.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 11:56:45 +02:00
Andy Scherzinger
0062f22a57
Merge pull request #3821 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.11
2024-04-11 09:43:18 +02:00
Andy Scherzinger
11392dd2fd
Merge pull request #3818 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-04-10 23:44:30 +02:00
renovate[bot]
854b2bad0c
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 14:13:25 +00:00
Nextcloud bot
0a24fafad7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-10 02:48:29 +00:00
nextcloud-android-bot
9c92f14cfd 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2024-04-10 02:19:55 +00:00
Andy Scherzinger
70d3e955f5
Merge pull request #3814 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.10
2024-04-09 15:48:42 +02:00
renovate[bot]
fe81712d4a Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 07:26:58 +02:00
Andy Scherzinger
71a12cd3cc
Merge pull request #3813 from nextcloud/renovate/gradle-gradle-build-action-3.x
Update gradle/gradle-build-action action to v3.2.1
2024-04-09 07:25:51 +02:00
Nextcloud bot
2e5f10b1f2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-09 02:43:44 +00:00
renovate[bot]
820ae18ca9
Update gradle/gradle-build-action action to v3.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 23:30:33 +00:00
Nextcloud bot
5282ecabfb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-08 02:44:33 +00:00
Nextcloud bot
ccccaae4ad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-07 02:44:43 +00:00
Andy Scherzinger
35420af121
Merge pull request #3810 from nextcloud/renovate/github-codeql-action-3.x
Update github/codeql-action action to v3.24.10
2024-04-05 19:42:27 +02:00
renovate[bot]
5a6e6f8058
Update github/codeql-action action to v3.24.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-05 15:55:16 +00:00
Marcel Hibbe
9ff8e64b38
manually bump to 19.1.0 Alpha 02
still because of https://github.com/nextcloud/talk-android/pull/3733

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 17:54:01 +02:00
Marcel Hibbe
e0837af157
Merge pull request #3808 from nextcloud/bugfix/noid/fixesForPolls
Bugfix/noid/fixes for polls
2024-04-05 15:52:12 +02:00
Marcel Hibbe
3cfc4188f0
fix to load fallback poll avatar for other actorTypes (deleted users...)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 15:48:13 +02:00
Marcel Hibbe
89d004b32d
fix margins for poll checkboxes
checkbox was cut off to the left. probably some material design update changed this. Now there is no need to modify the margin anymore.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 15:33:31 +02:00
Marcel Hibbe
eaa0743027
fix to always show polls dialog.
Sometimes the polls dialog seemed to not load the content.
This was caused by the showLoadingScreen logic using binding.root.post which overwrote the content depending on if the showResultsScreen or showVoteScreen already set the content. So it was a race conditions that sometimes it worked and sometimes not.
Additionally, calculating the height failed in showLoadingScreen, so in the end there was only the headline visible and even not loading spinner. This is now replaced by a fixed height.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 15:33:30 +02:00
Marcel Hibbe
cbc1eed336
Merge pull request #3806 from nextcloud/feature/noid/showFederatedAvatarsForPolls
show federated avatars for polls
2024-04-05 14:29:48 +02:00
Marcel Hibbe
0bdbc8a538
use EnumActorTypeConverter for poll models
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 13:25:32 +02:00
Marcel Hibbe
091fddc2c0
show federated avatars for polls
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 12:43:37 +02:00
Sowjanya Kota
e57f08f2d5
Merge pull request #3803 from nextcloud/bugfix/noid/fixNpeForConversationCreation
avoid NPE when context is not known when creating conversation
2024-04-05 10:15:26 +02:00
Andy Scherzinger
af43bab814
Merge pull request #3804 from nextcloud/renovate/gradle-gradle-build-action-3.x
Update gradle/gradle-build-action action to v3.2.0
2024-04-05 07:16:30 +02:00
Nextcloud bot
4c6ba0634d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-05 02:44:39 +00:00
renovate[bot]
f9872bc48d
Update gradle/gradle-build-action action to v3.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 23:12:04 +00:00