Commit Graph

486 Commits

Author SHA1 Message Date
NPM Update Bot 5afb701013 npm: package updates 2024-03-21 10:42:32 +00:00
NPM Update Bot 62703ffbd6 npm: package updates 2024-03-20 12:38:50 +00:00
Philip H 19589e7ee7
refactor!: migrate from express to h3 (#914) 2024-03-20 13:38:14 +01:00
NPM Update Bot d40536c3fb npm: package updates 2024-03-19 21:10:54 +00:00
Philip H f979d23704
Add Chart and Auto/Light/Dark mode toggles (#925)
A banging contribution from @suxscribe. Many thanks!
2024-03-19 22:10:22 +01:00
suxscribe 1c98e466c6
Merge branch 'feat-stats' into feat-toggles 2024-03-19 18:34:41 +03: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
NPM Update Bot e666a14612 npm: package updates 2024-03-19 12:54:01 +00:00
Sergei Birukov ac6a05f9be Fix lint errors 2024-03-18 21:25:08 +01:00
Sergei Birukov 262318df27 Disable debug 2024-03-18 21:25:08 +01:00
Sergei Birukov 98a5daf458 Fix charts on mobile 2024-03-18 21:25:08 +01:00
Sergei Birukov 71c208133d Remove .env from repo 2024-03-18 21:25:08 +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
Sergei Birukov 81ccf8762d Header mobile layout 2024-03-18 10:05:12 +03:00
NPM Update Bot 90431ff9c5 npm: package updates 2024-03-18 00:03:46 +00:00
Sergei Birukov 32fc78589a Lint 2024-03-17 20:38:21 +03:00
Sergei Birukov f3a8ff6490 Add dark/light mode toggle. Add chart toggle
Change dark/light mode detection
Add saving uiShowCharts to local storage
Add saving uiTheme to local storage
Add ui buttons
2024-03-17 20:38:21 +03:00
Philip H f7bd362538
fixup: Server.js 2024-03-15 15:23:12 +01:00
Philip H 44cc5683d4
Merge branch 'master' into feat-h3 2024-03-15 15:22:17 +01:00
Sergei Birukov 12b72cf389 Fix lint errors 2024-03-15 15:20:35 +01:00
Sergei Birukov ccde2fdfd3 Disable debug 2024-03-15 15:20:35 +01:00
Sergei Birukov 166a58a685 Fix charts on mobile 2024-03-15 15:20:35 +01:00
Sergei Birukov 73242c61c3 Remove .env from repo 2024-03-15 15:20:35 +01:00
Sergei Birukov 3d11730926 Fix traffic charts. Add chart vars
Add UI_TRAFFIC_STATS, UI_CHART_TYPE
2024-03-15 15:20:35 +01:00
NPM Update Bot e2242daef1 npm: package updates 2024-03-15 14:18:17 +00: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
Rahil Bhimjiani d91f08eb1b i18n.js: add Hindi language translation
Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
2024-03-13 18:52:25 +01:00
NPM Update Bot 4dc439f041 npm: package updates 2024-03-13 17:49:02 +00:00
Philip H 2ffb68eeb2
[update] package.json and changelog to current release 12
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-03-12 18:46:50 +01:00
NPM Update Bot 2d683678b0 npm: package updates 2024-03-11 15:34:20 +00:00
NPM Update Bot e408e4bba2 npm: package updates 2024-03-11 00:02:41 +00:00
NPM Update Bot b4930b386c npm: package updates 2024-03-09 17:22:18 +00:00
NPM Update Bot 925a47d15a npm: package updates 2024-03-06 16:04:24 +00:00
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
Bruno Antunes d12c81e51f Forgot to trim the string 2024-02-21 10:33:30 +00:00
Bruno Antunes f61b187402 Fix Gravatar support 2024-02-21 10:23:53 +00:00
NPM Update Bot 1412f63dfa npm: package updates 2024-02-21 09:25:10 +00:00
Philip H a951f0eb26
i18n.js: fixup remove trailing space 2024-02-21 10:22:57 +01:00
nashi23 e4f9a37933 Add Simplified Chinese & Traditional Chinese Language 2024-02-21 16:47:45 +08:00
NPM Update Bot afaaa2bd0e npm: package updates 2024-02-21 00:12:01 +00:00
NPM Update Bot 4b543edec5 npm: package updates 2024-02-20 12:37:34 +00:00
Rui Ribeiro ca508549ca
Added Portuguese Language
Added Portuguese Language
2024-02-20 09:57:10 +00:00
NPM Update Bot 76c6792904 npm: package updates 2024-02-20 00:11:59 +00:00
deffcolony 30ba579517 adds Dutch & Icelandic language
+ added Dutch language
+ added Icelandic language by @alexveebee

Co-Authored-By: Alex <75509525+alexveebee@users.noreply.github.com>
2024-02-19 18:28:16 +01:00
Philip H 264eb078ca
fixup: Missing trailing comma 2024-02-19 12:36:11 +01:00
Quy Dang Quoc 30367ee32b
Add Vietnamese language 2024-02-19 17:04:56 +07:00
jkh0kr 69513770e9
Update i18n.js
Correct Korean language typo
2024-02-19 11:18:23 +09:00
NPM Update Bot cc19f82a19 npm: package updates 2024-02-18 21:56:07 +00:00
Philip H ca7a6c00cc
Fix detailed stats 2 (#844) 2024-02-17 20:38:59 +01:00
Sergei Birukov c47ade71cc Fix some bugs
json error
update css
some refactoring for getUiDetailedStats
2024-02-17 21:48:43 +03:00
Philip H d7d515cdce
Fix detailed stats #843 from suxscribe/feat-update-client-layout 2024-02-17 16:02:01 +01:00
Sergei Birukov a4049acdb6 Wrap layout on <640px 2024-02-17 17:47:52 +03:00
Sergei Birukov a522a442ae Change layout wrapping. Fix last seen 2024-02-17 15:22:43 +03:00
Peter Lewis 4a7700bfb8
Merge pull request #834 from suxscribe/feat-update-client-layout
Show total RX/TX data for each client in UI
2024-02-16 21:57:55 +00:00
NPM Update Bot 6670176c48 npm: package updates 2024-02-15 00:12:05 +00:00
NPM Update Bot 257be24edf npm: package updates 2024-02-14 00:12:09 +00:00
Sergei Birukov 45147ee7c4 Fix lint errors 2024-02-13 19:30:34 +03:00
Sergei Birukov fa392cf260 Add UI_DETAILED_STATS variable
Show detailed RX / TX stats when UI_DETAILED_STATS = true
Add api method to get UI_DETAILED_STATS value on frontend
2024-02-13 12:53:32 +03:00
NPM Update Bot 14e97c8d86 npm: package updates 2024-02-13 09:20:33 +00:00
jkh0kr 4b53c3d755
Update i18n.js
Add Korean language
2024-02-13 11:19:42 +09:00
NPM Update Bot 9fb0b2b760 npm: package updates 2024-02-13 00:12:36 +00:00
Sergei Birukov a1fdc610ad Merge branch 'master' into feat-update-client-layout 2024-02-12 17:30:45 +03:00
amarqz e190544c50
Add Spanish language 2024-02-12 11:11:06 +01:00
NPM Update Bot d386bed476 npm: package updates 2024-02-12 00:12:28 +00:00
Guillem Bonet 7b91dd678e
Add catalan language
Signed-off-by: Guillem Bonet <guillem.bonet@gmail.com>
2024-02-09 10:01:34 +01:00
NPM Update Bot 7cd64c3511 npm: package updates 2024-02-08 00:11:38 +00:00
NPM Update Bot c7a30f4245 npm: package updates 2024-02-07 00:11:50 +00:00
Sergei Birukov 5b2a9308f5 Update client list layout and show total client RX/TX
Update client layout to show current and total rx/tx values in columns.
Update tablet and mobile layout
2024-02-06 17:45:33 +03:00
NPM Update Bot d7b5f4d100 npm: package updates 2024-02-06 00:12:12 +00:00
NPM Update Bot d0e0e6a415 npm: package updates 2024-02-04 00:13:18 +00:00
NPM Update Bot eec94a3b4e npm: package updates 2024-02-03 23:30:30 +00:00
NPM Update Bot 0f07244bb4 npm: package updates 2024-02-02 21:21:49 +00:00
Peter Lewis 660d77d63b
Merge pull request #800 from minghongx/rm-newline-char
Remove redundant newline char in generated client configuration
2024-02-02 20:58:13 +00:00
NPM Update Bot 946eb6004e npm: package updates 2024-02-02 00:11:51 +00:00
Minghong Xu 648594733c fixup: `interface` is a reserved word in strict mode 2024-01-31 03:50:53 +00:00
Thomas Willems 4aa6f99b04
rename is-disabled to inactive 2024-01-30 21:28:46 +01:00
Thomas Willems 20ae02dd48
add .is-disabled 2024-01-30 21:27:05 +01:00
Thomas Willems c7cc3eca4a
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-01-30 21:27:02 +01:00
Minghong Xu 8aafe6b8c9 WireGuard.js: remove redundant newline char in client config generation 2024-01-30 06:59:19 +00:00
NPM Update Bot bfd281fc9f npm: package updates 2024-01-29 20:05:05 +00:00
Philip H 98fb6f724d
fixup: index.html 2024-01-29 16:55:29 +01:00
Philip H 518f8fd811
fixup: index.html 2024-01-29 16:48:32 +01:00
Philip H 8dbc882a11
index.html: logo on loginpage 2024-01-29 16:38:20 +01:00
NPM Update Bot 79f1b88534 npm: package updates 2024-01-29 00:12:15 +00:00
NPM Update Bot 3b42a3522b npm: package updates 2024-01-27 00:11:33 +00:00
NPM Update Bot a9e01b2677 npm: package updates 2024-01-26 00:53:14 +00:00
NPM Update Bot 599a7a07e0 npm: package updates 2024-01-22 21:05:23 +00:00
pheiduck dc83434253 update changelog for v11 2024-01-22 22:04:44 +01:00