Commit Graph

1133 Commits

Author SHA1 Message Date
w0rng 7b1e606bc2 Merge remote-tracking branch 'wg/master'
# Conflicts:
#	.github/CODEOWNERS
#	.github/PULL_REQUEST_TEMPLATE.md
#	.github/dependabot.yml
#	.github/workflows/deploy-development.yml
#	.github/workflows/deploy-nightly.yml
#	.github/workflows/deploy-pr.yml
#	.github/workflows/lint.yml
#	Dockerfile
#	How_to_generate_an_bcrypt_hash.md
#	README.md
#	docker-compose.dev.yml
#	docker-compose.yml
#	src/config.js
#	src/lib/Server.js
#	src/lib/WireGuard.js
#	src/www/js/api.js
#	src/www/js/app.js
2024-09-07 08:02:18 +07:00
Philip H 067b7bcf84 CI: fixup dev deploy too
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-09-06 16:39:34 +02:00
Philip H. 942f35916c
deploy-nightly.yml: reference to master branch 2024-09-06 16:35:03 +02:00
dependabot[bot] 52d83dbf35
build(deps): bump debug from 4.3.6 to 4.3.7 in /src (#1365)
Bumps [debug](https://github.com/debug-js/debug) from 4.3.6 to 4.3.7.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.3.6...4.3.7)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 16:29:05 +02:00
Philip H. 4dc56a0718
CI: use dependabot instead of gh action (#1364) 2024-09-06 16:26:27 +02:00
NPM Update Bot 66c64af7cf npm: package updates 2024-09-05 16:09:17 +00:00
Philip H. f4b3d4fb6b
wg-password(docu): fixup docker command 2024-09-05 18:08:49 +02:00
NPM Update Bot 3427d677f6 npm: package updates 2024-09-04 16:37:44 +00:00
Bernd Storath 4ba7dc244c
early fail if old password variable (#1350) 2024-09-04 18:37:11 +02:00
NPM Update Bot 3f6b6f3c9b npm: package updates 2024-09-03 20:34:41 +00:00
Hans 11872de321
Allow wgpw to prompt for a password through stdin (#1348)
* Allow wgpw to prompt for a password through stdin

If the user does not pass the password as a parameter, they are prompted
for it through stdin.
The password is not echoed back, just like any other command-line log-in
prompt (ie. sudo).

* Fix lint errors in wgpw
2024-09-03 22:34:08 +02:00
NPM Update Bot 4758c0dddc npm: package updates 2024-09-02 00:03:22 +00:00
NPM Update Bot 96030c08f4 npm: package updates 2024-08-30 11:17:49 +00:00
Kirk1984 ba989aa829
Fix typo in How_to_generate_an_bcrypt_hash.md (#1332) 2024-08-30 13:17:20 +02:00
NPM Update Bot 78fab2b5d8 npm: package updates 2024-08-26 00:03:04 +00:00
NPM Update Bot dd04dd285d npm: package updates 2024-08-23 10:11:05 +00: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 a998f6be8a0c54a5daffe70a0fc3d8b9ed53a960.

* 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 a7376abcf1fe2b729ab05ba0d49977ab5a2642ea.

* Revert "Fix port in Readme"

This reverts commit 9760bde2f2dc4428b0bf0b27d91bbded1c2ad05d.

* Revert "Separate port for prometheus metrics"

This reverts commit 58f5b6806e20c7704ff04247f384d30c2845a34e.

* Revert "Separate port for prometheus metrics"

This reverts commit 6d246ea4bda265f8b8b9e99acb336aeb26c9fa17.

* 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 41be774761 rename features, fix formatting 2024-08-23 08:32:47 +02:00
Philip H. ed93c6c8ed
CODEOWNERS: make it commplete 2024-08-22 23:46:04 +02:00
NPM Update Bot bbffc22ae3 npm: package updates 2024-08-22 21:45:42 +00:00
Philip H. 800ec155c1
CODEOWNERS: add kaaax0815 2024-08-22 23:45:04 +02:00
Philip H 75df17476f
fixup: issue templates due to labels reorg
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-08-21 17:07:46 +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
Philip H 352a022f30
nodejs: use lts as version tag
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-08-19 14:30:41 +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 40af030266
Update Russian translation (#1291)
Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-08-16 21:48:22 +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. 7c521e8733
Add Remember me (#1276) 2024-08-16 19:27:30 +02:00
Philip H. f5885e335c
Merge branch 'master' into remember-me 2024-08-16 19:25:36 +02:00
Philip H. 36b9ff60c8
Supports displaying short links (#1288) 2024-08-16 19:24:43 +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 81633de07b Supports displaying short links, for easy downloading on TVs and Android TVs: Add crc-32 package 2024-08-16 20:08:30 +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
NPM Update Bot 2ea37dd7ba npm: package updates 2024-08-15 15:04:36 +00:00
Philip H. 2fe5269bbe
Additional Korean language updates (#1278) 2024-08-15 17:04:07 +02:00
jkh0kr 8591b35d4e
Update i18n.js
Additional Korean language updates
2024-08-14 10:00:58 +09:00
Philip H. 7fbc2702a6
fix pr template location (#1277)
Co-authored-by: Bernd Storath <999999bst@gmail.com>
2024-08-13 14:54:46 +02:00
Bernd Storath 4ead4c2cc9 fix pr template location 2024-08-13 08:30:51 +02:00
Viktor Yudov 3e6ded18a5 Add Remember me 2024-08-13 02:51:05 +03:00
NPM Update Bot 4e79d0ee03 npm: package updates 2024-08-12 14:56:03 +00:00
Philip H. 6d59e16161
add better issue template (#1274)
Co-authored-by: Bernd Storath <999999bst@gmail.com>
2024-08-12 16:55:29 +02:00
Bernd Storath 0386a0da6b add better issue template
Co-authored-by: Bernd Storath <bernd.storath@offizium.de>
2024-08-12 16:34:01 +02:00
NPM Update Bot 0bf266d5cb npm: package updates 2024-08-12 08:56:59 +00:00
Philip H. 0ca39b4f34
fix(Doc): fix escaping issue for PASSWORD_HASH in docker-compose.yml (#1270)
For users using docker-compose.yml, please note that you should not wrap the generated hash password in single quotes. Instead, replace each `$` symbol with two `$$` symbols.

For example, for the password 'foobar123', use the following command to generate the hash:
`docker run ghcr.io/wg-easy/wg-easy wgpw foobar123`

The resulting hash should be used in docker-compose.yml like this:
``` yaml
- PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG
```

Signed-off-by: cyicz123 <cyicz123@outlook.com>
2024-08-12 10:56:32 +02:00
程越 a268422e9d fix(Doc): fix escaping issue for PASSWORD_HASH in docker-compose.yml
For users using docker-compose.yml, please note that you should not wrap the generated hash password in single quotes. Instead, replace each `$` symbol with two `$$` symbols.

For example, for the password 'foobar123', use the following command to generate the hash:
`docker run ghcr.io/wg-easy/wg-easy wgpw foobar123`

The resulting hash should be used in docker-compose.yml like this:
``` yaml
- PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG
```

Signed-off-by: cyicz123 <cyicz123@outlook.com>
2024-08-12 11:25:17 +08:00
w0rng c607a96743 Merge remote-tracking branch 'refs/remotes/wg/master'
# Conflicts:
#	.github/CODEOWNERS
#	How_to_generate_an_bcrypt_hash.md
#	README.md
#	docker-compose.dev.yml
#	docker-compose.yml
2024-08-11 15:01:58 +07:00
Philip H. 8921d6c661
docker-compose.yml: reflect How_to_generate_an_bcrypt_hash.md 2024-08-10 19:33:30 +02:00
Philip H. b18f919419
fixup How_to_generate_an_bcrypt_hash.md
Password hash has to be in single quotes
2024-08-10 10:34:46 +02:00