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
7953ce51ee
Update makefile, tweak topictest
2024-03-12 18:20:56 +01:00
8ad250471b
Fixed dist conf
2024-03-12 16:00:15 +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
da450b510a
Updated dependencies, improved config
...
* Configuration now key-value map with friendly accessors.
* Configuration file maps 1:1
2024-03-12 00:28:31 +01:00
c810876aa4
Bugfix config loading from phar
2024-03-11 23:30:25 +01:00
4150dfcf5b
Config stuff, docs
2024-03-11 23:20:48 +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
0714db3f29
Initial config file parsing logic
2024-03-11 02:15:04 +01:00
d310060309
Bugfix topicmanager
...
* Unsubscribing wouldn't always remove the subscriber.
2024-03-11 01:50:34 +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
138c3b6420
Update readme
2024-03-11 00:51:47 +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
d05d2e13e3
Updated readme, subscription authorization logic
2024-03-10 23:12: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
813150c92b
Phar config
2024-03-10 13:55:42 +01:00
df18073bbf
Initial commit
2024-03-10 03:06:19 +01:00