Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-15Fix wrong status displayed for files moved on the serverHannah von Reth
Completed was emitted before the database entry was created in PropagateDirectory::slotSubJobsFinished.
2021-12-13Handle local errors with the ignore listHannah von Reth
Fixes: #9208, #9133
2021-09-28Fix dehydration of read only filesHannah von Reth
2021-09-21Allow up to 20000 sync issuesHannah von Reth
2021-09-15Fix crash on missing sync rootHannah von Reth
Fixes: #9016
2021-09-15Fix crash on shutdownHannah von Reth
Fixes: #9014
2021-07-29Always use the propagatorHannah von Reth
2021-07-29Unify calls to updateMetadataHannah von Reth
We now call convertToPlacholder in vfs->updateMetaData. We now always go through the propagator to prevent code duplication.
2021-07-23Display excludes caused by .owncloud files in the issue widgetHannah von Reth
2021-07-23Use a set for SyncFileItemVectorHannah von Reth
Prevent duplicates and guarantee sorting
2021-06-24Replace complex loop with reverse iteratorHannah von Reth
2021-06-16Remove possible qt containers detach (#8727)Aleksey Lysenko
* Replaced obsolete foreach-loops with for-loops * Added a copy of queries into SqlDatabase::close * Used const reference to avoid unneeded copying * Fixed Qt containers possible detach within for-loop * Removed unneeded copies before for-loops
2021-06-15Replaced QFileInfo(file).exists() with a static QFileInfo::exists(file)Oleksii Lysenko
2021-04-26Remove now unused varHannah von Reth
2021-03-22Filter sync items before we start propagationHannah von Reth
2021-03-01Add socket command to upload a selection of files based on a regexHannah von Reth
2021-02-25Use byte array for etagHannah von Reth
2021-02-19Add missing Q_EMITHannah von Reth
2021-02-11Remove PollJob supportHannah von Reth
2020-12-21Merge remote-tracking branch 'origin/2.7' into masterHannah von Reth
2020-12-21Fix a possible crash with the remove all files dialogHannah von Reth
2020-12-17Merge remote-tracking branch 'origin/2.7' into masterHannah von Reth
2020-12-17Handle errors in convertToPlaceholderHannah von Reth
2020-12-07Use time the request was send,..Hannah von Reth
not when it was processed by the client, to determine the quality of the connection.
2020-10-21Ensure the callback is triggeredHannah von Reth
2020-10-21Don`t block main thread when displaying all files removed dialogHannah von Reth
Fixes: #8170
2020-09-22Use verbose function names instead of direct member accessHannah von Reth
2020-09-15Use stict QStrings for libsyncHannah von Reth
2020-07-15Fix assert overload, not supported by msvcHannah von Reth
warning C4002: too many arguments for function-like macro invocation 'ENFORCE_1'
2020-04-23Rename csync_instructions_e -> SyncInsturctionsHannah von Reth
2020-02-10SyncEngine: no need to use QAtomicIntOlivier Goffart
This was done because the propagator jobs where running in a thread a long time ago, but this is no longer the case. (Also QAtomicInt::load is marked as deprecated now)
2020-02-10Run clang-tidy check for modernize-use-nullptrOlivier Goffart
2019-11-18Don't show the "All files deleted" popup when unselecting everything with ↵Olivier Goffart
selective sync Issue #7337
2019-11-03VFS: Do not overwrite existing files by placeholderOlivier Goffart
For issue #7557 and #7556 Note: this change the API of the VFS plugin, so the VFS plugin needs small adaptations
2019-10-14SyncEngine: Save a bit of memory by not keeping a set of all filenameOlivier Goffart
This is only used for conflict files, so only save conflict files. (The _seenFile was used for other things in 2.5, but not anymore)
2019-09-09Reconcile: Sort already during discovery #7445Markus Goetz
2019-09-02Discovery: If a move is forbidden, restore the sourceChristian Kamm
Previously the source was deleted (or attempted to be deleted), even if the new location was not acceptable for upload. This could make data unavilable on the server. For #7410
2019-07-31SyncEngine: Don't duplicate fatal errorsChristian Kamm
Previously fatal error texts were duplicated: Once they entered the SyncResult via the SyncFileItem and once via syncError(). syncError is intended for folder-wide sync issues that are not pinned to particular files. Thus that duplicated path is removed. For #5088
2019-07-24Vfs: Add hook to allow update-metadata for unchanged filesChristian Kamm
Allows winvfs to convert files to placeholders when vfs is enabled. This is required to mark files as in-sync #7329.
2019-06-27VfsSuffix: Wipe stale pin states #7273Christian Kamm
Previously the pin states of deleted files stayed in the 'flags' database and could be inadvertently reused when a new file with the same name appeared. Now they are deleted. To make this work right, the meaning of the 'path' column in the 'flags' table was changed: Previously it never had the .owncloud file suffix. Now it's the same as in metadata.path. This takes the safe parts from #7274 for inclusion in 2.6. The more elaborate database schema changes (why use 'path' the join the two tables in the first place?) shall go into master.
2019-06-04SyncEngine: Fix renaming a single file cause the "delete all file" popupOlivier Goffart
Possibly a regression, since the new discovery discovers rist the renamed files as removed Issue #7204
2019-04-26Vfs: Mark sqlite temporaries excluded on db-open #7141Christian Kamm
The previous patch ensured that the sqlite temporaries weren't deleted and recreated for every sync run, but there was still time between client startup and the first sync run where they would have the "needs-sync" icon.
2019-04-16SyncEngine: Don't close db when done #7141Christian Kamm
The db-close operation is likely a leftover from when the SyncEngine owned its own db connection and serves no purpose anymore. Closing the db causes the removal of the temporary wal and shm files. These files are recreated when the db is opened again, which happens almost immediately. This is a problem for winvfs because the delete-recreate step wipes the exclusion state on these files just after the sync is done. That meant that the db temporaries permanently had a "needs sync" icon marker shown in the explorer. Avoiding reopening the db also reduces the number of log messages per sync.
2019-04-11PropagateIgnore: Default to NormalError for INSTRUCTION_ERRORChristian Kamm
Previously if one set the instruction to ERROR while forgetting to set an error status, it'd propagate as FileIgnored. Now the default is NormalError for INSTRUCTION_ERROR and FileIgnored for INSTRUCTION_IGNORE.
2019-02-14Ensure local discovery on selective sync changesloai_docsChristian Kamm
As far as I'm aware local discovery can be skipped on folders that are selective-sync blacklisted, so a local discovery is required when an entry is removed from the blacklist. Also rename avoidReadFromDbOnNextSync() -> schedulePathForRemoteDiscovery() since the old name might also imply it's not read from db in the local discovery - which is not the case. Use Folder:: schedulePathForLocalDiscovery() for that.
2019-02-14Fix warnings about signednessChristian Kamm
Sizes are always qint64, not unsigned. TransferIds are always uint.
2019-02-11Pin state updatesChristian Kamm
- unspecified and inherited are different - move enum to header in common/ - access through Vfs instead of directly in Journal
2019-02-11Vfs: Clarify SyncEngine::wipeVirtualFiles()Christian Kamm
Possibly the behavior should actually change and the function should de-placeholder all items, not just dehydrated ones.
2019-02-11Discovery: Add signal for silentlyExcluded filesChristian Kamm
This allows SyncFileStatusTracker to also know about these. After all its information is used to provide icons for them too.
2019-02-11Vfs: Make files that end up in db placeholdersChristian Kamm
Since 'placeholder' just means that it's an item of the special type that the vfs plugin can deal with - no matter whether hydrated or dehydrated - all done items should become placeholders. Even directories. Now every file that passes through updateMetadata() will be converted to a placeholder if necessary.