Commit Graph

60 Commits

Author SHA1 Message Date
fa81fa5814 Handle channel creation in IRC server 2014-09-15 00:52:19 +02:00
7dc3b55c34 Parse most of IRC messages in server part instead of core 2014-09-13 23:50:32 +02:00
cccee20cdf Pick from v4 message tag parser 2014-09-08 02:26:18 +02:00
ee14682c4f extractDate function is now in a separate Python module 2014-09-08 02:25:26 +02:00
04bde60482 Fix message decoding: not all parameters was decoded 2014-09-08 01:55:36 +02:00
c13173e62c Handle :***!znc@znc.in 2014-09-08 00:21:10 +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
28c1ad088b Move countdown to a separate module in tools 2014-08-29 17:13:28 +02:00
0a16321259 (wip) reworking of the Message class; backported from v4 2014-08-29 17:12:12 +02:00
2100afed66 Remove 0x01 of CTCP messages only one time, even if parse_content is called multiple time 2014-08-25 12:06:21 +02:00
d0b1336d07 Use a logger 2014-08-14 12:50:19 +02:00
85981b4d99 Remove dead code: credits 2014-08-13 17:04:11 +02:00
99c6a5c271 Start a message by nemubot: is equivalent to talk in private message 2014-08-07 19:15:14 +02: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
6c6a11b80c Fix DCC connections 2012-11-02 12:51:29 +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
d152ce71bd Fix !help 2012-09-02 19:17:43 +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
711cefe0c2 Use sender instead of nick in Response to allow sent by PM or over DCC, ... 2012-08-31 01:34:07 +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
52995e3f0e Fix DCC connexion 2012-08-27 23:45:57 +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
926abd8806 Add pretreatment hooks 2012-08-23 01:54:39 +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
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
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
26ce52b068 Fix error when no help message is defined 2012-07-19 02:18:21 +02:00
Némunaire
79251393ff Fix privmsg message split on : 2012-07-10 12:12:33 +02:00
Némunaire
3206a230d2 Use the old behavior when shlex throw an exception 2012-06-30 18:41:38 +02:00
Némunaire
0f502f5b22 Use shlex instead of split to split command passed to nemubot 2012-06-29 01:16:06 +02:00
Némunaire
df4caf2e74 Add channel verification before read and parse a message 2012-06-19 21:40:59 +02:00
Némunaire
5a81fa9822 Remove ban support from message, separate credits into another file 2012-06-16 22:48:43 +02:00
Némunaire
25b2634ea3 Module_state done: global datas management
newnemubot replaces old one
2012-05-30 11:58:27 +02:00
Némunaire
684cecd137 Start ModuleStatesFile and ModuleState class 2012-05-23 12:29:36 +02:00
Némunaire
1bb3617049 Add join and part built-ins
Nemubot kernel working
2012-05-21 19:08:41 +02:00
Némunaire
716fa5675a Start reworking message.py
The reset command now reload server and message
2012-05-21 18:34:43 +02:00