Commit Graph

113 Commits

Author SHA1 Message Date
Jonas Linter
5ec47b8332 More cleanup. 2025-10-07 15:12:46 +02:00
Jonas Linter
122c7c8be4 Trying to gzip compress response 2025-10-07 11:34:33 +02:00
Jonas Linter
f0945ed431 Linting and formatting 2025-10-07 09:46:44 +02:00
Jonas Linter
b4b7a537e1 Formatting 2025-10-07 09:40:23 +02:00
Jonas Linter
4e03d1e089 Don't send exceptions back as responses 2025-10-07 09:04:10 +02:00
Jonas Linter
1f9c969e69 formatting changes 2025-10-07 09:00:01 +02:00
Jonas Linter
106316dc6d Probably fixed handshake 2025-10-07 08:31:22 +02:00
Jonas Linter
35531ff925 Simplified comments 2025-10-06 15:41:12 +02:00
Jonas Linter
4b37d8c52c Unique_ids waren zu lange 2025-10-06 15:22:56 +02:00
Jonas Linter
c320fe866d == for string compare whupps 2025-10-06 15:15:14 +02:00
Jonas Linter
201f218c23 Really ensuring res_id isn't "" 2025-10-06 15:13:56 +02:00
Jonas Linter
b8e4f4fd01 Merging to main 2025-10-06 14:46:58 +02:00
Jonas Linter
17c3fc57b2 Push requests should be mostly done 2025-10-06 11:47:28 +02:00
Jonas Linter
87668e6dc0 Unhappy with push_listener 2025-10-06 11:09:08 +02:00
Jonas Linter
68e49aab34 Made helper methods more userfriendly. Guest requests still works as expected 2025-10-06 10:58:05 +02:00
Jonas Linter
2944b52d43 Super simple email newsletter parsing. Better safe then sorry 2025-10-06 10:21:41 +02:00
Jonas Linter
48aec92794 Fixed a small handshaking bug thanks to tests 2025-10-02 15:34:23 +02:00
Jonas Linter
233a682e35 Fixed OTA_NotifReport by matching on entire ActionEnum and not just one action string. Now OTA_NotifReport:GuestRequests is distinct even if its corresponding capability action is technically identical OTA_Read:GuestRequests 2025-10-02 13:43:15 +02:00
Jonas Linter
9c292a9897 FFS notifReport is another special case 2025-10-02 11:58:30 +02:00
Jonas Linter
277bd1934e Fixed empty klick_ids 2025-10-01 16:44:47 +02:00
Jonas Linter
b7afe4f528 Fixed some shoddy typing 2025-10-01 16:43:50 +02:00
Jonas Linter
36c32c44d8 Created a listener for wix-form to do push actions with but unsure how to best handle it 2025-10-01 16:32:15 +02:00
Jonas Linter
dbfbd53ad9 Removed unused old experiments 2025-10-01 12:02:40 +02:00
Jonas Linter
579db2231f Barebones notif works. Doing nothing with warnings at the moment. Not sure what I can do exept log the things 2025-10-01 11:23:54 +02:00
Jonas Linter
9f289e4750 Fixed unique_id issue in reservation table 2025-10-01 10:15:27 +02:00
Jonas Linter
13df12afc6 Starting to implement action_OTA_HotelResNotif_GuestRequests. Necessary to fully comply with spec 2025-10-01 09:31:11 +02:00
Jonas Linter
228aed6d58 removed unneccessary __str__ methods 2025-09-30 18:58:30 +02:00
Jonas Linter
a343013eed Added a try block so that one guestrequest failing doesn't blow up the entire thing 2025-09-30 14:29:37 +02:00
Jonas Linter
7380fa4378 Fixed missing offer comment causing validation error 2025-09-30 14:24:45 +02:00
Jonas Linter
642b6cb7a5 Fixed comments error 2025-09-29 17:36:35 +02:00
Jonas Linter
ebcf2c22dd Shorten unique id 2025-09-29 17:02:05 +02:00
Jonas Linter
373cf0882a Added empty success 2025-09-29 16:41:37 +02:00
Jonas Linter
6c2ce2dc08 Swapped form id for submission id 2025-09-29 16:40:26 +02:00
Jonas Linter
7f25fb2b02 Works but form_id is not unique. Need to find something else 2025-09-29 16:09:42 +02:00
Jonas Linter
54c002ac96 Looking good. Db querying works 2025-09-29 15:51:58 +02:00
Jonas Linter
382bf2334a fixed up the testing function 2025-09-29 14:09:31 +02:00
Jonas Linter
06739ebea9 Got db saving working 2025-09-29 13:56:34 +02:00
Jonas Linter
384fb2b558 Mostly works. Just needs some additional logic to setup the db correctly at the start 2025-09-29 13:19:30 +02:00
Jonas Linter
8d4ccc4041 housekeeping + async db 2025-09-29 12:56:47 +02:00
Jonas Linter
6688a9a465 Error handling for config loading 2025-09-29 12:15:51 +02:00
Jonas Linter
12f245ae06 Added config to api for auth 2025-09-29 12:03:49 +02:00
679785dd1c Removed debug loggings 2025-09-29 09:05:55 +00:00
9eb993cba5 Added urllib parsing for gzip compressed content 2025-09-29 09:03:41 +00:00
Jonas Linter
b79288f6b6 Trying to figure out why gzip fails 2025-09-29 10:24:56 +02:00
Jonas Linter
784ff0e5da Saving to db and creating quote-request from db works 2025-09-29 10:17:00 +02:00
Jonas Linter
958e48b40a Getting docker build ready again 2025-09-29 09:48:44 +02:00
Jonas Linter
76176f8a79 Adedd formid as unique id for reservations 2025-09-29 09:42:26 +02:00
Jonas Linter
4416397a69 Added guestCounts to output.xml 2025-09-29 09:24:19 +02:00
Jonas Linter
ff00edf35d Started with db development 2025-09-27 17:35:05 +02:00
Jonas Linter
7b539ea42f Updated requirements. Added 2025-09-27 17:06:54 +02:00