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
James Lu
2fdc433cb3
RSS: show soft errors set by feedparser when no entries are found
...
Hopefully this will ease debugging - e.g. a bad TLS certificate will now show
"Error: Couldn't get RSS feed. Parser error: <urlopen error
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:720)>"
instead of only a generic message.
2018-10-14 12:41:22 -07:00
Tasos Sahanidis
b900a369a4
RSS: Fix feeds with missing description or title
...
An AttributeError would be raised when a blacklist or a whitelist
would be set on feeds that miss either a title or a description.
2018-03-13 23:50:47 +01:00
Valentin Lorentz
3ab226c129
RSS: Only defer feed loading at plugin load while the bot is starting.
...
Defering it if the plugin is (re)loaded while already running is useless.
Closes GH-922.
2017-12-10 09:39:20 +01:00
James Lu
bdd0adfef5
RSS: add missing configuration help for feed URL options
...
This fixes confusing "That configuration group exists, but seems to have no help." errors on the URL
options for feeds, when these options are actually relevant and settable.
2017-12-09 23:03:42 -08:00
Valentin Lorentz
e16faab805
RSS: On startup, only delay feeds loading for 10 seconds instead of the whole of supybot.plugins.RSS.waitPeriod.
2017-10-21 16:48:44 +02:00
Valentin Lorentz
eaa5a5523e
RSS: Add var supybot.plugins.RSS.maximumAnnounceHeadlines.
2017-10-12 21:21:50 +02:00
Valentin Lorentz
d73de5e512
Fix potential bug due to mutability of lists as default argument.
2017-03-30 21:38:18 +00:00
Valentin Lorentz
3633a2b2e3
RSS: Only keep the most recent entries in the initial announce.
2017-01-27 21:00:58 +01:00
Valentin Lorentz
d7099794bc
Fix Python 2 support of last commit.
2016-09-20 23:22:13 +02:00
Valentin Lorentz
2cfe0f679f
Fix previous commit on some Python versions.
2016-09-20 23:09:29 +02:00
Valentin Lorentz
d39647142c
RSS: Fix shadowing of any/all.
2016-09-20 22:54:11 +02:00
Valentin Lorentz
4f280599e1
RSS: use the original FeedParserDict for substitution
...
instead of building a new keyword arguments dict by iteration.
'description' is a field in FeedParserDict, but is not present when iterating,
which made it unavailable as a substitution variable.
2016-09-08 21:42:31 +02:00
Valentin Lorentz
3776404628
RSS: Use HTTP(S) proxy. Closes GH-1234.
2016-08-16 10:56:29 +02:00
Valentin Lorentz
3f66dbc3d5
Channel & Dunno & Misc & RSS & Scheduler: Let the logging facility perform string templating to avoid extra format chars in argument.
2015-11-03 17:25:13 +01:00
Valentin Lorentz
fb52b16429
RSS: Allow @announce add to take URLs as feed names.
2015-10-10 20:40:25 +02:00
Valentin Lorentz
4498548cb3
RSS: Add supybot.plugins.RSS.notice. Closes GH-1151.
2015-09-23 11:27:20 +02:00
Valentin Lorentz
82332ff87c
RSS: Add feed-specific waitPeriod.
2015-09-23 11:05:25 +02:00
Valentin Lorentz
1c218592af
RSS: Add fallback on sorting by update timestamp + add outdatedFirst and updatedFirst sorts. Closes GH-1139.
2015-09-02 10:04:04 +02:00
Valentin Lorentz
29ca3eb5e4
RSS: Sort on time tuples instead of formatted dates.
2015-09-02 09:43:29 +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
Valentin Lorentz
7c4a28d7fd
RSS: Remove illegal characters from entries.
2015-06-01 19:32:40 +02:00
Valentin Lorentz
ac0e6b86c0
RSS: Fix typo.
2015-05-23 11:48:32 +02:00
Valentin Lorentz
34138b9185
RSS: Don't crash on load if there is an invalid feed name. Closes GH-1116.
2015-05-23 11:40:26 +02:00
Valentin Lorentz
1650860032
RSS: Do no block commands calling while loading a feed.
2014-10-14 20:59:00 +00:00
Valentin Lorentz
d2046a81a2
RSS: Prevent errors if users do not use @announce add correctly. Closes GH-869.
2014-10-10 14:41:45 +00:00
Valentin Lorentz
44707374c0
RSS: Fix support of feeds that do no have guid fields. Closes GH845.
2014-09-14 10:06:45 +00:00
Valentin Lorentz
15fb16a8ae
RSS: Make the cache bigger in order to prevent duplicated announces.
2014-09-12 22:37:06 +00:00
Valentin Lorentz
e51e45de4d
RSS: Fix typo.
2014-08-13 17:04:35 +02:00
Valentin Lorentz
c08a480f11
RSS: Honor supybot.plugins.RSS.initialAnnounceHeadlines.
2014-08-13 16:43:43 +02:00
Valentin Lorentz
96ba33a296
RSS: Fix bad usage of safe_substitute.
2014-08-13 14:17:06 +00:00
Valentin Lorentz
1d4a1b13d8
RSS: Internationalize feed-specific format config doc.
2014-08-10 15:29:47 +02:00
Valentin Lorentz
3b2382d2f9
RSS: Remove debug output.
2014-08-05 11:49:13 +02:00
Valentin Lorentz
8efcc4a009
RSS: Display nice error if an announced feed does not exist.
2014-08-04 17:01:30 +02:00
Valentin Lorentz
d431c2992b
Factoids: Fix compatibility of web server with Python 3. Closes GH-784.
2014-08-04 13:21:40 +00:00
Valentin Lorentz
ab1ac2aa8e
RSS: Remove use of deprecated property. Closes GH-807.
2014-08-04 15:02:46 +02:00
Valentin Lorentz
ddcbc151b6
RSS: Fix listing of commands (show names, not URLs).
2014-08-01 09:17:58 +00:00
Valentin Lorentz
f3b31e5a4b
RSS: Add support for ETag and Last-Modified.
2014-08-01 01:12:19 +02:00
Valentin Lorentz
332164aa20
RSS: Fix Python2.6 compatibility.
2014-07-31 21:58:30 +00:00
Valentin Lorentz
057da44ab3
RSS: Make sure two different feeds cannot have the same URL.
2014-07-31 23:56:27 +02:00
Valentin Lorentz
3a127e884e
RSS: Allow feed-specific format. Closes GH-104.
2014-07-31 23:50:43 +02:00
Valentin Lorentz
1265f9229a
RSS: Open dump file in text mode (json uses text mode).
2014-07-31 20:57:47 +00:00
Valentin Lorentz
b5911f8489
RSS: Implement persistence of announced headlines.
2014-07-31 22:53:21 +02:00
Valentin Lorentz
e9b58f7820
RSS: Use queueMsg instead of sendMsg (flood…)
2014-07-31 19:17:27 +00:00
Valentin Lorentz
784b534a3d
RSS: Remove deadlock and make announces work.
2014-07-31 20:50:12 +02:00
Valentin Lorentz
f35ece8147
RSS: Fix stupid bugs.
2014-07-31 20:14:09 +02:00
Valentin Lorentz
ca425b7b0a
RSS: Fix checking of feed existancy.
2014-07-31 19:31:20 +02:00
Valentin Lorentz
0a6a4991a5
RSS: Make feed commands work.
2014-07-31 18:56:52 +02:00