Commit Graph

164 Commits

Author SHA1 Message Date
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
7ac053d8f1 Merge branch 'rewrite-rss' into testing 2014-07-31 22:53:44 +02:00
Valentin Lorentz
b5911f8489 RSS: Implement persistence of announced headlines. 2014-07-31 22:53:21 +02:00
Valentin Lorentz
4a3d39e747 Merge branch 'rewrite-rss' into testing
Conflicts:
	src/utils/str.py
2014-07-31 19:24:01 +00: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
809a34a9ad RSS: Fix test broken by 2caade8f. 2014-07-31 20:12:59 +02:00
Valentin Lorentz
a5c928b364 RSS: Fix test broken by 2caade8f. 2014-07-31 20:12:37 +02:00
Valentin Lorentz
2f327ab9c1 Fix Python 2.6 support (broken in the two last commits). 2014-07-31 18:06:20 +00: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
Valentin Lorentz
219c47d1c8 RSS: Major rewriting. @rss works. 2014-07-31 18:44:49 +02:00
Valentin Lorentz
cab9fcdd8d RSS: Group config variables in the code in a more logical way. 2014-07-31 14:59:22 +02:00
Valentin Lorentz
7057112d2d RSS: Add tests for announce. 2014-07-30 22:00:20 +00:00
Mikaela Suomalainen
2caade8f7c RSS: make more sense to default config
* Change default separator to `|` as used by Topic plugin.
* Show links with manual calling and automatic announcement.
    * In most of cases we want to know where does new RSS feed title point to...
2014-06-20 22:09:30 +03:00
Mikaela Suomalainen
91fcd704ce RSS: fix quoting & mention onetoone in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
fc81013be5 Mass rename README.txt --> README.md .
[SKIP CI]
2014-06-06 12:42:33 +02:00
Mikaela Suomalainen
674192f2f0 RSS: update l10n-fi. 2014-05-31 15:10:50 +03:00
Valentin Lorentz
bd0a077482 RSS: Update l10n-fr. 2014-05-31 11:46:31 +02:00
nyuszika7h
e791090044 RSS: Update translation files 2014-05-10 23:48:00 +02:00
nyuszika7h
ace561cafa RSS: Change 'New news' to 'News' in announcements
'New news' sounds redundant, and the plugin is known for reannouncing
olf headlines anyway. ;)
2014-05-10 09:28:41 +02:00
Valentin Lorentz
5f306a8c74 Fix neutral pronouns. 2014-04-11 21:56:42 +00:00
Dave Woodfall
e5825a4d37 RSS 'initialAnnounceHeadlines' variable changed to Integer.
Zero can be used for 'initialAnnounceHeadlines' in RSS plugin.
2014-04-05 06:54:36 +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
a0fff2ade2 RSS: update l10n-fi. 2014-03-22 16:09:03 +02:00
Mikaela Suomalainen
bf2640ddb8 User: update l10n-fi. 2014-03-22 15:44:26 +02:00
Mikaela Suomalainen
8377029993 Time: update l10n-fi. 2014-03-22 14:50:46 +02:00
Valentin Lorentz
0c2ab9d83b RSS: Another attempt at fixing encoding issues (again). 2014-03-22 11:56:38 +00:00
Valentin Lorentz
06c83cbf14 RSS: Fix typo (again). 2014-03-22 11:47:28 +00:00
Valentin Lorentz
04cf2ca27a RSS: Fix typo. 2014-03-22 11:37:52 +00:00
Valentin Lorentz
933d4d3ffa RSS: Another attempt at fixing encoding issues. 2014-03-22 11:29:29 +00: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
bb7db3ab21 Continue accelerating the 2to3 step (remove fix_except). 2014-01-20 15:49:15 +01:00
Valentin Lorentz
2fda69b4d6 Continue accelerating the 2to3 step (remove fix_raise). 2014-01-20 15:43:55 +01:00
Valentin Lorentz
4652c9ce51 Start accelerating the 2to3 step (remove fix_apply, fix_buffer, fix_callable, fix_exec, fix_execfile, fix_exitfunc, fix_filter, fix_funcattrs, fix_future, fix_getcwdu, and fix_has_key). 2014-01-20 14:49:47 +01:00
Valentin Lorentz
40675ffdfa Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	plugins/Admin/plugin.py
	plugins/BadWords/config.py
	plugins/Filter/plugin.py
	plugins/Google/plugin.py
	plugins/Math/plugin.py
	plugins/Misc/plugin.py
	plugins/Note/plugin.py
	plugins/RSS/plugin.py
	plugins/Seen/test.py
	plugins/ShrinkUrl/config.py
	plugins/ShrinkUrl/plugin.py
	plugins/ShrinkUrl/test.py
	plugins/Status/plugin.py
	plugins/String/config.py
	plugins/String/plugin.py
	plugins/Time/plugin.py
	plugins/Todo/plugin.py
	plugins/Web/plugin.py
	plugins/__init__.py
	scripts/supybot-botchk
	setup.py
	src/__init__.py
	src/callbacks.py
	src/commands.py
	src/conf.py
	src/drivers/Socket.py
	src/ircdb.py
	src/irclib.py
	src/ircutils.py
	src/questions.py
	src/registry.py
	src/schedule.py
	src/test.py
	src/utils/file.py
	src/utils/gen.py
	src/utils/net.py
	src/utils/web.py
	src/world.py
2013-08-24 11:28:29 +02:00
James McCoy
a483fef39d RSS: Ensure results is declared before trying to access it
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2013-08-24 00:04:29 -04:00
Arnout Engelen
58e7e61d69 Only reset the cached feed when the response actually contains headlines
Some feeds, such as those from sourceforge.net, will sometimes show an error
page rather than a feed. In this case the feed cache used to be cleared for
that feed, causing all 'old' headlines to be flooded to the channel as soon
as the feed came back online.

This patch hopefully fixes that by only resetting the cache when the returned
page actually contains headlines.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2013-08-23 23:13:28 -04:00
Kill Your TV
b46a0dd6a2 Unicode fixes for python 2.x
These changes have been tested with Python 3.2.3 and Python 2.7.5.
2013-08-17 14:12:10 +00:00
Kill Your TV
56c80e62f1 RSS: fix initialAnnounceHeadlines not being obeyed 2013-08-15 22:32:19 +00:00
Valentin Lorentz
33a236079f RSS: Fall back to decoding the headline with 'utf8' if 'ascii' failed. 2013-07-31 09:33:03 +00:00
Valentin Lorentz
3341cd15ba Admin & Factoids & Google & Later & Misc & NickAuth & RSS & Seen & User & Web: Update messages.pot 2013-07-25 11:39:06 +02:00