1
0
Fork 0
Commit Graph

29 Commits

Author SHA1 Message Date
nemunaire f60de818f2 Virtualy move all nemubot modules into nemubot.module.* hierarchy, to avoid conflict with system/vendor modules 2018-01-14 19:18:58 +01:00
nemunaire f39a0eac56 Refactors hooks registration 2015-11-03 16:53:49 +01:00
nemunaire 70b52d5567 [translate] Refactor module, use keywords 2015-11-03 07:22:55 +01:00
nemunaire 8b4f08c5bd Replace IRCException by IMException, as nemubot is not only built for IRC 2015-11-03 07:21:06 +01:00
nemunaire c560e13f24 Rework XML parser: part 1
This is the first step of the parser refactoring: here we change
	the configuration, next step will change data saving.
2015-10-28 10:55:02 +01:00
nemunaire d95de8c195 In some modules, raise ImportError to avoid module loading on errors 2015-06-24 20:05:53 +02:00
nemunaire 002f2463a3 Extract hooks 2015-05-25 16:44:28 +02:00
nemunaire 28005e5654 Convert modules to new importer 2015-02-11 18:12:39 +01:00
nemunaire 06c85289e0 Don't import some nemubot module automatically 2015-01-05 02:49:06 +01:00
nemunaire 7c7b63634b [wip] in modules, changes import to reflect new directory structure 2015-01-05 02:49:05 +01:00
nemunaire d14fec4cec Modules: global dusting: call getJSON instead of making raw calls to urllib 2014-12-18 12:52:39 +01:00
nemunaire d6ea5736a5 Move xmlparser to tools 2014-12-17 12:06:28 +01:00
nemunaire 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
nemunaire 772d68a34d Response sender is not needed anymore, private channels are now better handled 2014-09-18 07:57:06 +02:00
nemunaire 8c52f75b6a Prepare hooks to be used for other things than Message 2014-09-11 21:20:56 +02:00
nemunaire cd7843e16e Replace help_tiny by module docstring 2014-08-28 01:39:31 +02:00
nemunaire 94a9a9a30b Switch to v3.4 branch 2014-08-13 15:53:55 +02:00
nemunaire 1e139b3afa Translate module: fix order of meanings 2014-08-08 18:22:14 +02:00
nemunaire 7a55840aeb Translate module: add indication of more available translation 2014-08-06 16:10:04 +02:00
nemunaire eccf4ddf7a Translation module: allow only translation to or from english (due to wordreference restrinctions) 2014-07-25 18:10:23 +02:00
nemunaire 495c1f0efa Refactor translation module 2014-07-25 17:55:49 +02:00
Némunaire b251b3d852 Update translate module for v3.3 2012-11-04 15:58:42 +01:00
Némunaire bbfd34fe7b New global function: add_hook: add a hook in the current context directly associated to the current module 2012-10-15 02:20:01 +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 637861b3ae Already converted modules now use new Response class 2012-08-31 01:54:57 +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 06145c732a Convert to V3.2 translation module 2012-08-16 05:50:49 +02:00
Némunaire a2b273d09b Define a timeout for all http requests 2012-07-27 18:18:13 +02:00
Némunaire d37aeeda4c New module translate uses wordreference 2012-06-30 20:24:04 +02:00