Commit graph

1334 commits

Author SHA1 Message Date
abraunegg 0e0fdacf7c
Switch to using curl defaults for HTTP/2 operations (#2026)
* Switch to using curl defaults for HTTP/2 operations
2022-07-01 15:09:11 +10:00
abraunegg ca984eba70
Update OneDrive API response handling for National Cloud Deployments (#2023)
* Update OneDrive API response handling for National Cloud Deployments
* Add developer option to allow easy switch between /children and /delta to query OneDrive for changes
2022-06-30 07:08:29 +10:00
abraunegg 042949f1c1
Fix 'foreign key constraint failed' when using OneDrive Business Shared Folders (#2017)
In some OneDrive Business scenarios, the shared folder /delta response lacks the 'root' drive details. When this occurs, this creates the following error: A database statement execution error occurred: foreign key constraint failed. Ensure we query independently the root details for this shared folder and ensure that it is added before we process the /delta response
2022-06-24 14:54:32 +10:00
paulsharpeY 2bab99b62c
Update known-issues.md (#2016)
Fix spelling.
2022-06-22 20:37:34 +10:00
abraunegg af86b55b35
Release 2.4.20 Dev Prep (#2013)
* Release 2.4.20 Dev Prep
* Clarify RHEL 7.x requirements
* Add RHEL 9.x after confirming build on platform
2022-06-21 11:59:02 +10:00
abraunegg dc8327e4b8
Release files for 2.4.19 (#2006)
* Release files for 2.4.19
2022-06-15 12:09:45 +10:00
abraunegg 1935def140
Update when DB is updated by OneDrive API data and update when file hash is required to be generated (#2004)
* Only update the database if the item modified time is different, otherwise we are needlessly updating the database with data that is the same
* Generating a file hash, during the file integrity check is computationally expensive. Only generate a file hash if the modified time of the file is different, otherwise it is pointless to generate the file hash during each integrity check
* Only flush SHM and WAL post integrity check
2022-06-15 09:16:06 +10:00
Pavel Pivovarov c7eabab27b
Added ONEDRIVE_UPLOADONLY flag for Docker (#2002)
* Added ONEDRIVE_UPLOADONLY environment variable
2022-06-11 07:55:08 +10:00
abraunegg 83a79077c6
Update advanced-usage.md (#1999)
* Add details regarding how to configure and run multiple Docker containers
2022-06-09 07:53:40 +10:00
abraunegg 39fba9394f Documentation updates
* Documentation updates
2022-06-08 06:20:33 +10:00
abraunegg bc5ad62fc0
Update README.md
* Update badge
2022-06-08 06:16:29 +10:00
abraunegg 2cdd7f4c63
Update src/notifications/README (#1992)
Update readme to correct license details
2022-06-07 08:57:39 +10:00
abraunegg 7ebe0d7949
Update ubuntu-package-install.md
* Fix typo
2022-06-06 07:41:03 +10:00
abraunegg bc2728322a
Update ubuntu-package-install.md (#1990)
* Clarify known issues which appears resolved for Ubuntu 22.x
2022-06-06 06:51:19 +10:00
abraunegg 352a02052a Update lock.yml
* Downgrade lock due to warnings seen, lock not operational
2022-06-05 15:14:31 +10:00
abraunegg 4e1deec933
Update Business Shared Folders to use a /delta query (#1989)
* Change Business Shared Folders to use a /delta query now that the OneDrive API appears to support such query
2022-06-05 14:52:24 +10:00
abraunegg 5958c54938 Update lock.yml
* Update lock threads action
2022-06-05 07:46:00 +10:00
abraunegg 6c2e881314
Update Docker.md
Update Documentation
2022-06-04 07:27:08 +10:00
abraunegg cdea464952
Update Docker Builds (#1988)
* Update Docker Builds
2022-06-04 07:24:28 +10:00
abraunegg a9aafabb79
Update ubuntu-package-install.md
* Remove known issue as this is solved in the OpenSuSE Build Service packages post v2.4.17-1~np3
2022-06-04 07:14:26 +10:00
abraunegg c49446712b
Update Documentation (#1985)
* Remove Travis CI as obsolete and not working
* Update documentation
2022-06-03 09:49:22 +10:00
abraunegg e008468686
Update docker.yaml (#1984)
* Update docker.yaml
2022-06-03 08:49:57 +10:00
abraunegg 0ebe66412a
Trigger Docker build workflow only on pull request merge to 'master' (#1983)
* Trigger Docker build workflow only on pull request merge to 'master'
2022-06-03 08:40:07 +10:00
abraunegg b7c7caa0b5
Release 2.4.19 Dev Prep (#1981)
* Release 2.4.19 Dev Prep
* Update docker.md post v2.4.18 release
2022-06-02 18:58:13 +10:00
abraunegg 22fda0a286
Release files for 2.4.18 (#1980)
* Release files for 2.4.18
2022-06-02 18:24:26 +10:00
abraunegg 8711074b57
Update Docker documentation (#1979)
* Update documentation based on changes to Docker tag names
2022-06-02 17:38:02 +10:00
abraunegg 2995dc66ae
Add GitHub Actions - docker.yaml (#1977)
* Add GitHub Actions via docker.yaml to build Docker images and push these to Docker Hub driveone/onedrive
* Builds Fedora 36 linux/amd64
* Build Debian Bullseye linux/amd64,linux/arm64,linux/arm/v7
* Builds Alpine linux/amd64,linux/arm64
2022-06-02 16:26:55 +10:00
abraunegg 62701e5ef3
Update Dockerfile to use Fedora 36 (#1976)
* Update Dockerfile to use Fedora 36 as it was released May 10, 2022
2022-06-01 06:26:38 +10:00
abraunegg 0fffb8fbc0
Implement a check to validate local filesystem available space before attempting file download (#1971)
* Implement a check to validate local filesystem available space before attempting file download
* Implement 'space_reservation' config option with a default value of 50 MB
* Prevent the original run-away logging error message 'Failed initialization on handle XXXX' from occurring if the system is out of space
* Update documentation and man page
2022-06-01 05:57:05 +10:00
ticteam 767352686f
Add libphobos2-ldc-shared94 to Dockerfile-debian (#1975)
* Add libphobos2-ldc-shared94 to Dockerfile-debian
2022-06-01 05:45:06 +10:00
abraunegg b6fee40939
Update ubuntu-package-install.md
* Update doc
2022-05-30 10:28:59 +10:00
abraunegg ff8d137057
Update minimum compiler versions to dmd-2.088.0 and ldc-1.18.0 (#1972)
* Update to dmd-2.088.0 and ldc-1.18.0
* Update documentation based on change in DMD and LDC minimum versions. Minimum DMD version now 2.088.0 and minimum LDC version now 1.18.0.
* Security upgrade alpine Docker file to 3.16
2022-05-28 08:38:57 +10:00
abraunegg ddb9f1eae7 Revert "Update USAGE.md"
This reverts commit 40743b5a86.
2022-05-22 10:36:45 +10:00
abraunegg 40743b5a86
Update USAGE.md
* Update wording
2022-05-22 09:41:11 +10:00
abraunegg de2bbb5564
Fix application crash if unable to read required hash files (#1963)
* Fix where if the --confdir as specified has incorrect parent permissions, the client is unable to read the required hash files, thus cause an application crash
* When opening files, we should only be opening them as read-only
* When we write out any hash files. they should only be readable|writeable by the userid that is running the application
2022-05-19 16:12:53 +10:00
abraunegg 9650ac2418
Update USAGE.md
* Update URL for Unix Permissions Calculator
2022-05-19 09:37:45 +10:00
abraunegg 69d4a64456
Update USAGE.md
* Update 'root' systemd details
2022-05-16 13:50:42 +10:00
abraunegg ee2da78446
Update manpage to align with application configuration (#1962)
* Update manpage to align with application configuration to prepare for 2.4.18 release
2022-05-16 10:17:43 +10:00
abraunegg b38fd5c200
Override skip_dir|skip_file through flag to force sync (#1960)
* Force a synchronization of a specific folder, only when using --synchronize --single-directory and ignoring all non-default skip_dir and skip_file rules
2022-05-16 10:16:50 +10:00
abraunegg ee2c14c6cc
--upload-only and --download-only are mutually exclusive and cannot be used together (#1959)
* --upload-only and --download-only are mutually exclusive and cannot be used together
2022-05-13 11:06:59 +10:00
abraunegg b7aede6d30
Update output of --display-config (#1956)
* Update output of --display-config
2022-05-10 13:43:32 +10:00
abraunegg 0c8a24205d
Update ubuntu-package-install.md
* Update installation documentation to add links to relevant sections
2022-05-08 08:23:49 +10:00
abraunegg 7139578af1
Improve application runtime check (#1955)
* Improve application runtime check fixing false positive when CTRL-C is used to terminate application
2022-05-08 05:57:25 +10:00
abraunegg 04c65f9b48
Fix installation permissions for onedrive man-pages file (#1953)
* Fix installation permissions for onedrive man-pages file
2022-05-06 08:24:05 +10:00
abraunegg e08792da42
Fix --display-config being impacted by --resync approval requirement (#1950)
* When using --display-config this option should not be impacted by any --resync flag or requirement to use --resync
2022-05-06 04:48:50 +10:00
abraunegg d4b733ae89
Update when sync start and complete is written to application log file if enabled (#1947)
* When using the application with 'defaults' with logging enabled and no verbose mode, the application output that a sync process has started & finished is only written to the logfile every 5 sync times (25 mins). This change updates this so that, if defaults are being used with logging enabled and no verbose mode, the application will always, at a minimum, write out to the application log file when a sync was started and when it was completed. This provides important reference in the log as to when an activity began and was completed.
2022-05-04 06:03:45 +10:00
abraunegg 8a4931ccda
Update config.yml
* Update issue template config
2022-05-04 05:34:25 +10:00
Vitor Carvalho 680090a680
fix(docker): add git to docker build (#1945)
* add git for docker build process
2022-05-04 04:53:32 +10:00
abraunegg 5506efb313
Detect if application is already operational (#1944)
* In some scenarios users may have a running background service syncing data (systemd or otherwise). In these events, running the application in standalone mode can create a conflict when attempting to perform database queries when there are significant changes to data structures occurring. This PR specifically checks if the database operation files are present, and, if these are present (meaning the application is most likely currently operational) fail fast and not execute the application as a second instance against the same active configuration.

Potentially also resolves RBZ2061430 and RBZ2075468
2022-05-03 15:09:08 +10:00
abraunegg 10448efd9a
Update INSTALL.md
* Add Homebrew
2022-05-02 13:12:41 +10:00