abraunegg
23f8e2d974
Update onedrive.d
...
* Use variable as set
2024-01-09 07:34:12 +11:00
abraunegg
06026c2c5b
Update sync.d
...
* Add missing log output for new file adds
2024-01-09 06:46:59 +11:00
abraunegg
e32d32ed03
Fix 'Unexpected end of input ..' output message
...
* Resolve 'Unexpected end of input when converting from type string to type ulong' due to handleLocalFileTrigger() being triggered post a directory creation event and scanning the entire path for new data taking precedence.
2024-01-08 14:53:33 +11:00
abraunegg
aa2ecdc2d9
Remove CurlOption.ssl_verifypeer configuration
...
* Remove CurlOption.ssl_verifypeer configuration which was added when developing the multi-threaded transfer handling and OpenSSL was causing issues due to insufficient file handles to open the read of the CA Certificate. If the SSL CA Certificate cannot be read, we should hard exit.
2024-01-08 08:04:55 +11:00
abraunegg
d05a8f581e
Update sync.d
...
* Comment updates
2024-01-08 07:38:55 +11:00
abraunegg
8f0a6d13c6
Update sync.d
...
* Catch an error when the file being uploaded disappears during session upload
2024-01-07 20:18:28 +11:00
abraunegg
8a7a85062c
Fix up large file handling output
...
* Fix up large file handling output
* Fix calculation error for upload fragments
2024-01-07 13:19:55 +11:00
abraunegg
abe4439014
Update code
...
* Add back in missing note when application is authorised
2024-01-07 10:09:26 +11:00
abraunegg
019dedabb0
Update code
...
* Update function comments
* Define a better function and use for checking for HTML URL encoded items in API response JSON elements
2024-01-07 08:33:28 +11:00
abraunegg
38155ed7c0
Update util.d
...
* Function optimisations
2024-01-04 08:09:06 +11:00
abraunegg
ad43792700
Update functions
...
* Update functions
2024-01-03 09:43:44 +11:00
abraunegg
2d9bdd1597
Update OneDrive Personal Shared Folder Handling
...
* Update OneDrive Personal Shared Folder Handling
* Revalidate OneDrive Business Shared Folder Handling
2023-12-23 07:45:48 +11:00
abraunegg
86b8c36d36
Update sync.d
...
* Update that new folders could not be created on shared folders (personal accounts)
2023-12-22 11:37:20 +11:00
abraunegg
6437b7e252
Update PR
...
* Update logging handling
* Add DB Tie Record for Personal Shared Folder where shared folder is in the 'root' of the 'external' account
2023-12-21 22:09:46 +11:00
abraunegg
8de323edbb
Update logging output
...
* Update logging output
2023-12-21 20:55:33 +11:00
abraunegg
bce3e7f69a
Update main.d
...
* Exit handler for --version only
2023-12-21 18:37:55 +11:00
abraunegg
a082ef4596
Revert "Update main.d"
...
This reverts commit e9ce8e617b
.
2023-12-21 18:36:14 +11:00
abraunegg
e9ce8e617b
Update main.d
...
* Update exit handling
2023-12-21 18:33:52 +11:00
abraunegg
a8534e057b
Update buffered logging
...
* Update buffered logging
2023-12-21 18:13:56 +11:00
abraunegg
f91b2344ae
Remove progress.d
...
* Remove progress.d
2023-12-20 18:46:56 +11:00
abraunegg
c399701ab3
Update buffered logging
...
* Update buffered logging
2023-12-17 11:10:29 +11:00
abraunegg
76d7f1129c
Update util.d
...
* Refactor isValidName to ensure compliance with Microsoft restrictions and limitations for OneDrive and SharePoint regarding invalid characters and invalid file or folder names
2023-12-10 10:20:35 +11:00
abraunegg
2a3fdd9d20
Implement buffered logging
...
* Implement buffered logging so that all threads can write to the console and log file in a consistent and safe manner
2023-12-09 09:19:57 +11:00
abraunegg
52b9a610a1
Merge branch 'pr/2560' into onedrive-v2.5.0-alpha-4
2023-12-09 06:28:10 +11:00
“JKLeckr”
51506201b7
Cleaned up the removal of argument --operation-timeout
2023-12-07 19:59:29 -06:00
abraunegg
93c8647734
Update to v2.5.0-alpha-4
...
* Update to v2.5.0-alpha-4
2023-12-02 06:23:33 +11:00
abraunegg
5fbfc49e32
Handle --upload-only & --remove-source-files for upload session resumption
...
* Handle --upload-only & --remove-source-files for upload session resumption
2023-11-09 13:37:45 +11:00
abraunegg
bcc77b79eb
Add resumable session uploads
...
* Check the system for any session files, that indicate that a session upload did not complete
* Change from using a CRC32 of the file, to a random 16 character alphanumeric string to use as the session filename extension as it is not computationally valid to do a CRC32 on large files
2023-11-09 12:20:11 +11:00
abraunegg
423bf07b77
Replace safeRename() with safeBackup()
...
* Finally replace safeRename() with safeBackup() to ensure consistent messaging and process when a local file is being renamed.
2023-11-08 15:30:31 +11:00
abraunegg
677f0764ff
Update PR
...
* Update PR to add a test for entrypoint.sh to exist, to assist with Docker first run scenario
2023-11-01 16:07:41 +11:00
abraunegg
673c0a25ed
Update config.d
...
* When --syncdir is being used, and no initial config file exists, write the --syncdir value to a new default configuration file, so that when the client is run again, the --syncdir value is used. If an existing config file is present, update the sync_dir config value that was passed in, but only if it is different to the existing set value
2023-11-01 05:09:13 +11:00
abraunegg
3798e1acd0
Fix memory leak on exit when using webhooks
...
* Fix memory leak on exit when using webhooks
2023-10-29 08:04:57 +11:00
abraunegg
4df36ffbbe
Fix webhook application hang on exit
...
* Import d9fee18b28
manually
2023-10-28 07:21:54 +11:00
abraunegg
16595efbdb
Update FR #2359
...
Update --display-quota output to:
Deleted: 8.19 GB (8793627814 bytes)
Remaining: 25580.69 GB (27467060611614 bytes)
State: normal
Total: 25600.00 GB (27487790694400 bytes)
Used: 11.12 GB (11936454972 bytes)
2023-10-27 05:27:38 +11:00
abraunegg
8979bf7437
Update main.d
...
* Fix exit coredump when using -s -v
2023-10-27 05:26:02 +11:00
abraunegg
6bb380c306
Update main.d
...
* Update exit scope handling, ensure that oneDriveApiInstance is shutdown otherwise memory leak occurs on exit
PRECHANGE:
==442773== LEAK SUMMARY:
==442773== definitely lost: 0 bytes in 0 blocks
==442773== indirectly lost: 0 bytes in 0 blocks
==442773== possibly lost: 32 bytes in 1 blocks
==442773== still reachable: 175,810 bytes in 13 blocks
==442773== suppressed: 0 bytes in 0 blocks
POSTCHANGE:
==450812== LEAK SUMMARY:
==450812== definitely lost: 0 bytes in 0 blocks
==450812== indirectly lost: 0 bytes in 0 blocks
==450812== possibly lost: 32 bytes in 1 blocks
==450812== still reachable: 153,856 bytes in 5 blocks
==450812== suppressed: 0 bytes in 0 blocks
2023-10-26 06:23:05 +11:00
abraunegg
58d17d5e89
Update main.d
...
* Simplify existing shutdown cleanup before #2519 is merged
2023-10-25 15:03:15 +11:00
abraunegg
b3a1e4acb5
Add debug output to determine DB access threadsafe value
...
* Add debug output to determine DB access threadsafe value
2023-10-25 09:14:46 +11:00
abraunegg
b9f20cd357
Update main.d
...
* Wait for all parallel jobs that depend on the database to complete - added from f86c4b9d9e
2023-10-25 08:36:16 +11:00
JC-comp
1d29ca0489
Fix curl reusing socket ( #2526 )
...
* Fix curl reusing socket
2023-10-25 07:20:16 +11:00
abraunegg
5dedd26359
Update onedrive.d
...
* Cherry pick 5a4a351ea5
Fix by @JC-comp
2023-10-23 09:59:27 +11:00
abraunegg
5fddd74570
Update onedrive.d
...
* Add missing curlEngine.http.clearRequestHeaders(); from 'patch' and 'post'
2023-10-23 09:40:53 +11:00
abraunegg
77c294ba0c
Implement --display-quota
...
* Implement --display-quota
2023-10-20 08:53:59 +11:00
abraunegg
d7ea79773f
Update sync.d
...
* Add a check when using --download-only to test if the file already exists locally, and if it does, has the local file been modified since the file was last downloaded. If it has, then rename the existing file to preserve it to prevent local data loss
2023-10-20 05:45:33 +11:00
abraunegg
2257f0ba92
Update PR
...
* Fix onedrive -s --download-only
* Fix onedrive -s --download-only --local-first
2023-10-19 21:27:03 +11:00
abraunegg
25015daf11
Update config.d
...
* --download-only and --local-first cannot be used together
2023-10-19 21:09:07 +11:00
abraunegg
144985550f
Update PR
...
* Add documentation notes for webhooks
* Fix variable naming
2023-10-19 18:37:14 +11:00
abraunegg
158a571738
Update webhook feature with #2516 changes
...
* Update webhook feature with #2516 changes
2023-10-19 16:33:25 +11:00
abraunegg
d653ff33a5
Update sync.d
...
* Fix that the '.' were not being printed in --verbose mode for fetching the /delta response
2023-10-19 10:05:36 +11:00
abraunegg
3a3c954756
Add webhook functionality back in
...
* Add webhook functionality back in
2023-10-19 06:48:25 +11:00