summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* src/hero.mjs: Add interceptors.websocketHandshake()EuAndreh2024-03-161-0/+24
* src/hero.mjs: Remove WEBSOCKET_* constantsEuAndreh2024-03-161-9/+3
* src/hero.mjs: Add validateUpgrade(), computeHash() and their helper functionsEuAndreh2024-03-161-0/+99
* src/hero.mjs: Add "upgrade" and "socket" keys to `req`EuAndreh2024-03-161-4/+11
* src/hero.mjs: interceptors.contentType(): Generate body from status when missingEuAndreh2024-03-161-5/+13
* src/hero.mjs: Include stacktrace in 500 log entryEuAndreh2024-03-151-0/+1
* src/hero.mjs: Add makeUpgradeListener()EuAndreh2024-03-151-0/+20
* src/hero.mjs: Add handlerForConnection()EuAndreh2024-03-151-0/+16
* src/hero.mjs: Add support for "WEBSOCKET" type of routeEuAndreh2024-03-151-2/+7
* src/hero.mjs: Add buildHttpPayload()EuAndreh2024-03-151-0/+19
* src/hero.mjs: Add emitHeaders()EuAndreh2024-03-151-0/+6
* src/hero.mjs: Add comboForLabel()EuAndreh2024-03-151-0/+5
* src/hero.mjs: Add isValidLabel()EuAndreh2024-03-151-0/+9
* src/hero.mjs: Destructure handler arguments in handleRequest()EuAndreh2024-03-151-4/+4
* src/hero.mjs: Include "headers" and "ref" in request paramEuAndreh2024-03-141-4/+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-081-0/+9
* src/utils.mjs: Add dissoc()EuAndreh2024-03-081-0/+6
* src/web.mjs: Move logging and interceptors to the beginning of the fileEuAndreh2024-03-081-104/+104
* src/hero.mjs: Make sure globalInceptors are used even when we get a 404EuAndreh2024-03-081-7/+14
* src/hero.mjs: Add buildTable()EuAndreh2024-03-081-1/+8
* src/hero.mjs: server.listen() -> server.start(); server.close() -> server.stop()EuAndreh2024-03-072-3/+3
* src/hero.mjs: Add makeReopeningPipeReader()EuAndreh2024-03-071-4/+41
* src/hero.mjs: makePipeReader() now returns a function for closing itEuAndreh2024-03-071-17/+23
* 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-061-0/+1
* src/hero.mjs: Add simplified implementation of `makePipeReader()`EuAndreh2024-03-061-2/+5
* src/hero.mjs: Change server.listen() to receive no argumentsEuAndreh2024-03-062-9/+29
* src/hero.mjs: Add skeleton for makePipeReaderFn()EuAndreh2024-03-061-5/+20
* src/hero.mjs: Add makeLineEmitter()EuAndreh2024-03-061-0/+19
* src/utils.mjs: Add first(), rest(), butlast() and last()EuAndreh2024-03-061-0/+5
* src/hero.mjs: Add rmIf() and mkfifo()EuAndreh2024-03-062-9/+21
* src/utils.mjs: s/first/findFirst/gEuAndreh2024-03-062-2/+2
* 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-011-5/+8
* src/hero.mjs: Add actionsFn() and lineHandlerFn()EuAndreh2024-03-011-0/+76
* Setup user-level lighttpd reverse proxy for development and testingEuAndreh2024-03-014-0/+89
* src/web.mjs: Try out new hero APIEuAndreh2024-03-011-13/+13
* src/ircd.mjs: Remove unix socket before recreating itEuAndreh2024-03-011-4/+10
* src/api.mjs: Simplify handling of argumentsEuAndreh2024-03-011-16/+11
* src/utils.mjs: Remove eq(), use utils.isDeepStrictEqual from "node:utils" ins...EuAndreh2024-03-011-33/+0
* src/utils.mjs: Replace promisify() by util.promisify()EuAndreh2024-02-282-9/+6
* src/utils.mjs: Add undefinedAsNull()EuAndreh2024-02-281-0/+2
* src/utils.mjs: Define strSortFn() and use it on all filesEuAndreh2024-02-283-4/+5
* src/hero.mjs: Promote log() to fancy logger objectEuAndreh2024-02-252-4/+33
* Explicit import from "node:process"; move log() to hero.mjsEuAndreh2024-02-255-17/+21
* Normalize how modules import and name each otherEuAndreh2024-02-247-49/+44
* src/hero.mjs: Add buildServer()EuAndreh2024-02-233-14/+38
* Implement accretion.runMigrations() and wrappings of node-sqlite3EuAndreh2024-02-233-37/+90
* Big cleanupEuAndreh2024-02-2310-44/+286