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
abraunegg
550ab4b6dd
Use config set option for 'remove_source_files' and 'skip_dir_strict_match' rather than ignore ( #1142 )
...
* Remove items from direct config string update, as they are configurable via config file, thus set option via config file is not used
* Add debugging and application config output for used options
2020-11-14 06:17:53 +11:00
abraunegg
aa533ef5a4
Update sync.d
...
* tweak skip message output
2020-11-13 09:52:48 +11:00
abraunegg
b59596523e
Update sync.d
...
* Full fix
2020-11-13 08:27:09 +11:00
abraunegg
b57bb3fde5
Update sync.d
...
* Remove this
2020-11-13 08:02:28 +11:00
abraunegg
dd989b73d1
Update sync.d
...
* Flag that this download failed
2020-11-13 07:48:14 +11:00
abraunegg
ac02b768d3
catch folder creation errors due to file system permissions error
...
* catch folder creation errors due to file system permissions error
2020-11-13 07:34:52 +11:00
abraunegg
cc2b8085f5
Update error catching and handling
...
* Update error catching and handling
2020-11-13 05:42:24 +11:00
abraunegg
68cc51ab4d
Update onedrive.d
...
* Remove try block - incompatible with auto designation needed to open file ...
2020-11-12 21:51:07 +11:00
abraunegg
aa47f1119f
Fix download failure due to incorrect filesystem permissions
...
* Add try block for opening new file for writing when downloading a new file to catch any read only file systems
* Move set file attributes to master function, incase there is a download failure, exit scope cannot set attributes on a file that is non existent
2020-11-12 21:35:06 +11:00
abraunegg
cb57213fb9
Update USAGE.md to clarify 'application_id' usage to utilise older 'skilion' application id ( #1136 )
...
* Clarify 'application_id' usage to utilise older 'skilion' application id
2020-11-11 07:05:07 +11:00