1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-11-25 19:42:45 +01:00
Commit Graph

12110 Commits

Author SHA1 Message Date
Christian Kamm
1872e9a5f9 Update: Report on readdir() errors #6610 2018-07-19 08:24:24 +02:00
Jenkins for ownCloud
106dffba54 [tx-robot] updated from transifex 2018-07-19 02:18:45 +02:00
Markus Goetz
c645ca0711 ChangeLog of 2.4.2 (from 2.4 branch) 2018-07-18 17:26:50 +02:00
Olivier Goffart
d6b7bde3ca TestChunkingNG: Make it faster
Use smaller files so the test run faster.
Particulary usefull for TestChunkingNG::connectionDroppedBeforeEtagRecieved
Which had become so much slower after 2638332dc6
increased the timeout for bigger files
2018-07-18 15:48:43 +02:00
Jenkins for ownCloud
77768a12a2 [tx-robot] updated from transifex 2018-07-18 02:18:58 +02:00
Olivier Goffart
d7e77b7473 FolderMan::checkPathValidityForNewFolder: make sure to work when folder points to deleted folders
Note that we also needed to adjust the server url to contains the user name
in the folder wizard. (As checkPathValidityForNewFolder expect the user name)

Issue #6654
2018-07-17 09:02:37 +02:00
Jenkins for ownCloud
9c47f63812 [tx-robot] updated from transifex 2018-07-17 02:18:59 +02:00
Olivier Goffart
3d850fe24d Log: Remove inaccurate comment about --logdebug
The exact string is actually "sync.*.debug=true\ngui.*.debug=true".
And this is not strictly equivalent to setting the env var, as it
calls QLoggingCategory::setFilterRules.
Over all, that's an implementation details that users do not care about.
2018-07-16 16:33:38 +02:00
Markus Goetz
0f79406e93 Help Text: really wrap the text
Issue #6644
2018-07-16 16:33:38 +02:00
Olivier Goffart
ff09ebd47a Help Text: wrap the text
But add a line of spaces to make sure it is wide enough otherwise the
default messagebox size is way too small.

Issue #6644
2018-07-16 16:33:38 +02:00
Olivier Goffart
916343d7c2 Wizard OAuth2 Page: add a context menu to copy the link
Relates to https://github.com/owncloud/enterprise/issues/2600
2018-07-16 12:55:31 +02:00
Christian Kamm
c9e97c12cd Nautilus: Guard against None state #6643
It seems None gets assigned to 'state' in some paths.
2018-07-16 10:18:48 +02:00
Olivier Goffart
c620683251 Wizard: show a message when the URL is invalid
Rather than let Qt show "Host not found"

Issue #6646
2018-07-16 10:06:44 +02:00
Jenkins for ownCloud
530ff542ea [tx-robot] updated from transifex 2018-07-16 02:18:44 +02:00
Jenkins for ownCloud
046047a370 [tx-robot] updated from transifex 2018-07-15 02:18:44 +02:00
Jenkins for ownCloud
890cd3ee1a [tx-robot] updated from transifex 2018-07-14 02:18:46 +02:00
Jenkins for ownCloud
e352032d99 [tx-robot] updated from transifex 2018-07-13 02:18:45 +02:00
Dmitry Mayorov
4c2f690dab added logdebug 2018-07-12 16:33:31 +02:00
Jenkins for ownCloud
acbab4a8e9 [tx-robot] updated from transifex 2018-07-12 02:18:46 +02:00
Jenkins for ownCloud
37e5c47cdc [tx-robot] updated from transifex 2018-07-11 02:18:46 +02:00
Jenkins for ownCloud
6b3ce1939c [tx-robot] updated from transifex 2018-07-10 02:18:45 +02:00
Jenkins for ownCloud
7590edd971 [tx-robot] updated from transifex 2018-07-09 02:18:48 +02:00
Jenkins for ownCloud
9292be1374 [tx-robot] updated from transifex 2018-07-08 02:18:52 +02:00
Jenkins for ownCloud
e91a4211e4 [tx-robot] updated from transifex 2018-07-07 02:18:46 +02:00
Jenkins for ownCloud
05bd8291b9 [tx-robot] updated from transifex 2018-07-06 02:19:00 +02:00
Olivier Goffart
90ec9a9735 Reconcile: When detecting a local move, keep the local mtime
https://github.com/owncloud/client/issues/6629#issuecomment-402450691
2018-07-05 16:31:16 +02:00
Christian Kamm
25cca051a9 Log: Adjust update/reconcile log verbosity
Not having these enabled by default is causing significant extra back
and forth with reporters since they must manually use --logdebug for the
log to be useful.
2018-07-05 14:09:35 +02:00
Thomas Boerger
ab3315594d Drop Jenkinsfile, replaced by DroneCI
So far DroneCI is showing stable results, that's the point in time where
we can get rid of Jenkins 💣
2018-07-05 13:19:09 +02:00
Markus Goetz
c7aca2d4a9 Introduce an about dialog
Every proper application has that!

