Commit Graph

12229 Commits

Author SHA1 Message Date
Olivier Goffart
8aee6426af Merge remote-tracking branch 'origin/2.5' 2018-10-31 16:26:45 +01:00
Olivier Goffart
5b754e7912 ChangeLog update 2018-10-31 11:40:06 +01:00
Olivier Goffart
a97f6fcfb2 Database: future-proof to allow downgrade from future version
The 2.6 client will introduce an index that depends on a custom
function.
This causes insersion onto the metadata database to fail if the database
it opened with older version of the client. (Which will cause the client
to abort)

Delete this index in this version in order to allow downgrade.

In addition, allow to load folder with version '2', but still write
version '1' in the config file

Of course this commit need not to be in the 2.6 release
2018-10-31 11:30:35 +01:00
Christian Kamm
3e7f1a3094 Doc: improve backwardMigrationSettingsKeys 2018-10-31 10:09:25 +01:00
Jenkins for ownCloud
c454a79886 [tx-robot] updated from transifex 2018-10-31 02:18:46 +01:00
Jenkins for ownCloud
f9503fb8c6 [tx-robot] updated from transifex 2018-10-30 02:18:50 +01:00
Christian Kamm
7a4792b349 Errors: Include path in discovery error message #6826 2018-10-29 19:56:07 +01:00
Christian Kamm
7519c64e86 Settings: Make FoldersWithPlaceholders group sticky
If virtual files are disabled on a folder it might still have db entries
or local virtual files that would confuse older client versions.
2018-10-29 19:54:21 +01:00
Olivier Goffart
c82d9ef65b Merge remote-tracking branch 'origin/2.5' 2018-10-29 18:52:38 +01:00
Dominik Schmidt
afa21f89e7 Avoid warning because /MT overrides /MD flag 2018-10-29 18:29:46 +01:00
Dominik Schmidt
ba65eefed7 Make OCUtil helper lib static and link it statically against crt 2018-10-29 18:29:46 +01:00
Olivier Goffart
ee62c259e5 Update zsync submodule 2018-10-29 16:17:02 +01:00
Olivier Goffart
a325c61930 owncloudcmd: Read the server version from the capabilities
Issue: #6846
2018-10-29 15:23:05 +01:00
Jenkins for ownCloud
67d0c20801 [tx-robot] updated from transifex 2018-10-29 02:18:46 +01:00
Jenkins for ownCloud
c8f7645238 [tx-robot] updated from transifex 2018-10-28 02:18:58 +01:00
Jenkins for ownCloud
2626bd4563 [tx-robot] updated from transifex 2018-10-28 02:18:44 +02:00
Jenkins for ownCloud
88736f4310 [tx-robot] updated from transifex 2018-10-27 02:18:34 +02:00
Olivier Goffart
b1ce2ad58f owncloudcmd: fetch the dav user
This is required to get the new endpoint working when the server
uses ldap or that the dav user is not the same as the login.

