Commit Graph

95 Commits

Author SHA1 Message Date
Jonas Linter
16de553095 Added is_regular and awarness detection 2025-12-03 17:59:30 +01:00
Jonas Linter
24d64bf28f Seems to mostly work now. Regular matching is still wrong 2025-12-03 17:05:58 +01:00
Jonas Linter
50ce0ec486 Finally fixed greenlet_spawn sqllchemy error. The horror 2025-12-03 14:13:20 +01:00
Jonas Linter
78f81d6b97 Fixed greenlet error on rollback 2025-12-03 11:32:24 +01:00
Jonas Linter
08f85d1b26 Holy db migrations batman 2025-12-03 10:41:34 +01:00
Jonas Linter
163b4be9cc Fixed small issue in webhook-processor not saving the results to the webhook_request table 2025-12-02 16:00:43 +01:00
Jonas Linter
0f3805bed4 New pydantic model for ConversionGuest 2025-12-02 13:18:43 +01:00
Jonas Linter
e05b700ed0 Fixed some tests and added schemas 2025-12-01 10:14:14 +01:00
9830ca7cf9 Webhook_processors accept event_dispatchers now so that push notifs are possible in the future 2025-11-27 14:58:36 +00:00
Jonas Linter
e2d0ef8e53 Some more refactoring. Push_events don't work at the moment 2025-11-27 15:33:15 +01:00
Jonas Linter
aec8a99b71 Handling legacy endpoints directly in unified endpoints 2025-11-25 20:40:51 +01:00
Jonas Linter
4ab0888508 Moved some stuff around and fixed circular import 2025-11-25 20:30:07 +01:00
Jonas Linter
97994c5a38 Better typing + moved some code to webhook_processor 2025-11-25 20:20:40 +01:00
Jonas Linter
b77a0be80f feat: Add hotel and webhook endpoint management
- Introduced Hotel and WebhookEndpoint models to manage hotel configurations and webhook settings.
- Implemented sync_config_to_database function to synchronize hotel data from configuration to the database.
- Added HotelService for accessing hotel configurations and managing customer data.
- Created WebhookProcessor interface and specific processors for handling different webhook types (Wix form and generic).
- Enhanced webhook processing logic to handle incoming requests and create/update reservations and customers.
- Added logging for better traceability of operations related to hotels and webhooks.
2025-11-25 12:05:48 +01:00
Jonas Linter
1fb698de66 Extract offer from generic_webhook if set 2025-11-20 23:01:04 +01:00
Jonas Linter
b4522d2e2a Csv import now works with preacknowlegdments 2025-11-18 19:25:52 +01:00
Jonas Linter
104ac5fd6d Fixed the csv_import 2025-11-18 18:37:30 +01:00
Jonas Linter
2c61d13d7a Converted csv_import to put request 2025-11-18 16:23:58 +01:00
Jonas Linter
3f149fe984 Presumably production ready xD 2025-11-18 16:10:57 +01:00
Jonas Linter
b826277b54 Looking good 2025-11-18 14:49:44 +01:00
Jonas Linter
ab09fb02eb Conversion import returns faster and processes in the background 2025-11-18 14:37:04 +01:00
Jonas Linter
5a660507d2 Alembic experiments 2025-11-18 11:04:38 +01:00
Jonas Linter
c91290f1b0 More suffernig 2025-11-17 18:17:06 +01:00
Jonas Linter
f3978381df Matching guests works nicely 2025-11-17 14:25:53 +01:00
Jonas Linter
9b82be9a6e Fixed export 2025-11-17 09:13:33 +01:00
Jonas Linter
189e44a7ff Hotfix for NoneType kid ages 2025-11-13 11:39:57 +01:00
Jonas Linter
0d13f903a0 Updated db handling 2025-11-13 09:08:02 +01:00
Jonas Linter
12072dcbc8 Small fixes 2025-11-12 18:40:37 +01:00
Jonas Linter
eb10e070b1 Refactored db logic. Can now specify schema in config 2025-11-04 09:20:02 +01:00
Jonas Linter
e7b789fcac Fixed generic_webhook error and made the duplicate submission thing a bit cleaner 2025-10-27 09:02:50 +01:00
Jonas Linter
90d79a71fb Added account_ids to the config 2025-10-22 17:32:28 +02:00
Jonas Linter
81074d839a Started setting up conversion_imports. Not entirely sure how it ultimatly works. Need to grab some real data for a while first 2025-10-22 15:19:17 +02:00
Jonas Linter
76ab37f097 Fixed checkbox nonsense 2025-10-22 09:22:39 +02:00
Jonas Linter
9f36997166 Country code fixes. Hopefully 2025-10-20 09:46:20 +02:00
Jonas Linter
8e6049e210 Added docstrings 2025-10-20 09:15:08 +02:00
Jonas Linter
6f377b1ea1 Fixed some linting stuff 2025-10-20 08:56:14 +02:00
Jonas Linter
7bcbe70392 Database migrations incorrectly ran before the tables where created. This didn't cause problems when the database was already set up but would absolutely bork a fresh install. 2025-10-20 08:39:26 +02:00
Jonas Linter
f30632df29 Updated reporting scheme. Should work better now 2025-10-17 19:47:15 +02:00
Jonas Linter
c43782c664 Migration should work now 2025-10-16 16:16:36 +02:00
Jonas Linter
c07d025873 Pushover startup fix 2025-10-16 11:24:20 +02:00
Jonas Linter
eef70516a9 Added pushover support 2025-10-16 11:08:39 +02:00
Jonas Linter
6ad4df6990 Fixed startup email 2025-10-16 10:53:03 +02:00
Jonas Linter
90e253b950 Potentially fixed daily report 2025-10-16 10:39:43 +02:00
Jonas Linter
716e5066e1 Changed return value 2025-10-15 14:38:33 +02:00
Jonas Linter
9104c60956 More logging 2025-10-15 14:31:16 +02:00
Jonas Linter
f58332221b Created lang-detect endpoint 2025-10-15 14:24:38 +02:00
Jonas Linter
361611ae1b Worker coordination with file locks 2025-10-15 10:07:42 +02:00
Jonas Linter
0d04a546cf Fixed functions in lifespan running multiple times even though once would be enough 2025-10-15 09:21:52 +02:00
Jonas Linter
a8c441ea6f Stats collector for email monitoring 2025-10-15 09:09:07 +02:00
Jonas Linter
f22684d592 Added email monitoring 2025-10-15 08:46:25 +02:00