Commit graph

607 commits

Author SHA1 Message Date
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
Norbert Preining d527b7ef26
Makefile: support building with ldc2 and usage of pkg-config for lib finding (#334)
* ldc2 support
the pragma versions passed to the compiler need an additional `-d`
prefix in case of ldc2. Add it if the compiler component looks like
ldc2.

* pkg-config support
By passing `PKGCONFIG=1` to the make call libraries are searched via
`pkg-config` instead of hard-coded values.
2019-01-07 11:03:47 +09:00
abraunegg bf43ecda9e
Ensure that remote deletes are handled correctly (#333)
* Fix remote deletes the fix for #323, #324 & #331 introduced a bug where an item when remote deleted, would actually be re-inserted to the database & eventually cause a database assertion
2019-01-07 04:22:09 +11:00
abraunegg a31fdc6a6f
Fix codacy issues (#332)
* Fix codacy issues
2019-01-07 03:02:58 +11:00
abraunegg b75163245f
Update handling of 'remote' folder designation as 'root' items (Issue #323, #324, #331) (#328)
* Add extra verbose debugging
* Update handling of 'remote' folder designation as 'root' items
2019-01-07 03:02:08 +11:00
abraunegg e8c8e525dd
Update README.md 2019-01-06 10:14:49 +11:00
abraunegg 1d3bf0d360
Update README.Office365.md 2019-01-06 10:10:47 +11:00
abraunegg 0759767916
Update README.Office365.md 2019-01-06 10:09:27 +11:00
abraunegg bd0790eece
Update README.Office365.md 2019-01-06 10:06:04 +11:00
abraunegg 6836f0c744
Update .travis-ci.sh
* sudo does not affect redirects, use tee to append to file
2019-01-06 09:54:57 +11:00
abraunegg 79a9815183
Update makefiles.sh
* Add `#!/bin/bash` to shell script
2019-01-06 09:49:01 +11:00
abraunegg 84c69a5234
Update README.md
* Update help output to include --force-http-1.1
* Update to add note about curl compatibility and when to use --force-http-1.1
2019-01-06 08:19:02 +11:00
abraunegg 9d0c0aea39
Update bug_report.md 2019-01-06 07:49:00 +11:00
abraunegg 58541f73dc
Update bug_report.md 2019-01-06 07:23:12 +11:00
abraunegg 2e8bc828b6
Update bug_report.md 2019-01-06 07:20:02 +11:00
abraunegg 8d5ba88c38
Update lock.yml 2019-01-06 07:09:08 +11:00
abraunegg 7d6858d86a
Create lock.yml 2019-01-06 07:06:30 +11:00
abraunegg 1fa7e5f20c
Add extra debugging & http protocol downgrade (Issue #314) (#327)
* Add --force-http-1.1 flag to downgrade any HTTP/2 curl operations to HTTP 1.1 protocol
* Explicitly set all bool items to false at initialisation
* Update --display-config to display sync_list if configured
* Add debug handling to display when sync_list is loaded
* Add debug handling to output the handling of OneDrive changes
2019-01-06 05:43:44 +11:00
abraunegg ddc5d602da
Update sync.d (#329)
* Update HTTP 412 error notifications to better identify where 412 error is occuring
* Add a check for 'id' key on metadata update to prevent 'std.json.JSONException@std/json.d(494): Key not found: id' (Issue #325)
2019-01-06 05:35:55 +11:00
abraunegg 46ef8ed376 Revert "Update handling of HTTP 412 - Precondition Failed errors (#issue 325) (#326)"
This reverts commit 388cc1ded5.
2019-01-05 17:18:28 +11:00
abraunegg 388cc1ded5
Update handling of HTTP 412 - Precondition Failed errors (#issue 325) (#326)
* Update HTTP 412 - Precondition Failed messaging
* Add debug messaging when 5xx errors occur
* Update 5xx message to include
2019-01-05 07:57:10 +11:00
abraunegg bc059eaf0a
Update bug_report.md 2018-12-28 21:13:59 +11:00
abraunegg f14fbf22a7
Update release files for 2.2.4 (#322)
* Update release files for 2.2.4
2018-12-28 21:03:26 +11:00