Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | re s/guuid/uuid/g | EuAndreh | 2025-05-03 | 1 | -187/+187 |
| | |||||
* | Implement most of db layer | EuAndreh | 2025-01-17 | 2 | -624/+4987 |
| | | | | | Many missing implementations or tests are marked with FIXME so I don't loose track of holes in the code. | ||||
* | src/papod.go: Integrate db layer with network, create command handlers, ↵ | EuAndreh | 2024-11-04 | 2 | -136/+226 |
| | | | | simplify network loop | ||||
* | tests/papod.go: Adapt old tests to use TestStart() and Testing() | EuAndreh | 2024-10-31 | 1 | -370/+405 |
| | |||||
* | Add initial implementation of some of `queriesT` functions | EuAndreh | 2024-10-31 | 2 | -107/+1817 |
| | |||||
* | src/papod.go: Make private most exported names and start actually ↵ | EuAndreh | 2024-10-27 | 2 | -220/+484 |
| | | | | implementing queriesT{} | ||||
* | Big bundle commit: adjust build project skeleton; include uncommitted code | EuAndreh | 2024-10-26 | 8 | -70/+126 |
| | | | | | | | | | | | | | | | There was some code that was being slowly tweaked as I'd work or related things on other repositories that wasn't committed step by step, and that now I'd rather include all as a single changeset, single there weren't really separated stages on how it was developed. Other than that, this commit includes adjustments on dependencies API usage, as they changed during my work on them, and adjustments on the build and test system, as I improved how they worked also during work on other projects. As of this commit, the code compiles and the tests pass. I can't recall if this was true before this commit, but it is true now. | ||||
* | Use "go tool" to build project | EuAndreh | 2024-08-14 | 3 | -61/+98 |
| | |||||
* | go.mod: Include "gobang" dependency | EuAndreh | 2024-07-26 | 1 | -364/+7 |
| | |||||
* | Tweak indentation | EuAndreh | 2024-07-17 | 1 | -119/+108 |
| | |||||
* | src/lib.go, tests/lib_test.go: Normaline function argument declarations | EuAndreh | 2024-07-17 | 1 | -3/+3 |
| | |||||
* | src/lib.go, tests/lib_test.go: Tweak indentation | EuAndreh | 2024-07-15 | 1 | -41/+66 |
| | |||||
* | Inline gobang package code | EuAndreh | 2024-07-15 | 1 | -13/+350 |
| | |||||
* | src/lib.go: Start writing messages to DB | EuAndreh | 2024-05-27 | 1 | -0/+51 |
| | | | | | Create and test simple code for handling migrations transactionally as files. | ||||
* | tests/lib_test.go: Add missing import | EuAndreh | 2024-05-23 | 1 | -0/+1 |
| | |||||
* | Rename leftover references of "papo" -> "papod" | EuAndreh | 2024-05-23 | 1 | -57/+82 |
| | |||||
* | tests/lib_test.go: Group input/expected into "tuples" | EuAndreh | 2024-05-16 | 1 | -237/+330 |
| | |||||
* | Move UUID, FatalIf(), events, etc. code to external lib | EuAndreh | 2024-05-16 | 1 | -29/+0 |
| | |||||
* | Rename source files to "lib.go" and "main.go" | EuAndreh | 2024-05-16 | 1 | -0/+0 |
| | |||||
* | src/papod.go: Add message parsing code with some tests | EuAndreh | 2024-05-07 | 1 | -0/+342 |
| | |||||
* | Rename from "papo" to "papod" | EuAndreh | 2024-05-06 | 1 | -0/+0 |
| | |||||
* | src/papo.go: Add initial server skeleton | EuAndreh | 2024-05-06 | 1 | -2/+25 |
| | |||||
* | src/cmd/papo.go: Move code into module | EuAndreh | 2024-03-28 | 1 | -1/+1 |
| | |||||
* | Node.js -> Go | EuAndreh | 2024-03-25 | 12 | -1009/+14 |
| | |||||
* | src/hero.mjs: Retire code | EuAndreh | 2024-03-21 | 1 | -2430/+0 |
| | |||||
* | tests/rand.c: s/Taken/Derived/ | EuAndreh | 2024-03-21 | 1 | -1/+1 |
| | |||||
* | src/utils.mjs: Add take() and range() | EuAndreh | 2024-03-20 | 1 | -0/+97 |
| | |||||
* | tests/rand.mjs: Add MersenneTwister random number generator | EuAndreh | 2024-03-20 | 3 | -0/+234 |
| | | | | | | The `tests/rand.c` is also added: a simplified adaptation of the original algorithm implementation in C. A 10k numbers test case shows that the JavaScript version behaves the same that the C one does. | ||||
* | 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 |
| | |||||
* | src/hero.mjs: Log to stdout instead of stderr | EuAndreh | 2024-03-17 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | The first question that this brings is: Is the output of the program useful for a downstream process? Is this logging an *output* of the program? But in this case, the answer is: yes, for both questions. A downstream program could very well be fed the output of the program via a pipe and process it, as the data being emitted is meant to be ingested. So instead of following the default "warnings ought to go to stderr" model, we acknowledge that the data is actually an *out*put, and send it to std*out*. | ||||
* | 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 |
| | | | | Also log on "in-request" the value of "upgrade". | ||||
* | 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 |
| |