Commit graph

104 commits

Author SHA1 Message Date
Norbert Preining c8e47a47ff autoconf based build system (#287)
* Add autoconf based build system
2019-04-17 11:06:24 +10:00
abraunegg 25d2f7284f
Update 'min_notif_changes' to 'min_notify_changes' (#467)
* Update 'min_notif_changes' to 'min_notify_changes'
2019-04-15 06:28:32 +10:00
Norbert Preining ea22d8fef5 config options for command line switches (#449)
* config options for command line switches to allow for better config handling in docker containers
2019-04-11 12:26:20 +10:00
Norbert Preining df39646120 Add completion support (Issue: #454) (#460)
* add bash completion
* add zsh completion
* add completions installation support to Makefile and README
2019-04-11 10:07:18 +10:00
abraunegg 6a6b8f128f
Issue #432 and #441 combined (#447)
* Re-add original #432 and #441 fixes to master
2019-04-02 05:21:02 +11:00
abraunegg abb82868e4
Roll back to v2.3.1 (#446)
* Roll back to v2.3.1 after bad re-base merge with PR #389
2019-04-02 04:51:25 +11:00
abraunegg f38b13dd00
Resolve file creation loop when working directly in the synced folder with libreoffice (#442)
* Add debug line for flagging to disable upload validation checks
* Handle Microsoft 'enrichment' of certain documents when stored on Sharepoint
* Handle skip_dir checks when nothing to check against (false positive)
* Update default 'skip_file' to include tmp and lock files generated by LibreOffice
* Update code comments & logging output
* Update readme & default config file
* Update database version due to changing defaults of 'skip_file' which will force a rebuild and use of new skip_file default regex
2019-04-02 04:00:22 +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 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 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 98624267c5
Implement --dry-run (#337)
* Implement new feature --dry-run
2019-03-11 17:57:47 +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
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
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 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 b15948ed6a
Update README.md
Add minimum versions of DMD or LDC required to compile
2019-02-09 12:39:56 +11: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 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 6959fe86ae
Update release files for 2.2.5 (#345)
* Update release files for 2.2.5
2019-01-17 05:45:26 +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 a31fdc6a6f
Fix codacy issues (#332)
* Fix codacy issues
2019-01-07 03:02:58 +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 f14fbf22a7
Update release files for 2.2.4 (#322)
* Update release files for 2.2.4
2018-12-28 21:03:26 +11:00
abraunegg bbe672bff1
Update README.md
Add line break
2018-12-20 07:44:02 +11:00
abraunegg ddda7e0527
Update README.md
* Update readme to clarify using multiple OneDrive accounts and how to configure additional unit files for each individual OneDrive account
2018-12-20 07:42:13 +11:00
abraunegg 7d522583ef
Implement option --display-config (Issue #100) (#292)
* Implement --display-config to show the application configuration without actually performing a sync or application init
2018-12-20 05:42:28 +11:00
Norbert Preining 3608dcc4c2 Add very verbose (debug) mode by double -v -v (#279)
* Add very verbose (debug) mode by double -v -v - currently only used for debugging the inotify events
2018-12-08 05:01:22 +11:00
abraunegg 0562c52492 Handle short lived files (Issue #273) (PR #274)
* Handle short lived files (Issue #273)
* Update README.md
* Add --disable-notifications to readme
2018-12-06 08:50:46 +09:00
Norbert Preining cc6cbf5ac7 Notification support via libnotify (#270)
* add external sources for (d)notify with README and license statements
* add new logAndNotify function, make building a compile time option
* use logAndNotify and main.d, make timeout message silent
* update documentation for notification support
* add command line switch --disable-notifications
* add build-deps for libnotify in README.md
2018-12-06 06:19:00 +11:00
adudek 026809d4d1 Docker buildfiles for onedrive service (#262)
* Separate install options for binary (make install.noservice) only and binary
* Docker build files and usage documentation
2018-12-04 11:59:03 +11:00
abraunegg 29808c905c
Implement --get-O365-drive-id to get correct SharePoint Shared Library (Issue #248) (#260)
* Implement --get-O365-drive-id to return the correct drive_id of a SharePoint Shared Library to use for syncing that repository
2018-12-04 10:59:23 +11:00
abraunegg a26a69ce9f
Change logging to a separate logfile is no longer the default (#239)
* Change '--download' to '--download-only' to align with '--upload-only'
* Enable logging to a separate file only if the '--enable-logging' flag is passed through at client run time
* Implement configuration option for logfile location, if logging is enabled
2018-11-24 07:13:16 +11:00
abraunegg c5ee62efd8
Sync with shared folders/drives for onedrive business (#206)
* Refactor PR104 for latest code base to enable client use with SharePoint libraries
* Implement '--disable-upload-validation' as SharePoint modifies files when uploaded
* Enable '--disable-upload-validation' by default if account type is documentLibrary - as most likely this is a SharePoint repository
2018-11-24 06:26:30 +11:00
abraunegg 1c23d01007
Update README.md 2018-10-14 20:32:11 +11:00
abraunegg d9e10799ce
Update README.md 2018-10-13 05:27:49 +11:00
abraunegg a571f78ed3
Update README.md 2018-10-10 07:50:46 +11:00
abraunegg 45b824448a
Update README.md
* Add upgrading details to remove items.sqlite3 if encountering errors
2018-10-09 10:22:25 +11:00
abraunegg 2648612acd
Update makefile & documentation (#172)
* Update makefile & documentation to provide details on how to run the onedrive service via systemd as a non-root user
2018-10-04 09:26:14 +10:00
abraunegg 8323d05230
Update Travis CI building to test build on ARM64 (Issue #95) (#177)
* Update to build on ARM64 
* Update documentation regarding building on ARM64 platforms
2018-10-04 09:22:49 +10:00
abraunegg 583075fb87
Update README.md
Clarify when to use --resync
2018-10-03 09:52:14 +10:00
abraunegg 53cbc8ff5e
Update README.md 2018-09-13 08:52:24 +10:00
abraunegg a3f69d4a2e
Resolve systemd/user is not supported on CentOS / RHEL (Issue #131) (#132)
* Resolve systemd/user is not supported on CentOS / RHEL (Issue #131)
2018-08-27 10:35:58 +10:00
abraunegg 4a1ed426fb
Update README.md
Update OpenSuSE Leap 15.0 dependency instructions (#122)
2018-08-17 05:13:56 +10:00
abraunegg dad7b42bc8
Update README.md 2018-08-13 06:32:51 +10:00
abraunegg 036e6416e2
Update README.md 2018-08-12 08:33:25 +10:00
abraunegg bedba08579
Update README.md
* Add openSUSE Leap 15.0 build dependency details
2018-08-11 06:37:28 +10:00