nextcloud-desktop/src/libsync
Olivier Goffart a3f4907e0b AccessManager: don't set an invalid network configuration on linux (#5538)
If we call
 setConfiguration(QNetworkConfiguration());
This sets an invalid configuration on the QNAM.
But later, when we really go online because interfaces are discovered,
QNetworkAccessManagerPrivate::_q_onlineStateChanged is called (with isOnline=true).
And this will set the state to disconnected because customNetworkConfiguration is
true, and the networkConfiguration state is disabled.

The workaround we to fix another bug on Windows in which the default network
configuration was not behaving properly.

The issue on linux is hard to reproduce and only happen in some condition,
but it was reproduced on smashbox when they run two owncloudcmd at the same time.

Issues: #4720 , #3600
2017-02-16 16:14:55 +01:00
..
creds Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
abstractnetworkjob.cpp Remove SyncFileItem::_requestDuration #5456 2017-01-26 17:13:54 +01:00
abstractnetworkjob.h Remove SyncFileItem::_requestDuration #5456 2017-01-26 17:13:54 +01:00
accessmanager.cpp AccessManager: don't set an invalid network configuration on linux (#5538) 2017-02-16 16:14:55 +01:00
accessmanager.h License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
account.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
account.h Cookies: Use different DB for different accounts (#5490) 2017-01-26 10:54:03 +01:00
accountfwd.h License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
asserts.h Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
bandwidthmanager.cpp libtypos comment and message typos for master 2015-10-05 09:05:09 +05:45
bandwidthmanager.h Use doxygen style everywhere 2015-06-29 18:56:09 +02:00
capabilities.cpp Reset stuck chunked uploads eventually #5344 (#5443) 2017-01-13 14:44:45 +01:00
capabilities.h Reset stuck chunked uploads eventually #5344 (#5443) 2017-01-13 14:44:45 +01:00
checksums.cpp Don't reallocate a QByteArray for each contentChecksumType call #5481 2017-01-26 17:13:54 +01:00
checksums.h Checksums: remove the downloadChecksumValidationEnabled option 2016-04-21 11:43:44 +02:00
clientproxy.cpp License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
clientproxy.h License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
CMakeLists.txt Revert "Disable RTTI" 2017-02-07 17:35:04 +01:00
configfile.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
configfile.h Wizard: Add options to ask confirmation for external storage 2017-01-27 15:59:59 +01:00
connectionvalidator.cpp Fix up SSL client certificates #5213 #69 (#5289) 2017-01-02 08:34:02 +01:00
connectionvalidator.h Merge pull request #5272 from owncloud/licensefix-pending 2016-11-18 15:14:47 +01:00
cookiejar.cpp Cookies: Use different DB for different accounts (#5490) 2017-01-26 10:54:03 +01:00
cookiejar.h Cookies: Use different DB for different accounts (#5490) 2017-01-26 10:54:03 +01:00
discoveryphase.cpp Merge pull request #5518 from ckamm/asserts 2017-02-08 15:25:02 +01:00
discoveryphase.h CentOS: Another fix for old compiler version (2) 2017-02-07 19:22:04 +01:00
excludedfiles.cpp Don't use the StopWatch for each job in production builds #5456 2017-01-26 17:13:54 +01:00
excludedfiles.h Don't use the StopWatch for each job in production builds #5456 2017-01-26 17:13:54 +01:00
filesystem.cpp Folder: Make folder only accessible by user #5282 (#5315) 2016-11-23 11:05:41 +01:00
filesystem.h Fix the UNIT_TESTING build on Windows 2017-02-14 14:32:41 +01:00
libsync.md Structure developer documentation 2015-06-29 18:43:21 +02:00
logger.cpp Fix the log window not showing csync logs 2016-12-09 10:03:46 +01:00
logger.h Fix the log window not showing csync logs 2016-12-09 10:03:46 +01:00
networkjobs.cpp Fix up SSL client certificates #5213 #69 (#5289) 2017-01-02 08:34:02 +01:00
networkjobs.h Chunking-NG: add some headers when uploading chunks 2016-09-16 16:36:46 +02:00
owncloudpropagator.cpp Fix TestSyncEngine::abortAfterFailedMkdir 2017-02-08 17:32:04 +01:00
owncloudpropagator.h Fix TestSyncEngine::abortAfterFailedMkdir 2017-02-08 17:32:04 +01:00
owncloudpropagator_p.h ETag: Allow parsing of weak tags #3946 2015-10-15 14:57:34 +02:00
owncloudtheme.cpp added missing quotes 2016-11-09 08:59:14 +01:00
owncloudtheme.h Make postfixlineedit more userfriendly, rename email id string to "Email". 2016-04-13 14:56:49 +02:00
ownsql.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
ownsql.h Sql: Allow prepare fail for PRAGMA quick_check #5357 2017-01-03 10:43:29 +01:00
progressdispatcher.cpp Increase initial bandwidth estimates #4428 #5390 2016-12-21 08:53:47 +01:00
progressdispatcher.h Pass the SyncFileItem as SyncFileItemPtr in itemCompleted 2017-01-25 23:26:23 +01:00
propagatedownload.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
propagatedownload.h Propagator, remove the QNAM in the name as the alternative has been removed a long time ago 2016-08-31 10:25:06 +02:00
propagateremotedelete.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
propagateremotedelete.h ChunkingNG: remove stale files when resuming 2016-11-04 16:43:01 +01:00
propagateremotemkdir.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
propagateremotemkdir.h Propagator: Pump in more requests if we think current ones are quick 2016-03-02 15:22:21 +01:00
propagateremotemove.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
propagateremotemove.h Merge remote-tracking branch 'origin/master' into chunking-ng 2016-10-20 09:25:03 +02:00
propagateupload.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
propagateupload.h Pack boolean members in PropagateUploadFileCommon #5457 2017-01-26 17:13:54 +01:00
propagateuploadng.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
propagateuploadv1.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
propagatorjobs.cpp Fix more compilation errors with Qt 4 2017-01-18 10:19:51 +01:00
propagatorjobs.h Propagation: Fix dir <-> file changes propagating to server #4302 2016-01-08 05:38:08 +01:00
syncengine.cpp Recent Changes: Fix duplicates #5256 2017-02-16 15:10:46 +01:00
syncengine.h Merge remote-tracking branch 'origin/master' into 2.3 2017-01-27 17:45:05 +01:00
syncfileitem.h Remove SyncFileItem::_requestDuration #5456 2017-01-26 17:13:54 +01:00
syncfilestatus.cpp Revert "Discovery: consider also the "shared by me" as shared" 2016-11-16 17:45:40 +01:00
syncfilestatus.h Revert "Discovery: consider also the "shared by me" as shared" 2016-11-16 17:45:40 +01:00
syncfilestatustracker.cpp Double check usage of asserts #5429 2017-02-08 15:15:19 +01:00
syncfilestatustracker.h Pass the SyncFileItem as SyncFileItemPtr in itemCompleted 2017-01-25 23:26:23 +01:00
syncjournaldb.cpp Folder: Keep files option after aboutToRemoveAllFiles should not clear selective sync list (#5531) 2017-02-15 13:27:41 +01:00
syncjournaldb.h Folder: Keep files option after aboutToRemoveAllFiles should not clear selective sync list (#5531) 2017-02-15 13:27:41 +01:00
syncjournalfilerecord.cpp Reset stuck chunked uploads eventually #5344 (#5443) 2017-01-13 14:44:45 +01:00
syncjournalfilerecord.h License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
syncresult.cpp Release SyncFileItem objects with their job 2017-01-25 23:26:23 +01:00
syncresult.h Release SyncFileItem objects with their job 2017-01-25 23:26:23 +01:00
theme.cpp Wizard: Increase the size 2017-01-27 15:59:59 +01:00
theme.h Wizard: Add options to ask confirmation for external storage 2017-01-27 15:59:59 +01:00
utility.cpp Fix UtilityTest on macOS 2017-02-14 14:32:41 +01:00
utility.h Merge branch 'master' into dbjournal_per_account 2016-11-23 16:47:56 +01:00
utility_mac.cpp License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
utility_unix.cpp License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
utility_win.cpp License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
version.h.in Reduce the amount of rebuild needed after a git commit 2015-06-17 14:32:34 +02:00