Commit graph

358 commits

Author SHA1 Message Date
abraunegg 0f96aef81f
Update CHANGELOG.md 2018-08-10 10:20:05 +10:00
abraunegg 7c686172ca
Update Travis CI tests (#106)
* Update Travis CI scripts to functional test application post build
2018-08-10 08:38:45 +10:00
abraunegg bed2b6c75f
Implement Feature Request: Add a progress bar for large uploads & downloads (Issue #12) (#99)
* Implement feature request to add a progress bar for large file uploads & downloads
2018-08-10 07:46:27 +10:00
abraunegg 2bb5dce752
Fix --no-remote-delete (#110)
* Original implementation of --no-remote-delete used a cfg value, however this introduced 2 issues - value could be set via a config parameter which was not the intention, but also could be set to a non true value causing application issues. This patch resolves how  --no-remote-delete should have originally been implemented
2018-08-10 07:40:17 +10:00
abraunegg e922a7d85e
Implement Feature Request: Make checkinterval for monitor configurable (Issue #31) (#97)
* Implement Feature: Make checkinterval for monitor configurable
* Update monitor mode processing logic
2018-08-08 05:35:18 +10:00
Jesse Harris b2270ee696 ebuild for Gentoo users. (#101)
* Add gentoo ebuild
* Updated readme for Gentoo
2018-08-07 19:28:47 +10:00
abraunegg 2a113de66c
Resolve missing config value: no-remote-delete (#103)
* Resolve missing config value: no-remote-delete
2018-08-07 19:27:21 +10:00
abraunegg b220bf87e3
Update README.md 2018-08-06 05:49:43 +10:00
abraunegg 2e04bf534a
Implement Feature Request: Upload Only Option that does not perform remote delete (Issue #49) (#96)
* Implement Feature Request: Upload Only Option that does not perform remote deletes
2018-08-05 10:43:31 +10:00
abraunegg 635178f787
Update README.md 2018-08-05 06:33:51 +10:00
abraunegg 6daa637ff2
Update README.md
* Update readme with valid Debian i386 / i686 instructions
2018-08-03 06:59:17 +10:00
Leif Denby c0074638da Add ability to skip symlinks (Issue #87) (#92)
* Add ability to skip symlinks
2018-08-03 06:02:10 +10:00
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