The aim of this module is to provide functionality to prevent users to login to a page and displays them a message with countdown that the site is scheduled for the maintenance and will be turned off. This gives the site users ability to safely finish and save their work.
This module will disable following forms:
Disable user login
Disable user registration form
Disable user change password form
The module provides a way for site administrators and everyone with permission to force the login. Simply add “?forceLogin” to /user/login url and if you are site admin or have permission you will be allowed to log in.
Links
Link to project: http://drupal.org/sandbox/barancekk/1937700
Git repository: git.drupal.org:sandbox/barancekk/1937700.git
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxbarancekk1937700git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #2
he0x410 commentedHello Karol,
In common:
After I have enabled module it has started maintenance immediately and I was surprised. - In my opinion you should definitely add an option to enable/disable it and do not enable countdown right after module was enabled.
I suggests additional features:
Also, you are just unsetting form elements from login/registration forms, which is not correct, because of three reasons:
Manual review:
Avoid extra variables:
"administrator" role name can be changed on "admin/people/permissions/roles/edit/3", you need to use a role id.
Comment #3
barancekk commentedDear Artem,
Thank you very much for the hints and review. I updated the code style using your hints.
Also, thank you very much for the proposed features. We plan to add these and other features in next weeks. Our plan was to start with module that will provide basic functionality and people can start using it. In next steps we plan to add a settings form to provide way to set the texts, time and possibility to postpone the start of the countdown.
Comment #4
SamChez commentedLooks to be a very solid module and I look forward to seeing the features you've mentioned above implemented. There are a couple suggestions that I have purely as a user:
All in all a very useful module that I'll probably use/recommend in the future.
Comment #5
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #5.0
PA robot commentedUpdating git repository path - removing the username from path. Also removing git clone line, that has username it in.