| Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Remove sub-Makefiles; recursive make is annoying
- Just use one top-level Makefile that builds everything
- Embed templates and minified static resources into the binary
- Embed all compiled documentation into the binary and serve
- Embed all source into the binary and serve
|
|
Otherwise templates won't be copied
|
|
|
|
|
|
And adjust Makefiles, admin handbook, and lint.sh accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements: https://todo.sr.ht/~runxiyu/cca/5
|
|
|
|
|
|
|
|
|
|
|
|
This causes a drastic increase in performance.
References: https://todo.sr.ht/~runxiyu/cca/7
|
|
|
|
|
|
|
|
|
|
|
|
Luckily we encounter a database error before we have the chance to
dereference a null pointer. But it's still good practice to check.
|
|
References: https://todo.sr.ht/~runxiyu/cca/7
|
|
References: https://todo.sr.ht/~runxiyu/cca/7
|
|
|
|
|
|
|
|
|
|
It is possible to use var chanPool = make(map[string](*chan string))
directly during declaration, even if it's a global variable. There is
no need to call a function to initialize it.
|
|
|
|
This also deduplicates some code.
|
|
This is being done quite a few times, so let's make it a function.
|
|
|