Redmine plugin to log successful login attempts in Redmine
Ruby HTML CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
assets
config
db/migrate
lib
test
CHANGELOG.md
Gemfile
README.md
init.rb

README.md

Redmine Login Audit

If you like this plugin, you're welcome to visit my blog: http://martin-denizet.com

Features

  • Log successful and/or unsuccessful login attempts in Redmine
  • Log API authentications
  • Send email on events
  • Filtering
  • CSV export

Roadmap

  • Modify the way records are deleted
  • Allow to select visible columns of the table
  • Allow to configure "honeypot" users
  • Prevent brute-force password guessing

Compatibility

Tested working with Ruby 2.2.3 on:

  • Redmine 3.4.x
  • Redmine 3.2.x
  • Redmine 3.1.x For Redmine 2.x compatibility, check the 1.x version of the plugin

Plugin is NOT compatible with Ruby 1.9.3-p0, it is recommended to use a supported version of Ruby. See #21

Downloading and installing the plugin

First download the plugin using git, open a terminal in your Redmine installation directory:

git clone git@github.com:martin-denizet/redmine_login_audit.git ./plugins/

Install the dependencies:

bundle install

Run the database migrations:

RAILS_ENV=production bundle exec rake redmine:plugins:migrate

The installation is now finished and you will be able to use the plugin after you restart your Redmine instance.

If you are using bitnami If you are using bitnami, the commands should be: (If you have no idea what it means, it's not for you)

/home/bitnami/apps/redmine/htdocs/bundle install --no-deployment /home/bitnami/apps/redmine/htdocs/bundle exec rake redmine:plugins:migrate

Configuration

Please check the plugin configuration page before using it. Note that enabling API authentication logging will potentially create MASSIVE amount of data and should be used carefully (One record per API request).

Credits

  • Krzysztof Dryja: Original idea and code contribution
  • Martin Denizet: Development
  • AlexStein: Code contribution
  • Maiko de Andrade: Brasilian Portuguese translation
  • Adriano Baptistella: Brasilian Portuguese translation
  • Sergei Bershadsky: Russian translation
  • R-i-c-k-y: Italian translation
  • kotashiratsuka: Japanese translations
  • alexandermeindl: German translations
  • giraypultar and atopcu: Turkish translations
  • dreampet: Chinese translations
  • GitRms: Testing
  • Marco Senn: Support
  • Thorsten Jaeger: Support

Uses "Silk icon" by Mark James at http://www.famfamfam.com/ licensed under "Creative Commons Attribution 2.5 License" Uses WiceGrid gem by Yuri Leikind licensed under "MIT License"

How to contribute

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Please do not make your pull requests on the master branch.

Donations

As manager of this plugin, I accept donations. It helps me justifying taking time away from lucrative work and family. Many thanks!

[paypal]

License

Copyright (C) 2018 Martin Denizet martin.denizet@supinfo.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.