Commit Graph

163 Commits

Author SHA1 Message Date
Némunaire
387ecc7d5c Fix events (the first event was always skiped) 2012-09-02 19:17:42 +02:00
Némunaire
d394ff5784 Add an offset field to event 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
Number 23
4055025160 Updated nextstop version submodule 2012-09-02 16:49:22 +02:00
Number 23
bfeaebc006 Fixed wrong submodule 2012-09-02 16:41:19 +02:00
Number 23
3d9fa8a565 Now the public transportation module uses Response 2012-09-01 00:07:58 +02:00
Number 23
aef010e466 Added !ratp module
Added a new module using external repo to get informations about the
next stops of public transportations in Paris.
2012-08-31 23:46:42 +02:00
Némunaire
89206d9a91 Due to last commit, changes modules to follow new hooks declaration 2012-08-31 05:23:21 +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
e881fc8ba5 Convert MCQ module to V3.2 2012-08-31 03:25:35 +02:00
Némunaire
2f7592091b Convert DDG/WFA/Wiki module to nemubot 3.2 2012-08-31 03:02:08 +02:00
Némunaire
358deb99f0 Add a count attribute to Response, which show the number of left results 2012-08-31 02:58:06 +02:00
Némunaire
637861b3ae Already converted modules now use new Response class 2012-08-31 01:54:57 +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
2e3ad0ba35 Check instance type of response in ordre to show only true Response 2012-08-31 01:34:58 +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
99e91af2cb Automatically load Response and ModuleState in each nemubot modules 2012-08-30 18:26:36 +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
c3c0b216d4 Fix error message when treat a message 2012-08-29 18:15:37 +02:00
Némunaire
f5c0913bf0 Fix nemuspeak to use new message API 2012-08-28 12:35:06 +02:00
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