-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/sync unix symlinks as links #6205
base: master
Are you sure you want to change the base?
Feature/sync unix symlinks as links #6205
Commits on Dec 10, 2023
-
gitignore: Ignore clangd-generated directory .cache/
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f4fd60 - Browse repository at this point
Copy the full SHA 4f4fd60View commit details -
cmake: Export compile_commands.json by default
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed5fdd8 - Browse repository at this point
Copy the full SHA ed5fdd8View commit details -
libsync: Remove auto-exclude for symlinks
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5812d5c - Browse repository at this point
Copy the full SHA 5812d5cView commit details -
libsync/common: Store actual type for items
Before, the common assumption was being made that if an item is not a directory, it must be a file (or the other way around). Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40145c9 - Browse repository at this point
Copy the full SHA 40145c9View commit details -
libsync: Add header field OC-File-Type for symlink synchronization
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0370594 - Browse repository at this point
Copy the full SHA 0370594View commit details -
libsync: Add SymLinkUploadDevice for reading symlinks
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d66c704 - Browse repository at this point
Copy the full SHA d66c704View commit details -
libsync: Use SymLinkUploadDevice for single symlink uploads
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c34659b - Browse repository at this point
Copy the full SHA c34659bView commit details -
libsync: Add support for symlinks in bulk uploads
Use SymLinkUploadDevice for symlinks in bulk uploads and add the header field X-File-Type to recognize symlinks on the server. Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7b92b2e - Browse repository at this point
Copy the full SHA 7b92b2eView commit details -
libsync: Fix _read for SymLinkUploadDevice
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 390e8f6 - Browse repository at this point
Copy the full SHA 390e8f6View commit details -
libsync: Allow download of symlinks
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for af53d58 - Browse repository at this point
Copy the full SHA af53d58View commit details -
libsync: Fix Content-Length for symlinks in bulk upload
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aee6601 - Browse repository at this point
Copy the full SHA aee6601View commit details -
common: Do not dereference symlink when checking existence
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a551b24 - Browse repository at this point
Copy the full SHA a551b24View commit details -
libsync: Fix checksum and size for symlinks in bulk upload
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7876341 - Browse repository at this point
Copy the full SHA 7876341View commit details -
libsync: Add symlink type to DiscoveryPhase
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5b8235 - Browse repository at this point
Copy the full SHA c5b8235View commit details -
common: Allow checksum calculation on QIODevice again
This is required to be able to calculate the checksum for symlinks without code duplication. The commit reverts some of the removal done in commit dd178f0. Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 10d0fcc - Browse repository at this point
Copy the full SHA 10d0fccView commit details -
libsync: Add readlink to FileSystem and fix getSize for symlinks
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7c357c - Browse repository at this point
Copy the full SHA e7c357cView commit details -
BulkPropagatorJob: Remove symlink size special case
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 719e014 - Browse repository at this point
Copy the full SHA 719e014View commit details -
FileSystem: Fix fileEquals for symlinks
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f05e93 - Browse repository at this point
Copy the full SHA 8f05e93View commit details -
gui/config: Add symlink synchronization as sync option
This commit reverts the effects of commit "libsync: Remove auto-exclude for symlinks" (5812d5c). Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5d6110 - Browse repository at this point
Copy the full SHA f5d6110View commit details -
Revert "common: Allow checksum calculation on QIODevice again"
This reverts commit 73063eb. Since the checksum calculation on symlinks is required in multiple places, it is better to move this differentiation to the checksum calculation class. Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4866922 - Browse repository at this point
Copy the full SHA 4866922View commit details -
filesystem: Move readlink from libsync/filesystem.h to common/filesys…
…tembase.h Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6df006d - Browse repository at this point
Copy the full SHA 6df006dView commit details -
ChecksumCalculator: Calculate symlink checksum on symlink target
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97f015c - Browse repository at this point
Copy the full SHA 97f015cView commit details -
discoveryphase: Fix local entry size for symlinks
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 845e108 - Browse repository at this point
Copy the full SHA 845e108View commit details -
ChecksumCalculator: Fix creation of QBuffer
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a6df0e - Browse repository at this point
Copy the full SHA 7a6df0eView commit details -
FileSystem: Make readlink C++20 compliant
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81dbb9d - Browse repository at this point
Copy the full SHA 81dbb9dView commit details -
csync/FileSystem: Adjust c_utimes to not follow symlinks
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91a5e54 - Browse repository at this point
Copy the full SHA 91a5e54View commit details -
discovery: Check if symlink for server entries
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5b61b2 - Browse repository at this point
Copy the full SHA d5b61b2View commit details -
OwncloudPropagator: Fix condition for deletion of previous remote item
The issue was introduced in "libsync/common: Store actual type for items". Additionally, the variable/parameter "directoriesToRemove" was renamed to "remoteItemsToRemove" since it could now also be a file or symlink. Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d36b7b9 - Browse repository at this point
Copy the full SHA d36b7b9View commit details -
OwncloudPropagator: Only download symlink if enabled by option
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5bcf57a - Browse repository at this point
Copy the full SHA 5bcf57aView commit details -
PropagateDownloadFile: Allow symlink to be larger than 8kB
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa16c33 - Browse repository at this point
Copy the full SHA fa16c33View commit details -
PropagateDownloadFile/FileSystem: Preserve permissions for symlinks
This commit will preserve the permissions set on the symlink if a new file is downloaded in the same place and the symlink is overwritten. That fixes a bug which caused the downloaded file to become unreadable if the symlink was broken and no permissions could be retrieved. Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f779b3e - Browse repository at this point
Copy the full SHA f779b3eView commit details -
PropagateDownloadFile/FileSystem: Improve previous commit (by mainly …
…undoing it) Instead of copying the permissions on the symlink, use the default permissions in that case. Otherwise, the newly downloaded files might become executable since symlinks often have with all permissions set. Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5265ed4 - Browse repository at this point
Copy the full SHA 5265ed4View commit details -
ConflictDialog: Fix size and mtime for symlinks in conflict resolution
Signed-off-by: Tamino Bauknecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c61a574 - Browse repository at this point
Copy the full SHA c61a574View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38f5dac - Browse repository at this point
Copy the full SHA 38f5dacView commit details