log gpp/forums/views/main.py @ 329:000c006fee97

age author description
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.