Commit Graph

10440 Commits

Author SHA1 Message Date
Marcel Hibbe
84ea49ca32 bump detekt issues by 2
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-07 11:57:35 +00:00
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
Sowjanya Kota
7964c96834
Merge pull request #4696 from nextcloud/backport/4688/stable-21.0
[stable-21.0] avoid duplicated messages after sending
2025-02-06 16:17:08 +01: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
fc2d7c5315
Merge pull request #4693 from nextcloud/backport/4674/stable-21.0
[stable-21.0] Fixing and improving main search
2025-02-06 11:46:05 +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
Marcel Hibbe
9b31981dcb
Merge pull request #4687 from nextcloud/backport/4658/stable-21.0
[stable-21.0] Set limit on conversation description length
2025-02-05 15:13:20 +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
cc44a62b66
Merge pull request #4677 from nextcloud/backport/4667/stable-21.0
[stable-21.0] Bugfix/4492/fix missing users in UI
2025-02-04 09:33: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
Marcel Hibbe
a007e13a9d
Merge pull request #4665 from nextcloud/backport/4663/stable-21.0
[stable-21.0] Message of type actorId "sample" should show talk logo avatar
2025-01-28 11:51:01 +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
Andy Scherzinger
5285ed2c46
Merge pull request #4652 from nextcloud/backport/4651/stable-21.0
[stable-21.0] chore(deps): update dependency gradle to v8.12.1
2025-01-24 17:59:55 +01:00
renovate[bot]
08b7992768 chore(deps): update dependency gradle to v8.12.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 16:59:02 +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
b3f32a0761
Merge pull request #4624 from nextcloud/issue-4607-4608-archive-conversations-follow-up
Follow up fixes for 'Archive Conversations
2025-01-23 12:17:04 +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