Commit graph

9897 commits

Author SHA1 Message Date
Marcel Hibbe
bd7f6d72c5
Merge pull request #4384 from nextcloud/issue-4361-message-queue-bug
Message Queue bug fixes
2024-11-05 15:30:43 +01:00
Marcel Hibbe
f48c33d9b1
Merge pull request #4360 from nextcloud/last_moderator_should_delete_room
Last moderator should not leave the room
2024-11-05 15:29:46 +01:00
rapterjet2004
d96682889c
fix to display message queue when revisiting chat in offline mode
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-05 15:11:10 +01:00
Marcel Hibbe
2ad8c2eabc
set nc_last_moderator_leaving_room_warning to one line in strings.xml
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-05 15:00:51 +01:00
sowjanyakch
a39ca256de
add const val for error code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:53:36 +01:00
sowjanyakch
6c4685dce5
handle errors properly
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:53:36 +01:00
sowjanyakch
f6489eb10d
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:53:36 +01:00
sowjanyakch
9df91b6e74
refresh main activity after leaving a conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:53:36 +01:00
sowjanyakch
a07a5446be
make worker listenable
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:53:36 +01:00
sowjanyakch
aa5fd42c59
handle workResult
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:53:35 +01:00
sowjanyakch
088e6fd79f
Start unique work
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:53:35 +01:00
sowjanyakch
e04f2362e3
remove unused imports
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:53:35 +01:00
sowjanyakch
f6824f94f1
Convert LeaveConversationWorker from java to Kotlin
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:53:35 +01:00
sowjanyakch
be55a908d5
Rename .java to .kt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:53:35 +01:00
Marcel Hibbe
11a4738a4c
fix addArchiveConversations migration method
this will set NOT NULL and DEFAULT 0 to hasArchived column

Otherwise there would be an error when updating from the previous DB version:

IllegalStateException: Migration didn't properly handle: Conversations(com.nextcloud.talk.data.database.model.ConversationEntity)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-05 14:43:19 +01:00
Marcel Hibbe
4ff9b2b3c6
add 12.json which includes modifications for "hasArchived"
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-05 13:49:10 +01:00
Marcel Hibbe
219163c4a8
revert 11.json to the state before modifications for "hasArchived"
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-05 13:49:09 +01:00
Marcel Hibbe
967c3aedd3
Merge pull request #4390 from nextcloud/bugfix/4380/fixMessagesNotShownAndImproveUnreadMarker
fix messages not shown + improve unread marker behavior
2024-11-05 13:46:47 +01:00
Marcel Hibbe
ff90552527
rename pair to triple
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-05 13:31:54 +01:00
Marcel Hibbe
662ddd275e
remove unused constants from ChatActivity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-05 13:31:54 +01:00
Marcel Hibbe
29f7265b19
implement "Unread messages" popup with normal button
replace com.nextcloud.ui.popupbubble.PopupBubble with MaterialButton.

com.nextcloud.ui.popupbubble.PopupBubble was forked from
https://github.com/webianks/PopupBubble
which is quite outdated.

com.nextcloud.ui.popupbubble.PopupBubble is still used in ConversationsListActivity but there it should also be removed.

Removing this recycler view stuff will also help a bit to switch to JetpackCompose

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-05 13:31:54 +01:00
Marcel Hibbe
675bc9bec0
fix messages not shown + improve unread marker behavior
this commit will avoid to fail to show messages in adapter. This was caused by the usage of
messagesListAdapter.deleteById("-1");
in UnreadNoticeMessageViewHolder.
The bug seems to exist in the past already but was never reported (Sometimes, when receiving a lot of messages it could happen that some message in between is not shown in UI). However with recent changes after release 20.0.2 the bug appeared more often.

