Jonas Linter
8805c87e05
Moved some stuff around and fixed circular import
2025-11-25 20:30:07 +01:00
Jonas Linter
bdd7522f47
Added an enum for Webhook Status
2025-11-25 20:20:51 +01:00
Jonas Linter
3ba857a0f8
Better typing + moved some code to webhook_processor
2025-11-25 20:20:40 +01:00
Jonas Linter
9522091efc
Removed redundant size_field in webhook_requests
2025-11-25 20:20:06 +01:00
Jonas Linter
95953fa639
Moved existing processing functions to webhook_processor
2025-11-25 20:19:48 +01:00
Jonas Linter
8d144a761c
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
da85098d8d
Add bcrypt as a dependency with version 5.0.0
...
- Included bcrypt in the dependencies list of uv.lock.
- Specified version requirement for bcrypt as >=5.0.0.
- Added package details for bcrypt including source, sdist, and various wheel distributions.
2025-11-25 12:05:29 +01:00
Jonas Linter
d4adfa4ab4
Extract offer from generic_webhook if set
2025-11-20 23:01:04 +01:00
Jonas Linter
7918cc1489
Created a script to update the csv imports that don't have the date
2025-11-20 11:14:07 +01:00
Jonas Linter
d83f4c2f38
Increased timeout limit
2025-11-19 20:53:27 +01:00
Jonas Linter
10fe471ae0
Idempotent matching. Hopefully
2025-11-19 20:34:08 +01:00
Jonas Linter
f6c5a14cbf
More cleanup
2025-11-19 19:35:54 +01:00
Jonas Linter
3819b2bc95
Cleanup
2025-11-19 19:35:36 +01:00
Jonas Linter
e4bd64a9e4
Lets see if the matching is finally sensible
2025-11-19 19:35:06 +01:00
Jonas Linter
278d082215
Adjusted the migrations so they work on the prod db
2025-11-19 19:10:25 +01:00
Jonas Linter
661a6e830c
Just some adjustments to conversion service so that the tests work again
2025-11-19 18:58:44 +01:00
Jonas Linter
434dabbb7a
On we go. Maybe soon this will be done
2025-11-19 18:40:44 +01:00
Jonas Linter
93207c3877
Finally it works
2025-11-19 17:27:47 +01:00
Jonas Linter
0854352726
More refactoring
2025-11-19 16:25:18 +01:00
Jonas Linter
8547326ffa
Seems to work now
2025-11-19 15:39:33 +01:00
Jonas Linter
d27e31b0c1
Complete seperation
2025-11-19 15:10:38 +01:00
Jonas Linter
45b50d1549
Migration done
2025-11-19 15:01:16 +01:00
Jonas Linter
45452ac918
Significant refactorings
2025-11-19 14:49:42 +01:00
Jonas Linter
70dfb54c8f
Merge branch 'conversion_test_initial'
2025-11-19 14:30:42 +01:00
Jonas Linter
947911be28
Fixed the incorrect conversion_service test
2025-11-19 14:29:58 +01:00
Jonas Linter
75bc01545f
Hashed comparisions don't work unfortunatly
2025-11-19 14:17:13 +01:00
Jonas Linter
a087a312a7
Migration to guest_table for conversion works
2025-11-19 12:05:38 +01:00
Jonas Linter
55c4b0b9de
Now sending an actually unique parameter so matching in the future is simpler
2025-11-19 11:40:41 +01:00
Jonas Linter
7b8f59008f
Added a test for conversions
2025-11-19 11:05:51 +01:00
Jonas Linter
bbbb4d7847
Massive refactoring. Csv import still works
2025-11-19 10:20:48 +01:00
Jonas Linter
67f5894ccd
Both csv imports work
2025-11-19 10:17:11 +01:00
Jonas Linter
e8cdc75421
Importing mailbox leads now works
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
2025-11-18 19:36:08 +00:00
Jonas Linter
8e2de0fa94
Csv import now works with preacknowlegdments
2025-11-18 19:25:52 +01:00
Jonas Linter
e5abefe690
Fixed the csv_import
2025-11-18 18:37:30 +01:00
Jonas Linter
0633718604
Deleted log because its big
2025-11-18 17:06:57 +01:00
Jonas Linter
b4ceb90da8
Fixed all tests. Tests now use alembic migrations
2025-11-18 16:47:09 +01:00
Jonas Linter
2d37db46d6
Changed how services work and updated csv_import
2025-11-18 16:40:09 +01:00
Jonas Linter
df84d8c898
Converted csv_import to put request
2025-11-18 16:23:58 +01:00
Jonas Linter
433026dd01
Presumably production ready xD
2025-11-18 16:10:57 +01:00
Jonas Linter
ccdc66fb9b
Looking good
2025-11-18 14:49:44 +01:00
Jonas Linter
db0b0afd33
Fixed missing await statement in alembic setup
2025-11-18 14:38:21 +01:00
Jonas Linter
ab04dc98ed
Conversion import returns faster and processes in the background
2025-11-18 14:37:04 +01:00
Jonas Linter
ba25bbd92d
Finally a migration that works
2025-11-18 14:25:46 +01:00
Jonas Linter
c86a18d126
Merge branch 'main' of https://gitea.linter-home.com/jonas/alpinebits_python
2025-11-18 14:03:49 +01:00
Jonas Linter
7ab5506e51
Fuck it lets add the giant files
2025-11-18 14:02:12 +01:00
Jonas Linter
e7757c8c51
Getting closer
2025-11-18 13:32:29 +01:00
Jonas Linter
5a660507d2
Alembic experiments
2025-11-18 11:04:38 +01:00
Jonas Linter
10dcbae5ad
Renamed table
2025-11-18 10:09:06 +01:00
Jonas Linter
a181e41172
The email validation is actually broken lol
2025-11-17 22:01:35 +01:00