Tristan B. Kildaire
|
39fa2d9e32
|
Fixed testing script.
|
2020-05-02 16:49:45 +02:00 |
Tristan B. Kildaire
|
3cc3ea36e7
|
Removed debug print.
|
2020-05-02 16:23:49 +02:00 |
Tristan B. Kildaire
|
b7d2fa936c
|
Make `sendError` public.
|
2020-05-02 16:19:44 +02:00 |
Tristan B. Kildaire
|
de56cca9a7
|
Added `sendError` function to make sending error messages to the client easier.
|
2020-05-02 16:19:30 +02:00 |
Tristan B. Kildaire
|
1308eb94ce
|
Changed error format.
|
2020-05-02 16:06:38 +02:00 |
Tristan B. Kildaire
|
c77d99ee36
|
WIP: New test.
|
2020-05-02 15:29:15 +02:00 |
Tristan B. Kildaire
|
c970b92c5f
|
Fixed error response.
|
2020-05-02 15:29:11 +02:00 |
Tristan B. Kildaire
|
db48723e2c
|
Removed unecessary code from test.
|
2020-05-02 15:23:20 +02:00 |
Tristan B. Kildaire
|
cdc8249122
|
Added authentication failure test.
|
2020-05-02 15:22:44 +02:00 |
Tristan B. Kildaire
|
9796a005b6
|
Respond with an error message on authentication failure.
|
2020-05-02 15:20:50 +02:00 |
Tristan B. Kildaire
|
cc983dab8f
|
Removed uneeded items.
|
2020-05-01 22:24:01 +02:00 |
Tristan B. Kildaire
|
b7bcfd1997
|
Re-worked built i commands.
|
2020-05-01 22:23:24 +02:00 |
Tristan B. Kildaire
|
312d0bb8e9
|
Add a field `primitiveAppended` to the message so the handler can get the server reply too.
|
2020-05-01 22:02:53 +02:00 |
Tristan B. Kildaire
|
c68df69713
|
Getting ready for built-in commands.
|
2020-05-01 17:48:45 +02:00 |
Tristan B. Kildaire
|
3c8fd6c547
|
Added more debug prints.
|
2020-05-01 12:19:21 +02:00 |
Tristan B. Kildaire
|
07870f2a14
|
Refactored imports.
|
2020-05-01 09:55:50 +02:00 |
Tristan B. Kildaire
|
a973bb0b1b
|
Used debugPrint.
|
2020-05-01 09:45:44 +02:00 |
Tristan B. Kildaire
|
c4cecbb945
|
Removed stray print.
|
2020-05-01 09:41:16 +02:00 |
Tristan B. Kildaire
|
3f9f93d1a8
|
Output debug infor showing which listener is being started.
|
2020-05-01 09:39:41 +02:00 |
Tristan B. Kildaire
|
62b03568ef
|
Make sure username and password are not empty.
Strip username of whitespace trailing and preceiding.
|
2020-05-01 09:38:17 +02:00 |
Tristan B. Kildaire
|
42664666ce
|
Moved message.d into utils/
|
2020-05-01 09:27:17 +02:00 |
Tristan B. Kildaire
|
3abf89611d
|
Refactored app.d
|
2020-05-01 09:19:38 +02:00 |
Tristan B. Kildaire
|
f80144218c
|
Removed unused function.
|
2020-05-01 09:14:57 +02:00 |
Tristan B. Kildaire
|
e1b0d1fe85
|
Updates.
|
2020-05-01 09:13:42 +02:00 |
Tristan B. Kildaire
|
7ab34cb188
|
Cleaned up message.d
|
2020-05-01 09:09:02 +02:00 |
Tristan B. Kildaire
|
af4e79f844
|
Refactored error handling in message.d
|
2020-04-30 21:42:35 +02:00 |
Tristan B. Kildaire
|
9e6f42cdeb
|
Made scripts executable.
|
2020-04-30 19:43:20 +02:00 |
Tristan B. Kildaire
|
5204274a76
|
Configuration file is now read in from arguments.
|
2020-04-30 19:18:00 +02:00 |
Tristan B. Kildaire
|
0d6b757923
|
Cleaned up code.
Only show debugging if envrionment variable
`R_DEBUG` is set.
|
2020-04-30 19:10:26 +02:00 |
Tristan B. Kildaire
|
b66c2116dc
|
Code clean up and new tests
|
2020-04-30 18:03:50 +02:00 |
Tristan B. Kildaire
|
16d128f7d3
|
Close server connection after one message received
|
2020-04-30 17:38:32 +02:00 |
Tristan B. Kildaire
|
61e09c7602
|
Working handler to handler
|
2020-04-30 15:55:40 +02:00 |
Tristan B. Kildaire
|
69a399b928
|
WIP: Class being initted again
|
2020-04-30 14:25:12 +02:00 |
Tristan B. Kildaire
|
8dafb94a37
|
WIP: Implementing sendHandler
|
2020-04-30 13:30:03 +02:00 |
Tristan B. Kildaire
|
50293d1d6f
|
Fixed formatting in spec.
|
2020-04-30 10:49:20 +02:00 |
Tristan B. Kildaire
|
e58cf142e0
|
Removed old specification files
|
2020-04-30 10:41:49 +02:00 |
Tristan B. Kildaire
|
9fc71f9b57
|
Removed old spec
|
2020-04-30 10:36:05 +02:00 |
Tristan B. Kildaire
|
29c10791b4
|
Updated spec
|
2020-04-30 10:33:48 +02:00 |
Tristan B. Kildaire
|
f9b0888c65
|
Made test backup, WIP: Clean this up
|
2020-04-30 10:33:24 +02:00 |
Tristan B. Kildaire
|
30ae6213c1
|
Updated spec to show changes just made
|
2020-04-30 10:22:12 +02:00 |
Tristan B. Kildaire
|
5d469cbb29
|
Make 'sendClients' use same response format as 'sendServers'
|
2020-04-30 10:20:09 +02:00 |
Tristan B. Kildaire
|
45d1857601
|
Server to server working
|
2020-04-29 18:49:39 +02:00 |
Tristan B. Kildaire
|
a86dbfe356
|
WIP: Server-to-server communication
|
2020-04-29 15:40:55 +02:00 |
Tristan B. Kildaire
|
d3600d171a
|
WIP: 'admin' field in server.conf. Changed to 'dprint' and message in app.d. WIP: 'sendServers'
|
2020-04-29 13:55:38 +02:00 |
Tristan B. Kildaire
|
d1cbba4422
|
Added new tests
|
2020-04-29 13:26:18 +02:00 |
Tristan B. Kildaire
|
d162c3b513
|
Added destructor for BesterConnection to close socket
|
2020-04-29 10:16:39 +02:00 |
Tristan B. Kildaire
|
81698fb77f
|
Added new handler (just an extra)
|
2020-04-28 23:17:45 +02:00 |
Tristan B. Kildaire
|
ff8c10fd5c
|
Constructed response message
|
2020-04-28 22:41:14 +02:00 |
Tristan B. Kildaire
|
dc6397d5d8
|
Added todo
|
2020-04-28 20:01:50 +02:00 |
Tristan B. Kildaire
|
c5a14a3374
|
Closed socket after send-recv with UNIX domain socket to message handler
|
2020-04-28 19:00:20 +02:00 |