Commit graph

820 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 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 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 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 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 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 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 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 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
abraunegg 074b29b031 Update sync.d
* Fix spelling error (#2668)
2024-03-18 06:51:35 +11:00
abraunegg 86b4cd3452 Restore i386 build using Debian 12
* Restore i386 build using Debian 12
* Tested on i386 and x86_64
* ARM64 and ARMHF not yet tested / validated
2024-03-12 19:16:17 +11:00
abraunegg eb17c779e8 Release files for 2.5.0-rc1
* Release files for 2.5.0-rc1
2024-03-10 11:34:38 +11:00
JC-comp 3d249b8d10
Fix: Initialization and Error Handling for Libnotify (#2659)
* fix libnotify
* Add notification error handling
2024-03-10 11:18:54 +11:00
abraunegg 75c3d0d939
Implement Feature Request #1300 - Support the syncing of individual business shared files (#2646)
* Implement Feature Request #1300 - Support the syncing of individual business shared files
2024-03-09 07:15:11 +11:00
abraunegg e895a1174c Update sync.d
* Change local directory creation to a reusable function
2024-02-26 10:32:53 +11:00
JC-comp 333ddbefea
Fix monitor response time (#2635)
* Sleep only when there are no upcoming events.
* Add constraint to prevent starvation.
2024-02-21 06:45:03 +11:00
JC-comp 03386c1499
Seperate OneDriveWebhook from OnedriveAPI instance (#2607)
* Separate OneDrive webhook from OneDriveAPI
* Ensure compatibility with the monitor mode
2024-02-21 05:13:26 +11:00
abraunegg fecec1ba72 Handle #2626 | Case 2-1 and Case 2-2 items
* Specifically resolve #2626 | Case 2-1 and Case 2-2 items
2024-02-19 10:29:49 +11:00
JC-comp b4c10e6eee
Shutdown Inotify Monitor Gracefully (#2628)
* Adjust pipline
* Shutdown monitor
* Backward compatible for ldc v1.20.1
* Fix shutdown process
* Update logging output and logging levels
---------

Co-authored-by: abraunegg <alex.braunegg@gmail.com>
2024-02-14 05:02:48 +11:00
JC-comp a92221bb50
Add support for batched local monitor processing (#2609)
* Fix file upload fallback for all scenario
* Add support for batched monitor
* Add recursive match
* Adjust logging output
* Add error handling
2024-02-12 17:12:20 +11:00
abraunegg 7621bbab65 Update log.d
Fix indentation
2024-02-12 16:45:55 +11:00
JC-comp c7bfd0da10
Implement Blocking Logger Mechanism (#2627)
* Replace polling logger
* Backward compatibility with ldc v1.20.1
2024-02-12 16:33:44 +11:00
abraunegg 1be74fc982 Resolve Issue #2625
* Local files should be safely backed up when the item is not in sync locally to prevent data loss when they are deleted online
2024-02-12 09:45:15 +11:00