Commit graph

211 commits

Author SHA1 Message Date
sdomi
3db39c4948 notORM: fix typo 2024-08-17 21:35:57 +02:00
sdomi
23de1448e0 worker: setup the runtime 2024-08-17 21:28:23 +02:00
sdomi
11d3c0a899 notORM: replace some tr calls with bashisms 2024-08-17 21:27:32 +02:00
sdomi
1059be1618 server: fixup the parameter and cookie parsing 2024-08-17 05:14:53 +02:00
sdomi
4728b1651f server: rewrite slow sed calls into fast(er) bashisms 2024-08-17 04:51:17 +02:00
sdomi
5fc46f0f53 misc: improve url_decode 2024-08-17 04:14:06 +02:00
sdomi
6a22be0b4d server: fix parameter parsing on very long chains (in GET) 2024-08-17 02:55:54 +02:00
sdomi
dabd8bdb0c main: interactive shell mode 2024-08-17 02:33:49 +02:00
sdomi
69751adc52 server: fix parameter parsing on very long chains 2024-08-15 23:44:49 +02:00
sdomi
691ff46e75 response: fixup the HTTP response code if it got emptied by downstream 2024-08-15 19:50:15 +02:00
sdomi
fb247a6092 server: try to drop invalid connections 2024-08-15 19:45:56 +02:00
sdomi
62fb5556f4 notORM: iter now returns 255 on loop break 2024-08-11 21:58:34 +02:00
sdomi
ef933dd603 account: more checks 2024-08-11 18:39:54 +02:00
sdomi
c595acf6b9 router: more bashisms, less subshells 2024-08-11 03:02:14 +02:00
sdomi
8c29f4ad4e notORM: change iter failure state from 1 to 255 to prevent spontaneous fatals 2024-08-11 02:17:11 +02:00
sdomi
9a8f1dc2e4 response: migrate from printf to 'echo' and 'echo -e' (to prevent % injections) 2024-08-11 01:07:19 +02:00
sdomi
0f6233bbd3 core: better debuggier output, somewhat 2024-08-11 00:39:17 +02:00
sdomi
30c494c8e9 notORM: break out of data_iter after first failure 2024-08-10 23:24:04 +02:00
sdomi
b38860ec9c tests: alignn tst.sh with the docs 2024-08-07 00:02:31 +02:00
sdomi
5425a8ff14 misc: fix url_encode inconsistencies 2024-08-07 00:02:03 +02:00
sdomi
d6f46b949d tests: add match_not; add html/url encode tests 2024-08-06 23:42:44 +02:00
sdomi
358a8737ab tests: basic template tests 2024-08-06 22:50:57 +02:00
sdomi
46530b9f17 docs: quick start 2024-08-05 19:17:45 +02:00
sdomi
1c48d95d41 docs: wrote some info about tst.sh 2024-08-05 18:13:03 +02:00
sdomi
332c256d6c tests: crude testing framework 2024-08-04 21:37:51 +02:00
sdomi
5b8d492898 account: remember me flag 2024-08-04 01:59:21 +02:00
sdomi
93d02b4295 account: more middleware functions 2024-08-04 01:33:10 +02:00
sdomi
f16005fa0b notORM: fix the repeat function 2024-08-04 00:20:25 +02:00
sdomi
5ef931ca9d account: finally, proper sessions 2024-08-04 00:19:47 +02:00
sdomi
3e50cc8737 account: optional extra fields 2024-08-03 20:13:27 +02:00
famfo
343da427a1 Modify get_mime to allow text/html 2024-08-02 21:16:33 +02:00
famfo
d93323597d Use file diretcly to set mime type 2024-08-02 21:16:33 +02:00
famfo
317c827a1d Set content type for listing 2024-08-02 21:16:33 +02:00
famfo
9adc827018 Set content type for 403 and 404 pages 2024-08-02 21:16:33 +02:00
famfo
cb2acacc32 Set content type when running in buffered mode 2024-08-02 21:16:33 +02:00
Linus Groh
640baa8e7b docker: bump to alpine:3.20 2024-07-31 20:03:04 +02:00
sdomi
eb80d42711 server: fix slight parameter decode mangling 2024-07-30 16:48:30 +02:00
sdomi
0dbd85f9ec server: better handle custom statuses, fix some string escapes 2024-07-26 23:11:49 +02:00
sdomi
7a6e6c2f38 server: fix "typo" 2024-07-26 20:56:23 +02:00
sdomi
b0f23c01e5 notORM: fix typo 2024-07-26 20:52:52 +02:00
sdomi
ee1a540120 server: remove some of the parsing crimes 2024-07-26 20:52:42 +02:00
sdomi
2c1dfa20f1 meta: version bump, since i'm breaking compat anyways 2024-07-26 03:24:14 +02:00
sdomi
bb8526a752 account: migrate to notORM for data storage 2024-07-26 03:20:50 +02:00
sdomi
1df5fb17ca notORM: new generic data I/O interface, currently backed by CSV-esque files 2024-07-26 03:20:34 +02:00
sdomi
efbeca0498 template: normalize IFS 2024-07-24 03:01:43 +02:00
sdomi
00f9432b29 misc: fix decoding spaces in url_decode (oops?) 2024-07-19 23:11:27 +02:00
sdomi
ac89f028d0 template: fix misrenders due to unsorted key array 2024-07-19 22:24:51 +02:00
sdomi
ccc1ce3273 account: typo fix + minor flow changes 2024-07-19 18:03:27 +02:00
sdomi
1059fcf177 template: fix edge case with newline splitting sed arguments 2024-07-19 17:36:41 +02:00
sdomi
b28e1d9fcd account: fix poor checking that could lead to privilege escalation 2024-07-19 17:23:10 +02:00