Commit Graph

11929 Commits

Author SHA1 Message Date
Valentin Lorentz
f5302f0bfc safeEval: Fix support for Python 3.14 2024-05-30 22:00:54 +02:00
Valentin Lorentz
9a4dca8054 Misc: update version fetching to the new branches
master is now used for main development, so PyPI has to be used instead to get
the latest release
2024-05-29 21:49:23 +02:00
Valentin Lorentz
dcd95d3a77 DDG: Fix regexp escape in test
9bcb21389a added it to the wrong string
2024-05-29 07:26:34 +02:00
Valentin Lorentz
5b2b38ab37 Add per-network 'vhost' and 'vhostv6' config variables 2024-05-21 21:19:14 +02:00
Valentin Lorentz
4898926f20 RSS: Fix error when re-creating a feed with a different name
Closes GH-1547
2024-05-12 16:34:36 +02:00
Valentin Lorentz
b1ba8ecb2a ci: Test on Python 3.13 alpha 2024-05-05 22:18:14 +02:00
Valentin Lorentz
9ae7690484 Unix: Disable 'crypt' command on Python >= 3.13
The module is not available anymore
2024-05-05 22:18:14 +02:00
Valentin Lorentz
e18332efde Internet: Use socket directly instead of telnetlib
We don't actually need telnetlib here; and it will be removed in
Python 3.11
2024-05-05 22:18:14 +02:00
Valentin Lorentz
0ad61f5791 httpserver: Rewrite without the cgi module
It is removed in Python 3.13
2024-05-05 22:18:14 +02:00
Valentin Lorentz
9bcb21389a Fix SyntaxWarning on Python 3.12 2024-05-05 22:18:14 +02:00
Valentin Lorentz
f65089af86 CONTRIBUTING.md: Remove the bit about the testing branch
We're going to commit directly to master from now one.

The 'testing' policy predates PyPI releases and Git master was the primary mean
of distributing Limnoria back then, but it does not make sense anymore.
2024-05-05 17:56:48 +02:00
Valentin Lorentz
07834620f3 CONTRIBUTING.md: Update documentation URLs 2024-05-05 17:56:00 +02:00
Valentin Lorentz
d435442b39 Admin: Actually clean up test channel from configuration
943f39745d did not actually because:

