Commit Graph

35 Commits

Author SHA1 Message Date
Dan McGee
6f9308abd9 Redirect to root url after login
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:43 -05:00
Dan McGee
4b7335f713 Add a hacked version of Django UpdateCacheMiddleware
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-05-04 10:53:40 -05:00
Dan McGee
30073392a4 Add initial South migration for 'main' app
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-31 13:20:49 -06:00
Dan McGee
b48f5ae17a Make all app name inclusions relative
No need to slap 'archweb' in all of these in the settings file.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31 13:17:03 -06:00
Ismael Carnales
c6564e2c5b Remove default debug setting in main settings
Signed-off-by: Ismael Carnales <icarnales@gmail.com>
2009-11-15 03:04:03 -02:00
Ismael Carnales
0f4e480eec added USE_ETAGS setting from archweb_pub 2009-11-09 22:32:13 -02:00
Ismael Carnales
f25a80c06b added chache middlewares and anonymous only cache setting 2009-11-09 22:30:40 -02:00
Ismael Carnales
6243f7ba66 added mirrors app from archweb_pub 2009-11-09 22:24:46 -02:00
Ismael Carnales
c1a197d29a added sitemaps from archweb_pub 2009-11-09 22:24:45 -02:00
Ismael Carnales
7cd5c1f5a6 added public app 2009-11-09 22:24:40 -02:00
Ismael Carnales
69404ac120 removed RequireLoginMiddleware 2009-11-09 22:24:38 -02:00
Ismael Carnales
48904e4857 modified import paths from archweb_dev to archweb 2009-11-09 22:24:34 -02:00
Dusty Phillips
0d2560fa55 Add a page to aid Aaron in user creation. 2009-08-10 15:47:02 -04:00
Dan McGee
98155937e0 Remove caching crud from archweb_dev
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-11-27 20:35:49 -05:00
Dusty Phillips
0e0265a624 drop useless view 2008-10-10 18:51:06 -04:00
Dusty Phillips
5e68129b0f drop wiki app 2008-10-10 18:04:41 -04:00
Dusty Phillips
06963130c8 use an autouser middleware to set the creator of an object 2008-10-05 21:05:11 -04:00
eliott
21f1b34ba3 Template fix. doh! 2008-06-04 18:50:49 -07:00
eliott
45b1c2593e Updates for deployment.
- Fix for reporead when description is empty.
- Fix for settings.py. Middleware wasn't found (changed import name)
- Clarity change for dashboard.
2008-05-23 00:32:32 -04:00
eliott
b298d9ea74 Added default charset setting value 2008-04-16 19:51:29 -07:00
eliott
2f7ebf8558 set some default values in the settings file 2008-04-11 21:34:23 -07:00
eliott
751ac09698 Removed login_required from the individual views.
Not entire dev site requires login.
2008-04-09 22:43:07 -07:00
eliott
9b7b512254 Moved models around 2008-03-08 00:13:41 -08:00
eliott
ae80502be0 Removed DATA_DIR setting var 2008-01-05 17:18:38 -08:00
eliott
4aee4dd236 subtle changes to settings files
moved cache controls to local_settings
2008-01-05 17:08:07 -08:00
eliott
ea8a7cb4e3 Changed a few var names 2008-01-05 16:59:54 -08:00
eliott
cdf2c11aeb Removed public app 2007-12-29 18:25:03 -08:00
eliott
706152de89 Moved some things around. 2007-12-29 18:21:10 -08:00
eliott
3e297efad8 Massive retab fest.
Also added vim command comment to the end of files.
2007-12-29 16:42:55 -08:00
eliott
c1063478aa Moved common to public 2007-12-29 15:07:19 -08:00
eliott
824004e7db Moved admin media under media dir.
It helps with both serving static files during a testing scenario, to easing
deployment.
2007-12-29 14:51:13 -08:00
eliott
6ee7a93686 initial stab at an authentication middleware 2007-12-26 11:20:24 -08:00
eliott
6226b02f8b removed need to specify deploypath manually 2007-12-23 00:35:10 -05:00
eliott
bd9a99d791 renamed imports 2007-12-22 16:21:21 -05:00
eliott
39a548fd26 Initial import for public release...
Special Note
  Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
2007-11-03 03:45:10 -04:00