Commit graph

970 commits

Author SHA1 Message Date
abraunegg 7ca1ff95a8
Update handling of folders that cannot be read if parent should be skipped (#866)
* If a directory cannot be accessed, and is in a folder that should be skipped, do not print warning
2020-04-15 14:07:58 +10:00
WarmongeringBeaver 1c555c3180
Update link to new microsoft documentation (#861)
The Microsoft documentation seems to have moved to docs.microsoft.com. Former link (https://msdn.microsoft.com/en-us/library/aa365247) was redirected there.
2020-04-08 05:58:41 +10:00
abraunegg 7a18393ed0
Update skip_dotfiles handling of .folders when in monitor mode (#848)
* Prevent monitoring files inside .folders when using skip_dotfiles in monitor mode
* Handle '.folder' -> 'folder' move when skip_dotfiles is enabled
2020-04-06 20:05:06 +10:00
abraunegg 31629e697f
Update error logging output to be consistent (#860)
* Update error logging to be consistent when initialising fails
* Update error logging output to handle HTML error response reasoning
2020-04-06 19:40:42 +10:00
abraunegg c41adda7a0
Handle zero-byte modified files for OneDrive Business (#854)
* OneDrive does not support the uploading of zero-byte files when uploading via the OneDrive Web UI, however it is possible to upload then via the API as a 'new file'. If a local zero-byte file is modified, upload this as a 'new file' rather than attempt to upload as a normal modified file.
2020-04-02 19:25:22 +11:00
abraunegg 9ae6f8e808
Handle .nosync directive when downloading new files (Issue #827) (#842)
* Handle .nosync directive when downloading new files to an existing directory that is (was) in sync
* Handle the situation where a .nosync is created after some sort of partial download, so that the file, whilst now unwanted, is not downloaded
2020-04-02 07:39:02 +11:00
abraunegg 0170884bd1
Update --single-directory handling for --dry-run and --resync (#856)
* Update --single-directory handling when using --dry-run
* Update --single-directory handling when using --resync and items to sync are in a child folder rather than root, leading to parent database issues (foreign key constraint)
2020-04-02 06:56:50 +11:00
Jack Thomasson bed6e6bfe1
Fix Alpine automated builds on Docker (#855)
Fix Alpine automated builds on Docker due to libLLVM-10.so missing

With thanks to @jkt628
2020-04-01 08:31:06 +11:00
abraunegg 50fb2d8bfa
Update application output when using --dry-run and --resync and database is corrupt (Issue#844) (#845)
* Update application output when database is corrupt and how to resolve by using --resync
* Handle --dry-run and --resync correctly - do not copy the database, it may be corrupt
* Always check if items-dryrun.sqlite3 still exists, remove it as it maybe corrupt when --dry-run is used
2020-03-30 06:55:27 +11:00
TheOnlyTrueJonathanHeard 3708828806
Handle renaming dotfiles to another dotfile when skip_dotfile=true in monitor mode (#843)
* Handle renaming dotfiles to another dotfile when skip_dotfile=true in monitor mode

With thanks to @TheOnlyTrueJonathanHeard
2020-03-29 07:08:01 +11:00
GeorgeKalovyrnas caf51886cf
Escape parentheses from path or file names (#841)
* Escape parentheses from path or file names, when doing comparison with regex

With thanks to @GeorgeKalovyrnas
2020-03-28 07:49:33 +11:00
TheOnlyTrueJonathanHeard 7170498a95
Handle renaming files to a name starting with a dot when skip_dotfile=true (#838)
* Handle renaming files to a name starting with a dot when skip_dotfiles = true

With thanks to @TheOnlyTrueJonathanHeard
2020-03-28 07:20:00 +11:00
abraunegg e1c81861e8
Release 2.4.1 Dev Prep (#839)
* Release 2.4.1 Dev Prep
2020-03-27 21:03:27 +11:00
abraunegg feb3d96a7e
Release files for 2.4.0 (#833)
* Release files for 2.4.0
2020-03-23 09:18:06 +11:00
abraunegg 6f85d539da
Update client identifier and auth scopes (Issue #769) (#770)
* Update the client identifier to 'd50ca740-c83f-4d1b-b616-12c519384f0c'
* Update User Agent identifier to comply with OneDrive traffic decoration requirements
* Provide 'config' file option to modify / update client identifier to override application default
2020-03-23 07:01:51 +11:00
S 2d450a3a8f
Update INSTALL.md (#834)
Add suggestion for a passionate user to publish a PPA
2020-03-23 06:10:58 +11:00
abraunegg aea2786be5
Update INSTALL.md
* Update Ubuntu information to be clearer regarding don't use the Ubuntu packages
2020-03-22 10:41:59 +11:00
abraunegg 896a4676f5
Update regex parsing of response URI (#830)
* Update regex that extracts the response code from the response URI to avoid potentially generating a bad request to OneDrive, leading to a 'AADSTS9002313: Invalid request. Request is malformed or invalid.' response. With thanks to @zfil for fix.
2020-03-21 07:20:19 +11:00
abraunegg edd365d21b
Update error response handling for catching HTTP 429 responses - activityLimitReached (Issue #815) (#816)
* Overhaul OneDrive error response handling for 429 errors by utilising the HTTP response header Retry-After to configure the correct 'retry' window. If no retry window is set, defaults to 120 seconds.
* Update error response messaging when a 429 response is received
* Update how the original OneDrive query is retried when a 429 response is received
* Update the User Agent string to be more compliant with OneDrive decoration requirements to assist in avoiding 429 responses due to incorrect User Agent string being used. Updated to: ISV|abraunegg|OneDrive_Client_for_Linux/v%version_tag%
2020-03-20 06:12:47 +11:00
abraunegg 1e8395fb73
Handle moving files into a skipped .folder when skip_dotfiles = true (#828)
* If skip_dotfiles = true, moving files into a skipped .folder should not throw an error and should be removed from their previous location on OneDrive
* Add log message to indicate why delete operation is occurring on item which was moved
2020-03-20 05:35:21 +11:00
abraunegg 4cb0ebbfde
Update logging output (Issue #818) (#819)
* Tighten up the logging output to better clarify what is occurring when sync_list is being used
2020-03-15 06:58:57 +11:00
abraunegg b1fcb814c3
Update application output when just authorising application (Issue #820) (#821)
* Update application output to be clearer when just authorising the application and --synchronize or --monitor not passed in
* Update usage.md with updated authorize details and example
2020-03-15 06:29:44 +11:00
nrandon 63ce6a7d10
Update ldc installation repo for alpine (#814)
* Ldc has moved from alpine-linux testing repo to the community repo.
2020-03-07 09:34:14 +11:00
abraunegg 1bb4ed765c
Always log when a file is skipped due to the item being invalid (Issue #811)
* If an item is to be skipped due to being 'invalid' log this without the requirement of --verbose
2020-03-06 09:20:47 +11:00
abraunegg 2741d66076
Update USAGE.md
* Update default config file
2020-03-04 12:12:13 +11:00
abraunegg a4d72fc73c
Catch when OneDrive throws an error response on initialising (Issue #802) (#804)
* Catch when OneDrive throws an error response (40x, 50x) on initialising
2020-03-02 12:54:56 +11:00
abraunegg 27d0b9641e
Update INSTALL.md
* Add details about being available as a Debian, Solus and Ubuntu packages
* Clarify Ubuntu 16.x >1GB memory pattern
2020-02-16 08:11:01 +11:00
abraunegg 76b80e953e
Update file handling when a failed download has occured due to CTRL-C (#800)
* If CTRL-C is used when downloading a file, remnants of this file may still exist when next sync occurs. If the file is not present in the local cache database, redownload the file from OneDrive. Does not impact however if --local-first directive is being used.
2020-02-15 10:02:29 +11:00
Vince Giroux 601a3630e7
Update completions to include the --force-http-2 option (#799)
* Update completions to include the --force-http-2 option (@vigiroux)
2020-02-14 16:01:32 +11:00
Philipp Luniak afff84c2e4
Update USAGE.md to clarify path when setting up multiple daemons (#798)
Clarifying path for setting up multiple daemons (@pluniak)
2020-02-13 06:57:07 +11:00
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