Commit graph

1466 commits

Author SHA1 Message Date
abraunegg fb77411b1f Cleanup code after long running on ArchLinux
* Cleanup code where required in preparation for further testing on other platforms
2024-05-18 10:41:06 +10:00
abraunegg 837933d196 Update main.d
* Ensure that syncEngineInstance is shutdown the correct way, checking that it has been initialised before attempting a shutdown
2024-05-12 08:52:48 +10:00
abraunegg 797dfd1f14 Update onedrive.d
* Update wording as to what is being accessed
2024-05-12 08:51:18 +10:00
abraunegg ac334e8860 Correct usage of CURLOPT_NOSIGNAL
* When CURLOPT_NOSIGNAL is set to 1, libcurl will not use any code that installs signal handlers nor will it use any code that might cause signals to be sent to the process by libcurl. This is safer for multi-threaded applications.
2024-05-12 08:50:29 +10:00
abraunegg 2b8d1adc1f Update onedrive.d
* Remove log output that was erroneously left in
2024-05-11 08:35:53 +10:00
abraunegg 1eb089ae58 Update PR
* Add debug logging for HTTP Response Headers
* Add debug logging for HTTP Status Line
* Ensure all logging is flushed correctly and log buffers are flushed
* Use forceExit(); in a consistent manner, which shuts down logging and flushes any remaining logs in buffer
2024-05-11 08:20:01 +10:00
abraunegg 00205bf2bd Update application-config-options.md
* Update documentation
2024-05-10 12:38:31 +10:00
abraunegg b0fd070d09 Update sync.d
* Restore destructor that was missed
2024-05-09 20:52:25 +10:00
abraunegg 28a6dd7acc Resolve segfault on exit
* As reported by @bpozdena , @aothmane-control - a segfault exists on exit, which has been tracked back to the threaded logging functions. This commit should resolve this segfault on exit.

This commit has been developed and tested using Arch Linux:

NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

Installed using archlinux-2024.05.01-x86_64.iso

The version of 'ldc' that was installed, as detected by 'configure' was 1.37.0