The root cause was not analyzed, but the handling was modified in general as the unread marker behavior was never really good.
By not using deleteById but replace it with new unread marker logic, the bug of disappearing messages is solved and the unread messages marker behavior is improved.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-05 13:31:54 +01:00
Nextcloud bot
d53ef9a65f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 12:26:27 +00:00
Nextcloud bot
afe0e08ffd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 10:56:29 +00:00
Nextcloud bot
88dc32e311
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 02:53:00 +00:00
Nextcloud bot
0e3ea77b9c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 03:00:18 +00:00
Nextcloud bot
a4d953cdd0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-03 03:00:32 +00:00
Andy Scherzinger
762ea5b74d
Merge pull request #4409 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.26
2024-11-02 22:21:58 +01:00
renovate[bot]
7c7192de1d
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.26
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 21:08:14 +00:00
Nextcloud bot
33ce261108
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-02 03:34:37 +00:00
Nextcloud bot
2e3749cf58
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-01 02:50:39 +00:00
github-actions[bot]
edee32d2f2
Merge pull request #4407 from nextcloud/renovate/com.android.tools.build-gradle-8.x
Update dependency com.android.tools.build:gradle to v8.7.2
2024-10-31 21:33:19 +01:00
github-actions[bot]
c524f4b256
Merge pull request #4406 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
Update dependency androidx.compose:compose-bom to v2024.10.01
2024-10-31 21:27:49 +01:00
renovate[bot]
df4ca48285
Update dependency com.android.tools.build:gradle to v8.7.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 20:20:52 +00:00
renovate[bot]
bf3d654105
Update dependency androidx.compose:compose-bom to v2024.10.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 20:17:03 +00:00
github-actions[bot]
5ecfaf8cd3
Merge pull request #4397 from nextcloud/renovate/androidx.lifecycle-lifecycle-viewmodel-compose-2.x
Update dependency androidx.lifecycle:lifecycle-viewmodel-compose to v2.8.7
2024-10-31 08:09:27 +00:00
renovate[bot]
509012d6a7
Update dependency androidx.lifecycle:lifecycle-viewmodel-compose to v2.8.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 08:03:10 +00:00
github-actions[bot]
bc39a65e12
Merge pull request #4400 from nextcloud/renovate/androidx.constraintlayout-constraintlayout-2.x
Update dependency androidx.constraintlayout:constraintlayout to v2.2.0
2024-10-31 05:30:14 +00:00
github-actions[bot]
77683408c4
Merge pull request #4399 from nextcloud/renovate/androidxcameraversion
Update androidxCameraVersion to v1.4.0
2024-10-31 06:30:00 +01:00
renovate[bot]
114c414307
Update dependency androidx.constraintlayout:constraintlayout to v2.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 05:23:02 +00:00
renovate[bot]
7eb793686b
Update androidxCameraVersion to v1.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 05:21:30 +00:00
Nextcloud bot
7f74a1a383
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-31 02:51:57 +00:00
github-actions[bot]
4aa536f263
Merge pull request #4398 from nextcloud/renovate/lifecycleversion
Update lifecycleVersion to v2.8.7
2024-10-31 03:38:05 +01:00
renovate[bot]
9457e23da0
Update lifecycleVersion to v2.8.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 02:29:22 +00:00
github-actions[bot]
1987d4a5fd
Merge pull request #4396 from nextcloud/renovate/androidx.lifecycle-lifecycle-runtime-ktx-2.x
Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.7
2024-10-31 00:17:30 +01:00
github-actions[bot]
d96390b8f0
Merge pull request #4395 from nextcloud/renovate/androidx.compose.ui-ui-test-junit4-1.x
Update dependency androidx.compose.ui:ui-test-junit4 to v1.7.5
2024-10-31 00:14:18 +01:00
renovate[bot]
e517763b1c
Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 23:07:14 +00:00
renovate[bot]
68084b1be8
Update dependency androidx.compose.ui:ui-test-junit4 to v1.7.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 23:05:29 +00:00
github-actions[bot]
dd911bab17
Merge pull request #4393 from nextcloud/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.3.1
2024-10-30 21:55:37 +01:00
renovate[bot]
1493cb1dac
Update dependency androidx.compose.material3:material3 to v1.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 20:48:18 +00:00