1
0
Fork 0
Commit Graph

19 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 45fe5b2156 Refactor configuration loading 2017-09-19 07:25:34 +02:00
nemunaire 7791f24423 modulecontext: use inheritance instead of conditional init 2017-07-16 21:17:48 +02:00
nemunaire 277d55d521 Add subparse method in context, that use server parser 2016-01-12 18:09:22 +01:00
nemunaire f47aa8c478 Load module data on first access 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 31d93734a6 Fixed empty module configuration 2015-11-18 19:58:46 +01:00
nemunaire f39a0eac56 Refactors hooks registration 2015-11-03 16:53:49 +01:00
nemunaire 60f7c6eea7 Place MessageTreater in context 2015-10-20 18:02:01 +02:00
nemunaire a4fd04c310 Remove print unhandled in daemon mode 2015-10-20 18:02:01 +02:00
nemunaire 68e357d037 Initialize an empty module configuration if it has any (sentinel value) 2015-10-13 16:23:35 +02:00
nemunaire ff2911dbd3 Add a subtreat method in modulecontext
This feature allows module to call the message treatment process on a crafted message
2015-10-07 18:22:01 +02:00
nemunaire 59aff52ce1 Change the behaviour of send_response in module 2015-09-28 12:45:11 +02:00
nemunaire f4a80e0fda New function in ModuleContext: call_hook 2015-06-24 20:05:54 +02:00
nemunaire 500e3a6e01 Compatibly with Python 3.4 2015-05-26 12:33:28 +02:00
nemunaire c8d495d508 Split messages class into multiple files 2015-05-25 16:44:27 +02:00
nemunaire 418ff4f519 Datastore: add a method to create a new empty tree 2015-05-25 16:44:26 +02:00
nemunaire e588c30044 Optimize imports 2015-05-25 16:44:16 +02:00
nemunaire 1f5364c387 Reduce importance of importer; new tiny context for each module, instead of having entire bot context 2015-02-11 18:11:57 +01:00