Commit graph

726 commits

Author SHA1 Message Date
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
abraunegg 5da97d0757
Fix typo - skip_list -> sync_list
Fix typo - skip_list -> sync_list
2019-10-08 17:48:51 +11:00
abraunegg 57cf29783a
Fix handling of skip_dir, skip_file & sync_list config options (#686)
* config option skip_dir should only be applied to directories
* config option skip_file should only be applied to files
* If 'directory' is in 'skip_file' then upload skip reason erroneously lists sync_list as reason for skipping
* update log output when something is excluded
* where a path is to be excluded via sync_list, only exclude via sync_list & not check skip_dir & skip_file as well
2019-10-08 17:34:35 +11:00
Stig Dahl 8b969deae8 Fixing typo in USAGE.md (#682)
There is a typo in the settings for an invalid config. The original file from the ~skilion~ project looks like this:
skip_file = ".*|~*". Makes it easier to understand what to change in case of an upgrade in my opinion.
2019-10-04 07:50:20 +10:00
abraunegg 94df009b7d
Release 2.3.11-dev prep (#681)
* Release 2.3.11-dev prep
2019-10-03 14:56:35 +10:00
abraunegg 2ef4f88458
Release files for 2.3.10 (#678)
* Release files for 2.3.10
2019-10-02 05:23:28 +10:00
abraunegg 0fef942071
Update config and usage.md (Issues #657, #675) (#676)
* Update 'config' file and usage.md to be clearer around removing the '#' from config options when changing from the default.
2019-10-01 10:15:03 +10:00
abraunegg ca9a6b6ac0
Make user-agent string a configuration option (#673)
* Make user-agent string a configuration option
* Set default User-Agent to OneDrive Client for Linux v{version}
* Add 'user_agent' to default config file
2019-09-24 16:42:40 +10:00
abraunegg a1f4fec3cf
Update entrypoint.sh with additional environment variables (#672)
* Change verbosity to be normal by default
* Add debug option
* Add resync option
* Update docker.md with new environment variables and include usage examples
2019-09-24 06:13:28 +10:00
Jon Mills 3aa4d4965e Return remote name when 'case-insensitive match' (#670)
If there is a case-insensitive match error, also return the remote name from the response
2019-09-23 17:35:18 +10:00
abraunegg fd4547376c
Fix crash when resume_upload file is not a valid JSON (#664)
* Validate that there is JSON data in the string before the string is read via parseJSON()
* Add try block to catch file system exceptions if they are generated when attempting to update the file date & time
2019-09-22 06:40:39 +10:00
abraunegg 72467e32ca
Update OneDrive API status code 500 handling (#661)
* Update OneDrive API status code 500 handling when uploading files as error message is not correct
2019-09-17 11:15:03 +10:00
abraunegg 2abc05af1d
Query for all changes if using sync_list file (#659)
* If we are using a sync_list file, using deltaLink will actually 'miss' changes (moves & deletes) on OneDrive as using sync_list discards changes
2019-09-16 05:06:02 +10:00
abraunegg e32b8b3c7f
Move logging of 'initialisation' to actually when the attempt to initialise is performed (#656)
* Move logging of 'initialisation' to actually when the attempt to initialise is performed
2019-09-11 20:26:21 +10:00
Jon Mills 230be5a23d Docker - Make --verbose optional based on environment variable (#651)
* Add environment variables section into relevant document
* Update entrypoint.sh to support --verbose via environment variable
2019-09-09 13:44:07 +10:00