]> git.openstreetmap.org Git - osqa.git/commit
Closing OSQA 201, Add a "site maintenance" switch and page.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 17 May 2010 12:30:57 +0000 (12:30 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 17 May 2010 12:30:57 +0000 (12:30 +0000)
commitdb72b4bb903793a6b04ab26a70c7961258d345f8
tree1d2ad5d48a6f5c64a781cc7fbeff3c8cfea2d8e5
parentdc419dfdff7030d1eea9d3c21803e8dbb6fdf071
Closing OSQA 201, Add a "site maintenance" switch and page.
We can define some ips that are allowed to access the site normally, and also a message to display in the maintenance page.
These settings can be adjusted (add/remove more ips, change the message) while in maintenance mode.

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@289 0cfe37f9-358a-4d5e-be75-b63607b5c754
12 files changed:
forum/forms.py
forum/middleware/request_utils.py
forum/settings/__init__.py
forum/settings/base.py
forum/settings/forms.py
forum/settings/repgain.py
forum/skins/default/media/style/djstyle_admin.css
forum/skins/default/templates/410.html [new file with mode: 0644]
forum/skins/default/templates/osqaadmin/djstyle_base.html
forum/skins/default/templates/osqaadmin/maintenance.html [new file with mode: 0644]
forum/urls.py
forum/views/admin.py