Magnus Hagander [Sat, 28 Aug 2010 11:53:20 +0000 (13:53 +0200)]
Add a script that synchronizes a twitter list with the list of subscribers.
In passing, create a TwitterClient base class for use for all communication
with twitter.
Magnus Hagander [Tue, 24 Aug 2010 13:24:02 +0000 (15:24 +0200)]
Store the Last-Modified time as received from the webserver.
Use this for If-Modified-Since, instead of just using the timestamp
of the latest blog post found.
This should keep us from pulling the full feed from any blog that
has modified the contents of a post (or comments) without updating
the post date/GUID.
Magnus Hagander [Fri, 2 Jul 2010 09:08:07 +0000 (10:08 +0100)]
Properly escape title of blogposts when generating Delete link with the title in it,
so it's possible to delete a post that has a single quote in the title.
Per report from JD
Magnus Hagander [Sat, 19 Jun 2010 15:11:55 +0000 (17:11 +0200)]
Update sample INI file to reflect twitter-oauth changes
Magnus Hagander [Sat, 19 Jun 2010 13:27:45 +0000 (15:27 +0200)]
Better way for old python compatibility (should work this time, I think)
Magnus Hagander [Sat, 19 Jun 2010 13:25:54 +0000 (15:25 +0200)]
Attempt to make compatible with old version of python used on planet server
Magnus Hagander [Sat, 19 Jun 2010 13:20:54 +0000 (15:20 +0200)]
Make the twitter poster use OAuth authentication instead of the old HTTP
based one, since Twitter will discontinue that service in a couple of days.
Magnus Hagander [Sat, 19 Jun 2010 13:18:38 +0000 (15:18 +0200)]
Import the oauth2 library so we can make oauth calls to twitter.
Imported from http://github.com/brosner/python-oauth2
Magnus Hagander [Tue, 20 Apr 2010 10:36:15 +0000 (12:36 +0200)]
Add field to make it possible to exclude a blog from the toplists, used
for special blogs that aren't personal, such as site-feeds.
Magnus Hagander [Tue, 20 Apr 2010 10:32:41 +0000 (12:32 +0200)]
Oops, incorrect edit applied!
Magnus Hagander [Tue, 20 Apr 2010 10:26:04 +0000 (12:26 +0200)]
Update toplists of posts to:
* Include all posters in the posting toplist, not just the teamless ones
* Include team name after poster name in the top list
* Change the team toplist to just list the team, not all members, since
members are now listed in the main toplist.
Along the line, fix indent of text vs RSS button when overflowing to a
second line for long names (more common now that team names are included)
Magnus Hagander [Fri, 16 Apr 2010 12:36:07 +0000 (14:36 +0200)]
Typo patrol, per Dave Page
Magnus Hagander [Tue, 13 Apr 2010 07:50:18 +0000 (09:50 +0200)]
Include exception message when failing to download a blog feed
Magnus Hagander [Thu, 1 Apr 2010 18:25:27 +0000 (20:25 +0200)]
Switch to using bit.ly instead of tr.im, since tr.im seems - once
again - about to be shut down.
Magnus Hagander [Thu, 25 Feb 2010 14:05:04 +0000 (15:05 +0100)]
Add note about using names for blogs, not just nicknames
Magnus Hagander [Thu, 28 Jan 2010 18:24:12 +0000 (19:24 +0100)]
Drop max length of post back down to 2048
Magnus Hagander [Wed, 27 Jan 2010 09:27:06 +0000 (10:27 +0100)]
Fix error message when trying to add an empty feed.
Magnus Hagander [Mon, 28 Dec 2009 18:31:21 +0000 (19:31 +0100)]
Fix typo
Magnus Hagander [Wed, 11 Nov 2009 18:07:26 +0000 (19:07 +0100)]
Spell fix, per David Wheeler
Magnus Hagander [Fri, 23 Oct 2009 17:45:42 +0000 (19:45 +0200)]
Print not allowed in views, remove debugging code
Magnus Hagander [Fri, 16 Oct 2009 22:48:08 +0000 (00:48 +0200)]
Add note that the top lists cover the past month.
Magnus Hagander [Fri, 16 Oct 2009 22:41:30 +0000 (00:41 +0200)]
Only tweet things that have happened in the past 7 days, to avoid flooding
the twitter feed when adding new blogs with many old entries.
Magnus Hagander [Wed, 7 Oct 2009 12:05:46 +0000 (14:05 +0200)]
Force output to UTF8 to work on fbsd
Magnus Hagander [Wed, 7 Oct 2009 12:05:33 +0000 (14:05 +0200)]
Properly deal with blog names/titles with unicode characters in them.
Magnus Hagander [Wed, 7 Oct 2009 11:41:14 +0000 (13:41 +0200)]
Fix exception handling
Magnus Hagander [Sun, 30 Aug 2009 13:08:47 +0000 (15:08 +0200)]
Helpful message about editing things we haven't implemented edit
support for yet.
Magnus Hagander [Sun, 30 Aug 2009 13:07:37 +0000 (15:07 +0200)]
Show registered twitter names in admin app
Magnus Hagander [Sun, 30 Aug 2009 12:37:04 +0000 (14:37 +0200)]
Register the twitter username of blogs (if any), and include
this in the posted tweets.
No way for user to edit his/her own name yet though, that remains
a TODO.
Magnus Hagander [Sun, 30 Aug 2009 12:26:37 +0000 (14:26 +0200)]
Header and (C) messages updates
Magnus Hagander [Sun, 30 Aug 2009 12:22:49 +0000 (14:22 +0200)]
Show link to twitter feed on the frontpage, if one is
configured.
Magnus Hagander [Sun, 30 Aug 2009 12:10:38 +0000 (14:10 +0200)]
URL will look much better in a single-line field. This is just
for viewing anyway.
Magnus Hagander [Sun, 30 Aug 2009 12:08:19 +0000 (14:08 +0200)]
Drive twitter posts from the database instead of the RSS feed, since
we have better information there. Store short URLs as generated by
tr.im, in case we want them for something later. Generate short URLs
using authenticated access to tr.im (if available), so it's possible
to get statistics etc.
Magnus Hagander [Thu, 20 Aug 2009 19:18:02 +0000 (21:18 +0200)]
Oops, need to include the filename!
Magnus Hagander [Thu, 20 Aug 2009 19:07:25 +0000 (21:07 +0200)]
Call twitter posting script from the main cron job
Selena Deckelmann [Tue, 18 Aug 2009 16:39:24 +0000 (10:39 -0600)]
Removed passwords :)
Selena Deckelmann [Tue, 18 Aug 2009 16:31:17 +0000 (10:31 -0600)]
Removed some UTF8 stuff and made imports look nicer
Selena Deckelmann [Tue, 18 Aug 2009 16:30:47 +0000 (10:30 -0600)]
Version from May 18 of posttotwitter.py
Magnus Hagander [Mon, 3 Aug 2009 18:38:32 +0000 (20:38 +0200)]
New way to figure out which text from the RSS flow to include in the blog:
try every option we know about, and pick the longest available text.
Magnus Hagander [Mon, 3 Aug 2009 17:37:46 +0000 (19:37 +0200)]
Support author filter for things like wordpress blogs - simpler
filtering than what google uses.
Magnus Hagander [Mon, 3 Aug 2009 16:45:37 +0000 (18:45 +0200)]
Use full URL to django admin interface, so it works on subpages as well.
Per Stefan.
Magnus Hagander [Mon, 3 Aug 2009 16:44:21 +0000 (18:44 +0200)]
Give status information when discovering metadata, not just a redirect
back to the listing page.
Per complaint from Stefan.
Magnus Hagander [Fri, 31 Jul 2009 14:18:46 +0000 (16:18 +0200)]
List the latest posts when viewing a blog in the admin interface.
Magnus Hagander [Thu, 30 Jul 2009 17:53:30 +0000 (19:53 +0200)]
Remove unnecessary userid column. Users know their userid, admins
use the admin interface for that...
Magnus Hagander [Thu, 30 Jul 2009 17:52:53 +0000 (19:52 +0200)]
Remove separate admin column, fold it into the Operations one,
now that most of it is gone.
Magnus Hagander [Thu, 30 Jul 2009 15:17:45 +0000 (17:17 +0200)]
Remove some superuser admin stuff from the template that should've
aready been removed.
Magnus Hagander [Thu, 30 Jul 2009 15:15:57 +0000 (17:15 +0200)]
Add support for multiple blogs, and registering blogs for teams.
Magnus Hagander [Thu, 30 Jul 2009 15:00:55 +0000 (17:00 +0200)]
Remove support for attaching blogs (those that aren't attached by now
will have to be dealt with manually).
Fix proper checking for duplicate blogs.
Magnus Hagander [Thu, 30 Jul 2009 14:48:46 +0000 (16:48 +0200)]
Add string output for log entries, so they show up nicely in
delete warnings in /admin/.
Magnus Hagander [Thu, 30 Jul 2009 14:44:36 +0000 (16:44 +0200)]
Send approval/deapproval mail from with in the admin site
Magnus Hagander [Thu, 30 Jul 2009 14:20:47 +0000 (16:20 +0200)]
Remove most of the admin functionality in the site itself, instead
relying on the django admin interface to perform all admin operations.
This simplifies the code significantly.
Magnus Hagander [Mon, 22 Jun 2009 20:08:27 +0000 (22:08 +0200)]
Some python code-style changes
Magnus Hagander [Mon, 22 Jun 2009 20:06:01 +0000 (22:06 +0200)]
Meh, add missing file from last commit.
Magnus Hagander [Mon, 22 Jun 2009 20:05:06 +0000 (22:05 +0200)]
Add a list of all subscribed blogs as a subpage, per request from
Dave Page and Robert Treat.
Magnus Hagander [Mon, 22 Jun 2009 15:02:06 +0000 (17:02 +0200)]
List which members are posting in a team, when a team is listed on
the toplist.
Magnus Hagander [Wed, 17 Jun 2009 17:36:24 +0000 (19:36 +0200)]
Don't include hidden posts or nonapproved blogs in toplists. Oops.
Magnus Hagander [Wed, 17 Jun 2009 17:31:14 +0000 (19:31 +0200)]
Use unicode instead of ascii in generating strings, so the admin
interface doesn't barf.
Magnus Hagander [Tue, 16 Jun 2009 19:10:44 +0000 (21:10 +0200)]
Add limits to the lists, per Robert Treat.
Magnus Hagander [Tue, 16 Jun 2009 19:02:30 +0000 (21:02 +0200)]
Format names of blogs and teams nicer in the admin interface.
Magnus Hagander [Tue, 16 Jun 2009 18:24:46 +0000 (20:24 +0200)]
Double the embarassment - order in the right order.
That should teach me for not testing things...
Magnus Hagander [Tue, 16 Jun 2009 18:24:11 +0000 (20:24 +0200)]
Eh, actually sort the top posters. That was rather embarassing...
Magnus Hagander [Tue, 16 Jun 2009 17:49:14 +0000 (19:49 +0200)]
Revert "Update for wordpress.com blogs"
Breaks on several of our blogs.
This reverts commit
94988c787f699212e583ef2affad04b029cabd0f.
Selena Deckelmann [Tue, 2 Jun 2009 20:42:29 +0000 (13:42 -0700)]
Update for wordpress.com blogs
Magnus Hagander [Fri, 22 May 2009 19:49:24 +0000 (15:49 -0400)]
List top posters and top teams, instead of just listing all feeds.
Also show how many posts each of them have.
Magnus Hagander [Fri, 22 May 2009 19:20:21 +0000 (15:20 -0400)]
Add .gitignore for a bunch of files that are generated
Magnus Hagander [Mon, 18 May 2009 21:06:47 +0000 (17:06 -0400)]
Oops, add missing admin.py file
Magnus Hagander [Mon, 18 May 2009 20:47:33 +0000 (16:47 -0400)]
Update one more namespace for the admin conflict fix
Magnus Hagander [Mon, 18 May 2009 20:43:13 +0000 (16:43 -0400)]
Merge branch 'master' of ssh://git@git.postgresql.org/hamn
Magnus Hagander [Mon, 18 May 2009 20:42:57 +0000 (16:42 -0400)]
Add support for team blogs
Selena Deckelmann [Mon, 18 May 2009 20:27:31 +0000 (16:27 -0400)]
Added default for timestamp and changed payload of feed to TEXT from
VARCHAR
Magnus Hagander [Mon, 18 May 2009 20:11:27 +0000 (16:11 -0400)]
Add Team model for grouping of blogs
Magnus Hagander [Mon, 18 May 2009 20:11:17 +0000 (16:11 -0400)]
Enable django admin interface
Magnus Hagander [Mon, 18 May 2009 20:03:16 +0000 (16:03 -0400)]
Rename admin to hamnadmin, so we don't conflict with django admin module
Selena Deckelmann [Mon, 18 May 2009 17:17:00 +0000 (13:17 -0400)]
Updating installation notes and adding TODO.txt
Magnus Hagander [Mon, 18 May 2009 16:57:12 +0000 (12:57 -0400)]
local_settings.py should never be included in the repository
Magnus Hagander [Mon, 18 May 2009 16:48:17 +0000 (12:48 -0400)]
Rename planetadmin schema and module to admin, to work with new
project name (Selenas fault)
Magnus Hagander [Sun, 1 Mar 2009 16:31:48 +0000 (16:31 +0000)]
Add a page specifically outlining how you add a blog
Magnus Hagander [Fri, 20 Feb 2009 14:07:28 +0000 (14:07 +0000)]
Remove hardcoded connection string (incl password) and put it in the settings
file instead.
Also, inherit from Model implementation so we can use permissions should we want to.
Magnus Hagander [Sun, 15 Feb 2009 11:24:19 +0000 (11:24 +0000)]
Aggregate log reports and don't report on transient errors
(by default anything less than 4 error reports are ignored)
Magnus Hagander [Sun, 15 Feb 2009 11:09:28 +0000 (11:09 +0000)]
Better error checking - show actual exceptions when status field is
not present, instead of just reporting that status was missing.
Magnus Hagander [Mon, 2 Feb 2009 15:32:49 +0000 (15:32 +0000)]
Line-break long PRE-formatted lines as well, so as not
to break the layout.
Selena Deckelmann
Magnus Hagander [Sat, 31 Jan 2009 13:34:42 +0000 (13:34 +0000)]
Make the aggregator write it's log to the database instead of just
a flatfile.
Add ability to view this data on a per-blog basis in /register/.
Set up a cronjob to mail summary logs to planet@postgresql.org.
Magnus Hagander [Wed, 21 Jan 2009 16:17:46 +0000 (16:17 +0000)]
Make it more clear that the delete actually deletes
the whole blog...
Magnus Hagander [Wed, 21 Jan 2009 15:11:57 +0000 (15:11 +0000)]
Commit once for each feed. If an exception occurred while parsing it,
roll it back instead (so that db level exceptions don't cause the
whole aggregator to fail)
Magnus Hagander [Wed, 14 Jan 2009 15:21:42 +0000 (15:21 +0000)]
Add email contact information
Magnus Hagander [Mon, 29 Dec 2008 20:26:30 +0000 (20:26 +0000)]
Add schema changes per latest code changes
Magnus Hagander [Mon, 29 Dec 2008 15:45:11 +0000 (15:45 +0000)]
Support filtering feeds by author names, to pull only parts of a shared blog
without requiring use of specific tags/categories.
In passing, fix a number of error messages to throw the proper type of
exception.
Selena Deckelmann, with some polishing from me.
Magnus Hagander [Mon, 15 Dec 2008 15:57:38 +0000 (15:57 +0000)]
Use yesno filter instead of custom methods to display boolean fields.
It's the Django way....
Magnus Hagander [Sun, 14 Dec 2008 19:12:09 +0000 (19:12 +0000)]
Only list blogs that are approved in the blog-list on the right...
Magnus Hagander [Mon, 1 Dec 2008 13:36:42 +0000 (13:36 +0000)]
Increase truncation limit to 4k, by popular demand.
Magnus Hagander [Wed, 26 Nov 2008 17:50:33 +0000 (17:50 +0000)]
Make it possible for blog owners to delete their blogs
Magnus Hagander [Tue, 25 Nov 2008 20:09:06 +0000 (20:09 +0000)]
Styling updates, from Selena.
Magnus Hagander [Tue, 25 Nov 2008 18:42:26 +0000 (18:42 +0000)]
Show email for user so we can figure out how to mail them...
Magnus Hagander [Mon, 24 Nov 2008 15:32:29 +0000 (15:32 +0000)]
Implement custom exception handling so we can get errors properly
and not just throw a generic 500 Internal Server Error message.
Magnus Hagander [Thu, 20 Nov 2008 14:27:08 +0000 (14:27 +0000)]
Don't use print! Pah!
Also, include some more info in the registration email
Magnus Hagander [Wed, 19 Nov 2008 14:20:57 +0000 (14:20 +0000)]
Prettify list of blogs, and link the urls
Magnus Hagander [Tue, 18 Nov 2008 22:28:43 +0000 (22:28 +0000)]
Add error message templates
Magnus Hagander [Tue, 18 Nov 2008 13:57:23 +0000 (13:57 +0000)]
Add link to manage your registration on the frontpage.
Magnus Hagander [Tue, 18 Nov 2008 13:06:52 +0000 (13:06 +0000)]
Commit the login command, so we properly update last login date
Magnus Hagander [Tue, 18 Nov 2008 12:41:43 +0000 (12:41 +0000)]
Show blogs that don't have an attached user account in a differe color in the admin interface
Magnus Hagander [Tue, 18 Nov 2008 12:32:31 +0000 (12:32 +0000)]
Now that we have the admin schema up, only show feeds that are approved, and only show
posts that are not hidden.