For decreasing window height in #6075
2018-07-05 13:15:43 +02:00
Olivier Goffart
64014dd374 Upload: Store the size in the UploadInfo, and compare it when resolving potential conflict
This is about the conflicts that happens when the file has been uploaded
correctly to the server, but the etag was not recieved because the connection
was closed before we got the reply.

We used to compare only the mtime when comparing the uploaded file and the
existing file.  However, to be perfectly correct, we also should check the
size.

This was found because TestChunkingNG::connectionDroppedBeforeEtagRecieved is
flaky. Example of faillure found in https://drone.owncloud.com/owncloud/client/481/5
while testing PR #6626

(very trimmed log:)

06-29 07:58:02:015 [ info sync.csync.csync ]:	## Starting local discovery ##
06-29 07:58:02:016 [ info sync.csync.updater ]:	Database entry found, compare: 1530259082 <-> 1530259051, etag:  <-> 1644a8c8750, inode: 1935629 <-> 1935629, size: 301 <-> 300, perms: 0 <-> ff, type: 0 <-> 0, checksum:  <-> SHA1:cc9adedebe27a6259efb8d6ed09f4f2eff559ad1, ignore: 0
06-29 07:58:02:016 [ info sync.csync.updater ]:	file: A/a0, instruction: INSTRUCTION_EVAL <<=
06-29 07:58:02:972 [ warning sync.networkjob ]:	QNetworkReply::NetworkError(OperationCanceledError) "Connection timed out" QVariant(Invalid)
.. next sync...
06-29 07:58:02:980 [ info sync.engine ]:	#### Discovery start ####################################################
06-29 07:58:02:981 [ info sync.csync.csync ]:	## Starting local discovery ##
06-29 07:58:02:983 [ info sync.csync.updater ]:	Database entry found, compare: 1530259082 <-> 1530259051, etag:  <-> 1644a8c8750, inode: 1935629 <-> 1935629, size: 302 <-> 300, perms: 0 <-> ff, type: 0 <-> 0, checksum:  <-> SHA1:cc9adedebe27a6259efb8d6ed09f4f2eff559ad1, ignore: 0
06-29 07:58:02:983 [ info sync.csync.updater ]:	file: A/a0, instruction: INSTRUCTION_EVAL <<=
06-29 07:58:02:985 [ info sync.csync.csync ]:	## Starting remote discovery ##
06-29 07:58:02:985 [ info sync.networkjob ]:	OCC::LsColJob created for "http://localhost/owncloud" + "" "OCC::DiscoverySingleDirectoryJob"
06-29 07:58:02:987 [ info sync.csync.updater ]:	Database entry found, compare: 1530259082 <-> 1530259051, etag: 1644a8c8b26 <-> 1644a8c8750, inode: 0 <-> 1935629, size: 301 <-> 300, perms: ff <-> ff, type: 0 <-> 0, checksum: SHA1:5adcdac9608ae0811247f07f4cf1ab0a2ef99154 <-> SHA1:cc9adedebe27a6259efb8d6ed09f4f2eff559ad1, ignore: 0
06-29 07:58:02:987 [ info sync.csync.updater ]:	file: A/a0, instruction: INSTRUCTION_EVAL <<=
06-29 07:58:02:989 [ info sync.csync.csync ]:	Update detection for remote replica took 0.004 seconds walking 13 files
06-29 07:58:02:990 [ info sync.engine ]:	#### Discovery end ####################################################  9 ms
06-29 07:58:02:990 [ info sync.database ]:	Updating file record for path: "A/a0" inode: 1935629 modtime: 1530259082 type: 0 etag: "1644a8c8b26" fileId: "16383ea4" remotePerm: "WDNVCKR" fileSize: 301 checksum: "SHA1:cc9adedebe27a6259efb8d6ed09f4f2eff559ad1"
06-29 07:58:02:990 [ info sync.csync.reconciler ]:	INSTRUCTION_UPDATE_METADATA    client file: A/a0
06-29 07:58:02:990 [ info sync.csync.csync ]:	Reconciliation for local replica took  0 seconds visiting  13  files.
06-29 07:58:02:990 [ info sync.csync.reconciler ]:	INSTRUCTION_UPDATE_METADATA    server dir:  A
06-29 07:58:02:990 [ info sync.csync.csync ]:	Reconciliation for remote replica took  0 seconds visiting  13  files.
06-29 07:58:02:990 [ info sync.engine ]:	#### Reconcile end ####################################################  9 ms
06-29 07:58:02:990 [ info sync.database ]:	Updating local metadata for: "A/a0" 1530259082 302 1935629
FAIL!  : TestChunkingNG::connectionDroppedBeforeEtagRecieved(small file) '!fakeFolder.syncOnce()' returned FALSE. ()
2018-07-04 17:26:56 +02:00
Jenkins for ownCloud
5b4c98d015 [tx-robot] updated from transifex 2018-07-04 02:18:43 +02:00
Jenkins for ownCloud
585a42cec9 [tx-robot] updated from transifex 2018-07-03 02:18:40 +02:00
Jenkins for ownCloud
11cba10290 [tx-robot] updated from transifex 2018-07-02 02:18:39 +02:00
Jenkins for ownCloud
c398300721 [tx-robot] updated from transifex 2018-07-01 02:18:43 +02:00
Jenkins for ownCloud
df5ec640e1 [tx-robot] updated from transifex 2018-06-30 02:18:41 +02:00
Olivier Goffart
7029ad1a29 TestOAuth: Don't have global static QObject
Fix a strange warning seen on the log from the CI on Windows in
https://github.com/owncloud/client/pull/6621

