abraunegg
8c2629e90c
Update CHANGELOG.md
2018-08-02 12:13:26 +10:00
abraunegg
aa34ef56fb
Update README.md
2018-08-02 12:13:07 +10:00
abraunegg
9ad91cb5cd
Update Travis CI build testing scripts ( #94 )
...
* Update Travis CI files to automate building on x32, x64 and ARM32 architectures
2018-08-02 09:10:37 +10:00
abraunegg
aa995eb3d3
Implement better handling of database errors & database disk space issues (Issue #77 ) ( #80 )
...
* Implement better handling of database exit scenarios when there is zero disk space left on drive where the items database resides (Issue #77 )
* Implement better handling of incorrect database permissions
* Implement better handling of different database versions to automatically re-create tables if version mis-match (RHBZ #1598934 )
2018-08-02 08:28:52 +10:00
abraunegg
91d8b7ab93
Gracefully handle a timeout when accessing the Microsoft OneDrive Service (Issue #82 ) ( #86 )
...
* Gracefully handle a timeout when accessing the Microsoft OneDrive Service
* Update HTTP connection handling for long running operations based on https://forum.dlang.org/post/k2vbk5$re7$1@digitalmars.com & https://github.com/dlang/phobos/pull/797
2018-08-02 08:25:37 +10:00
abraunegg
6b670df686
Fix localFileModifiedTime to not use fraction seconds ( #91 )
...
* Fix localFileModifiedTime when uploading a new file to compare using no fraction seconds
2018-08-02 08:22:26 +10:00
abraunegg
686da27e34
Update README.md
2018-08-01 19:07:56 +10:00
abraunegg
697ee3b9a0
Update README.md
2018-08-01 06:18:43 +10:00
abraunegg
2336118d8a
Revert "Update README.md"
...
This reverts commit 0545153bb2
.
2018-07-28 06:27:01 +10:00
abraunegg
0545153bb2
Update README.md
2018-07-28 06:16:01 +10:00
abraunegg
39a3b9d767
Update CHANGELOG.md
...
* Update changelog with details since skilion last commit on 2018-02-19
2018-07-26 08:51:40 +10:00
abraunegg
e07ee71ad2
Update readme for Ubuntu / Debian 32bit platforms & ARM Architecture
...
* Update readme to detail that for Ubuntu / Debian 32bit platforms, the build needs to use LDC rather than DMD due to runtime errors of the resulting binary. Resolves https://github.com/skilion/onedrive/issues/385 , https://github.com/skilion/onedrive/issues/353 , https://github.com/skilion/onedrive/issues/336 , https://github.com/abraunegg/onedrive/issues/79
* Add details on how to build the client for ARM Architecture
2018-07-26 08:27:56 +10:00
abraunegg
e58c76d7da
Update README.md
2018-07-24 19:26:29 +10:00
abraunegg
6542d2f69c
Update README.md
2018-07-24 19:22:44 +10:00
abraunegg
a491620c1a
Update logging message for single directory removal
...
* Update logging message for single directory removal - we are trying to delete not create
2018-07-19 06:43:30 +10:00
abraunegg
d0209d8dbc
Gracefully handle OneDrive account password change ( #73 )
...
* Gracefully handle OneDrive account password change rather than crashing if authorization token is now invalid
2018-07-16 09:58:36 +10:00
abraunegg
a4e055fdc3
Update 'HTTP 412 - Precondition Failed' error handling ( #67 )
...
* Update 'HTTP 412 - Precondition Failed' error handling based on local testing to ensure a http 412 response is gracefully handled & the modified file is subsequently uploaded to OneDrive successfully.
2018-07-16 06:36:31 +10:00
abraunegg
54ae6eacad
Update logic --upload-only and --local-first ( #71 )
...
* Update the logic handling of --upload-only and --local-first to be more consistent regardless of using --single-directory or not.
2018-07-15 15:22:08 +10:00
Shady Squirrel
370ad9c6d2
Fix systemd service install for builds with DESTDIR defined ( #68 )
2018-07-15 06:23:50 +10:00
abraunegg
4678056792
Update README.md
2018-07-12 20:07:40 +10:00
abraunegg
aae04394a8
Update README.md
2018-07-12 19:53:26 +10:00
abraunegg
211481ab62
Update issue templates
2018-07-11 12:48:02 +10:00
abraunegg
984a134910
Update issue templates
2018-07-11 10:24:26 +10:00
abraunegg
b17e06e704
Update issue templates
2018-07-11 10:15:57 +10:00
Robert Foster
f3f216c1a8
Fix for Issue #23 ( #60 )
...
* Resove computeQuickXorHash generates a different hash when files are > 64Kb
2018-07-11 06:43:45 +10:00
abraunegg
c0d2874ace
Fix: skip_file configuration doesn't handle spaces or specified directory paths (Issue #52 ) ( #57 )
...
* Update skip_file handling by using updated wild2regex to check files & paths of items to skip ro resolve issue #52
2018-07-10 13:08:17 +10:00
abraunegg
4667ecad12
Fix: Crash if file is locked by online editing (status code 423) (Issue #36 ) ( #50 )
...
* Resolve application crash if file is locked by online editing (status code 423)
2018-07-10 10:30:22 +10:00
abraunegg
9e971410ee
Merge branch 'master' of https://github.com/abraunegg/onedrive
2018-07-10 09:21:56 +10:00
abraunegg
0215774726
Import only atoi
...
* Import only atoi
2018-07-10 09:21:47 +10:00
Chris Coutinho
cc62997ccf
Update makefile and .gitignore ( #56 )
2018-07-10 09:16:59 +10:00
abraunegg
9cb8c297fe
comment out meaningless output for the moment
...
* item.name is not available, so we get a bunch of meaningless log output when deleting items. This will get fixed when wider logging changes are synced in
2018-07-10 09:14:35 +10:00
abraunegg
b3d644d8a9
Update README.md
2018-07-10 06:02:06 +10:00
abraunegg
fed53e8612
Update sync_dir handling ( #55 )
...
* Update sync_dir handling to use the absolute path for setting parameter to something other than ~/OneDrive via config file or command line
2018-07-10 05:34:27 +10:00
abraunegg
4e93cfad50
Revert "Update .travis.yml"
...
This reverts commit c750c2fb9c
.
2018-07-04 11:43:19 +10:00
abraunegg
0109ef6a0c
Resolve compilation issue with dmd-2.081.0 ( #48 )
...
* Resolve: Error: module `stdlib` is in file 'std/c/stdlib.d' which cannot be read when using dmd-2.081.0 due to deprication of function - https://dlang.org/changelog/2.081.0.html#remove_std_c
2018-07-04 11:37:00 +10:00
abraunegg
c750c2fb9c
Update .travis.yml
...
* dmd-2.081.0 was released which now generates an error when compile testing:
```
dmd -g -ofonedrive -O -L-lcurl -L-lsqlite3 -L-ldl -J. src/config.d src/itemdb.d src/log.d src/main.d src/monitor.d src/onedrive.d src/qxor.d src/selective.d src/sqlite.d src/sync.d src/upload.d src/util.d
src/sqlite.d(71): Error: module `stdlib` is in file 'std/c/stdlib.d' which cannot be read
import path[0] = /root/dlang/dmd-2.081.0/linux/bin64/../../src/phobos
import path[1] = /root/dlang/dmd-2.081.0/linux/bin64/../../src/druntime/import
make: *** [onedrive] Error 1
```
Dropping back to using dmd-2.080.1
2018-07-04 08:13:49 +10:00
abraunegg
a6673c7bc8
Update README.md
...
* dnf does not exist on CentOS 7.x / RHEL 7.x
2018-07-04 08:00:14 +10:00
abraunegg
83c28ba3b6
Fix: Multiple versions of file shown on website after single upload (Issue #2 ) ( #40 )
...
* Resolve multiple versions of file shown on website after single upload - however Issue #23 & OneDrive API bug (https://github.com/OneDrive/onedrive-api-docs/issues/877 ) will still create 2 file versions on OneDrive Business. The work around is to disable file versions until #877 is resolved.
2018-07-03 07:24:57 +10:00
abraunegg
5e48ba96ac
Fix: Error when trying to upload a file with weird non printable characters present (Issue #35 ) ( #41 )
...
* Implement an invalid whitespace filename check which currently checks for a 'new line' whitespace entry in a filename. Regex can be expanded if other files with similar characteristics are found.
2018-07-02 19:40:54 +10:00
abraunegg
871b3d72c4
Fix: Name checking rule not exactly right (Issue #34 ) ( #38 )
...
* Fix regex for name checks to be more explicit
* Update name validation checks to be more compliant with Microsoft requirements
2018-07-02 14:05:21 +10:00
abraunegg
8d13d3e850
Merge pull request #42 from abraunegg/Implement-Travis-CI
...
Add travis yml configuration
2018-06-30 14:21:53 +10:00
abraunegg
2c519c5867
Add travis yml configuration
...
* Add travis yml configuration
2018-06-30 14:17:43 +10:00
abraunegg
6199b40c56
Merge pull request #39 from abraunegg/Issue-#15
...
Fix: skip_file config entry needs to be checked for any characters to escape (Issue #15 )
2018-06-30 09:11:35 +10:00
abraunegg
6036283d20
Add '+' as a character to escape
...
* Add '+' as a character to escape when using the wild2regex function
2018-06-28 13:46:20 +10:00
abraunegg
63c5dd86b7
Merge pull request #28 from abraunegg/Issue-#8
...
Implement feature request: Detect when sync-folder is missing
2018-06-27 16:27:41 +10:00
abraunegg
77ac29acdf
Update feature flag
...
* Update feature flag from 'check-mount' to 'check-for-nomount' as this is what this option does
* Add information into readme file
2018-06-27 06:23:17 +10:00
abraunegg
669c370248
Update README.md
2018-06-27 06:10:25 +10:00
abraunegg
54fcb63886
Update README.md
2018-06-20 07:36:57 +10:00
abraunegg
17e5138b5a
Resolve sync issues with Shared Folders & Personal OneDrive Accounts ( #26 )
...
* Resolve Shared Folders not syncing (OneDrive Personal)
* Resolve 'Key not found: fileSystemInfo' when then item is a remote item (OneDrive Personal)
* Resolve where file names are being truncated by 5 characters with each sync (OneDrive Business)
* remove extra // not required
* Remove commented out code to avoid confusion
2018-06-17 12:02:58 +10:00
abraunegg
1cfe137a92
Implement feature request: Detect when sync-folder is missing
...
* Provide a new switch 'check-mount' which will check for the presence of a hidden file '.nosync' file. If this file is found in the sync dir, then the sync process will shutdown. Refer to #8 for further details.
2018-06-17 08:27:43 +10:00