Commit graph

440 commits

Author SHA1 Message Date
Philip H
3621bdebad
feat: no private key (#887)
Thank you @willtho89!
2024-03-06 17:03:33 +01:00
Philip H
a36ab8891e
fixup: WireGuard.js 2024-03-06 16:43:07 +01:00
Philip H
5ee284b973
fixup: WireGuard.js 2024-03-05 19:35:38 +01:00
Philip H
754b5f29af
fixup: WireGuard.js
well I was on the client side so I hope I get all stuff fixed now.
2024-03-05 19:29:14 +01:00
Philip H
86f23cd1d3
config.js: formatting 2024-03-05 18:37:28 +01:00
Philip H
63faf4c507
fixup: WireGuard.js 2024-03-05 18:24:42 +01:00
Philip H
76a3d7f81d
fixing stuff and formating 2024-03-05 18:15:42 +01:00
Philip H
2f89765112 WireGuard.js: fixup undefined CIDR 2024-03-05 17:56:13 +01:00
Thomas Willems
cb45bc1c43 update ip package to 2.0.1 2024-03-05 16:58:19 +01:00
Thomas Willems
c4d4da38e7 correct CIDR notation 2024-03-05 16:58:19 +01:00
Thomas Willems
89415a2258 refactor to support CIDR and legacy notation
for WG_DEFAULT_ADDRESS
2024-03-05 16:58:19 +01:00
Thomas Willems
577af9947d introduce WG_DEFAULT_ADDRESS_RANGE (CIDR notation)
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.
2024-03-05 16:58:19 +01:00
Thomas Willems
19c83de975
add .is-disabled 2024-03-04 21:40:17 +01:00
Thomas Willems
76c713499d
allow clients with no privateKey
see https://github.com/wg-easy/wg-easy/discussions/791

I disabled the download from the frontend.
If someone tries to manually call the API, the privateKey block is set to "REPLACE_ME" to indicate that this value must be set manually.
2024-03-04 21:39:57 +01:00
NPM Update Bot
b90941715c
npm: package updates 2024-03-04 21:38:22 +01:00
Thomas Willems
80cb585560
fix lint error 2024-03-04 17:46:39 +01:00
Florian Rattay
e9e8d47858 Import json configurations with no PreShared-Key 2024-03-03 11:52:37 +01:00
NPM Update Bot
b9f037fae1 npm: package updates 2024-03-03 00:13:03 +00:00
Philip H
ce1af6d691
Merge branch 'feat-no-privateKey' into feat/clients-without-privatekey 2024-03-02 14:12:38 +01:00
Philip H
a6d092dd87 fixup: lint errors 2024-03-01 14:26:13 +01:00
Chanchai
6604e44ea3 feat: support graceful shutdown 2024-03-01 14:26:13 +01:00
Philip H
6eaa00d620
Merge branch 'master' into feat-stats 2024-03-01 14:23:29 +01:00
Philip H
9a3f6b0544
Merge branch 'master' into feature/added-thai-language 2024-03-01 14:17:43 +01:00
NPM Update Bot
075c13bfc2 npm: package updates 2024-03-01 13:13:09 +00:00
davide-acanfora
a6767cafb2 Added Italian language. Updated supported languages list 2024-03-01 14:10:16 +01:00
Chanchai
811ac30fd3 update Thai language 2024-03-01 14:10:01 +01:00
Chanchai
58435fe972 Added Thai language 2024-03-01 14:10:01 +01:00
NPM Update Bot
9ca88e18af npm: package updates 2024-03-01 00:13:45 +00:00
NPM Update Bot
c733ef410d npm: package updates 2024-02-29 00:11:47 +00:00
cany748
7efdbf38e4 fix: revert ServerError.js 2024-02-28 16:27:33 +07:00
cany748
e8a160b14f refactor!: migrate from express to h3 2024-02-28 15:48:09 +07:00
NPM Update Bot
f963e7a4d1 npm: package updates 2024-02-28 00:11:32 +00:00
Philip H
e942ebd577
app.css: revert version modification 2024-02-27 21:33:53 +01:00
Sergei Birukov
7d19b74845 Fix simple stats wrapping on mobile 2024-02-27 20:03:43 +03:00
Philip H
00956ecf74
Merge branch 'feat-no-privateKey' into feat/clients-without-privatekey 2024-02-26 10:47:43 +01:00
NPM Update Bot
1d7e11e11f npm: package updates 2024-02-26 00:12:23 +00:00
Peter Lewis
ebc5173bd0
usage -> traffic 2024-02-25 22:02:53 +00:00
Peter Lewis
f6b0085c1b
fix regression 2024-02-25 21:47:56 +00:00
Peter Lewis
a40dbe130e
detailed -> usage 2024-02-25 21:42:51 +00:00
Peter Lewis
a4da7421c8
Merge remote-tracking branch 'origin/feat-stats' into feat-stats 2024-02-25 21:40:10 +00:00
Peter Lewis
0444940303
Merge pull request #872 from suxscribe/feat-update-client-layout
Fix detailed stats 3
2024-02-25 19:54:56 +00:00
NPM Update Bot
97b8819834 npm: package updates 2024-02-25 00:13:05 +00:00
Sergei Birukov
2c05b7989f Align stats to the right on mobile 2024-02-22 21:01:01 +03:00
Philip H
fbfaaa4f67
update ApexCharts to v3.46.0 (#867) 2024-02-22 16:27:40 +01:00
NPM Update Bot
6d99128040 npm: package updates 2024-02-22 15:21:18 +00:00
Philip H
d734445184
Fix Gravatar support (#865)
Thank you @sardaukar!
2024-02-22 16:20:45 +01:00
Loudhot
0a2c06a386
Update i18n.js 2024-02-22 15:36:27 +03:00
Loudhot
5a0a9c7333
Update i18n.js
Added Ukrainian language
2024-02-22 03:52:31 +03:00
NPM Update Bot
3fcd74ec3e npm: package updates 2024-02-22 00:11:48 +00:00
pheiduck
511e6140fc update ApexCharts to v3.46.0 2024-02-21 20:34:06 +01:00