Commit graph

790 commits

Author SHA1 Message Date
abraunegg fc6e2d9cfe
Catch 429 HTTPS return code when query for oneDriveRootDetails fails (#796)
* Catch 429 HTTPS return code when query for oneDriveRootDetails fails & provide error feedback that this was the reason why application initialization failed
2020-02-12 06:16:38 +11:00
Paul Iacomi 1f6c568a44
Dockerfile for Raspberry Pi / ARM (#789)
* Dockerfile for Raspberry Pi / ARM - With thanks to @pauliacomi
2020-02-03 16:59:34 +11:00
abraunegg 2321518faa
Update how the 'username' is determined from the running process for logfile naming (Issue #786) (#787)
* Fix an issue where the 'username' for the running process is not correctly determined on some platforms when enabling logging via --enable-logging
2020-02-03 09:10:57 +11:00
abraunegg 14cd47b56f
Implement #699 - Perform skip_dir explicit match only (#768)
* Implement #699 - Perform skip_dir explicit match only
2020-01-29 16:37:50 +11:00
S 28b37007f2 Add NixOS installation instructions (#785)
I've added installation instructions for both the package and service. However, the language is somewhat informal. (The instructions, while may seem unclear to someone not familiar with NixOS, should actually be perfectly clear to anybody using NixOS, while being brief along the lines of other Distros)
2020-01-28 15:39:25 +11:00
abraunegg f2fe718389
Implement #763 - Delete local files after sync (#767)
* Implement #763 - Delete local files after sync
2020-01-27 08:42:00 +11:00
nrandon 8c7f664199 Fix Docker alpine by adding ldc-runtime to output build (#778)
The runtime dc symbols are missing for the docker output build
image and are applied in the docker build step only. This change
moves the lrc-runtime to the output build image it also removes the
need for symlinking the runtime in the docker build step.
2020-01-18 06:35:27 +11:00
abraunegg b81b9692c7
Update INSTALL.md
* Add Slackware package details
2020-01-11 06:38:55 +11:00
Florian Bruhin 38aa7f063c Fix Office 365 file name in README (#766)
* Fix Office 365 file name in README and link to it
2020-01-07 07:02:31 +11:00
abraunegg 262817a630
Update USAGE.md
* Update USAGE.md with latest details to match current running version
2020-01-03 09:00:33 +11:00
abraunegg a7722229b1
Update README.md
* Add new feature details
* Clarify when & why remote changes are delayed
2020-01-03 08:47:04 +11:00
abraunegg 5c2ad041bd
Implement warning on big deletes to safeguard data on OneDrive (#621)
* When testing changes to onedrive client configuration, the new configuration might be invalid (see #458 for example) and you remove all your data on OneDrive accidentally. This new feature attempts to protect your data on OneDrive when performing large deletes, so that a large delete is detected and asks for confirmation before actually processing this request. This feature does not impact `--monitor` mode of operation, only standalone mode of operation.
2020-01-03 07:46:58 +11:00
abraunegg 2217fc2b97
Update Dockerfile-alpine file to fix Docker build issue (#764)
* Use ldc from Alpine testing for compiler (@jkt628)
2020-01-03 06:43:52 +11:00
abraunegg cf22ec2eb5
Release-2.4.0-dev prep (#761)
* Release-2.4.0-dev prep
2020-01-01 07:50:50 +11:00
abraunegg 02a7781aaa
Release files for 2.3.13 (#760)
* Release files for 2.3.13
2019-12-31 12:47:12 +11:00
abraunegg 8549719df3
Fix --dry-run output to be consistent when using --upload-only & --no-remote-delete (Issue #758)
* Fix --dry-run output when using --upload-only & --no-remote-delete and deleting local files
2019-12-30 10:17:10 +11:00
abraunegg 217d72486d
Change synclist override flag to false as default when not using sync_list (#745)
* Set 'syncListConfiguredOverride' to false by default, only set to true at start if sync_list is true
* Remove logAndNotify as it is excessive for each change bundle to inform the desktop
* Add a log entry when a monitor sync loop with OneDrive starts & completes
2019-12-17 05:32:38 +11:00
abraunegg aaa26a4e7e
Update INSTALL.md build instructions for CentOS platforms (#754)
* Update INSTALL.md build instructions for CentOS platforms
2019-12-14 12:29:54 +11:00
Thomas Drake-Brockman 07c0d16ee9 Update INSTALL.md with details of Linux packages (#752)
* Update INSTALL.md with details of Linux packages
2019-12-14 06:20:29 +11:00
abraunegg c50ad4bfce
Update Ubuntu 16.x i386 instructions (#749)
* Update Ubuntu 16.x i386 instructions to reflect working configuration on legacy hardware
2019-12-13 13:53:05 +11:00
abraunegg aebcffc79a
Release-2.3.13-dev prep (#746)
* Release-2.3.13-dev prep
2019-12-08 14:38:24 +11:00
abraunegg 5228a30799
Release files for 2.3.12 (#742)
* Release files for 2.3.12
2019-12-04 12:01:55 +11:00
abraunegg d15d71eeb4
Update INSTALL.md (#741)
* Add i386 instructions for legacy low memory platforms
2019-12-04 11:40:47 +11:00
abraunegg b4d76435dd
Update Ubuntu i386 build instructions (#739)
* Re-add Ubuntu 16.x i386 build instructions
* Fix Ubuntu 18.x / Lubuntu 18.x / Debian 9 i386 build instructions
2019-11-28 12:30:52 +11:00
Norbert Preining 4fcab8ff56 Fix rebuilding of onedrive, but ensure version is properly updated (#731)
* Fix rebuilding of onedrive, but ensure version is properly updated
2019-11-23 11:33:22 +11:00
abraunegg 8ecd1989b4
Fix where an item now out of scope should be flagged for local delete (#733)
* Fix where an item now out of scope should be flagged for local delete
2019-11-23 11:20:58 +11:00
Norbert Preining 133c45e545 Catch DNS resolution error (#730)
* Catch the DNS error the same way we catch the timeout error
2019-11-23 06:43:28 +11:00
abraunegg db5ceccffb
Check database for excluded sync_list items previously in scope (Issue #723) (#724)
* When using sync_list and files are moved out of sync scope online via OneDrive website, check if the item was previously in-sync in database. if true, flag for local delete.
* Rework fix for #568 so that if a directory is moved / created in sync_list scope, on the 'true-up' sync, any files that were moved with the folder are now downloaded
* Update when sync_list override is done
* Add debugging for each loop for sync_list scan handling
2019-11-21 19:58:34 +11:00
abraunegg 387bd53438
Add debug message to when a message is sent to dbus or notification daemon (#728)
* Add debug message when message is sent to notify daemon
* Update usage document to detail how to enable non-root systemd usage + notifications
2019-11-21 18:59:45 +11:00
Kilian Rausch ⚡️ 34ed1608e8 docker guide fixes, add multiple account setup instructions (#729)
* docker guide fixes, add multiple account setup instructions
2019-11-21 07:02:56 +11:00
abraunegg 0445ae03d3
Update Microsoft restriction and limitations (#725)
* Update Microsoft restriction and limitations about windows naming files to include '~' for folder names
2019-11-14 11:53:07 +11:00
abraunegg c876b9c575
Retry session upload fragment when transient errors occur to prevent silent upload failure (#721)
* When uploading data to OneDrive via a session, and OneDrive throws an exception response, retry the fragment upload instead of silently failing without any error message
* Add error message & error logging when uploading data via a session and OneDrive throws an exception
2019-11-11 20:27:34 +11:00
abraunegg 10adb43a09
Release 2.3.12-dev prep (#722)
* Release 2.3.12-dev prep
2019-11-11 20:07:38 +11:00
abraunegg b301ba07e3
Release files for 2.3.11 (#717)
* Release files for 2.3.11
2019-11-05 10:59:39 +11:00
abraunegg 7b4ba2e5d2
Only monitor top level single directory + its children if using --single-directory (Issue #709)
* If --single-directory is being used, and we are using --monitor, only set inotify watches on the single directory
2019-11-02 10:41:18 +11:00
Tudor Brindus 7ba59e0b1d Fix --monitor when used with --download-only (#708)
* Fix --monitor when used with --download-only. This fixes the regression introduced in 12947d160f.
2019-10-31 14:59:44 +11:00
abraunegg df3fba1be0
Catch a 412 response when moving files (Issue #706) (#707)
* Catch a 412 response when moving files right after upload.
2019-10-31 12:58:09 +11:00
abraunegg 12947d160f
Fix unhandled monitor initialisation exception (Issue #704) (#705)
* Catch MonitorException when initialisation failure occurs, print error and exit ... cant enter monitor loop if we cant initialise correctly.
* Cleanup and add documentation update
2019-10-30 17:46:02 +11:00
abraunegg 9b3179540f Revert "Fix unhandled monitor initialisation exception"
This reverts commit e1be2b1e55.
2019-10-30 06:33:11 +11:00
abraunegg e1be2b1e55 Fix unhandled monitor initialisation exception
* Catch MonitorException when initialisation failure occurs, print error and exit ... cant enter monitor loop if we cant initialise correctly.
2019-10-30 06:32:17 +11:00
abraunegg fec892b038
Fix call from --monitor to observe --no-remote-delete (#703)
* Fix call from --monitor to observe --no-remote-delete
2019-10-30 05:09:40 +11:00
abraunegg e99872eaa2
Fix 'Key not found: name' when computing skip_dir path (#701)
* OneDrive API difference between Personal & Business where some Business accounts do not send 'name' key with parent reference. Check for existance of 'name' key before use.
2019-10-26 14:17:40 +11:00
abraunegg 585b35724f
Reduce change scan impact of fix for #658 (#691)
* If there are delta changes (meaning something changed on OneDrive) process the changes that have been presented
2019-10-23 05:29:11 +11:00
abraunegg 1ab36f4014
Update skip_dir pattern matching when using wildcards (Issue #689) (#692)
* Better handle skip_dir searching when wildcards are involved by passing in a better 'path' snippet from which to compare skip_dir entries against
* Enhance the directory to 'search' to include simple & complex matching in case long paths are used as part of skip_dir
2019-10-22 14:08:17 +11:00
abraunegg cfdb295823
Fix typo - retrySucess -> retrySuccess
* Fix typo - retrySucess -> retrySuccess
2019-10-21 18:53:00 +11:00
Rob A 44576ea4ca Handle curl exceptions and timeouts better with backoff/retry logic (Issue #693) (#695)
* Handle curl exceptions and timeouts better with backoff/retry logic
2019-10-21 18:04:08 +11:00
abraunegg cdad8631ec
Update JSON logging output (#696)
* Update invalid JSON object output handling as this really should be debug messaging not error messages
2019-10-21 13:25:52 +11:00
Norbert Preining 9d0a6539bd Remove unused and unexported SED variable in Makefile.in (#687)
* Remove unused and unexported SED variable in Makefile.in
2019-10-09 14:28:03 +11:00
abraunegg 6a8d575941
Modify 'Processing X changes' output to be more reflective of actual activity (Issue #679) (#680)
* When using 'sync_list' do not output that we are processing 'changes' as this is misleading.
* When using sync_list perform a full scan only the first time when using --synchronize & --monitor to avoid double processing of all OneDrive items each and every time
* When using sync_list and --monitor only perform a full object scan when we are also configured to perform a full scan
2019-10-09 12:02:17 +11:00
abraunegg 808a2f331b
Fix log output to be consistent
Fix log output to be consistent with sync_list exclusion
2019-10-08 18:11:37 +11:00