Claudio Cambra
ee82968c69
Cache NSXPCConnections when starting FileProviderXPC
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-19 22:39:37 +08:00
Claudio Cambra
a6e3f18168
Ensure FileProvider components instantiated after account setup
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-19 22:39:37 +08:00
Claudio Cambra
d4d0cf550e
Fix retain issues with domains in FileProviderXPC
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-19 22:39:37 +08:00
Claudio Cambra
0b505a9c2c
Flatten FileProviderXPC::start()
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-19 22:39:37 +08:00
Claudio Cambra
25201116a0
Implement connection begin in XPC
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-19 22:39:37 +08:00
Claudio Cambra
9dddaf4f9f
Fix logging for fileproviderdomainmanager
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-19 22:39:37 +08:00
Claudio Cambra
e8c1bbb953
Add relative symlink to ClientCommunicationProtocol in srd/gui/macOS
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-19 22:39:37 +08:00
Claudio Cambra
5cc8b6e7c2
Add starter FileProviderXPC class on client side
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-19 22:39:37 +08:00
Matthieu Gallien
c254bb01a3
do not check lock type if server API is missing it
...
will allow automated unlock if the server API is missing the ability to
handle the lock types sent by the client
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-02-19 14:53:47 +01:00
Matthieu Gallien
17256d3902
add extra logs to investigate lock type issues
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-02-19 14:53:47 +01:00
alex-z
aab9066654
Settings dialog. Nextcloud version label should be visible even if auto-updates are turned off in config.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-02-19 09:58:08 +01:00
alex-z
b2aca219fc
Do not upload modified PDF file while it is open in Kofax PowerPDF on Windows. Prevents signature verification failure.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-02-14 08:25:21 +01:00
Matthieu Gallien
4f2988a7d5
fix more issues from qml in share dialog
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-02-13 14:45:58 +01:00
Matthieu Gallien
997ff6535f
fix QML warnings about accessing undefined parent property
...
we are defining a component, by definition there will be no parent
setting the size if the responsibility of the stack view, not of the
component (or even its definition)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-02-13 14:45:58 +01:00
Matthieu Gallien
e24da81f49
ensure role hideDownload from ShareModel has a boolean default value
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-02-13 14:45:58 +01:00
Matthieu Gallien
2a5e273963
fix binding loop with palette assignments
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-02-13 14:45:58 +01:00
Claudio Cambra
d52ad2d27b
Do an early break of folder state check loop when errors seen
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-13 14:05:31 +01:00
Claudio Cambra
28874ec25c
Use bools rather than unnecessary ints in folderman trayoverallstatus
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
f
2024-02-13 14:05:31 +01:00
Claudio Cambra
165bf97b48
Use auto and const auto where possible in trayOverallStatus
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-13 14:05:31 +01:00
Claudio Cambra
76ff41f3e0
Properly report Undefined sync status when multiple folders syncing
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-13 14:05:31 +01:00
Camila Ayres
533ef0b260
Do not create systray notification if there are no errors.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-02-08 16:40:02 +01:00
Camila Ayres
1b305e4c6a
Show systray error message when there is a network error.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-02-07 14:24:30 -03:00
Camila Ayres
9dbf43c6fd
Update 'no connection' error text to a more user friendly message.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-02-07 14:24:30 -03:00
Camila Ayres
b3b48dc163
Modernize extractErrorMessage and AbstractNetworkJob::errorStringParsingBody.
...
- Add const auto.
- Remove extra error message information to make it more user friendly.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-02-07 14:24:30 -03:00
Camila Ayres
6d50b87587
Modernize networkReplyErrorString by using const auto.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-02-07 14:24:30 -03:00
Matthieu Gallien
87522bf24c
suppress deprecated warnings from openssl
...
is needed to avoid failing builds due to warnings
unclear when we will tackle the work of removing the use of deprectaed
APIs
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-02-06 08:45:33 +01:00
rakekniven
f6137200fe
fix(i18n): Changed spelling of "public key"
...
Reported at Transifex
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-02-06 08:43:40 +01:00
rakekniven
0799af8ed3
fix(i18n): uppercase ID
...
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-02-06 08:43:40 +01:00
alex-z
5cdeba8061
Bugfix. Random crash in LsColJob after recent changes.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-01-30 09:34:29 +01:00
alex-z
e9a0dbd16c
Allow event processing between each XML parser run, to improve GUI performance.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-01-29 18:32:01 +01:00
Claudio Cambra
b1a50f42be
Do not recreate geometry more than is necessary
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-01-29 17:27:45 +01:00
Claudio Cambra
3dc5a6cc9e
Remove now unused method for calculating taskbar geometry
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-01-29 17:27:45 +01:00
Claudio Cambra
6c71c38ca8
Use available gemoetry measurement rather than whole screen geometry measurement unit to define non-taskbar invading window positions, removing need for calculating taskbar geometry
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-01-29 17:27:45 +01:00
Claudio Cambra
bcc1cea9b4
Add currentAvailableScreenRect convenience method
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-01-29 17:27:45 +01:00
Matthieu Gallien
b8ee9db377
partial build fix when TOKEN_AUTH_ONLY is enabled at configure time
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-01-29 16:56:20 +01:00
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