Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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"

...

...

  1. NEW "Maintenance Mode" section under Admin->Configuration->Advanced.

...

  1.  Will have options:

      ...

        1. Front-End message (textarea, from from here to be put in to Template and

      ...

        1. shown when Maintenance mode is ON or there is NO DBG connection)

      ...

        1. Admin message  (textarea, from from here to be put in to Template and

      ...

        1. shown when Maintenance mode is ON or there is NO DBG connection Admin Login

      ...

        1. screen).

      ...

      III. Front End behavior:

      ...

      ...

      1. END all Existing Sessions and LOGOUT users.

      ...

      1. AUTO-REDIRECT all New and Existing Users to special Page (generated from

      ...

      1. the Template) stating that site is in "Maintenance Mode" and displays

      ...

      1. System Message (defined via Site Configuration in Admin)

      ...

      1. EXCEPTIONS are IPs specified in Admin Config settings (see above)

      ...

      1. ALWAYS auto-redirect to this generated Front-end page if there is NO DB

      ...

      1. Connection (for some reason) even if my IP is in list

      ...

      1. of MAINTENANCE_MODE_IPS.

      ...

      IV. Admin behavior:

      ...

      ...

      1. END all Existing Sessions and LOGOUT users.

      ...

      1. AUTO-REDIRECT to special Admin Page (generated from the Template)

      ...

      1. stating that site is in "Maintenance Mode" and displays System Message

      ...

      1. (defined via Site Configuration in Admin)

      ...

      1. EXCEPTIONS are IPs specified in Admin Config settings (see above)

      ...

      1. ALWAYS auto-redirect to this generated Admin page if there is NO DB

      ...

      1. Connection (for some reason) even if my IP is in list

      ...

      1. of MAINTENANCE_MODE_IPS.

      Here is the original task (OLD description there yet):

      ...

      Related Tasks

      Jira Legacy
      serverSystem Jira
      serverId513b375f-8291-3313-9d9f-704c39b1f915
      keyINP-53

      ...

      DA