Commit graph

1464 commits

Author SHA1 Message Date
abraunegg 814d364c13 Update libcurl socket reuse handling
* Clarify CURLOPT_CONNECTTIMEOUT in documentation
* Clarify CURLOPT_TIMEOUT in documentation
* Add 'threads' as a config file option to control the number of threads used, default of 8, max of 16
* Change CURLOPT_CONNECTTIMEOUT value to v2.4.x value default of 10 seconds
* Configure libcurl to reuse connections
2024-01-20 06:15:33 +11:00
abraunegg 4e93777d7a Fix edge case file upload bugs when using --local-first
* Add PR 2527v2 to 'alpha-5': Fix edge case file upload bugs when using --local-first
2024-01-20 05:09:17 +11:00
abraunegg e470b21818 Update sync.d
* Add UTC note when detailing that there is a time difference
2024-01-19 09:08:50 +11:00
abraunegg a1f10cc5eb Update sync.d
* Add further timestamp qualifications
2024-01-18 18:56:22 +11:00
abraunegg e8406b719e Reinstate safeRename for online item moves
Reinstate safeRename for online item moves
2024-01-17 09:46:36 +11:00
abraunegg c328b029c5 Fix debug output
* Fix debug output
2024-01-17 09:04:42 +11:00
abraunegg b1a07a25f5 Update sync.d
* If timestamp needs to be corrected, return false so that the correct actions can be taken
* If in a --download-only scenario, do not update the timestamp online
2024-01-17 08:53:50 +11:00
abraunegg cda8317ef3 Fix that --dry-run prevents authorization
Fix that --dry-run prevents authorization
2024-01-16 06:11:16 +11:00
abraunegg c5f2ec4622 Update sync.d
Fix reported bug where the online date is being changed in download-only mode
2024-01-16 05:19:25 +11:00
abraunegg a5be48dea9 Update curlEngine.d
Update comment for libcurl forbid_reuse
2024-01-14 12:00:18 +11:00
abraunegg 67a2b4bed4 Update config.d
* Ensure that we load the 'skip_file' defaults when attempting to compare any configuration file entry changes
2024-01-14 08:05:26 +11:00
abraunegg 23f2e2f835 Implement Docker capability to disable validations
* Implement Docker options to utilise --disable-download-validation and --disable-upload-validation
2024-01-14 07:39:51 +11:00
abraunegg 635102e8af Perform DB scan earlier and reuse result
* Remove potentially redundant applicability check of a path if this is already in the database. This is a manual merge of #2525
2024-01-14 07:17:25 +11:00
abraunegg 5dee97700e If requesting --help, dont attempt to load any 'config' file
* If requesting --help, dont attempt to load any 'config' file
2024-01-14 06:54:15 +11:00
abraunegg aab6c87d69 Malformed config line handling
Malformed config line should cause the application to exit. This then prevents malformed lines which might be valid configuration items, from not being read in, thus, causing incorrect application function based on expectations.
2024-01-13 18:08:55 +11:00
abraunegg 0ce088f0e2 Update 'root:' removal for 'skip_dir' path checking
* Update 'root:' removal for 'skip_dir' path checking
2024-01-13 16:03:43 +11:00
abraunegg d20b62da57 Fix 'config' file parsing and option handling
Fix that 'config' does not load when a deprecated option is at the beginning of the config file
2024-01-13 07:46:47 +11:00
abraunegg b5988f7aff Update curlEngine.d
* Re-introduce CURLOPT_FORBID_REUSE setting from 'alpha-2'
2024-01-12 11:44:57 +11:00
abraunegg a089b85bff Update config.d
Implement refactored and optimised applicationChangeWhereResyncRequired() function
2024-01-12 11:21:45 +11:00
abraunegg 3e86fe4f2a Update config.d
* Add logging output for what IP protocol is going to be used to access Microsoft OneDrive
2024-01-12 06:05:28 +11:00
abraunegg 9396478caa Update monitor.d
* Update inotify event handling where files might be temporarily moved by applications. This scenario is common with certain text editors (like Vim with specific configurations), which can lead to misleading file deletion detections.
2024-01-12 06:01:42 +11:00
abraunegg e4a6d62072 Update sync.d
* Cleanup array memory before we start adding files
2024-01-11 20:52:41 +11:00
abraunegg 34407b451f Update sync.d
* Just sync the triggered file, no scan of parent directory
2024-01-11 12:26:38 +11:00
abraunegg ca8c2d1bdc Fix zero byte file handling
* Fix zero byte file handling
2024-01-11 10:51:18 +11:00
abraunegg 859cd5d267 Update application-config-options.md
* Update docs
2024-01-10 19:13:28 +11:00
abraunegg 220943b6ab Re-add documents
Re-add documents
2024-01-09 09:27:57 +11:00
abraunegg f93e3a465d Delete readme & changelog due to POSIX issue
* Delete readme & changelog due to POSIX issue
2024-01-09 09:27:15 +11:00
abraunegg 89b467e2e8 Re-add documents
* Re-add documents
2024-01-09 09:24:29 +11:00
abraunegg 58598f8076 Delete documents again as POSIX rename failure
* Delete documents again as POSIX rename failure
2024-01-09 09:23:48 +11:00
abraunegg 48a803aa46 Initial commit of onedrive-v2.5.0-alpha-5
* Initial commit of onedrive-v2.5.0-alpha-5
2024-01-09 09:13:17 +11:00
abraunegg 1a88d33be3 Backport v2.5.x documentation changes
* Backport v2.5.x documentation changes for Docker and Podman
2023-11-16 09:15:30 +11:00
abraunegg 6282ec9e3b Update ubuntu-package-install.md
* Update doc to align to v2.5.x version
2023-11-10 04:50:50 +11:00
abraunegg 4a60654e3f
Update USAGE.md
* Fix documentation regarding skip_file example
2023-09-25 08:04:29 +10:00
abraunegg a74ff589f8
Update USAGE.md (#2488)
* Add classify_as_big_delete
2023-09-14 07:06:56 +10:00
abraunegg 651aa16844
Update application-security.md
* Fix spelling error
2023-09-11 10:16:50 +10:00
abraunegg 85f99cb899
Update Security Documents (#2484)
* Update Security Documents
2023-09-11 07:26:14 +10:00
abraunegg d712dd6093
Update USAGE.md
* Add note about minimum value for ''monitor_interval'
2023-08-31 09:55:54 +10:00
abraunegg 43b0bed4cb
Fix debugging log output when reporting file size and hash mismatch (#2473)
* Fix debug logging output with correct hash values as these were switched
* Only calculate local file size post download once and reuse value
2023-08-24 18:08:21 +10:00
Flynn Duniho fc5cbaf2e9
Fix typo in USAGE.md (#2466)
* Fix typo in USAGE.md
2023-08-07 12:44:40 +10:00
abraunegg 50d80d333e
Add Debian 12 to documentation (#2459)
* Add Debian 12 to documentation
2023-07-27 05:32:20 +10:00
Gonçalo Martins 99271a45de
Add --no-remote-delete flag to docker entrypoint (#2453)
* Add --no-remote-delete flag to docker entrypoint

---------

Co-authored-by: Gonçalo Martins <g.martins@revolut.com>
Co-authored-by: abraunegg <alex.braunegg@gmail.com>
2023-07-24 10:41:06 +10:00
abraunegg fb0a5f0796
Fix unhandled exception when authurl path is non-existent (#2456)
* Catch an unhandled exception when the user sets the authurl file to a location that cannot be accessed
2023-07-23 10:13:03 +10:00
abraunegg 94ccb7a6d0 Update webhook example configuration documentation
* Update webhook example configuration based on #2447
2023-07-11 18:09:45 +02:00
abraunegg b2bf6aa475
Release files for 2.4.25 (#2440)
* Release files for 2.4.25
2023-06-21 15:30:40 +10:00
abraunegg 268dcf9120
Fix that zero-byte files do not have a hash as reported by the OneDrive API thus should not generate an error message (#2436)
* The OneDrive API does not present a hash for all files, most notably those that are zero byte in size (this may be fixed by the OneDrive API in the future). Add a wrapper to the existing makeItem function to test the file size before working out if this is a going to be a problem and if it is, then print out an error message if the file size is greater than 0 including either the full filename path or the items id.
2023-06-21 13:21:05 +10:00
abraunegg f5edb8b394
Update Docker files June 2023 (#2438)
* Update Docker Files June 2023 and Documentation
2023-06-21 12:59:46 +10:00
abraunegg 4b32dbf12d
Update testbuild.yaml (#2439)
* Update testbuild.yaml and downgrade to Ubuntu 20.04
2023-06-21 11:15:56 +10:00
abraunegg 628a85dc93
Add Ubuntu 23.04 Instructions (#2437)
* Add Ubuntu 23.04 Instructions
2023-06-21 10:54:07 +10:00
abraunegg 3340fcca6a
Update util.d (#2428)
* Remove running version obsolete flag as this causes a false flagging as obsolete
2023-06-20 11:18:20 +10:00
abraunegg 25cc361277
Release files for 2.4.24 v2 (#2427)
* Release files for 2.4.24 v2 to correct incorrect configure.ac version
2023-06-20 10:48:08 +10:00