Valentin Lorentz
dcca9f9637
RSS: Make feed announces actually network-specific
...
.getSpecific() always returned the channel-specific but non-network-specific var,
unless the channel-specific and network-specific one was manually set.
2022-01-11 20:13:39 +01:00
Valentin Lorentz
40155ede22
Fix syntax DeprecationWarning.
2022-01-09 14:10:15 +01:00
Valentin Lorentz
74f86654b1
Remove fallbacks for old Python versions.
2022-01-01 18:11:36 +01:00
Valentin Lorentz
181e34baf9
setup.py + CI: Remove support for Python 3.4 and 3.5
2022-01-01 17:49:12 +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
caa5aa3d84
Config: Replace inconsistent terminology
2021-12-19 21:11:26 +01:00
Valentin Lorentz
3f77c53ed5
utils/structures: Fix typos, remove unused code
2021-12-19 20:53:11 +01:00
Valentin Lorentz
8053d74e71
setup.py: Fix typo
2021-12-18 19:38:49 +01:00
Valentin Lorentz
ac379eb44c
supybot-wizard: Ask for SASL username and password
2021-12-18 18:37:46 +01:00
Valentin Lorentz
d1191d1c89
setup.py: Remove 3.4 and 4.5 from the classifiers
2021-12-18 18:37:26 +01:00
Valentin Lorentz
49c7c30627
setup.py: Remove reference to supybot from the short description
2021-12-18 18:36:48 +01:00
Valentin Lorentz
e223b507dd
utils.time: Add support for timezones without a slash.
...
eg. UTC, CET, ...
2021-12-07 23:30:16 +01:00
Valentin Lorentz
ed9dffdd7f
supybot-plugin-doc: Remove extra space + regenerate all READMEs.
2021-12-04 03:19:12 +01:00
Valentin Lorentz
2d2241787f
supybot-plugin-doc: Fix exceptions raised while exiting the script.
2021-12-04 03:08:09 +01:00
Valentin Lorentz
828fff9cc0
supybot-plugin-doc: Add missing newlines + regenerate all READMEs.
2021-12-04 02:50:28 +01:00
Valentin Lorentz
ef0cd48bd1
registry: Better explain String.__str__
2021-12-03 18:03:27 +01:00
Valentin Lorentz
fba5ed5fa4
Fix crash caused by registry.Json.__str__ returning non-str objects
2021-12-03 18:02:14 +01:00
Valentin Lorentz
f1824fc7db
Config: Fix crash when reseting registry.Pattern
2021-12-03 17:28:05 +01:00
Valentin Lorentz
baa8cda814
Fix bypassed cache invalidation checks, causing '@config reload' to be partially ignored
...
`registry.Value.__call__()` is a wrapper around access to
`registry.Value.value`, that checks if the value was set before the latest
call to `registry.open_registry`; and updates the `value` if needed.
When accessing `registry.Value.value` directly, this cache can't be
invalidated, causing the old value to still be used, until the next call
to `registry.Value.__call__()`.
2021-12-03 16:56:06 +01:00
Valentin Lorentz
c0d033ff84
Math: Fix crash in @convert on small/large single-digit numbers
...
str() converts them to the exponent notation, which makes split('.')[1]
crash, since there is no decimal part in the exponent notation when there
is a single significant digit.
2021-11-28 18:00:58 +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
068488c546
Fix sdists created by newer setuptools versions.
...
This caused the PyPI package to be broken since I upgraded
my computer from Debian bullseye
2021-11-20 14:41:42 +01:00
Valentin Lorentz
dd3678e481
Remove Travis badges
2021-11-19 09:53:31 +01:00
Valentin Lorentz
63a97fc147
Owner: Ignore commands when they are in a chathistory batch.
2021-11-18 13:17:39 +01:00
Valentin Lorentz
2236c7552a
irclib: Request draft/account-registration
...
Servers might reject the REGISTER command if it's not ACKed.
2021-11-17 23:26:06 +01:00
Valentin Lorentz
5aefd6395f
Time: Fix error handling in @tztime.
2021-11-09 22:33:23 +01:00
Valentin Lorentz
8326d6ef7f
Fediverse and Poll: Run Black
2021-11-09 22:33:12 +01:00
Valentin Lorentz
feaa02ab6d
Add docstring to supybot.utils.time.iana_timezone
2021-11-08 23:20:28 +01:00
Valentin Lorentz
12c526bc1c
Update default user agent to mention Limnoria
2021-11-08 23:20:13 +01:00
Valentin Lorentz
abe59022b4
irclib: Remove broken + useless code
...
This function does not exist anymore
2021-11-08 21:59:05 +01:00
Valentin Lorentz
8b26b675ba
Use stdlib instead of pytz on Python >= 3.9
...
Python 3.9 introduced the zoneinfo module, which provides the only
feature we used pytz for (getting a datetime.tzinfo object from
an IANA timezone id); so let's use it instead of a third-party
dependency.
2021-11-08 21:46:48 +01:00
Valentin Lorentz
a5cd930a4b
Update CI/setup.py/README: Python 3.10 is now released.
2021-11-08 21:30:00 +01:00
Valentin Lorentz
ce7e4b754c
Replace deprecated unittest function calls.
2021-11-08 21:29:59 +01:00
Valentin Lorentz
93c63092d9
Remove SQLAlchemy from the dependencies.
...
It's only used by Aka when sqlite3 is not available, so basically never.
And SQLAlchemy probably can't work without sqlite3 anyway.
Plus, SQLAlchemy depends on greenlet, which does not support
Python 3.11a2 yet: https://github.com/python-greenlet/greenlet/issues/273
2021-11-08 21:29:59 +01:00
James Lu
417cd7d66f
LogToIrc: add missing import
2021-10-20 17:39:50 -07:00
Valentin Lorentz
1f618b9773
log: Fix support of 'supybot-test --clean'
...
Broken in dff394df64
.
2021-10-18 10:08:41 +02: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
dff394df64
log: Add support for rotating messages.log.
2021-10-14 23:52:16 +02:00
Valentin Lorentz
666acd9f1f
log: Simplify encoding in BetterFileHandler.
...
I don't think any these cases are useful anymore.
Let's keep the last one anyway, just in case I'm wrong.
2021-10-14 23:47:32 +02:00
Valentin Lorentz
e972894b8a
supybot-wizard: Fix variable shadowing.
2021-10-14 23:43:40 +02:00
PeGaSuS
f31e5c4b9a
LogToIrc: Synchronize README with config.py
...
Better document the format of the 'target' config var
2021-10-09 22:53:13 +02:00
Valentin Lorentz
3f27c03f77
LogToIrc: better document the format of the 'target' config var
2021-10-09 21:08:48 +02:00
Valentin Lorentz
163e717bf0
Fediverse: increase again to fix failures on the CI...
2021-10-08 01:03:31 +02:00
Valentin Lorentz
d844243ce1
Fediverse: increase max heap size to mitigate crashes on pypy
2021-10-08 00:15:45 +02:00
Valentin Lorentz
bc0c5bdeed
ChannelLogger: Log away messages
2021-10-07 21:34:04 +02:00
Valentin Lorentz
ebaa346619
callbacks: Don't raise AssertionError when addressd() is called with a NOTICE
...
Some plugins (like LinkRelay) share code between NOTICE and PRIVMSG
and they might call it unconditionally.
2021-09-22 21:48:59 +02:00
Valentin Lorentz
de277edb42
irclib: Make requestCapabilities a public method
...
So it can be used by plugins like Sigyn.
2021-09-22 18:54:47 +02:00
Valentin Lorentz
4d974869f9
String: Fix TypeError.
2021-09-21 21:41:25 +02:00
Valentin Lorentz
f468557899
Channel: Fix capability check in alertOps, to check the target instead of sender.
2021-09-21 21:21:21 +02:00
Valentin Lorentz
c93493901e
Fediverse & String: Increase test timeouts, they can be flaky on CIs
2021-09-21 21:19:03 +02:00