Commit Graph

10411 Commits

Author SHA1 Message Date
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
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
4c6c08be55
Merge pull request #4645 from nextcloud/bugfix/4643/fixShimmerAndOfflineNoMessagesInfo
fix shimmer and "offlineNoMessages"-info handling
2025-01-23 09:29:26 +00: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
Andy Scherzinger
7d0c6d67c7
Merge pull request #4644 from nextcloud/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.28.3
2025-01-23 08:54:06 +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
renovate[bot]
2be89d5782
chore(deps): update github/codeql-action action to v3.28.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 23:22:49 +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
Marcel Hibbe
9b6b01254a
remove scope cancelation for handleChatOnBackPress (replace with lifecyle event)
handleOnStop will handle this (and more scenarios than just backpress)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-22 13:59:03 +01:00
Marcel Hibbe
1f105d44d3
check if scope is active during long polling
Because long polling may have to be informed that the scopep was cancelled, the isActive checks are added so it can't happen that messages are added when they shouldn't.

I could not reproduce the scenario, anyway the checks should make sense in my opinion.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-22 13:54:31 +01:00
Marcel Hibbe
b6e341bbf1
cancel scope when onStop is reached
This is necessary especially to cancel the long polling when configuration change was made, e.g. screen was rotated. Otherwise multiple long polling requests would be running after configuration changes.

Because it not possible to launch a new coroutine in a scope that was canceled, it is necessary to re-initialize the scope.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-22 13:50:30 +01:00
Nextcloud bot
504846593b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-22 03:05:52 +00:00
github-actions[bot]
e9946f6275
Merge pull request #4639 from nextcloud/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.28.2
2025-01-21 23:38:05 +00:00
renovate[bot]
3da9501952
chore(deps): update github/codeql-action action to v3.28.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 23:24:34 +00:00
Andy Scherzinger
6c5cbd5e91
Merge pull request #4637 from nextcloud/renovate/actions-stale-9.x
chore(deps): update actions/stale action to v9.1.0
2025-01-21 08:04:34 +01:00
renovate[bot]
4bf5704ee4
chore(deps): update actions/stale action to v9.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 06:57:20 +00:00
Nextcloud bot
136ad56bf3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-21 03:04:00 +00:00
Marcel Hibbe
e1a0f20e4a
Merge pull request #4633 from nextcloud/jtr/chore-1478
chore: switch to remote.php/dav in scripts
2025-01-20 16:04:25 +00:00
Josh
64923080fb
chore: use remote.php/dav in analysis-wrapper.sh
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-20 11:57:54 +01:00
Josh
f9928ef60a
chore: switch uploadArtifact.sh to remote.php/dav
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-20 11:57:53 +01:00
Marcel Hibbe
3522ab7981
Merge pull request #4634 from nextcloud/enableCertSelection
enable to select authentication cert in server selection screen
2025-01-20 10:55:50 +00:00
Marcel Hibbe
28ffb7f971
enable to select authentication cert in server selection screen
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-20 10:35:53 +01:00
Nextcloud Android Bot
d450c470fe Weekly 21.0.0 Alpha 10 2025-01-20 03:12:34 +00:00
Nextcloud bot
aa42f5c253
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-20 02:58:46 +00:00
Nextcloud bot
fba4e948b2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-18 03:02:52 +00:00