Commit Graph

687 Commits

Author SHA1 Message Date
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
66ec7cb7ca [tpb] More usefull information 2014-12-18 11:54:35 +01:00
6b6ff0cb56 New tool to convert some content to human readable strings 2014-12-18 11:52:43 +01:00
99106d26a9 Fix #70: new module tpb using an API with a TPB dump 2014-12-17 18:09:19 +01:00
a7b166498c xmlparser: don't manage errors at this level 2014-12-17 17:58:30 +01:00
0b06261d18 tools/web: allow empty Content-Type 2014-12-17 17:50:43 +01:00
dd285b67d1 fix netloc != hostname 2014-12-17 17:49:57 +01:00
a1c086a807 [networking] use getJSON 2014-12-17 16:00:06 +01:00
86fdaa4dd9 web: fix new usage of getURLContent in getJSON 2014-12-17 15:53:49 +01:00
02acad5968 argparse: -m to load modules 2014-12-17 13:07:45 +01:00
22a2ba76c4 argparse: add --no-connect option to disable autoconnect rules in configuration files 2014-12-17 12:53:47 +01:00