Commit Graph

7891 Commits

Author SHA1 Message Date
sowjanyakch
f527ee9094 resize icons
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 11:57:35 +00:00
sowjanyakch
e71a1ec3f5 format code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 11:57:35 +00:00
sowjanyakch
a1d7f9a5e0 make system messages work for teams
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 11:57:35 +00:00
sowjanyakch
7f8cf4b9fd format code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 11:57:35 +00:00
sowjanyakch
7401572523 add icon
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 11:57:35 +00:00
sowjanyakch
de46212a66 add mention support for circles
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 11:57:35 +00:00
sowjanyakch
64a345d68a use proper avatar for circles
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 11:57:35 +00:00
sowjanyakch
f1fcc320b3 set chip avatar for team placeholder
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 11:57:35 +00:00
sowjanyakch
33c74aec63 add avatar for autocomplete mentions in recycler view
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 11:57:35 +00:00
sowjanyakch
a804932e7d add team support for mentions
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 11:57:35 +00:00
Marcel Hibbe
4a0b67ee9c avoid duplicated messages after sending
It could happen that when sending a message it was received on server but if the servers response is not received, the retry was triggered in the talk app.
This sometimes happened when internet connection was not the best.

Best would be that messages with the same referenceId would be refused on server side, but this won't be the case for now. So messages with the same referenceId are NOT refused as this would be too much overhead as there would be additional queries on server for every received message)

For now, the automatic retry logic is just removed so duplicated messages won't be created automatically.
However it's still possible to manually trigger the retry via button. In this case it is not guaranteed that there won't be duplicates.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-06 14:58:54 +00:00
Marcel Hibbe
ef8dd56e33 lower SEARCH_MIN_CHARS to 1
same behavior for web and iOS..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-06 10:46:30 +00:00
Marcel Hibbe
52652834f2 fix nullable createRoom param for FakeRepository classes
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-06 10:46:30 +00:00
Marcel Hibbe
9dd7d1588b replace hardcoded number for 1:1 roomtype
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-06 10:46:30 +00:00
rapterjet2004
0eb853f804 Added intent handling on item click
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-02-06 10:46:30 +00:00
rapterjet2004
cd5b345a14 linter -_-
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-02-06 10:46:30 +00:00
rapterjet2004
60bd94fe65 Improved Search
- Uncommented out fetchOpenConversations
- Added fetchUsers to conversationList
- Made the messages appear first

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-02-06 10:46:29 +00:00
Nextcloud bot
8a91dd6285
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-06 03:04:59 +00:00
rapterjet2004
4279bee325 Added character counter to xml
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-02-05 13:44:31 +00:00
sowjanyakch
fdb9fc43e7 ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:44:30 +00:00
sowjanyakch
5f598ee9ad set limit on description
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:44:30 +00:00
sowjanyakch
6a1d17ff04 ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:44:30 +00:00
sowjanyakch
11758d4546 rename variable
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:44:30 +00:00
sowjanyakch
67ddc83b0e set limit on conversation description
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:44:30 +00:00
sowjanyakch
877fe2314a calculate conversation description length
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:44:30 +00:00
Marcel Hibbe
caeeb16ea4 self heal if multiple current users exist
usersDao.getActiveUser() will return only one current users even if multiple exist for whatever reason.
By executing setUserAsActiveWithId(it.id) with the same user, it is made sure all other users current status is set to 0.

This change won't fix the root cause if multiple users are set to current, but it will make sure the state is fixed as soon as there is a query to get the active user.

In fact, this change might also make it harder to find the root cause because debugging may be more difficult! When searching for the root cause, always keep this in mind and maybe revert the change.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-03 17:51:43 +00:00
Marcel Hibbe
5fdfa49e6d fix to not execute getAnyUserAndSetAsActive() until userRepository.getActiveUser() is empty
To make sure getAnyUserAndSetAsActive() is invoked lazily and avoid any side effects, it's explicitly wrapped it in a lambda.

