Commit Graph

  • 1e85b9e17e Added `addConnection(Connection)` implementation nextgen Tristan B. Kildaire 2021-09-29 14:27:21 +0200
  • a637082c00 Print out when a new connection has arrived Tristan B. Kildaire 2021-09-29 14:27:06 +0200
  • 499a0f8935 Added some notes on connection handling for a job-mechanism Tristan B. Kildaire 2021-09-29 14:26:54 +0200
  • 14ce718654 Configure all static initializations of Connection (which are now shared via static __gshared) to use this instance as the Server static) Tristan B. Kildaire 2021-09-29 13:49:11 +0200
  • 004374dfa2 Added missing import Tristan B. Kildaire 2021-09-29 13:48:24 +0200
  • c7d5e96cca Fixed multi-thread local data init to be truly globally mem-shared Tristan B. Kildaire 2021-09-29 13:48:03 +0200
  • b2008dbed6 Forgot to add listeners to config on reading Tristan B. Kildaire 2021-09-29 13:44:03 +0200
  • e595f8e9db Forgot to set the worker function for the Listener threads Tristan B. Kildaire 2021-09-29 13:42:47 +0200
  • e404917e4f Initialize server Tristan B. Kildaire 2021-09-29 13:41:55 +0200
  • a4c8ca17eb Initialize all listeners on server start Tristan B. Kildaire 2021-09-29 13:41:49 +0200
  • 8933c4dc7a Uphraded dub dependencies Tristan B. Kildaire 2021-09-29 13:40:40 +0200
  • 8287db0fdb Finished parsing of config information for single-server setups Tristan B. Kildaire 2021-09-29 13:40:36 +0200
  • f9f0004cbd Updated ServerConfig fields Tristan B. Kildaire 2021-09-29 13:40:17 +0200
  • 882818faa7 Added server ID (sid key) to JSON confguration file Tristan B. Kildaire 2021-09-29 13:40:07 +0200
  • 0ff0001758 Use gogga for debug printing rather Tristan B. Kildaire 2021-09-29 12:53:04 +0200
  • 24b5b7dede Implemented parsing of bind blocks in configuration Tristan B. Kildaire 2021-09-29 12:51:39 +0200
  • e27a683170 Added stub functions for creating a new Server instance Tristan B. Kildaire 2021-09-29 12:41:51 +0200
  • d23ea6c16e Set the server instance on server construction Tristan B. Kildaire 2021-09-29 12:41:15 +0200
  • 345e90ad88 Make public Tristan B. Kildaire 2021-09-29 12:41:05 +0200
  • 1c0aa190f0 Added missing imports Tristan B. Kildaire 2021-09-29 12:38:34 +0200
  • 94e84e4d5f Stub layout added for modules Tristan B. Kildaire 2021-09-29 12:36:59 +0200
  • dcf0c5bfba Updated dub dependencies Tristan B. Kildaire 2021-09-26 10:48:59 +0200
  • f6cb14b501 WIP: Listener class for handling incoming connections Tristan B. Kildaire 2021-09-26 10:48:50 +0200
  • 5dc080d260 Removed old main code Tristan B. Kildaire 2021-09-26 10:45:54 +0200
  • 0f0469936a Removed old code and documentation Tristan B. Kildaire 2021-08-27 15:38:49 +0200
  • b32d26a53b Added comment linking Tristan B. Kildaire 2021-01-30 20:48:44 +0200
  • d38cc17aa4 Allow server user listing Tristan B. Kildaire 2021-01-30 18:12:06 +0200
  • d7d298820c (Actually) Remove dead connection Tristan B. Kildaire 2021-01-30 18:03:30 +0200
  • e18d7b59b5 Removed outbounded peers on read error Tristan B. Kildaire 2021-01-30 17:08:16 +0200
  • 4cd2528ca9 remove inbound server links when the connection breaks Tristan B. Kildaire 2021-01-30 16:57:19 +0200
  • 6e75f84ba5 Cleaned up Tristan B. Kildaire 2021-01-30 16:39:47 +0200
  • 1e3ca829fb Refactored Tristan B. Kildaire 2021-01-30 16:27:41 +0200
  • 315fcb8ac9 Quick test modifivcaiton to `toString` Tristan B. Kildaire 2021-01-30 14:35:42 +0200
  • 998f8060bf That should make linking work now Tristan B. Kildaire 2021-01-30 14:27:31 +0200
  • 7cd4b4af8d Forgot to add the link Tristan B. Kildaire 2021-01-30 14:23:47 +0200
  • 972023d2f3 WIP: Linking Tristan B. Kildaire 2021-01-30 14:17:01 +0200
  • a8dc8fdd5b Added `getName()` function Tristan B. Kildaire 2021-01-30 14:11:29 +0200
  • 3d8e2cc522 Print out name of incoming server link request Tristan B. Kildaire 2021-01-30 13:53:57 +0200
  • df0a9ec0e7 Type corrected Tristan B. Kildaire 2021-01-30 13:44:15 +0200
  • 51b2dc4876 Fixed compilation error Tristan B. Kildaire 2021-01-30 13:41:38 +0200
  • 596c76bf3b Renamed Tristan B. Kildaire 2021-01-30 13:41:25 +0200
  • 49229547b1 Send back [nameLen, name] Tristan B. Kildaire 2021-01-30 13:00:13 +0200
  • 67088afaa2 Fixed out of range error Tristan B. Kildaire 2021-01-30 12:56:41 +0200
  • 068636cde7 Fixed segmentation fault Tristan B. Kildaire 2021-01-30 12:50:44 +0200
  • 9f7330a3df WIP: Server linking Tristan B. Kildaire 2021-01-30 12:49:39 +0200
  • 9f0d66b7bc Encode server name Tristan B. Kildaire 2021-01-30 12:25:40 +0200
  • c06be5ae2b Added `.getname()` to fetch name from configurstion file Tristan B. Kildaire 2021-01-30 12:25:35 +0200
  • 85c86ad3ba Use new tristanable methods Tristan B. Kildaire 2021-01-30 12:20:32 +0200
  • ed350c5c71 Upgraded to new tristanable Tristan B. Kildaire 2021-01-30 12:10:48 +0200
  • b5f6cec7b2 Added TODO Tristan B. Kildaire 2021-01-30 12:06:53 +0200
  • 77a4b01a3a Added bformat encoding Tristan B. Kildaire 2021-01-30 11:50:11 +0200
  • 5021c5038c WIP: Send LINK command Tristan B. Kildaire 2021-01-30 11:39:58 +0200
  • ae93617b79 Cleaned up Tristan B. Kildaire 2021-01-29 21:38:50 +0200
  • 905ad50188 Moved code for outbound server linking to DServer Tristan B. Kildaire 2021-01-29 21:21:59 +0200
  • ea36ba240d Commented Tristan B. Kildaire 2021-01-29 21:13:08 +0200
  • 668790e33b Move code to the thread worker Tristan B. Kildaire 2021-01-29 21:12:27 +0200
  • 0c4ca8e55a Nvm configs Tristan B. Kildaire 2021-01-29 20:53:05 +0200
  • 5ecb1faa19 Initiate outbound connetion Tristan B. Kildaire 2021-01-29 20:48:18 +0200
  • a10784ec99 Corrected testing configurations Tristan B. Kildaire 2021-01-29 20:48:10 +0200
  • 7c82b938b8 d Tristan B. Kildaire 2021-01-29 19:49:39 +0200
  • 8116861986 Removed old code Tristan B. Kildaire 2021-01-29 18:29:05 +0200
  • ff914cf6b5 Attach link manager (Meyer) to the server Tristan B. Kildaire 2021-01-29 17:09:15 +0200
  • 0bf6e70214 Refactored startup code, remove duplicate try-catches Tristan B. Kildaire 2021-01-29 17:00:22 +0200
  • fa15d5cb08 Restructured configuration sub-system Tristan B. Kildaire 2021-01-29 16:44:31 +0200
  • a75afc5528 Passed DServer object in Tristan B. Kildaire 2021-01-29 15:04:08 +0200
  • d8f66aa271 Set the worker thread for outbound server links Tristan B. Kildaire 2021-01-29 15:00:56 +0200
  • 611d9a1cc2 Disable creating Meyer in `startServer` Tristan B. Kildaire 2021-01-29 14:30:40 +0200
  • 5064a661fd Set to public Tristan B. Kildaire 2021-01-29 14:30:16 +0200
  • 1c65c86441 STart server after configuring linking Tristan B. Kildaire 2021-01-29 14:30:02 +0200
  • 18ba20bc21 DOn't start the server on construction Tristan B. Kildaire 2021-01-29 14:29:43 +0200
  • 5f443cfa2c Configure at start up (server linking) Tristan B. Kildaire 2021-01-29 14:28:52 +0200
  • 4e4605ff4c COmpute list of active servers to be linked to Tristan B. Kildaire 2021-01-29 11:08:24 +0200
  • 4face9ae5d Added missing key to configuration file example Tristan B. Kildaire 2021-01-29 11:06:15 +0200
  • 617727d7b6 Added missing keys to testing configuration files Tristan B. Kildaire 2021-01-29 11:05:46 +0200
  • 90aeab8344 Pass DLinkCOnfig to DMeyer Tristan B. Kildaire 2021-01-28 23:43:22 +0200
  • f780df7c56 Typo fix master direct_messages develop Tristan B. Kildaire 2021-01-28 16:28:54 +0200
  • d6a62713a2 Encode sender's username in direct messages v0.2.0 Tristan B. Kildaire 2021-01-28 16:18:33 +0200
  • 1c9168a6b8 PROTOCOL UPDATE v0.1.1 Tristan B. Kildaire 2021-01-28 15:39:35 +0200
  • 32b3ca7661 Added missing sub-type to "New message" notification type v0.1.0 Tristan B. Kildaire 2021-01-28 15:21:23 +0200
  • fe2aef4c41 Fixed compilation issues Tristan B. Kildaire 2021-01-28 14:52:36 +0200
  • a00acaa35e Later work on multiple sessions Tristan B. Kildaire 2021-01-28 11:14:37 +0200
  • c7a4cfbadd Added TODO Tristan B. Kildaire 2021-01-27 22:26:56 +0200
  • e10cf7bc23 Upgraded Tristan B. Kildaire 2021-01-27 21:30:38 +0200
  • 164eee4f3f Code cleanup Tristan B. Kildaire 2020-12-22 00:54:28 +0200
  • dc6efc50b7 Print out config on startup Tristan B. Kildaire 2020-12-20 23:48:52 +0200
  • ce05d226ba Removed uneeded configuration key plugins multiple_listeners Tristan B. Kildaire 2020-12-20 23:03:01 +0200
  • d860170429 Removed unused constructor Tristan B. Kildaire 2020-12-20 22:04:59 +0200
  • a83f55cc49 Removed unecessary config keys Tristan B. Kildaire 2020-12-20 19:43:59 +0200
  • bee016f521 Parse new listener blocks Tristan B. Kildaire 2020-12-20 19:36:53 +0200
  • eee69dcbac Code cleanup Tristan B. Kildaire 2020-12-20 18:15:02 +0200
  • 0da2a73226 Added missing `bind()` call to DListener Tristan B. Kildaire 2020-12-20 18:12:11 +0200
  • 917402e974 The dserver now starts all constructed listeners Tristan B. Kildaire 2020-12-20 17:47:15 +0200
  • 9e3da7d09f Removed sockets from dserver.d, sockets are now per each DListener Tristan B. Kildaire 2020-12-20 17:44:22 +0200
  • 40cb881816 Code cleanliness Tristan B. Kildaire 2020-12-20 17:42:23 +0200
  • aec29f0fd1 Added method, `construcListeners()`, to instantiate listeners Tristan B. Kildaire 2020-12-20 17:39:56 +0200
  • b9513bae96 Merge branch 'listeners' into multiple_listeners Tristan B. Kildaire 2020-12-20 17:22:18 +0200
  • 04ee591936 Return all addresses requested to bind to Tristan B. Kildaire 2020-12-20 17:20:46 +0200
  • 325b37c5da ya v0.0.20 Tristan B. Kildaire 2020-12-04 19:11:41 +0200
  • f1ab9271dd Use fixed tristanable Tristan B. Kildaire 2020-12-04 19:09:36 +0200
  • 66be270b61 Use bformat 3.1.0 Tristan B. Kildaire 2020-12-04 19:07:33 +0200