1. the 'part' command is not available (it's in the Channel plugin)
   so it just didn't do anything
2. one of the tests was missing the cleanup
2024-04-26 09:04:45 +02:00
Valentin Lorentz
6758c00363 limnoria-test: Fix log config
Since 03a3777129 we use .format() instead of % for substitution,
so these should not be escaped anymore.
2024-04-26 08:57:49 +02:00
Valentin Lorentz
943f39745d Admin: Fix leftover state change in testPart
it affects Channel's testPart
2024-04-18 19:47:22 +02:00
Valentin Lorentz
c8030be71a Web: Need to download even more Javascript from Youtube 2024-04-18 19:33:55 +02:00
Valentin Lorentz
03c638705f Channel: Fix error in @part when channel is configured but not joined
This typically happens when banned from the channel, and returning an error
gives bot admins the impression @part did not remove the channel from
the auto-join list
2024-04-12 19:17:13 +02:00
GMDSantana
03a3777129
Create temporary files in a temporary directory
But keep it if tests fail.

Closes #1061
2024-04-12 11:06:30 +02:00
Valentin Lorentz
ca8565b6d8 RSS: Don't log tracebacks for HTTP errors 2024-03-09 11:47:10 +01:00
James Lu
3e5291f6d2 ircdb.checkIgnored: return False for messages from servers
These do not pass the `ircutils.isUserHostmask` check despite being a valid msg.prefix. We should probably return gracefully here instead of forcing plugins to deal with such a case themselves.

Closes GH-1548
2024-02-06 16:49:56 +01:00
Valentin Lorentz
a2e55ca1f6 RSS: Update link to feedparser 2024-01-03 18:37:11 +01:00
Valentin Lorentz
d55a08c63e Regenerate plugin READMEs 2024-01-03 18:37:11 +01:00
Stathis Xantinidis
5ca0fcd87c Changed whois provider domain to whois.iana.org
The previous was giving timeouts
2023-12-15 22:18:10 +01:00
Valentin Lorentz
06c88581ec Services: Improve error on missing password or NickServ nick 2023-11-18 22:02:36 +01:00
Valentin Lorentz
fffdd82571 Fediverse: Catch URLErrors raised when checking webfinger support 2023-10-29 12:40:48 +01:00
Valentin Lorentz
689c633e92 Web: Fix crash on socket.timeout on snarfed URLs 2023-10-29 12:32:33 +01:00
Valentin Lorentz
3f9ab4b89c Web: Fix crash on trailing ';' in Content-Type 2023-10-28 09:47:55 +02:00
Valentin Lorentz
faa6474271 Geography: Add support for OSM node ids 2023-10-27 11:31:06 +02:00
James Lu
1fb0bbd1c0 Fix recursive loop in limnoria_reset_password
Closes GH-1565
2023-10-24 20:05:18 -07:00
Valentin Lorentz
18699b0cf2 Fix breakage of supybot.directories.data.web when it's a relative directory (the default) 2023-10-17 20:13:56 +02:00
Valentin Lorentz
15009caeff Remove requirement for supybot.directories.data.web to be a subdir of supybot.directories.data 2023-10-17 20:04:42 +02:00
Valentin Lorentz
2008088a07 RSS: Copy $summary to $description on Atom feeds
Otherwise $description would remain feedparser's default, which is
unescaped <content>; but $description is the only usable one on RSS
feeds.
2023-10-17 19:57:29 +02:00
Valentin Lorentz
04f0d70113 RSS: Add support for $content/$summary_detail/$title_detail 2023-10-17 19:00:54 +02:00
Valentin Lorentz
edb13f65df httpserver: Fix incorrect path joining 2023-10-17 19:00:54 +02:00
Valentin Lorentz
e7824213ae Debug: Remove useless shebang 2023-10-17 19:00:54 +02:00
4ed318d06f NickCapture: fix typo thus -> this 2023-10-16 21:10:34 +02:00
Matias Wilkman
7cd700b4ae
Seen: show when the target is currently in the channel (#1559) 2023-10-09 19:31:50 +02:00
Matias Wilkman
ec9e731fa5
Ignore trailing whitespace when addressing the bot by nick at end (#1563) 2023-10-08 19:07:08 +02:00
Matias Wilkman
5ccc035021
report channel counts and modes in status (#1562) 2023-10-05 21:13:55 +02:00
Valentin Lorentz
58287207d7 Socket: Fix hanging while TLS socket buffer is non-empty 2023-09-29 15:25:41 +02:00
a46a0733af .editorconfig: only apply indent_size and line_length for *.py 2023-09-29 11:43:04 +02:00
ecd0c926ea .editorconfig: configure text editors for Limnoria style guide 2023-09-29 11:43:04 +02:00
7581525495 .gitattributes: enable EOL normalization 2023-09-29 11:43:04 +02:00
cf4c4ca5b8 requirements.txt: add ddate as an optional dependency for Time.ddate 2023-09-29 11:23:16 +02:00
Valentin Lorentz
119a93a744 PluginDownloader: Fix typo 2023-09-24 19:58:10 +02:00
Valentin Lorentz
b1657a8735 Skip irctest on Python 3.7
It's no longer supported
2023-09-24 19:55:57 +02:00
Matias Wilkman
fa01b019ed added a new repo for plugindownloader 2023-09-24 08:07:56 +02:00
Valentin Lorentz
850b4c3f69 MessageParser: Log and skip current regexp on error 2023-09-22 14:20:55 +02:00
famfo
91accc0458
SedRegex: Implement changing of sed response per channel (#1556)
Fixes #1433

Co-authored-by: Val Lorentz <progval+github@progval.net>
Co-authored-by: James Lu <hello@jlu5.com>
2023-09-19 08:56:36 -07:00
Valentin Lorentz
5ab7c8a749 Services: I still didn't test that code 2023-09-08 23:54:47 +02:00