Commit Graph

176 Commits

Author SHA1 Message Date
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
Tristan B. Kildaire dc6efc50b7 Print out config on startup 2020-12-20 23:48:52 +02:00
Tristan B. Kildaire ce05d226ba Removed uneeded configuration key 2020-12-20 23:03:01 +02:00
Tristan B. Kildaire d860170429 Removed unused constructor 2020-12-20 22:04:59 +02:00
Tristan B. Kildaire a83f55cc49 Removed unecessary config keys 2020-12-20 19:43: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 325b37c5da ya 2020-12-04 19:11:41 +02:00
Tristan B. Kildaire f1ab9271dd Use fixed tristanable 2020-12-04 19:09:36 +02:00
Tristan B. Kildaire 66be270b61 Use bformat 3.1.0 2020-12-04 19:07:33 +02:00