Commit graph

11 commits

Author SHA1 Message Date
Tom
a9572e6613 phpx/server: improve wire format
This commit updates the wire format of the phpx server. Instead of being
string-based, messages sent back and forth between go and php are now
base64-encoded DEFLATEd strings. This makes them a lot smaller and
faster to send.
2023-05-01 15:50:21 +02:00
Tom Wiesing
9b30223b09
Update dependencies 2023-03-15 19:45:50 +01:00
Tom Wiesing
c31c46ee44
Rework error messages
This commit reworks error messages for all commands and makes sure they
pass liniting.
2023-03-09 12:18:39 +01:00
Tom Wiesing
5e89fadeeb
Migrate pkg/lazy => pkglib/{lazy,lifetime} 2023-02-26 10:00:47 +01:00
Tom Wiesing
c3ca8e2974
Move to github.com/tkw1536/pkglib package
This commit removes various modules that can be migrated to the
github.com/tkw1536/pkglib package without any code changes (beyond
module renamings).
2023-02-26 09:53:25 +01:00
Tom Wiesing
e4a46658ae
internal/phpx: Decrease server code size 2023-01-16 17:29:56 +01:00
Tom Wiesing
3455f491ca
Add context
This commit adds and passes context around to (almost) every function.
This allows cancelling (almost) every function call globally.
2022-11-29 15:32:31 +01:00
Tom Wiesing
996ecb9f80
Implement user password checking 2022-11-25 15:11:28 +01:00
Tom Wiesing
9a1cf4e53b
statistics: Better display on the front page 2022-11-16 19:51:17 +01:00
Tom Wiesing
964e74a9f4
dis: Display initial statistics 2022-11-16 16:44:24 +01:00
Tom Wiesing
2e47626900
php: Move server code into new phpx package 2022-11-16 13:07:15 +01:00