b9f1467770
fix(activitylistmodel): avoid duplication of server notifications
...
This change might clean up notifications that have already been
dismissed from the web ui as well.
Resolves #6624
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org >
2025-09-23 13:04:05 +02:00
49038ade94
docs(reuse): Migrate to SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de >
2025-04-25 17:27:21 +02:00
d99b48afab
fix(gui): remove ignored file notifications from Activity list
...
These are informative notifications without any need/possibility to act
on immediately -- if a file is not synced it will be visible from the
shell integration anyway.
An eventual follow-up to this change would be to have a dialogue with an
overview of all files that were ignored (including the entry in the
ignore list that caused a specific file to be ignored).
Closes #6712
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org >
2025-04-04 13:50:15 +02:00
d921411bd3
Replace dark/light icon roles with a single icon role in activity list model
...
We can just colour the relevant activity icon from QML based on the
palette text colour
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com >
2024-12-09 11:11:37 +01:00
098f4ef164
better automated tests log
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com >
2024-05-15 15:06:11 +02:00
17b0dda300
Unit tests for federated share activity actions
...
Signed-off-by: alex-z <blackslayer4@gmail.com >
2024-03-05 09:13:12 +01:00
5db79261f6
Fix breakages in testactivitylistmodel caused by recent activitylistmodel changes
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com >
2023-08-04 17:44:22 +08:00
06a42908f7
Move creation of example activities from testactivitylistmodel to activitylistmodeltestutils
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com >
2023-07-25 08:40:27 +08:00
e42f5cf33e
Move activitylistmodel testing QNAM override to dedicated convenience method in ActivityTestUtils
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com >
2023-07-25 08:40:27 +08:00
1c16728cb0
Move TestingALM to activitylistmodeltestutils
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com >
2023-07-25 08:40:27 +08:00
00ac5a4568
Move FakeRemoteActivityStorate to new activitylistmodeltestutils
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com >
2023-07-25 08:40:26 +08:00
cd6ee68fec
filter out some errors if they are related to network troubles
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com >
2023-06-28 11:21:50 +02:00
5372276779
add more metadata to sync errors to allow filtering
...
in order to be able to filter some errors when showing them into the
main dialog activity list, add some more info about the error to know
the origin (like a network issue or a sync issue)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com >
2023-06-07 17:25:44 +02:00
607d0da672
use a much more compact layout for activities
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com >
2023-05-17 18:16:10 +02:00
d6db8fcbd6
Add a dismiss link for notifications without it.
...
- Fix for #5606 and #5585 .
- That is how it is done in the server and other clients.
- Update tests.
Signed-off-by: Camila <hello@camila.codes >
2023-05-16 11:17:37 +02:00
f8b3ad8852
Update tests.
...
Signed-off-by: Camila <hello@camila.codes >
2022-10-17 11:29:23 +00:00
565a5f0999
add [[nodiscard]] attribute via clang-tidy
...
ran
run-clang-tidy-14.py -header-filter='.*' -checks='-*,modernize-use-nodiscard' -fix
under linux with most part of our code covered
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com >
2022-10-04 11:14:45 +02:00
1ccc170f91
Update tests to follow 'Reply' change of primary action.
...
Signed-off-by: Camila <hello@camila.codes >
2022-09-29 17:15:50 +02:00
7633cc490d
Fix 'Reply' action primary property.
...
Primary is set to true when object type is 'room' or 'chat' and it set to
false when object type is 'call'.
Signed-off-by: Camila <hello@camila.codes >
2022-09-29 15:20:56 +02:00
e721b03106
Remove sorting code in activitylistmodel as not needed with sortedactivitylistmodel
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com >
2022-09-26 18:18:34 +02:00
1a5fa50fbb
Refactor ActivityListModel population mechanisms
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com >
2022-09-13 19:34:41 +02:00
e4a0d57bc8
Do not replace strings in action links coming from the notification api.
...
Signed-off-by: Camila <hello@camila.codes >
2022-05-12 12:47:48 +02:00
56825825b5
Update ActivityListModel tests.
...
Signed-off-by: Camila <hello@camila.codes >
2022-04-06 10:38:01 +02:00
3d086ae305
Fix dark mode stuff relating to unified search, fix macOS auto dark/light theme switching not always working, fix Windows detection of dark/light theme switching
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com >
2022-03-28 09:21:35 +00:00
02f3a1aed6
File activity dialog now works for all file actions activities (e.g. deleted files)
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com >
2022-03-16 08:38:14 +01:00
ae44dd5978
Adjust icons for activity entries in main dialog. Refactor the dialog by splitting it to separate components.
...
Signed-off-by: alex-z <blackslayer4@gmail.com >
2022-02-04 17:52:37 +02:00
ce5494b4ec
Add testing for ActivityListModel
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com >
2022-02-01 13:57:08 +00:00