Commit Graph

52 Commits

Author SHA1 Message Date
Jonas Linter
df7d3c6543 HashedCustomer is now no longer necessary 2025-12-03 11:10:27 +01:00
Jonas Linter
08f85d1b26 Holy db migrations batman 2025-12-03 10:41:34 +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
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
c72c7d7969 Fix integrity error by adding dummy payload_hash in webhook reprocessing test 2025-12-01 09:21:15 +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
9830ca7cf9 Webhook_processors accept event_dispatchers now so that push notifs are possible in the future 2025-11-27 14:58:36 +00:00
7d09dbfd63 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 2025-11-27 14:44:57 +00:00
Jonas Linter
454b524077 Updated test_api.
Had to change hotel_ids used in test_requests. Previously any hotel_id was valid now only registered ones are. Doesn't make a difference in prod
2025-11-25 21:04:18 +01:00
Jonas Linter
35c29d80bb Lets see if the matching is finally sensible 2025-11-19 19:35:06 +01:00
Jonas Linter
e5f0aea870 Just some adjustments to conversion service so that the tests work again 2025-11-19 18:58:44 +01:00
Jonas Linter
d81ba79256 More refactoring 2025-11-19 16:25:18 +01:00
Jonas Linter
ae73a1b761 Merge branch 'conversion_test_initial' 2025-11-19 14:30:42 +01:00
Jonas Linter
12b67dc353 Fixed the incorrect conversion_service test 2025-11-19 14:29:58 +01:00
Jonas Linter
c74163b11e Hashed comparisions don't work unfortunatly 2025-11-19 14:17:13 +01:00
Jonas Linter
90f68bfd26 Added a test for conversions 2025-11-19 11:05:51 +01:00
Jonas Linter
877f09a640 Both csv imports work 2025-11-19 10:17:11 +01:00
Jonas Linter
51e4fe4617 Fixed all tests. Tests now use alembic migrations 2025-11-18 16:47:09 +01:00
Jonas Linter
0ba70550c9 New system for acknowledgments 2025-11-13 16:23:09 +01:00
Jonas Linter
12072dcbc8 Small fixes 2025-11-12 18:40:37 +01:00
Jonas Linter
90d79a71fb Added account_ids to the config 2025-10-22 17:32:28 +02:00
Jonas Linter
12385f685b Testing hashing existing customers 2025-10-20 16:24:57 +02:00
Jonas Linter
6f377b1ea1 Fixed some linting stuff 2025-10-20 08:56:14 +02:00
Jonas Linter
0753d1fc1d Removed useless test that worked but threw a bunch of warnings 2025-10-16 09:00:17 +02:00
Jonas Linter
361611ae1b Worker coordination with file locks 2025-10-15 10:07:42 +02:00
Jonas Linter
f22684d592 Added email monitoring 2025-10-15 08:46:25 +02:00
Jonas Linter
bb900ab1ee Finally fixed vscode test discovery got dammit 2025-10-14 15:17:34 +02:00
Jonas Linter
8f2565b5a9 Generic webhook now gets saved to database 2025-10-14 14:28:47 +02:00
Jonas Linter
669cf00bbc Fixed testcase due to email validation 2025-10-14 09:27:39 +02:00
Jonas Linter
b045c62cee Created hashed customers. migrated to service instead of using db logic directly 2025-10-13 10:51:56 +02:00
Jonas Linter
2560f61ee8 Updated how wix forms are logged. 2025-10-13 10:03:53 +02:00
Jonas Linter
5cec464ac2 Added tests for double reservation by one customer 2025-10-10 16:50:43 +02:00
Jonas Linter
1248772f60 Updateinsert customers 2025-10-10 16:47:19 +02:00
Jonas Linter
165914d686 Added generic endpoint 2025-10-10 16:21:25 +02:00
Jonas Linter
dbbdb3694b More tests 2025-10-10 16:17:01 +02:00
Jonas Linter
6ab5212a0f MORE Tests 2025-10-10 11:28:25 +02:00
Jonas Linter
4ac5a148b6 Cleanup 2025-10-10 10:45:47 +02:00
Jonas Linter
f0beb294ee Cleanup. Removed some unneccessary files 2025-10-09 15:16:28 +02:00
Jonas Linter
f05cc9215e Updated config 2025-10-09 14:16:11 +02:00
Jonas Linter
95b17b8776 I think acknowledgments work just fine now 2025-10-09 09:38:54 +02:00
Jonas Linter
1b3ebb3cad Mucking around with the tests 2025-10-09 09:29:01 +02:00
Jonas Linter
69fb1374b2 Updated sizes of certain string fields 2025-10-09 08:45:06 +02:00
Jonas Linter
bbac8060b9 Created new tests for acknowlegments. One fails atm 2025-10-08 16:48:38 +02:00
Jonas Linter
ff25142f62 All tests pass again. Handeling the children is difficult 2025-10-08 11:23:18 +02:00
Jonas Linter
9094f3e3b7 More tests. Hard to say how useful they are though. Need further work 2025-10-07 17:25:27 +02:00
Jonas Linter
867b2632df Created copilot instructions and testing readRequests 2025-10-07 17:16:41 +02:00