Commit Graph

360 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