-
Enhancements
- Add
:ldap_allow_unknown_users
setting
- Add
-
Other
- Change
applications
toextra_applications
(needs Elixir >= 1.4)
- Change
-
Deprecations
- Elixir 1.3 support
- Enhancements
- Support Phoenix 1.4, remove Phoenix 1.2 support
- Enhancements
- Add
transform_user/2
callback toLoginController
- Add
- Enhancements
UserSession.Memory.delete/1
now acceptsuser_id
orconn
as a parameter.
- Other
- Make
exldap
an optional dependency. If you use theSimpleAuth.Authenticate.Ldap
authenticate_api you must include the dependency explicitly in your project. SeeREADME.md
for details. - Document additional config parameters.
- Make
- Bug fixes
- Resolve config options at runtime not compile time
- Other
- Set default config in
mix.exs
not in code (If you haveruntime: false
inmix.exs
this could be a breaking change as the default values will not used.) - Remove warning message logged at startup if not using UserSession.Memory
- Set default config in
- Enhancements
- Provide
:post_login_path
and:post_logout_path
config options
- Provide
- Enhancements
- Provide
AccessControl.roles/1
andAccessControl.any_granted?/2
that take aUser
struct
- Provide
- Enhancements
- Allow LDAP client to be overridden in config
- Enhancements
- Resolve config settings as run time rather than compile time
- Enhancements
- Provide additional parameter for LDAPHelper enhance_user to indicate if new user (breaking change)
- Enhancements
- Support Phoenix 1.3
- Enhancements
- Fixed documentation
- Added requirements to publish as Hex package
- Other
- Removed support for Phoenix 1.3.0 release candidate as cannot publish otherwise
- Enhancements
- LDAP authentication support
- Configurable username field (previously was 'email')
- Configurable no redirection for ajax requests
- Enhancements
- Session refresh and info endpoints
- Enhancements
- Relax Phoenix version dependency to allow use with Phoenix 1.3.0 release candidates
- Enhancements
- Use
NaiveDateTime
for:attempted_at
- To upgrade, change the underlying datatype in the
User
schema from:datetime
to:naive_datetime
- Upgraded
comeonin
to 3.0 - Update README to show model example without deprecated Phoenix methods
- Use
- Bug fixes
- Fix compiler warnings
- Enhancements
- Basic support for oauth and fixes for Elixir 1.4
- Bug fixes
- Fix delete for UserSession.Memory
- Enhancements
- Add memory session and login_controller callbacks
- Enhancements
- Updated comeonin to 2.5.1
- Enhancements
- Allow phoenix 2.0
- Enhancements
- Updated README
- Original release