Commit Graph

36 Commits

Author SHA1 Message Date
acded35e1a Pick events class from v4 2014-09-23 22:47:50 +02:00
772d68a34d Response sender is not needed anymore, private channels are now better handled 2014-09-18 07:57:06 +02:00
db22436e5d Handle server related or specific stuff out of the pure core, in the server part (PING, CAP, CTCP requests, ...) 2014-09-12 08:12:55 +02:00
877041bb12 Message parsing is now a server part 2014-09-11 19:29:57 +02:00
95db63bf47 Capabilities negociation fully implemented 2014-09-08 02:36:19 +02:00
9b9c02fe29 Handle connection errors (like timeout) 2014-09-08 02:31:02 +02:00
04bde60482 Fix message decoding: not all parameters was decoded 2014-09-08 01:55:36 +02:00
028b7fd88d Fix PONG response: Messages params are not decoded 2014-09-05 01:48:01 +02:00
85ec2dcd01 New callback _on_connect, called after 001 numeric reply reception: currently it joins channels 2014-09-04 10:43:50 +02:00
c32f1579ee Fix PONG response when no registered input treatment 2014-09-04 09:56:53 +02:00
3bc53bb4ef Introducing new hooks manager
Currently, the manager use a naive implementation, this is
	mainly for architectural testing purpose.
2014-09-01 19:21:54 +02:00
29819c7874 Fix private and CTCP responses 2014-08-31 11:08:34 +02:00
81593a493b (wip) use select instead of a thread by server. Currently read and write seems to work properly, we lost some code (like more, next, ...) that never should be in server part 2014-08-30 20:20:47 +02:00
0a16321259 (wip) reworking of the Message class; backported from v4 2014-08-29 17:12:12 +02:00
a8fe4c5159 Remove legacy and never used response.Hook 2014-08-29 11:46:11 +02:00
e5ec487d29 Improve logging system 2014-08-27 07:57:00 +02:00
d0b1336d07 Use a logger 2014-08-14 12:50:19 +02:00
3839455f42 Prepare server to incoming split 2014-08-13 17:11:33 +02:00
99c6a5c271 Start a message by nemubot: is equivalent to talk in private message 2014-08-07 19:15:14 +02:00
a8ce37a372 Cleaner consumers 2014-07-17 12:01:04 +02:00
Némunaire
17dd6961cf Check channel authorization before accept a message for treatment 2012-11-08 13:24:56 +01:00
Némunaire
5afe5cb15a Fix !help 2012-11-04 14:04:49 +01:00
Némunaire
dc52593953 Add new hook that treat all messages, not only PRIVMSG ; can respond with a response.Hook to create a hook 2012-11-04 04:35:40 +01:00
Némunaire
771e3997c4 Pong only when the message start with explicit ping 2012-11-02 20:00:44 +01:00
Némunaire
a70ff958fd Treat all other hooks; fix ask behavior in private message for all messages 2012-11-02 12:51:16 +01:00
Némunaire
a62940380e Introducing a new nemubot architecture for servers and messages treatment: messages have no more context or server 2012-11-02 12:10:37 +01:00
Némunaire
9e452d22a9 Events modules: use W in a duration for weeks counter, some fixes 2012-11-01 09:30:00 +01:00
Némunaire
afcb104ed9 Modules can return list of Responses 2012-10-15 01:52:07 +02:00
Némunaire
5d2d218708 Messages queue is now use to execute events 2012-10-04 13:36:25 +02:00
Némunaire
a2d9757d06 Add the ability to talk with other nemubot over DCC 2012-08-31 05:21:19 +02:00
Némunaire
30da270557 Can pass data from message reception to message response 2012-08-31 03:52:49 +02:00
Némunaire
2e3ad0ba35 Check instance type of response in ordre to show only true Response 2012-08-31 01:34:58 +02:00
Némunaire
5e52c4dbbb Introduce Response class and a new way to send message to user
Remove old send_* in Message class
!more is now a built-in command
2012-08-30 15:29:11 +02:00
Némunaire
c3c0b216d4 Fix error message when treat a message 2012-08-29 18:15:37 +02:00
Némunaire
f5166aca16 Message timestamping is done when the message arrive, not when it is parsed 2012-08-26 18:00:56 +02:00
Némunaire
fce491552b Use a queue to treat incoming messages instead of using server thread to answer 2012-08-23 18:20:45 +02:00