This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
Releases: ml-archive/admin-panel-provider
Releases · ml-archive/admin-panel-provider
Version 0.7.6
Fixed:
- The
Seeder
type alias is now public as it was intended to be all along
Version 0.7.5
Fixed
- Admin panel users created via Admin Panel backend can sign in now
- Fixes checkboxes for sending credentials to the user and forcing a password reset
- Fixes "email address already exists" issue when editing an admin panel user
Version 0.7.4
Fixed
- Fix sidebar menu toggle
- Fix default value in
CheckboxGroup
. Previously anull
-value in thefieldset
was interpreted asfalse
- Add missing closing tag and remove duplicate import of
adminlte.min.js
inbase.leaf
Changed
- Update documentation to point to current major release (0.7.x)
Version 0.7.3
Changed
- Include name when sending emails
Fixed
- Shortened database table name for CustomUserAction in order to avoid MySQL too-long-foreign-key name on its relation with AdminPanelUser
Version 0.7.2
Changed
- Dategroup tag now accepts attributes as the last parameter
- Dategroup tag displays any errors associated with the fieldset
Fixed
- error messages for DateGroup, TextGroup, and CheckboxGroup
Version 0.7.1
Added
- made it possible to override the redirect path for
ProtectMiddleware
(orCustomUserProtectMiddleware
) by supplying a closure like so:
ProtectMiddleware { user in
"/path/to/user/\(user.id?.string ?? 0)/edit"
}
The same closure can be passed to PanelConfig
so that it gets passed to the ProtectMiddleware
by the Provider
.
Version 0.7.0
Changed
- Made it possible to use a custom user type by conforming to
AdminPanelUserType
.
For example:
try addProvider(AdminPanelProvider.CustomUserProvider<Person>.self)
It is still possible to use the old API because there are type aliases for the new generic versions to the old and familiar types.
- Requires Swift 4.1
Security
- Improved role checks on adding, editing, deleting users
Version 0.6.0
Changed
- upgraded frontend to use AdminLTE 2.4.3
Version 0.5.1
Added
- Users are now redirected to the dashboard when visiting the login page while already being logged in.
Fixed
- Users are now correctly being persisted when logging in.
Version 0.5.0
Changed
- uses mailer configured in
adminpanel.json
instead ofmailgun
- does not needlessly depend on
https://github.com/vapor/mysql-provider.git
anymore