Commit Graph

134 Commits

Author SHA1 Message Date
Vadim Babadzhanyan 6e891ad9fb Prometheus password fix (#1319)
* Russian translation

* Fix require prometheus password

---------

Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-09-10 18:46:09 +02:00
Vadim Babadzhanyan 33b4c3859d Fix onetimelink (#1367)
* Russian translation

* fix onetime link for android tv

---------

Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-09-07 08:43:59 +02:00
Bernd Storath 4ba7dc244c early fail if old password variable (#1350) 2024-09-04 18:37:11 +02:00
Vadim Babadzhanyan 7be9884aec Feat Prometheus metrics (#1299)
* 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 <vadim.babadzhanyan@my.games>

* fix one time links (#1304)

Closes #1302
Co-authored-by: Bernd Storath <999999bst@gmail.com>

* fixup: issue templates due to labels reorg

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>

* 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 <vadim.babadzhanyan@my.games>
Co-authored-by: Bernd Storath <bernd.storath@offizium.de>
Co-authored-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-08-23 12:10:20 +02:00
Bernd Storath 86f968499a fix one time links (#1304)
Closes #1302
Co-authored-by: Bernd Storath <999999bst@gmail.com>
2024-08-21 15:55:35 +02:00
Vadim Babadzhanyan 968d2b90a0 Fix short link. Generate One Time Link (#1301)
Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-08-20 16:19:07 +02:00
Vadim Babadzhanyan 8145809e22 Feat expiration date (#1296)
Closes #1287
Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-08-18 23:18:09 +02:00
Vadim Babajanyan bb2e8d2751 Fix sort clients (#1290)
Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-08-16 20:47:31 +02:00
Võ Hoàng ca7ee32052 feat(www): add sort clients by name (#1227)
Co-authored-by: Philip H. <47042125+pheiduck@users.noreply.github.com>
2024-08-16 19:40:24 +02:00
Philip H. f5885e335c Merge branch 'master' into remember-me 2024-08-16 19:25:36 +02:00
Vadim Babadzhanyan cd3d4efebf Supports displaying short links, for easy downloading on TVs and Android TVs: fix lint errors 2024-08-16 20:20:31 +03:00
Vadim Babadzhanyan 0a33b1f7df Supports displaying short links, for easy downloading on TVs and Android TVs 2024-08-16 18:39:24 +03:00
Viktor Yudov 3e6ded18a5 Add Remember me 2024-08-13 02:51:05 +03:00
tetuaoro 9a19430dc8 feat: generate PASSWORD_HASH on the fly
* 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
2024-07-12 21:24:09 +02:00
tetuaoro 9371b78a21 refactor: optimize build config, factorize code, enhance SVG icons
* focus on syncing configuration without shutting down current wg session
	refactor build configuration logic to optimize code structure
* enhance SVG icons for better visual appeal (https://github.com/wg-easy/wg-easy/pull/1166#issuecomment-2222418606)
* update the screenshot to reflect the latest UI changes
* fix: prevent logging private key during user creation
2024-07-11 12:58:25 +02:00
tetuaoro 10d24fa04b fix: icons & buttons view
* update the viewBox of svg elements
* add cursor pointer when hover the restore button
* rebuild the css
2024-07-10 18:11:28 +02:00
tetuaoro ce20bb7fcb feat: support more langs
* add translations for French, Spanish, and Italian
* change the wording for better understanding of this feature:
    - "import" to "restore"
    - "export" to "backup"
* rename functions to reflect these changes
2024-07-10 15:46:36 +02:00
tetuaoro e3ee09b755 fix: reload configuration
* run linter
* screenshot update
2024-07-10 15:46:36 +02:00
tetuaoro 03b7d8e537 feat: load configuration from file
* import json config file & update the config (restore)
* export the config and save it to json file (backup)
2024-07-10 15:46:36 +02:00
Robert Heim 34ae8e42f3 fix: lint errors 2024-06-18 22:30:55 +02:00
Robert Heim eaa4b1ebaa feat: introduce PASSWORD_HASH and deprecate PASSWORD 2024-06-18 20:17:00 +02:00
Philip H b5372f0dbc bring password hash back
users want to have this instead cleartext password. Mitigates security issues.
2024-06-16 16:14:19 +02:00
adrien a082a40bf6 config: Add support for custom client port configuration
This commit introduces the ability to specify a custom port for the client
configuration. This feature is particularly useful when the WireGuard server
is behind a port forwarding setup, allowing clients to connect using the
correct port number.

With this change, users can now define the desired client port in the
configuration file, ensuring seamless connectivity even in scenarios where
the client's listening port differs from the standard WireGuard port.
2024-06-07 12:53:54 +02:00
Max e6d2d95340 fix typo in Server.js 2024-06-06 23:01:39 +02:00
davide-acanfora d2d15fca2a Path traversal vulnerability resolved 2024-05-27 20:25:00 +02:00
davide-acanfora c26b536b65 Remove unnecessary bcryptjs module usage 2024-05-27 20:25:00 +02:00
davide-acanfora 859dd2f25b Replace uuid module with built in crypto for UUIDv4 generation 2024-05-27 20:25:00 +02:00
Philip H 68c6f6252e fixup: Server.js for instance without docker
Some users can no longer access the Web UI since the release of v13.
2024-05-16 20:19:22 +02:00
Philip H 187888e078 WireGuard.js: fixup ListenPort 2024-04-14 19:51:04 +02:00
Philip H bf214fb4d3 Revert "feat: cidr notation" 2024-03-27 14:41:31 +01:00
Philip H 6c0049770e Merge branch 'master' into feat-cidr-notation 2024-03-23 21:30:52 +01:00
cany748 8d00c5456a fix: add Content-Type header for static files 2024-03-23 19:37:33 +01:00
Philip H 953a67bbdd fixup: Server.js 2024-03-19 14:18:29 +01:00
Philip H 5fbfb26937 fixup: Server.js 2024-03-19 14:16:44 +01:00
Philip H 74f3e2f320 fixup: Server.js 2024-03-19 14:11:03 +01:00
Philip H c107920df2 Merge branch 'master' into feat-h3 2024-03-19 14:09:42 +01:00
Sergei Birukov aedb691b2b Fix traffic charts. Add chart vars
Add UI_TRAFFIC_STATS, UI_CHART_TYPE
2024-03-18 21:25:08 +01:00
Philip H f7bd362538 fixup: Server.js 2024-03-15 15:23:12 +01:00
Philip H ee5a2c6c5a Server.js: remove cookie setting
Proxy is recommended else use only internally
2024-03-15 15:17:41 +01:00
Philip H 68187e07a1 Merge branch 'master' into feat-cidr-notation 2024-03-14 13:49:26 +01:00
Philip H. 7596385d5a fixup: lint errors and uninstall express 2024-03-14 12:18:47 +00:00
Philip H. 10f246ea59 fixup: Server.js 2024-03-14 08:19:29 +00:00
Philip H. 3f2495a0ea fixup: UI_TRAFFIC_STATS 2024-03-14 08:14:52 +00:00
Philip H. b7c2c81cc7 fixup: lint errors 2024-03-14 08:05:09 +00:00
Philip H 064e264ce8 Server.js: add missing ')' 2024-03-14 08:59:31 +01:00
Philip H 08c412fd14 Server.js: remove white-space 2024-03-14 08:57:38 +01:00
Philip H 8c771b054c Server.js: add UI_TRAFFIC_STATS 2024-03-14 08:55:15 +01:00
Philip H e9480a5ed5 fixup Server.js: even to master 2024-03-14 08:50:31 +01:00
Philip H 1a3cff855e Merge branch 'feat-h3' into master 2024-03-14 08:48:53 +01:00
Philip H 3621bdebad feat: no private key (#887)
Thank you @willtho89!
2024-03-06 17:03:33 +01:00