Commit Graph

12446 Commits

Author SHA1 Message Date
Olivier Goffart
8fac2bf5d1 Propagator: Don't abort sync on error 503
Only do it when it is actually a maintenance mode

Issues #5088, #5859, https://github.com/owncloud/enterprise/issues/2637
2018-12-17 12:37:54 +01:00
Olivier Goffart
3efb0f2146 Allow to open log window via command line to already running client
Issue: #4098
2018-12-11 20:59:23 +01:00
Dominik Schmidt
96f4f16162 Fix installation of vfs suffix plugin 2018-12-11 15:56:24 +01:00
Dominik Schmidt
ed8cc2f7d8
Fix KDEInstallDirs deprecation warnings (#6922)
* Fix KDEInstallDirs deprecation warnings

* Workaround deprecated variable used in kcoreaddons_add_plugin
2018-12-08 09:43:10 +01:00
Olivier Goffart
779874923c VFS: Plugin needs to be installed, otherwise it can't be loaded 2018-12-07 11:15:45 +01:00
Olivier Goffart
4d0e4c0a18 Fix compilation warning
src/libsync/propagatorjobs.cpp:63:10: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
        [this, &deleted](const QString &path, bool isDir) {
         ^~~~~
2018-12-07 10:06:56 +01:00
Olivier Goffart
9fbef38247 Merge remote-tracking branch 'owncloud/vfs-master'
Conflicts:
	src/libsync/filesystem.cpp
	src/libsync/filesystem.h
2018-12-07 10:04:43 +01:00
Olivier Goffart
25f22ed06e SslButton: Add Server version information
Always show the menu, no matter if HTTPS is used or not.
And add the server version in the menu

Issue #6628
2018-12-06 17:14:56 +01:00
Olivier Goffart
21ac396bd1 Updater: show the human readable version in the settings
The xml looks like this:

   <version>2.5.0.328</version>
   <versionstring>ownCloud Client 2.5.0 alpha1 (build 238)</versionstring>

And we should show the version string

Issue #6602
2018-12-04 15:22:58 +01:00
Olivier Goffart
3902b9b120 Updater: remove unused function 2018-12-04 15:22:58 +01:00
Olivier Goffart
94a82cbb59 Test: fix compilaiton after merge 2018-12-03 17:06:22 +01:00
Olivier Goffart
c3277331eb Merge branch 'readonly-restore-context-6252' into 'master'
Conflicts:
	src/gui/socketapi.cpp
	src/gui/socketapi.h
	src/libsync/syncengine.cpp
2018-12-03 14:18:35 +01:00
Olivier Goffart
abc5bdc562 Merge remote-tracking branch 'owncloud/2.5' 2018-11-29 17:34:24 +01:00
Olivier Goffart
a594a5de08 Excludes: Use QString for storing the temporary excludes
Everything else uses QString
2018-11-29 16:27:18 +01:00
Olivier Goffart
6e4b4e67e0 IgnoreListEditor: increase a bit the size
Should Help for issue #6641
2018-11-29 12:10:59 +01:00
Olivier Goffart
7abb9cd6fa SSLButton: do not hardcode the background color
Reported in https://github.com/nextcloud/desktop/issues/871

(cherry picked from commit ba24ef3fe3)
2018-11-29 12:02:22 +01:00
Jenkins for ownCloud
1a370cbfdb [tx-robot] updated from transifex 2018-11-29 02:18:44 +01:00
Jenkins for ownCloud
d3fbf10b21 [tx-robot] updated from transifex 2018-11-28 02:18:40 +01:00
Olivier Goffart
697b6b9e81 Remove Shibboleth support
Issue #6451
2018-11-27 12:28:14 +01:00
Jenkins for ownCloud
f8a52c8fd3 [tx-robot] updated from transifex 2018-11-27 02:18:42 +01:00
Christian Kamm
bc04dcf863 vfs: Make Vfs ctor explicit 2018-11-26 13:03:39 +01:00
Christian Kamm
18ab3f5dcd vfs: Separate vfs availability from new-files-virtual
This helps support 2.5 settings where there are virtual files in the
tree but new files aren't created virtual.

It's also a prelude for #6815

There's currently no way of
- upgrading vfs plugins (a silent suffix->winvfs upgrade is attempted
  once only, when moving to master)
- disabling vfs capabilities outright
2018-11-26 13:02:48 +01:00
Christian Kamm
3ba0123353 vfs: Don't always load plugins, check metadata 2018-11-26 13:02:48 +01:00
Christian Kamm
711cdb9df4 vfs: ensure backwards-compatible settings value is always set 2018-11-26 13:02:48 +01:00
Christian Kamm
4f56366fd5 vfs: Ensure SyncOptions::_vfs is never null
- Create a VfsOff derived class
- Make it a shared pointer shared with Folder::_vfs
2018-11-26 13:02:48 +01:00
Christian Kamm
31b547bd43 vfs: Switch order of deletion and journal removal in dehydration
To be more crash-resilient.
2018-11-26 13:02:48 +01:00
Christian Kamm
20b28302f5 vfs: Update outdated comment 2018-11-26 13:02:48 +01:00
Christian Kamm
572775a382 vfs: Ensure local discovery is done on dehydration request 2018-11-26 13:02:48 +01:00
Christian Kamm
1f4565923e Folder settings: Keep "usePlaceholders" to be backwards compatible 2018-11-26 13:02:48 +01:00
Christian Kamm
6d0f9a50ad vfs: Be more careful about Vfs instance ownership 2018-11-26 13:02:48 +01:00
Christian Kamm
afa09e9b19 vfs: Remove VfsSuffixPrivate 2018-11-26 13:02:48 +01:00
Christian Kamm
852f5b1a31 vfs: Document ignored return value. 2018-11-26 13:02:48 +01:00
Christian Kamm
e9667444f8 Plugin: Drop PluginLoader 2018-11-26 13:02:48 +01:00
Christian Kamm
53711f0681 Plugin: style fixes 2018-11-26 13:02:48 +01:00
Christian Kamm
dac2801d67 Checksums: Make file ownership more explicit 2018-11-26 13:02:48 +01:00
Christian Kamm
c84ad025b3 vfs: Improve modeFromString() signature 2018-11-26 13:02:48 +01:00
Christian Kamm
6cb071da47 Generalize Result<> class, add Optional<>
To make it nicer to use outside of HTTP results.
2018-11-26 13:02:48 +01:00
Christian Kamm
cfe0022170 vfs: Add API docs 2018-11-26 13:02:48 +01:00
Dominik Schmidt
da62ee394d Remove unused include directories 2018-11-26 13:02:48 +01:00
Christian Kamm
a99289442e vfs: Fix dealing with missing vfs instance
Maybe there should just be a VfsOff instance to make this less error
prone.
2018-11-26 13:02:48 +01:00
Dominik Schmidt
f618886f44 Fix export of vfs functions 2018-11-26 13:02:48 +01:00
Dominik Schmidt
01ad0079c4 Cleanup CMake (output) 2018-11-26 13:02:48 +01:00
Christian Kamm
975a518cf9 vfs: Add check for presence of win plugin 2018-11-26 13:02:48 +01:00
Christian Kamm
202a2ba7ad vfs: Make switching vfs on/off work again 2018-11-26 13:02:48 +01:00
Christian Kamm
59a114cd4d vfs: Fix plugin decision in wizards, sanitize loading 2018-11-26 13:02:48 +01:00
Christian Kamm
29a52e9600 vfs: Reenable local metadata updating of vfs files 2018-11-26 13:02:48 +01:00
Christian Kamm
f500539c44 vfs: Make some behaviors suffix-vfs specific 2018-11-26 12:59:51 +01:00
Christian Kamm
f6863964ee vfs: Allow remote renames to propagate as such 2018-11-26 12:59:51 +01:00
Christian Kamm
0281aaf544 vfs: Allow folders without vfs 2018-11-26 12:59:51 +01:00
Christian Kamm
0c86181013 Fix big-folder detection when vfs is disabled 2018-11-26 12:59:51 +01:00