Valentin Lorentz
4b892c2b1d
all: Update .pot and .po files
2022-02-06 00:14:47 +01:00
Valentin Lorentz
7fade191c3
Google: Update suggestions in the deprecation warning
...
1. DDG is now built-in
2. GoogleCSE is actually limited to site-specific search
2021-12-23 20:09:49 +01:00
Valentin Lorentz
ed9dffdd7f
supybot-plugin-doc: Remove extra space + regenerate all READMEs.
2021-12-04 03:19:12 +01:00
Valentin Lorentz
828fff9cc0
supybot-plugin-doc: Add missing newlines + regenerate all READMEs.
2021-12-04 02:50:28 +01:00
Valentin Lorentz
63eb6672ea
Revert generic 'The Limnoria Contributors' in copyright notices
...
This commit reverts db7ef3f025
(though it keeps the year updates)
After discussion with several people, it seems better to mention
copyright owners explicitly. eg. https://reuse.software/faq/#vcs-copyright
explains the issue of using VCSs to track copyright.
As db7ef3f025
only replaced mentions
of my name with 'The Limnoria Contributors', this commit only needs
to undo that + add one person who contributed to setup.py.
2021-10-17 09:57:55 +02:00
Valentin Lorentz
db7ef3f025
all: Add generic 'The Limnoria Contributors' to copyright notices.
...
No need to bother with details (that are all outdated / out of sync
anyway), just look up the git history.
2021-08-01 21:54:49 +02:00
James Lu
64ae28c0b8
Remove references to my old nick
2021-07-03 16:42:13 -07:00
James Lu
a7216d290f
Remove Spanish translations as requested by the author
2021-06-24 22:36:04 -07:00
Valentin Lorentz
fec6959acb
all plugins: regenerate READMEs
2021-04-22 00:29:15 +02:00
Valentin Lorentz
82fbfcffa4
all plugins: regenerate READMEs
2021-04-17 20:09:33 +02:00
Valentin Lorentz
cd02444f87
supybot-plugin-doc: Add labels for all command and config variables
...
So they can be referenced from elsewhere in the doc.
2021-04-06 00:33:07 +02:00
Valentin Lorentz
833af36b08
all plugins: auto-generate READMEs
...
Starting with this commit, there should be no "original" text
in READMEs.
Instead, the entire text should be in docstrings, and READMEs
should be automatically generated from these docstrings.
Motivation:
* The same help is available both via IRC and in the README
(although the README can be more detailed, as only the first
paragraph will be shown on IRC)
* This will allow auto-generating plugin help on docs.limnoria.net
using the same content as the README, as it's sourced from the
docstrings
Additionally, this converts all READMEs from Markdown to ReST,
because the documentation already uses ReST, and other docstrings
in the codebase are in ReST for this reason.
2021-04-05 17:42:31 +02:00
Gordon Shumway
6e47278b9f
Google: Set User-Agent override. ( #1426 )
...
With a custom (globally-configured) user-agent, Google may serve a different page, which breaks this plugin.
This override disables this custom user-agent and uses a predefined one, which is known to work.
2020-07-14 14:44:43 +02:00
Gordon Shumway
59f1441d23
Google: Fix plugin.
2020-07-01 10:37:22 +02:00
Gordon Shumway
01f166a224
Google: Fix plugin.
2020-07-01 10:37:22 +02:00
Valentin Lorentz
aa2f9202ec
Google: Fix false positives on embedded thumbnails (eg. Youtube results).
2020-05-28 19:07:08 +02:00
Valentin Lorentz
2924845de4
Google: Update, with a proper HTML parser.
...
Hopefully it will be more robust than the regexp.
2020-05-24 18:57:27 +02:00
Valentin Lorentz
f8a14547f9
Google: Update regexp.
2020-05-15 19:56:36 +02:00
Valentin Lorentz
e2d72c5a43
Fix msgfmt warnings.
2020-03-26 22:10:28 +01:00
James Lu
4528a847e4
Aka, Google, String: fix more DeprecationWarning in tests ( #1328 )
2020-01-26 11:31:28 -08:00
Valentin Lorentz
9ab908759a
Use importlib instead of imp.
...
importlib is deprecated.
2020-01-26 12:00:08 +01:00
James Lu
9291fbd4a0
All plugins: set Limnoria contributors as maintainer
2019-11-16 11:41:13 -08:00
Valentin Lorentz
c1ae3f5c81
all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue.
2019-08-24 23:35:01 +02:00
Valentin Lorentz
696254ff1b
Use irc.isChannel instead of ircutils.isChannel when possible.
...
It's aware of the network's 'chantypes'.
2019-08-04 21:52:40 +02:00
Valentin Lorentz
dba0ae3771
Google: update scraping regexp
2019-07-22 21:39:41 +02:00
Valentin Lorentz
540b827213
Google: Update for Google's new HTML layout.
...
Closes GH-1365
2019-05-28 19:37:52 +02:00
James Lu
73be2bf3d8
Google: update link to supported languages list
...
Google has since reformatted their docs and moved the language support info to a separate page.
2016-12-18 14:53:01 -08:00
Valentin Lorentz
fa755c3a9c
Google: Decode URLs. Closes GH-1260.
2016-08-10 22:52:00 +02:00
James Lu
30ba4bbe22
Google: mention the format of language codes
...
This might reduce confusion when people do things like "!google translate english to french hello", which produces no result.
2016-07-15 11:48:26 -07:00
James Lu
88a8bbb4d8
Google: remove unused & duplicated imports
...
"import json" was being done twice. cgi, time, and socket all appear to be unused.
2016-05-11 18:24:36 -07:00
James Lu
218ba764cc
Google: self-promot-- add DDG plugin with py2/py3 support
2016-05-06 07:14:25 -07:00
Valentin Lorentz
b6695172c8
Google: Add warning about deprecation.
2016-05-06 09:02:54 +02:00
Valentin Lorentz
de290d12f3
Google: Fix @lucky.
2016-05-05 09:01:51 +02:00
Valentin Lorentz
8321d8a547
Google: Fix URL formatting.
...
For some reason, it worked on Python 3…
2016-05-05 08:31:04 +02:00
Valentin Lorentz
6f1045ed20
Google: Fixes.
2016-05-05 08:03:10 +02:00
Valentin Lorentz
f8aaddd5b5
Google: Fix google URL.
2016-05-04 19:29:53 +02:00
Valentin Lorentz
b5268d63a3
Google: AJAX API was closed today, using HTML scraping instead.
2016-05-04 19:05:31 +02:00
Usama Akkad
1335962fd3
changed the link to markdown format
2016-02-09 20:09:35 +02:00
Usama Akkad
914dc4c4ec
small fix
2016-02-07 12:52:27 +02:00
Usama Akkad
1ecf9c2206
applied @GLolol suggestions
2016-02-07 12:50:35 +02:00
Usama Akkad
44a4d31b05
Add some explanation about Google plugin functions
2016-01-27 01:08:38 +02:00
Usama Akkad
8c191a8ce2
Add some explantation about Google plugin functions
2016-01-27 00:05:06 +02:00
Jussi Timperi
67e5b55c1a
Google: Handle empty results in translate.
2015-10-03 01:06:18 +03:00
Valentin Lorentz
b51075969f
Google: Move the main code of translate to a separate function (usable by other plugins).
2015-09-09 21:24:47 +02:00
Valentin Lorentz
c3a2c800f1
Remove need for 2to3.
2015-08-11 16:50:23 +02:00
Valentin Lorentz
f305ff3c02
Remove fix_basestring.
2015-08-10 20:24:11 +02:00
Valentin Lorentz
23ddfbc7e3
Filter & Google: Fix Python 3.2 compatibility.
2015-08-10 19:14:22 +02:00
Valentin Lorentz
c0ac84bb53
Remove need for fix_import, fix_types, and fix_urllib.
2015-08-10 17:55:25 +02:00
Valentin Lorentz
216c5d213f
Replace sys.version_info[0] usages with minisix.PY{2,3}.
2015-08-09 00:23:03 +02:00
Valentin Lorentz
be118c3338
Remove use of fix_dict fixer.
2015-08-08 23:08:49 +02:00