hamn.git
16 years agoRemove hardcoded connection string (incl password) and put it in the settings
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.

16 years agoAggregate log reports and don't report on transient errors
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)

16 years agoBetter error checking - show actual exceptions when status field is
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.

16 years agoLine-break long PRE-formatted lines as well, so as not
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

16 years agoMake the aggregator write it's log to the database instead of just
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.

16 years agoMake it more clear that the delete actually deletes
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...

16 years agoCommit once for each feed. If an exception occurred while parsing it,
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)

16 years agoAdd email contact information
Magnus Hagander [Wed, 14 Jan 2009 15:21:42 +0000 (15:21 +0000)]
Add email contact information

16 years agoAdd schema changes per latest code changes
Magnus Hagander [Mon, 29 Dec 2008 20:26:30 +0000 (20:26 +0000)]
Add schema changes per latest code changes

16 years agoSupport filtering feeds by author names, to pull only parts of a shared blog
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.

16 years agoUse yesno filter instead of custom methods to display boolean fields.
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....

16 years agoOnly list blogs that are approved in the blog-list on the right...
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...

16 years agoIncrease truncation limit to 4k, by popular demand.
Magnus Hagander [Mon, 1 Dec 2008 13:36:42 +0000 (13:36 +0000)]
Increase truncation limit to 4k, by popular demand.

16 years agoMake it possible for blog owners to delete their blogs
Magnus Hagander [Wed, 26 Nov 2008 17:50:33 +0000 (17:50 +0000)]
Make it possible for blog owners to delete their blogs

16 years agoStyling updates, from Selena.
Magnus Hagander [Tue, 25 Nov 2008 20:09:06 +0000 (20:09 +0000)]
Styling updates, from Selena.

16 years agoShow email for user so we can figure out how to mail them...
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...

16 years agoImplement custom exception handling so we can get errors properly
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.

16 years agoDon't use print! Pah!
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

16 years agoPrettify list of blogs, and link the urls
Magnus Hagander [Wed, 19 Nov 2008 14:20:57 +0000 (14:20 +0000)]
Prettify list of blogs, and link the urls

16 years agoAdd error message templates
Magnus Hagander [Tue, 18 Nov 2008 22:28:43 +0000 (22:28 +0000)]
Add error message templates

16 years agoAdd link to manage your registration on the frontpage.
Magnus Hagander [Tue, 18 Nov 2008 13:57:23 +0000 (13:57 +0000)]
Add link to manage your registration on the frontpage.

16 years agoCommit the login command, so we properly update last login date
Magnus Hagander [Tue, 18 Nov 2008 13:06:52 +0000 (13:06 +0000)]
Commit the login command, so we properly update last login date

16 years agoShow blogs that don't have an attached user account in a differe color in the admin...
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

16 years agoNow that we have the admin schema up, only show feeds that are approved, and only...
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.

16 years agoAdd WSGI script for running the admin interface
Magnus Hagander [Tue, 18 Nov 2008 10:47:57 +0000 (10:47 +0000)]
Add WSGI script for running the admin interface

16 years agoAdd code to be able to synchronize a majordomo mailinglist
Magnus Hagander [Mon, 17 Nov 2008 13:26:49 +0000 (13:26 +0000)]
Add code to be able to synchronize a majordomo mailinglist
with the owners of the blogs.

16 years agoMake the header link back to the frontpage
Magnus Hagander [Fri, 14 Nov 2008 10:32:35 +0000 (10:32 +0000)]
Make the header link back to the frontpage

16 years agoDo auditlogging as strings so we don't get conversion errors
Magnus Hagander [Tue, 11 Nov 2008 21:34:36 +0000 (21:34 +0000)]
Do auditlogging as strings so we don't get conversion errors

16 years agoAdd confirmation before deleting stuff.
Magnus Hagander [Tue, 11 Nov 2008 21:33:40 +0000 (21:33 +0000)]
Add confirmation before deleting stuff.

16 years agoAdd missing field headers (pending real layout work later)
Magnus Hagander [Tue, 11 Nov 2008 21:08:47 +0000 (21:08 +0000)]
Add missing field headers (pending real layout work later)

16 years agoEnable simple audit logging
Magnus Hagander [Tue, 11 Nov 2008 21:07:14 +0000 (21:07 +0000)]
Enable simple audit logging

16 years agoSend email when something is done that requires admin approval.
Magnus Hagander [Tue, 11 Nov 2008 19:58:10 +0000 (19:58 +0000)]
Send email when something is done that requires admin approval.

16 years agoInitial version of django-based tool to administer blog registrations,
Magnus Hagander [Mon, 3 Nov 2008 15:53:57 +0000 (15:53 +0000)]
Initial version of django-based tool to administer blog registrations,
both as a subscriber directly and as a planet administrator.

More to be done, not in the least in the design department, but getting
it in there so I don't delete it - and so that others can work on the
all-important design stuff!

16 years agoInclude full text of all feeds in the RSS feed.
Magnus Hagander [Mon, 3 Nov 2008 14:21:31 +0000 (14:21 +0000)]
Include full text of all feeds in the RSS feed.

Create second RSS feed that contains the truncated entries,
like the one before.

