Commit graph

7255 commits

Author SHA1 Message Date
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
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
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
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
sowjanyakch
37e59c90d4 remove unused constants
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-24 12:06:23 +00:00
sowjanyakch
6b92b884d0 group chat messages
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-24 12:06:23 +00:00
Nextcloud bot
53d80c27df
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-24 03:20:35 +00:00
sowjanyakch
39aa13f6b7 remove comments
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-23 14:32:50 +00:00
sowjanyakch
6e50f0de59 ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-23 14:32:50 +00:00
sowjanyakch
ea28d770aa don't set timer in past
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-23 14:32:49 +00:00