11966 Commits

Author SHA1 Message Date
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
Aminda Suomalainen
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
Aminda Suomalainen
a46a0733af .editorconfig: only apply indent_size and line_length for *.py 2023-09-29 11:43:04 +02:00
Aminda Suomalainen
ecd0c926ea .editorconfig: configure text editors for Limnoria style guide 2023-09-29 11:43:04 +02:00
Aminda Suomalainen
7581525495 .gitattributes: enable EOL normalization 2023-09-29 11:43:04 +02:00
Aminda Suomalainen
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 master-2023-09-24-2 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 master-2023-09-24 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
Valentin Lorentz
f905036d7a Services: Add missing import
It's needed since acad80296a8a4f55557f23e0ef29fbc0533a6457
2023-09-08 22:47:54 +02:00
Eric Mertens
9e82e3f16c Add command to manually initiate SASL 2023-09-05 20:13:21 +02:00
Valentin Lorentz
c66b973db0 SaslTestCase: Change config instead of messing with irc.sasl_next_mechanisms
Changing the internal state will break in the next commit, which
reorganizes SASL state initialization
2023-09-05 08:54:26 +02:00
Valentin Lorentz
81a5133c14 SaslTestCase: Use tearDown() method instead of finally: blocks
It's much cleaner
2023-09-05 08:54:26 +02:00
Valentin Lorentz
f8dd8d7642 supybot-test: Add --clean-after option 2023-09-04 20:07:42 +02:00
Valentin Lorentz
6b778598bb --clean removes files before running tests, not after 2023-09-04 18:24:16 +02:00
Valentin Lorentz
8029e2b390 supybot-test: Ensure --clean doesn't leave 'backup' and 'test-logs' directories 2023-09-04 17:36:22 +02:00
Valentin Lorentz
acad80296a Services: Update 'identified' state using SASL status
Otherwise features like auto-opping are permanently unavailable when using
SASL instead of NickServ IDENTIFY
2023-08-29 22:49:18 +02:00
Valentin Lorentz
5357f50bed Geography: Replace Canada/Newfoundland with America/St_Johns in tests
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040997
master-2023-08-10
2023-08-10 08:02:50 +02:00
Valentin Lorentz
71ae97ef5e MessageParser: On syntax error, detail which action caused the error
This can help users debug it.
2023-08-02 20:39:00 +02:00
Valentin Lorentz
bb3d456fdf RSS: Add support for feed attributes in template string
See https://feedparser.readthedocs.io/en/latest/common-rss-elements.html#accessing-common-channel-elements
2023-07-26 14:21:34 +02:00
Valentin Lorentz
8168c52939 RSS: Fix traceback in tests with new feedparser versions 2023-07-26 14:20:45 +02:00
Valentin Lorentz
2b4c5eb78f Fix crash when calling .reply(..., action=True) on ReplyIrcProxy
instead of on NestedCommandIrcProxy.

ReplyIrcProxy._sendReply expects action=True to imply noLengthCheck=True, but only
NestedCommandIrcProxy.reply() enforces the latter, not ReplyIrcProxy.reply().

This crash was introduced in 3c1c4a69e9927bcc7265b1d77fd1ab49cb55090e by
moving NestedCommandIrcProxy's .reply() to ReplyIrcProxy.
2023-07-18 07:46:51 +02:00
Valentin Lorentz
21a3fa0b86 makeExtBanmasks: Log invalid options 2023-07-12 17:24:05 +02:00
Valentin Lorentz
054ee6e410 Disable generic error reply when supybot.replies.error is empty 2023-07-11 21:34:49 +02:00
Valentin Lorentz
d5af301db1 Avoid listing all permutations 2023-07-08 18:04:09 +02:00
Valentin Lorentz
eb002a31e9 wizard: Check language is supported
Otherwise it may raise InvalidRegistryValue on first start
2023-07-08 16:46:13 +02:00
Valentin Lorentz
8d1d4b84eb Fix error message on invalid 'supybot.language' value 2023-07-08 16:42:26 +02:00
Valentin Lorentz
1cbf992016 Swap arguments of accountExtban 2023-07-02 10:22:42 +02:00
Valentin Lorentz
d63720f2ed s/masks == []/not masks/ 2023-07-02 10:19:06 +02:00
Valentin Lorentz
3018982d5a tests: Fix self.assertRaises(KeyError) for nickToAccount 2023-07-02 10:18:32 +02:00
Valentin Lorentz
448d9771f8 Correctly document meaning of None vs absent values in nicksToAccounts 2023-07-02 10:17:35 +02:00
Valentin Lorentz
53b45c1d47 Remove prints 2023-07-02 10:13:38 +02:00
Valentin Lorentz
b54dd33dbd Explain why 'st' is checked too 2023-07-02 10:12:15 +02:00
Val Lorentz
21cac28396
s/network/services/
Co-authored-by: James Lu <james@overdrivenetworks.com>
2023-07-02 07:49:24 +02:00
Valentin Lorentz
f73fe5095e Replace makeExtBanmask with makeExtBanmasks
Now that we can return both account extbans and regular masks,
it makes sense to ban both.

Otherwise, adding 'account' to supybot.protocols.irc.banmask
means we banned only the account instead of the hostmask,
which arguably makes the ban weaker (/NS LOGOUT to evade)
2023-07-01 20:36:03 +02:00