Commit Graph

18 Commits

Author SHA1 Message Date
d81eedcbac added licensing terms. 2024-09-08 18:51:46 +02:00
51d46ee07d Reverted back to multi-stage build. Previous change of extracting baser image was not needed since the test container is a plain alpione container with a few additional packages. 2024-09-08 11:16:49 +02:00
a1d03814c1 cleaning up icons in make clean dn downloading them again when building. 2024-09-08 11:16:49 +02:00
74b7b7d5e1 removed some old debugging output 2024-09-08 11:16:49 +02:00
8fe79e3c38 first integration test implemented using testcontainers. 2024-09-08 11:16:49 +02:00
3117fff4ce fixed one concurrency problem in admin.Close() detected when running the
tests 100 times.
2024-09-08 11:16:49 +02:00
474ac5ec30 some additions to the matchmaker tests for unknown agents. 2024-09-08 11:16:49 +02:00
a99de52e56 throttler now ignoring duplicate events. 2024-09-08 11:16:49 +02:00
2accbaf3fe changes for testing agent connect by returning a synchronizer() function
that must be called after connect to synchronize data.
2024-09-08 11:16:49 +02:00
0cd0b543a2 multiple clients connecting to multiple agents.
Clients cannot yet be started in parallel. due to subtle issue in test
setup with accept
2024-09-08 11:16:49 +02:00
3059a16559 table testing with go routines only really works well when standard
assertions are ued. With suite.Required() there are issues in getting
the test results correct.

Instead, use standard assertions and use suite.T().Failed() to do
early returns.
2024-09-08 11:16:49 +02:00
6abcf0a7af go conventions: context should be first argument. 2024-09-08 11:16:49 +02:00
fc7977f7bb now using maps of Guid to Agent/Client in the state, working towards the definitive solution.
Using LinkedMap that preserves insertion order for the implementation and also added unit tests for that.
2024-09-08 11:16:49 +02:00
4f6d9c209d relative link to websocket did not work for some reason, reverted back to /.... link 2024-09-08 11:16:49 +02:00
4b05d7e8d8 Now rendering the index.html using the Templ library.
This is in preparation for:
1. creating a base page
2. using tabs: Home, Using, Downloads, Status
3. htmx
2024-09-08 11:16:49 +02:00
2f9cead5c3 eliminated unused setWindowSize files. 2024-09-08 11:16:48 +02:00
Erik Brakkee
2f40f86294 cross compilation on windows working.
pty.Start() is not supported on windows
2024-09-08 11:16:48 +02:00
25e9e944b2 added makefile for building. 2024-09-08 11:16:48 +02:00