Commit Graph

56 Commits

Author SHA1 Message Date
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
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
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
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. 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
cany748 e8a160b14f refactor!: migrate from express to h3 2024-02-28 15:48:09 +07:00
Peter Lewis ebc5173bd0 usage -> traffic 2024-02-25 22:02:53 +00:00
Peter Lewis a40dbe130e detailed -> usage 2024-02-25 21:42:51 +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
pheiduck a182efb443 load language before session 2024-01-19 09:35:35 +01:00
Alexander 7ba2ed6368 Merge branch 'master' into master 2024-01-09 12:49:34 +07:00
Philip H. e3fd6cf8b4 fixup: bcrypt implementation 2023-12-29 15:43:26 +00:00
Alexander 7d7a2ff8d7 Merge branch 'master' into master 2023-12-22 14:29:38 +07:00
Philip H 8d88549d02 Server.js: expiryDate prevents login 2023-12-17 18:31:31 +01:00
Philip H. 2a775d4bf7 fixup: Prototype-polluting assignment (medium) 2023-12-03 11:50:14 +00:00
Philip H. 206033a731 fixup: Prototype-polluting assignment (medium) 2023-12-03 10:21:43 +00:00
Philip H. 7d755f033b session will be expire in 1 hour 2023-12-03 09:06:06 +00:00
Philip H. 35144b34c2 fixup: some security stuff 2023-12-03 08:53:54 +00:00
Philip H f1cafc3f09 fixup Server.js: revert secure: true
Clear text transmission of sensitive cookie (medium)
needs rework for better fix
2023-12-02 23:49:41 +01:00
Philip H 4c7d763d24 fixes: security stuff (#47)
Insecure randomness (high)
gravatar: md5 insecure hash algorithm (high)
Clear text transmission of sensitive cookie (medium)
2023-12-02 22:59:30 +01:00
Philip H. e5f4fb4e90 fixup: require('bcryptjs') 2023-12-02 13:07:21 +00:00
Philip H. bf956e3ae8 Support for sessionless HTTP API authentication 2023-11-21 20:06:55 +00:00
Rahil Bhimjiani dd86dbaef0 Ability to change ip address WebUI binds to with WEBUI_HOST env var 2023-06-03 16:14:47 +05:30
Peter Lewis 6bbd46e7df Update Server.js 2023-02-01 11:21:40 +00:00
cany748 bc38a72b1a Merge branch 'WeeJeWel:master' into master 2022-07-06 11:57:52 +07:00
Emile Nijssen bc320fbf79 fixes #306 2022-07-03 21:38:22 +02:00
cany748 2c29909ef6 add environment variable for changes lang 2022-06-20 20:09:17 +07:00
Emile Nijssen 90c4ca90bd fixes #199 2022-06-12 23:03:57 +02:00
Vojta Drbohlav 722bd18999 normalize config file name for download to make it work on Windows
Windows client name is derived from config file name when importing to WireGuard and it only accepts names satisfying /^[a-zA-Z0-9_=+.-]{1,32}$/.
For more information look at https://github.com/WireGuard/wireguard-windows/blob/af60ab229954519b8295bb3ef453231f4d3b9087/conf/name.go#L24.
2021-10-11 22:02:08 +02:00