Commit Graph

376 Commits

Author SHA1 Message Date
Tristan B. Kildaire 485c332a15 Cleaned up 2020-04-26 18:00:39 +02:00
Tristan B. Kildaire 812809510a Added generic JSON socketReceive function 2020-04-26 17:51:48 +02:00
Tristan B. Kildaire c810ef3a77 WIP: Message receive function 2020-04-26 17:47:54 +02:00
Tristan B. Kildaire a2100a4ac9 Added new generic JSON socket-sending function 2020-04-26 17:16:28 +02:00
Tristan B. Kildaire c9a1614856 Updated test suite 2020-04-26 17:01:32 +02:00
Tristan B. Kildaire a246097b82 Re-ordered 2020-04-26 17:01:24 +02:00
Tristan B. Kildaire f1d96efa51 Removed junk files 2020-04-26 15:50:28 +02:00
Tristan B. Kildaire 2c1306fc47 Fixed bug whereby old length was being used as the array was dirty 2020-04-26 15:49:30 +02:00
Tristan B. Kildaire 2ab3260ada Fixed compile time error 2020-04-26 15:10:48 +02:00
Tristan B. Kildaire 4b8dad093e Re-worked authentication mechanism 2020-04-26 15:01:48 +02:00
Tristan B. Kildaire 9e4eadde4b SHow error message on invalid scope provided 2020-04-26 14:36:04 +02:00
Tristan B. Kildaire ca101486e1 Implementing new identification mechanism 2020-04-26 14:25:56 +02:00
Tristan B. Kildaire 1744ee00f9 Refactored scope-checking into a new function 2020-04-26 14:04:11 +02:00
Tristan B. Kildaire 0ac8e56837 Merge branch 'seperate_unix_connections_handlers' 2020-04-26 13:19:27 +02:00
Tristan B. Kildaire aeb02ea84d ENcode arbitrarly many bytes in testsuite 2020-04-26 13:18:54 +02:00
Tristan B. Kildaire 209e009af6 Cleaned up code 2020-04-26 13:16:55 +02:00
Tristan B. Kildaire 8083dca414 Re-enable full test suite 2020-04-26 13:07:01 +02:00
Tristan B. Kildaire 90edca23ae Fixed runtime segmentation fault, did not call getNewSocket for a second time 2020-04-26 13:04:13 +02:00
Tristan B. Kildaire 30a1fbf965 Use getNewSocket call 2020-04-25 23:22:53 +02:00
Tristan B. Kildaire 60d0d091e2 Added function "getNewSocket" to provide a new connection to a message handler ad-hoc 2020-04-25 23:09:06 +02:00
Tristan B. Kildaire b56e989460 Retieve matched users for 'SEND_CLIENTS' command 2020-04-25 22:33:35 +02:00
Tristan B. Kildaire 1ca8f6e777 Added user matching 2020-04-25 22:20:12 +02:00
Tristan B. Kildaire 2c4940af44 WIP: Authenticated user matching 2020-04-25 20:30:49 +02:00
Tristan B. Kildaire e5aa908489 WIP 2020-04-25 19:36:23 +02:00
Tristan B. Kildaire 0c2b161c78 Test 2020-04-25 19:34:09 +02:00
Tristan B. Kildaire e87d64f3a0 Teest 2020-04-25 19:33:45 +02:00
Tristan B. Kildaire 009c0ea3e1 Test remove 2020-04-25 19:21:28 +02:00
Tristan B. Kildaire efad0ef298 Test 2020-04-25 19:21:19 +02:00
Tristan B. Kildaire 39a96c62aa Added function 'isUser' to check if a connection is an authenticated user 2020-04-25 19:10:17 +02:00
Tristan B. Kildaire 7b4a3369b4 WIP 2020-04-25 18:58:32 +02:00
Tristan B. Kildaire 1428249568 Set classes that should not be inherited from to final 2020-04-24 19:19:53 +02:00
Tristan B. Kildaire e8d89bf94a Fixed runtime error 2020-04-24 19:12:26 +02:00
Tristan B. Kildaire ac92b9bb76 Fixed compilation error 2020-04-24 19:10:57 +02:00
Tristan B. Kildaire d48ecbc4fe WIP 2020-04-24 18:55:19 +02:00
Tristan B. Kildaire 646662319e Added error checking for message response handling and executor for executing the commands 2020-04-24 18:41:25 +02:00
Tristan B. Kildaire 1cecddc235 Abstracted Handler's message response into its own type 2020-04-24 18:30:02 +02:00
Tristan B. Kildaire 15e241b49a WIP: Message-handler response abstraction 2020-04-24 17:56:57 +02:00
Tristan B. Kildaire 04d22a8f5e Move to new directory for message ingest and egress 2020-04-24 17:53:07 +02:00
Tristan B. Kildaire efe222a5c6 New directory structure 2020-04-24 17:48:22 +02:00
Tristan B. Kildaire 1e560671b9 New directory structure 2020-04-24 17:24:09 +02:00
Tristan B. Kildaire 2a5c956d98 Renamed modules 2020-04-24 17:17:58 +02:00
Tristan B. Kildaire e8215db9cb Split three classes across 3 modules 2020-04-24 17:14:35 +02:00
Tristan B. Kildaire 16795c3be5 WIP: Response handling 2020-04-24 17:12:25 +02:00
Tristan B. Kildaire 836e4cdc80 Moved code 2020-04-20 22:02:12 +02:00
Tristan B. Kildaire 7f25b598db Fixed UNIX domain listener 2020-04-20 21:18:45 +02:00
Tristan B. Kildaire 885982a1a6 Added built-ins listing 2020-04-20 20:30:55 +02:00
Tristan B. Kildaire 55c815ea64 Implemented IPv6 support, UNIX broken 2020-04-20 20:30:17 +02:00
Tristan B. Kildaire 9c0f4a6966 Adds all listeners for now 2020-04-20 20:08:55 +02:00
Tristan B. Kildaire 4ef21cdd32 WIP 2020-04-20 19:39:30 +02:00
Tristan B. Kildaire 93bb1615df Debug outputs 2020-04-20 19:28:35 +02:00