summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-02-04Add date_hierarchy to blog post adminHEADmasterDan McGee1-0/+1
2013-02-04Update .gitignoreDan McGee1-1/+2
2013-02-04Convert to using django.contrib.staticfilesdeployedDan McGee6-18/+28
2013-02-04Move all static media filesDan McGee95-0/+0
2013-02-04Modernize settings.pyDan McGee1-5/+15
* Remove gzip filter (NGINX should be able to do this) * Move some other middleware around * Use cache-busting static files backend * Use cached_db session storage
2013-02-04Start removal of deprecated generic function view usageDan McGee2-8/+6
2013-02-04Touch up akismet.py for a few minor issuesDan McGee1-3/+3
These come from https://github.com/miracle2k/python-akismet and deal with urlencode()'s handling of unicode characters.
2012-04-30Convert BannedIP to a GenericIPAddressFieldDan McGee1-1/+1
2012-04-30Remove caching middlewareDan McGee1-2/+0
Not worth caching at this level; this stuff just doesn't work quite right and is a pain in the ass. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2012-03-25Adjust urls imports for Django 1.4Dan McGee2-3/+3
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2012-03-25Fix use of messages frameworkDan McGee1-0/+2
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2012-03-23Django 1.4 upgradeDan McGee2-11/+9
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2012-02-15Show 10 instead of 5 most recent postsDan McGee3-3/+3
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2012-02-15Bump script versionDan McGee2-1/+1
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2012-02-15Don't style pre tags if marked with notpretty classDan McGee1-1/+1
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2012-02-15Use a constant-width space in tagcloudDan McGee1-1/+1
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2012-02-15Update jQuery to 1.7.1Dan McGee4-1617/+1888
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-11-08Add check to see if a host/netmask is matched from banned IPsDan McGee1-2/+5
These can't be entered through the Django admin as it is total shit, but we can at least do this manually and then respect the entries in the database. This will cover a lot of the frequent spam we've been getting lately. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-09-18Ensure email subject doesn't contain newlinesDan McGee1-1/+2
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-07-18A few minor stylesheet tweaksDan McGee2-4/+9
Mainly some fixups for prettyprint code blocks not having as much padding or margin as I had planned for. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-07-18Show all catgories on category detail pageDan McGee2-1/+17
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-07-18Bump jQuery version to 1.6.2Dan McGee4-1857/+3510
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-07-18Update google-code-prettifyDan McGee111-1097/+9213
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-06-19Add search to banned IP/name adminDan McGee1-2/+10
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-06-19Ensure rewriten IP address is checked against ban listDan McGee2-10/+16
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-06-19Skip Akismet check if key undefinedDan McGee1-0/+3
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-06-19Use exists() instead of count()Dan McGee1-3/+3
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-06-12Rewrite IPv6 addrs to IPv4 if possibleDan McGee2-4/+29
This allows my IP filtering stuff to work better, as well as allows editing of these comments through the admin interface without being a total pain in the ass. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-05-15More relevant post category sortingDan McGee2-7/+23
And also ensure public posts only are shown, whoops! Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-03-241.3 updates: load url from future tagDan McGee9-23/+41
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-03-241.3 updates: update template loader definitionsDan McGee1-2/+2
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-03-24Don't blow up on missing headers in comment submissionDan McGee1-3/+3
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-03-24Disable the profanity filteringDan McGee1-0/+2
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-02-18Add similar posts section to blog templateDan McGee4-1/+21
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-01-30Update latex syntax highlighting from ticket #115Dan McGee2-2/+2
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-01-20Remove links pageDan McGee4-47/+1
Since I never update it anyway. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-01-10gjslint recommended changesDan McGee1-2/+6
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-01-05Update jQuery to 1.4.4Dan McGee4-1248/+2200
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-01-05Remove unused importDan McGee1-1/+0
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-01-05Mark manage.py as a python2 scriptDan McGee1-1/+1
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-01-05Make admin link point directly to comments adminDan McGee1-2/+4
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2010-10-01Log spam/ham markings in adminDan McGee1-0/+2
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2010-08-27Allow filtering on comments enabledDan McGee1-1/+1
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2010-08-13Don't send emails or check my own commentsDan McGee1-0/+6
I'm fairly certain I know that I posted on my own blog. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2010-08-13Move comment email notification to templatesDan McGee3-21/+17
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2010-07-27Add mark as ham/spam admin actionsDan McGee1-1/+28
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-27Move bulk of akismet prep into a new moduleDan McGee2-19/+55
This will allow me to add some ham/spam marker methods as admin actions without duplicating a ton of code. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-27Simplify admin declarationsDan McGee1-9/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-27Update model to match realityDan McGee1-1/+1
I added this index a while back, so add it here too. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-27Update to prettify 21-Jul-2010Dan McGee45-150/+303
Signed-off-by: Dan McGee <dan@archlinux.org>