Commit Graph

66 Commits

Author SHA1 Message Date
22a2ba76c4 argparse: add --no-connect option to disable autoconnect rules in configuration files 2014-12-17 12:53:47 +01:00
3265006adb argparse: add verbosity level 2014-12-17 12:43:08 +01:00
65aa371fdc Use argparse to parse CLI argument 2014-12-17 12:37:14 +01:00
d6ea5736a5 Move xmlparser to tools 2014-12-17 12:06:28 +01:00
fd5fbf6c6c Fix module load and reload 2014-11-14 15:38:48 +01:00
e17996d858 PEP8 clean 2014-11-10 13:02:13 +01:00
4776fbe931 Modify context reload for better maintainability 2014-10-09 07:39:38 +02:00
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
dfde4c5f49 New message processing 2014-10-07 00:21:14 +02:00
c5a69f1bd0 Internal timezone is now UTC 2014-10-01 00:14:27 +02:00
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