nextcloud-desktop/src/libsync
Michael Schuster ce71ffe9f9 Allow server URL to be pre-defined without enforcing it to be used unmodified
APPLICATION_SERVER_URL can be either empty or be specified. This commit adds the new CMake option APPLICATION_SERVER_URL_ENFORCE to decide whether to enforce the
URL's unmodified use (like before, default: ON) or to allow modification by the user (new).

By default APPLICATION_SERVER_URL_ENFORCE is set to ON, to no break with the previous implementation's expectations.

If APPLICATION_SERVER_URL is empty, APPLICATION_SERVER_URL_ENFORCE will be ignored by the Account Wizard.

The previous behaviour confused me a bit with branded builds. When the URL was (usually) specified but not forced, it was simply discarded, forcing the user to
manually supply it.

Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-09-23 07:21:35 +00:00
..
creds Enable the modernize-use-equals-default check on clang-tidy 2020-08-13 14:19:42 +02:00
abstractnetworkjob.cpp Merge pull request #2024 from nextcloud/use_raw_string_literals 2020-05-27 05:54:54 +02:00
abstractnetworkjob.h Fix: Apply http2 patch from owncloud #1573 - only with Qt >= 5.8 2019-11-14 02:39:06 +01:00
accessmanager.cpp Fix build with older Qt: Disable http2 for now due to Qt bug, add env var (upstream) 2020-03-02 01:47:00 +01:00
accessmanager.h libsync: run clang-tidy modernize-use-nullptr 2018-11-12 18:46:39 +01:00
account.cpp Fix issue #2108: Default system proxy not working with Account Wizard 2020-06-22 11:59:13 +02:00
account.h Enable the modernize-use-equals-default check on clang-tidy 2020-08-13 14:19:42 +02:00
accountfwd.h Enable the modernize-use-using check on clang-tidy 2020-08-12 18:18:57 +02:00
bandwidthmanager.cpp Enable bugprone-narrowing-conversions clang-tidy check 2020-09-01 06:37:03 +00:00
bandwidthmanager.h Adapt code style in addition to #2300 2020-08-27 01:31:06 +02:00
capabilities.cpp Update our E2E API requirement 2020-07-15 18:39:29 +02:00
capabilities.h Enable the modernize-user-nullptr check on clang-tidy 2020-08-12 19:45:25 +02:00
clientproxy.cpp Fix libsync exports for proxy changes in #1886 2020-06-18 21:05:11 +02:00
clientproxy.h Fix libsync exports for proxy changes in #1886 2020-06-18 21:05:11 +02:00
clientsideencryption.cpp Enable bugprone-narrowing-conversions clang-tidy check 2020-09-01 06:37:03 +00:00
clientsideencryption.h Move the private key salt handling in its own function 2020-08-10 13:13:19 +02:00
clientsideencryptionjobs.cpp E2EE RFC has been updated to use e2e-token instead of token 2020-07-09 16:22:54 +02:00
clientsideencryptionjobs.h Use QHash instead of QMap 2020-06-30 11:29:08 +02:00
CMakeLists.txt Move KeychainChunk class from gui to libsync 2020-07-06 21:51:39 +02:00
configfile.cpp Cleanup auto pointers and qobject casts, refactor KeychainChunk 2020-07-06 21:51:40 +02:00
configfile.h Enable the modernize-use-using check on clang-tidy 2020-08-12 18:18:57 +02:00
cookiejar.cpp Enable the modernize-loop-convert check on clang-tidy 2020-08-13 12:55:14 +00:00
cookiejar.h libsync: run clang-tidy modernize-use-nullptr 2018-11-12 18:46:39 +01:00
discoveryphase.cpp Enable the bugprone-branch-clone clang-tidy check 2020-09-01 06:37:03 +00:00
discoveryphase.h Remove remaining QLinkedList includes in addition to #2300 2020-08-27 03:12:09 +02:00
encryptfolderjob.cpp Delete a space character 2020-07-01 14:10:49 +02:00
encryptfolderjob.h Move the encrypt folder logic in a reusable job class 2020-06-30 11:29:08 +02:00
filesystem.cpp Remove unused c_path 2018-01-13 13:58:17 +01:00
filesystem.h Move non-csync-dependent parts of FileSystem to src/common 2017-09-18 14:00:52 +02:00
libsync.md
logger.cpp Have a filter rule capturing all of nextcloud debug 2020-07-01 15:39:52 +02:00
logger.h [Logger] Ensure log file is flushed before crash 2020-07-01 15:13:20 +02:00
networkjobs.cpp Enable the bugprone-branch-clone clang-tidy check 2020-09-01 06:37:03 +00:00
networkjobs.h Allow to pass extraHeaders to a path based MkColJob 2020-07-09 16:22:54 +02:00
nextcloudtheme.cpp Replace "https://..." hint by "https://host:port" 2020-05-23 18:32:18 +02:00
nextcloudtheme.h Show URL placeholder hint in wizard 2020-05-23 18:32:15 +02:00
owncloudpropagator_p.h Add error category for http file lock error status 423. 2019-06-11 23:32:10 +02:00
owncloudpropagator.cpp Enable the bugprone-branch-clone clang-tidy check 2020-09-01 06:37:03 +00:00
owncloudpropagator.h Remove remaining QLinkedList includes in addition to #2300 2020-08-27 03:12:09 +02:00
progressdispatcher.cpp Enable bugprone-narrowing-conversions clang-tidy check 2020-09-01 06:37:03 +00:00
progressdispatcher.h Use default member init when applicable 2020-06-03 16:10:39 +02:00
propagatedownload.cpp Deal properly with encrypted item updates accross connections 2020-07-01 16:58:29 +00:00
propagatedownload.h libsync: run clang-tidy modernize-use-nullptr 2018-11-12 18:46:39 +01:00
propagatedownloadencrypted.cpp Deal properly with encrypted item updates accross connections 2020-07-01 16:58:29 +00:00
propagatedownloadencrypted.h Take care of mangled paths on download as well 2020-06-30 11:29:08 +02:00
propagateremotedelete.cpp Prevent parallelism when deleting encrypted files 2020-07-09 16:22:54 +02:00
propagateremotedelete.h Prevent parallelism when deleting encrypted files 2020-07-09 16:22:54 +02:00
propagateremotedeleteencrypted.cpp Stop unlocking from within PropagateRemoteDeleteEncrypted 2020-07-09 16:22:54 +02:00
propagateremotedeleteencrypted.h Stop unlocking from within PropagateRemoteDeleteEncrypted 2020-07-09 16:22:54 +02:00
propagateremotemkdir.cpp Disable parallelism if we think the parent is e2e 2020-07-15 13:05:54 +02:00
propagateremotemkdir.h Allow to override the parallelism 2020-07-15 13:05:11 +02:00
propagateremotemove.cpp Enable the modernize-loop-convert check on clang-tidy 2020-08-13 12:55:14 +00:00
propagateremotemove.h libsync: run clang-tidy modernize-use-nullptr 2018-11-12 18:46:39 +01:00
propagateupload.cpp Enable bugprone-narrowing-conversions clang-tidy check 2020-09-01 06:37:03 +00:00
propagateupload.h Enable bugprone-narrowing-conversions clang-tidy check 2020-09-01 06:37:03 +00:00
propagateuploadencrypted.cpp Use httpd/unix-directory mimetype for E2EE folders 2020-08-31 10:08:48 +00:00
propagateuploadencrypted.h Fix parenting issues of PropagateUploadEncrypted 2020-06-30 11:29:08 +02:00
propagateuploadng.cpp Upload: Store the size in the UploadInfo, and compare it when resolving potential conflict 2020-08-13 16:46:08 +02:00
propagateuploadv1.cpp Upload: Store the size in the UploadInfo, and compare it when resolving potential conflict 2020-08-13 16:46:08 +02:00
propagatorjobs.cpp Enable the modernize-deprecated-headers check on clang-tidy 2020-08-13 14:53:52 +02:00
propagatorjobs.h Take care of mangled paths on download as well 2020-06-30 11:29:08 +02:00
syncengine.cpp Enable bugprone-narrowing-conversions clang-tidy check 2020-09-01 06:37:03 +00:00
syncengine.h Enable the modernize-deprecated-headers check on clang-tidy 2020-08-13 14:53:52 +02:00
syncfileitem.cpp Remove table for e2e and add an e2eMangledName column (#169) 2018-02-12 12:50:51 +01:00
syncfileitem.h Enable the modernize-use-using check on clang-tidy 2020-08-12 18:18:57 +02:00
syncfilestatus.cpp Enable the modernize-use-equals-default check on clang-tidy 2020-08-13 14:19:42 +02:00
syncfilestatus.h Use default member init when applicable 2020-06-03 16:10:39 +02:00
syncfilestatustracker.cpp Make sure we don't assert when calling fileStatus 2020-08-18 13:52:28 +02:00
syncfilestatustracker.h Enable the modernize-use-using check on clang-tidy 2020-08-12 18:18:57 +02:00
syncoptions.h Use std::chrono::milliseconds to represent milliseconds 2018-06-06 17:26:53 +02:00
syncresult.cpp Enable the modernize-use-equals-default check on clang-tidy 2020-08-13 14:19:42 +02:00
syncresult.h Use default member init when applicable 2020-06-03 16:10:39 +02:00
theme.cpp Allow server URL to be pre-defined without enforcing it to be used unmodified 2020-09-23 07:21:35 +00:00
theme.h Allow server URL to be pre-defined without enforcing it to be used unmodified 2020-09-23 07:21:35 +00:00
wordlist.cpp Enable bugprone-narrowing-conversions clang-tidy check 2020-09-01 06:37:03 +00:00
wordlist.h [cse] new method, getUnifiedString 2017-10-18 21:51:38 +02:00