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

192 Commits

Author SHA1 Message Date
Tristan B. Kildaire
7cd4b4af8d Forgot to add the link 2021-01-30 14:23:47 +02:00
Tristan B. Kildaire
972023d2f3 WIP: Linking 2021-01-30 14:17:01 +02:00
Tristan B. Kildaire
a8dc8fdd5b Added getName() function 2021-01-30 14:11:29 +02:00
Tristan B. Kildaire
3d8e2cc522 Print out name of incoming server link request 2021-01-30 13:53:57 +02:00
Tristan B. Kildaire
df0a9ec0e7 Type corrected 2021-01-30 13:44:15 +02:00
Tristan B. Kildaire
51b2dc4876 Fixed compilation error 2021-01-30 13:41:38 +02:00
Tristan B. Kildaire
596c76bf3b Renamed 2021-01-30 13:41:25 +02:00
Tristan B. Kildaire
49229547b1 Send back [nameLen, name] 2021-01-30 13:00:13 +02:00
Tristan B. Kildaire
67088afaa2 Fixed out of range error 2021-01-30 12:56:41 +02:00
Tristan B. Kildaire
068636cde7 Fixed segmentation fault 2021-01-30 12:50:44 +02:00
Tristan B. Kildaire
9f7330a3df WIP: Server linking
Seg fault on link attempt it seems
2021-01-30 12:49:39 +02:00
Tristan B. Kildaire
9f0d66b7bc Encode server name 2021-01-30 12:25:40 +02:00
Tristan B. Kildaire
c06be5ae2b Added .getname() to fetch name from configurstion file 2021-01-30 12:25:35 +02:00
Tristan B. Kildaire
85c86ad3ba Use new tristanable methods 2021-01-30 12:20:32 +02:00
Tristan B. Kildaire
ed350c5c71 Upgraded to new tristanable 2021-01-30 12:10:48 +02:00
Tristan B. Kildaire
b5f6cec7b2 Added TODO 2021-01-30 12:06:53 +02:00
Tristan B. Kildaire
77a4b01a3a Added bformat encoding 2021-01-30 11:50:11 +02:00
Tristan B. Kildaire
5021c5038c WIP: Send LINK command 2021-01-30 11:39:58 +02:00
Tristan B. Kildaire
ae93617b79 Cleaned up 2021-01-29 21:38:50 +02:00
Tristan B. Kildaire
905ad50188 Moved code for outbound server linking to DServer 2021-01-29 21:21:59 +02:00
Tristan B. Kildaire
ea36ba240d Commented 2021-01-29 21:13:08 +02:00
Tristan B. Kildaire
668790e33b Move code to the thread worker
Start thread worker
2021-01-29 21:12:27 +02:00
Tristan B. Kildaire
0c4ca8e55a Nvm configs 2021-01-29 20:53:05 +02:00
Tristan B. Kildaire
5ecb1faa19 Initiate outbound connetion 2021-01-29 20:48:18 +02:00
Tristan B. Kildaire
a10784ec99 Corrected testing configurations 2021-01-29 20:48:10 +02:00
Tristan B. Kildaire
7c82b938b8 d 2021-01-29 19:49:39 +02:00
Tristan B. Kildaire
8116861986 Removed old code 2021-01-29 18:29:05 +02:00
Tristan B. Kildaire
ff914cf6b5 Attach link manager (Meyer) to the server 2021-01-29 17:09:15 +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
1c65c86441 STart server after configuring linking 2021-01-29 14:30:02 +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
4face9ae5d Added missing key to configuration file example 2021-01-29 11:06:15 +02:00
Tristan B. Kildaire
617727d7b6 Added missing keys to testing configuration files 2021-01-29 11:05:46 +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
e10cf7bc23 Upgraded 2021-01-27 21:30:38 +02:00
Tristan B. Kildaire
164eee4f3f Code cleanup 2020-12-22 00:54:28 +02:00