Commit Graph

119 Commits

Author SHA1 Message Date
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 123f1ea8b8 app.d now uses `gprintln` 2020-10-29 11:23:25 +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
Tristan B. Kildaire 70549b8fdb Implemented `setProperty` on the server 2020-10-20 10:45:17 +02:00
Tristan B. Kildaire 3be0a028c6 Added mutex to `deleteProperty` 2020-10-20 10:01:38 +02:00
Tristan B. Kildaire 1694634e3c Added mutex to `getProperties` 2020-10-20 10:01:13 +02:00
Tristan B. Kildaire 8a7480e356 Added mutex for properties to `isProperty` and `getProperty` 2020-10-20 09:57:50 +02:00
Tristan B. Kildaire 3f3bf6071e Initialize properties lock 2020-10-20 09:55:55 +02:00
Tristan B. Kildaire 4af556a8c6 Added server functions for `isProperty` and `getProperty` for users 2020-10-20 09:54:42 +02:00
Tristan B. Kildaire 3970a35cd0 Fixed command check
Added missing enums
2020-10-20 09:29:02 +02:00
Tristan B. Kildaire d0dbb51eef Added `isProperty(string)` method 2020-10-20 09:26:32 +02:00
Tristan B. Kildaire 94f8922b4f Implemented command `GET_USER_PROPS` 2020-10-20 09:08:25 +02:00
Tristan B. Kildaire 287d0c6ceb Implemented all property functions. 2020-10-20 08:23:47 +02:00