Commit Graph

56 Commits

Author SHA1 Message Date
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
04eccbe250 Remove some legacy stuff 2014-09-22 17:48:59 +02:00
0ab51d79ae Pong only on "ask" 2014-09-22 17:48:41 +02:00
4d187f61e3 Fix exception during deletion of the first event in rare case 2014-09-18 08:08:46 +02:00
772d68a34d Response sender is not needed anymore, private channels are now better handled 2014-09-18 07:57:06 +02:00
5e202063d4 Improve stability: catch all kind of exception in main bot loop 2014-09-18 06:26:50 +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
8c52f75b6a Prepare hooks to be used for other things than Message 2014-09-11 21:20:56 +02:00
877041bb12 Message parsing is now a server part 2014-09-11 19:29:57 +02:00
5f86b35cf0 Fix context reload feature 2014-09-09 07:02:41 +02:00
28c86d461a Restore !help feature as standard command hook 2014-09-09 06:59:57 +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
038590c659 Server disconnection works properly 2014-08-31 11:07:23 +02:00
dcce36eb7c Implement more and next features as module instead of part of core 2014-08-31 01:55:28 +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
0e26450d8f Rework CTCP responses and implement FINGER, PING and SOURCE 2014-08-29 12:25:25 +02:00
8d1919a36b Backport part of v4 Bot class 2014-08-29 12:03:41 +02:00
039c578987 New builtin IRC command: !next, similar to !more 2014-08-28 12:43:22 +02:00
97143a0182 Centralize configuration: there is no more XML files for module, juste one bot configuration file, also containing module configuration; fixes #56 2014-08-28 12:29:58 +02:00
fdd4847f71 In config: nick, owner and realname can be overwrited in server node 2014-08-28 12:10:51 +02:00
cd7843e16e Replace help_tiny by module docstring 2014-08-28 01:39:31 +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
94a9a9a30b Switch to v3.4 branch 2014-08-13 15:53:55 +02:00
1464f92c87 More explicit module unloading messages 2014-08-12 17:51:37 +02:00
99c6a5c271 Start a message by nemubot: is equivalent to talk in private message 2014-08-07 19:15:14 +02:00
b34a73cea6 Fix exception on empty message 2014-08-04 02:32:29 +02:00
fabdbc7c47 v3.3 now considered stable 2014-07-17 12:57:30 +02:00
bead2e31b2 Fix stacktrace on ACTION CTCP 2014-06-30 10:59:56 +02:00
d56f873fd4 New feature: can now connect to SSL servers (using TLS v1) 2014-05-01 02:34:43 +02:00
Némunaire
14b9a82a2b Issue #12: Remove registered events at unload 2012-12-31 20:17:58 +01:00
Némunaire
b477d5b8b7 Improve bots network: when two connected bots are on the same channel, only one answers to the user 2012-11-08 14:54:05 +01:00
Némunaire
92533d934b Add a way to send a message to network bot attached to a server 2012-11-08 13:23:58 +01:00
Némunaire
02bebb663c Fix various error on DCC connection and post treated messages 2012-11-06 04:14:55 +01:00
Némunaire
c6d5d88723 Apply v3.3 changes on various modules 2012-11-04 15:32:39 +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
21f2af1cad Alias module: add !alias to explain register alias, !unalias to remove alias; variables are now replaced in the Response
Variables are words starting by $. It is possible to escape a variable by prefixing the $ by a \
2012-11-04 04:03:11 +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
6c1fb079de Avoid infinite events when system lags 2012-10-15 02:46:23 +02:00
Némunaire
5d2d218708 Messages queue is now use to execute events 2012-10-04 13:36:25 +02:00
Némunaire
af3ec01734 ID are keept when an event is not finished 2012-09-02 19:17:43 +02:00
Némunaire
387ecc7d5c Fix events (the first event was always skiped) 2012-09-02 19:17:42 +02:00
Némunaire
fc396ef313 Unload a module now unsubscribe auto-registered hooks 2012-09-02 19:17:42 +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
5c5e0fbe8f When adding event, an ID is generated to found the event later. Can delete event. 2012-08-31 01:36:23 +02:00
Némunaire
ab6334127f Introduce networkbot and botcaps 2012-08-28 00:27:02 +02:00