Commit Graph

76 Commits

Author SHA1 Message Date
rakekniven
d91800b453 chore(i18n): Use correct plural syntax
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-02-25 07:57:29 +00:00
Pablo Ariño Muñoz
abc6c213b4 Added more std::as_const and replaced types for auto, as well as other suggestions
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 03:55:21 +00:00
Pablo Ariño Muñoz
1f426977af Replaced foreach with range loops
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 03:55:21 +00:00
Pablo Ariño Muñoz
a4f65c64e5 Removed parenthesis and passed a nullptr for the disambiguation
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-24 07:30:31 +00:00
Pablo Ariño Muñoz
682e3d98af Added plural forms handling correction to notification message
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-24 07:30:31 +00:00
Jyrki Gadinger
f19a79a24d
add a button to open the browser if TOS need to be signed
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-02-20 12:00:55 +01:00
Matthieu Gallien
2a52ec33b0 add support to use PKCS#11 harware token to store certifice for e2ee
Close #5685

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-07 09:12:29 +01:00
Claudio Cambra
1009fed86a Replace all uses of qAsConst with std::as_const
Fixes deprecation warnings on Qt 6.8.0

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-12-20 16:26:57 +01:00
Claudio Cambra
8baf105270 Ensure avatarJob is run on the respective account's QNAM thread
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
aa60f44251 Ensure account pointer is valid when fetching avatars
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
3957a305c2 Ensure requestedSize for avatars is valid
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
f0e88c769e Display image for sharedWithMe share owner in share view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
bc74c5a887 Add ability to fetch remote server avatars in usermodel avatar ImageResponse
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
c38a51079e Convert ImageProvider in an async image provider using an internal image response
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 16:33:49 +08:00
Claudio Cambra
e66135a59a Remove unneeded check for DnD status when showing desktop talk notification
The server will not deliver it anyway

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Claudio Cambra
babdbd1e3e Only notify talk chat notifications if this is enabled
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 12:31:23 +01:00
Claudio Cambra
985d2d9a7a Take reference to folder in folder map within User::getFolder
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-18 10:59:22 +02:00
Claudio Cambra
e2467baf0c Prevent double slashes in group folder path parsing
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-18 10:59:22 +02:00
Claudio Cambra
e113118e1e Use for : loop in getFolder
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-18 10:59:22 +02:00
Claudio Cambra
5611f876b0 Constify openLocalFolder
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-18 10:59:22 +02:00
Matthieu Gallien
f0f83b9984
downgrade severity level of logs during propagation
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:31 +02:00
Claudio Cambra
a9dfc6ebfc Add rename file link/button to invalid filename activities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-21 09:51:39 +02:00
Claudio Cambra
eb189f8fb4 Also provide notification for items that have file name invalid on server
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-21 09:51:39 +02:00
Claudio Cambra
b4d719e914 Make multiple notifications text translatable
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-12 16:52:41 +02:00
alex-z
f70d1c1079
Support Windows .lnk files with VFS Cf API.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-07-10 10:29:21 +02:00
Camila Ayres
fcf07b60c4
Move the logic for handling the featured app qml to cpp.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-25 15:34:50 +02:00
Camila Ayres
b7bf6083d9
Display the Nextcloud assistant icon in the main window.
- If NC assistant is enabled in the server, display the icon
to open it instead of Talk. Talk is then displayed in the
list with the other apps.
- The direct link is only available in the assistant app >= 1.0.9.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-25 15:34:49 +02:00
alex-z
1145d0613b Bugfix. Remove seen call notifications from the list.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-04-02 13:19:34 +02:00
alex-z
1e9fa0a132 Activity list fixes and improvements. Adjusted sorting to show interactive and security activities always on top (after errors). Added button to scroll up when new activity arrives. Improved sync status scrollbar.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-09-22 15:28:50 +02:00
Claudio Cambra
e2535d6ce8
Prevent double notification of folder now big in activities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-04 17:40:41 +08:00
Claudio Cambra
e985367b5e
Add method to add notification activity in activity list in User
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-04 17:40:40 +08:00
Claudio Cambra
10989fa810
Add method to get user pointer in UserModel by AccountState pointer
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-04 17:40:39 +08:00
alex-z
6ea828936f
Fix crash in _finalList removal loop. Fix incorrect implementation of seen chat notifications removal. Improved notifications fetch code to avoid multiple calls from different threads.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-07-18 09:57:13 +02:00
alex-z
b56200e0d7 Remove seen Talk notificatios from Tray window.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-07-06 09:15:26 +02:00
Dimitri Papadopoulos
9d830e94f9 Fix typos found by codespell
Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
2023-06-21 08:47:13 +02:00
Matthieu Gallien
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
alex-z
3be820d9a3 Group folder visibility improvements. Show dropdown in tray window.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-05-09 12:25:05 +02:00
Matthieu Gallien
e0bdbd1387
follow shouldNotify flag to hide notifications when needed
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-21 09:10:12 +01:00
Camila
ec7b5481d4 Fix display of 2FA notification.
Fix for issue #5421: add server notifications to the activities list
when the user needs to act on it.

Signed-off-by: Camila <hello@camila.codes>
2023-03-08 10:53:51 +01:00
Matthieu Gallien
079d392d36
move init to default value in class declaration
done via clang-tidy and manual tuning

run-clang-tidy -p build -header-filter='.*' -config="{Checks: '*', CheckOptions: [{key: UseAssignment, value: true}]}" -checks='-*,modernize-use-default-member-init' -fix

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-02-06 10:43:05 +01:00
Claudio Cambra
dfdc23e240
Fix displaying of file details button for local syncfileitem activities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-01-31 13:03:52 +01:00
Claudio Cambra
5908ac4176
Display action button for conflict files in activity
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-01-25 16:37:35 +01:00
Claudio Cambra
f6c4c32b6e Use QFileInfo::exists where we are only creating a QFileInfo to check if file exists, as it is faster
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-20 09:44:13 +01:00
Claudio Cambra
8913f88c50
Differentiate between normal normal and Talk notifications, invoke macOS text reply notifications
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-09 14:36:12 +01:00
Matthieu Gallien
b5adbf3ab0 fix instances of: c++11 range-loop might detach Qt container warnings
analyzed via clazy

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-18 16:02:21 +01:00
Claudio Cambra
ddc14a844d Remove unused remotePath in User::processCompletedSyncItem
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-11-09 16:29:21 +01:00
allexzander
6cb988b667 Fix accounts avatar issue when it becomes completely white due to non-changing account id member with changing account index in the list.
Signed-off-by: allexzander <blackslayer4@gmail.com>
2022-11-03 10:14:44 +01:00
alex-z
b00007e07d Fix incorrect current user index when removing and adding an account.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-11-03 10:14:44 +01:00
Claudio Cambra
c0baf5c93c Add a 'Sync now' button to the sync status header in the tray window
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-10-25 19:14:40 +02:00
Claudio Cambra
8de5b0ffa5
Use prettyName more widely, instead of duplicating fallback string code
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-10-19 13:31:48 +02:00