Commit Graph

26 Commits

Author SHA1 Message Date
018c88e0b6 Moved api enabled logic from handler to server 2024-03-14 17:13:53 +01:00
d8ae8ade70 Refactored out claim check logic to its own class 2024-03-14 14:03:27 +01:00
17c683d9e8 Refactored subscribers to own namespace 2024-03-14 00:32:44 +01:00
952b13535d Improved response middleware, added tests 2024-03-13 22:20:54 +01:00
2392ee360c WebSocket logic 2024-03-13 02:37:46 +01:00
dc98f70a06 Request limiting, config improvements
* Added middleware to limit concurrent  request and request body size
* The default configuration now has the defaults
2024-03-13 01:54:28 +01:00
b730b82ef7 More tests, misc fixes 2024-03-13 01:29:56 +01:00
e6c85b81e5 Fixes to ssl/tls, misc improvements
* Use the PHP context options to configure tls rather than reinventing
  the wheel.
* Properly setup the SocketServer for ssl
* Added generic getter for config values
2024-03-12 15:51:55 +01:00
5aa4361cc4 Fixed urn:uuid: prefix on message ids 2024-03-12 02:26:08 +01:00
e10fd6c471 Refactoring, logging improvements 2024-03-12 02:23:56 +01:00
69fd46b73a Minor cleanup of todos and imports 2024-03-12 02:03:30 +01:00
8be2e81054 First unit tests, misc fixes 2024-03-12 01:45:21 +01:00
b3476881e1 Configuration fixes, makefile tweaks
* The PHAR now gets tagged with version and buildtime
* WebSocket support can now be disabled
2024-03-12 01:13:19 +01:00
0513ab0999 Improved jwt logic
* No longer stores full token, but only payload.
2024-03-11 22:29:17 +01:00
99b5710c59 Read config, handle lastEventId in topicmanager 2024-03-11 22:12:01 +01:00
8cbd12ee61 Subscription enumeration, tweaks 2024-03-11 14:39:58 +01:00
2747b59abc Cleaned up duplicate code 2024-03-11 02:19:20 +01:00
2cbc41d29e Fixed topic gc bug 2024-03-11 01:40:05 +01:00
c31c55fafd Unified logging 2024-03-11 01:20:45 +01:00
56ddab0cd5 Added makefile, cleanup 2024-03-11 01:05:09 +01:00
6184e300bc Cleanup, configuration 2024-03-11 00:50:15 +01:00
88bf239eb1 Added anonymous/private logic 2024-03-11 00:36:34 +01:00
87d47f8ce8 Implemented subscription logic 2024-03-10 23:06:00 +01:00
39869d605c Extracted middleware and handlers 2024-03-10 20:22:28 +01:00
83c34f4a47 Misc fixes, readme, comments 2024-03-10 16:23:46 +01:00
df18073bbf Initial commit 2024-03-10 03:06:19 +01:00