16 years agoRe-order the way we try to get the text from a blog post. This
Magnus Hagander [Mon, 3 Nov 2008 14:06:45 +0000 (14:06 +0000)]
Re-order the way we try to get the text from a blog post. This
should favour the longer posts available in some feeds (and
we'll just cut them off before displaying them if required)

16 years agoSwitch to using the Django template engine, since we'll
Magnus Hagander [Mon, 3 Nov 2008 13:40:19 +0000 (13:40 +0000)]
Switch to using the Django template engine, since we'll
be using Django for some of the other stuff later, and it
sucks to have more than one template engine...

16 years agoOnly quote ampersand, that's the one that the HTML validator bitches about.
Magnus Hagander [Tue, 28 Oct 2008 16:17:56 +0000 (16:17 +0000)]
Only quote ampersand, that's the one that the HTML validator bitches about.

Specifically don't quote the whole URL, because it's going into HTML and not
into a different URL.

Per notice from Gevik

16 years agoFix border sizing [Greg Stark]
Dave Page [Tue, 28 Oct 2008 15:56:20 +0000 (15:56 +0000)]
Fix border sizing [Greg Stark]

16 years agoAdd google analytics snippet
Magnus Hagander [Tue, 28 Oct 2008 10:07:50 +0000 (10:07 +0000)]
Add google analytics snippet

16 years agoOops, broken HTML alert!
Magnus Hagander [Tue, 28 Oct 2008 10:07:24 +0000 (10:07 +0000)]
Oops, broken HTML alert!

16 years agoHandle exceptions during parsing. Showed up when the domain of one of our
Magnus Hagander [Mon, 27 Oct 2008 18:40:35 +0000 (18:40 +0000)]
Handle exceptions during parsing. Showed up when the domain of one of our
aggregated blogs dropped off DNS... Oops.

16 years agoAdd comment about english.
Magnus Hagander [Mon, 27 Oct 2008 18:21:25 +0000 (18:21 +0000)]
Add comment about english.

16 years agoAdd simple installation instructions, from Selena.
Magnus Hagander [Mon, 27 Oct 2008 11:34:15 +0000 (11:34 +0000)]
Add simple installation instructions, from Selena.

16 years agoSplit template into a base piece shared for more pages, and a main piece for the...
Magnus Hagander [Sat, 25 Oct 2008 21:34:47 +0000 (21:34 +0000)]
Split template into a base piece shared for more pages, and a main piece for the frontend.

Add support for building static files if template has changed.

And finally, write a policy document using this method and link it in from the front page.

16 years agoMake tidy deal with utf8 properly. Oops.
Magnus Hagander [Sat, 25 Oct 2008 08:14:47 +0000 (08:14 +0000)]
Make tidy deal with utf8 properly. Oops.

16 years agoAdd sample INI file
Magnus Hagander [Fri, 24 Oct 2008 15:41:51 +0000 (15:41 +0000)]
Add sample INI file

16 years agoAdd svn:ignore for files that should not be checked in
Magnus Hagander [Fri, 24 Oct 2008 15:23:30 +0000 (15:23 +0000)]
Add svn:ignore for files that should not be checked in

16 years agoAdd database schema to svn
Magnus Hagander [Fri, 24 Oct 2008 15:22:10 +0000 (15:22 +0000)]
Add database schema to svn

16 years agoRead database from a configfile, so beta can now easily have
Magnus Hagander [Fri, 24 Oct 2008 15:20:43 +0000 (15:20 +0000)]
Read database from a configfile, so beta can now easily have
it's own database.

16 years agoSwitch order of images and textx for feed list, per (broken) patch from Selena.
Magnus Hagander [Thu, 23 Oct 2008 15:46:27 +0000 (15:46 +0000)]
Switch order of images and textx for feed list, per (broken) patch from Selena.

16 years agoSwitch icon for RSS feed links.
Magnus Hagander [Thu, 23 Oct 2008 11:29:11 +0000 (11:29 +0000)]
Switch icon for RSS feed links.

Patch from Selena, reworked for templates.

16 years agoSwitch to using templates to generate the HTML instead
Magnus Hagander [Thu, 23 Oct 2008 11:15:29 +0000 (11:15 +0000)]
Switch to using templates to generate the HTML instead
of hardcoded strings inside the program.

16 years agoAdd mako templating engine that will be used to build
Magnus Hagander [Thu, 23 Oct 2008 11:13:11 +0000 (11:13 +0000)]
Add mako templating engine that will be used to build
the HTML from templates instead of embedded strings.

16 years agoUse HTMLTidy and some attribute trickery to make output XHTML valid.
Magnus Hagander [Wed, 22 Oct 2008 20:58:02 +0000 (20:58 +0000)]
Use HTMLTidy and some attribute trickery to make output XHTML valid.

Change to XHTML Transitional, because that's really what it is.

Fix issue where [...] appendings weren't always rewritten to proper
HTML links in the HTML output.

16 years agoMake the output use the full width of the page.
Magnus Hagander [Wed, 22 Oct 2008 20:20:33 +0000 (20:20 +0000)]
Make the output use the full width of the page.

In passing, fix a number of XHTML errors.

16 years agoSet lastget based on what the RSS feed contained, and not when we last checked it...
Magnus Hagander [Mon, 20 Oct 2008 12:38:09 +0000 (12:38 +0000)]
Set lastget based on what the RSS feed contained, and not when we last checked it. Hopefully this
will fix cases where the time being different between server and planet caused blogs not to update.

16 years agoException handling for semi-broken RSS feeds, like those at Sun...
Magnus Hagander [Sat, 18 Oct 2008 10:14:25 +0000 (10:14 +0000)]
Exception handling for semi-broken RSS feeds, like those at Sun...

16 years agoAdd mandatory alt attributes to img tags
Magnus Hagander [Sat, 18 Oct 2008 09:45:28 +0000 (09:45 +0000)]
Add mandatory alt attributes to img tags

16 years agoAdd workaround for s9y blogs with author pics (hello Ads)
Magnus Hagander [Sat, 18 Oct 2008 08:34:08 +0000 (08:34 +0000)]
Add workaround for s9y blogs with author pics (hello Ads)

16 years agoInitial version of new planet code
Magnus Hagander [Sat, 18 Oct 2008 08:22:43 +0000 (08:22 +0000)]
Initial version of new planet code