142 Commits

Author SHA1 Message Date
a492b3bd72 Add buildToWeb run config 2023-05-05 10:38:23 +02:00
0e016438a1 Implement shared processors (processors that can be used on clients and centers) 2023-05-05 10:25:31 +02:00
5a5debb249 Refactor processors to reduce duplicate code 2023-05-05 10:17:55 +02:00
7d574e3162 Generify serialize 2023-05-05 10:00:31 +02:00
03716404f0 Fix issue where center set to echo would echo every message part
Now echo simply does not work with long messages
2023-05-02 13:09:00 +02:00
David Majdandžić
85dfc6f565 Revert IP change 2023-04-26 17:48:13 +02:00
David Majdandžić
9c755d3cda Add README 2023-04-24 16:35:52 +02:00
David Majdandžić
d1b6caf597 Merge branch 'dev'
# Conflicts:
#	src/main.ts
2023-04-24 15:35:12 +02:00
David Majdandžić
5e31372207 Clean up the project for building 2023-04-07 08:39:58 +02:00
David Majdandžić
0945fb0363 Code polish 2023-04-06 21:34:30 +02:00
David Majdandžić
e913934ed9 Code polish 2023-04-06 21:31:14 +02:00
David Majdandžić
12896b2a5b Fix issue where wsmessages were broadscast instead of sent to their respective client 2023-04-06 20:43:26 +02:00
David Majdandžić
1f9ed8122a Fix issue where closing a center's connections would kill it 2023-04-06 20:26:31 +02:00
David Majdandžić
5576de3f71 Fix issue with application crashing on long sms without long sms processing enabled 2023-04-06 20:14:47 +02:00
David Majdandžić
12dd92e980 Implement longSms processor 2023-04-06 20:04:38 +02:00
David Majdandžić
577bca0c5c Fix center status 2023-04-06 19:05:26 +02:00
David Majdandžić
00750ba862 Fixed crashing on delete a disconnected client 2023-04-06 19:03:55 +02:00
David Majdandžić
fc82e27e33 Fix issue where centers trying to listen on a busy port crashed application 2023-04-06 18:45:28 +02:00
David Majdandžić
363e3f7fc2 Split ANY PDU evnt into RX and TX for receive and transmit 2023-04-06 18:29:41 +02:00
David Majdandžić
251658f385 Fully implement delivery reports 2023-04-06 18:07:28 +02:00
David Majdandžić
3447194e99 Fix deleted centers not being deleted and do some work on delivery reports 2023-04-05 21:22:58 +02:00
David Majdandžić
6ce89f35be Implement processor R/W 2023-04-05 20:02:47 +02:00
David Majdandžić
e0fd3a5c31 Minor fixes 2023-04-05 19:53:08 +02:00
David Majdandžić
42493aab50 Code polish 2023-04-05 19:29:26 +02:00
David Majdandžić
694124a6b7 Implement response processors 2023-04-05 19:27:05 +02:00
David Majdandžić
9181033fda Clean up code 2023-04-05 17:59:51 +02:00
David Majdandžić
6dbb108c2b Implement processor attaching and detaching 2023-04-05 17:52:44 +02:00
David Majdandžić
2628445422 Cleanup code 2023-04-05 17:25:27 +02:00
David Majdandžić
d032239105 Finally make the stupid pre/post processors work 2023-04-05 17:19:53 +02:00
David Majdandžić
7a4aa1eb9c Cleanup imports 2023-04-05 17:00:25 +02:00
David Majdandžić
eb22a43ee2 Working commit 2023-04-05 16:51:29 +02:00
David Majdandžić
3acb1f0889 Implement deliverSmReply 2023-04-04 10:13:21 +02:00
David Majdandžić
c498f6cfb7 Implement source and desination enumerators for client 2023-04-04 09:49:44 +02:00
David Majdandžić
e2a7c52541 Implement processor switching 2023-04-03 20:25:12 +02:00
David Majdandžić
3856fcecbd Fix issue with WS not sending any updates for Centers 2023-04-03 17:51:22 +02:00
David Majdandžić
f3917090f7 Implement zlib compression of ws messages 2023-04-01 17:07:06 +02:00
David Majdandžić
af199c9449 Implement json request compression 2023-04-01 16:49:50 +02:00
David Majdandžić
61de0b2a2c Fix some issues with websockets and encoding 2023-03-31 23:16:02 +02:00
David Majdandžić
a5ecf37752 Fix issue with stop send not updating status 2023-03-31 22:14:10 +02:00
David Majdandžić
de5faa4ac9 Add busy status to center 2023-03-31 21:57:14 +02:00
David Majdandžić
d920fd75d7 Fix issue with job pdu messages being parsed as objects instead of strings 2023-03-31 21:31:15 +02:00
David Majdandžić
085745f0c6 Fix center closing connections 2023-03-31 21:09:10 +02:00
David Majdandžić
5b26dd6a61 Code polish 2023-03-31 20:24:59 +02:00
David Majdandžić
fb310fa53a Minor cleanup 2023-03-31 17:13:39 +02:00
David Majdandžić
17a1c10c05 Fix issue with jobs not being assigned a command 2023-03-30 19:30:48 +02:00
David Majdandžić
10cf382d00 Minor refactoring work 2023-03-30 18:14:30 +02:00
David Majdandžić
2374cba341 Generify everything a little 2023-03-30 17:50:49 +02:00
David Majdandžić
a34d393c01 Add ts-node dependency 2023-03-30 12:45:46 +02:00
David Majdandžić
bf14864f38 Fix issue where all jobs were loaded as multiSend 2023-03-30 00:55:40 +02:00
David Majdandžić
f21695d6e1 Add writing centers to file 2023-03-30 00:41:47 +02:00