* update: setup ui page
* remove script addition
* add admin panel
* basic user menu and admin page
* make usable admin panel
* add radix vue, improve ui
* fix features, add toast
* rewrite middleware logic, support basic auth
* add todo marker
* active tailwind forms
* remove some console.logs
* check if user is enabled
frontend doesn't handle this state yet, nothing will work as api routes will fail
* add email to user, basic account page
* better group database
* group even more
* basic statistics page
* update: admin ui
- add: common panel components to get same UI
- i18n: french
* update: setup page error handle
- use fetch error data to provide error message
- use translation to provider error message
* update: me page
* fix: :text props
* update: login page
* update: i18n french support
* fix: use radix toast duration
* update: reduce templates
- remake: setup page to add others step configuration (host/port/migration)
* udpate: setup page use wizard form step
* update: ui
* update: step page
- first step to choose a language
- use red color in light mode
- validate step before move toward
* update: setup page
- use radix select component to reduce boilerplate
* update: setup page
- add: database langugage method
- update: api lang & export supported languages
* update: setup page
- update ui select language
- change lang on selection
* fix: use global store
* fix: initial value
- update: sort langs by value
* fix: ui center paragraph
* fix: remove file extension & some revert
- add: script to run checks script
* update: setup page
- add: host/port section
- i18n: french
- fix: fallback translation
* refactor: split setup into files
* update: setup page
- redirect to login when the setup is done
- allow user to return to previous steps
- prompt error message
- i18n french
* add: migration UI step
- rename: components
- fix: label for & form child id
- i18n french sup
* add: migration server
* fix: use string instead of File
* improve: with zod validation
* restore: clients
* rework setup
* add client page, move api routes
* improve setup
* switch to agpl
* add step back
* update licensed under texts
cc -> agpl
* make db results readonly
avoid weird side effects, when modifying the db object as its only allowed inside e.g. lowdb.ts
* update footer links
* improve client edit page, add mtu
* reorder tailwind classes
* update packages
* update comments
* better toast, better avatar
* delete feature toggle
* remove chart, statistics from server
let user decide what he wants to display
* move into own components
* switch from AGPL-3.0-or-later to AGPL-3.0-only
AGPL-3.0-or-later is not OSI approved
* fix building source
fixes https://github.com/wg-easy/wg-easy/issues/1563
* update packages
---------
Co-authored-by: tetuaoro <[email protected]>
* update wireguard
* update
* update
* remove all config
* move all features into one route
* improve code
* fix some issues
add wg_path, update documentation
* add: database abstraction
* update: get lang from database
* udpate: with repositories
* add: interfaces to connect a database provider
- easy swapping between database provider
* add: setup page
- add: in-memory database provider
- create a new account (signup)
- login with username and password
- first setup page to create an account
- PASSWORD_HASH was removed from environment and files was updated/removed due to that change
* update: Dockerfile
* fix: review done
- remove: REQUIRES_PASSWORD & RELEASE environment variables
* fix: i18n translation
- rename directories
* update: use database
* fix: typecheck
* fix: review
* rebase & add: persistent lowdb provider
* update: french translation
* revert: due to rebase
* remove & document
The following minor improvements were made to `README.md`:
- The notice about stable version was styled as block quote to emphasize
it more and it was moved right after the title of the section
"Versions", and a link to the production branch was added;
- versions table was updated to add links to branches for easier
navigation;
- some typos were fixed;
- wording was changed in couple of places to make it simpler;
- the `docker run` command was updated to:
- use long options to make it more self-explanatory;
- wrap password hash value placeholder in single quotes to avoid
variable expanding as password hashes tend to contain `$`;
- some other very minor changes to make `docker run` options uniform.
Co-authored-by: Philip H. <[email protected]>
* Russian translation
* Add Prometheus metrics
[Feat]: Simple Stats API #1285
* Revert "Add Prometheus metrics"
This reverts commit a998f6be8a.
* Add Prometheus metrics
[Feat]: Simple Stats API #1285
* Fix short link. Generate One Time Link (#1301)
Co-authored-by: Vadim Babadzhanyan <[email protected]>
* fix one time links (#1304)
Closes#1302
Co-authored-by: Bernd Storath <[email protected]>
* fixup: issue templates due to labels reorg
Signed-off-by: Philip H <[email protected]>
* Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285
* Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285
* Fix port in Readme
Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285
* Add Prometheus port in Service
Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285
* Revert "Add Prometheus port in Service"
This reverts commit a7376abcf1.
* Revert "Fix port in Readme"
This reverts commit 9760bde2f2.
* Revert "Separate port for prometheus metrics"
This reverts commit 58f5b6806e.
* Revert "Separate port for prometheus metrics"
This reverts commit 6d246ea4bd.
* Add Prometheus metrics with Basic Auth
[Feat]: Simple Stats API #1285
* Disable by default
[Feat]: Simple Stats API #1285
* [Feat]: Simple Stats API #1285
* Update README.md
---------
Co-authored-by: Vadim Babadzhanyan <[email protected]>
Co-authored-by: Bernd Storath <[email protected]>
Co-authored-by: Philip H <[email protected]>
* remove PASSWORD environment variable in favor of PASSWORD_HASH
* enhance password validity check server function
* update Dockerfile to include building a binary for generating hashed password
* update README with comprehensive Docker usage instructions hash generation
- Rename the file to a more readable name
- Add one-liner command for quick execution
- Include dedicated paragraph on using the output
- Implement assert to prevent bcrypt limitation issues
- Comment the python script
- Improves clarity and usability of bcrypt documentation
- Mention documentation file in docker-compose.yml and README.me file
`README.md` was updated to use a one-liner to update WireGuard Easy with
Docker Compose.
A note about image tag was added to avoid confusion when one is
specified in Compose file and it is other than `latest`, as that would
result in no pull and no WireGuard Easy container recreation.
This PR allows the use of Address Ranges using the CIDR notation.
To make it backward compatible, i introduced a new env variable WG_DEFAULT_ADDRESS_RANGE (defaults to the previous default of 24).
This allows the usage of smaller subnets (or possibly larger; but i didn't test that due to restrictions on my network). Client IPs will be calculated with correct IP addresses instead of making assumptions of the address space.