Project

General

Profile

Plugins Directory » Redmine Login Audit 2

Author: K Seraph3000
Website: https://github.com/seraph3000/redmine_login_audit2
Code repository: https://github.com/seraph3000/redmine_login_audit2
Registered on: 2026-04-10 (3 months ago)
Current version: 1.0.2
Compatible with: Redmine 7.0.x, 6.1.x, 6.0.x
User ratings:   (0)

A refactored version of redmine_login_audit by Martin Denizet, updated for Redmine.

What's New

  • Redmine 6.x / 7.0 compatible — Modernized codebase (prepend pattern, Strong Parameters, etc.)
  • SAML/SSO support — Logs failed authentication for locked users via SSO
  • Streaming CSV export — Memory-efficient batch processing for large datasets
  • Improved purge UI — Shows oldest log date, requires confirmation for "Delete All"
  • No external dependencies — Removed wice_grid and email notification features

Supported Authentication

Method Success Failure
Redmine Standard
LDAP / Active Directory
REST API
SAML (redmine_saml)
Other OmniAuth Extendable

See README for extending support to other OmniAuth plugins.

Installation notes

Fresh Install

cd /path/to/redmine/plugins
git clone https://github.com/seraph3000/redmine_login_audit2.git
bundle exec rake redmine:plugins:migrate RAILS_ENV=production

Restart Redmine.

Migration from redmine_login_audit

Your existing data will be preserved.

# 1. Remove old plugin (keeps table)
rm -rf plugins/redmine_login_audit

# 2. Install new plugin
git clone https://github.com/seraph3000/redmine_login_audit2.git plugins/redmine_login_audit2

# 3. Check status
bundle exec rake redmine_login_audit2:check RAILS_ENV=production

# 4. Migrate (preserves data, adds missing columns/indexes)
bundle exec rake redmine_login_audit2:migrate_from_v1 RAILS_ENV=production

# 5. Restart Redmine
touch tmp/restart.txt

# 6. (Optional) Clean up old migration records
bundle exec rake redmine_login_audit2:cleanup_v1 RAILS_ENV=production

Migration Notes

  • Table login_audits is shared — your existing logs remain intact
  • Migration adds missing method column and indexes if needed
  • Run redmine_login_audit2:check first to see current state
  • Old plugin migration records can be cleaned up after verification

Changelog

1.0.2 (2026-07-12)

Compatible with Redmine 7.0.x, 6.1.x, 6.0.x.

  • Migrated filtering to Redmine core Query API: removed the custom filter logic in favor of the standard filter UI (operators, add/remove filters, multi-value)
  • Redmine 7.0 support; migrated menu and legend icons to SVG sprites (`sprite_icon`), with fallback for 6.x
  • Added statistics page: success/failure and API/Web ratios, daily trend, and top failure IPs/logins
  • Added HTTP Referer recording per login event
  • Fixed per_page not being respected on initial load
  • Added filter labels (source, date range) across all bundled locales

1.0.0 (2026-04-10)

Compatible with Redmine 6.1.x, 6.0.x.