alex-z
af612525c4
End-to-End Encryption V2. Implemented sharing between users. Automatic migration from 1.0 to 2.0(only for flat folders). Improved secure filedrop.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-01-29 16:13:25 +01:00
Camila Ayres
0ae7695d5c
Fix: remove failure to import legacy account notification.
...
- It was being displayed even on a fresh install.
- We are already displaying a notification when there are accounts to be
imported and we ask the user on what to do.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-25 12:23:37 +01:00
Camila Ayres
2089fb168b
Remove if TOKEN_AUTH_ONLY because the build will fail without it in all cases.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:35:58 +01:00
Camila Ayres
30883785e4
Save the value of 'Launch on system startup' in the config files.
...
Make sure to migrate older configs to have the value set to true.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:35:55 +01:00
Camila Ayres
d677664f9d
Clean up logic when setting up auto start for user.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:28:00 +01:00
Erik Verbruggen
07063c9c9d
macOS: Fix restart-after-quit
...
Instead of using a dictionary for the value of KeepAlive, setting it to
@NO will keep launchd from relaunching the client.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:28:00 +01:00
Erik Verbruggen
31559faa35
Creaate LaunchAgents
directory if it doesn't exist
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:28:00 +01:00
Erik Verbruggen
74c7487314
Mac: do not restart after crash
...
When the crash is due to a library load failure while starting, having
this turned on would result in an endless loop of crash-restarts.
Fixes : #9800
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Erik Verbruggen
1f046ccd5e
macOS: Do case-insensitive compare in auto-launch code
...
Case-sensitive compares will give problems when a launchd plist file
exists, but the executable gets upated, and the name only has a
different case (e.g.: owncloud -> ownCloud).
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Erik Verbruggen
76cf707934
macOS: Modernise Utility::setupFavLink
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Erik Verbruggen
fb13eb7203
macOS: Simplify Utility::hasDarkSystray()
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Erik Verbruggen
a616fbf189
Mac: Move launch-on-login to use launchd
...
Previously, deprecated API was used to tell macOS to launch the GUI when
the user logs in. This has now been moved to launchd, which uses the
contents of the file
~/Library/LaunchAgents/com.owncloud.desktopclient.plist to determine
what to do. This comes with the added benefit that wel now tell launchd
to relaunch the client when it crashes.
Fixes : #9037
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Erik Verbruggen
8da94b6509
Turn utility_* into stand-alone files
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Hannah von Reth
3762e410f8
Log if setting up launch on start fails on mac
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-22 11:27:59 +01:00
Camila
c4095d698a
Autostart does not depend on how many accounts are configured.
...
Set autostart default to true.
Signed-off-by: Camila <hello@camila.codes>
2024-01-22 11:27:58 +01:00
allexzander
3bcc17b942
Merge pull request #6354 from nextcloud/bugfix/e2ee-errors-spell-correction
...
Spell-correction for e2e_errors
2024-01-22 10:59:45 +01:00
Micke Nordin
6ca4ace09f
OwncloudWizard: Move implementation to cpp-file
...
Signed-off-by: Micke Nordin <kano@sunet.se>
2024-01-19 11:05:18 +01:00
Micke Nordin
42012a0efb
Apply suggestions from code review
...
Formatting fixes
Co-authored-by: Claudio Cambra <developer@claudiocambra.com>
Signed-off-by: Micke Nordin <mickenordin@users.noreply.github.com>
2024-01-19 11:05:07 +01:00
Micke Nordin
772d44c66d
GUI/LIBSYNC: force login flow V2 with config setting
...
This patch allows a user to set the config variable:
forceLoginV2=true
This will make the client use the browser login flow instead of the
webview. This is useful for making the user experience equal on
Windows, Linux and Mac. Currently only Macs use the v2 flow and it
was only possible to get this behaviour in the Windows and Linux
clients at build time using a CMAKE flag.
The default behaviour is kept the same, and nothing changes for the
user unless the flag is manually set in the config file. A setter is
included in this patch, although it is not yet used in the GUI.
Signed-off-by: Micke Nordin <kano@sunet.se>
2024-01-19 11:03:36 +01:00
Camila
8f628f808c
Modernize Utility::octetsToString function.
...
- Add {} to single line if.
- Use const and auto.
- Use constexpr.
- Rename variables for readability.
Signed-off-by: Camila <hello@camila.codes>
2024-01-19 10:15:38 +01:00
Camila
a06b88c1b4
Utility: Fix the storage string to display terabytes.
...
Signed-off-by: Camila <hello@camila.codes>
2024-01-19 10:15:38 +01:00
alex-z
2eaecb6400
File locking. Manual lock should never be modified without user intervention. Set token lock instead of user lock when locking office files automatically.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-01-18 10:21:09 +01:00
alex-z
6791cc6365
Spell-correction for e2e_errors
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-01-17 15:27:55 +01:00
Matthieu Gallien
7bff44daa1
get the appimage path to translations instead of looking at the host
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-01-05 12:16:15 +01:00
Matthieu Gallien
452cf435fc
add more info before we try to load translations and/or fail
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-01-05 12:16:15 +01:00
Matthieu Gallien
911120caa0
ensure we do not modify a file that has been just uploaded
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-14 14:37:33 +01:00
alex-z
ed2ad42502
Bugfix. Do not treat item type change as metadata update.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-13 11:43:24 +01:00
alex-z
17fbfe4e06
Bugfix. Fix incorrect size of the folderbutton size and scaling.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-12 16:33:58 +01:00
alex-z
50d168759f
Added error reporting for E2EE issues.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
c30e526bc8
Report error Virus Detected. Updated tests.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
66b0383fee
Allow sending E2EE and Virus_Detected statuses. Also updated tests.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
4b0e1b57eb
Prevent issues when changing the enum.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
8e38739d94
Generate client status report records when errors happen.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
5b54b13a97
Iteration. Properly process server reply.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
4b7ccf8647
Iteration. Use Capabilities to control Client Status Reporting availibility.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
5e78b83ca7
Send status report. Improved logic and database columns.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
ff8db2674a
Client status reporting feature. First iteration.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
Camila
02e4f05358
Use a new FindSQLite3 cmake module.
...
Add find sqlite to the root CMakeLists.txt.
Signed-off-by: Camila <hello@camila.codes>
2023-12-11 11:50:33 +01:00
Claudio Cambra
c9b4419070
Only set linker flags needed for macOS on Apple
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-12-11 11:50:33 +01:00
Camila
3c51c9e1f8
Fix crash on mac OS < 13.
...
It's caused by the new optimized Xcode 15 linker when linking static libraries.
source: https://crystalidea.com/blog/qt-apps-crash-when-using-xcode-15
Signed-off-by: Camila <hello@camila.codes>
2023-12-11 11:50:33 +01:00
alex-z
9298305093
Feature. Do not allow move of external storage mounted folders.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-07 14:10:35 +01:00
Matthieu Gallien
bf78f008bd
extend log to get information about mtime modifications by the client
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-06 10:42:33 +01:00
Matthieu Gallien
b77fc9d4ff
avoid modifying a placeholder (virtual files) when not needed
...
acoid modifying some metadata of the placeholder when this placeholder
has just been uploaded to the server (will avoid truncating the
timestamps)
Close #6190
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-06 10:13:49 +01:00
Matthieu Gallien
369296d6ed
fix include order from most specific to less specific
...
shoudl ensure that included headers are self sufficient
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-06 10:08:16 +01:00
Matthieu Gallien
1dcde3a41f
maintain lock state if unlock happens during sync
...
currently unlock can happen during the sync
in that case, it may be possible that the propagator will lose the lock
state changes and override them when updating teh etag after a file has
been uploaded
detect that case and ensure we keep consistent state about files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-05 08:57:17 +01:00
Claudio Cambra
de4645f36b
Change logging for sparkle update to qCInfo
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-12-05 08:52:06 +01:00
Matthieu Gallien
68763fa577
add a cmake flag to not build with Qt5 WebEngine
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-04 16:29:52 +01:00
Matthieu Gallien
f8730b6bfb
avoid restore algorithm by setting the data fingerprint from sync DB
...
avoid single file sync to switch to data fingerprint restore sync mode if
a data fingerprint has been saved in the database but missed during
single file sync
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-11-24 15:20:40 +01:00
AJ Jordan
5c7fb58919
Don't log notification successes as warnings
...
Signed-off-by: AJ Jordan <alex@strugee.net>
2023-11-20 23:49:32 -05:00
alex-z
19f7b87809
Fix. Bulk upload. Accumulate sent bytes. Fix negative value in UI.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-11-20 17:02:31 +01:00