Commit Graph

342 Commits

Author SHA1 Message Date
Némunaire
ab6334127f Introduce networkbot and botcaps 2012-08-28 00:27:02 +02:00
Némunaire
52995e3f0e Fix DCC connexion 2012-08-27 23:45:57 +02:00
Némunaire
64d4997605 Separate treat_msg function in DCC, in ordre to overwrite it 2012-08-26 19:12:26 +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
4892f8d9fa Comment DCC class 2012-08-26 17:36:50 +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
Némunaire
c92160f041 Convert wrapper to V3.2 2012-08-23 03:17:23 +02:00
Némunaire
9939981dae Convert birthday module to V3.2 and fix some bugs 2012-08-23 03:09:42 +02:00
Némunaire
59f18b7974 Events module: fix response to !existing_event 2012-08-23 02:47:08 +02:00
Némunaire
a1c170f88a Convert alias module to V3.2 2012-08-23 01:54:52 +02:00
Némunaire
926abd8806 Add pretreatment hooks 2012-08-23 01:54:39 +02:00
Némunaire
68c88fc864 Fix message hooks 2012-08-22 21:52:49 +02:00
Némunaire
db7bb4ad3a Convert YCC module to V3.2 2012-08-22 21:19:52 +02:00
Némunaire
7e20368c10 Hook factorisation ; add new hooks : default (same comportement has previous version) and one hook before any parsing
When calling a hook, passed parameters change according to associated data variable
2012-08-22 21:09:20 +02:00
Némunaire
9ec07790ef Convert nemuspeak to V3.2 2012-08-19 10:29:51 +02:00
Némunaire
06145c732a Convert to V3.2 translation module 2012-08-16 05:50:49 +02:00
Némunaire
9b5c1d2e60 Covert sleepytime module to V3.2 2012-08-16 05:42:54 +02:00
Némunaire
3692a167cc Fix and convert to nemubot V3.2 the synomyms module 2012-08-16 05:24:56 +02:00
Némunaire
ba69d981dc Allow modules without configuration 2012-08-16 05:23:45 +02:00
Némunaire
a2c94aef01 Add a debug builtin that enable debug mode for a module 2012-08-16 04:54:34 +02:00
Némunaire
6e06b616fd Stop the event timer before quit 2012-08-16 04:53:46 +02:00
Némunaire
e7f9d329cc Convert the events module to v3.2 2012-08-16 04:42:53 +02:00
Némunaire
603baa8581 Simplify the listen function creation and management 2012-08-16 04:33:07 +02:00
Némunaire
3492cf302f First module ready for v3.2: velib 2012-08-14 06:57:19 +02:00
Némunaire
69f375e9f1 Add a way to listen a module function for changes, ... 2012-08-14 06:56:28 +02:00
Némunaire
433f0977bf Pass context as argument to load for modules 2012-08-14 06:53:52 +02:00
Némunaire
fe1fefecc0 Add a module that extend prompt command with server feature (connect, join, ..) 2012-08-14 05:57:13 +02:00
Némunaire
e4d4e68c45 Introduce nemubot v3.2
- New licence: AGPL3 instead of GPL3
	- Import is now based on finder and loader instead of sys.path
	- Modules used hooks to treat message instead of treating all messages
	- Remove a lot of builtins from the prompt
	- Prompt: ^C and ^D have now correct feature (nothing and exit)
2012-08-14 05:51:55 +02:00
Némunaire
a2b273d09b Define a timeout for all http requests 2012-07-27 18:18:13 +02:00
Némunaire
6d26a13752 Module DDG: add Wikipedia API 2012-07-24 17:56:20 +02:00
Némunaire
7f539c926b nemuspeak: factoring code with nemubot 2012-07-24 02:34:01 +02:00
Némunaire
8230ed39e9 Add a method to change a channel topic 2012-07-23 19:20:46 +02:00
Némunaire
e9ae971621 Fix message decoding 2012-07-23 18:08:11 +02:00
Némunaire
14a963871f Changing sender to nick in modules 2012-07-23 12:21:19 +02:00
Némunaire
93d623e241 Mistake in sample file 2012-07-23 12:21:19 +02:00
Némunaire
9e7442ade7 Fix last DCC errors 2012-07-23 12:21:19 +02:00
Némunaire
e4ea24bfa9 Based DCC connection state on realname instead of nickname and realname 2012-07-23 12:21:19 +02:00
Némunaire
336cab6b2a DCC class can now send files 2012-07-23 12:21:19 +02:00
Némunaire
9a6c1fbb7c In private message and DCC chat, nemubot don't require nemubot: 2012-07-23 12:21:19 +02:00
Némunaire
bc860ef837 Change nickname/realname/fullname usage: now sender var contains fullname (nick\!real) and is used for server sent 2012-07-23 12:20:49 +02:00
Némunaire
469053a529 Cleaning DCC class
Accept DCC CHAT CTCP request
Disconnect DCC connexions when disconnecting the server
2012-07-23 12:19:56 +02:00
Némunaire
9d4cdc4931 Better messages decoding 2012-07-23 12:19:55 +02:00
Némunaire
ef608c19e8 Working on DCC communication 2012-07-23 12:19:08 +02:00
Némunaire
ffb3d368d8 Parse commands TOPIC 2012-07-20 19:15:01 +02:00
Némunaire
f4d3c6a500 Fix bad parsing of JOIN command 2012-07-20 17:11:21 +02:00
Némunaire
05cf740151 New method send_msg_verified that checks the user is on the message destination channel 2012-07-20 03:24:51 +02:00
Némunaire
1f5127e921 Parse new commands: 332, 353, JOIN, MODE, NICK, PART, QUIT 2012-07-19 20:07:51 +02:00
Némunaire
f32e819242 QD module: fix alert when sending the answer without nemubot: 2012-07-19 02:19:17 +02:00
Némunaire
26ce52b068 Fix error when no help message is defined 2012-07-19 02:18:21 +02:00
Némunaire
611f96703c New module: sleepytime 2012-07-17 00:45:41 +02:00