Commit Graph

73 Commits

Author SHA1 Message Date
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
2d5c80736d MessageParser: Fix crash (and unexpected behavior) when matching backslashes
Closes GH-1497.
2021-11-26 00:55:44 +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
Valentin Lorentz
c23227cdc7 MessageParser: Show error when the action has a syntax error
Instead of being silent
2021-06-28 23:10:36 +02: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
Valentin Lorentz
0b0da9716d callbacks: honor network-specificity of supybot.reply.whenAddressedBy.
A side-effect is that plugins should now pass 'irc' instead of 'irc.nick'
when they call 'callbacks.addressed()'.
2020-04-11 15:00:46 +02:00
Valentin Lorentz
e2d72c5a43 Fix msgfmt warnings. 2020-03-26 22:10:28 +01:00
James Lu
772862d49c plugins: use r'' strings to fix DeprecationWarning in test cases (#1328) 2020-01-26 11:14:25 -08:00
Valentin Lorentz
9ab908759a Use importlib instead of imp.
importlib is deprecated.
2020-01-26 12:00:08 +01:00
Valentin Lorentz
9891b0fca4 Replace failUnless/failIf with assertTrue/assertFalse.
The old names are deprecated.
2020-01-26 11:14:18 +01:00
Valentin Lorentz
83114e5fbd src/callbacks.py: use network-specific values.
Closes GH-1393
2019-12-05 21:51:25 +01:00
James Lu
9291fbd4a0 All plugins: set Limnoria contributors as maintainer 2019-11-16 11:41:13 -08:00
James Lu
9eecedee93 Fill in author info for plugins missing it 2019-10-27 12:59:37 -07: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
417f38b8c1 MessageParser: Prevent empty matches from leaving unreplaced. 2017-07-21 20:05:18 +02:00
Valentin Lorentz
c3a2c800f1 Remove need for 2to3. 2015-08-11 16:50:23 +02:00
Valentin Lorentz
216c5d213f Replace sys.version_info[0] usages with minisix.PY{2,3}. 2015-08-09 00:23:03 +02:00
Julian Paul Glass
b016958213 bold formating for the id string. 2014-12-10 09:23:18 +00:00
Julian Paul Glass
7c0428dfcc Change the id format. Remove the quotes. 2014-12-10 02:11:13 +00:00
Julian Paul Glass
92824116c5 changes to test.py 2014-12-10 01:45:31 +00:00
Julian Paul Glass
1d0685e02f Reorder: Move the id to the front of the regexp it represents. 2014-12-10 01:39:23 +00:00
Johannes Löthberg
587d53a475 MessageParser/README: Fix documentation link 2014-11-17 16:17:24 +01:00
Valentin Lorentz
35bfd76852 Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support (without breaking Python 2 support). 2014-08-05 11:20:20 +02:00
Valentin Lorentz
907ede8035 Revert "Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support."
This reverts commit 30e03a542a.
2014-08-05 11:20:20 +02:00
Valentin Lorentz
30e03a542a Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support. 2014-08-05 10:48:31 +02:00
Mikaela Suomalainen
fc81013be5 Mass rename README.txt --> README.md .
[SKIP CI]
2014-06-06 12:42:33 +02:00
Valentin Lorentz
5f306a8c74 Fix neutral pronouns. 2014-04-11 21:56:42 +00:00
Valentin Lorentz
121cc1772e MessageParser: Fix crash if not all matches are used in the replacement. 2014-03-25 14:25:01 +00:00
Mikaela Suomalainen
3a2b01d517 PluginDownloader: update l10n-fi.
The typo fix edition.
2014-03-22 16:38:16 +02:00
Mikaela Suomalainen
9eec5c0ab5 Ctcp: update l10n-fi. 2014-03-22 16:16:52 +02:00
Mikaela Suomalainen
bf2640ddb8 User: update l10n-fi. 2014-03-22 15:44:26 +02:00
Mikaela Suomalainen
ace3b91363 MessageParser: update l10n-fi. 2014-03-22 14:40:08 +02:00
Mikaela Suomalainen
aa59a98767 Aka: add l10n-fi. 2014-03-22 12:39:48 +02:00
Mikaela Suomalainen
0d62257d79 update messages.pot files && Unix: update l10n-fi. 2014-03-22 12:22:54 +02:00
Mikaela Suomalainen
f88e8e20b9 My name is Mikaela!
Thanks @nyuszika7h :) ☺
2014-03-22 12:01:11 +02:00
Valentin Lorentz
4fe74ed397 Merge branch 'aka-sqlite3' into speed-up-2to3 2014-02-02 22:15:43 +01:00
Valentin Lorentz
5cfa7828ea ChannelStats & MessageParser & PluginDownloader & RSS & User: Update l10n-fr. 2014-01-22 08:02:03 +01:00
Valentin Lorentz
8b06bd52f0 All plugins: Update .pot files and rename Supybot-fr to Limnora in French translation files. 2014-01-21 16:48:13 +01:00
Valentin Lorentz
06fdaa792f Continue accelerating the 2to3 step (remove fix_map). 2014-01-21 10:57:38 +01:00
Valentin Lorentz
bb7db3ab21 Continue accelerating the 2to3 step (remove fix_except). 2014-01-20 15:49:15 +01:00
Valentin Lorentz
13d2746454 ChannelStats & Conditionnal & Format & Karma & Limiter & MessageParser & Misc & Network & PluginDownloader & Seen & ShrinkUrl & Status & String & Time & Topic & User & Web: Update messages.pot. 2013-11-27 00:02:05 +01:00
Valentin Lorentz
33cc9bc6b8 MessageParser: Fix crash when using @messageparser add for global database. 2013-08-08 16:01:36 +00:00
Valentin Lorentz
7479849767 MessageParser: Add support for notices. 2013-07-19 18:29:50 +00:00
Valentin Lorentz
38bab185a9 Remove Python2.4-specific code. 2013-07-13 17:28:21 +02:00
Valentin Lorentz
693e827340 Alias & ChannelLogger & MessageParser & MoobotFactoids & User & Web: Update l10n-fr. 2013-03-02 19:15:12 +01:00