Commit graph

110 commits

Author SHA1 Message Date
ba332dd10b add multi map convenience method to obtain all parameters from a http request 2023-11-04 19:45:51 +01:00
2b413def7a update to Gradle 8.4, netty 4.1.100 2023-10-19 18:22:01 +02:00
3f8520ed95 fix journal purging 2023-10-06 16:24:51 +02:00
acdbd0c028 add content method with bytes for netty client 2023-10-01 10:11:02 +02:00
8b0f593ed7 update to OpenJDK 21, Gradle 8.4-rc-1 2023-10-01 08:51:00 +02:00
b280485a9e update to netty 4.1.98 2023-09-27 15:13:49 +02:00
16463a58e2 bugfix for journal 2023-08-29 14:00:32 +02:00
582e7dd895 add journal application module 2023-08-29 13:38:59 +02:00
e3adbd4369 make server HTTP request serializable in json 2023-08-21 17:18:11 +02:00
9c551e3c34 fix forgotten domain in parameter builder 2023-08-08 17:13:34 +02:00
9287e6c36a remove write(String) from HttpResponseBuilder, we don't like sloppyness, try enforcing charset use 2023-08-07 18:08:25 +02:00
0d71313cf4 we do not use sApplicationModule as a class loader service 2023-08-07 10:06:40 +02:00
d3198ad8b7 move setup of web application to the build() method 2023-08-07 09:51:08 +02:00
d3140e330e cosmetic 2023-08-01 10:07:57 +02:00
cf71fd1d2e update to safer parameter handling 2023-08-01 10:06:09 +02:00
07e6a16f11 use responsebuilder 2023-07-18 11:52:15 +02:00
3952de7e78 add htmlflow, add utility methods to HtmlTemplateResource 2023-07-14 14:54:50 +02:00
c5da201308 work on web application with j2html 2023-07-10 19:46:33 +02:00
d38f2d351e add j2html 2023-07-04 18:42:00 +02:00
30926d6052 add persist session handler, remove hebis test code 2023-06-09 11:59:47 +02:00
b1fb1cff50 update dependencies, move to forgejo 2023-05-26 21:38:24 +02:00
3645f17f1f update dependencies, move to forgejo 2023-05-26 19:27:55 +02:00
6c10666fe5 refactoring HttpServerContext into HttpRouterContext 2023-04-29 22:02:01 +02:00
8786e768e1 undo BOM quirk, does not work 2023-04-18 16:59:31 +02:00
35d67784bb check byte order mark, enable duplicate values in form parameters 2023-04-18 15:10:53 +02:00
98b13c8dc7 implement file uploading, release resource in channel close handler, clean up request/response API 2023-04-09 23:01:08 +02:00
dab29dbf9f fix HTTP file upload cleanup on client and server 2023-04-08 12:05:19 +02:00
3749b9ba3a refactoring code for easier API, update to Netty 4.1.92, begin of file upload work 2023-04-07 22:35:24 +02:00
43558479e7 upgrade to Gradle 8.0.2, simplify module methods, simplify thread pool, cleanup router 2023-04-05 21:55:24 +02:00
93ac72ea0c working on response flush bugs, move logging to FINEST level 2023-03-31 17:54:30 +02:00
2778869d14 use new...(), not build...() 2023-03-31 08:55:56 +02:00
dfd3abd4a9 better close/flush 2023-03-30 17:44:14 +02:00
fc1beabb58 add router task to release buffers after routing, refactor HTTP server API into application, domain, service subpackages 2023-03-30 10:42:29 +02:00
5c52f5149e ensure that all requests are closed and released after requests have been dispatched, this should prevent netty to report bytebuf leaks 2023-03-28 17:51:03 +02:00
08e965d588 add attributes for response for applications 2023-03-27 17:12:30 +02:00
407f8ad2f8 rename attributes() to getAttributes() 2023-03-26 22:23:46 +02:00
b3b4568a6e update netty, xbib net 2023-03-24 16:40:18 +01:00
3b31de0fd5 update to xbib net 3.0.5 and use domain enums for parameter 2023-03-24 14:14:57 +01:00
d1910ce5cd add prefix mode: router can manage a known prefix for a path, useful for web application hooks 2023-03-23 17:38:16 +01:00
e488ed9d5a working on routing with prefix 2023-03-23 11:59:30 +01:00
a78d88bc47 add prefix to HttpService 2023-03-23 09:26:36 +01:00
65279dbed3 add 410 GONE method 2023-03-22 17:39:21 +01:00
1ea725cbc2 working on form requests and Groovy templates, update to xbib net 3.0.4 2023-03-21 16:41:49 +01:00
5803e57072 remove unused code 2023-03-21 09:27:23 +01:00
1df5f884b1 add session name, fix netty request body retain, fix static suffixes, log throwables in the router dispatch 2023-03-20 17:07:18 +01:00
2f17616f1d fix done() in context to lock request/response, fix html template resource to redirect to index file resource 2023-03-20 08:46:07 +01:00
cf259ee8fb fix rendering templates and rendering the index file if present 2023-03-14 17:09:10 +01:00
bef8762346 add missing logging.properties 2023-03-11 11:29:59 +01:00
21f8a03cd5 new bootstrap, allow custom Groovy Default Markup Template class 2023-03-10 17:16:54 +01:00
760e83c035 introduce settings for module instantiation 2023-03-09 18:18:32 +01:00