Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/6ac2aa1ca9096712#
Hi Alex, Phil
For quite some time we have talked (especially with Alex) about
having Website Maintenance Mode.
At some point we have already created the task for this in In-Portal 5.2.0,
but looks like there is NO discussion yet + some of the ideas needs to be
finalized here before implementing.
Please review my description of the task and let me know if any
notes/issue. ANY feedback is welcome:*
I. Enabling "Maintenance Mode"
...
Add 2 new options to "debug.php" file at the top
- MAINTENANCE_MODE - 1 - similar to DBG ON/OFF settings
- MAINTENANCE_MODE_IPS - will list IPs or hosts the same way DBG works
...
- separating with semi-colon
...
II. Managing "Maintenance Mode Messages"
...
...
- NEW "Maintenance Mode" section under Admin->Configuration->Advanced.
...
- Will have options:
...
- Front-End message (textarea, from from here to be put in to Template and
...
- shown when Maintenance mode is ON or there is NO DBG connection)
...
- Admin message (textarea, from from here to be put in to Template and
...
- shown when Maintenance mode is ON or there is NO DBG connection Admin Login
...
- screen).
...
III. Front End behavior:
...
...
- END all Existing Sessions and LOGOUT users.
...
- AUTO-REDIRECT all New and Existing Users to special Page (generated from
...
- the Template) stating that site is in "Maintenance Mode" and displays
...
- System Message (defined via Site Configuration in Admin)
...
- EXCEPTIONS are IPs specified in Admin Config settings (see above)
...
- ALWAYS auto-redirect to this generated Front-end page if there is NO DB
...
- Connection (for some reason) even if my IP is in list
...
- of MAINTENANCE_MODE_IPS.
...
IV. Admin behavior:
...
...
- END all Existing Sessions and LOGOUT users.
...
- AUTO-REDIRECT to special Admin Page (generated from the Template)
...
- stating that site is in "Maintenance Mode" and displays System Message
...
- (defined via Site Configuration in Admin)
...
- EXCEPTIONS are IPs specified in Admin Config settings (see above)
...
- ALWAYS auto-redirect to this generated Admin page if there is NO DB
...
- Connection (for some reason) even if my IP is in list
...
- of MAINTENANCE_MODE_IPS.
Here is the original task (OLD description there yet):
...
Related Tasks
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
DA