Commit graph

545 commits

Author SHA1 Message Date
abraunegg de0f36007e
Update release files for 2.3.1 (#440)
* Update release files for 2.3.1
2019-03-26 10:28:40 +11:00
abraunegg 62c5179653
Update Makefile (#439)
* Use make clean to clean up version, not .PHONY which causes rebuild during 'make install'
* Update build instructions to use 'make clean' before 'make'
2019-03-26 09:40:07 +11:00
abraunegg ebad4aed89
Update .travis-ci.sh (#435)
* Update Debian URL to use httpredir rather than ftp.us URL to avoid HTTP access issues when building in Travis CI
2019-03-25 14:06:27 +11:00
abraunegg 7aad5903e2
Update release files for 2.3.0 (#434)
* Update release files for 2.3.0
2019-03-25 10:41:08 +11:00
abraunegg 79cc599057
Resolve high CPU usage when performing DB reads (#419)
* Disable automatic indexing as we specifically create the required indexes
* Tell SQLite to store temporary tables in memory. This will speed up many read operations that rely on temporary tables, indices, and views.
* Add links & reasoning behind other PRAGMA settings used
* Add new index specifically for driveId & parentId paring
* To force DB schema & index creation, bump DB schema version
* Update handling of skip_dir and skip_file parsing - should only check if the file is excluded if the parent directory is not
* Add another index for selectByPath database queries
* Add new build option to get more DEBUG symbolic information
* Use boolean values rather than on / off values
* Enable auto_vacuum for entry deletes / database cleanup
2019-03-24 11:12:40 +11:00
abraunegg 002f9b7aec
Prevent use of --synchronize & --monitor together (#431)
* Prevent use of --synchronize & --monitor together
2019-03-23 10:20:27 +11:00
abraunegg f5c3e7643d
Update 'skip_dir' handling to check against OneDrive new downloads (#427)
* Add check for directories to match skip_dir entries for OneDrive objects to download
* Update logging as to why a OneDrive object was skipped
2019-03-22 15:21:59 +11:00
Norbert Preining 8f28daec8a ignore a path containing multiple dirs in skip_dir 2019-03-22 12:05:30 +09:00
abraunegg de98fe8492
Fix JSONValue is not an object crash when a 5xx error is returned when uploading files (#426)
* Fix JSONValue is not an object crash when a 5xx error is returned when uploading files
2019-03-22 10:23:21 +11:00
Norbert Preining 0dfc165534 Declare version as phony (always outdated) target to guarantee update (#429)
* Declare version as phony
2019-03-22 10:19:27 +11:00
abraunegg f2e007a1d7
Update skip_dir config handling (#418)
* Original skip_dir handling expected an explicit match to path to match. With this patch, wildcard matching for any directory matching the path entry will be skipped
2019-03-22 05:30:32 +11:00
abraunegg 6b8b51a7cc
Update sync.d (#422)
* Add a check to validate if 'size' is in the JSON response
2019-03-21 10:29:04 +11:00
abraunegg 58c2805237
Update Makefile (#417)
* Update makefile so if using 'release' archive to build, the 'version' file is created with the correct version string as .git/HEAD & index is not available.
2019-03-19 13:14:07 +11:00
abraunegg 99c0267c7a
Implement 'skip_dir' config option (Issue #123) (#388)
* Implement config option 'skip_dir'
2019-03-15 06:55:05 +11:00
Boia11 659283d7f9 Update README.md (#413)
* Update install procedure for ARM64 with latest LDC 1.14.0 AARCH64
2019-03-14 11:36:33 +11:00
abraunegg c98d096f25
Update .travis-ci.sh (#414)
* Update Travis CI build script to use an LDC version string
* Add 'libxml2' to guest dependencies for  AARM64
* Update ARMHF and AARM64 to use different versions of LDC due to due to https://github.com/ldc-developers/ldc/issues/3027
2019-03-14 11:33:01 +11:00
abraunegg ac7789df14
Update error logging around directory case-insensitive match (#412)
* Update error logging around directory case-insensitive match
2019-03-14 05:44:43 +11:00
abraunegg a9ba0204c5
Update release files for 2.2.6 (#411)
* Update release files for 2.2.6
2019-03-12 17:37:00 +11:00
abraunegg 4c3b959bf6
Resolve unhandled application crash when invalid auth response is used (Issue #399) (#410)
* Add a http 400 response error handler
* If the response uri generates a 400 error, the JSON response will not contain the access_token. Request to re-authenticate
2019-03-12 11:50:21 +11:00
abraunegg e849eb3de4
Resolve Key not found: nextExpectedRanges (Issue #408) (#409)
* Dont 'assume' that the key value pairs exist. Check if they do before attempting to use them
2019-03-12 11:49:15 +11:00
abraunegg 98624267c5
Implement --dry-run (#337)
* Implement new feature --dry-run
2019-03-11 17:57:47 +11:00
abraunegg 3f08e271af
Update util.d - reduce local FS read overheads (#407)
* Try and read 1 byte of the file rather than 10MB for each 'new' file to be uploaded to validate local file permissions
2019-03-11 17:56:26 +11:00
abraunegg efaaaadce2
Rework function uploadCreateDir (#397)
* Ensure that on query failure, default root and drive id is used
2019-03-08 08:40:29 +11:00
abraunegg b0dac7bf42
Update README.md - Add proxy configuration information (#403)
* Add first time run command
* Add how to access OneDrive service through a proxy
2019-03-08 08:35:11 +11:00
abraunegg ba834368ca
Implement --check-for-nosync to ignore folder when special file present (Issue #163) (#390)
* Implement a capability to ignore a folder when a special file (.nosync) is present
2019-03-03 05:58:36 +11:00
abraunegg 2d54f3e4d1
Update README.md (#396)
* Add details on how to change the authorisation of the client if the OneDrive account password is changed
2019-03-02 10:51:51 +11:00
Norbert Preining 09f328e63f configurable logging intervals in monitor mode (Issue: #378) (#391)
* Configurable interval of logging in monitor mode (Issue: #378)
2019-02-27 07:21:23 +11:00
Norbert Preining b668ecef71 Create new upload session on reinit (Issue: #379) (#392)
* By moving the UploadSession creation from the constructor to the init function we guarantee that a re-initialization also starts a new UploadSession.
2019-02-27 06:49:23 +11:00
Cauan 97193107ee Update entrypoint.sh (#387)
* Update entrypoint.sh to accept command line arguments
2019-02-24 17:20:50 +11:00
abraunegg 7a47df7a38
Implement --skip-dot-files (#386)
* Implement new CLI option --skip-dot-files to skip .files and .folders if option is used
2019-02-24 17:19:45 +11:00
Norbert Preining 0d3b891177 don't annoy with notifs when offline and cannot act on changes (#385)
* Don't annoy with notifs when offline and cannot act on changes
2019-02-21 19:51:15 +11:00
abraunegg 808e0254e4
Update README.md (#384)
* Update readme to add details about updating the 'config' file to remove the '.*' from skip_file if present
2019-02-21 17:49:26 +11:00
abraunegg 4e12496dfe
Update README.Office365.md
* switch bash to text for codeblocks
2019-02-20 07:29:37 +11:00
Jack Thomasson 460596dd36 Add smaller footprint Docker container builds using Alpine and Debian Stretch (#369)
* Add additional Docker container builds utilising a smaller OS footprint
* Resolve compiling with LDC on Alpine as musl lacks some standard interfaces
2019-02-17 06:13:19 +11:00
abraunegg 51615bff0b
Rework PR #373 to reduce needless logging in monitor mode (#376)
* Rework PR #373 to reduce needless logging in monitor mode
2019-02-15 07:03:15 +11:00
abraunegg 442e3dee16
Update README.md with newer Debian i386 build dependencies (#374)
* Update Debian i386 build dependencies
2019-02-13 12:08:09 +11:00
abraunegg ff822a9ab9
Update handling of incomplete OneDrive JSON responses (#375)
* Re-order handling of response JSON to ensure that 'id' key element is always checked for.
* Print errors when there is an issue with saveItem & articulate why
2019-02-13 05:54:06 +11:00
abraunegg b15948ed6a
Update README.md
Add minimum versions of DMD or LDC required to compile
2019-02-09 12:39:56 +11:00
Norbert Preining 493520ad71 Merge branch 'ngaro-docker' 2019-01-30 17:43:09 +09:00
Norbert Preining 1f955c82be
deal with unavailable dbus server (Issue: #365)
If the dbus server cannot be started or is not available, calling a notification
would result in an exception. During initialization check that we can get the
server information, and disable notifications if this is not possible.

Note: we change dnotify.d from the originally distributed version to include
a check for availability function.
2019-01-30 17:34:07 +09:00
Norbert Preining 8b8cf9c777
only use notifications/pkg-config if env var is defined and non-0 (#366) 2019-01-29 09:37:51 +09:00
Norbert Preining 1c6fd5df39 notification on incoming changes (#355)
* When notifications are enabled, display the number of OneDrive changes to process if any are found
* Add 'config' option 'min_notif_changes' for minimum number of changes to notify on, default = 5
* Update readme, manual page for new option
2019-01-29 04:54:03 +11:00
abraunegg 61c40c6cb1
Update changelog (#364)
* Fix codacy issues with changelog
2019-01-28 10:44:27 +11:00
Nikolas Garofil a61009bae1 New attempt to make codacy happy with bash install.sh 2019-01-26 02:21:29 +01:00
Nikolas Garofil 04c1346578 clarify local image with better tag 2019-01-26 02:07:08 +01:00
Nikolas Garofil 8d1818d5a2 Make codacy happy by running install.sh slightly different 2019-01-26 01:22:07 +01:00
Norbert Preining ebef1d88f3
fix codacy issues with Dockerfile 2019-01-26 09:02:37 +09:00
Nikolas Garofil 5d3d46b39b Merge in norbusan's Dockerfile-changes from PR 361 2019-01-25 15:18:00 +01:00
Nikolas Garofil 7719371cdd Merge in CaulyKan's documentation changes from PR 358 2019-01-25 15:03:40 +01:00
Nikolas Garofil b437b9607f Don't clone gitrep again for docker 2019-01-24 18:18:48 +01:00