log gpp/forums/views/main.py @ 562:98b373ca09f3

age author description
Wed, 08 Feb 2012 18:58:57 -0600 Brian Neal For bitbucket issue #3, ensure that changes to Profile, Post & Topic models
Thu, 22 Dec 2011 02:10:27 +0000 Brian Neal For #241, add a URL to view the last post in a forum topic.
Sun, 18 Dec 2011 23:46:52 +0000 Brian Neal Created Celery tasks to process new posts and topics. Keep the updated topic set in Redis.
Wed, 17 Aug 2011 01:02:08 +0000 Brian Neal Smarter search index updating for forums. This work is for #227.
Sun, 03 Jul 2011 19:35:09 +0000 Brian Neal Fixing #221. Found some additional cases where the forum moderator check was failing. Replaced this code with calls to the new permissions module.
Sat, 02 Jul 2011 23:35:45 +0000 Brian Neal Fixing #221. Also combined all permissions checks into a new module, permissions.py. This allows us to cache user, category, and forum groups information since it rarely changes.
Mon, 13 Jun 2011 02:19:13 +0000 Brian Neal For #218, put back the logic that updates the topic last visit after you make a post.
Wed, 08 Jun 2011 00:24:41 +0000 Brian Neal Attempting to fix #218; update the topic last visit time with 'now' when viewing the last page of a topic, otherwise use the creation time of the last post on the page.
Sat, 16 Apr 2011 19:30:29 +0000 Brian Neal Tweak quoting for Markdown. Fixing #209.
Sat, 02 Apr 2011 00:47:05 +0000 Brian Neal Fixing #177; added a view to display the last x active topics (where x is between 10 and 50). Added a link to the view on the forum query drop down.
Wed, 16 Mar 2011 01:49:10 +0000 Brian Neal Fixing #188; improve number of SQL queries for mark all forums read and add the button on the view topics with unread posts view.
Wed, 09 Mar 2011 02:39:24 +0000 Brian Neal Fixing #185; add a global forums catchup button.
Tue, 08 Mar 2011 01:16:56 +0000 Brian Neal Fixing #156; improve upon the work done in r397. Use the forum last visit record if there is no topic last visit record.
Mon, 07 Mar 2011 01:22:49 +0000 Brian Neal Fixing #156. Making it possible to goto the first unread post in a thread. Made the 'New' icon a link; when displayed on a topic, takes you to the first unread post.
Wed, 02 Mar 2011 02:34:57 +0000 Brian Neal Fix #171; forums weren't assigning badge ownership correctly when pre-fetching data.
Wed, 23 Feb 2011 03:40:18 +0000 Brian Neal Various small changes to reduce database hits.
Tue, 22 Feb 2011 05:40:29 +0000 Brian Neal Some optimizations to reduce database query times.
Sat, 05 Feb 2011 21:46:52 +0000 Brian Neal Fix a bug where you'd get an error when trying to delete a forum thread (topic does not exist). Apparently when you call topic.delete() the posts would get deleted, but the signal handler for each one would run, and it would try to update the topic's post count or something, but the topic was gone? Reworked the code a bit and explicitly delete the posts first. I also added a sync() call on the parent forum since post counts were not getting adjusted.
Mon, 10 Jan 2011 03:33:21 +0000 Brian Neal Fix #139; when editing a user's post, the post author's signature should appear with the post, not the user (moderator) making the edit).
Sat, 08 Jan 2011 22:04:54 +0000 Brian Neal Fixing #133; add the ability to edit a topic's title when you edit the first post in that topic.
Wed, 29 Dec 2010 04:56:53 +0000 Brian Neal Fixed a bug where if you tried to delete a topic the new last post might be in that topic, so a cascading delete would occur and the forum would get deleted.
Sat, 23 Oct 2010 20:19:46 +0000 Brian Neal For #95. You can now make posts with no text in the body if you have attachments. And now if you create a new topic with an attachment, and the POST fails (say you forgot the topic title), we will now re-attach attachments. Also fixed a bug in the smiley code that would arise if it was asked to markup an empty string.
Thu, 14 Oct 2010 02:39:35 +0000 Brian Neal This is a first rough commit for #95, adding the ability to embed YouTube videos in forum posts. Some more polish and testing needs to happen at this point. I wanted to get all these changes off my hard drive and into the repository.
Sun, 03 Oct 2010 20:44:09 +0000 Brian Neal Fixing #121. The forum query pulldown should appear on all forum query pages for consistency.
Thu, 23 Sep 2010 00:26:07 +0000 Brian Neal Fixing #113; re-arrange the RSS forum feed icons around a bit.
Thu, 26 Aug 2010 04:01:58 +0000 Brian Neal Fix problem when deleting multiple topics from a forum in bulk. We getting a list of topics from the database, then deleting each topic. But after you delete a topic, the forum.last_post on the remaining non-deleted topics can be stale. This was causing a weird DoesNotExist. Now just get the topics one at a time from the database.
Sun, 01 Aug 2010 21:26:12 +0000 Brian Neal Implement a forum favorites feature for #82