Commit Graph

566 Commits

Author SHA1 Message Date
c86031ea32 Can use print with non string 2015-06-24 20:05:53 +02:00
d95de8c195 In some modules, raise ImportError to avoid module loading on errors 2015-06-24 20:05:53 +02:00
2e55ba5671 [ddg/wolframalpha] extract wolframalpha module and dusting 2015-06-03 19:39:16 +02:00
c1858fff3a Catch exception during module loading: just skip the module registration 2015-06-03 18:01:50 +02:00
91688875d4 [github] can use #ID as ID when looking for a particular issue 2015-06-03 17:20:32 +02:00
19ad2d7a32 [github] use msg.args instead of deprecated msg.cmds; fixes #80 2015-06-03 17:11:25 +02:00
04023e945e Fix module parseresponse when more.Response is used as response 2015-06-03 17:00:28 +02:00
8d91ad31fb [whois] Module try to find a recent photo 2015-06-03 15:30:28 +02:00
889e376254 [whois] Module try to find a recent photo 2015-06-03 15:30:27 +02:00
63a6654331 [yt] Improve module: track last video URL 2015-06-03 15:30:27 +02:00
Bob
b3274c0dc7 New module youtube-title: that retrieve title from a youtube link 2015-06-03 15:30:27 +02:00
fc500bc853 Tools.Web: fix charset detection on webpages 2015-06-03 15:30:26 +02:00
4be9f78104 [whois] New module from nbr23 bot 2015-06-03 15:30:17 +02:00
500e3a6e01 Compatibly with Python 3.4 2015-05-26 12:33:28 +02:00
fc1bc135df Importer: now compatible with Python 3.4 2015-05-26 12:33:16 +02:00
Maxence
481b1974c3 [laposte] handling no arguments 2015-05-25 16:44:32 +02:00
Maxence
9120cf56c2 Updated SAP transaction lookup module 2015-05-25 16:44:32 +02:00
Maxence
7d051f7b35 Added a La Poste tracking module 2015-05-25 16:44:31 +02:00
9c78e9df1d [cve] Merge multiple lines 2015-05-25 16:44:31 +02:00
65b5f6b056 [mediawiki] Improve parsing of recursive templates 2015-05-25 16:44:31 +02:00
40ff3d6eda Socket connection can now be made in IPv6 2015-05-25 16:44:30 +02:00
0fb58f0ff2 Use expat parser instead of SAX to parse XML files 2015-05-25 16:44:30 +02:00
0f2f14ddda XML datastore: new directory locking procedure
This new procedure use fcntl functions to lock the file during the
	life of the datastore instance.

	Now, locked directory error is not displayed if if nemubot is not
	correctly closed.
2015-05-25 16:44:30 +02:00
f19dd81a0d Update TODO item 2015-05-25 16:44:29 +02:00
2644d1bc02 [xmlparser] Fix date extraction when using old format 2015-05-25 16:44:29 +02:00
8bcceb641f Add a logger to module context on init 2015-05-25 16:44:29 +02:00
48ebc1b1f5 [speak] Avoid saying multiple identical message 2015-05-25 16:44:28 +02:00
002f2463a3 Extract hooks 2015-05-25 16:44:28 +02:00
c8d495d508 Split messages class into multiple files 2015-05-25 16:44:27 +02:00
57bbca4e7a Raise an exception when unable to open datastore, instead of returning False 2015-05-25 16:44:27 +02:00
1b9395ca37 Doc 2015-05-25 16:44:27 +02:00
418ff4f519 Datastore: add a method to create a new empty tree 2015-05-25 16:44:26 +02:00
4d7d1ccab2 Add unittest for IRCMessage 2015-05-25 16:44:26 +02:00
3d1a8ff2ba [mediawiki] improve output 2015-05-25 16:44:25 +02:00
c984493c79 Place events to a separate directory 2015-05-25 16:44:25 +02:00
06bc0a7693 IRC: allow empty host as ZNC seems to send empty one sometimes 2015-05-25 16:44:25 +02:00
806ff1d4a0 Move main code to __main__.py 2015-05-25 16:44:24 +02:00
e588c30044 Optimize imports 2015-05-25 16:44:16 +02:00
2e7a4ad132 Save timestamp in UTC format 2015-02-18 01:48:02 +01:00
dacb618069 Increasing version number due to significant changes 2015-02-13 12:58:45 +01:00
46268cb2cf [networking] Fix variable name conflict 2015-02-13 12:56:29 +01:00
28005e5654 Convert modules to new importer 2015-02-11 18:12:39 +01:00
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
bafc14bd79 add_server can now be used before context start 2015-02-10 00:42:38 +01:00
f66d724d40 Introducing data stores 2015-02-10 00:30:04 +01:00
e7fd7c5ec4 Arrange IRC server construction
reorder constructor argument to a more logical order
	on_connect can be a simple string or a callable
2015-02-09 23:07:30 +01:00
55b1eb5075 Allow data_path to be None (don't load or save data) 2015-02-09 17:31:32 +01:00
e7d37991b3 Allow print and print_debug with multiple arguments 2015-01-22 17:18:49 +01:00
e225f3b8d7 import ModuleState when needed 2015-01-05 10:18:40 +01:00
2b9c810e88 Fix quit 2015-01-05 03:07:41 +01:00