Commit Graph

  • fce2dbc8de Fixed incorrect overlap detection main 2.0.0 db_fixes_plus_free_rooms Jonas Linter 2025-12-09 15:29:35 +01:00
  • f6929ca7cc Small logging improvement Jonas Linter 2025-12-09 14:13:58 +00:00
  • c73747e02d Update free_rooms is_closing season detection. Should also accept 1 as True Jonas Linter 2025-12-09 14:45:22 +01:00
  • 13e404d07c Only update updated_at timestamps if something actually changes. Jonas Linter 2025-12-09 14:06:00 +01:00
  • c4bb9c524d Disabled free_rooms for main branch Jonas Linter 2025-12-09 12:36:08 +01:00
  • 02b0ec3b9c Updated handshake reference file Jonas Linter 2025-12-04 20:48:50 +01:00
  • 2f458ed6df Added git-filter-repo Jonas Linter 2025-12-04 20:32:21 +01:00
  • 4b8bb1b57d No schema creation if public Jonas Linter 2025-12-04 17:07:54 +01:00
  • 4cff7c6081 Fixed setup for db where its empty Jonas Linter 2025-12-04 17:05:48 +01:00
  • a6837197b6 FIxed date range overlap Jonas Linter 2025-12-04 16:33:11 +01:00
  • 16d12f5b62 Free rooms doesn't cause errors but further data verification is necessary Jonas Linter 2025-12-04 16:14:40 +01:00
  • ea3d886b87 Activated free rooms Jonas Linter 2025-12-04 15:32:29 +01:00
  • f728ce369a Merge branch 'db_fixes_plus_free_rooms' of https://gitea.99tales.net/jonas/alpinebits_python into db_fixes_plus_free_rooms Jonas Linter 2025-12-03 22:37:08 +01:00
  • 6cee77c232 Bit hamfisted but updates old records Jonas Linter 2025-12-03 19:15:21 +01:00
  • 6ea510174e Updated classification scheme Jonas Linter 2025-12-03 19:02:34 +01:00
  • 67c20bc18a Another logging message to see how the classification is doing Jonas Linter 2025-12-03 18:52:53 +01:00
  • ff338ecb15 Added a logging statement to better see where the child dies Jonas Linter 2025-12-03 18:44:32 +01:00
  • d61897b929 Added is_regular and awarness detection Jonas Linter 2025-12-03 17:59:30 +01:00
  • 95da5dcee9 And fixed typo Jonas Linter 2025-12-03 17:47:30 +01:00
  • b4a6c1656d Added migration for awarness guest column Jonas Linter 2025-12-03 17:47:23 +01:00
  • 89f5b81983 Awarness guest now for real Jonas Linter 2025-12-03 17:44:05 +01:00
  • 8e5f045181 Added awarnesss flag for conversion_guests Jonas Linter 2025-12-03 17:43:51 +01:00
  • f033abf76e Seems to mostly work now. Regular matching is still wrong Jonas Linter 2025-12-03 17:05:58 +01:00
  • d03669873e Fine this needs more work Jonas Linter 2025-12-03 16:12:07 +01:00
  • a6e4bcbe1b Significant matching fix. Jonas Linter 2025-12-03 15:23:10 +01:00
  • 12350578cc Finally fixed greenlet_spawn sqllchemy error. The horror Jonas Linter 2025-12-03 14:13:20 +01:00
  • d2ed77e008 Readded fk constraint for conversion_guests Jonas Linter 2025-12-03 12:27:17 +01:00
  • f2c40e1a23 Fixed removing hashed_customer Jonas Linter 2025-12-03 12:12:37 +01:00
  • ad29a0a2f6 Not quite done but mostly starting to remove hashed_customer references Jonas Linter 2025-12-03 12:00:02 +01:00
  • 3175342cb2 Fixed greenlet error on rollback Jonas Linter 2025-12-03 11:32:24 +01:00
  • 1bdef3ee11 HashedCustomer is now no longer necessary Jonas Linter 2025-12-03 11:10:27 +01:00
  • 3193ceac63 Migration to single customer table works but conversion_service still needs updating Jonas Linter 2025-12-03 10:51:18 +01:00
  • b572f660a7 Holy db migrations batman Jonas Linter 2025-12-03 10:41:34 +01:00
  • e0c3b6e8af Reduced logging for conversion service Jonas Linter 2025-12-02 17:03:07 +01:00
  • 03aac27233 Replaced config auth with db auth Jonas Linter 2025-12-02 16:43:56 +01:00
  • 7ff3c44747 Reduced logging impact Jonas Linter 2025-12-02 16:01:45 +01:00
  • 87522711d4 Fixed small issue in webhook-processor not saving the results to the webhook_request table Jonas Linter 2025-12-02 16:00:43 +01:00
  • f35f3f3dc9 Lots of refactoring and simplification in conversions_service Jonas Linter 2025-12-02 15:45:40 +01:00
  • 1f13991bfe Removed some unused fields Jonas Linter 2025-12-02 15:38:39 +01:00
  • e2e2d12824 Update guest IDs in reservation tests for consistency Jonas Linter 2025-12-02 15:27:14 +01:00
  • c0e601e308 Fixed up the damm tests Jonas Linter 2025-12-02 15:24:30 +01:00
  • 56d67984cf New pydantic model for ConversionGuest Jonas Linter 2025-12-02 13:18:43 +01:00
  • ee80c57bcb Migration successfull. Does not cause any problems and new foreign keys work Jonas Linter 2025-12-02 11:27:07 +01:00
  • e24866d8a0 Small db improvements. Still needs migration for alembic Jonas Linter 2025-12-02 09:45:27 +00:00
  • 6c50273f54 Merge branch 'concurrency-fix' of https://gitea.99tales.net/jonas/alpinebits_python into concurrency-fix 1.1.0 Jonas Linter 2025-12-01 10:15:58 +00:00
  • 7a8ee41080 Added a new analysis query to the sql_analysis.md file Jonas Linter 2025-12-01 10:15:39 +00:00
  • d04218988d Disabled free rooms action for now Jonas Linter 2025-12-01 11:14:31 +01:00
  • 877b2909f2 Fixed room upsert logic Jonas Linter 2025-12-01 11:12:22 +01:00
  • 2be10ff899 Fixed some tests and added schemas Jonas Linter 2025-12-01 10:14:14 +01:00
  • 3e577a499f Small typing addition Jonas Linter 2025-12-01 09:21:25 +01:00
  • a80f66bd45 Fix integrity error by adding dummy payload_hash in webhook reprocessing test Jonas Linter 2025-12-01 09:21:15 +01:00
  • a1d9ef5fea Offers get extracted from generic webhooks and added to reservations Jonas Linter 2025-11-27 19:59:38 +01:00
  • 7624b70fd0 Duplicate detection improved but refactoring necessary to make the whole thing more managable Jonas Linter 2025-11-27 19:35:30 +01:00
  • f7158e7373 Free rooms first implementation Jonas Linter 2025-11-27 18:57:45 +01:00
  • e8601bbab9 Added docs extracted from the pdf Jonas Linter 2025-11-27 17:20:43 +00:00
  • f0e98bc8f7 Webhook_processors accept event_dispatchers now so that push notifs are possible in the future Jonas Linter 2025-11-27 14:58:36 +00:00
  • 18753826cd Updated tests. Since the endpoints are now handled by the unified webhook endpoint we have to be a touch more careful with hotel_ids in testing since it won't accept any code anymore Jonas Linter 2025-11-27 14:44:57 +00:00
  • 2b1215a43a Some more refactoring. Push_events don't work at the moment Jonas Linter 2025-11-27 15:33:15 +01:00
  • 011b68758a Catch integrity errors gracefully instead of dumping a giant stacktrace Jonas Linter 2025-11-27 14:47:05 +01:00
  • 7c4e1ff36b Updated test_api. Jonas Linter 2025-11-25 21:04:18 +01:00
  • a445de0f2f Handling legacy endpoints directly in unified endpoints Jonas Linter 2025-11-25 20:40:51 +01:00
  • 8805c87e05 Moved some stuff around and fixed circular import Jonas Linter 2025-11-25 20:30:07 +01:00
  • bdd7522f47 Added an enum for Webhook Status Jonas Linter 2025-11-25 20:20:51 +01:00
  • 3ba857a0f8 Better typing + moved some code to webhook_processor Jonas Linter 2025-11-25 20:20:40 +01:00
  • 9522091efc Removed redundant size_field in webhook_requests Jonas Linter 2025-11-25 20:20:06 +01:00
  • 95953fa639 Moved existing processing functions to webhook_processor Jonas Linter 2025-11-25 20:19:48 +01:00
  • 8d144a761c feat: Add hotel and webhook endpoint management Jonas Linter 2025-11-25 12:05:48 +01:00
  • da85098d8d Add bcrypt as a dependency with version 5.0.0 Jonas Linter 2025-11-25 12:05:29 +01:00
  • d4adfa4ab4 Extract offer from generic_webhook if set Jonas Linter 2025-11-20 23:01:04 +01:00
  • 7918cc1489 Created a script to update the csv imports that don't have the date Jonas Linter 2025-11-20 11:14:07 +01:00
  • d83f4c2f38 Increased timeout limit Jonas Linter 2025-11-19 20:53:27 +01:00
  • 10fe471ae0 Idempotent matching. Hopefully Jonas Linter 2025-11-19 20:34:08 +01:00
  • f6c5a14cbf More cleanup Jonas Linter 2025-11-19 19:35:54 +01:00
  • 3819b2bc95 Cleanup Jonas Linter 2025-11-19 19:35:36 +01:00
  • e4bd64a9e4 Lets see if the matching is finally sensible Jonas Linter 2025-11-19 19:35:06 +01:00
  • 278d082215 Adjusted the migrations so they work on the prod db Jonas Linter 2025-11-19 19:10:25 +01:00
  • 661a6e830c Just some adjustments to conversion service so that the tests work again Jonas Linter 2025-11-19 18:58:44 +01:00
  • 434dabbb7a On we go. Maybe soon this will be done Jonas Linter 2025-11-19 18:40:44 +01:00
  • 93207c3877 Finally it works Jonas Linter 2025-11-19 17:27:47 +01:00
  • 0854352726 More refactoring Jonas Linter 2025-11-19 16:25:18 +01:00
  • 8547326ffa Seems to work now Jonas Linter 2025-11-19 15:39:33 +01:00
  • d27e31b0c1 Complete seperation Jonas Linter 2025-11-19 15:10:38 +01:00
  • 45b50d1549 Migration done Jonas Linter 2025-11-19 15:01:16 +01:00
  • 45452ac918 Significant refactorings Jonas Linter 2025-11-19 14:49:42 +01:00
  • 70dfb54c8f Merge branch 'conversion_test_initial' Jonas Linter 2025-11-19 14:30:42 +01:00
  • 947911be28 Fixed the incorrect conversion_service test Jonas Linter 2025-11-19 14:29:58 +01:00
  • 75bc01545f Hashed comparisions don't work unfortunatly Jonas Linter 2025-11-19 14:17:13 +01:00
  • a087a312a7 Migration to guest_table for conversion works Jonas Linter 2025-11-19 12:05:38 +01:00
  • 55c4b0b9de Now sending an actually unique parameter so matching in the future is simpler Jonas Linter 2025-11-19 11:40:41 +01:00
  • 7b8f59008f Added a test for conversions Jonas Linter 2025-11-19 11:05:51 +01:00
  • bbbb4d7847 Massive refactoring. Csv import still works Jonas Linter 2025-11-19 10:20:48 +01:00
  • 67f5894ccd Both csv imports work Jonas Linter 2025-11-19 10:17:11 +01:00
  • e8cdc75421 Importing mailbox leads now works Jonas Linter 2025-11-19 09:55:54 +01:00
  • 57dac8514c the db might not have permissions for this. Schema needs to exist ahead of time which is fine Jonas Linter 2025-11-18 19:36:08 +00:00
  • 8e2de0fa94 Csv import now works with preacknowlegdments Jonas Linter 2025-11-18 19:25:52 +01:00
  • e5abefe690 Fixed the csv_import Jonas Linter 2025-11-18 18:37:30 +01:00
  • 0633718604 Deleted log because its big Jonas Linter 2025-11-18 17:06:57 +01:00
  • b4ceb90da8 Fixed all tests. Tests now use alembic migrations Jonas Linter 2025-11-18 16:47:09 +01:00
  • 2d37db46d6 Changed how services work and updated csv_import Jonas Linter 2025-11-18 16:40:09 +01:00
  • df84d8c898 Converted csv_import to put request Jonas Linter 2025-11-18 16:23:58 +01:00