Commit graph

970 commits

Author SHA1 Message Date
abraunegg 0774a8fd06
Release files for 2.4.10 (#1283)
* Release files for 2.4.10
2021-02-19 19:37:34 +11:00
abraunegg e1e20ce3df
Update INSTALL.md
* Add node regarding Arch / Manjaro compiler & library selection if asked
2021-02-18 08:55:58 +11:00
abraunegg 38892e763a
Update INSTALL.md
* Add 'make' as also missing from Manjaro
2021-02-17 17:53:36 +11:00
abraunegg e10073ae00
Update INSTALL.md
* Add 'pkg-config' dependency for Arch / Manjaro
2021-02-17 17:35:09 +11:00
abraunegg 07a9a94969
Update INSTALL.md
* Convert package details to a table for easier reading
* Change Arch Linux to use LDC to cover off ARM architectures where DMD is not available, but LDC is
* Add Manjaro Linux aligning to Arch Linux instructions
2021-02-17 17:28:42 +11:00
abraunegg 42b7945d9c
Support sync_list matching full path root wildcard with exclusions to simplify sync_list configuration (#1273)
* Support sync_list matching full path root wildcard with exclusions to simplify sync_list configuration
2021-02-14 08:55:49 +11:00
abraunegg cd7b7b0b68
Use correct path offset for sync_list exclusion matching (#1269)
* When processing sync_list entries, by default, if the path starts with '/', and offset of 1 is used to ensure correct path matching can be done. However, if the path starts with '!/' or '-/' to exclude a certain path, an offset of 1 was still being used, thus, exclusion matching was not occurring correctly. Use the correct offset, based on the 'sync_list' entry.
2021-02-14 06:43:55 +11:00
abraunegg 3ea16b619f
Revert the config & logpath change and check correct input entry (#1270)
* Revert the config & logpath change introduced via #1267 as the logging path should not be the value checked, the input path is what should be checked
2021-02-13 17:37:22 +11:00
abraunegg 3ba8bb165a
Update USAGE.md
* Add documentation and usage reference for 'sync_root_files' configuration option
2021-02-13 07:40:09 +11:00
abraunegg f37fdda836
Fix logging output when handing downloaded files (#1267)
* Fix logging output when processing downloaded files to remove potential ambiguity as to what events are actually occurring with individual file events post download
2021-02-11 04:07:45 +11:00
abraunegg 1bfd995153 Revert "Fix logging output when handing downloaded new files (#1265)"
This reverts commit 99a0f4bfed.
2021-02-10 13:33:32 +11:00
abraunegg 99a0f4bfed
Fix logging output when handing downloaded new files (#1265)
* Fix logging output when processing files to remove potential ambiguity as to what events are actually occuring with indivudual file events
2021-02-10 13:26:10 +11:00
Krassimir Valev a971dd0844
Dockerfile config for arm64 (#1259)
* Add ARCH flag to denote difference between ARMHF and ARM64 platforms
2021-02-09 07:45:37 +11:00
abraunegg 66a172d13a
Correctly handle '~' when present in 'log_dir' configuration option (#1258)
* Handle '~' when present in 'log_dir' and expand based on user and shell environment  variables to ensure correct expansion.
2021-02-06 20:46:56 +11:00
abraunegg e163d570d7
Update README.md
* Add link to FAQ Wiki page
2021-02-04 17:02:31 +11:00
abraunegg 2c253362bf
Improve upload handling of files for SharePoint sites (#1250)
* After a file has been uploaded to SharePoint, use the response JSON and compare the quickXorHash to that of the local file before the upload. If there is a difference, Microsoft has modified the file post upload, thus we now need to download this 'updated' file. If there is no hash difference, we do not need to download the file.
2021-02-01 16:46:12 +11:00
YannisDran 2babba5b6c
Adding TOC to USAGE.md (#1244)
* Adding TOC to assist with searching information within the document
2021-01-31 07:01:31 +11:00
abraunegg 3b87602a81
Use correct driveId value to query for changes when using --single-directory (#1235)
* Use the driveId value rather than defaultDriveId when looking for changes when using --single-directory
2021-01-22 14:38:11 +11:00
abraunegg 6b0b6a66f7
Search all distinct drive id's rather than just default drive id for --get-file-link (#1230)
* Add new DB query to return distinct driveId's from database
* Use all distinct drive ID's to query if path is in-sync with OneDrive before attempting to retreive the item file link from OneDrive
2021-01-20 19:46:56 +11:00
abraunegg 525504f91a
Rename Office365.md to SharePoint-Shared-Libraries.md (#1232)
* Rename Office365.md --> SharePoint-Shared-Libraries.md which better describes this document
2021-01-20 09:26:38 +11:00
abraunegg 15a84627e1
Support new file maximum upload size of 250GB (#1233)
* Support new file maximum upload size of 250GB
2021-01-20 09:25:59 +11:00
nrandon 1c6dd424d7
Fix alpine build so it uses the same alpine version (#1226)
The current docker file uses golang:alpine which can fall out of
step with alpine:latest. If there build does fall out of step the
ldc compiler will have different version the runtime will have
different lib dependences and hence will not work stating missing/
mismatched runtime libraries. This can be address by directly
pulling the alpine docker and installing go using the alpine
version, and hence the mismatch will not accrue.
2021-01-18 14:33:12 +11:00
abraunegg cef00e74b2
Catch database assertion when item path cannot be calculated (#1217)
* Catch database assertion when item path cannot be calculated
2021-01-15 14:44:13 +11:00
abraunegg bbba32cc49
Update Docker.md
* Update document to add ARMHF (Raspberry Pi) build instructions
2021-01-09 06:13:09 +11:00
abraunegg 96d3e68498
Add new config option to rate limit connection to OneDrive (#1210)
* Add new config option to rate limit connection to OneDrive
2021-01-04 08:28:34 +11:00
abraunegg be1757148f
Add upload speed metrics when files are uploaded (#1209)
* Add upload speed metrics when files are uploaded
* Clarify 'data to transfer' is what is needed to be downloaded from OneDrive
2021-01-03 12:20:43 +11:00
abraunegg 44b95f595a
Release 2.4.10 Dev Prep (#1207)
* Release 2.4.10 Dev Prep
2020-12-30 07:24:06 +11:00
abraunegg f24cdf470b
Release files for 2.4.9 (#1204)
* Release files for 2.4.9
2020-12-27 09:55:03 +11:00
podkop 6417810cc0
Fixed 2 typos in advanced-usage.md (#1201)
* Fixed 2 typos in advanced-usage.md
2020-12-26 08:23:27 +11:00
abraunegg 62a2b4f393
Fix application crash with --get-O365-drive-id when API response is restricted (#1198)
* Check OneDrive API response for required elements before attempting to use elements for next query
2020-12-23 15:25:59 +11:00
nrandon 8c6d1d19b8
Fix Alpine Docker build (#1197)
* Fix Docker build on Alpine due missing symbols due to using the edge version of ldc and ldc-runtime
2020-12-23 05:37:23 +11:00
abraunegg 771a93242f
Fix application crash when calculating the path length due to invalid UTF characters (#1193)
* Fix application crash when calculating the path length due to invalid UTF characters
2020-12-21 07:27:27 +11:00
abraunegg 3341e30ffa
Add Docker environment variable to allow --logout for re-authentication (#1187)
* Add Docker environment variable to allow --logout for re-authentication
2020-12-21 07:06:18 +11:00
abraunegg ba94b92d8a
Improve application startup when using --monitor when there is no network connection to the OneDrive API (#1188)
* Improve application startup when using --monitor when there is no network connection to the OneDrive API
* Retry network connection test when using --monitor
* Only initialise application if OneDrive API is reachable
2020-12-18 06:17:52 +11:00
Stefano Volpe 464398dd04
Fix typo in advanced-usage.md (#1181)
* Fix typo in advanced-usage.md
2020-12-16 07:05:44 +11:00
abraunegg 9b44bb1e96
Fix crash when unable to read a local file due to file permissions (Issue #1178) (#1179)
* Test if local file is readable based on user permissions before attempting to access file to determine the sync state or upload
2020-12-12 05:58:07 +11:00
abraunegg 5349340818
Add debug log output for configured API URL's (#1177)
* Add to debug log output the configured URL's which will be used throughout the application to remove any ambiguity as to using incorrect URL's when making API calls.
2020-12-10 11:18:13 +11:00
abraunegg 3b18638a63
Remove duplicate code for error output functions and enhance error logging output (#1170)
* Remove duplicate code for error output functions and enhance error logging output
2020-12-09 14:18:16 +11:00
abraunegg 335eab326d
Handle case where API provided deltaLink generates a further API error (#1175)
* Handle case where API provided deltaLink generates a further API error. Refer to: https://github.com/OneDrive/onedrive-api-docs/issues/1408
2020-12-09 14:03:49 +11:00
abraunegg 4a68eb40b7
Release 2.4.9 Dev Prep (#1168)
* Release 2.4.9 Dev Prep
2020-12-02 07:07:54 +11:00
abraunegg 545fdcd692
Release files for 2.4.8 (#1167)
* Release files for 2.4.8
2020-11-30 16:39:36 +11:00
Marcel Robitaille f21c6f1312
Fix broken link in manual (#1166)
Looks like `README.Office365.md` was moved to `docs/Office365.md`.
2020-11-26 14:47:15 +11:00
abraunegg 88f78c163f
Fix application crash in --monitor mode due to 'Failed to stat file' when setgid is used on a directory (#1157)
* Add debugging output when adding paths and items to an inotify watch
* Only if a path is a directory, perform a path walk
* Catch Exception as error when permissions cause access exception
2020-11-26 06:35:20 +11:00
abraunegg 48fc64a247
Check application_id before setting redirect URL when using specific Azure endpoints (#1165)
* If using specific AD endpoints, but using the default application ID, the redirect URL does not match. Check if the application_id before setting the redirect URL.
2020-11-26 05:51:29 +11:00
abraunegg a4a5a5f267
Fix logging output when authentication authorisation fails (#1156)
* If OneDrive generates an auth error, dont log that the auth was sucessful
2020-11-21 06:46:05 +11:00
abraunegg ac4da2e2ba
Update #1142 logging output handling (#1153)
* Update logging output to debug rather than standard log
2020-11-20 06:33:47 +11:00
abraunegg 8c23efc6c5
Fix changing permissions on pre-existing local directories (#1152)
* When attempting to create local directories, test to determine if they exist locally first before creating & setting file system permissions
2020-11-20 05:36:20 +11:00
Spitfireap b163e8eff2
Corrected typo (#1151)
* Corrected typo in USAGE.md
2020-11-19 08:53:36 +11:00
abraunegg 0d5b004696
Fix download failure and crash due to incorrect local filesystem permissions when using mounted external devices (#1140)
* Fix download failure due to incorrect local filesystem mount permissions
2020-11-14 07:00:08 +11:00
abraunegg 17d5f97cb0
Merge branch 'master' into fix-issue-1137 2020-11-14 06:21:03 +11:00