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

81 Commits

Author SHA1 Message Date
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
Tristan B. Kildaire
e39f965b17 Added all needed stub methods for user properties 2020-10-20 08:22:13 +02:00
Tristan B. Kildaire
f20a02635e Added neew properties system. 2020-10-20 08:17:48 +02:00
Tristan B. Kildaire
95d2c2adc9 Added getStatus message 2020-10-20 07:57:27 +02:00
Tristan B. Kildaire
759d1623a1 Added default status 2020-10-20 07:57:21 +02:00
Tristan B. Kildaire
93f4ab34ef Applied last commit's idea to leave messages 2020-10-18 13:40:53 +02:00
Tristan B. Kildaire
68cd53ea8d ChannelJoin notification now returns :<channel>,<username>" instead of just "<username>" 2020-10-18 13:29:18 +02:00
Tristan B. Kildaire
e265e09223 Fixed not taking correct config file 2020-10-16 17:15:08 +02:00
Tristan B. Kildaire
8ee4fdf3b5 Implemented memberinfo command 2020-10-15 14:07:01 +02:00
Tristan B. Kildaire
9285d52897 Added TODO for CHAN_PROP and SET_PROP to be implemented. 2020-10-15 11:28:12 +02:00
Tristan B. Kildaire
ae64574d3e Implemented checking for SET_PROP and CHAN_PROP commands 2020-10-15 11:27:25 +02:00
Tristan B. Kildaire
7031d6f538 Cleaned up, added new command enums 2020-10-15 11:26:57 +02:00
Tristan B. Kildaire
1e51b33195 Cleaned up 2020-10-15 11:23:59 +02:00
Tristan B. Kildaire
9c391d2517 Implemented 'status' message. 2020-10-14 23:19:40 +02:00
Tristan B. Kildaire
a0d8ea8596 Added two commands TO BE implemented in the near future. 2020-10-14 18:48:23 +02:00
Tristan B. Kildaire
af3a36512a Removed uneeded cast 2020-10-05 19:38:01 +02:00
Tristan B. Kildaire
53bbf8710c Zero-extend (not sign) due to implciti integer promotion 2020-10-05 18:01:47 +02:00
Tristan B. Kildaire
6837d290bd Type corrections 2020-10-05 17:59:40 +02:00
Tristan B. Kildaire
b115634849 Yay, finally good type safety. EVen going as far ato conditions where the sign extension wouldn't differ the zeor extension, but I"M PEDANTIC AS FUCK 2020-10-05 16:41:40 +02:00
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
bad168e400 Added 'memberlist' command 2020-09-30 10:15:32 +02:00
Tristan B. Kildaire
87eb1f02e7 Implemented memberlist command 2020-09-29 23:28:58 +02:00
Tristan B. Kildaire
5ef44b3d9b Added 'membercount' command 2020-09-29 14:29:46 +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
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