1
0
Fork 0
Commit Graph

51 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 fde459c3ff Remove legacy msg.nick 2017-09-19 07:25:33 +02:00
nemunaire 679f50b730 alias: fix lookup replacement when empty list 2017-07-14 12:30:21 +02:00
nemunaire 2334bc502a alias: add syntax to handle default variable replacement 2017-07-14 12:30:21 +02:00
nemunaire c3f2c89c7c alias: only perform alias expansion on Command 2017-07-14 12:30:15 +02:00
nemunaire abf810209e [alias] Fix empty error message 2016-04-18 17:21:51 +02:00
nemunaire a05821620d [alias] Allow arguments only on Command 2016-04-08 12:55:23 +02:00
nemunaire 09e3b082c1 [alias] Give near alias in case of error 2016-01-24 18:44:28 +01:00
nemunaire d028afd09e [alias] use subparse method 2016-01-19 14:50:47 +01:00
nemunaire bd2eff83b7 [alias] Use alias command to display and define new aliases 2016-01-15 18:56:56 +01:00
nemunaire 6fc6561186 [alias] Fix parsing error when creating a (not allowed) spaced alias 2015-12-21 14:50:47 +01:00
nemunaire 43c42e1397 Rework hook managment and add some tests 2015-11-18 20:21:05 +01:00
nemunaire 7ae7e381c3 [alias] Forward command keywords 2015-11-18 19:58:03 +01:00
nemunaire f39a0eac56 Refactors hooks registration 2015-11-03 16:53:49 +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 ac33ceb579 Remove dead or useless code 2015-11-03 07:20:52 +01:00
nemunaire dbca402fe7 [alias] Use title in response 2015-10-19 17:15:42 +02:00
nemunaire db70974504 [alias] Fix old issues 2015-10-08 18:25:57 +02:00
nemunaire a6a10b78d1 Fill help in some modules 2015-10-07 18:22:01 +02:00
Max e1310516fa [alias] Fix argument consumption, allow multiple usage of same var 2015-10-07 00:14:37 +01:00
Max 461c62f596 Fix alias ranges
Args are now consumed when in ranges, and ranges with 1 bound now work
2015-10-06 23:23:42 +01:00
nemunaire ac3ed0d492 [alias] huge refactoring 2015-09-24 11:29:44 +02:00
nemunaire 3c15d35fca [alias] Dusting module 2015-08-26 12:18:21 +02:00
nemunaire 3b8195b81b [alias] Variable replacement can operate on slice list.
In addition to ${1}, ${2}, ... you can now use slice: ${1:5} or ${1:}.
	The effect is to join arguments with a space character.
2015-08-26 12:17:20 +02:00
nemunaire 5f29fe8167 [alias] Allow anyone to remove an alias 2015-06-24 20:05:59 +02:00
nemunaire 889b129da3 [alias] Fix #86 2015-06-24 20:05:58 +02:00
nemunaire ed6da06271 [alias] Fix #83 2015-06-24 20:05:58 +02:00
nemunaire cacf216e36 [alias] Fix #85 2015-06-24 20:05:57 +02:00
nemunaire c0e6b26b0c [alias] Fix variable replacement in aliases 2015-06-24 20:05:55 +02:00
nemunaire c8d495d508 Split messages class into multiple files 2015-05-25 16:44:27 +02:00
nemunaire 28005e5654 Convert modules to new importer 2015-02-11 18:12:39 +01:00
nemunaire e225f3b8d7 import ModuleState when needed 2015-01-05 10:18:40 +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 2dfe1f0e9a PEP8 clean 2014-11-13 15:52:04 +01:00
nemunaire e1aff6c4cf channel or nick required when creating a Response 2014-11-13 14:51:18 +01:00
nemunaire 77b897a1e3 Fix in modules: is_owner is now frm_owner 2014-11-03 15:43:39 +01:00
nemunaire dfde4c5f49 New message processing 2014-10-07 00:21:14 +02:00
nemunaire c5a69f1bd0 Internal timezone is now UTC 2014-10-01 00:14:27 +02: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 edbfac2943 Alias module: avoid infinite recursion if an alias substitute by the same command 2014-09-15 07:55:35 +02:00
nemunaire 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
nemunaire 0a16321259 (wip) reworking of the Message class; backported from v4 2014-08-29 17:12:12 +02:00
nemunaire 4b9a6305d4 Legacy hooks now need to be explicitely declared 2014-08-28 18:05:21 +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 fe0f120038 Using newly added Python decorator for hook registration 2014-08-13 15:14:41 +02:00
nemunaire 22b6392cc8 Alias module: can create of aliases; fixes #27 2014-08-08 19:07:55 +02:00
nemunaire b34a73cea6 Fix exception on empty message 2014-08-04 02:32:29 +02:00