Commit graph

1334 commits

Author SHA1 Message Date
abraunegg e08c89ad0b
Remove Fedora ARMv7 builds (#2165)
* Remove Fedora ARMv7 builds
* Switch 'latest' to point at Debian builds
2022-10-04 06:01:59 +11:00
abraunegg 7fe242dfc0
Update docker.yaml to downgrade setup-qemu-action to use qemu-v6.2.0-26 (#2162)
* Update docker.yaml to downgrade setup-qemu-action to use qemu-v6.2.0-26 because when using 'tonistiigi/binfmt:latest' - this uses qemu-v7.0.0-28, which, causes a build failure 'Out of memory allocating XXX bytes' for Fedora ARMv7 builds
2022-10-03 19:33:51 +11:00
abraunegg 1fdee4caaf
Release 2.4.22 Dev Prep (#2161)
* Release 2.4.22 Dev Prep
2022-10-01 09:03:24 +10:00
abraunegg f2b5a5543e
Update docker.yaml
Temp remove linux/arm/v7 from Fedora build
2022-09-27 17:45:07 +10:00
abraunegg 1f4e0e143c
Release files for 2.4.21 (#2157)
* Release files for 2.4.21
2022-09-27 05:30:30 +10:00
abraunegg d1642dab30
Update INSTALL.md
* Fix Fedora > Version 18 / CentOS 8.x / RHEL 8.x / RHEL 9.x instructions
2022-09-26 18:08:01 +10:00
abraunegg 514df625b9
Add option to create a read-write shareable link (#2154)
* Implement Feature Request 2110 to add option to create a read-write shareable link
2022-09-26 17:56:42 +10:00
abraunegg 993770f49a
Fix DMD 2.100.2 depreciation warning (#2156)
DMD 2.100.2 creates a depreciation warning:

Deprecation: `return` statements cannot be in `scope(failure)` bodies.
2022-09-26 14:44:30 +10:00
abraunegg a35c7c72f5
Update database access exclusivity test for --resync (#2155)
* Update database access exclusivity test for --resync
2022-09-26 11:49:48 +10:00
abraunegg e2ed2d2b58
Update notification handling for specific skipped scenarios (#2153)
* Update skip notification handling for the following scenarios:
  * Invalid Name (Microsoft Naming Convention)
  * Invalid Name (Contains an invalid whitespace item)
  * Invalid Name (Contains HTML ASCII Code)
  * Invalid Item (Invalid symbolic link)
2022-09-26 07:40:22 +10:00
abraunegg 7a5cf8dd46
Update national-cloud-deployments.md (#2152)
* Update documentation to reflect correct Azure portal to use to register a new application
2022-09-26 07:06:44 +10:00
Brian McCafferty d035ee13cd
Minor update to rpm build docs to match versions (#2146)
Update to the rpm build docs to ensure the tar.gz file is the same version as in the spec.in file
onedrive.spec.in references version v2.4.20 however the docs reference 2.4.15

Co-authored-by: abraunegg <alex.braunegg@gmail.com>
2022-09-24 17:30:52 +10:00
Brian McCafferty a348750ec6
Update onedrive.spec.in to fix error building RPM (#2145)
Updating the line
%{_unitdir}/%{name}.service
to 
%{_userunitdir}/%{name}.service

This fixes the issue when building the RPM on RHEL7/8/9 with the following error:
RPM build errors:
    File not found: /root/rpmbuild/BUILDROOT/onedrive-2.4.20-1.el7.x86_64/usr/lib/systemd/system/onedrive.service

This is due to the file actually being created in:
/root/rpmbuild/BUILDROOT/onedrive-2.4.20-1.el7.x86_64/usr/lib/systemd/user/onedrive.service

Changing _unitdir to _userunitdir fixes this error and allows the RPMs to be build correctly.
2022-09-24 17:29:53 +10:00
abraunegg 371b87f62a
Update ubuntu-package-install.md
* Add Linux Mint 21 specific details
2022-09-20 16:19:09 +10:00
abraunegg 19308541eb
Update documentation to document skip_size (#2132)
* Update documentation to document skip_size
2022-09-16 06:21:57 +10:00
abraunegg 738be2d150
Add option to cleanup local files regardless of sync state when using --download-only (#2113)
* Add option to cleanup local files regardless of sync state when using --download-only
2022-08-31 06:41:52 +10:00
abraunegg 5288f94ac4
Resolve segfault when running 'onedrive --display-sync-status' when run as 2nd process (#2105)
* Rather than force exit if unable to lock the database, add a function and boolean to control if the database access has been init was successful. If not, use the exit scopes to exit the application
2022-08-30 19:09:35 +10:00
abraunegg 3b7a06cdcd
Fix where --resync is enforced for non-sync operations (#2111)
* Fix that the --resync option is wrongly enforced when the OneDrive client is started with --list-shared-folders option or other non-sync options. This only happens when configuration changes are detected.
2022-08-26 09:11:10 +10:00
abraunegg 33423ee441
Fix to allow non-sync tasks while sync is running (#2112)
* Fix to allow --get-file-link and --list-shared-folders when already running
2022-08-25 20:18:53 +10:00
abraunegg abc8b58ee7
Update Docker and Podman documentation (#2109)
* Update Docker and Podman documentation
2022-08-23 05:39:53 +10:00
abraunegg d169dfc642
Improve application logging output for error messages (#2100)
* When enabling system logging to a log file, the actual ERROR line is forced to a new line in the application log. The reason for this is the \n prefix in the error message, which was in place so that when performing CLI logging or systemd logging, the error message would be displayed clearly. This change removes the \n from the actual error message, but inserts a newline before the error message is displayed (and also in some cases post error message) - thus keeping the application runtime look and feel, but improving the application log output.
2022-08-18 09:14:13 +10:00
Felix Yan b16fe173e0
Correct a typo in docs/INSTALL.md (#2097)
* Correct a typo in docs/INSTALL.md
2022-08-18 05:11:46 +10:00
abraunegg de701629a8
Update INSTALL.md (#2095)
* Add clarification when using the uninstallation process, this will remove all client files including all systemd files, custom or otherwise.
2022-08-17 14:50:08 +10:00
abraunegg eba676c600
Change the exit code of the application when a --resync is required (#2096)
* Change the exit code of the application when a --resync is required from a generic exit code of 1 to exit code 126, as 126 is supposed to be used when a command invoked cannot be executed - which, in this case, when a --resync is needed - the original command cannot be executed.

* This allows|enables watching for a 126 error code in automated environments, so that when 126 as the exit code is seen, the command can be re-tried potentially automatically with the appropriate resync arguments added.
2022-08-17 13:19:51 +10:00
abraunegg 9b8a25f34c
Fix that logging output for skipped uploaded files is missing (#2094)
* Add missing logfile output when enabling logging so that when uploaded new & modified files are skipped, this is correctly reflected in logfile output
2022-08-17 05:48:11 +10:00
abraunegg d4595beaba Update INSTALL.md
* Update upgrade advice and process
2022-08-16 05:50:13 +10:00
abraunegg 7b4f1a4d09
Update application-security.md and USAGE.md (#2088)
* Add clarifications around read-only operations and enabling download only flag to avoid 'upload' errors to read only system
* Update USAGE.md to reflect added config options
2022-08-13 06:54:10 +10:00
abraunegg fd3a849d45 Update Podman.md to align to Docker.md
* Update Podman.md to align to Docker.md
2022-08-12 13:46:53 +10:00
abraunegg 76752d0352 Update INSTALL.md
* Remove Ubuntu 21.x platforms as https://repology.org/ API no longer lists these as viable Ubuntu versions
2022-08-12 10:34:27 +10:00
abraunegg 64b706f7c1
Update documentation in relation to configuring SharePoint Libraries (#2084)
* Update documentation in relation to configuring SharePoint Libraries
* Update documentation in relation to running systemd services to be consistent
2022-08-11 05:50:59 +10:00
abraunegg f561bd79a3
Update what application options require an argument (#2082)
* Update what application options require an argument
2022-08-08 10:19:06 +10:00
abraunegg d57a695632
Add option to request readonly access in oauth authorization step (#2065)
* Add option to request readonly access in oauth authorization step
* Add application-security.md to document application security
2022-08-06 08:24:51 +10:00
abraunegg cc3b83afcb
Implement --display-running-config (#2064)
* Implement --display-running-config to display the running configuration as used at application startup
* Add ONEDRIVE_DISPLAY_CONFIG variable to control --display-running-config in Docker environments
2022-08-06 06:25:58 +10:00
abraunegg 5ee30ff623
Update --get-O365-drive-id implementation for data access (#2076)
* Update --get-O365-drive-id to avoid hitting the 'onedrive application is already running' error message
2022-08-05 09:16:54 +10:00
abraunegg 935ab764a4
Update README.md
* Add Build Badge
2022-08-05 06:34:02 +10:00
abraunegg b6c28fd2b3
Be consistent with permissions that are being assigned (#2075)
* Update makefile to ensure permissions being assigned are consistent
2022-08-05 05:42:53 +10:00
abraunegg c06e8ccfb6
Add Test Build Workflow (#2069)
* Add GitHub Action to test build all pulls, re-introducing functionality lost after Travis CI functionality depreciation
2022-08-02 16:59:45 +10:00
abraunegg aaf8505205
Update --resync handling of database file removal (#2067)
* Only safe remove the files from the local file system if these are exclusively available for this running instance to perform a delete - otherwise this allows multiple clients to perform a --resync on the same data, which, could lead to a data loss scenario
2022-08-01 07:35:19 +10:00
abraunegg b2991fded9
Fix that the download progress bar doesn't always reach 100% when rate_limit is set (#2056)
* Fix that the download progress bar doesn't always reach 100% when rate_limit is set
2022-07-29 07:07:08 +10:00
abraunegg 496ba5fc3e
Release 2.4.21 Dev Prep (#2058)
* Release 2.4.21 Dev Prep
2022-07-29 07:05:20 +10:00
abraunegg 11361c841f
Release files for 2.4.20 (#2052)
* Release files for 2.4.20
2022-07-20 20:26:58 +10:00
abraunegg 031c82922d
Enforce that --confdir must be a directory (#2051)
* Enforce that when we are using --confdir - the path that is passed in has to be a directory and not a file
2022-07-20 10:09:20 +10:00
abraunegg a17a667e44
Increase thread sleep for better process handling (#2046)
* Increase thread sleep for better process handling
2022-07-18 13:09:41 +10:00
abraunegg e84b16d7fc
Update Docker.md
Add URL for Docker installation assistance
2022-07-13 05:53:59 +10:00
abraunegg c82e90a140
Ensure that any active http instance is shutdown before any application exit (#2035)
* When the client needs to exit due to an issue, ensure that the curl http instance is shutdown before the exit is performed. This also potentially solves some segmentation faults seen on Ubuntu|Debian platforms due to issues in the shared library libphobos2-ldc-shared.so.X
2022-07-07 09:37:45 +10:00
abraunegg 90f9b31a8b
Update USAGE.md (#2033)
* Reorder document
2022-07-06 10:26:34 +10:00
abraunegg 87de4cf79c
Update USAGE.md
* Fix heading and link for single directory sync
2022-07-06 06:39:15 +10:00
abraunegg e422adb477
Fix handling of a custom configuration directory (#2029)
* Fix handling of a custom configuration directory
2022-07-04 05:59:00 +10:00
abraunegg 3591eededc
Fix --display-config after http/2 change (#2028)
* Fix --display-config after http/2 change
* Update advanced-usage.md
2022-07-03 21:03:27 +10:00
Sebastien Badia 0ab2955bd7
Various little spelling fixes (check with lintian during Debian packaging) (#2027)
* contrib: remove bash hashbang from completion

This file starts with the #! sequence that marks interpreted scripts, but
it is a bash completion script that is merely intended to be sourced.

* src: spelling error (Attemtping => Attempting)

* src: spelling error (reponse => response)

* src: spelling error (sucessfully => successfully)
2022-07-02 05:14:50 +10:00