20f413c8d9
Impl. nested FOREACH expressions
...
Run Unit Tests / build-and-run-unit-tests (push) Successful in 37s
IF/ELSEIF/ELSE/ENDIF and FOREACH/ENDFOREACH can now be nested in each
other in HTML templates.
TODO: Cleanup/refactorings, properly set up "files_map".
2024-11-20 16:12:58 +09:00
d46a323b15
Impl. FOREACH and NOTFOREACH
...
Run Unit Tests / build-and-run-unit-tests (push) Failing after 4s
TODO: Figure out nested FOREACH or abandon that feature.
2024-11-19 20:53:11 +09:00
12a1edc897
Allow nested {{{!IF}}}...
, fixes
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
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
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
...
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