1
0
mirror of https://github.com/deavminet/dnetd synced 2024-09-21 17:53:39 +02:00
Commit Graph

128 Commits

Author SHA1 Message Date
Tristan B. Kildaire
8116861986 Removed old code 2021-01-29 18:29:05 +02:00
Tristan B. Kildaire
0bf6e70214 Refactored startup code, remove duplicate try-catches 2021-01-29 17:00:22 +02:00
Tristan B. Kildaire
fa15d5cb08 Restructured configuration sub-system 2021-01-29 16:44:31 +02:00
Tristan B. Kildaire
a75afc5528 Passed DServer object in 2021-01-29 15:04:08 +02:00
Tristan B. Kildaire
d8f66aa271 Set the worker thread for outbound server links 2021-01-29 15:00:56 +02:00
Tristan B. Kildaire
611d9a1cc2 Disable creating Meyer in startServer 2021-01-29 14:30:40 +02:00
Tristan B. Kildaire
5064a661fd Set to public 2021-01-29 14:30:16 +02:00
Tristan B. Kildaire
18ba20bc21 DOn't start the server on construction 2021-01-29 14:29:43 +02:00
Tristan B. Kildaire
5f443cfa2c Configure at start up (server linking) 2021-01-29 14:28:52 +02:00
Tristan B. Kildaire
4e4605ff4c COmpute list of active servers to be linked to 2021-01-29 11:08:24 +02:00
Tristan B. Kildaire
90aeab8344 Pass DLinkCOnfig to DMeyer 2021-01-28 23:43:22 +02:00
Tristan B. Kildaire
f780df7c56 Typo fix 2021-01-28 16:28:54 +02:00
Tristan B. Kildaire
d6a62713a2 Encode sender's username in direct messages 2021-01-28 16:18:33 +02:00
Tristan B. Kildaire
1c9168a6b8 PROTOCOL UPDATE
Type: NotificationMessage
Sub-type: Channel

Channel changes from 1->0

Direct messages are meant to be 1
2021-01-28 15:39:35 +02:00
Tristan B. Kildaire
32b3ca7661 Added missing sub-type to "New message" notification type 2021-01-28 15:21:23 +02:00
Tristan B. Kildaire
fe2aef4c41 Fixed compilation issues 2021-01-28 14:52:36 +02:00
Tristan B. Kildaire
a00acaa35e Later work on multiple sessions 2021-01-28 11:14:37 +02:00
Tristan B. Kildaire
c7a4cfbadd Added TODO 2021-01-27 22:26:56 +02:00
Tristan B. Kildaire
164eee4f3f Code cleanup 2020-12-22 00:54:28 +02:00
Tristan B. Kildaire
dc6efc50b7 Print out config on startup 2020-12-20 23:48:52 +02:00
Tristan B. Kildaire
d860170429 Removed unused constructor 2020-12-20 22:04:59 +02:00
Tristan B. Kildaire
bee016f521 Parse new listener blocks 2020-12-20 19:36:53 +02:00
Tristan B. Kildaire
eee69dcbac Code cleanup 2020-12-20 18:15:02 +02:00
Tristan B. Kildaire
0da2a73226 Added missing bind() call to DListener 2020-12-20 18:12:11 +02:00
Tristan B. Kildaire
917402e974 The dserver now starts all constructed listeners 2020-12-20 17:47:15 +02:00
Tristan B. Kildaire
9e3da7d09f Removed sockets from dserver.d, sockets are now per each DListener 2020-12-20 17:44:22 +02:00
Tristan B. Kildaire
40cb881816 Code cleanliness 2020-12-20 17:42:23 +02:00
Tristan B. Kildaire
aec29f0fd1 Added method, construcListeners(), to instantiate listeners 2020-12-20 17:39:56 +02:00
Tristan B. Kildaire
b9513bae96 Merge branch 'listeners' into multiple_listeners 2020-12-20 17:22:18 +02:00
Tristan B. Kildaire
04ee591936 Return all addresses requested to bind to 2020-12-20 17:20:46 +02:00
Tristan B. Kildaire
d1e1297a26 Handle error 2020-12-04 14:11:55 +02:00
Tristan B. Kildaire
cc95b8e2e9 Add listener array to server 2020-11-03 10:56:58 +02:00
Tristan B. Kildaire
727d42fa67 Added debug print for the address the listener's socket is bound to 2020-11-03 10:41:32 +02:00
Tristan B. Kildaire
2badd2d302 Now accepts incoming connections, adds them to the global queue and starts the handler for the new connection 2020-11-03 10:39:56 +02:00
Tristan B. Kildaire
616d063516 Add server instance 2020-11-03 10:37:49 +02:00
Tristan B. Kildaire
878a59920b Fixed compilation errors 2020-11-03 10:36:28 +02:00
Tristan B. Kildaire
41d758c46a Added dlistener.d 2020-11-03 10:34:58 +02:00
Tristan B. Kildaire
a246ef1d73 WIP: Plugin system 2020-11-03 10:25:44 +02:00
Tristan B. Kildaire
6a679613cc Removed uneeded variable 2020-10-30 19:46:07 +02:00
Tristan B. Kildaire
10da3b093d Using gogga for debug prints in dchannel 2020-10-30 19:27:19 +02:00
Tristan B. Kildaire
7a41d66490 Removed completed TODO 2020-10-29 11:36:15 +02:00
Tristan B. Kildaire
61faff4d1d Fixed compilation issues 2020-10-29 11:26:52 +02:00
Tristan B. Kildaire
1466820ee1 dconnection now uses gprintln 2020-10-29 11:26:07 +02:00
Tristan B. Kildaire
170511a934 dserver now uses gprintln 2020-10-29 11:24:12 +02:00
Tristan B. Kildaire
4e3410c394 Changed 2020-10-29 11:20:54 +02:00
Tristan B. Kildaire
e1848d9b89 Why the fuck would I do it like that 2020-10-26 13:32:33 +02:00
Tristan B. Kildaire
c560d9d4d9 Added TODO 2020-10-26 10:22:44 +02:00
Tristan B. Kildaire
494acab21c Fixed encoding error with GET_USER_PROPS command 2020-10-21 09:02:11 +02:00
Tristan B. Kildaire
7e18e8e6fc My fok marelize 2020-10-20 23:16:50 +02:00
Tristan B. Kildaire
04e12941fb Implemented setproperty 2020-10-20 11:24:19 +02:00