Maybe.defer ensures that getAnyUserAndSetAsActive() is not invoked until switchIfEmpty decides it’s needed.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-03 17:51:43 +00:00
Marcel Hibbe
20c08903a2 ensure that getAnyUserAndSetAsActive will set other users to current=false
Before, getAnyUserAndSetAsActive did only set a random first user to current=true without to check if there is any other current user.

So it was up to the calling function of getAnyUserAndSetAsActive to check this.

I did not identify a scenario where the getAnyUserAndSetAsActive could cause to set multiple users to current, but anyway the new implementation might fix some scenario that i could not reproduce.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-03 17:51:43 +00:00
Nextcloud bot
72c65b7a12
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-03 03:26:36 +00:00
Nextcloud bot
a146787dc7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-01 03:04:20 +00:00
Nextcloud bot
dd6926ea37
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-30 03:14:17 +00:00
Marcel Hibbe
262440319b
Merge pull request #4666 from nextcloud/backport/4659/stable-21.0
[stable-21.0] Switched the "Close" and "Set" Buttons in the remind-me-later dialog
2025-01-28 12:01:31 +01:00
rapterjet2004
20bede866d switched the btns in DateTimeCompose
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-01-28 10:42:40 +00:00
sowjanyakch
ed4ace9997 message of type actorId = "sample" should show talk logo avatar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-28 10:36:13 +00:00
Nextcloud bot
d2de2ff2f5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-27 03:00:43 +00:00
Nextcloud bot
be03aaa999
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-26 03:10:47 +00:00
Nextcloud bot
6247ef1488
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-25 03:21:38 +00:00
Nextcloud bot
eaffe5e398
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-24 03:03:11 +00:00
Marcel Hibbe
1f8e674224
bump version to 21.0.0 RC1
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-23 14:49:31 +01:00
Nextcloud bot
b44296c5eb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 13:39:33 +00:00
Marcel Hibbe
7ac8c2483e
Show snackbar on archive/unarchive from bottomDialog
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-23 12:21:31 +01:00
Marcel Hibbe
3427f4ce50
change "Archive conversation" design in conversation-info screen
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-23 12:11:50 +01:00
Marcel Hibbe
71af112a8c
change "No conversations archived" screen design
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-23 12:11:49 +01:00
rapterjet2004
a6055e52e8
Archived conversation improvements
- First commit - Made options yellow
- Now possible to archive/unarchive conversations from dialog
- Now possible to archive and unarchive conversations in settings without leaving the screen
- Better UX
- Unread message bubble fix - no longer shows up when archive filter is set

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-01-23 12:11:49 +01:00
Marcel Hibbe
3330fc8210
fix shimmer and "offlineNoMessages"-info handling
when being offline and no messages are set -> hide shimmer

when messages are received -> hide shimmer and "offlineNoMessages"-info

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-23 09:45:02 +01:00
Nextcloud bot
22e2f758cb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 03:04:43 +00:00
Julius Linus
1ac537be94
Merge pull request #4641 from nextcloud/bugfix/4605/fixDuplicateMessages
Bugfix/4605/fix duplicate messages
2025-01-22 11:29:15 -06:00
Marcel Hibbe
4f49deadf2
Merge pull request #4630 from nextcloud/bugfix/4628/noUnreadMessagesBubbleForInvisibleMessages
no "unread messages" popup for invisible messages
2025-01-22 16:57:08 +00:00
Marcel Hibbe
b172f68cd3
Merge pull request #4627 from nextcloud/feature/4570/rework-can-leave-delete-conversation
Rework can leave/delete conversation
2025-01-22 16:49:31 +00:00
Marcel Hibbe
d2d040dffe
Merge pull request #4629 from nextcloud/bugfix/4626/avoidChatLoadingShimmerOverlay
avoid shimmer animations overlay with chat messages
2025-01-22 16:37:01 +00:00