Commit graph

1464 commits

Author SHA1 Message Date
abraunegg bf029b4676 Update ^C Handling during upload|download operations
* Update ^C Handling during upload|download operations
2024-04-28 09:05:30 +10:00
abraunegg 39c04642cd Update PR
* Reinstate variable cleanup post testing
2024-04-27 12:51:40 +10:00
abraunegg 654d2b4fc5 Update sync.d
* Update so that the available processPool worker threads equals the number of threads set in the application configuration
2024-04-27 12:30:06 +10:00
abraunegg a8ed848abd Update PR
* Update when an API instance is released and when it is destroyed
* Add logging to determine curl pool usage
2024-04-27 09:26:51 +10:00
abraunegg 0dd936be3d Update sync.d
* OneDrive API Instance Cleanup - Shutdown API, free curl object and memory
2024-04-26 19:45:26 +10:00
abraunegg cdecf3b653 Update sync.d
* OneDrive API Instance Cleanup - Shutdown API, free curl object and memory
2024-04-26 16:43:20 +10:00
abraunegg 0117639596 Update PR
* Fix resetSyncFailures()
* Fix functions to display memory usage pre|post garbage collection
* Add function to query Resident Set Size (RSS)
2024-04-26 11:15:38 +10:00
abraunegg c775ce6a69 Update PR
* Update PR
2024-04-26 07:00:43 +10:00
abraunegg 080a44b9d7 Update curlEngine.d
* Remove temp logging output
2024-04-25 12:40:48 +10:00
abraunegg 022a5c43a5 Update main.d
* Remove thread_joinAll()
2024-04-25 10:25:18 +10:00
abraunegg f941db0349 Update main.d
* Make sure we return any used memory back to the OS on exit
2024-04-25 09:46:20 +10:00
abraunegg e3b2ec4ae1 Update PR
* Rework entire #2608 due to errors, memory leaks and handling
* Fix 429 'retry-after' header searching to use actual value, not 120 all the time
* General cleanup of code from #2608
2024-04-25 08:31:29 +10:00
abraunegg 23c0326822 Update usage.md
* fix up spacing
2024-04-15 05:48:07 +10:00
abraunegg a3d2fde7a2 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:46:21 +10:00
abraunegg dbe21ed903 Update main.d
* Correct ^C handling
* Correct ^C exit value
2024-04-14 08:50:31 +10:00
abraunegg 295a734783 Update code to align to v2.4.25 exception.httpStatusCode handling
* Update code to align to v2.4.25 exception.httpStatusCode handling
2024-04-14 08:04:06 +10:00
abraunegg ec933af290 Refine code changes
* Refine code changes from #2608 based on memory allocation and usage
2024-04-13 08:08:19 +10:00
abraunegg 2bb82f718f Merge latest RC1 into this PR
* Merge latest RC1 into this PR
2024-04-12 08:04:10 +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 7be19abde8 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:46:35 +10:00
abraunegg 9fa7494d41 Update PR
* Update PR based on testing various scenarios
2024-04-05 10:23:15 +11:00
abraunegg 4654314b56 Change 'defaultDataTimeout'
* Change 'defaultDataTimeout' from 240 to 60 seconds
2024-04-01 06:25:31 +11:00
abraunegg a28fe92119 Update usage.md
* Update how to enable logging
2024-04-01 06:07:48 +11:00
abraunegg ef4e990ef6 Update onedrive.d
* Correct output that should be just debug only
2024-03-31 10:37:37 +11:00
abraunegg c1a619f82f Update with working state
* Update with working state
2024-03-31 09:03:58 +11:00
abraunegg a3050bca54 Update onedrive.d
* Align to original  PR2608 work
2024-03-31 08:40:50 +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 908d7e3907 Initial add of PR2608
* Initial add of PR2608
2024-03-31 07:20:04 +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
abraunegg 235fbf7772 Update config.d
* Dont display Shared Files Directory if feature not enabled
2024-03-18 07:25:53 +11:00
abraunegg 8493ea8744 Update sync.d
* Update messaging that this is the online file data being checked
* Ensure that if the file exists online, integrity validation checks are logged
2024-03-18 07:17:32 +11:00