summaryrefslogtreecommitdiff
path: root/settings.py
AgeCommit message (Collapse)Author
2010-06-20Remove AutoUserMiddlewareDan McGee
This was having some serious effects on caching as we would always have to access the user in the session, marking every page with a "Vary: Cookie" header. This is the start of stamping that out. The way we get the user for news item creation is now more similar to that from the todo lists, but not quite. That should be adjusted to be more like the news item creation. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-05Updates for CSRF protection in Django 1.2.XDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redirect to root url after loginDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04Add a hacked version of Django UpdateCacheMiddlewarerelease_2010-05-04Dan McGee
This is to address a rather large issue with caching of feed objects in Django. Because they are built up using an XML library that does multiple writes on a file-like object, a single feed object, even when pulled from memcached, generates 1582 writes to the open socket rather than the optimal one it could do. Some version of this fix will be making it upstream, but I need to figure out how to approach that before I do so and for now this will address one of our larger performance issues on the live site since the packages feed is hit as often as it is. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Add initial South migration for 'main' appDan McGee
Thanks to Evangelos Foutras for the inspiration. Recreated from scratch only to make sure everything is in sync. From this point on, you will need to have the 'south' Django/Python package installed to use archweb. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Make all app name inclusions relativeDan McGee
No need to slap 'archweb' in all of these in the settings file. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-15Remove default debug setting in main settingsIsmael Carnales
Signed-off-by: Ismael Carnales <icarnales@gmail.com>
2009-11-09added USE_ETAGS setting from archweb_pubIsmael Carnales
2009-11-09added chache middlewares and anonymous only cache settingIsmael Carnales
2009-11-09added mirrors app from archweb_pubIsmael Carnales
2009-11-09added sitemaps from archweb_pubIsmael Carnales
2009-11-09added public appIsmael Carnales
2009-11-09removed RequireLoginMiddlewareIsmael Carnales
2009-11-09modified import paths from archweb_dev to archwebIsmael Carnales
2009-08-10Add a page to aid Aaron in user creation.Dusty Phillips
2008-11-27Remove caching crud from archweb_devDan McGee
We aren't going to enable this because it is a restricted-access site, so no need in keeping the crud around. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-10-10drop useless viewDusty Phillips
2008-10-10drop wiki appDusty Phillips
2008-10-05use an autouser middleware to set the creator of an objectDusty Phillips
2008-06-04Template fix. doh!eliott
2008-05-23Updates for deployment.eliott
- Fix for reporead when description is empty. - Fix for settings.py. Middleware wasn't found (changed import name) - Clarity change for dashboard.
2008-04-16Added default charset setting valueeliott
2008-04-11set some default values in the settings fileeliott
2008-04-09Removed login_required from the individual views.eliott
Not entire dev site requires login.
2008-03-08Moved models aroundeliott
2008-01-05Removed DATA_DIR setting vareliott
2008-01-05subtle changes to settings fileseliott
moved cache controls to local_settings
2008-01-05Changed a few var nameseliott
2007-12-29Removed public appeliott
2007-12-29Moved some things around.eliott
2007-12-29Massive retab fest.eliott
Also added vim command comment to the end of files.
2007-12-29Moved common to publiceliott
2007-12-29Moved admin media under media dir.eliott
It helps with both serving static files during a testing scenario, to easing deployment.
2007-12-26initial stab at an authentication middlewareeliott
2007-12-23removed need to specify deploypath manuallyeliott
2007-12-22renamed importseliott
2007-11-03Initial import for public release...eliott
Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!