index
:
papod
main
Unnamed repository; edit this file 'description' to name the repository.
External SSH Git service user
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
js
/
hero.mjs
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
src/hero.mjs: Retire code
EuAndreh
2024-03-21
1
-2430
/
+0
*
tests/js/hero.mjs: Fix function ordering
EuAndreh
2024-03-18
1
-67
/
+67
*
src/hero.mjs: Add statusMessage() and statusResponse()
EuAndreh
2024-03-18
1
-4
/
+42
*
tests/js/hero.mjs: Add simple test for now()
EuAndreh
2024-03-17
1
-0
/
+11
*
src/hero.mjs: Use name of CWD as the default name of buildServer()
EuAndreh
2024-03-17
1
-4
/
+15
*
tests/js/hero.mjs: Accept a `headers` optional argument in socketRequest()
EuAndreh
2024-03-17
1
-1
/
+2
*
src/hero.mjs: Include "timestamp" in the logged data objects
EuAndreh
2024-03-17
1
-23
/
+40
*
src/hero.mjs: Add makeUpgradeListener() (again, now rewritten)
EuAndreh
2024-03-16
1
-0
/
+79
*
src/hero.mjs: use empty object as default value for renderHeaders()
EuAndreh
2024-03-16
1
-0
/
+1
*
tests/js/hero.mjs: Add upgrade case to handleRequest() test
EuAndreh
2024-03-16
1
-2
/
+35
*
src/hero.mjs: Add writeHead() and its helper functions
EuAndreh
2024-03-16
1
-0
/
+76
*
src/hero.mjs: Remove current makeUpgradeListener() and its helpers
EuAndreh
2024-03-16
1
-172
/
+0
*
src/hero.mjs: findHandler(): learn how to find upgrade routes
EuAndreh
2024-03-16
1
-24
/
+63
*
src/hero.mjs: Add interceptors.websocketHandshake()
EuAndreh
2024-03-16
1
-2
/
+71
*
src/hero.mjs: Add validateUpgrade(), computeHash() and their helper functions
EuAndreh
2024-03-16
1
-2
/
+169
*
src/hero.mjs: Add "upgrade" and "socket" keys to `req`
EuAndreh
2024-03-16
1
-9
/
+18
*
src/hero.mjs: interceptors.contentType(): Generate body from status when missing
EuAndreh
2024-03-16
1
-8
/
+31
*
src/hero.mjs: Include stacktrace in 500 log entry
EuAndreh
2024-03-15
1
-2
/
+4
*
src/hero.mjs: Add makeUpgradeListener()
EuAndreh
2024-03-15
1
-0
/
+60
*
src/hero.mjs: Add handlerForConnection()
EuAndreh
2024-03-15
1
-0
/
+40
*
src/hero.mjs: Add support for "WEBSOCKET" type of route
EuAndreh
2024-03-15
1
-0
/
+5
*
src/hero.mjs: Add buildHttpPayload()
EuAndreh
2024-03-15
1
-0
/
+48
*
src/hero.mjs: Add emitHeaders()
EuAndreh
2024-03-15
1
-0
/
+24
*
src/hero.mjs: Add comboForLabel()
EuAndreh
2024-03-15
1
-0
/
+20
*
src/hero.mjs: Add isValidLabel()
EuAndreh
2024-03-15
1
-0
/
+19
*
src/hero.mjs: Include "headers" and "ref" in request param
EuAndreh
2024-03-14
1
-7
/
+48
*
src/hero.mjs: Add timing data to "in-response" log entry
EuAndreh
2024-03-08
1
-2
/
+5
*
src/web.mjs: Move logging and interceptors to the beginning of the file
EuAndreh
2024-03-08
1
-491
/
+491
*
src/hero.mjs: Make sure globalInceptors are used even when we get a 404
EuAndreh
2024-03-08
1
-1
/
+16
*
src/hero.mjs: Add buildTable()
EuAndreh
2024-03-08
1
-0
/
+13
*
src/hero.mjs: server.listen() -> server.start(); server.close() -> server.stop()
EuAndreh
2024-03-07
1
-4
/
+4
*
src/hero.mjs: Add makeReopeningPipeReader()
EuAndreh
2024-03-07
1
-25
/
+89
*
src/hero.mjs: makePipeReader() now returns a function for closing it
EuAndreh
2024-03-07
1
-4
/
+0
*
tests/js/hero.mjs: Better names for pipes and sockets created by tests
EuAndreh
2024-03-07
1
-21
/
+28
*
src/hero.mjs: Add minimalistic "ping" action for doing smoke tests in production
EuAndreh
2024-03-06
1
-0
/
+19
*
src/hero.mjs: Add simplified implementation of `makePipeReader()`
EuAndreh
2024-03-06
1
-0
/
+21
*
src/hero.mjs: Change server.listen() to receive no arguments
EuAndreh
2024-03-06
1
-4
/
+6
*
src/hero.mjs: Add skeleton for makePipeReaderFn()
EuAndreh
2024-03-06
1
-0
/
+20
*
src/hero.mjs: Add makeLineEmitter()
EuAndreh
2024-03-06
1
-0
/
+81
*
src/hero.mjs: Add rmIf() and mkfifo()
EuAndreh
2024-03-06
1
-5
/
+80
*
tests/runner.mjs: Add missing await in t.test("", () => {})
EuAndreh
2024-03-06
1
-105
/
+106
*
src/hero.mjs: Add app name as first argument to buildServer()
EuAndreh
2024-03-01
1
-3
/
+3
*
src/hero.mjs: Add actionsFn() and lineHandlerFn()
EuAndreh
2024-03-01
1
-1
/
+113
*
src/hero.mjs: Promote log() to fancy logger object
EuAndreh
2024-02-25
1
-12
/
+139
*
Explicit import from "node:process"; move log() to hero.mjs
EuAndreh
2024-02-25
1
-4
/
+20
*
Normalize how modules import and name each other
EuAndreh
2024-02-24
1
-12
/
+7
*
src/hero.mjs: Add buildServer()
EuAndreh
2024-02-23
1
-97
/
+249
*
Big cleanup
EuAndreh
2024-02-23
1
-0
/
+1050