Commit Graph

40 Commits

Author SHA1 Message Date
UUBulb
f93d266810 improve: add missing try-catch cases (#86)
* improve: add missing try-catch cases

* i18n: support german

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: uubulb <uubulb@users.noreply.github.com>
2025-01-03 22:43:36 +08:00
UUBulb
5517a8df38 update oauth2 (#84)
* update oauth2

* i18n

* fix validation

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: uubulb <uubulb@users.noreply.github.com>
2024-12-31 23:11:41 +08:00
naiba
d54372fb0c chore: add type 2024-12-30 21:15:17 +08:00
UUBulb
01add8b160 optimize fm (#82)
* optimize fm

* chore: auto-fix linting and formatting issues

* fix: type

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: uubulb <uubulb@users.noreply.github.com>
Co-authored-by: naiba <hi@nai.ba>
Co-authored-by: naiba <naiba@users.noreply.github.com>
2024-12-29 22:19:50 +08:00
naiba
97a5deb648 feat: oauth2 登录 2024-12-28 23:50:24 +08:00
naiba
73bb668c83 fix: block button 2024-12-23 19:47:57 +08:00
仓鼠
4d12682cdf User Role (#69)
* fix: window.DisableAnimatedMan as boolean

* chore: auto-fix linting and formatting issues

* feat: user role

* feat: use user agent_secret

* feat: hide setting when user role is not admin

* feat: new waf api

* chore: auto-fix linting and formatting issues

* fix: admin settings page

* feat: online-user setting

* fix: pagination

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
2024-12-22 23:17:20 +08:00
Weblate (bot)
437a8d7b6c Translations update from Hosted Weblate (#45)
* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (English)

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (English)

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 96.8% (153 of 158 strings)

Translated using Weblate (Italian)

Currently translated at 69.6% (110 of 158 strings)

Translated using Weblate (English)

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 99.3% (157 of 158 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 70.8% (112 of 158 strings)

Translated using Weblate (Italian)

Currently translated at 99.3% (157 of 158 strings)

Translated using Weblate (English)

Currently translated at 100.0% (158 of 158 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: UUBulb <uub@kuzu.uk>
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/en/
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/it/
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/zh_Hant/
Translation: Nezha/Admin frontend

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: UUBulb <uub@kuzu.uk>
Co-authored-by: weblate <weblate@users.noreply.github.com>
2024-12-14 16:59:45 +08:00
naiba
b9a8651371 refactor: enum i18n 2024-12-14 10:39:07 +08:00
仓鼠
d67b9ff4d2 fix: Duplicate template options (#51)
* fix: Duplicate template options

* fix: form option i18n text
2024-12-14 10:16:33 +08:00
仓鼠
8c8d3e3057 Dashboard Redesign (#48)
* feat: add user_template setting

* style: header

* style: page padding

* style: header

* feat: header now time

* style: login page

* feat: nav indicator

* style: button inset shadow

* style: footer text size

* feat: header show login_ip

* fix: error toast

* fix: frontend_templates setting

* fix: lint

* feat: pr auto format

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
2024-12-13 23:51:33 +08:00
UUBulb
1c09c7d6e9 fix: custom_nameservers should be dns_servers (#46)
* fix: custom_nameservers should be dns_servers

* fix ipv6 address conversion
2024-12-13 22:27:05 +08:00
naiba
ff6318c961 feat: api update 2024-12-10 22:19:31 +08:00
仓鼠
c01a48cab9 feat: add user_template setting (#36) 2024-12-07 01:17:00 +08:00
UUBulb
2ad96714f3 update service api (#29)
* update service api

* update api.ts
2024-12-05 21:00:48 +08:00
UUBulb
58efdde19e fix: missing notification group input in settings (#24)
* fix: missing notification group input in settings

* change script name

* license

* update settings api

* improve: cell width

* feat: site name
2024-12-04 20:03:16 +08:00
GuGuGu
22c53cf723 fix: Kill auto language (#21)
* fix: Kill auto language

Kill the background automatic recognition of language to prevent backend
Language file correction

* refactor(Aggregate): Ports and install hosts

Optimize multi-language

* fix(I18n): Kill spurious shortcuts

Fix wrong import
2024-12-02 20:57:03 +08:00
GuGuGu
c99da9fdc1 fix: language types error (#14) 2024-11-30 23:56:30 +08:00
naiba
3dc6da8ea9 fix: waf page 2024-11-30 21:31:55 +08:00
Colin
63bb672ff1 fix(I18n): Translation supplement
Translation supplement, automatic lanSupplement the missing translations
2024-11-30 13:04:34 +01:00
naiba
eb044d42bc feat: 修改用户名,简化代码 2024-11-30 15:02:42 +08:00
UUBulb
7d672fa8c5 implement install-commands button (#10)
* fix: type conversion

* implement install-commands button
2024-11-30 13:44:17 +08:00
GuGuGu
47f092918e feat(I18n): Add multiple languages ​​(zh-CN/zh-TW/en/it) (#8) 2024-11-29 20:47:09 +08:00
UUBulb
5850fe7fca fix: server api schema (#6) 2024-11-28 17:06:37 +08:00
UUBulb
7325939198 fix validation & implement profile page (#5)
* fix validation

* implement profile page

* catch error
2024-11-26 21:20:56 +08:00
UUBulb
b474400649 implement setting page (#12) 2024-11-23 21:59:48 +08:00
UUBulb
2991b91f35 feat: responsive fm card (#11)
* feat: responsive fm card

* delete meaningless words

* fix joinIP
2024-11-22 22:15:41 +08:00
UUBulb
87e17a07df feat: responsive header, search boxes (#10) 2024-11-22 07:41:47 +08:00
UUBulb
33b2ffb40c implement remaining features of the server page (#9)
* implement remaining features of the server page

* fix fm init

* ?
2024-11-21 22:20:14 +08:00
UUBulb
b3588b3378 implement notification page (#8) 2024-11-20 21:37:03 +08:00
UUBulb
e37f30d335 implement cron page (#7) 2024-11-20 00:19:40 +08:00
UUBulb
2bf2639080 implement group page (#6)
* implement group page

* group state, search box

* rename some field

* update api types
2024-11-19 21:40:03 +08:00
UUBulb
37a121559f implement nat & ddns page (#5) 2024-11-19 14:55:21 +08:00
UUBulb
fc923f3ab1 further implementing server page (#4)
* further implementing server page

* optimize icon button

* rename some unnecessary file extensions

* add terminal page & fm card
2024-11-18 20:48:30 +08:00
UUBulb
6e3f888792 further implementing service page (#3) 2024-11-17 10:05:20 +08:00
uubulb
b1a9a231a7 fix api types, add more form fields 2024-11-15 21:28:48 +08:00
naiba
f842d5aeec feat: auto generate api types 2024-11-09 00:07:21 +08:00
naiba
680dc219d3 feat: server table 1/10 2024-11-06 00:09:03 +08:00
naiba
b1a0b607da feat: login & check user 2024-11-03 23:29:32 +08:00
naiba
017e6cfdcf login page 2024-11-02 22:34:43 +08:00