Commit Graph
37 Commits
Author SHA256 Message Date
Daniel-Garmig dcd5bb2aad Deploy configuration
- Added tasks for publishing as container image.
- Improvements for deployment: Db migrations on startup, reverse-proxy forward headers, and DataProtect management.
- Added deploy example using docker-compose.
2026-09-09 17:50:27 +02:00
Daniel-Garmig fb2e00f06c Added Serilog for improved logs
- Logs will be shown by console and stored in files.
2026-09-08 21:13:35 +02:00
Daniel-Garmig 9ec87d56da feat StayExport - Added ExportDetails for StayExports
Store a new field ('ExportDetails') with export details. This is a JSON field in DB that can store information about the export depending on the format provider used.

Changes:
- Updated models and created required migrations.
- Show field in StayExport list.
2026-09-08 19:58:47 +02:00
Daniel-Garmig 7b8020879b feat StayExport - StayExportProvider SpainParteViejeros - Initial implementation
- Added initial implementation to export stays in "SpainParteViajeros" format.
- Added required configurations.
2026-09-08 14:31:00 +02:00
Daniel-Garmig dc5293bdf7 feat StayExport - Added service SpainCodigoMunicipio
- This service gets the "municipio" code of INE using Catastro API services.
2026-09-08 13:27:17 +02:00
Daniel-Garmig 4b72e3b3d3 feat StayExport - Added delete for StayExports. 2026-09-06 22:24:25 +02:00
Daniel-Garmig 6fe5a5e5a3 feat StayExport - Refactor Export Services.
- Created new service: IStayExportService" for common export operations.
- Updated older services to be "IStayExportFormatProvider". This services will only implement the export format.
- Renamed "IStayExportServiceFactory" to "IStayExportFormatProviderFactory" as this factory now is used to get the format providers for the given format.
2026-09-04 22:33:01 +02:00
Daniel-Garmig 058352b7f3 feat StayExport - Added common Interface "IResult" for Result so both (generic and non-generic one) can be used easier. 2026-09-04 20:50:38 +02:00
Daniel-Garmig 313a714a99 feat StayExport - Stay Export Pages - Initial implementation 2026-09-04 20:38:00 +02:00
Daniel-Garmig cf31cbc414 feat StayExport - Added LocalizerService
- Added new "LocalizerService" to get localization for enum values (and other dynamic/db values in the future).
2026-09-02 13:15:10 +02:00
Daniel-Garmig b318f2415c feat StayExport - Moved Entity Services. 2026-09-01 18:14:27 +02:00
Daniel-Garmig c24faedee5 feat StayExport - Initial Implementation
- Created models for DB and DTOs: StayExportFile
- Added required db migrations.
- Added StayExportService and StayExportServiceFactory for stay exporting services.
- Added configuration options required for StayExport.
2026-09-01 18:14:22 +02:00
Daniel-Garmig 7052ec734c feat StayExport - Added lib FluentStorage 2026-09-01 15:23:23 +02:00
Daniel-Garmig 887c3d787a GuestDocument Versions - Part 1:
- Changed GuestDocument PK from `DocumentType`+`DocumentNumber` to to `ID`+`Version` for future versioning.
- Added DB field "IsLastVersion" to simplify queries where only last/current version is allowed.
- Updated GuestDocument DB fields type for `CreateTime` & `UpdateTime` to add precision.
- Updated usages of GuestDocument PK to new PK.
- Limit delete of a GuestDocument when it's currently used in a StayEntry.

