AccountingNext/Schaad.Accounting.UI
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
..
Components Add JSON editor for the data files 2026-10-22 19:52:20 +02:00
Properties Add new blazor app 2025-05-04 20:00:42 +02:00
wwwroot Add JSON editor for the data files 2026-10-22 19:52:20 +02:00
appsettings.Development.json PR N: polish pass — ClassIds static, drop loaded flag, mandator from config 2026-07-02 22:07:08 +02:00
Extensions.cs Add JSON editor for the data files 2026-10-22 19:52:20 +02:00
Program.cs Add JSON editor for the data files 2026-10-22 19:52:20 +02:00
Schaad.Accounting.UI.csproj Add JSON editor for the data files 2026-10-22 19:52:20 +02:00
Schaad.Accounting.UI.csproj.user Add new blazor app 2025-05-04 20:00:42 +02:00