Commit graph

9 commits

Author SHA1 Message Date
12a1edc897 Allow nested {{{!IF}}}..., fixes
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 20s
2024-11-18 20:10:45 +09:00
8da223461d Impl. extension of template delimeter expressions
Implemented "IF", "ELSEIF", "ELSE", "ENDIF", and "INDEX" for templates.

IF is used like: `{{{!IF Variable==SomeString}}}`.
ELSEIF is used like: `{{{!ELSEIF Variable==AnotherString}}}`.
ELSE is used like: `{{{!ELSE}}}`.
ENDIF is used like: `{{{!ENDIF}}}`.
INDEX is used like: `{{{!INDEX ArrayVar[2]}}}`.
2024-11-18 17:07:07 +09:00
d30a074199 Move test static file to "example_static_dir/" 2024-10-30 15:41:07 +09:00
67f59e1354 Add option --enable-static-dir=<DIR>, use static
Some checks failed
Run Unit Tests / build-and-run-unit-tests (push) Failing after 55s
2024-10-30 14:17:49 +09:00
f22a523b45 backport: remove extra '/' in URI, config changes
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 7s
2024-09-24 14:53:28 +09:00
c194555527 Add support for different error responses 2024-09-06 15:55:21 +09:00
d89117430d Minor tweaks/fixes
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 32s
Add example config using "_FILE" variables.

Increase limit of config value size from 256 to 1024.
2024-09-06 12:49:32 +09:00
b12029984f Add more example.config stuff 2024-09-06 12:42:18 +09:00
9be6ac32bf Impl. handling HTTP/1.1 requests
TODO:
    Handle errors other than 404 Not Found.
2024-09-06 11:56:00 +09:00