Commit Graph

70 Commits

Author SHA1 Message Date
Tristan B. Kildaire cc4de82818 Freeze 2020-10-05 15:59:08 +02:00
Tristan B. Kildaire 1071d11345 Fixed argument mismatch, disabled requirement for links json key 2020-10-02 17:08:35 +02:00
Tristan B. Kildaire ef90f1ba13 daemon now uses configuration file for network parameters, also added motd command and serverinfo command (not yet implemented) 2020-10-02 16:11:27 +02:00
Tristan B. Kildaire c8a9c2bffe Added config file and TODO 2020-10-02 08:41:28 +02:00
Tristan B. Kildaire 9b579642a9 Updated build path 2020-09-30 12:55:59 +02:00
Tristan B. Kildaire bad168e400 Added 'memberlist' command 2020-09-30 10:15:32 +02:00
Tristan B. Kildaire 1a3de749b5 Updated protocol 2020-09-30 10:15:22 +02:00
Tristan B. Kildaire 87eb1f02e7 Implemented `memberlist` command 2020-09-29 23:28:58 +02:00
Tristan B. Kildaire 411e15d53d Added 'membercount' command (protocol) 2020-09-29 14:29:51 +02:00
Tristan B. Kildaire 5ef44b3d9b Added 'membercount' command 2020-09-29 14:29:46 +02:00
Tristan B. Kildaire 978f02cff3 Upgraded to a more thread safe version of tristanable 2020-09-29 08:58:04 +02:00
Tristan B. Kildaire 7424875676 Direct messages implemented 2020-09-28 22:00:31 +02:00
Tristan B. Kildaire ff1aba9dc1 Cleaned up 2020-09-28 20:42:40 +02:00
Tristan B. Kildaire f1219170ec Re-enabled broadcasts on leave/join 2020-09-28 19:46:30 +02:00
Tristan B. Kildaire b0f30acb5b Code cleanup 2020-09-28 19:46:03 +02:00
Tristan B. Kildaire e30987546b Added debug prints for now solved bug (tristanable concurrency fix, early request), also simplified channel joins to be mutex atomic in that all stuff must first complete 2020-09-28 19:23:04 +02:00
Tristan B. Kildaire c0ea99e797 Upgraded dependancies 2020-09-28 19:22:32 +02:00
Tristan B. Kildaire cc3b01f975 Updated protocol 2020-09-28 13:58:29 +02:00
Tristan B. Kildaire 1b1827738c Added 'join' broadcast to channel on user join channel 2020-09-28 13:58:18 +02:00
Tristan B. Kildaire ea34d7b4a2 Broadcast leave message to channel the client left 2020-09-28 13:47:27 +02:00
Tristan B. Kildaire 89f9b7cc41 Cleanup 2020-09-28 12:54:05 +02:00
Tristan B. Kildaire 98700f3067 Fixed compilation error 2020-09-28 12:50:40 +02:00
Tristan B. Kildaire c7fd5a6d30 Migrated connectionQueue addition code to addConnection() 2020-09-28 11:56:59 +02:00
Tristan B. Kildaire 5983f090e3 Leave all channels you were a member of on socket read error (caused by disconnect) 2020-09-28 11:42:14 +02:00
Tristan B. Kildaire e12688c38a Removed debug prints 2020-09-28 10:21:12 +02:00
Tristan B. Kildaire a5f8596062 Fixed protocol type number 5 2020-09-28 10:12:13 +02:00
Tristan B. Kildaire aa41a13aed Refactored bool 'status' after user/channel send 2020-09-27 19:50:39 +02:00
Tristan B. Kildaire e07f456848 Refactored 2020-09-27 19:39:48 +02:00
Tristan B. Kildaire d4384c439e Added function to get list of connections, added sendUserMessage function (WIP) to send a message to a given user 2020-09-27 18:31:34 +02:00
Tristan B. Kildaire 16b4ad8b40 Updated protocol 2020-09-27 18:27:34 +02:00
Tristan B. Kildaire a1017c0a75 Updated protocol 2020-09-27 16:58:44 +02:00
Tristan B. Kildaire 2b94a85e2c Added 'getMemberCount()' to DChannel 2020-09-26 15:05:52 +02:00
Tristan B. Kildaire 71ec17140f Refactored code to increase re-use 2020-09-26 12:24:04 +02:00
Tristan B. Kildaire fb5cd4f045 Updated protocol 2020-09-25 22:15:58 +02:00
Tristan B. Kildaire e4c3f72f3a Cleanup 2020-09-25 19:41:30 +02:00
Tristan B. Kildaire 2c6641d88c Cleanup 2020-09-25 19:33:37 +02:00
Tristan B. Kildaire a5a518f016 Updated protocol 2020-09-25 19:32:06 +02:00
Tristan B. Kildaire b81b7a37cd On unknown command, return byte 2 2020-09-25 19:30:45 +02:00
Tristan B. Kildaire 4394dc9ae2 Fixed mutex not being unlocked, only the O.G locker could continue resursively lokcing it 2020-09-25 12:53:34 +02:00
Tristan B. Kildaire 723d44aa1f Fixed code whereby mutex would never be unlocked if channel was found 2020-09-25 10:21:58 +02:00
Tristan B. Kildaire bf74c74891 Fixed bug whereby newlu created channels were not added to the global channel list 2020-09-25 09:25:37 +02:00
Tristan B. Kildaire d18e6f4944 Fixed bug whereby DConnection thread would crash due to incorrect slicing indices 2020-09-25 01:08:28 +02:00
Tristan B. Kildaire 3716a6c583 Updated dependancies 2020-09-24 20:59:03 +02:00
Tristan B. Kildaire e8e9f5ede0 Updated dependancies 2020-09-24 20:53:23 +02:00
Tristan B. Kildaire 6815c51784 Fixed bug whereby a failed read would cause a null pointer deref in tristanable as the data array would be empty and .ptr is being used so bounds checking code would not apply 2020-09-24 19:11:20 +02:00
Tristan B. Kildaire 9236b54515 Added code to send a message to a channel for the 'msg' command 2020-09-24 15:01:23 +02:00
Tristan B. Kildaire 3f2e308263 Now 'part' and 'join' commands require connection type to be CLIENT 2020-09-24 14:36:32 +02:00
Tristan B. Kildaire 26f24f12c8 On 'link' and 'auth' commands set the respective connection types to SERVER and CLIENT 2020-09-24 13:54:01 +02:00
Tristan B. Kildaire 95978f8637 Updated protocol 2020-09-24 13:28:17 +02:00
Tristan B. Kildaire 59d4dd1f25 Added functionality to send message to everyone in a channel 2020-09-24 13:28:09 +02:00