Commit graph

629 commits

Author SHA1 Message Date
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
Norbert Preining 8cabe38e49 update log.verbose from options 2019-02-25 11:55:32 +09:00
Norbert Preining 8b7d772680 remove work-around from previous versions 2019-02-24 16:58:02 +09:00
Norbert Preining d02be44b9a order getopt call options alphabetically 2019-02-24 16:56:50 +09:00
Norbert Preining d49a598f4b clean up, move help function 2019-02-24 16:33:10 +09:00
Norbert Preining a71b9bf789 Merge branch 'master' into norbert/config-options 2019-02-24 16:27:53 +09: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 f2f272a8f8 move more parts of the getopt calls into config module 2019-02-22 22:00:57 +09:00
Norbert Preining a635cab0ad config options: working version 2019-02-22 16:15:10 +09:00
Norbert Preining 25b09775ab more playing around 2019-02-22 10:41:07 +09:00
Norbert Preining 7c9ea56293 some playground 2019-02-22 10:39:16 +09:00
Norbert Preining 18611c833f initial work on various config options for cmd line options 2019-02-22 10:39:16 +09: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
Norbert Preining 10475c9d2c more codacy issues 2019-01-24 08:54:48 +09:00
Norbert Preining 27cc2c7922 fix codacy issues with Dockerfile 2019-01-23 23:07:58 +09:00
Cauly Kan 54f0279a5c fix wrong build instructions 2019-01-23 12:46:41 +08:00
Cauly Kan 1172432390 fix format issues in docker/readme.md 2019-01-23 09:20:52 +08:00
Cauly 14c36d6c91
format long lines and fix build script 2019-01-22 16:37:47 +08:00
Norbert Preining 16da1b4994
treat mv of new file as upload of mv target (Issue: #357) 2019-01-22 15:14:53 +09:00
Cauly af2ee9e540
typo fixes 2019-01-22 11:40:19 +08:00
Cauly 5372d8a9fa
add detailed instructions for docker README.md 2019-01-22 09:34:44 +08:00
Cauly 76803dc3d1
add detailed instructions for docker README.md 2019-01-22 09:31:57 +08:00
abraunegg 7532c9d8cc
Update handling of --get-O365-drive-id for multi matching (#354)
* Update handling of --get-O365-drive-id to print out all 'site names' that match the explicit search entry rather than just the last match
* Add webUrl for site to output so that the 'right' site drive_id can be identified
* Update O365 readme with updated output
2019-01-19 13:01:41 +11:00
abraunegg c27ff936fb
Resolve build warning & support CentOS 6.x for installation (Issue #350) (#353)
* Support install on CentOS / RHEL 6.x
* Support uninstall on CentOS / RHEL 6.x
* Add /usr/local/bin/ to search path when starting init.d service
* Fix dmd-2.084.0 deprecation warning: loop index implicitly converted from size_t to int
* Update readme based on CentOS 6 / RHEL 6 additional dependencies
* Resolve warnings about "bashisms" in init.d script (Issue #349) - fixed here as we are updating the init file already, rather than have multiple PR's
2019-01-19 13:01:01 +11:00
abraunegg 83cc2e419b
Add business retention policy handler (Issue #338)
* When OneDrive Business is configured with Retention Policies, attempts to delete a 'non empty' folder results in an an error response. Correctly handle the error response to print a warning message that OneDrive content must be manually deleted. 

**Note:** A future version of this client will handle the removal of 'non empty' folders when Retention Policies are enabled.
2019-01-19 12:59:39 +11:00
abraunegg 6959fe86ae
Update release files for 2.2.5 (#345)
* Update release files for 2.2.5
2019-01-17 05:45:26 +11:00
abraunegg c91dcc3e49
Add handling for JSON response error when OneDrive API returns a 404 due to API regression (#340)
* Update sync.d to handle OneDrive API Regression & provide details on workaround
2019-01-16 20:14:55 +11:00
abraunegg 77b32b6a5e
Update lock.yml
Change lockbot from 7 to 30 days
2019-01-16 07:24:58 +11:00
abraunegg 1d902a5beb
Handle Item not found exception when unable to query OneDrive 'root' for changes (#336)
* Add a 404 error handler when OneDrive cannot query what changes are available for a particular 'root' folder id
* Add additional verbose debug logging to assist in the future
* Change to not throw an exception when OneDrive cannot query what changes are available for a particular 'root' folder - rather display some meaningful details instead of crashing the application
* As we know the actual 'items.sqlite3' location, display that as the file to remove rather than a 'generic' message as this is more helpful
2019-01-11 05:31:10 +11:00