Commit graph

9518 commits

Author SHA1 Message Date
Marcel Hibbe
72b6137c7f rename pair to triple
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>

[skip ci]
2024-11-08 12:05:50 +00:00
Marcel Hibbe
f4b35858df remove unused constants from ChatActivity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-08 12:05:50 +00:00
Marcel Hibbe
37d9e27d3f 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-08 12:05:50 +00:00
Marcel Hibbe
f285cda435 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-08 12:05:49 +00:00
Marcel Hibbe
d556b9fc89
Merge pull request #4425 from nextcloud/backport/4251/stable-20.0
[stable-20.0] Showing temporary messages when queued
2024-11-08 13:04:33 +01:00
Marcel Hibbe
52b8c8db21 format code + remove unused import
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-08 11:56:25 +00:00
Marcel Hibbe
e4d175f117 add empty content descriptions
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-08 11:56:25 +00:00
rapterjet2004
e86954c4ef linter
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
4e4eafd2a2 got deleting working and added attempts logic again
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
2e7c662237 impl marcel suggestions + adding deleting cache option
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
250dbe37e3 fixed deletion bug, implemented Marcel's suggestions
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
2a4910e194 fixed some bugs
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
3ae4e49e06 got replying working
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
a0d35c08f8 got editing down
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
9d70a7f87e WIP Editing
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
94ba2306a0 deleting works
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
afd29ac03c should have fixed the UI now with lifecycle and error handling
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
7777ae1766 added ui
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
rapterjet2004
193e7d1b84 git
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-08 11:56:25 +00:00
Nextcloud bot
107f237409
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-06 02:54:18 +00:00
Marcel Hibbe
e674d35d49
Merge pull request #4419 from nextcloud/backport/4360/stable-20.0
[stable-20.0] Last moderator should not leave the room
2024-11-05 15:46:14 +01:00
Marcel Hibbe
f1d0709f7a set nc_last_moderator_leaving_room_warning to one line in strings.xml
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-05 14:29:52 +00:00
sowjanyakch
1bf55f9071 add const val for error code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:29:52 +00:00
sowjanyakch
bbcc3fb0a0 handle errors properly
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:29:52 +00:00
sowjanyakch
9028ad0d1c ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:29:52 +00:00
sowjanyakch
185b42f91a refresh main activity after leaving a conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:29:52 +00:00
sowjanyakch
189b4e9c64 make worker listenable
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:29:52 +00:00
sowjanyakch
621f9f7530 handle workResult
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:29:51 +00:00
sowjanyakch
a2940309eb Start unique work
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:29:51 +00:00
sowjanyakch
ed5c9a0b8f remove unused imports
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:29:51 +00:00
sowjanyakch
c0377a7f4d Convert LeaveConversationWorker from java to Kotlin
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:29:51 +00:00
sowjanyakch
a0be5facbc Rename .java to .kt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-05 14:29:51 +00:00
Nextcloud bot
3ece0f4bb3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 12:27:09 +00:00
Nextcloud bot
c260238787
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 10:57:11 +00:00
Nextcloud bot
d468b2d871
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 02:53:41 +00:00
Nextcloud bot
906a4aa420
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 03:01:00 +00:00
Nextcloud bot
35daa14b68
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-03 03:01:13 +00:00
Nextcloud bot
db07b6a7be
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-01 02:51:20 +00:00
Nextcloud bot
71ffc052bf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-31 02:52:40 +00:00
Nextcloud bot
57f6a15e64
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-30 02:53:19 +00:00
Nextcloud bot
d2cf608e2e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-29 02:50:49 +00:00
Nextcloud bot
0e1e0d95b5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-27 03:01:25 +00:00
Nextcloud bot
a777197951
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-26 02:51:01 +00:00
Nextcloud bot
2a7460796d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-25 03:08:44 +00:00
Marcel Hibbe
2cc97bf1e9
Merge pull request #4383 from nextcloud/backport/4318/stable-20.0
[stable-20.0] group chat messages
2024-10-24 14:26:31 +02:00
sowjanyakch
7d2c9b58de ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-24 12:06:23 +00:00
sowjanyakch
9d2db57633 use const val for time
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-24 12:06:23 +00:00
sowjanyakch
7e35882303 KtlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-24 12:06:23 +00:00
sowjanyakch
958b786402 Only group Chat messages
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-24 12:06:23 +00:00
sowjanyakch
30afe45751 modify previousChatMessageIndex
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-24 12:06:23 +00:00