Skip to content

Releases: disisto/simplesamlphp-bootstrap-theme

0.4.0

31 Aug 10:50
66d2057

Choose a tag to compare

Breaking Changes

Important: This release is only compatible with SimpleSAMLphp 2.2.2 and higher due to the required formURL variable.
Users on SimpleSAMLphp 2.2.1 and earlier should remain on theme version 0.2.1.

Major Changes

Complete CSP Strict Compliance

  • Removed all inline event handlers and replaced with data attributes
  • Eliminated all inline scripts - moved to external files (theme-init.js)
  • Removed all inline styles in favor of CSS classes
  • Full compatibility with Content Security Policy strict mode without requiring nonces

JavaScript Architecture Overhaul

  • Unified all JavaScript functionality into single theme-bundle.js file
  • Added separate theme-init.js for immediate theme application (prevents flash)
  • Reduced HTTP requests from 5+ files to 2 core bundles
  • Exposed window.SimpleSAMLTheme object for external integrations

UI/UX Design Improvements

  • Simplified theme switcher to dark/light modes only (removed auto mode)
  • Modernized password visibility toggle with minimal 18x18px icon design
  • Wider alert containers (600px) for better error message readability
  • Consistent button heights across all navigation elements
  • Changed error alerts to use danger styling (red) instead of warning (yellow)

Form Compatibility Updates

  • Updated form action to use formURL variable instead of moduleURL() function
  • Compatible with SimpleSAMLphp 2.2+ form handling
  • Dynamic username placeholder when forceUsername is active

Bootstrap Framework Update

  • Updated from Bootstrap 5.3.2 to Bootstrap 5.3.8

New Features

  • Keyboard accessibility for password visibility toggle
  • Form validation with submit button state management
  • Auto-dismiss feature for dismissible alerts after 10 seconds
  • Development mode logging for easier debugging

Compatibility Matrix

SimpleSAMLphp Version Theme Version Compatibility
2.0.x - 2.2.1 0.2.1 Full
2.2.2+ 0.4.0 Full

0.2.1

06 Nov 23:28
b26b096

Choose a tag to compare

  • Improved: Bootstrap version upgraded to 5.3.2
  • Improved: Minified two additional JS files (color-modes.min.js / disablingFormSubmissions.min.js)
  • Verified: Tested for compatibility with simpleSAMLphp version 2.0.6 and 2.1.0

0.2.0

19 Aug 02:55
2573b99

Choose a tag to compare

  • Added: Login page: Password visibility toggle (also known as "password show and hide").
  • Added: Error page: Enabled Bootstrap tooltip for the "Copy to clipboard" button, which also confirms when copied.
  • Added: Error page: Enabled Bootstrap form validation for the <textarea> element.

0.1.0

13 Aug 23:34
66266ef

Choose a tag to compare

Initial release