Commit graph

25 commits

Author SHA1 Message Date
Nikos Papadakis
ac709e66f5
add web terminal emulator (closes #6) 2023-12-16 22:59:19 +02:00
Nikos Papadakis
818b20f775 add functionality that creates wordpress sites
Reviewed-on: https://git.nikos.gg/prymn/prymn/pulls/9
Co-authored-by: Nikos Papadakis <nikos@papadakis.xyz>
Co-committed-by: Nikos Papadakis <nikos@papadakis.xyz>
2023-12-14 12:27:05 +00:00
Nikos Papadakis
1a21bce0d2
form input style changes 2023-12-13 17:41:46 +02:00
Nikos Papadakis
2771a7bcb2
app: dropdown improvements 2023-11-25 16:49:51 +02:00
Nikos Papadakis
c81d112eb8
app(fix): only update health updates on its own page 2023-11-25 15:29:59 +02:00
Nikos Papadakis
efd5f1d126
app: alpine.js + dropdown 2023-11-24 00:56:38 +02:00
Nikos Papadakis
c7b9be3ee4
app: new button component 2023-11-23 15:45:33 +02:00
Nikos Papadakis
4a37cc402a
draft: apps 2023-11-20 18:50:24 +02:00
Nikos Papadakis
78051bb796
fix tests and better async results 2023-11-20 18:50:08 +02:00
Nikos Papadakis
8bf9261583
upgrade phoenix
Now with the new liveview async API!
2023-11-20 00:27:36 +02:00
Nikos Papadakis
53572d4993
add blocks and placeholders for where stuff will go later 2023-11-16 23:45:36 +02:00
Nikos Papadakis
5c64f02579 Feature: Agent Tasks (#8)
Reviewed-on: https://git.nikos.gg/prymn/prymn/pulls/8
Co-authored-by: Nikos Papadakis <nikos@papadakis.xyz>
Co-committed-by: Nikos Papadakis <nikos@papadakis.xyz>
2023-11-14 15:23:50 +00:00
Nikos Papadakis
3628754120
app: support button as link 2023-09-10 15:46:42 +03:00
Nikos Papadakis
9b0ddf107e
ci: refactor - use cached builds, add tests and lints 2023-09-10 13:51:06 +03:00
Nikos Papadakis
c1e39c9bf2
app: use x-forwarded-for header to get ips 2023-09-04 13:11:06 +03:00
Nikos Papadakis
ec365709b4
ci: app release pipeline 2023-09-03 15:18:06 +03:00
Nikos Papadakis
26ba60b95d
app: refactor the Connection to make it asynchronous when connecting
Some work has been done on making the Connection feel nicer, but also
more work is needed to not have the channel be exposed to the upper
layers of the application. We should wrap all the GRPC calls in the
GenServer (which may also allow caching on certain calls such as
get_sys_info)
2023-08-28 23:32:42 +03:00
Nikos Papadakis
be7f584010
app: a nice poc background connection with the agent
Dynamically supervise a GRPC connection and keep it alive for a while,
using a timeout to kill the process on inactivity.

The Connection GenServer keeps the connection alive, while listening to
a health stream from the GRPC endpoint, notifying any subscribed
listeners about changes to health.

This health is then propagated to the main servers page.

Also create a looping get_sys_info which retrieves some basic system
information.
2023-08-26 00:51:04 +03:00
Nikos Papadakis
5bd44ef9ac
refactor: agent connections now use the new healthcheck streaming
`Prymn.Agent.Connection` GenServer uses healthchecking with the new
streaming RPC, retrieving asynchronously the health status of the agent.

The Connection will also shut itself down when there's no usage (when
the keepalive function is not called frequently)
2023-08-19 21:14:07 +03:00
Nikos Papadakis
20896ab5a3
app: add 'Skip to content' link for accessibility' 2023-08-17 13:24:09 +03:00
Nikos Papadakis
a9d8786d11
Add typespecs, remove unneeded documentation 2023-07-29 14:45:09 +03:00
Nikos Papadakis
1a2f7d78e8
app: add user authentication 2023-07-28 23:44:00 +03:00
Nikos Papadakis
90ccdedd7b
app: use normal assigns instead of streams for the server list 2023-07-26 22:41:52 +03:00
Nikos Papadakis
dbdc7e0d80
agent: make installation work 2023-07-20 23:11:12 +03:00
Nikos Papadakis
de55092ade
rename backend -> app 2023-07-19 23:24:24 +03:00