The test shows, at the beginning
QObject::connect: No such signal DesktopServiceHook::destroyed(QObject*)
And crashes at the and.

My guess is that when QDesktopServices::setUrlHandler is called, the
QMetaObject is not yet initialized

But this is probably not the reason of the crash
2018-06-29 10:57:24 +02:00
Dominik Schmidt
4517d0224e Build (PRs to) 2.5 branch 2018-06-29 10:57:24 +02:00
Dominik Schmidt
d332319394 Use Qt 5.11 in Craft 2018-06-29 10:57:24 +02:00
Jenkins for ownCloud
3e40166ad2 [tx-robot] updated from transifex 2018-06-29 02:18:40 +02:00
Jenkins for ownCloud
dc14dae63d [tx-robot] updated from transifex 2018-06-28 02:18:41 +02:00
Olivier Goffart
c095a0f25b Fix MIRALL_STRINGIFY for empty defines in MSVC 2018-06-27 18:42:10 +02:00
Olivier Goffart
347d35ae5d OAuth: Remove the timeout
There is no real reason to have a timeout. The connection can stay open
as long as we are not authenticated. The User can still re-open a browser
from the UI at any time.

Issue #6612
2018-06-27 15:10:09 +02:00
Dominik Schmidt
ea94c414b2 Update libcrashreporter-qt to support Qt 5.11 2018-06-27 12:32:17 +02:00
Markus Goetz
150d4f5935 MSI: Always with logfile #6609 2018-06-27 10:25:33 +02:00
Dominik Schmidt
e2a8975ad8 Extract filename of updateFile without leading slash 2018-06-27 10:25:33 +02:00
Dominik Schmidt
0dc8bde694 Escape msi and owncloud.exe path (who knows...) 2018-06-27 10:25:33 +02:00
Dominik Schmidt
4d826a3d21 Run msi properly and restart client after update 2018-06-27 10:25:33 +02:00
Dominik Schmidt
52bccac23a Implement basic .msi support in updater 2018-06-27 10:25:33 +02:00
Jenkins for ownCloud
399046c7d5 [tx-robot] updated from transifex 2018-06-27 02:18:42 +02:00
Dominik Schmidt
07e2230dd9 ECMAddAppIconMacro: Rename OUTFILE_BASE to OUTFILE_BASENAME and fix sidebar icon resolutions 2018-06-27 01:28:44 +02:00