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
38aea5dd37
Lock the data directory to avoid concurent modification of XML files
2015-01-05 02:49:21 +01:00
06c85289e0
Don't import some nemubot module automatically
2015-01-05 02:49:06 +01:00
7c7b63634b
[wip] in modules, changes import to reflect new directory structure
2015-01-05 02:49:05 +01:00
5a6230d844
[wip] changes import to reflect new directory structure
2015-01-05 02:48:49 +01:00
41f7dc2456
[wip] move files in order to have a clean directory structure
2015-01-04 15:14:35 +01:00
8aebeb6346
[cmd_server] rework due to previous prompt rework
2015-01-04 15:14:16 +01:00
fd6d9288f7
Rework prompt: add exception classes for errors and reload/quit
2015-01-02 16:17:44 +01:00
0d21b1fa2c
Indicate full version in UserAgent HTTP header
2015-01-02 10:15:30 +01:00
1a04a107ac
web tools: handle no route to host error
2015-01-02 08:01:18 +01:00
116c81f5b2
Use ipaddress module to store IP
2015-01-02 07:57:18 +01:00
0d4130b391
[events] ids don't have to be saved
2014-12-31 09:46:15 +01:00
17bbb000ad
[networking] Oops, watchWebsite wasn't working; fixed
2014-12-29 07:50:27 +01:00
466ec31be7
[nextstop] Dusting
2014-12-29 07:50:18 +01:00
192a26b5ea
Update README: add requirements part
2014-12-29 07:32:15 +01:00
7805f27458
Modify importer to work with Python 3.3 and above
2014-12-29 07:30:25 +01:00
463faed697
[web] new maximal downloaded size: 512k (old: 200k)
2014-12-20 10:27:13 +01:00
c691450111
[tpb] Give working magnet link
2014-12-20 07:28:12 +01:00
bf266dd21f
[ycc] Dusting
2014-12-18 13:02:19 +01:00
d14fec4cec
Modules: global dusting: call getJSON instead of making raw calls to urllib
2014-12-18 12:52:39 +01:00