Commit Graph

317 Commits

Author SHA1 Message Date
Jonas Linter
92fb486141 Added git-filter-repo 2025-12-04 20:32:21 +01:00
Jonas Linter
27685695a2 No schema creation if public 2025-12-04 17:07:54 +01:00
Jonas Linter
8d8060187e Fixed setup for db where its empty 2025-12-04 17:05:48 +01:00
Jonas Linter
9bbcb4b971 FIxed date range overlap 2025-12-04 16:33:11 +01:00
Jonas Linter
9ac5f38b55 Free rooms doesn't cause errors but further data verification is necessary 2025-12-04 16:14:40 +01:00
Jonas Linter
cdb69bc3c7 Activated free rooms 2025-12-04 15:32:29 +01:00
Jonas Linter
5f82de9c53 Merge branch 'db_fixes_plus_free_rooms' of https://gitea.99tales.net/jonas/alpinebits_python into db_fixes_plus_free_rooms 2025-12-03 22:37:08 +01:00
Jonas Linter
0c2254544d Bit hamfisted but updates old records 2025-12-03 19:15:21 +01:00
Jonas Linter
a0c795d0e4 Updated classification scheme 2025-12-03 19:02:34 +01:00
Jonas Linter
a2ac51e5db Another logging message to see how the classification is doing 2025-12-03 18:52:53 +01:00
Jonas Linter
a6c5d0b9f5 Added a logging statement to better see where the child dies 2025-12-03 18:44:32 +01:00
Jonas Linter
16de553095 Added is_regular and awarness detection 2025-12-03 17:59:30 +01:00
Jonas Linter
4a9c0b91a1 And fixed typo 2025-12-03 17:47:30 +01:00
Jonas Linter
859716d0ea Added migration for awarness guest column 2025-12-03 17:47:23 +01:00
Jonas Linter
325f64fbc3 Awarness guest now for real 2025-12-03 17:44:05 +01:00
Jonas Linter
ea1d207438 Added awarnesss flag for conversion_guests 2025-12-03 17:43:51 +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
c4ecf3802f Fine this needs more work 2025-12-03 16:12:07 +01:00
Jonas Linter
e1bbefb9a3 Significant matching fix. 2025-12-03 15:23:10 +01:00
Jonas Linter
50ce0ec486 Finally fixed greenlet_spawn sqllchemy error. The horror 2025-12-03 14:13:20 +01:00
Jonas Linter
bf7b8ac427 Readded fk constraint for conversion_guests 2025-12-03 12:27:17 +01:00
Jonas Linter
8c09094535 Fixed removing hashed_customer 2025-12-03 12:12:37 +01:00
Jonas Linter
ca1f4a010b Not quite done but mostly starting to remove hashed_customer references 2025-12-03 12:00:02 +01:00
Jonas Linter
78f81d6b97 Fixed greenlet error on rollback 2025-12-03 11:32:24 +01:00
Jonas Linter
df7d3c6543 HashedCustomer is now no longer necessary 2025-12-03 11:10:27 +01:00
Jonas Linter
34cb2131c4 Migration to single customer table works but conversion_service still needs updating 2025-12-03 10:51:18 +01:00
Jonas Linter
08f85d1b26 Holy db migrations batman 2025-12-03 10:41:34 +01:00
Jonas Linter
2eb6902d21 Reduced logging for conversion service 2025-12-02 17:03:07 +01:00
Jonas Linter
4765360a45 Replaced config auth with db auth 2025-12-02 16:43:56 +01:00
Jonas Linter
2c3d779ab2 Reduced logging impact 2025-12-02 16:01:45 +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
2c1bdf6840 Lots of refactoring and simplification in conversions_service 2025-12-02 15:45:40 +01:00
Jonas Linter
d458f4f2c0 Removed some unused fields 2025-12-02 15:38:39 +01:00
Jonas Linter
de61d67508 Update guest IDs in reservation tests for consistency 2025-12-02 15:27:14 +01:00
Jonas Linter
473becfe5b Fixed up the damm tests 2025-12-02 15:24:30 +01:00
Jonas Linter
0f3805bed4 New pydantic model for ConversionGuest 2025-12-02 13:18:43 +01:00
Jonas Linter
b1c867ca93 Migration successfull. Does not cause any problems and new foreign keys work 2025-12-02 11:27:07 +01:00
0f00b4508e Small db improvements. Still needs migration for alembic 2025-12-02 09:45:27 +00:00
91bb9996b7 Merge branch 'concurrency-fix' of https://gitea.99tales.net/jonas/alpinebits_python into concurrency-fix 2025-12-01 10:15:58 +00:00
3cc3a40573 Added a new analysis query to the sql_analysis.md file 2025-12-01 10:15:39 +00:00
Jonas Linter
03e6c1c4af Disabled free rooms action for now 2025-12-01 11:14:31 +01:00
Jonas Linter
593fd0fc28 Fixed room upsert logic 2025-12-01 11:12:22 +01:00
Jonas Linter
e05b700ed0 Fixed some tests and added schemas 2025-12-01 10:14:14 +01:00
Jonas Linter
9cb4f9b1b9 Small typing addition 2025-12-01 09:21:25 +01:00
Jonas Linter
c72c7d7969 Fix integrity error by adding dummy payload_hash in webhook reprocessing test 2025-12-01 09:21:15 +01:00
Jonas Linter
3aa2f0b7f4 Offers get extracted from generic webhooks and added to reservations 2025-11-27 19:59:38 +01:00
Jonas Linter
c402b28b72 Duplicate detection improved but refactoring necessary to make the whole thing more managable 2025-11-27 19:35:30 +01:00
Jonas Linter
a07edfe3ec Free rooms first implementation 2025-11-27 18:57:45 +01:00
23effcebea Added docs extracted from the pdf 2025-11-27 17:20:43 +00: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