CHANGELOG:
This release includes some breaking changes regarding configuration variables and values!
- Update to Go 1.16, embed all static files into one binary
- Allow database (Sqlite/MySQL) as user backend
- User management UI for database users (add/modify/delete)
- Users are identified by their email now, changing ownership of WireGuard peers can be done by changing the peers email address
- If the admin password is set to it's default value, a random password will be generated and displayed once the application starts
- Updated design of the index page
- Fully automated builds using Travis-CI
- Minor bugfixes and improvements
- Changed configuration values:
- ADMIN_USER: must be an email address now, is now a required configuration variable (defaults to admin@wgportal.local)
- CREATE_INTERFACE_ON_LOGIN: renamed to CREATE_DEFAULT_PEER
- SYNC_LDAP_STATUS: removed, if LDAP_ENABLED is set to true, user data will be synchronized automatically
- ADMIN_LDAP_GROUP: renamed to LDAP_ADMIN_GROUP
- DATABASE_PATH: renamed to DATABASE_NAME
- New configuration variables:
- DATABASE_TYPE: mysql or sqlite (default sqlite)
- DATABASE_NAME: if type is sqlite this attribute specifies the path to the db file, otherwise the database name
- DATABASE_HOST: (mysql only)
- DATABASE_PORT: (mysql only)
- DATABASE_USERNAME: (mysql only)
- DATABASE_PASSWORD: (mysql only)
- LDAP_ENABLED: new, default: false, enables LDAP integration (login and user data synchronization)
- LDAP_TYPE: AD or OpenLDAP (default AD, active directory)
- LDAP_USER_CLASS, LDAP_ATTR_EMAIL, LDAP_ATTR_FIRSTNAME, LDAP_ATTR_LASTNAME, LDAP_ATTR_PHONE, LDAP_ATTR_GROUPS, LDAP_ATTR_DISABLED