145 Commits

Author SHA1 Message Date
Jonas Linter
35531ff925 Simplified comments 2025-10-06 15:41:12 +02:00
Jonas Linter
c4fa774a86 Added test forms 2025-10-06 15:38:19 +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
808f0eccc8 Added build file 2025-10-06 14:48:16 +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
325965bb10 Fixed up ping test 2025-10-02 15:44:52 +02:00
Jonas Linter
48aec92794 Fixed a small handshaking bug thanks to tests 2025-10-02 15:34:23 +02:00
Jonas Linter
82118a1fa8 Added some tests for Handshakes 2025-10-02 14:26:06 +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
ea9b6c72e4 fixed config 2025-10-01 15:38:23 +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
59347f504f Updated readme 2025-10-01 09:38:50 +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
c3a5d3bdbb Removed hosting api token from example. Token is not necessary for traefik and is not valid anyways 2025-09-30 15:28:16 +02:00
Jonas Linter
b1be81023c Setup instructions 2025-09-30 15:27:18 +02:00
Jonas Linter
6750a3d8a0 Readme ergänzt mit setup beispiel 2025-09-30 15:24:47 +02:00
Jonas Linter
8a52765f87 Added more instructions 2025-09-30 15:10:50 +02:00
Jonas Linter
eea25930ff Updated readme 2025-09-30 14:40:22 +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
52114a7443 Merge branch 'main' of git.linter-home.com:jonas/alpinebits_python into main 2025-09-29 10:17:01 +02:00
Jonas Linter
784ff0e5da Saving to db and creating quote-request from db works 2025-09-29 10:17:00 +02:00