Releases: Mawthuq-Software/Wireguard-Manager-and-API
v0.6-alpha
New release
This release contains the following updates:
- Allows users to get subscription info of a single user
- Moved our API documentation to a Postman link to clean up README
Full Changelog: v0.5.1-alpha...v0.6-alpha
v0.5.1-alpha
New Release:
This update brings the following additions and improvements:
- Major fix to allow CORS.
Full Changelog: v0.5-alpha...v0.5.1-alpha
v0.5-alpha
New Release:
This update brings the following additions and improvements:
- Getting of all subscriptions in the database.
- Getting of all keys in the database. Preshared keys are redacted for privacy.
- The port for the Wireguard server can be changed in the configuration file but only before starting up the application for the first time. This can be changed afterward by manually editing the value in the database.
- Cleaned up the code so that a middleware for authentication is used rather than copy pasting the function into each route.
v0.4-alpha
New Release:
This update brings the following additions and improvements:
- Cleaned up code, created a middleware for authorization rather than adding to each router file
- Bandwidth had a bug when setting to unlimited it would get disabled by autocheck. This is fixed.
- The port for the API server has now been fixed, the default port was hardcoded in preventing changing it.
- We now use a config.json file to help visualisation of the variables.
We are trying to get things production ready, there will be changes frequently just so everything can be perfect.
v0.3-alpha
New Release
This update brings the following additions:
- Adding of subscriptions. Subscriptions are a way to set an expiry date and/or a bandwidth limit. Keys are disabled (not deleted) after the subscription expires or the bandwidth limit is reached.
- Subscriptions are created upon key creation (hence the existing API call was updated.)
- Editing of subscriptions. Subscriptions can be edited after creation to extend the subscription expiry, bandwidth limit and also to reset the current bandwidth usage.
This release requires you to delete your existing sqlite database so that everything works appropriately.
v0.2-alpha
New release:
1. Added enabling and disabling of client keys
Basically this means when a key is enabled it can be used and when disabled the client cannot connect to the VPN.
2. Cleaned up code
Separated code into different files to make file structure cleaner, easier to read and program.
3. Added API paths to enable and disable client keys
Implemented routes to allow enabling and disabling of keys.
4. Made API server run on IPv4
Previously the server may have run on IPv6 if the server used uses IPv6 by default. This was changed to forcefully run the server on IPv4. (yes its kind of backward but almost all servers give an IPv4 as well as ISPs.)
5. Built for different architectures
Below the wgManagerAPI
was built on an AMD server and wgManagerAPI-ARM
on an ARM64 server.
Initial Software release
The first initial release of wireguard manager and api.
Run the application with sudo ./wgManagerAPI
or create a system file to run the file on boot with sudo
.