AccountingNext/Schaad.Accounting.Tests
Claudio Schaad 0c6e78b0d8 Add JSON editor for the data files
New page Stammdaten -> JSON-Editor edits the data files of the selected year
and mandator (default Transactions.json) as plain JSON in Monaco (BlazorMonaco
3.5.0, loaded on demand): highlighting, folding, live syntax errors, search
and replace with regex, format.

RawDataRepository saves only validated text: strict JSON (unknown properties
rejected with line/column), unique non-empty Ids, transactions referencing
existing accounts, accounts still used by transactions not removed. It refuses
if the file changed since loading, backs up the previous version to
backup/{mandator}/{year}/json-{timestamp}/, and saves through BaseRepository
so caches are refreshed.

- Hub MaximumReceiveMessageSize raised to 8 MB (files are several hundred KB)
- unsaved-guard.js asks before leaving with unsaved changes; NavigationLock
  doesn't apply because routing between per-page interactive pages is static

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 19:52:20 +02:00
..
AccountingAnalysisTestShould.cs Analyse page: income, net and assets views; narrow-screen layout (#6) 2026-10-22 16:42:43 +00:00
AccountRepositoryTestShould.cs PR P: full async I/O top to bottom (item 19) 2026-07-03 18:30:44 +02:00
ChartServiceTestShould.cs Add Analyse page: expenses over all years with drill-down (#4) 2026-10-22 14:02:08 +00:00
FileServiceTestShould.cs PR P: full async I/O top to bottom (item 19) 2026-07-03 18:30:44 +02:00
FormattingTestShould.cs PR G: test project with xxxTestShould / DoThisWhenThat / Shouldly 2026-07-02 21:25:48 +02:00
FxConverterTestShould.cs PR K: hide IFxService and FixerIo key behind IFxConverter 2026-07-02 21:51:44 +02:00
MultiYearRepositoryTestShould.cs Add Analyse page: expenses over all years with drill-down (#4) 2026-10-22 14:02:08 +00:00
RawDataRepositoryTestShould.cs Add JSON editor for the data files 2026-10-22 19:52:20 +02:00
RepositoryCacheTestShould.cs Remove XML-to-JSON data migration (#3) 2026-10-22 12:11:33 +00:00
Schaad.Accounting.Tests.csproj Cleanup: remove plan docs, update NuGet, centralize build config (#1) 2026-10-22 11:20:31 +00:00
SettingsServiceTestShould.cs Store data as JSON in a {mandator}/{year} layout, with startup migration (#2) 2026-10-22 12:00:17 +00:00
TransactionDatasetTestShould.cs Group booking-text charts by first word instead of full text 2026-08-07 18:23:22 +02:00
TransactionRepositoryTestShould.cs PR P: full async I/O top to bottom (item 19) 2026-07-03 18:30:44 +02:00
ViewServiceTestShould.cs PR P: full async I/O top to bottom (item 19) 2026-07-03 18:30:44 +02:00