Commit Graph

489 Commits

Author SHA1 Message Date
Max
17c29e386c Added imdb id support as a fallback to imdb title checkout feature. 2014-08-18 17:49:37 +02:00
0a96627d6a Weather module use mapquest module to found city location 2014-08-16 01:26:45 +02:00
46c8048b53 New mapquest module: can geocode (will help #45) 2014-08-16 01:26:05 +02:00
94a9a9a30b Switch to v3.4 branch 2014-08-13 15:53:55 +02:00
ef50f6a1c9 Birthday module: fix regexp string used 2014-08-13 15:25:29 +02:00
fe0f120038 Using newly added Python decorator for hook registration 2014-08-13 15:14:41 +02:00
ccff1c8b1e Birthday module: dusting 2014-08-11 14:55:25 +02:00
3ae01da380 Events module: dusting 2014-08-08 19:45:41 +02:00
22b6392cc8 Alias module: can create of aliases; fixes #27 2014-08-08 19:07:55 +02:00
1e139b3afa Translate module: fix order of meanings 2014-08-08 18:22:14 +02:00
c15127feb8 WatchWebsite module: dusting & fix unwatch authorizations 2014-08-06 16:20:51 +02:00
d985b71373 Rnd module: fix random choice between 0 possibility 2014-08-06 16:10:10 +02:00
7a55840aeb Translate module: add indication of more available translation 2014-08-06 16:10:04 +02:00
b34a73cea6 Fix exception on empty message 2014-08-04 02:32:29 +02:00
eccf4ddf7a Translation module: allow only translation to or from english (due to wordreference restrinctions) 2014-07-25 18:10:23 +02:00
5bec50744c Dusting some modules 2014-07-25 18:02:30 +02:00
495c1f0efa Refactor translation module 2014-07-25 17:55:49 +02:00
1a3912cc4f YCC module: dusting & anchors are correctly passed; fixes #59 2014-07-25 16:38:01 +02:00
d16f57f8d5 Refresh old code and add antonyme search 2014-07-25 15:12:37 +02:00
9b010544b5 Last PR modules: made some stabilization modifications 2014-07-25 12:53:07 +02:00
Max
be80e84323 Added SAP tcode lookup module 2014-07-24 05:32:07 +02:00
411d8cdc41 New prompt command: netstat that display information about connected networkbot 2014-07-23 16:32:42 +02:00
0036dcc285 Merge pull request #57 from Cccompany/v3.3
IMDB module (fixes  #11) + clean conjugaison module
2014-07-23 15:13:04 +02:00
Bertrand Cournaud
9eb3357148 Clean conjugaison module 2014-07-23 15:01:14 +02:00
Bertrand Cournaud
cd16bf8de9 Update conjugaison module by adding tens 2014-07-23 15:00:01 +02:00
Bertrand Cournaud
fee11aca42 Add imdb search module. \!imdb for info about a movie, \!imdbs to search a movie 2014-07-23 14:54:00 +02:00
82198160fd Worlcup module: add a timeout to urlopen to avoid infinite event 2014-07-17 12:04:34 +02:00
e5741ce1cb cmd_server: new command top to display bot load 2014-07-17 11:58:59 +02:00
Bertrand Cournaud
fde217dfde Define a dictonary for the tens list 2014-07-15 11:28:38 +02:00
Bertrand Cournaud
f6d4600df3 Add conjugaison module 2014-07-11 15:38:30 +02:00
509e85f55a SMS module: after reload, datas are not correctly typed 2014-07-10 23:38:00 +02:00
85edb9489d Choice module: append nick to avoid response stating with a command 2014-07-10 23:35:41 +02:00
75def22e57 W3C module: handle document wide messages 2014-07-09 15:19:32 +02:00
4e1fc0bca1 networking module: new feature curly; closes #41 2014-07-08 03:28:01 +02:00
95ceeeaec9 networking module: new feature: w3m to dump page instead of displaying raw HTML 2014-07-08 03:03:33 +02:00
fa77a3b323 Fix decoding of some pages 2014-07-08 02:44:20 +02:00
63f24c7b59 New module worldcup 2014-07-05 02:27:22 +02:00
971e3c882d Fix wiktionary display 2014-07-04 02:13:26 +02:00
3e014d4ebe Alias: add commands to list aliases and variables; fixes #49 2014-06-30 10:59:25 +02:00
05a148fef4 Web tool now handles HTTPS connections, content is decoded following given charset header 2014-06-24 18:21:19 +02:00
7575c41645 New module SMS using new Free Mobile API 2014-06-14 00:12:45 +02:00
31fe146c6a Fix !eventslist action, closes #44 2014-06-06 16:18:31 +02:00
6755b88229 Fix spell module with UTF-8 chars; fixes #21 2014-05-27 16:24:45 +02:00
f97bd593af Fix bug when no module configuration is present 2014-05-27 16:06:47 +02:00
be1beec980 Networking module: fix regression on traceurl command 2014-05-05 20:05:58 +02:00
8a3037d288 Weather module: add a command to display stored city coordinates; fixes #40 2014-05-05 18:45:13 +02:00
0cceb8226d Networking module: display error message when API returns error 2014-05-05 18:25:33 +02:00
02d0d91df9 Networking module: avoid error on unexiststant registrant, administrativeContact or technicalContact 2014-05-05 17:52:55 +02:00
34188c71a5 Networking module: Add W3C validator; fixes #4 2014-05-05 12:12:19 +02:00
d549d91aca Networking module: add Whois command; related to issue #4 2014-05-05 11:39:04 +02:00
14e2c59064 Weather module: localize time with timezone; fixes #35 2014-05-05 10:40:07 +02:00
da84a493ed Networking module: add user-agent on isup request; fixes #39 2014-05-05 09:55:47 +02:00
aa285b1393 Event module: remove vacs command 2014-05-03 01:06:37 +02:00
a0fca91d06 Reddit module: Show url in response 2014-05-02 00:27:42 +02:00
818d8b754c New module: reddit that display information about a subreddit; close #37 2014-05-01 23:44:26 +02:00
471e40aed1 YCC module: never fail, even if bad URL is given 2014-05-01 23:36:21 +02:00
b925cee08a New module: weather; close #7 2014-04-30 22:57:28 +02:00
d38ebd372c DDG module: add examples on !ud commands 2014-04-22 17:23:03 +02:00
08f3a31e88 DDG module: new !urbandictionnary command that display results from Urban Dictionnary website; closes #29 2014-04-22 17:19:10 +02:00
eefcf96516 DDG module: display redirect link on bang request 2014-04-22 17:00:47 +02:00
073f34af26 Alias module: handle special variable like $1, $2, ... 2014-03-03 20:26:34 +01:00
85fb612475 Chronos: fix display order 2014-03-03 20:25:00 +01:00
Némunaire
d88146780f Spell module: fix encoding problem 2014-02-26 18:51:12 +01:00
Némunaire
ad7c8e6fce Syno module: improve general stability 2013-03-20 15:08:24 +01:00
Némunaire
cec57b69ed Add save command in prompt, fixed issue #28 2013-03-20 09:56:50 +01:00
Némunaire
aced38a44b WatchWebsite module: Assumes that empty content is not normal 2013-01-25 17:47:11 +01:00
Némunaire
a11c617ade Tools.web: use urllib instead of custom urlparser 2013-01-24 14:18:24 +01:00
Némunaire
b9d7eda336 Networking module: improve curl stability 2013-01-15 11:24:01 +01:00
Némunaire
b0d0b4a234 Man module: display whatis by default, use english location instead of user one 2013-01-15 11:15:25 +01:00
Némunaire
dfa4c49d68 New module rnd to make choice 2013-01-07 12:22:07 +01:00
Némunaire
81db3de0df Networking module: add a !curl command to display a webpage; issue #4 2013-01-04 18:09:29 +01:00
Némunaire
418e6ba32a Chronos module: code refactoring to work with events interface 2013-01-04 18:07:18 +01:00
Némunaire
309615cdc7 New module Chronos to look at next courses 2013-01-03 18:17:02 +01:00
Némunaire
a7fd178a41 New module man that prints man pages on IRC 2013-01-02 15:49:26 +01:00
Némunaire
1b05b965ed Spell module: remember correct and bad spelling by people 2013-01-02 15:48:42 +01:00
Némunaire
3aa705dfb6 Fix conditions to validate a hook 2013-01-01 16:13:58 +01:00
Némunaire
01e12970fb New module bonneannee 2012-12-31 20:19:07 +01:00
Némunaire
1810055ccc Alias module: detect alias only if line begins with ! 2012-12-24 15:47:24 +01:00
Némunaire
0daef1e810 Don't start watching if no alert is defined 2012-12-21 11:31:03 +01:00
Némunaire
4721d7416c WatchWebsite module: watch when a site is up and down with !updown (part of issue #4) 2012-12-08 09:21:27 +01:00
Némunaire
ab557dc8e8 WatchWebsite module: can alert when a site is up or down 2012-12-08 00:12:56 +01:00
Némunaire
eada0c71e7 Events modules: fixes issue #18 2012-12-08 00:10:38 +01:00
Némunaire
022879a4bf WatchWebsite module: Avoid timeout when watching a website 2012-12-07 11:06:58 +01:00
Némunaire
d08273e832 DDG module: don't print language when no article found 2012-12-07 01:16:05 +01:00
Némunaire
1c515f95c5 YCC module: escape URL with unknown characters 2012-12-07 01:13:11 +01:00
Némunaire
50857eea80 WatchWebsite: replace %s by {var} 2012-12-01 02:20:09 +01:00
Némunaire
70cf604d4c DDG module: can precise lang for dico and wiki bang and remove alias form 2012-11-30 12:27:20 +01:00
Némunaire
70eeb26063 Alias module: can !unalias alias with the bang-name 2012-11-30 12:27:20 +01:00
Némunaire
b38b2be021 YCC module: can reduce more than one URL per message 2012-11-30 12:27:19 +01:00
Némunaire
9495e43cc0 Spell module: fix check of UTF8 strings in pyaspell 2012-11-24 22:30:46 +01:00
Némunaire
8aaf3bd6dc Wikipedia module: simplify a regexp 2012-11-09 11:56:23 +01:00
Némunaire
a878be7293 New module !spell 2012-11-08 16:29:22 +01:00
Némunaire
f33768a853 Fix some bugs in Wikipedia and WatchWebsite modules 2012-11-08 13:25:51 +01:00
Némunaire
cb0056b605 WatchWebsite module use urllib and can group same page watch over multiple channels/IRC networks 2012-11-07 18:56:18 +01:00
Némunaire
1693488a56 Some fixes on YCC and Networking module 2012-11-07 17:25:17 +01:00
Némunaire
22da70ac39 Use urllib instead of own tools for modules ycc and networking 2012-11-07 16:37:35 +01:00
Némunaire
b3a9ccf75a Parse Wiktionary 2012-11-07 15:37:17 +01:00
Némunaire
c3c697bdab Use url.request in DDG module; fix issue #1: output for Wiki is better 2012-11-07 14:39:47 +01:00
Némunaire
6f6ddd4d1e New module: networking with !traceurl and !isup 2012-11-06 04:27:09 +01:00
Némunaire
02bebb663c Fix various error on DCC connection and post treated messages 2012-11-06 04:14:55 +01:00
Némunaire
aa697a36d0 Now parse URL following RFC 1738 2012-11-06 04:14:11 +01:00
Némunaire
ca3559833a Merge branch 'V3.3' of github.com:nemunaire/nemubot into V3.3 2012-11-05 12:02:02 +01:00
Némunaire
dda1b706c7 Alias module replace aliases only in PRIVMSG 2012-11-05 12:00:24 +01:00
Némunaire
9b38b21898 Use new web tool into various modules 2012-11-04 16:26:20 +01:00
Némunaire
6b6f5b7e0b Update soutenance module to v3.3 2012-11-04 16:04:39 +01:00
Némunaire
b251b3d852 Update translate module for v3.3 2012-11-04 15:58:42 +01:00
Némunaire
20f5c5f453 Update nextstop module for v3.3 2012-11-04 15:33:04 +01:00
Némunaire
c6d5d88723 Apply v3.3 changes on various modules 2012-11-04 15:32:39 +01:00
Némunaire
d58afa9419 Apply v3.3 changes on various modules 2012-11-04 04:39:54 +01:00
Némunaire
21f2af1cad Alias module: add !alias to explain register alias, !unalias to remove alias; variables are now replaced in the Response
Variables are words starting by $. It is possible to escape a variable by prefixing the $ by a \
2012-11-04 04:03:11 +01:00
Némunaire
a62940380e Introducing a new nemubot architecture for servers and messages treatment: messages have no more context or server 2012-11-02 12:10:37 +01:00
Némunaire
f00dfc82f7 DDG module: don't print an empty abstract each time 2012-11-01 09:49:57 +01:00
Némunaire
9e452d22a9 Events modules: use W in a duration for weeks counter, some fixes 2012-11-01 09:30:00 +01:00
Némunaire
a975421e02 WatchWebsite module: catch Atom parse error 2012-11-01 09:27:19 +01:00
Némunaire
f8b662f7d0 Add a tools directory 2012-10-19 18:40:41 +02:00
Némunaire
49ccef36c2 WatchWebsite module: fix double alert when a site changes 2012-10-15 02:49:48 +02:00
Némunaire
bbfd34fe7b New global function: add_hook: add a hook in the current context directly associated to the current module 2012-10-15 02:20:01 +02:00
Némunaire
1b5b5af60b WatchWebsite module: !unwatch work, !watch better parse URLs 2012-10-15 02:11:24 +02:00
Némunaire
28dee24b5a Soutenance module: convert to V3.2 2012-10-15 01:57:45 +02:00
Némunaire
9c7884f092 Events modules: can now !start with mixing time units; can indicate a end date
Fixes #3
2012-10-15 00:44:51 +02:00
Némunaire
e16101c838 YCC module: First URL on a channel can now be reduce 2012-10-14 23:52:30 +02:00
Némunaire
2fd395f4bc Wiki: better escape of infobox 2012-10-04 13:46:11 +02:00
Némunaire
46d2854955 Use last message API for YCC module 2012-09-07 15:01:28 +02:00
Némunaire
bd1795a105 In module watchwebsite, fix atom alerts 2012-09-07 14:59:22 +02:00
Némunaire
af3ec01734 ID are keept when an event is not finished 2012-09-02 19:17:43 +02:00
Némunaire
5e81905947 Convert module watchWebsite to nemubot V3.2; can now watch user requested site 2012-09-02 19:17:42 +02:00
Number 23
4055025160 Updated nextstop version submodule 2012-09-02 16:49:22 +02:00
Number 23
3d9fa8a565 Now the public transportation module uses Response 2012-09-01 00:07:58 +02:00
Number 23
aef010e466 Added !ratp module
Added a new module using external repo to get informations about the
next stops of public transportations in Paris.
2012-08-31 23:46:42 +02:00
Némunaire
89206d9a91 Due to last commit, changes modules to follow new hooks declaration 2012-08-31 05:23:21 +02:00
Némunaire
e881fc8ba5 Convert MCQ module to V3.2 2012-08-31 03:25:35 +02:00
Némunaire
2f7592091b Convert DDG/WFA/Wiki module to nemubot 3.2 2012-08-31 03:02:08 +02:00
Némunaire
637861b3ae Already converted modules now use new Response class 2012-08-31 01:54:57 +02:00
Némunaire
ab6334127f Introduce networkbot and botcaps 2012-08-28 00:27:02 +02:00
Némunaire
fce491552b Use a queue to treat incoming messages instead of using server thread to answer 2012-08-23 18:20:45 +02:00
Némunaire
9939981dae Convert birthday module to V3.2 and fix some bugs 2012-08-23 03:09:42 +02:00
Némunaire
59f18b7974 Events module: fix response to !existing_event 2012-08-23 02:47:08 +02:00
Némunaire
a1c170f88a Convert alias module to V3.2 2012-08-23 01:54:52 +02:00
Némunaire
926abd8806 Add pretreatment hooks 2012-08-23 01:54:39 +02:00
Némunaire
68c88fc864 Fix message hooks 2012-08-22 21:52:49 +02:00
Némunaire
db7bb4ad3a Convert YCC module to V3.2 2012-08-22 21:19:52 +02:00
Némunaire
7e20368c10 Hook factorisation ; add new hooks : default (same comportement has previous version) and one hook before any parsing
When calling a hook, passed parameters change according to associated data variable
2012-08-22 21:09:20 +02:00
Némunaire
06145c732a Convert to V3.2 translation module 2012-08-16 05:50:49 +02:00
Némunaire
9b5c1d2e60 Covert sleepytime module to V3.2 2012-08-16 05:42:54 +02:00
Némunaire
3692a167cc Fix and convert to nemubot V3.2 the synomyms module 2012-08-16 05:24:56 +02:00
Némunaire
e7f9d329cc Convert the events module to v3.2 2012-08-16 04:42:53 +02:00
Némunaire
603baa8581 Simplify the listen function creation and management 2012-08-16 04:33:07 +02:00
Némunaire
3492cf302f First module ready for v3.2: velib 2012-08-14 06:57:19 +02:00
Némunaire
fe1fefecc0 Add a module that extend prompt command with server feature (connect, join, ..) 2012-08-14 05:57:13 +02:00
Némunaire
a2b273d09b Define a timeout for all http requests 2012-07-27 18:18:13 +02:00
Némunaire
6d26a13752 Module DDG: add Wikipedia API 2012-07-24 17:56:20 +02:00
Némunaire
14a963871f Changing sender to nick in modules 2012-07-23 12:21:19 +02:00
Némunaire
f32e819242 QD module: fix alert when sending the answer without nemubot: 2012-07-19 02:19:17 +02:00
Némunaire
611f96703c New module: sleepytime 2012-07-17 00:45:41 +02:00
Némunaire
32b7cfd4d8 Watchwebsite module: unquote only title, not links 2012-07-17 00:43:57 +02:00
Némunaire
b6c4d2c391 DDG module: implement last features from DDG API not implemented 2012-07-07 01:38:16 +02:00
Némunaire
84378d7e70 Start fixing bugs into QD module 2012-07-06 10:51:30 +02:00
Némunaire
2e8e58a4a1 Improve stability of WFA module: catch more error types 2012-07-06 10:51:08 +02:00
Némunaire
bb4fe1a8fe Improve stability of DDG searching 2012-07-03 12:58:41 +02:00
Némunaire
bba0840a17 Fix object creation in qd module 2012-07-03 12:50:11 +02:00
Némunaire
942c0161e2 Do some stability improvement on WolframAlpha module 2012-07-03 04:48:34 +02:00
Némunaire
b4b24c4543 Add the ability to reload submodule or a module part after a import reload (useful for reload imports of this module) 2012-07-03 04:13:10 +02:00
Némunaire
d37aeeda4c New module translate uses wordreference 2012-06-30 20:24:04 +02:00
Némunaire
a8725b0189 Convert module alias to nemubot V3 2012-06-30 18:40:42 +02:00
Némunaire
598f626e0b New module: syno which find synonyms 2012-06-30 17:51:50 +02:00
Némunaire
16f6cefc59 New module: ddg: search on internet through Duckduckgo and Wolfram|Alpha 2012-06-30 17:06:34 +02:00
Némunaire
3a7ffb03be Again fix error due to package switch 2012-06-30 16:37:02 +02:00
Némunaire
061e73722f Oups, add a lot of missing files 2012-06-30 04:07:20 +02:00
Némunaire
d234d83df8 Fix module reload 2012-06-29 23:53:47 +02:00
Némunaire
fdd794ff1b Fix some bugs due to module to package change 2012-06-29 20:23:29 +02:00
Némunaire
316e6878ba Changes most of nemubot modules to packages 2012-06-29 19:20:29 +02:00
Némunaire
2fdd629ccf YCC module: fix too many « Bad URL » 2012-06-28 19:39:00 +02:00
Némunaire
907a655732 MCQ module: need a reason for doing a report 2012-06-28 19:35:09 +02:00
Némunaire
c89ef4c543 WatchWebsite module fully working with nemubot V3 2012-06-24 02:20:48 +02:00
Némunaire
bdbc234bb5 MCQ module: work in private message 2012-06-24 00:06:08 +02:00
Némunaire
9b8e1351c5 MCQ module: fix end mcq message in qcmchan mode 2012-06-23 13:36:59 +02:00
Némunaire
7f181864b7 In module events: we can remove both events and strends 2012-06-23 13:36:08 +02:00
Némunaire
d9eab146e6 Module events now working 2012-06-20 16:24:19 +02:00
Némunaire
61ac7b11f5 Modify MCQ module to follow changes on the website part
Add channel MCQ
2012-06-19 22:23:25 +02:00
Némunaire
eb82d0898d Longer timeout for whereis 2012-06-19 21:45:51 +02:00
Némunaire
0ceb475008 New module QCM: working with http://bot.nemunai.re/ website 2012-06-16 23:04:19 +02:00
Némunaire
441d2de411 New module: YCC, to shorten URLs 2012-06-16 22:52:04 +02:00
Némunaire
4031403c25 New module velib: fetch information about differents velib stations 2012-06-16 22:50:47 +02:00
Némunaire
b23f631e36 Convert Whereis module to V3 2012-06-16 22:50:04 +02:00
Némunaire
320b7703c5 Add a generic wrapper 2012-06-16 22:49:31 +02:00
Némunaire
5fed225358 Starting rebuild of eventsm watchSite and YouTube modules 2012-06-16 22:41:17 +02:00
Némunaire
cc106e2157 Module soutenance working with V3 2012-05-30 12:28:46 +02:00
Némunaire
8383668639 Module whereis working in V3 2012-05-30 12:22:28 +02:00
Némunaire
25b2634ea3 Module_state done: global datas management
newnemubot replaces old one
2012-05-30 11:58:27 +02:00