Commit Graph

72 Commits

Author SHA1 Message Date
David Majdandžić
44348e7a85 Implement websocket server 2023-03-28 21:53:07 +02:00
David Majdandžić
c4d5a62a46 Implement pduprocessors 2023-03-28 20:22:29 +02:00
David Majdandžić
9c0de4ef3c Implement various getters and setters 2023-03-28 20:12:11 +02:00
David Majdandžić
5f32eb127d Fix center send 2023-03-28 20:08:39 +02:00
David Majdandžić
df7031c350 Implement center sending 2023-03-28 19:24:04 +02:00
David Majdandžić
22ef7359a8 Implement bind reply on center
Now clients can fully connect
2023-03-28 17:36:35 +02:00
David Majdandžić
b2b9e5a620 Implement center connection handling 2023-03-28 17:26:23 +02:00
David Majdandžić
fc06eb8a81 Begin center implementation 2023-03-28 13:12:22 +02:00
David Majdandžić
c917bf6cc8 More refactoring 2023-03-28 04:28:08 +02:00
David Majdandžić
75392079f7 More refactoring 2023-03-28 04:12:25 +02:00
David Majdandžić
4409a6fec8 Minor refactoring 2023-03-28 04:08:07 +02:00
David Majdandžić
bb363deb2a Implement send default and R/W to file 2023-03-28 04:02:22 +02:00
David Majdandžić
1dd5b9ed7c Add event listener support to client 2023-03-28 03:15:44 +02:00
David Majdandžić
f0c1cae0e0 Implement client sending 2023-03-28 03:12:32 +02:00
David Majdandžić
6e6848233d Renaming files 2023-03-28 02:42:46 +02:00
David Majdandžić
f47d9b05cd Enable client connecting 2023-03-28 02:32:50 +02:00
David Majdandžić
fae2729856 Port more code 2023-03-28 02:26:46 +02:00
David Majdandžić
a26dbcc231 Port some amount of code to typescript 2023-03-28 01:45:53 +02:00
David Majdandžić
630c8a1004 Fixed issue that caused sessions to be too busy to send messages that made them busy in the first place 2023-03-27 17:44:06 +02:00
David Majdandžić
eb9c8468e2 Implement new "Busy" state for client and center to signify many message send 2023-03-27 17:26:06 +02:00
David Majdandžić
2e09392627 Fix issue where client sessions were closed without status updates 2023-03-27 16:40:54 +02:00
David Majdandžić
96b0257c1d Fix issue where the center thought it still had live connections when a connection died 2023-03-27 16:39:15 +02:00
David Majdandžić
21d0e515e8 Minor changes and fixes 2023-03-27 11:27:13 +02:00
David Majdandžić
9638917174 Add comentary 2023-03-27 09:26:39 +02:00
David Majdandžić
5708472ec3 Minor fixes and improvements 2023-03-27 09:11:55 +02:00
David Majdandžić
c6880ca0d6 Cleanup 2023-03-26 18:16:10 +02:00
David Majdandžić
190ae7e296 Fix issue where websockets would be sent duplicate messages 2023-03-26 18:14:06 +02:00
David Majdandžić
268d19815a Fix issue with client send 2023-03-26 17:41:45 +02:00
David Majdandžić
35e5edef5d A center session ending now properly updates the center 2023-03-26 17:40:46 +02:00
David Majdandžić
8e5e1fcda3 Minor fixes 2023-03-26 17:12:32 +02:00
David Majdandžić
5187854d5d Implement defaults for centers and clean up code 2023-03-26 15:34:40 +02:00
David Majdandžić
d952770fee Implement the same for centers
Should really standardize this... Wish JS had interfaces...
2023-03-26 15:28:47 +02:00
David Majdandžić
601fb6c618 Implement configured messages that can be sent rapidly 2023-03-26 15:20:53 +02:00
David Majdandžić
1485325b07 Fix some minor issues 2023-03-25 22:50:15 +01:00
David Majdandžić
3b58d09826 Update insomnia file 2023-03-25 21:24:20 +01:00
David Majdandžić
bc063f0b34 Update loggers 2023-03-25 18:20:32 +01:00
David Majdandžić
bcf48e9d6f Cleanup 2023-03-25 18:14:22 +01:00
David Majdandžić
e639759ed5 Fix issue with websockets being closed 2023-03-25 18:12:26 +01:00
David Majdandžić
9773cce836 Implement websocket notifications for center status, mode and few other changes 2023-03-25 17:55:56 +01:00
David Majdandžić
b8e9642507 Implement closing and destroying center sessions
Although this currently serves little to no purpose because the sessions can not be opened again
2023-03-25 17:40:44 +01:00
David Majdandžić
6a29bb3014 Implement mode modification and R/W from file 2023-03-25 16:48:35 +01:00
David Majdandžić
4ec3e9fed0 Implement getAllModes endpoint 2023-03-25 16:44:46 +01:00
David Majdandžić
390ad046c2 Implement REST endpoints for center modification (username, password) 2023-03-25 16:34:14 +01:00
David Majdandžić
931f546653 Implement center operation modes 2023-03-25 16:27:12 +01:00
David Majdandžić
ff67a49796 Fix connections dropping due to enquire_links dropping 2023-03-25 16:22:34 +01:00
David Majdandžić
10da85dd90 Implement client replying to deliver and center to submit_sm 2023-03-25 16:19:00 +01:00
David Majdandžić
14ed759c1a Implement response from centers 2023-03-25 16:02:14 +01:00
David Majdandžić
7f2929161e Implement client session patch 2023-03-25 15:43:17 +01:00
David Majdandžić
7b79e864fc Implement client session username and password changing 2023-03-25 15:34:47 +01:00
David Majdandžić
d1757379b5 Fix the cleanup running twice 2023-03-25 14:59:29 +01:00