Commit Graph

313 Commits

Author SHA1 Message Date
Jonas Linter
e0c9afe227 Hotfix. Echodata unverändert zurückgeben 2025-10-08 08:33:54 +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
Jonas Linter
a69816baa4 Additonal validation and better type hints 2025-10-07 16:28:43 +02:00
Jonas Linter
e605af1231 Using pydantic instead of dataclasses 2025-10-07 16:06:53 +02:00
Jonas Linter
e5a295faba Experimenting with pydantic 2025-10-07 15:59:00 +02:00
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
6102194712 moved tests 2025-10-07 10:24:01 +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
2d9e90c9a4 Fixed test. Now compares json contents instead of strings 2025-10-07 09:33:13 +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
951d3a2a26 Test stub 2025-10-07 08:28:25 +02:00
Jonas Linter
1248ba3f3a Updated example test files 2025-10-06 16:01:36 +02:00
Jonas Linter
3b33e552a9 Config an prod angepasst 2025-10-06 15:45:14 +02:00
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