60 Commits

Author SHA1 Message Date
c8f2dbaadc Use COUNT member in enums 2025-03-03 11:17:52 +00:00
e81a47d83f Extract ActivitesView updating logic into own class 2025-03-03 10:42:26 +00:00
5697cf0652 Remove Card class and rename CardArea<T> to ListView<T> 2025-03-03 09:31:43 +00:00
b2f5288c4b Remove sorting from server
The client is doing it itself now anyway.
2025-03-03 01:06:43 +00:00
8123c5375d Regularly refresh activities and update cards in-place 2025-03-03 01:04:56 +00:00
3e99cc293a Create Refresher class (and IRefreshable interface) 2025-03-02 18:16:08 +00:00
e275fa01ed Add start() method to Periodic (and construct stopped) 2025-03-02 18:16:04 +00:00
487427cf0a Add connected property to Client 2025-03-02 17:05:16 +00:00
5912302043 Add connection indicator to client 2025-03-02 16:53:11 +00:00
7c26a9278f Transfer ownership of client socket in session_server:init/1 2025-03-02 16:53:11 +00:00
8a7032309f Replace deprecated CSS functions with standard ones 2025-03-02 16:53:11 +00:00
708343c37f Add connection_status signal to Client 2025-03-02 16:53:08 +00:00
10a7fe5c82 Remove refreshing indicator from ActivitiesView
I've decided I'm going to add an indicator for when the client is
disconnected so the indicator would be pretty redundant (and it
requires a bunch of code to implement).
2025-03-02 15:14:43 +00:00
c2d81778a8 Extract Card and CardArea classes 2025-03-02 14:47:09 +00:00
94df48db7b Extract Periodic class from connection's Worker 2025-03-02 14:03:33 +00:00
76aca12fec Add priority to activity cards 2025-03-02 13:40:55 +00:00
5a6b535beb Animate refresh indicator show/hide 2025-03-02 12:54:27 +00:00
019bdf9ce6 Add refreshing indicator to ActivitiesView 2025-03-02 12:54:27 +00:00
17629f1db7 Reduce client-side timeout 2025-03-02 12:54:27 +00:00
0f0bd37cc8 Get activities from server and refresh on session log 2025-03-02 12:54:27 +00:00
bf876336f2 Handle listActivities on server 2025-03-02 12:54:27 +00:00
09f0648138 Actually log a session from client instead of pinging 2025-03-01 17:35:40 +00:00
d2a479f691 Create subject subsystem on server 2025-03-01 17:35:35 +00:00
68c55573de Remove subject IDs and improve request handling 2025-03-01 17:22:31 +00:00
9588e88b93 Support more PDUs and create Client class
The Client class provides a nice, high-level async API for
client-server communication.
2025-03-01 10:37:01 +00:00
38d6b2fa9b Remove 'Prioritized' from PDU names 2025-03-01 10:36:22 +00:00
a02ec90816 Implement transaction management in client 2025-03-01 10:36:22 +00:00
959be64cc1 Add transaction IDs to messages and handle on the server 2025-02-28 19:14:14 +00:00
c683f72e10 Mark Datum.type and Datum.content as protected instead of internal 2025-02-28 14:02:25 +00:00
cdbef62e70 Add some real messages to ASN.1 and handle pings on server 2025-02-28 12:46:03 +00:00
fe8b1ef977 Move SessionManager and related classes to own file 2025-02-28 12:44:55 +00:00
90a6eb3ab4 Support ENUMERATED in client DER library 2025-02-28 00:04:01 +00:00
38ef12fa02 Add popover for entering session length 2025-02-27 23:07:24 +00:00
5038a24539 Create skeleton of main activities view UI in client 2025-02-27 23:05:08 +00:00
6b53dd1526 Match results on ok in session_server 2025-02-25 23:07:20 +00:00
c8b9337da8 Remove unused acceptor field from tcp_server state 2025-02-25 23:06:14 +00:00
b33aeb8014 Make proto_sup strategy less strict 2025-02-25 23:06:14 +00:00
0238fbbd2a Add timeouts to handshake in tcp_server 2025-02-25 23:06:10 +00:00
236eed5505 Handle exit properly in session_server 2025-02-25 22:17:50 +00:00
727c0aedd6 Implement demo of DER comms 2025-02-25 22:17:50 +00:00
f5cb3b7166 Reduce message MAX_FAIL_COUNT 2025-02-25 22:00:50 +00:00
218c1e3644 Add NULL support to Client DER library 2025-02-25 21:58:59 +00:00
10560371ab Fix CHOICE DER support 2025-02-25 21:58:48 +00:00
18541786e1 Add support for CHOICE to client DER encode/decode logic 2025-02-25 18:17:30 +00:00
046deccc26 Write script for rebuilding and running the client and server 2025-02-25 17:34:22 +00:00
b522ef8a98 Implement connection recovery procedures in client 2025-02-25 17:30:23 +00:00
53857bc613 Fix message dropping issue on server
The sockets were initially set to active, which meant that data
received immediately after the TLS handshake (before the socket was
transferred to the handle_connection process) were received by the
acceptor process and hence were not handled.
2025-02-25 16:00:04 +00:00
538405fec9 Move child spec into proto_sup 2025-02-25 16:00:04 +00:00
4eceba338c Remove debug io:format() from tcp_server 2025-02-25 16:00:04 +00:00
ef9e578e25 Implement SEQUENCE encoding and decoding in client 2025-02-25 16:00:04 +00:00