Commit graph

123 commits

Author SHA1 Message Date
7a6e6c2f38 server: fix "typo" 2024-07-26 20:56:23 +02:00
b0f23c01e5 notORM: fix typo 2024-07-26 20:52:52 +02:00
ee1a540120 server: remove some of the parsing crimes 2024-07-26 20:52:42 +02:00
2c1dfa20f1 meta: version bump, since i'm breaking compat anyways 2024-07-26 03:24:14 +02:00
bb8526a752 account: migrate to notORM for data storage 2024-07-26 03:20:50 +02:00
1df5fb17ca notORM: new generic data I/O interface, currently backed by CSV-esque files 2024-07-26 03:20:34 +02:00
efbeca0498 template: normalize IFS 2024-07-24 03:01:43 +02:00
00f9432b29 misc: fix decoding spaces in url_decode (oops?) 2024-07-19 23:11:27 +02:00
ac89f028d0 template: fix misrenders due to unsorted key array 2024-07-19 22:24:51 +02:00
ccc1ce3273 account: typo fix + minor flow changes 2024-07-19 18:03:27 +02:00
1059fcf177 template: fix edge case with newline splitting sed arguments 2024-07-19 17:36:41 +02:00
b28e1d9fcd account: fix poor checking that could lead to privilege escalation 2024-07-19 17:23:10 +02:00
61fea4b849
Add option to show call trace, basic cli docs 2024-07-19 02:25:33 +02:00
f5eebc109d account: added argon2id as a preferred (default) password hash 2024-07-19 00:58:13 +02:00
4e6c5c0ba3 template: tpl includes with {{#PATH}} 2024-07-17 22:09:01 +02:00
a65b600952 Don't run ncat within background loop in the background too 2024-06-07 13:39:44 +02:00
10342035a4 Match headers on beginning of line 2024-05-19 19:52:10 +01:00
c459a405b2 Ignore query when parsing URL params 2024-05-19 16:21:40 +01:00
231b52f171 * fix router parameter clobbering
if a route contained a static string with the same name as one
of the named params, said string would overwrite the payload from
the previous named param. this commit adds a check for `:` in the
template to prevent this
2024-04-21 21:54:06 +02:00
a94d7b7c24 * fixes of some ugly sed hacks from 4 years ago 2024-04-21 19:27:23 +02:00
60db12abe1 server: temporarily revert the previous patch ,_, 2023-04-28 11:34:42 +02:00
db8491d7a5 server: post_multipart needs to be enabled manually now 2023-04-28 10:16:41 +02:00
91e20ceaae template: (hopefully) fix weird backslash escape behavior + hopefully a bit better perf 2023-04-21 22:59:09 +02:00
7f1838372a * fix regression due to sed's imporper regexp handling 2023-01-18 06:24:10 +01:00
4ce52292aa + else statement in conditional templates 2023-01-18 05:09:33 +01:00
e2dbc9e4bd * template nesting, fixes 2022-11-29 11:06:45 -05:00
0c32e2fe00 * new template functions 2022-11-29 06:46:50 -05:00
Dominika Liberda
c4d1de8015 Merge branch 'better_templates' into 'master'
Better templates

See merge request laudom/http.sh!3
2022-06-28 07:25:36 +00:00
1a7805fccb * satanize 2022-06-28 09:34:04 +02:00
fcd102f113 * oops, fixes global replace 2022-06-25 12:02:45 +02:00
e1f8ded023 why not, let's bump to 0.95 2022-06-25 11:35:03 +02:00
f3ff522d82 * template replace now global except for foreach 2022-06-25 11:32:20 +02:00
b7945227ea * fix ampersand expansion 2022-06-25 11:03:39 +02:00
828bc8e426 * proper multiline 2022-06-25 09:23:16 +02:00
a954f330ab + poor man's array copy 2022-06-25 09:00:25 +02:00
c607722e2b * stuff working 2022-06-21 04:00:17 +02:00
18083f0cf3 * broken, i'll squish this anyways 2022-06-20 04:56:54 +02:00
5851ccc104 * a bit cleaner debug mode 2022-06-19 20:45:29 +02:00
5a37f921c9 * fix in above, ncat is bork 2022-01-15 21:36:49 +01:00
903b94e6e5 * ncat now timeouts after 10min of no i/o 2022-01-15 20:27:53 +01:00
a69e756a93 * fix an awful bug, eww how did this get here 2022-01-11 18:41:11 +01:00
5be51165e2 * now 302s properly (WiP?) 2021-12-19 03:36:00 +01:00
0793241a3b + docker-compose and other goodies 2021-11-10 23:57:47 +01:00
bad
52c09d888e Switch to using #!/usr/bin/env bash
This fixes http.sh on nixos, macos and probably a few other systems
2021-09-22 14:52:03 +02:00
Lauren Liberda
f0ccf5d8ef fix secret .gitignore 2021-09-09 18:35:45 +02:00
Lauren Liberda
cc5d052716 dockerfile update 2021-09-09 18:35:37 +02:00
7846f5a271 * fix for using busybox's mktemp 2021-08-18 11:31:17 +00:00
2639361804 * another router fix, for real this time 2021-08-02 22:37:27 +00:00
4e49582099 * another router fix... 2021-08-03 00:29:41 +02:00
4845da7909 * another fix in router 2021-08-03 00:17:48 +02:00