<commit_before>Redmine Maintenance Mode plugin
========================

Plugin to prevent users from using Redmine while system operations are being done.

Only already logged-in administrators have access to the redmine system during maintenance time whereas a configurable maintenance notice is shown to "normal" users.

You can also **schedule maintenance windows.** Users will then be notified in advance with a configurable banner message. If maintenance time has come, system will be put in maintenance mode automatically!

**Be aware that this plugin only blocks non-admin users from the system, while the redmine rails stack is still running!**


Installation
------------

* Clone or download this repo into your **redmine_root/plugins/** folder
```
$ git clone https://github.com/tofi86/redmine_maintenance_mode.git
```
* You have to run the plugin rake task to provide the assets (from the Redmine root directory):
```
$ rake redmine:plugins:migrate RAILS_ENV=production<commit_msg>plugin compatibility added<commit_after>Redmine Maintenance Mode plugin
========================

Plugin to prevent users from using Redmine while system operations are being done.

Only already logged-in administrators have access to the redmine system during maintenance time whereas a configurable maintenance notice is shown to "normal" users.

You can also **schedule maintenance windows.** Users will then be notified in advance with a configurable banner message. If maintenance time has come, system will be put in maintenance mode automatically!

**Be aware that this plugin only blocks non-admin users from the system, while the redmine rails stack is still running!**

This plugin is tested with Redmine v2.5.1


Installation
------------

* Clone or download this repo into your **redmine_root/plugins/** folder
```
$ git clone https://github.com/tofi86/redmine_maintenance_mode.git
```
* You have to run the plugin rake task to provide the assets (from the Redmine root directory):
```
$ rake redmine:plugins:migrate RAILS_ENV=production
{'fraction_non_alphanumeric': 0.09001956947162426, 'fraction_numerical': 0.003424657534246575, 'mean_word_length': 4.962099125364431, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1129725', 'n_tokens_mistral': 496, 'n_tokens_neox': 475, 'n_words': 256}