summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* Rename source files to "lib.go" and "main.go"EuAndreh2024-05-164-9/+9
* src/papod.go: Add message parsing code with some testsEuAndreh2024-05-072-13/+496
* Rename from "papo" to "papod"EuAndreh2024-05-064-1/+1
* src/papo.go: Add initial server skeletonEuAndreh2024-05-062-13/+468
* Makefile: Normalize alongside other Go projectsEuAndreh2024-04-188-36/+19
* Makefile: add binder instance for port 6667EuAndreh2024-03-301-4/+7
* Makefile: rm both socket filesEuAndreh2024-03-291-2/+2
* Makefile: Reorder commands so we don't need to sleepEuAndreh2024-03-291-2/+1
* go.mod: Unmark go-sqlite3 as indirectEuAndreh2024-03-281-1/+1
* Makefile: s/main.bin/$(NAME).bin/gEuAndreh2024-03-281-4/+4
* Makefile: s/ircd/papo/gEuAndreh2024-03-281-5/+5
* src/static/client.js: Add some stub codeEuAndreh2024-03-281-0/+1
* src/cmd/papo.go: Move code into moduleEuAndreh2024-03-283-25/+24
* Makefile: Adapt "run-*" virtual targetsEuAndreh2024-03-281-8/+12
* Adapt build and installationEuAndreh2024-03-283-45/+24
* Node.js -> GoEuAndreh2024-03-2531-1367/+99
* src/hero.mjs: Retire codeEuAndreh2024-03-214-3129/+16
* tests/rand.c: s/Taken/Derived/EuAndreh2024-03-211-1/+1
* src/utils.mjs: Add eq() as an alias for util.isDeepStrictEqualEuAndreh2024-03-201-0/+5
* src/utils.mjs: Add take() and range()EuAndreh2024-03-202-0/+137
* tests/rand.mjs: Add MersenneTwister random number generatorEuAndreh2024-03-206-2/+249
* tests/js/hero.mjs: Fix function orderingEuAndreh2024-03-181-67/+67
* src/hero.mjs: Add statusMessage() and statusResponse()EuAndreh2024-03-182-20/+56
* src/hero.mjs: Log to stdout instead of stderrEuAndreh2024-03-172-4/+4
* tests/js/hero.mjs: Add simple test for now()EuAndreh2024-03-172-1/+13
* src/hero.mjs: Use name of CWD as the default name of buildServer()EuAndreh2024-03-172-6/+19
* tests/js/hero.mjs: Accept a `headers` optional argument in socketRequest()EuAndreh2024-03-171-1/+2
* src/hero.mjs: Add "stopping-server" logEuAndreh2024-03-171-0/+11
* src/web.mjs: Move the "starting-server" logging into hero when .listen()EuAndreh2024-03-172-12/+15
* src/hero.mjs: Include "timestamp" in the logged data objectsEuAndreh2024-03-172-29/+51
* src/hero.mjs: Explicitly inject "headers" key in reqEuAndreh2024-03-161-0/+2
* src/hero.mjs: Add makeUpgradeListener() (again, now rewritten)EuAndreh2024-03-162-0/+92
* src/hero.mjs: use empty object as default value for renderHeaders()EuAndreh2024-03-162-1/+2
* src/hero.mjs: validateUpgrade(): Add note on 405 caseEuAndreh2024-03-161-0/+3
* src/web.mjs: Add "WEBSOCKET" routeEuAndreh2024-03-161-7/+8
* src/hero.mjs: Move interceptors.contentType() closer to the end of the listEuAndreh2024-03-161-1/+1
* tests/js/hero.mjs: Add upgrade case to handleRequest() testEuAndreh2024-03-161-2/+35
* src/hero.mjs: Add writeHead() and its helper functionsEuAndreh2024-03-162-0/+93
* src/hero.mjs: Remove current makeUpgradeListener() and its helpersEuAndreh2024-03-162-233/+0
* src/hero.mjs: findHandler(): learn how to find upgrade routesEuAndreh2024-03-162-32/+73
* src/hero.mjs: Add interceptors.websocketHandshake()EuAndreh2024-03-162-2/+95
* src/hero.mjs: Remove WEBSOCKET_* constantsEuAndreh2024-03-161-9/+3
* src/hero.mjs: Add validateUpgrade(), computeHash() and their helper functionsEuAndreh2024-03-162-2/+268
* 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