Note: DB changes require recreating db tables, so all data is lost and migration "rollback" is not allowed.
2026-09-01 15:04:38 +02:00
Daniel-Garmig a01eed82e1 GuestLog - Nominatim AddressQueryService fix for Provinces.
- Small fix in Nominatim AddressQueryService to map provinces using fields "state_district" and "county" in results.
2026-09-01 11:01:05 +02:00
Daniel-Garmig b08aaf2d7b Moved and renamed Db/Entity services for better organization. 2026-08-30 20:20:03 +02:00
Daniel-Garmig 4f22cd4541 GuestLog - Moved Enums
- Enums moved to Enum folder (by type).
- ResultCode class changed to enum to ensure type safety in results.
2026-08-25 15:18:02 +02:00
Daniel-Garmig b18bd7caa6 GuestLog - StayEntry pages fixes
- Details/New - Fixed time field binding. Now it binds directly to the Model instead of using temp TimeSpans.
- New - Fixed StayEntry validation to allow creating Stays with a DateOut in the past.
- List - Added ordering to db results so limit behaves in a deterministic way. Fixed default search so stays created today are shown.
2026-08-24 20:50:38 +02:00
Daniel-Garmig 511bd023f2 GuestLog - User message improvements
- Added UserMessageService to have common methods for showing messages and errors to the user.
- Added Result record so services can return status on operation error (so it can be shown in the UI messages).
- Updated services to use the new Result record.
- Updated pages to use the new IUserMessageService.
2026-08-23 21:57:26 +02:00
Daniel-Garmig 0de4e1ba10 GuestLog - General Improvements.
- GuestDocument details - Added navigation to details for stays.
- StayEntry details - Added dialog to see details of GuestDocuments.
- StayEntry List - Added filter for result table.
- StayEntry New - Show suggested guests on GuestSearchDialog so no searchs are required in some cases.
- NavMenu - Removed default navigation links.
2026-08-18 22:17:16 +02:00
Daniel-Garmig 340bc583b7 GuestLog - Nominatim AddressQueryService fix.
Small fix in Nominatim AddressQueryService to map "town" results.
2026-08-18 20:16:38 +02:00
Daniel-Garmig 67845e250f GuestLog - StayEntry detail view and improvements:
- Added detail view for StayEntries.
- Added button to delete StayEntries.
- Improve queries of StayEntries using a "query config" record.
- Enabled LazyLoading for all database relations. This will make easier to find cases where required relations aren't explicitly loaded.
2026-08-17 21:28:26 +02:00
Daniel-Garmig 3e0ef34f66 GuestLog - GuestDocument fixes & improvements:
- Use GuestDocument Details page to see details.
- Added GuestDocument stays in details page.

Other minor changes:
- Updated validators to use ValueValidator base class.
- Changed Snackbar settings to show them better.
- Added Empty Debug page to test things. This page wont be updated in git, all test must be local-only.
2026-08-15 21:23:29 +02:00
Daniel-Garmig 6dc2d2426b GuestLog - StayEntry - Initial Implementation
- Added new entity "StayEntry" to log stays of guests.
- Added pages for StayEntry management (List and creation).
- New DataList for PaymentMethods.
- Other general changes and improvements.
2026-08-15 19:33:32 +02:00
Daniel-Garmig ec7efd867b GuestLog - Added AddressQuery service using Google Maps Geocode API. 2026-08-12 14:10:18 +02:00
Daniel-Garmig 8232e7d7c9 GuestLog - Integrated AddressQuery dialog in GuestDocument creation and fixes.
- Added new CountryCodeUtils to map ISO-3166:Alpha2 country codes to ISO-3166:Alpha3 codes.
- Added new config for results language of AddressQuery services.
2026-08-11 22:02:15 +02:00
Daniel-Garmig 5c7fed2677 GuestLog - Added dialog for Address search. 2026-08-11 13:14:49 +02:00
Daniel-Garmig 3fe558c231 SomniaGuestLog - Address search/query using Nominatim - Initial implementation
Initial implementation for address search/query using external APIs (OSM Nominatim) & Added required classes for supporting more APIs in the future.
2026-08-07 22:08:25 +02:00
Daniel-Garmig 2335c223ea GuestLog - GuestDocumentList - Added filter for GuestDocuments. 2026-08-03 21:33:30 +02:00
Daniel-Garmig a5eea09eee GuestLog - Improvements to GuestDocument creation
- Added DocumentNumber validations.
- Added new page to see GuestDocument details.
2026-07-30 20:31:13 +02:00
Daniel-Garmig 5061f9362b GuestLog - Small improvements and changes in localization for DataLists. 2026-07-29 14:46:06 +02:00
Daniel-Garmig e7e9fb1d12 GuestLog - Localization - Initial Implementation 2026-06-24 12:54:20 +02:00
Daniel-Garmig d93ba3d9ee GuestLog - Added delete to GuestDocument list. 2026-06-22 18:21:06 +02:00
Daniel-Garmig 9f44ff6e3d GuestLog - GuestDocument detail view and creation improvements. 2026-06-21 22:35:20 +02:00
Daniel-Garmig 76b2695c02 GuestLog - GuestDocument pages initial implementation 2026-06-21 17:10:27 +02:00
Daniel-Garmig 86fadf97b4 GuestLog - Added GuestDocument db table. 2026-06-18 21:23:38 +02:00
Daniel-Garmig 26f77bb8fd GuestLog - Solution and project creation. 2026-06-18 18:49:44 +02:00