Commit Graph

410 Commits

Author SHA1 Message Date
c560e13f24 Rework XML parser: part 1
This is the first step of the parser refactoring: here we change
	the configuration, next step will change data saving.
2015-10-28 10:55:02 +01:00
59ea2e971b Refactor modules that used nemubot XML parser due to previous commit 2015-10-28 10:55:02 +01:00
2b96c32063 [ddg] Split the module in two: ddg for search and urbandict for urbandictionnary 2015-10-27 23:05:49 +01:00
Max
aca073faff [framalink] Fix framalink quoting; add @provider
!framalink now allows the provider to be specified using the @provider
parameter.
2015-10-27 23:05:49 +01:00
Max
7ce9b2bb4c [framalink] Add error handling (invalid URLs) 2015-10-27 23:05:49 +01:00
089823d884 [rnd] New command to choice between cmd 2015-10-20 18:02:02 +02:00
dbca402fe7 [alias] Use title in response 2015-10-19 17:15:42 +02:00
55e6550cb1 tools/web: factorize getNormalizedURL 2015-10-13 16:23:55 +02:00
76ec0d26b4 Modules: avoid unhandled exception in all_post 2015-10-13 16:23:51 +02:00
aa4050f6cd [framalink] some refactor 2015-10-13 16:23:33 +02:00
2cd8f70cdc [networking] Dusting module 2015-10-12 13:37:53 +02:00
eb95480c8f [news] normalize URL before performing a join 2015-10-12 13:10:58 +02:00
20105e7d98 tools/web: add a URL normalizer function 2015-10-12 13:10:58 +02:00
db70974504 [alias] Fix old issues 2015-10-08 18:25:57 +02:00
Max
ece42ffe47 [urlshortner] Add framalink support 2015-10-09 01:47:42 +01:00
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
57ba0d5db9 [networking] Fix traceurl: trace all URL even if an error occurs 2015-10-03 16:47:20 +02:00
c812fd8c16 As the char ':' is not valid in URL, don't expect it 2015-10-03 16:47:08 +02:00
ff605756ff [news] Add support for RSS feeds and catch ExpatError when trying to parse a bad URL 2015-09-28 12:59:00 +02:00
ee1910806c [news] Introduce new module News: it fetchs atom feed from a website and display it 2015-09-28 11:53:55 +02:00
a4f4bb799c Extract atom from networking module to core 2015-09-28 11:53:29 +02:00
471feca8fb [networking.atom] use Datetime to store internal dates and can get an ordered list of elements 2015-09-28 11:53:11 +02:00
bbf5acafbb [mediawiki] fix OpenSearch: can have empty description 2015-09-25 15:48:09 +02:00
7a1ad6430c [whois] update module
* change intra-bocal URL to fix CertificateError
	* fix 23.tf trombi URL
	* add a catch when trying trombi URL
