log gpp/forums/views.py @ 104:59688577a8f1

age author description
Thu, 17 Sep 2009 01:44:51 +0000 Brian Neal Forums: display of sticky status. Moderators/superusers see IP address of post. Added a can_reply flag to the template and have view compute it.
Wed, 16 Sep 2009 02:01:57 +0000 Brian Neal Forums: new topic form sprouts boolean fields for sticky and locking if the user has rights. Implemented the locked logic. Fixed a bug where topics where getting out of order (the view_count was bumping the update_date because of auto_now).
Wed, 16 Sep 2009 00:39:27 +0000 Brian Neal Forums: use select_related() with get_object_or_404() to reduce queries.
Tue, 15 Sep 2009 03:15:20 +0000 Brian Neal Forums: groups support. Some experimentation with select_related() to reduce queries. There are more opportunities for this, see the TODO comments in views.py.
Mon, 14 Sep 2009 00:06:08 +0000 Brian Neal Forums: added error handling to the flagging of posts. Did the same with the comments function too.
Sun, 13 Sep 2009 21:45:35 +0000 Brian Neal Forums: flag posts.
Sun, 13 Sep 2009 19:58:31 +0000 Brian Neal Render the forum page navigation in the view with render_to_string() to avoid doing it twice in the template code. Also undo a mistake in the last commit. Need 2 different orderings for Post objects: by creation date in normal views, and by reverse creation date in the admin.
Sun, 13 Sep 2009 04:33:15 +0000 Brian Neal Forums: paginate the topic list inside a forum.
Sun, 13 Sep 2009 04:05:37 +0000 Brian Neal Forums: added support for Post get_absolute_url()
Sun, 13 Sep 2009 00:21:54 +0000 Brian Neal Forums: pagination for topics.
Sat, 12 Sep 2009 21:29:31 +0000 Brian Neal Forums: Got the reply function working.
Sat, 12 Sep 2009 18:45:35 +0000 Brian Neal Forums: added intra-page links for posts. Added last_page variable for topic. Conditionally display reply form using last_page.
Sat, 05 Sep 2009 20:47:08 +0000 Brian Neal Forums: Some display work for the posts within a topic. Sketched out a post reply form.
Sat, 29 Aug 2009 20:54:16 +0000 Brian Neal Forums: Added the ability to add a new topic. This is very much a work in progress.