Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Releases: ml-archive/admin-panel-provider

Version 0.7.6

12 Feb 14:58
d171f14
Compare
Choose a tag to compare
Version 0.7.6 Pre-release
Pre-release

Fixed:

  • The Seeder type alias is now public as it was intended to be all along

Version 0.7.5

07 Aug 19:49
2ac0544
Compare
Choose a tag to compare
Version 0.7.5 Pre-release
Pre-release

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

20 Jun 12:25
c00bf7b
Compare
Choose a tag to compare
Version 0.7.4 Pre-release
Pre-release

Fixed

  • Fix sidebar menu toggle
  • Fix default value in CheckboxGroup. Previously a null-value in the fieldset was interpreted as false
  • Add missing closing tag and remove duplicate import of adminlte.min.js in base.leaf

Changed

  • Update documentation to point to current major release (0.7.x)

Version 0.7.3

19 Jun 13:50
9adab68
Compare
Choose a tag to compare
Version 0.7.3 Pre-release
Pre-release

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

08 Jun 11:28
4af246b
Compare
Choose a tag to compare
Version 0.7.2 Pre-release
Pre-release

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

31 May 12:10
6290f50
Compare
Choose a tag to compare
Version 0.7.1 Pre-release
Pre-release

Added

  • made it possible to override the redirect path for ProtectMiddleware (or CustomUserProtectMiddleware) 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

24 Apr 11:39
4b16e08
Compare
Choose a tag to compare
Version 0.7.0 Pre-release
Pre-release

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

23 Apr 11:48
1118850
Compare
Choose a tag to compare
Version 0.6.0 Pre-release
Pre-release

Changed

  • upgraded frontend to use AdminLTE 2.4.3

Version 0.5.1

16 Apr 11:30
2de0f45
Compare
Choose a tag to compare
Version 0.5.1 Pre-release
Pre-release

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

06 Mar 14:18
6a6f473
Compare
Choose a tag to compare
Version 0.5.0 Pre-release
Pre-release

Changed

  • uses mailer configured in adminpanel.json instead of mailgun
  • does not needlessly depend on https://github.com/vapor/mysql-provider.git anymore