AccountingNext/Schaad.Accounting.Db
Claudio Schaad cbc1cd3f1f Restructure data folder to {mandator}/{year}, uploads and backup at root
New layout below DataPath (defined in DataFolders):
  {mandator}/{year}/*.json
  uploads/{mandator}/{year}/
  backup/{mandator}/{year}/

XmlToJsonMigrator becomes DataMigrator with two phases: first move the old
{year}/{mandator}/Data, uploads and {year}/backup folders into the new layout
unchanged, then convert the XML data files to JSON. Nothing is overwritten;
an identical file at the target is dropped, a different one stops startup.
Old folders are removed only once empty.

SettingsService builds the new paths; GetYearMandatorPath and
GetLastYearMandatorPath are removed as they now equal the data paths.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 13:57:58 +02:00
..
Repositories Store data as JSON instead of XML, with startup migration 2026-10-22 13:34:23 +02:00
DataMigrator.cs Restructure data folder to {mandator}/{year}, uploads and backup at root 2026-10-22 13:57:58 +02:00
JsonStorage.cs Restructure data folder to {mandator}/{year}, uploads and backup at root 2026-10-22 13:57:58 +02:00
RepositoryCache.cs PR P: full async I/O top to bottom (item 19) 2026-07-03 18:30:44 +02:00
Schaad.Accounting.Db.csproj Cleanup: remove plan docs, update NuGet, centralize build config (#1) 2026-10-22 11:20:31 +00:00