Commit Graph

69 Commits

Author SHA1 Message Date
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
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
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
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