summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* src/hero.mjs: Add "upgrade" and "socket" keys to `req`EuAndreh2024-03-162-13/+29
* src/hero.mjs: interceptors.contentType(): Generate body from status when missingEuAndreh2024-03-162-13/+44
* src/hero.mjs: Include stacktrace in 500 log entryEuAndreh2024-03-152-2/+5
* src/hero.mjs: Add makeUpgradeListener()EuAndreh2024-03-152-0/+80
* src/hero.mjs: Add handlerForConnection()EuAndreh2024-03-152-0/+56
* src/hero.mjs: Add support for "WEBSOCKET" type of routeEuAndreh2024-03-152-2/+12
* src/hero.mjs: Add buildHttpPayload()EuAndreh2024-03-152-0/+67
* src/hero.mjs: Add emitHeaders()EuAndreh2024-03-152-0/+30
* src/hero.mjs: Add comboForLabel()EuAndreh2024-03-152-0/+25
* src/hero.mjs: Add isValidLabel()EuAndreh2024-03-152-0/+28
* src/hero.mjs: Destructure handler arguments in handleRequest()EuAndreh2024-03-151-4/+4
* tests/lighttpd.conf: add the upgrade header without replacing existing onesEuAndreh2024-03-141-1/+1
* Makefile: Use TCP port 6001EuAndreh2024-03-141-1/+1
* tests/lighttpd.conf: Forward "enable" header to allow connection upgradeEuAndreh2024-03-141-0/+3
* src/hero.mjs: Include "headers" and "ref" in request paramEuAndreh2024-03-142-11/+55
* Makefile: Add "run-binder" to expose lighttpd's unix socket to a TCP portEuAndreh2024-03-141-1/+7
* src/web.mjs: Add trailing newline to bodyEuAndreh2024-03-141-2/+2
* src/hero.mjs: Add timing data to "in-response" log entryEuAndreh2024-03-082-2/+14
* src/utils.mjs: Add dissoc()EuAndreh2024-03-082-0/+24
* src/web.mjs: Move logging and interceptors to the beginning of the fileEuAndreh2024-03-082-595/+595
* src/hero.mjs: Make sure globalInceptors are used even when we get a 404EuAndreh2024-03-082-8/+30
* src/hero.mjs: Add buildTable()EuAndreh2024-03-082-1/+21
* src/hero.mjs: server.listen() -> server.start(); server.close() -> server.stop()EuAndreh2024-03-073-7/+7
* src/hero.mjs: Add makeReopeningPipeReader()EuAndreh2024-03-072-29/+130
* src/hero.mjs: makePipeReader() now returns a function for closing itEuAndreh2024-03-072-21/+23
* tests/js/hero.mjs: Better names for pipes and sockets created by testsEuAndreh2024-03-072-22/+29
* rm -rf tools/EuAndreh2024-03-073-319/+0
* src/hero.mjs: Better handling of default values for argumentsEuAndreh2024-03-061-20/+10
* src/hero.mjs: Add minimalistic "ping" action for doing smoke tests in productionEuAndreh2024-03-062-0/+20
* src/hero.mjs: Add simplified implementation of `makePipeReader()`EuAndreh2024-03-062-2/+26
* src/hero.mjs: Change server.listen() to receive no argumentsEuAndreh2024-03-063-13/+35
* src/hero.mjs: Add skeleton for makePipeReaderFn()EuAndreh2024-03-062-5/+40
* src/hero.mjs: Add makeLineEmitter()EuAndreh2024-03-062-0/+100
* src/utils.mjs: Add first(), rest(), butlast() and last()EuAndreh2024-03-062-0/+83
* src/hero.mjs: Add rmIf() and mkfifo()EuAndreh2024-03-066-28/+111
* tests/runner.mjs: Add missing await in t.test("", () => {})EuAndreh2024-03-066-152/+153
* src/utils.mjs: s/first/findFirst/gEuAndreh2024-03-063-10/+10
* src/hero.mjs: Always recreate the unix socket fileEuAndreh2024-03-011-0/+3
* src/hero.mjs: Add app name as first argument to buildServer()EuAndreh2024-03-012-8/+11
* src/hero.mjs: Add actionsFn() and lineHandlerFn()EuAndreh2024-03-012-1/+189
* Makefile: Let the application recreate its pipes and socketsEuAndreh2024-03-011-1/+1
* Setup user-level lighttpd reverse proxy for development and testingEuAndreh2024-03-016-1/+126
* src/web.mjs: Try out new hero APIEuAndreh2024-03-011-13/+13
* src/ircd.mjs: Remove unix socket before recreating itEuAndreh2024-03-012-5/+10
* src/api.mjs: Simplify handling of argumentsEuAndreh2024-03-012-17/+12
* src/utils.mjs: Remove eq(), use utils.isDeepStrictEqual from "node:utils" ins...EuAndreh2024-03-012-114/+0
* src/utils.mjs: Replace promisify() by util.promisify()EuAndreh2024-02-283-42/+6
* src/utils.mjs: Add undefinedAsNull()EuAndreh2024-02-282-0/+22
* src/utils.mjs: Define strSortFn() and use it on all filesEuAndreh2024-02-285-5/+25
* tests/runner.mjs: Use process.stderr.write() to avoid printing newlines when ...EuAndreh2024-02-281-2/+5