2015-09-24 11:29:51 +02:00
4f7d89a3a1 [ycc] Dusting module, now named tinyurl 2015-09-24 11:29:50 +02:00
be776405e3 Dusting URL stacking modules: fixing error when using channel list as response 2015-09-24 11:29:50 +02:00
35ba5c03c9 [more] Allow method chaining 2015-09-24 11:29:49 +02:00
Max
8018369800 Add global tracking hook 2015-09-24 11:29:48 +02:00
d74a9067c0 [bonneannee] Command for the nextyear doesn't require argument anymore 2015-09-24 11:29:48 +02:00
Max
e915c4930c Fix #2 ; Add chronopost and colis privé support 2015-09-24 11:29:47 +02:00
ac3ed0d492 [alias] huge refactoring 2015-09-24 11:29:44 +02:00
ec9481e65b [networking] Add !title command to display the title of a page 2015-09-24 11:29:43 +02:00
969210a723 [networking] Avoid exception when port is not defined on socket error 2015-09-24 11:29:37 +02:00
6147eef19b [mediawiki] Help user find the article he want to read if it doesn't exist 2015-09-23 10:57:25 +02:00
67cd66b922 [mediawiki] Handle # 2015-09-23 10:57:25 +02:00
Max
710896f711 [suivi] Now using nemubot.tools.web for queries 2015-08-26 12:18:24 +02:00
Max
5b039edb62 Updated tracking module to support colissimo 2015-08-26 12:18:24 +02:00
d1c28fc4a3 [networking] New function to get a list of watched URL 2015-08-26 12:18:24 +02:00
3c15d35fca [alias] Dusting module 2015-08-26 12:18:21 +02:00
4d51bc1fda Dusting modules 2015-08-26 12:18:20 +02:00
4bc8bc3c12 Dusting modules 2015-08-26 12:17:22 +02:00
Max
b5e4acdb70 [jsonbot] replacing spaces with %20 in queried url 2015-08-26 12:17:22 +02:00
Max
6e226f0fb3 [nextstop] Updated nextstop with destination option 2015-08-26 12:17:22 +02:00
b75c54419f [ddg] Dusting + !safeoff handling 2015-08-26 12:17:21 +02:00
787a5fd3da Web tool raise more IRCException 2015-08-26 12:17:21 +02:00
6415e4a697 [networking] Handle ConnectionError exceptions 2015-08-26 12:17:20 +02:00
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
Max
dc681fdc35 [jsonbot] now taking all cmd args 2015-08-26 12:17:20 +02:00
Max
3cad591086 [imdb] Fixed grammar 2015-08-26 12:17:19 +02:00
Max
ea05b3014c [jsonbot] now supports json lists 2015-08-26 12:17:19 +02:00
0c960e984a [networking] fix watch pages that aren't text/html 2015-08-26 12:17:19 +02:00
487cb13e14 [weather] fix some hypothetical errors 2015-08-26 12:17:18 +02:00
d90c44de49 [nextstop] Update submodule 2015-08-26 12:17:18 +02:00
b44464d255 [networking] Log error when unable to restart a watch 2015-08-26 12:17:17 +02:00
Max
0e76a6ed2a Added json parsing module 2015-06-24 20:06:00 +02:00
Ivan Delalande
8a7ca25d6f Change !yt to use youtube-dl
youtube-dl does a good job at extracting all the information from hundreds of
website, presenting it in a standardized way and staying up-to-date.

Signed-off-by: Ivan Delalande <colona@ycc.fr>
2015-06-24 20:05:59 +02:00
5f29fe8167 [alias] Allow anyone to remove an alias 2015-06-24 20:05:59 +02:00
889b129da3 [alias] Fix #86 2015-06-24 20:05:58 +02:00
ed6da06271 [alias] Fix #83 2015-06-24 20:05:58 +02:00
cacf216e36 [alias] Fix #85 2015-06-24 20:05:57 +02:00
Max
ef73516ceb Updated submodule 2015-06-24 20:05:57 +02:00
Max
73082e4109 Updated nextstop module 2015-06-24 20:05:57 +02:00
3ac151f888 [books] Fix API calls 2015-06-24 20:05:56 +02:00
c0e6b26b0c [alias] Fix variable replacement in aliases 2015-06-24 20:05:55 +02:00
859b32abb7 [ctfs] Improve module 2015-06-24 20:05:55 +02:00
381cf13432 [networking] Allow anyone to remove a watch 2015-06-24 20:05:54 +02:00
Bob
f786dd1d43 ctfs plugins 2015-06-24 20:05:54 +02:00
f4a80e0fda New function in ModuleContext: call_hook 2015-06-24 20:05:54 +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
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
4be9f78104 [whois] New module from nbr23 bot 2015-06-03 15:30:17 +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
f19dd81a0d Update TODO item 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
3d1a8ff2ba [mediawiki] improve output 2015-05-25 16:44:25 +02:00
e588c30044 Optimize imports 2015-05-25 16:44:16 +02: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
e225f3b8d7 import ModuleState when needed 2015-01-05 10:18:40 +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
8aebeb6346 [cmd_server] rework due to previous prompt rework 2015-01-04 15:14:16 +01:00
0d21b1fa2c Indicate full version in UserAgent HTTP header 2015-01-02 10:15:30 +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