-----------------------------------------
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for dmd... no
checking for ldc2... ldc2
checking version of D compiler... 1.37.0
checking for curl... yes
checking for sqlite... yes
checking for notify... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/pacman/PKGBUILD
config.status: creating contrib/spec/onedrive.spec
config.status: creating onedrive.1
config.status: creating contrib/systemd/onedrive.service
config.status: creating contrib/systemd/onedrive@.service
-----------------------------------------
2024-05-09 20:41:39 +10:00
abraunegg e408145e08 Fix OneDrive Business Shared Folders cannot be created (regression)
* Fix that new local folders + files in OneDrive Business Shared Folders cannot be created (regression)
2024-05-08 20:50:21 +10:00
abraunegg a1276f8e2c Fix local deletion of a OneDrive Business Shared Folder
* Fix local deletion of a OneDrive Business Shared Folder so that the online deletion is of the 'link' on our account, not the remote data as this should remain untouched
2024-05-07 18:38:12 +10:00
abraunegg 66cd9320d3 Fix suppression
* Fix suppression
2024-05-06 15:58:40 +10:00
abraunegg 9aaf633fdc Update UML diagrams
* Update UML diagrams based on #2715 changes
2024-05-06 14:55:29 +10:00
Dimitri Papadopoulos Orfanos 1f86759003
Fix misspellings found by codespell (#2715)
* Fix misspellings found by codespell
* Fix merge conflict

---------

Co-authored-by: abraunegg <alex.braunegg@gmail.com>
2024-05-06 14:43:55 +10:00
Dimitri Papadopoulos Orfanos 773a05c496
Update URLs: http:// → https:// (#2714)
Update URLs: http:// → https://
2024-05-06 12:35:32 +10:00
Dimitri Papadopoulos Orfanos 61b2f9b732
Update corporation name: 21Vianet → VNET (#2712)
Update corporation name: 21Vianet → VNET (https://www.vnet.com/)
2024-05-06 12:34:09 +10:00
abraunegg d3f9f8cf9f Update sync.d
* Add JSON Processing Elapsed Time so performance of JSON element processing can be tracked if required
2024-05-06 12:30:00 +10:00
abraunegg 44fc07c163 Update PR
* Cleanup CurlEngine logging output
* Align various items to coding style
* Fix up processing dot output when in non-verbose mode
2024-05-06 11:53:18 +10:00
abraunegg 12631f2386 Update sync.d
* Add reusable cache for storing the deltaLink between sync loops when using --monitor
* Add comments around the TaskPool shutdown process
2024-05-01 06:30:08 +10:00
abraunegg 6d9caaf71b Update Docker files
* Update Alpine to 3.19, GO 1.22, GOSU 1.17
* Update Fedora to 40, GO 1.22, GOSU 1.17
2024-04-29 13:55:28 +10:00
abraunegg e1e35faec3 Potentially resolve #2699
* Update docker.md to clarify where to install Docker from
* Potentially resolve #2699 - needs testing by reporter
2024-04-29 09:22:14 +10:00
abraunegg 0f0bc88ed7 Update onedrive.d
* Fix arm64 compiler issue when calculating transfer ETA
2024-04-29 06:29:23 +10:00
abraunegg 1ab1056c8c Update Debian Docker file
* Update Debian Docker file to not specify compiler
2024-04-29 06:18:52 +10:00
abraunegg 8fd4ef990f Update sync.d
* Fix TaskPool compatibility with minimum DMD and LDC versions
2024-04-28 20:26:08 +10:00
abraunegg be3d28bf3c Release files for 2.5.0-rc2
* Release files for 2.5.0-rc2
* Code changes from 2.5.0-rc1 --> 2.5.0-rc2 (#2686)
* Update docs regarding Ubuntu 24.04
2024-04-28 17:18:25 +10:00
abraunegg 0f012b9f82 Update usage.md
* Update spacing
2024-04-15 06:01:54 +10:00
abraunegg 405761e0a9 Update usage.md
Add specific example around using 'sync_list' and only including a child of a parent in the 'sync_dir'
2024-04-15 05:49:40 +10:00
abraunegg 3b0674e3c8 Update PR
* Update code based on fixing valgrind issues
2024-04-11 17:40:40 +10:00
abraunegg c680c75f4f Update Makefile.in
General Flags: Flags that are always needed, such as warnings (-w) and directory inclusion (-J.), are added outside of the conditionals.
Debug Flags:
For DMD: When debugging is enabled (DEBUG=yes), the -debug flag for including debug code and -gs for generating standalone debug symbols are added.
For LDC or other compilers: -d-debug for debugging and -gc for generating debugging information are added similarly when debugging is enabled.
Optimization Flag:
The -O flag is only added when debugging is not enabled. This ensures that the program is compiled with optimizations only when it is not in debug mode.
2024-04-08 13:47:08 +10:00
abraunegg a28fe92119 Update usage.md
* Update how to enable logging
2024-04-01 06:07:48 +11:00
abraunegg 8801344209 Update itemdb.d
* Add case statement covering ~5 years of user issues when a sqlite error has been generated, so that there is some additional information to point the user in the right direction to resolve
2024-03-31 07:25:33 +11:00
abraunegg a6f79e90dc Add Coding Style Guidelines
* Add Coding Style Guidelines
2024-03-30 10:45:44 +11:00
abraunegg 106b5c3068 Add National Cloud Deployment to flag /children scan
* Add National Cloud Deployment to flag /children scan
2024-03-30 07:59:25 +11:00
abraunegg 26f92b6191 Update sync.d
* Update when deltaLinkCache is set
* Update logging output when deltaLinkCache is used
2024-03-30 07:03:59 +11:00
abraunegg 4af2420944 Update sync.d
* Remove testing code that was not needed
2024-03-30 06:58:42 +11:00
abraunegg 90010b2c1d Update sync.d
* whitespace cleanup
2024-03-29 20:13:44 +11:00
abraunegg 3d660921dd Update sync.d
* Resolve issue where if ^C or something else happens, before jsonItemsToProcess is processed, ensure the database is only updated with the deltaLink post all items being processed, which included downloading of any applicable items.
2024-03-29 20:11:13 +11:00
abraunegg 55b0945311 Update usage.md
* Add note about path length limitation
2024-03-29 05:56:20 +11:00
abraunegg 516fe290f7 Add ONEDRIVE_SYNC_SHARED_FILES
* Add ONEDRIVE_SYNC_SHARED_FILES to Docker and Podman to control "--sync-shared-files" option as per #2680
2024-03-27 05:54:12 +11:00
abraunegg 37434dd71e Update sync.d
* Update comments
* Add check to ensure when creating a new directory, the value passed in must not be empty
* Update logging output to be consistent with other actions
2024-03-27 05:36:59 +11:00
abraunegg 2f832026d8 Update usage.md
* readability
2024-03-26 05:54:25 +11:00
abraunegg f2e113adf4 Update usage.md
* typo
2024-03-26 05:53:44 +11:00
abraunegg 8f407375b8 Update usage.md
* Improve restriction language for clarity
2024-03-26 05:52:36 +11:00
abraunegg c592ba5a25 Enhance error logging for SqliteException
* Enhance error logging for SqliteException to include the return code in logging output to make it easier to understand why the sqlite error has occurred.
2024-03-25 17:57:17 +11:00
abraunegg 35ebdc87d4 Update regular expression for invalid patterns
* Update regular expression for invalid patterns for efficiency
* Update table title
2024-03-25 09:33:01 +11:00
abraunegg 3c44f7d2d9 Update usage.md
* Add UTF-16 alternatives for working around Microsoft OneDrive naming restrictions
2024-03-25 07:03:51 +11:00
abraunegg 8d23cdf495
Update docs to use markdown alerts (#2676)
* Update docs to use markdown alerts
2024-03-24 19:33:14 +11:00
abraunegg 68d6921a11 Restore capability to allow non-sync tasks while sync is running
* Restore lost functionality to allow non-sync tasks to operate while a sync is running - #2106 , #2112
2024-03-22 09:14:16 +11:00
abraunegg 46dfb051fe Update log.d
* Potentially resolve 'Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed.[1]    44576 IOT instruction (core dumped)' errors
2024-03-22 08:23:01 +11:00
abraunegg a6e2f778c9 Update sharepoint-libraries.md
* Change command reference
2024-03-19 05:51:07 +11:00