Commit Graph

117 Commits

Author SHA1 Message Date
baabe2f4d9 Minor update to the usage 2025-03-21 22:05:47 +01:00
Erik Brakkee
c3e77e6ef3 Fixed issue with throttling go routine not terminating. 2024-09-26 19:14:27 +02:00
d81eedcbac added licensing terms. 2024-09-08 18:51:46 +02:00
5269394cf5 Updated the about page:
1. improved picture showing the shell
2. updated description.
2024-09-08 11:16:49 +02:00
bf40ef059d weird problem in scaling image because of preload not being used (?) 2024-09-08 11:16:49 +02:00
db8a6be7ba much more clear logo. Higher resolution and better shadows,
more cartoonistic.
2024-09-08 11:16:49 +02:00
f863e57315 updates to the about page. 2024-09-08 11:16:49 +02:00
1805542a2a better styling of the header with title font decreasing automatically
and iamge not spilling outside of the content area.
2024-09-08 11:16:49 +02:00
Erik Brakkee
a0ae2d7d97 powershell instructions did not work when mukltiple ssh keys were configured.
Also ignoring empty lines in the input.
2024-09-08 11:16:49 +02:00
9508fca88f now using a go-like logo for the project. 2024-09-08 11:16:49 +02:00
442da2b56d minor update to the about page. Confusing explanation at the start. 2024-09-08 11:16:49 +02:00
3e28fba654 table heaader was wrong: time -> expiry time in sessions page. 2024-09-08 11:16:49 +02:00
8dd34f6c1b small improvement in about.templ 2024-09-08 11:16:49 +02:00
b7d009a528 added a picture to the about page. 2024-09-08 11:16:49 +02:00
69b58976ae fix for integration test and compose file using the correct versions. 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
4f97b29776 reduced min delay for events to 0.5 seconds. 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
e31ab7176b wsproxy mode tested. 2024-09-08 11:16:49 +02:00
f3963288e3 using clientId in the public interface of admin instead of an internal
interface agentConnection.
2024-09-08 11:16:49 +02:00
95204a9f5b modification for testability caused a panic when client tries to connect
to unknown agent.
2024-09-08 11:16:49 +02:00
e334554d4a multiple clients and agents. 2024-09-08 11:16:49 +02:00
1ec7241c95 now asserting succesful client creation after calling connectClient()
THis way conenctClient(0 can be used also for cases where client
connection
is not successful.
2024-09-08 11:16:49 +02:00
9bff8db297 connectClient now returns an error when unsuccessful. 2024-09-08 11:16:49 +02:00
78e3556787 reintroduced ClientInfo because it does appear to work.
Most likely some error elsewhere caused it not to work previously
2024-09-08 11:16:49 +02:00
d21f9c847f connectClient() extracted to make it easy to connect a client. 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
e03e7d7b9a work in progress for testing the matchmaker. 2024-09-08 11:16:49 +02:00
2b9a9f550d test multiple clients now working with a fully concurrent registration
of clients.
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
739556e938 now also testing client removal. 2024-09-08 11:16:49 +02:00
d8a79fbe00 remove agent now also tested. 2024-09-08 11:16:49 +02:00
5191b9cd49 some refactoring inpraparation for multiple agents and clients. 2024-09-08 11:16:49 +02:00
1fd4de471c test for unknown rendez-vous id. 2024-09-08 11:16:49 +02:00
563c8f2ca7 added leak detection using the goleak library 2024-09-08 11:16:49 +02:00
28b2545163 test for connecting clients and bidirectional communication to agent.
Required lots of rework since the GOBChannel appeared to be reading
ahead of the data it actually needed. Now using more low-level IO
to send the clientId over to the agent instead.
2024-09-08 11:16:49 +02:00
d144a4d230 test for duplicate id and new id gene4ration done 2024-09-08 11:16:49 +02:00
37ff504b88 agent registers with duplica id 2024-09-08 11:16:49 +02:00
1244e34de5 testing many agents registring 2024-09-08 11:16:49 +02:00
2c2aeff8f5 prepare test for more agents and clietns. 2024-09-08 11:16:49 +02:00
eb6da5da99 test case for single agent registration. 2024-09-08 11:16:49 +02:00
ea0b4282ba test for ListenForAgentEvents implemented. 2024-09-08 11:16:49 +02:00
6abcf0a7af go conventions: context should be first argument. 2024-09-08 11:16:49 +02:00
4444d6bbcd initial state is now sent again when the websocket connection is
established.
Also throttling based on user input. When browser sends multiple
messages per second the user will still only get one notification per
second at most.
2024-09-08 11:16:49 +02:00
75606dfe2e consistent casing in the titles (all lower case) 2024-09-08 11:16:49 +02:00
00dd0d17c6 hostkey is now sent from the server to the agent so that at a later
stage we can make the hostkey conrfigurable at the server level instead
of using a fixed hardcoded key.
2024-09-08 11:16:49 +02:00
3408e2893a moved all ui stuff to the ui package.
The structure of converge server is now much more clear in the package
// structure below pkg/server.
2024-09-08 11:16:49 +02:00
c66be7775f renamed templates package to ui 2024-09-08 11:16:49 +02:00