1
0
Fork 0
Commit Graph

30 Commits

Author SHA1 Message Date
nemunaire f927d5ab0a Convert nemuspeak as a module to nemubot 2014-10-27 18:40:04 +01:00
nemunaire 41c33354c3 Choose another nick on nick collision 2014-10-10 23:14:05 +02:00
nemunaire 4dd837cf4b Change add_server behaviour, fix IRC parameters parsing, can use with Python statement for managing server scope 2014-10-09 07:37:52 +02:00
nemunaire dfde4c5f49 New message processing 2014-10-07 00:21:14 +02:00
nemunaire 981025610e Fix IRC message pretty-printer 2014-10-04 07:41:54 +02:00
nemunaire 020759fdab Decoding IRC message: use encoding from configuration file 2014-10-04 07:39:08 +02:00
nemunaire 302add96ca Add a connected state for socket 2014-10-01 00:33:52 +02:00
nemunaire 1c1139df9f Autojoin on invitations 2014-10-01 00:17:36 +02:00
nemunaire c5a69f1bd0 Internal timezone is now UTC 2014-10-01 00:14:27 +02:00
nemunaire 99a5e8e5ad Can send command on connection, defined in configuration file 2014-09-27 23:57:19 +02:00
nemunaire 41da1c0780 Response class is now part of 'more' module.
This commit prepare the new message flow based on protocol independent messages.

	This commit changes the module API: you need to import the Response class manually at the begining of our module.
2014-09-27 12:39:44 +02:00
nemunaire 314d410789 Logger identifier for server now depends on server identifier and is not global 2014-09-21 19:46:18 +02:00
nemunaire 772d68a34d Response sender is not needed anymore, private channels are now better handled 2014-09-18 07:57:06 +02:00
nemunaire a0a1ef8989 Always parse the same number of arguments; empty string != None 2014-09-17 06:59:40 +02:00
nemunaire 73acc00762 Handle IRC PART command 2014-09-15 01:07:43 +02:00
nemunaire fa81fa5814 Handle channel creation in IRC server 2014-09-15 00:52:19 +02:00
nemunaire 7dc3b55c34 Parse most of IRC messages in server part instead of core 2014-09-13 23:50:32 +02:00
nemunaire 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
nemunaire 877041bb12 Message parsing is now a server part 2014-09-11 19:29:57 +02:00
nemunaire f51ad21e91 Don't send CAP REQ if there is no compatible capabilities 2014-09-08 02:41:50 +02:00
nemunaire 95db63bf47 Capabilities negociation fully implemented 2014-09-08 02:36:19 +02:00
nemunaire 9b9c02fe29 Handle connection errors (like timeout) 2014-09-08 02:31:02 +02:00
nemunaire b63170244a IRC: capabilities negociation 2014-09-07 23:43:22 +02:00
nemunaire 85ec2dcd01 New callback _on_connect, called after 001 numeric reply reception: currently it joins channels 2014-09-04 10:43:50 +02:00
nemunaire 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
nemunaire 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
nemunaire 0a16321259 (wip) reworking of the Message class; backported from v4 2014-08-29 17:12:12 +02:00
nemunaire e5ec487d29 Improve logging system 2014-08-27 07:57:00 +02:00
nemunaire d0b1336d07 Use a logger 2014-08-14 12:50:19 +02:00
nemunaire 3839455f42 Prepare server to incoming split 2014-08-13 17:11:33 +02:00