sdomi
b5320a169d
misc: http_array will make up an array when called on normal params
2025-11-09 01:49:50 +01:00
sdomi
3bacddd8a4
docs: mention HTTP
v0.97.4
2025-11-09 01:15:55 +01:00
sdomi
37770a1735
server: somewhat safer HTTP arrays
2025-11-09 01:14:54 +01:00
sdomi
dadfebb128
server: parse urlencoded arrays
2025-11-09 00:39:52 +01:00
sdomi
7e40fd14e0
server: reduce amount of basename calls in vhost logic
2025-10-31 13:53:13 +01:00
sdomi
4501f44691
docs: improve utils page
2025-10-10 18:15:24 +02:00
sdomi
2b8f8d9be9
http.sh: escape the spurious git invocation (oops)
v0.97.3.1
2025-09-16 23:52:34 +02:00
sdomi
ea129b8350
notORM: fix mangling the r array, leading to unexplainable logic issues
...
ideally we should figure out a consistent prefix for variables, or at least
stop using single-letter names... TBD
2025-09-15 02:07:58 +02:00
sdomi
e45eef0f58
version: bump to 0.97.3
v0.97.3
2025-09-14 22:02:04 +02:00
sdomi
e10d927d2d
docs: mention bump util and future plans
2025-09-14 22:00:59 +02:00
sdomi
8bd34c9823
util/bump: new util
2025-09-14 21:52:25 +02:00
sdomi
a60245bb4c
util/notORM: new util
2025-09-14 21:43:10 +02:00
sdomi
cc95f86136
docs, http.sh: document util invocation
2025-09-14 21:42:52 +02:00
sdomi
765ae292b9
http.sh: implement sleeping well at night
2025-09-14 21:07:32 +02:00
sdomi
d3b0b23f6d
http.sh: support built-in utils
2025-09-14 21:02:30 +02:00
sdomi
a656bc03e4
http.sh: very basic util implementation, for faster creation of out-of-band scripts
2025-09-14 20:01:54 +02:00
sdomi
d563570d6f
template: fixes around handling nonexistant files
2025-09-14 12:20:35 +02:00
sdomi
44c128289c
template: escape newlines on raw replace statements
2025-09-13 14:18:30 +02:00
famfo
47b5dd9f29
http.sh: fix socat IPv6 bind
2025-09-05 17:47:11 +02:00
lemonsh
23281e594a
allow running from non-root directories
2025-09-02 16:54:54 +02:00
sdomi
41cbf1ee42
docs: add example for template -index
2025-07-17 09:51:07 +02:00
sdomi
c59202a6dc
server: respect cfg[enable_multipart]
2025-06-13 02:18:00 +02:00
sdomi
57ed8eadbf
version: bump to 0.97.2
v0.97.2
2025-06-01 17:50:00 +02:00
sdomi
1801e05fd9
template: bugfix the default include path
2025-06-01 17:47:26 +02:00
sdomi
21f922f731
template: prevent possible LFI given a template injection
...
we're now doing some extra work to sanitize paths in include keys.
2025-06-01 17:43:12 +02:00
sdomi
981426d6c2
docs: describe basic notORM usage patterns
2025-05-18 17:53:46 +02:00
sdomi
638bda8419
tests: add a test for notORM's autoincrement
2025-05-18 17:33:14 +02:00
sdomi
c6311cf4c1
tests: add testcases for v0.97.1 template extensions
v0.97.1
2025-05-18 16:44:37 +02:00
sdomi
e9018284f5
docs: upgrade template docs for 0.97.1
2025-05-18 14:14:18 +02:00
sdomi
e809c0be6b
template: implement relative paths. bump to 0.97.1
2025-05-18 14:14:00 +02:00
sdomi
93271da824
tests: add testcase for notORM's backslash handling
2025-05-01 11:05:34 +02:00
sdomi
64fd5d1836
notORM: fix a bug around search terms containing a backslash
2025-05-01 10:58:03 +02:00
sdomi
10d19c1a36
template: implement more sanitizations for the new {{-set-value}} statement
...
this is a bit paranoic, as we're dealing with an assoc array, so we should be
fine with having basically any printable characters in here. HOWEVER, as per
the docs, we only recommend using [a-zA-Z0-9_-] anyways, so this is a good
safety measure to have.
2025-04-10 16:06:29 +02:00
sdomi
c9f03158c7
template: move main template directy into garbage to not miss it at any point
2025-04-07 22:22:41 +02:00
sdomi
ec0238f76f
docs: document the template boolean set
2025-04-06 07:02:05 +02:00
sdomi
be23e31362
template: implement set statements
2025-04-06 06:57:21 +02:00
sdomi
f2d72ef6ee
tests: fixup invalid header test
2025-04-06 06:29:39 +02:00
sdomi
c6d3dfa045
server: fixup hangs on empty POST reqs
2025-04-06 06:18:52 +02:00
sdomi
d5aaa1c265
template: tpl includes don't need to prepend the expr anymore
2025-04-06 05:05:57 +02:00
sdomi
f9e1be8a90
template: horrible hack implementing iterators in included templates
2025-04-06 04:39:01 +02:00
sdomi
6a9ec3bf71
template: small style/performance fixes
2025-04-06 03:56:33 +02:00
sdomi
e9f5ab52d2
docs: remove some ambiguity
2025-04-06 01:51:27 +02:00
sdomi
f889062633
docs: mention template include's path quirk
2025-04-05 23:53:03 +02:00
sdomi
3080e38cad
docs: document the template engine
2025-04-05 23:35:27 +02:00
sdomi
9ad46350af
template: add special auto-increment -index value
2025-04-05 20:58:01 +02:00
sdomi
9f123a6d66
worker: create missing control files on startup
2025-04-03 01:52:45 +02:00
sdomi
8aa0dcd2fa
template: fix quoting issue causing a tr malfunction
2025-04-02 22:56:11 +02:00
sdomi
cf70f8ccc0
docker: hopefully fix
2025-04-02 22:37:33 +02:00
sdomi
ede27f9905
server: normalize method to uppercase
2025-04-02 06:08:01 +02:00
sdomi
b55011332e
server: workaround for clients which incorrectly skip the Content-Length value
2025-03-14 20:23:47 +01:00