Commit graph

  • 62e7a9edd9 notORM: implement new syntax for data_yeet + more fixes sdomi 2024-12-06 04:04:54 +01:00
  • 6d91d057e8 notORM: implement new syntax for data_iter + some fixes sdomi 2024-12-06 03:00:25 +01:00
  • a2daafe89a notORM: split argv parsing code into an alias sdomi 2024-12-06 01:37:15 +01:00
  • 45dc428576 notORM: impl searching for more than one constraint in data_get sdomi 2024-12-05 23:50:25 +01:00
  • 1c144612de server: normalize x-forwarded-for (somewhat) sdomi 2024-12-03 23:48:05 +01:00
  • 60b40019aa docs: add info about the router sdomi 2024-12-03 20:29:10 +01:00
  • 5ee00c6ead server: fix directory traversal v0.97 sdomi 2024-12-01 22:52:11 +01:00
  • 403ef2b4ee server: normalize a few other things sdomi 2024-12-01 22:51:56 +01:00
  • c943b7897e template: prevent expansion on keys (which shouldn't happen anyways) sdomi 2024-12-01 22:39:30 +01:00
  • 3d8dd9879e server: url_decode all GET params, (we don't care about binary data there) sdomi 2024-10-22 16:33:02 +01:00
  • 126de1e396 main: fix edge case with cloned app repo sdomi 2024-10-11 20:41:37 +02:00
  • da54143a3f server: remove PHP/Python execution handlers, to be replaced with CGI sdomi 2024-10-07 18:09:17 +02:00
  • 951517b30d *: better versioning, split off various resources into .resources/ sdomi 2024-10-07 17:58:15 +02:00
  • 56d2af2cd8 tests: more header parsing tests sdomi 2024-10-05 04:30:19 +02:00
  • 3c8f848a9a proxy: remove sdomi 2024-10-05 03:15:58 +02:00
  • 510c372f1d server: add support for getting IP address behind a proxy famfo 2024-10-04 11:20:19 +02:00
  • 2cc067fc93 server: simplify header parsing code famfo 2024-10-04 11:20:04 +02:00
  • a1323dc07e Test: fix bash path famfo 2024-10-04 12:05:38 +02:00
  • f6bdd71881
    Test: fix bash path famfo 2024-10-04 12:05:38 +02:00
  • bbc37d96bd
    server: add support for getting IP address behind a proxy famfo 2024-10-04 11:20:19 +02:00
  • 7bd3db3c2d
    server: simplify header parsing code famfo 2024-10-04 11:20:04 +02:00
  • 9adbf34fce Add xxd as a required dependency TheresNoTime 2024-08-30 20:42:18 +01:00
  • b4ea5954ec
    mime: fix ico/favicon.ico mimetype famfo 2024-09-26 14:04:19 +02:00
  • 2fd62dbbba server: fixup non-urlencoded post_data parsing sdomi 2024-09-06 00:50:47 +02:00
  • fb8ae0eabc notORM: fix erroneous row return on no match sdomi 2024-09-03 22:56:34 +02:00
  • 7035bbf431 Add xxd as a required dependency TheresNoTime 2024-08-30 20:42:18 +01:00
  • cd0fe42879 cookie: add Path attribute sdomi 2024-08-18 00:05:58 +02:00
  • d8a475e11b notORM, account: revert previous fix and employ a workaround for a bash bug sdomi 2024-08-17 23:10:10 +02:00
  • 11828198ce account: fix bug with empty fields getting omitted sdomi 2024-08-17 22:36:47 +02:00
  • 12011e5991 notORM: fix not enough delims sdomi 2024-08-17 22:30:07 +02:00
  • 4b9d4a5fda notORM: fix spurious $delim sdomi 2024-08-17 21:56:53 +02:00
  • 3db39c4948 notORM: fix typo sdomi 2024-08-17 21:35:57 +02:00
  • 23de1448e0 worker: setup the runtime sdomi 2024-08-17 21:28:23 +02:00
  • 11d3c0a899 notORM: replace some tr calls with bashisms sdomi 2024-08-17 21:27:32 +02:00
  • 1059be1618 server: fixup the parameter and cookie parsing sdomi 2024-08-17 05:14:53 +02:00
  • 4728b1651f server: rewrite slow sed calls into fast(er) bashisms sdomi 2024-08-17 04:51:17 +02:00
  • 5fc46f0f53 misc: improve url_decode sdomi 2024-08-17 04:14:06 +02:00
  • 6a22be0b4d server: fix parameter parsing on very long chains (in GET) sdomi 2024-08-17 02:55:54 +02:00
  • dabd8bdb0c main: interactive shell mode sdomi 2024-08-17 02:33:49 +02:00
  • 69751adc52 server: fix parameter parsing on very long chains sdomi 2024-08-15 23:44:49 +02:00
  • 691ff46e75 response: fixup the HTTP response code if it got emptied by downstream sdomi 2024-08-15 19:50:15 +02:00
  • fb247a6092 server: try to drop invalid connections sdomi 2024-08-15 19:45:56 +02:00
  • 62fb5556f4 notORM: iter now returns 255 on loop break sdomi 2024-08-11 21:58:34 +02:00
  • ef933dd603 account: more checks sdomi 2024-08-11 18:39:54 +02:00
  • c595acf6b9 router: more bashisms, less subshells sdomi 2024-08-11 03:02:14 +02:00
  • 8c29f4ad4e notORM: change iter failure state from 1 to 255 to prevent spontaneous fatals sdomi 2024-08-11 02:17:11 +02:00
  • 9a8f1dc2e4 response: migrate from printf to 'echo' and 'echo -e' (to prevent % injections) sdomi 2024-08-11 01:03:27 +02:00
  • 0f6233bbd3 core: better debuggier output, somewhat sdomi 2024-08-11 00:39:17 +02:00
  • 30c494c8e9 notORM: break out of data_iter after first failure sdomi 2024-08-10 23:23:45 +02:00
  • b38860ec9c tests: alignn tst.sh with the docs sdomi 2024-08-07 00:02:31 +02:00
  • 5425a8ff14 misc: fix url_encode inconsistencies sdomi 2024-08-07 00:02:03 +02:00
  • d6f46b949d tests: add match_not; add html/url encode tests sdomi 2024-08-06 23:42:44 +02:00
  • 358a8737ab tests: basic template tests sdomi 2024-08-06 22:50:57 +02:00
  • 46530b9f17 docs: quick start sdomi 2024-08-05 19:17:45 +02:00
  • 1c48d95d41 docs: wrote some info about tst.sh sdomi 2024-08-05 18:13:03 +02:00
  • 332c256d6c tests: crude testing framework sdomi 2024-08-04 21:37:51 +02:00
  • 65cb52d7a8
    Add expression builder famfo 2024-08-04 04:05:20 +02:00
  • 5b8d492898 account: remember me flag sdomi 2024-08-04 01:57:12 +02:00
  • 93d02b4295 account: more middleware functions sdomi 2024-08-04 01:33:10 +02:00
  • f16005fa0b notORM: fix the repeat function sdomi 2024-08-04 00:20:25 +02:00
  • 5ef931ca9d account: finally, proper sessions sdomi 2024-08-04 00:19:47 +02:00
  • 3e50cc8737 account: optional extra fields sdomi 2024-08-03 20:13:27 +02:00
  • 343da427a1 Modify get_mime to allow text/html famfo 2024-07-31 20:32:07 +02:00
  • d93323597d Use file diretcly to set mime type famfo 2024-07-31 20:17:47 +02:00
  • 317c827a1d Set content type for listing famfo 2024-07-31 19:55:32 +02:00
  • 9adc827018 Set content type for 403 and 404 pages famfo 2024-07-31 19:51:59 +02:00
  • cb2acacc32 Set content type when running in buffered mode famfo 2024-07-31 19:38:54 +02:00
  • 640baa8e7b docker: bump to alpine:3.20 Linus Groh 2024-07-28 17:40:34 +01:00
  • eb80d42711 server: fix slight parameter decode mangling sdomi 2024-07-30 16:48:30 +02:00
  • a32d98d8db docker: bump to alpine:3.20 Linus Groh 2024-07-28 17:40:34 +01:00
  • 0dbd85f9ec server: better handle custom statuses, fix some string escapes sdomi 2024-07-26 23:11:49 +02:00
  • 7a6e6c2f38 server: fix "typo" sdomi 2024-07-26 20:56:23 +02:00
  • b0f23c01e5 notORM: fix typo sdomi 2024-07-26 20:52:52 +02:00
  • ee1a540120 server: remove some of the parsing crimes sdomi 2024-07-26 20:52:42 +02:00
  • 2c1dfa20f1 meta: version bump, since i'm breaking compat anyways sdomi 2024-07-26 03:24:14 +02:00
  • bb8526a752 account: migrate to notORM for data storage sdomi 2024-07-26 03:20:50 +02:00
  • 1df5fb17ca notORM: new generic data I/O interface, currently backed by CSV-esque files sdomi 2024-07-26 02:51:34 +02:00
  • efbeca0498 template: normalize IFS sdomi 2024-07-24 03:01:43 +02:00
  • 00f9432b29 misc: fix decoding spaces in url_decode (oops?) sdomi 2024-07-19 23:11:27 +02:00
  • ac89f028d0 template: fix misrenders due to unsorted key array sdomi 2024-07-19 22:24:51 +02:00
  • ccc1ce3273 account: typo fix + minor flow changes sdomi 2024-07-19 18:03:27 +02:00
  • 1059fcf177 template: fix edge case with newline splitting sed arguments sdomi 2024-07-19 17:35:11 +02:00
  • b28e1d9fcd account: fix poor checking that could lead to privilege escalation sdomi 2024-07-19 17:23:10 +02:00
  • 61fea4b849
    Add option to show call trace, basic cli docs famfo 2024-07-19 02:25:33 +02:00
  • f5eebc109d account: added argon2id as a preferred (default) password hash sdomi 2024-07-19 00:58:13 +02:00
  • 4e6c5c0ba3 template: tpl includes with {{#PATH}} sdomi 2024-07-17 22:09:01 +02:00
  • a65b600952 Don't run ncat within background loop in the background too Linus Groh 2024-06-04 00:17:53 +01:00
  • b449c8cfe7 Don't run ncat within background loop in the background too Linus Groh 2024-06-04 00:17:53 +01:00
  • 10342035a4 Match headers on beginning of line Linus Groh 2024-05-19 19:52:10 +01:00
  • c459a405b2 Ignore query when parsing URL params Linus Groh 2024-05-19 16:21:40 +01:00
  • 231b52f171 * fix router parameter clobbering sdomi 2024-04-21 21:54:06 +02:00
  • a94d7b7c24 * fixes of some ugly sed hacks from 4 years ago sdomi 2024-04-21 19:27:23 +02:00
  • 60db12abe1 server: temporarily revert the previous patch ,_, Dominique Liberda 2023-04-28 11:34:42 +02:00
  • db8491d7a5 server: post_multipart needs to be enabled manually now Dominique Liberda 2023-04-28 10:16:41 +02:00
  • 91e20ceaae template: (hopefully) fix weird backslash escape behavior + hopefully a bit better perf Dominique Liberda 2023-04-21 22:59:09 +02:00
  • 7f1838372a * fix regression due to sed's imporper regexp handling Dominique Liberda 2023-01-18 06:24:10 +01:00
  • 4ce52292aa + else statement in conditional templates Dominique Liberda 2023-01-18 05:08:45 +01:00
  • e2dbc9e4bd * template nesting, fixes Dominique Liberda 2022-11-29 11:06:45 -05:00
  • 0c32e2fe00 * new template functions Dominique Liberda 2022-11-29 06:46:50 -05:00
  • c4d1de8015 Merge branch 'better_templates' into 'master' Dominika Liberda 2022-06-28 07:25:36 +00:00