Commit Graph
27 Commits
Author SHA1 Message Date
Carl Johnsen 5046edef49 Re-write the results after running the modules to elevate any errors or warnings emitted by a module to be part of the main results through logging. 2026-03-20 04:39:26 +01:00
Carl Johnsen 21d52ea793 Changed from a reflection based approach to a type safe one.
This is done by making the operation update class public so they can be accessed outside of the main library, and the progress updater is passed down from the controller.
2026-03-20 04:38:16 +01:00
Carl Johnsen 11e5bcdf30 Errors produced during the remote synchronization are now added to the results. 2026-03-18 16:15:30 +01:00
Carl Johnsen f02082d462 Update the remote synchronization phase using reflection 2026-03-18 15:49:23 +01:00
Carl Johnsen 741526c417 Forward the backup options as src options for the remote synchronization module 2026-01-28 10:22:39 +01:00
Carl Johnsen 8fa514f940 Made the default keys of the rsync json be parsed in kebab-case, and added a test for the sync-on-warnings flag 2026-01-28 09:54:32 +01:00
Carl Johnsen dc6383d9d4 Coverted from explicit json parsing to record based parsing 2026-01-28 09:11:08 +01:00
Carl Johnsen a76b80a4f6 Moved the recording of the rsync to after the operation has completed succesfully 2026-01-28 05:36:31 +01:00
Carl Johnsen 87070bf6c7 Changed to use the utility timeparser instead of the generic .NET one 2026-01-28 05:33:49 +01:00
Carl Johnsen c5feceb5e9 Renamed schedule to interval 2026-01-28 05:30:42 +01:00
Carl Johnsen f211ccee9a Added helper functions for parsing the remote synchronization json parsing for simplification and to handle nullable warnings. 2026-01-19 15:10:47 +01:00
Carl Johnsen 5b1290d18f On Windows, the same log should be used, as multiple processes cannot write to the same file 2026-01-15 07:35:38 +01:00
Carl Johnsen 7346030120 ShouldTrigger didn't have the initial trigger when counting as it should have 2026-01-13 06:49:54 +01:00
Carl Johnsen ef20138cd5 Src isn't available until later in the process 2026-01-13 06:48:03 +01:00
Carl Johnsen ac8acee257 cacked tests 2026-01-12 14:21:53 +01:00
Carl Johnsen 51031a8d71 Added the option to disable remote synchronization when the backup ran with warnings 2026-01-09 12:10:42 +01:00
Carl Johnsen 87dd0cd756 Incorrect indices passed to the remote synchronization module should not record anything in the database, but should instead emit a warning to the log 2026-01-09 10:56:55 +01:00
Carl Johnsen 7021036d98 Ensured that default schedules are explicitly added to the collections in RemoteSynchronizationModule.cs 2026-01-09 10:51:29 +01:00
Carl Johnsen 51d9c2c36d Syntactic updates 2026-01-09 10:50:09 +01:00
Carl Johnsen d428c4174d Database operations were reporting erros 2026-01-08 20:27:28 +01:00
Carl Johnsen e7f7960624 Removed unused variable 2026-01-08 19:24:33 +01:00
Carl Johnsen d583f6092a Added support for multiple destinations to the RemoteSynchronizationModule 2026-01-08 19:23:38 +01:00
Carl Johnsen 31714a2ff1 Changed the database operations of the RemoteSynchronizationModule to match those of the main librarys database operations 2026-01-08 19:03:40 +01:00
Carl Johnsen 5d37c8587e Added schedules to the RemoteSynchronizationModule 2026-01-08 18:38:52 +01:00
Carl Johnsen 6d2e83698d Added docstrings 2026-01-08 15:46:41 +01:00
Carl Johnsen fd30700253 Set default parameters and reduced the amount of exposed parameters to the remotesynchronizationmodule 2026-01-08 15:28:41 +01:00
Carl Johnsen 52b38579b7 Added remote synchronization as a module 2026-01-08 14:44:26 +01:00