Commit graph

1,356 commits

Author SHA1 Message Date
abraunegg
90556fd47e
Release files for 2.5.2 (#2860) v2.5.2
* Release files for 2.5.2
2024-09-29 16:08:46 +10:00
abraunegg
07068eec11 Fix reported incorrect error message
* When uploading to a Personal Shared Folder, do not display an error message about free space, as, due to it being a Shared Folder, no space details are ever provided
2024-09-29 15:46:36 +10:00
abraunegg
ba1d225dba Add a 'sleep' when starting systemd service
* Add a 'sleep' when starting systemd service to allow dbus to correctly start and be functional
2024-09-29 15:25:38 +10:00
abraunegg
7c058361c7
Fix issue #2852 (#2859)
* Fix regex to account for fractional seconds. With thanks to @aagxxi  who provided the initial fix.
2024-09-29 14:42:55 +10:00
abraunegg
9f9391e55c Update readme.md
* remove redundant line
2024-09-27 13:38:55 +10:00
abraunegg
7a85e29d02
Release files for 2.5.1 (#2851) v2.5.1
* Release files for 2.5.1
2024-09-27 07:01:34 +10:00
abraunegg
bb6989ce0b
Update documentation (#2850)
* Update documentation
2024-09-27 05:57:02 +10:00
abraunegg
410ffe4f58
Fix issues #2810, #2813, #2822, #2829 (#2816)
* Add isValidUTCDateTime function to validate timestamp as received from OneDrive API to ensure it is valid
* Use new function before attempting to call SysTime.fromISOExtString to ensure this call will be successful
* If there is no timestamp in the JSON, set it to the system time
* Add assertion when building an item from DB data
* Add new function (isValidUTF8) to check UTF-8 validity of a string before timestamp regex check
* In a --resync scenario, if the file hash is the same, use the online timestamp as source of truth
* Ensure that the session URL data is a valid JSON response before use
* Ensure a local time in UTC is being used if the JSON data has no date
* Ensure the DB is opened in the most threadsafe manner possible
* Add patch provided by @phlibi to add synchronized() around DB access methods
* Align timestamp creation method with itemdb if element is missing
2024-09-27 05:37:57 +10:00
abraunegg
5c086dd6ec
Fix issue #2835: Avoid a loop of querying the same data leading to eventual authentication error (#2847)
* Remove setting thisItemParentId = onedriveJSONItem["id"].str as this causes a loop and eventual authentication failure.
2024-09-25 06:42:37 +10:00
abraunegg
0a5793f69b
Fix issue #2835: Key not found: id when generating a /delta response for a shared folder (#2843)
* Ensure that the parent root of a given 'sync_list' entry is correctly processed if the rule contains N elements
* Update how 'sync_list' rule processing is logged
* Add debugging for createLocalPathStructure() function to ensure data is available if needed
* Fix 'std.json.JSONException@std/json.d(641): Key not found: id' when generating a /delta response for a personal shared folder
2024-09-23 16:59:19 +10:00
abraunegg
34ee722cfb Add debugging to support fixing #2835
* Add debugging for createLocalPathStructure() to support #2835 debugging
2024-09-23 10:31:58 +10:00
abraunegg
88e2493368
Fix issue #2830: Fix regression that --remove-source-files doesn’t work (#2833)
* Fix regression that --remove-source-files doesn’t work
2024-09-22 17:34:30 +10:00
abraunegg
cdaed5b94a
Fix issue #2832 (#2838)
* Update 'sync_list' isPathExcluded() function as this was excluding paths that should be included, thus, when in --monitor mode, local changes that were valid for inclusion via inotify were being missed
2024-09-22 17:29:30 +10:00
abraunegg
710d4518d4
Implement Feature Request #2840: Don't print the d-bus WARNING if disable_notifications is set on cmd line or in config (#2841)
* Implement Feature Request: Don't print the d-bus WARNING if disable_notifications is set on cmd line or in config
2024-09-22 09:00:59 +10:00
abraunegg
fb35508ad6
Update Debian Dockerfile to use 'curl' from backports (#2831)
* Due to the significant issues with Debian and it's default version of 'curl' ensure that the Debian Docker image will update 'curl' from the relevant backports repository to avoid these issues
2024-09-20 07:25:34 +10:00
abraunegg
a2061804be
Fix issue #2823: Fix regression of extra quotation marks when using ONEDRIVE_SINGLE_DIRECTORY with Docker (#2826)
* Fix regression of extra quotation marks when using ONEDRIVE_SINGLE_DIRECTORY with Docker. Original issue #2318 , original fix #2319
2024-09-20 05:32:37 +10:00
abraunegg
fd3a34e19a
Fix issue #2815 (#2817)
* If 'sync_list' is being used, and the file online contains URL encoded items, and cannot be URL decoded, catch the exception generated and generate an error message regarding the issue to advise the user to rename the offending item online.
2024-09-18 14:39:02 +10:00
abraunegg
f3b4a3326d
Fix issue #2806: crash when run synchronize due to negative free space online (#2808)
* When quota["remaining"].integer is converted, if negative, this leads to an issue due to 'ulong' type being used. Update how this value is converted, and the variable type to ensure that a negative number is stored as a negative number.
* Fix logging output by removing duplicate output
* Align logging messages to be consistent
* Fix up output alignment for '0' and 'Not Available'
2024-09-18 11:25:55 +10:00
abraunegg
49569e3d00
Add --enable-debug to Docker files (#2811)
* Add --enable-debug to Docker files when building client application so that if the client crashes in any way, there is some meaningful crash data available to diagnose and assist in fixing the actual issue encountered.
2024-09-18 08:01:07 +10:00
abraunegg
a3522fda30
OneDrive Client for Linux v2.5.0 (#2805) v2.5.0
OneDrive Client for Linux v2.5.0

---------

Signed-off-by: Thomas Staudinger <Staudi.Kaos@gmail.com>
Co-authored-by: JC-comp <147694781+JC-comp@users.noreply.github.com>
Co-authored-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Co-authored-by: Pierrick Caillon <megamisan@users.noreply.github.com>
Co-authored-by: Pierrick Caillon <pierrick.caillon@megami.fr>
Co-authored-by: Thomas Staudinger <Staudi.Kaos@gmail.com>
Co-authored-by: Yuan Liu <Lyncredible@users.noreply.github.com>
2024-09-16 11:14:46 +10:00
abraunegg
adad80cc26 Update ubuntu-package-install.md
* Add Linux Mint 22.x
2024-08-04 08:09:27 +10:00
abraunegg
5d0a760b6c Update ubuntu-package-install.md
* Backport documentation changes for installing the client on Ubuntu from v2.5.x branch
* Add Ubuntu 24.x details as backported from v2.5.x
2024-08-01 07:38:42 +10:00
abraunegg
1a88d33be3 Backport v2.5.x documentation changes
* Backport v2.5.x documentation changes for Docker and Podman
2023-11-16 09:15:30 +11:00
abraunegg
6282ec9e3b Update ubuntu-package-install.md
* Update doc to align to v2.5.x version
2023-11-10 04:50:50 +11:00
abraunegg
4a60654e3f
Update USAGE.md
* Fix documentation regarding skip_file example
2023-09-25 08:04:29 +10:00
abraunegg
a74ff589f8
Update USAGE.md (#2488)
* Add classify_as_big_delete
2023-09-14 07:06:56 +10:00
abraunegg
651aa16844
Update application-security.md
* Fix spelling error
2023-09-11 10:16:50 +10:00
abraunegg
85f99cb899
Update Security Documents (#2484)
* Update Security Documents
2023-09-11 07:26:14 +10:00
abraunegg
d712dd6093
Update USAGE.md
* Add note about minimum value for ''monitor_interval'
2023-08-31 09:55:54 +10:00
abraunegg
43b0bed4cb
Fix debugging log output when reporting file size and hash mismatch (#2473)
* Fix debug logging output with correct hash values as these were switched
* Only calculate local file size post download once and reuse value
2023-08-24 18:08:21 +10:00
Flynn Duniho
fc5cbaf2e9
Fix typo in USAGE.md (#2466)
* Fix typo in USAGE.md
2023-08-07 12:44:40 +10:00
abraunegg
50d80d333e
Add Debian 12 to documentation (#2459)
* Add Debian 12 to documentation
2023-07-27 05:32:20 +10:00
Gonçalo Martins
99271a45de
Add --no-remote-delete flag to docker entrypoint (#2453)
* Add --no-remote-delete flag to docker entrypoint

---------

Co-authored-by: Gonçalo Martins <g.martins@revolut.com>
Co-authored-by: abraunegg <alex.braunegg@gmail.com>
2023-07-24 10:41:06 +10:00
abraunegg
fb0a5f0796
Fix unhandled exception when authurl path is non-existent (#2456)
* Catch an unhandled exception when the user sets the authurl file to a location that cannot be accessed
2023-07-23 10:13:03 +10:00
abraunegg
94ccb7a6d0 Update webhook example configuration documentation
* Update webhook example configuration based on #2447
2023-07-11 18:09:45 +02:00
abraunegg
b2bf6aa475
Release files for 2.4.25 (#2440) v2.4.25
* Release files for 2.4.25
2023-06-21 15:30:40 +10:00
abraunegg
268dcf9120
Fix that zero-byte files do not have a hash as reported by the OneDrive API thus should not generate an error message (#2436)
* The OneDrive API does not present a hash for all files, most notably those that are zero byte in size (this may be fixed by the OneDrive API in the future). Add a wrapper to the existing makeItem function to test the file size before working out if this is a going to be a problem and if it is, then print out an error message if the file size is greater than 0 including either the full filename path or the items id.
2023-06-21 13:21:05 +10:00
abraunegg
f5edb8b394
Update Docker files June 2023 (#2438)
* Update Docker Files June 2023 and Documentation
2023-06-21 12:59:46 +10:00
abraunegg
4b32dbf12d
Update testbuild.yaml (#2439)
* Update testbuild.yaml and downgrade to Ubuntu 20.04
2023-06-21 11:15:56 +10:00
abraunegg
628a85dc93
Add Ubuntu 23.04 Instructions (#2437)
* Add Ubuntu 23.04 Instructions
2023-06-21 10:54:07 +10:00
abraunegg
3340fcca6a
Update util.d (#2428)
* Remove running version obsolete flag as this causes a false flagging as obsolete
2023-06-20 11:18:20 +10:00
abraunegg
25cc361277
Release files for 2.4.24 v2 (#2427) v2.4.24
* Release files for 2.4.24 v2 to correct incorrect configure.ac version
2023-06-20 10:48:08 +10:00
abraunegg
32a702eaaf Revert "Release files for 2.4.24 (#2426)"
This reverts commit 30b108027d.
2023-06-20 10:41:25 +10:00
abraunegg
30b108027d
Release files for 2.4.24 (#2426)
* Release files for 2.4.24
2023-06-20 10:38:36 +10:00
abraunegg
dfd1d1aa4a
Implement #2414 to allow HTTP session timeout(s) tuning via config (#2425)
* Implement #2414 to allow HTTP session timeout(s) tuning via config (taken from v2.5.x)
2023-06-20 09:28:17 +10:00
abraunegg
06420c9a0a
Remove sha1 use and cleanup defunct remaining crc32 use (#2424)
* Remove sha1 from being used by the client as this is being depreciated by Microsoft in July 2023 - https://devblogs.microsoft.com/microsoft365dev/deprecation-of-sha1hash-on-onedrive-personal/
* Complete the removal of crc32 as this is also no longer present for a long time, but some code elements still existed
* Only compute quickXorHash, not quickXorHash and sha256Hash as computing sha256Hash is CPU expensive
* Update cache database stored items to only store quickXorHash and sha256Hash values (remove crc32 and sha1)
2023-06-20 06:55:00 +10:00
abraunegg
c9fe8ad051 Update INSTALL.md
* Fix Readme
2023-06-17 08:48:30 +10:00
abraunegg
8045002c87
Update INSTALL.md (#2421)
* Add Linux Mint so it is clear that for Linux Mint users that the OpenSuSE Repository must be used
2023-06-17 08:19:07 +10:00
abraunegg
b0eb9ffcdf Update ubuntu-package-install.md
* Add note to remove erroneous systemd service entry
2023-06-12 09:05:13 +10:00
abraunegg
aa294b32f8
Update ubuntu-package-install.md
* Update wording
2023-06-12 08:45:03 +10:00