Issue #6830
2018-10-26 15:18:09 +02:00
Jenkins for ownCloud
9e5aafb54e [tx-robot] updated from transifex 2018-10-26 02:18:47 +02:00
Dominik Schmidt
0956bc189a Fix casing in appveyor.ini 2018-10-25 14:59:46 +02:00
Olivier Goffart
7b0a4d7ebc Sharing: add the shareWithAdditionalInfo string in autocompletion results
Issue #6749
2018-10-25 12:39:01 +02:00
Jenkins for ownCloud
0f4acec2be [tx-robot] updated from transifex 2018-10-25 02:18:38 +02:00
Olivier Goffart
26c0c88c1f Migration from 2.4: fallback to move file by file if directory move failled (#6807)
Migration from 2.4: fallback to move file by file if directory move failed

This can happen if the directory already exist because, say, it was
created by the ownCloud outlook plugin which save its file in the same directory
2018-10-24 15:42:42 +02:00
Olivier Goffart
6ca724fc54 Move: Fix too many starting slashes in the destination header
QDir::cleanPath does not remove starting slashes on windows.
So use account::davUrl which is already cleaned

Issue: #6824
2018-10-24 14:53:11 +02:00
Olivier Goffart
ef99800a94 Wizard: Reset the QSslConfiguration before checking the server
Because a previous call with another demain might have set some
config for another server.

Issue #6832
2018-10-24 12:50:40 +02:00
Jenkins for ownCloud
2604257126 [tx-robot] updated from transifex 2018-10-24 02:18:33 +02:00
Jenkins for ownCloud
ab1fac68e5 [tx-robot] updated from transifex 2018-10-23 02:18:38 +02:00
Jenkins for ownCloud
02c29efc0d [tx-robot] updated from transifex 2018-10-22 02:18:40 +02:00
Jenkins for ownCloud
a7d86b1c0c [tx-robot] updated from transifex 2018-10-21 02:18:40 +02:00
Markus Goetz
196c305d2f ChangeLog: Some more 2.5.1 stuff 2018-10-20 20:54:42 +02:00
Olivier Goffart
f11a2a8ed9 Fix compiler warning 2018-10-20 15:13:40 +02:00
Jenkins for ownCloud
f779bda206 [tx-robot] updated from transifex 2018-10-20 02:18:46 +02:00
Olivier Goffart
e0963ab906 OAuth2: Refresh the token without aborting the sync
OAuth2 access token typically only has a token valid for 1 hour.
Before this patch, when the token was timing out during the sync, the
sync was aborted, and the ConnectionValidator was then requesting a new
token, so the sync can be started over.
If the discovery takes longer than the oauth2 validity, this means that
the sync can never proceed, as it would be always restarted from scratch.

With this patch, we try to transparently renew the OAuth2 token and restart
the jobs that failed because the access token was invalid.

Note that some changes were required in the GETFile job because it handled
the error itself and so it was erroring the jobs before its too late.

Issue #6814
2018-10-19 12:37:11 +02:00
Olivier Goffart
d500cdb86c HttpCredentials: initialize all member inline 2018-10-19 12:37:11 +02:00
Dominik Schmidt
e587ae7c36 Disable autostartCheckBox if autostart is configured system wide 2018-10-19 10:45:13 +02:00
Jenkins for ownCloud
a3528aa3d9 [tx-robot] updated from transifex 2018-10-19 02:18:38 +02:00
Dominik Schmidt
5347808623 Fix icon name in Info.plist 2018-10-18 19:54:37 +02:00
Olivier Goffart
7daf393c1c Merge remote-tracking branch 'origin/2.5'
Conflicts:
	ChangeLog
2018-10-18 13:05:34 +02:00
Olivier Goffart
c24e27022a Discovery: Windows: Don't check if a server file name can be encoded
Because on windows, all filename can be encoded: The file system uses
UTF-16, regardless of the locale

Issue: #6810
2018-10-18 12:46:06 +02:00
Jenkins for ownCloud
0d5c5b6e47 [tx-robot] updated from transifex 2018-10-18 02:18:48 +02:00
Olivier Goffart
36ca910d33 Account Settings: fix progress being written in white when there are errors 2018-10-17 15:15:54 +02:00
Christian Kamm
3c068b5058 Virtual files: Wipe selective sync settings when enabled 2018-10-17 09:05:32 +02:00
Christian Kamm
c8b398d9ba Virtual files: Use theme to check for option availability 2018-10-17 09:05:32 +02:00
Olivier Goffart
6ca5facbaf Account Settings: Add a context menu entry to enable or disable virtual files
Issue #6725
2018-10-17 09:05:32 +02:00
Jenkins for ownCloud
a7a7fc2a03 [tx-robot] updated from transifex 2018-10-17 02:18:40 +02:00
Olivier Goffart
9c7bc808a5 Update 2.5.1 ChangeLog 2018-10-16 15:23:08 +02:00
Jenkins for ownCloud
d9001483f5 [tx-robot] updated from transifex 2018-10-16 02:18:37 +02:00
Jürgen Weigert
80c1f33ced linux build needs both src and binary repo
Most likely the binyr y repo is alrady there, but to make the instructions work as written, better mention that one too.
2018-10-15 20:21:52 +02:00
Olivier Goffart
eba2f344b7 Upload: Do not error out if the server do not send the X-OC-MTime: accepted header
If the server does not set the mtime, it is not a big problem for the
synchronisation.

The test was used before so we could do a PROPPATCH for server that did not
support this header. But now that all server supports that we don't need to
to the check. (We do not do the PROPPATCH since we got rid of the neon
dependency)

Apparently, it may happen that some backend don't support setting mtime
and this can lead to this error.

https://github.com/owncloud/client/issues/6797
2018-10-15 20:18:30 +02:00
Olivier Goffart
4f47149c17 Attempt to fix appveyor build
It tries to compile LLVM because of qttools. (qdoc)
Compiling llvm takes way to long and is timing out.
We do not need qdoc anyway.
2018-10-15 11:18:45 +02:00