log gpp/forums/views.py @ 120:f8f4514b806a

age author description
Sun, 25 Oct 2009 21:55:28 +0000 Brian Neal Added a 24-hour time preference flag in the user profile. Added forum template tags for showing forum dates/times adjusted for the user's time zone.
Fri, 23 Oct 2009 03:09:33 +0000 Brian Neal Forums: pre-select all the user profiles when displaying a topic. As it was, the template was calling get_user_profile which was causing a db hit on every post in the topic.
Thu, 22 Oct 2009 02:57:18 +0000 Brian Neal Forums: split topic.
Sun, 11 Oct 2009 20:27:07 +0000 Brian Neal Forums: Implemented unread status for topics and posts.
Sun, 11 Oct 2009 19:10:54 +0000 Brian Neal Forums: ForumLastVisit logic in place. Need to add code for topics and posts next.
Wed, 30 Sep 2009 00:42:13 +0000 Brian Neal Forums: added a sync() function on the forum model. Created javascript for the moderate forum function to drive the master topic select checkbox.
Mon, 28 Sep 2009 03:57:09 +0000 Brian Neal Forums: implemented the bulk moderator functions that operate on a forum: bulk sticky, lock, delete, and move. These haven't been tested that well yet.
Sat, 26 Sep 2009 20:19:45 +0000 Brian Neal Forums: implemented the move topic feature.
Sat, 26 Sep 2009 18:03:57 +0000 Brian Neal Forums: implemented topic level moderator controls.
Sat, 26 Sep 2009 03:55:50 +0000 Brian Neal Forums: quoting existing posts.
Tue, 22 Sep 2009 03:36:39 +0000 Brian Neal Forums: implemented post delete feature.
Sat, 19 Sep 2009 21:49:56 +0000 Brian Neal Forums: implemented the edit post function.
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.
Sun, 23 Aug 2009 04:04:29 +0000 Brian Neal Forums: started the ability to display topics inside a forum.
Sun, 23 Aug 2009 00:14:52 +0000 Brian Neal More work on forums. Committing what we got so far.
Sun, 05 Jul 2009 00:03:40 +0000 Brian Neal First checkin of forums. Have noticed cascading delete behavior. Will try to prevent this next.