Fix data loss risk, reminder bugs; theme, credits, tests

- Store tasks in %APPDATA% (single-file extract dir lost data on update),
  atomic serialized saves, corrupt-file backup, migration of old tasks.json
- Reminders without description never showed (empty balloon text threw)
- Catch up missed reminders on start; monthly recurrence no longer drifts
- Task dialog: date pick kept 00:00, cancel leaked recurrence changes
- CSV import understands quoted fields written by export
- Confirm before deleting; name folders on create; tasks sorted by date
- Single instance, autostart starts hidden in tray, tray icon disposed
- Theme helper for all dialogs, MDL2/Path icons instead of emojis,
  fixed folder selection/badge, localized counts and messages
- Credits (c) Michael Media + Discord link, exe Company/Copyright
- Locales embedded; xUnit tests (24); README, CLAUDE.md, sprite-generator

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 14:08:53 +01:00
parent 5ca2770829
commit 1918712f7f
42 changed files with 1620 additions and 820 deletions

View File

@@ -6,12 +6,24 @@ echo ReminderOrganizer - Release Builder
echo ============================================
echo.
echo [1/4] Loesche alte Dateien...
echo [1/4] Tests...
dotnet test Tests\ReminderOrganizer.Tests.csproj -nologo -v q
if errorlevel 1 (
echo.
echo *** Tests fehlgeschlagen - kein Release! ***
pause
exit /b 1
)
echo [2/4] Loesche alte Dateien...
if exist "publish" rmdir /s /q "publish"
if exist "ReminderOrganizer.zip" del "ReminderOrganizer.zip"
echo [2/4] Baue Single-File EXE...
dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -o publish
echo [3/4] Baue Single-File EXE...
rem Locales are embedded; data lives in %%APPDATA%%\ReminderOrganizer (not next to the exe).
dotnet publish ReminderOrganizer.csproj -c Release -r win-x64 --self-contained true ^
-p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true ^
-p:EnableCompressionInSingleFile=true -p:DebugType=none -o publish
if errorlevel 1 (
echo.
@@ -20,11 +32,8 @@ if errorlevel 1 (
exit /b 1
)
echo [3/4] Kopiere Locales Ordner...
xcopy /E /I /Y "Locales" "publish\Locales" >nul
echo [4/4] Erstelle ZIP Datei...
powershell -Command "Compress-Archive -Path 'publish\ReminderOrganizer.exe', 'publish\Locales\*' -DestinationPath 'ReminderOrganizer.zip' -Force"
powershell -NoProfile -Command "Compress-Archive -Path 'publish\ReminderOrganizer.exe' -DestinationPath 'ReminderOrganizer.zip' -Force"
if errorlevel 1 (
echo.
@@ -35,13 +44,8 @@ if errorlevel 1 (
echo.
echo ============================================
echo FERTIG!
echo ReminderOrganizer.zip wurde erstellt.
echo ============================================
echo Inhalt:
echo - ReminderOrganizer.exe
echo - Locales\de.json (Deutsch)
echo - Locales\en.json (English)
echo FERTIG! ReminderOrganizer.zip
echo Inhalt: ReminderOrganizer.exe (Deutsch/Englisch eingebaut)
echo ============================================
echo.
pause
if "%1"=="" pause