Maintenance mode helpers for Neos Flow applications
Find a file
2024-12-10 17:33:39 +01:00
Classes made the maintenance marking file configurable and changed its default to be visible 2024-12-10 17:33:39 +01:00
Configuration made the maintenance marking file configurable and changed its default to be visible 2024-12-10 17:33:39 +01:00
composer.json adding some information and legal stuff 2024-11-28 17:25:02 +01:00
LICENSE adding some information and legal stuff 2024-11-28 17:25:02 +01:00
README.md minor description improvement 2024-11-28 17:30:16 +01:00

DigiComp.FlowMaintenanceMode

This package assists in presenting each visitor of your system a page showing working on maintenance.

It allows you to use usual error page rendering for that purpose - the idea is, that those layouts, should exist anyway.

If you want to bypass the maintenance mode, you can do so by configuring a cookie based exception:

DigiComp:
  FlowMaintenanceMode:
    allowCookie:
      name: name
      value: value

That would allow you to bypass the maintenance answer, if you had a cookie named 'name' with a value of 'value'. If you set 'value' to null only the name is matched.

You can extend the exception behavior, by implementing the AllowModuleInterface and add it to DigiComp.FlowMaintenanceMode.allowModules. This list is handled by PositionalArraySorter. You can use position keys to order them, or set their value to null to exclude them from being used.