GithubHelp home page GithubHelp logo

gemdav / maintenancemode Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 37.14 MB

Mendix Marketplace Module - Maintenance Mode

License: MIT License

JavaScript 23.30% CSS 0.12% HTML 0.77% SCSS 75.80%
maintenance maintenance-mode mendix mendix-module

maintenancemode's Introduction

Maintenance Mode module for Mendix

This module provides functionalities for a maintenance mode in running Mendix applications. It enables administrators to to prevent users from performing actions while maintenance is done.

Typical usage scenario

For Mendix application administrators and developers that have to perform maintenance actions in Mendix applications in the running app and want to prevent other users from using the app in the meantime. This can be the desirable when there are inconsistencies, lowered user experience, errors or other problems are expected to occur when users use the app during the maintenance.

Features

  • Temporarily exclude users from using the Mendix application
  • Apply the maintenance mode user-role wise
  • Provide a mail address for users to contact during the maintenance

Installation

  1. Install the Dependencies from the Mendix Marketplace:
  2. Install the Maintenance Mode (TODO: Add marketplace link) from the Mendix Marketplace
  3. Assign the module roles to your projects user roles. Users with the module role Administrators can configure and en-/disable the maintenance mode. Assign the module role Affectable to every user role that should be affectable by the maintenance mode.
  4. Add the SNPT_MaintenanceMode_Configuration Snippet to a page you can access. Alternatively you can use the MaintenanceMode_Configuration page.
  5. Ensure that the Microflow ACT_OpenMaintenancePage_If_MaintenanceModeEnabled is called from all pages of the application. This can be done many ways. Probably, the most convenient way is to add a Microflow Timer to the Layout used for the application. Please note that, if you use a layout from a Mendix Marketplace module, your changes might be overwritten when you update the module. In that case you will have to re-add the Microflow Timer again.

Configuration

  1. Open the page with the configuration snippet (see 4th step of installation)
  2. Configure the contact email
  3. Select affected roles according to your needs
  4. En-/ disable the maintenance mode every time you need it. Adjust the affected roles accordingly.

Help improving this module

I built this module based on my own use cases for maintenance in running Mendix applications. Please let me know if you are missing any features so I can consider adding them in a later version. Please also let me know if you know a way to make the installation of the module more convenient and seamless, especially how to avoid the 5th step of the installation process.

maintenancemode's People

Contributors

gemdav avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.