Commit Graph

99 Commits

Author SHA1 Message Date
UUBulb
2d7c41a5b2 update waf api (#91) 2025-01-04 20:47:14 +08:00
仓鼠
231f483876 feat: menu add back to home item (#89)
* feat: menu add back to home item

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
2025-01-04 18:42:58 +08:00
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
仓鼠
290459997c fix: footer year text (#88)
* fix: footer year text

* fix: oauth2 list add space

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
2025-01-03 22:43:00 +08:00
Weblate (bot)
367e9ee46d Translated using Weblate (German) (#87)
Currently translated at 100.0% (171 of 171 strings)



Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/de/
Translation: Nezha/Admin frontend

Co-authored-by: Barium <peter.kuehfuss+weblate@gmail.com>
2025-01-03 22:42:32 +08:00
Weblate (bot)
840156cfc8 Translated using Weblate (Chinese (Traditional Han script)) (#85)
Currently translated at 100.0% (171 of 171 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (171 of 171 strings)


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

Co-authored-by: UUBulb <uub@kuzu.uk>
2024-12-31 23:59:39 +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
仓鼠
aaa8baff8f style: login button (#83)
* style: login button

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
2024-12-30 20:45:11 +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
Weblate (bot)
fbf931293e Translated using Weblate (German) (#77)
Currently translated at 100.0% (170 of 170 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (170 of 170 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (170 of 170 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (170 of 170 strings)




Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/de/
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/es/
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/it/
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/zh_Hant/
Translation: Nezha/Admin frontend

Co-authored-by: Kris <krishoodbyair@gmail.com>
Co-authored-by: UUBulb <uub@kuzu.uk>
2024-12-26 22:31:51 +08:00
Weblate (bot)
4f96a0e5e8 Translated using Weblate (Spanish) (#75)
Currently translated at 68.8% (117 of 170 strings)


Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/es/
Translation: Nezha/Admin frontend

Co-authored-by: Kris <krishoodbyair@gmail.com>
2024-12-25 20:24:59 +08:00
naiba
73bb668c83 fix: block button 2024-12-23 19:47:57 +08:00
naiba
5bd24668c7 fix: member role menu 2024-12-23 19:24:46 +08:00
仓鼠
b9cee057f0 fix: incorrect settings page navigate (#72) 2024-12-23 19:18:39 +08:00
仓鼠
5e3db19ed6 fix: i18n (#71)
* fix: block_identifier text

* fix: i18n

* chore: auto-fix linting and formatting issues

* fix: block button

* fix: ConfirmBlock text

* fix: i18n

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
2024-12-23 00:38:40 +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
仓鼠
cc30a53380 fix: window.DisableAnimatedMan as boolean (#62)
* fix: window.DisableAnimatedMan as boolean

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
2024-12-19 21:54:24 +08:00
Weblate (bot)
9440d1f256 Translated using Weblate (Italian) (#63)
Currently translated at 100.0% (160 of 160 strings)

Added translation using Weblate (Spanish)

Translated using Weblate (German)

Currently translated at 100.0% (160 of 160 strings)

Added translation using Weblate (German)





Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/de/
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/it/
Translation: Nezha/Admin frontend

Co-authored-by: Barium <peter.kuehfuss+weblate@gmail.com>
Co-authored-by: Kris <krishoodbyair@gmail.com>
Co-authored-by: UUBulb <uub@kuzu.uk>
2024-12-19 21:49:00 +08:00
naiba
f16069f9b3 fix: typo & render error 2024-12-17 22:19:22 +08:00
naiba
5910c52021 feat: implement InjectContext for dynamic resource injection 2024-12-17 22:03:21 +08:00
仓鼠
896221e83e fix: use system as defaultTheme (#60)
* fix: use system as defaultTheme

* chore: auto-fix linting and formatting issues

* fix: AnimatedMan position on login page

* fix: login form overflow on mobile

* fix: theme selected value display overflow

* fix: dropdown menu username overflow

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
2024-12-17 21:51:16 +08:00
Weblate (bot)
b0f09f4292 Added translation using Weblate (Spanish) (#59)
Translated using Weblate (German)

Currently translated at 100.0% (160 of 160 strings)

Added translation using Weblate (German)




Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/de/
Translation: Nezha/Admin frontend

Co-authored-by: Barium <peter.kuehfuss+weblate@gmail.com>
Co-authored-by: Kris <krishoodbyair@gmail.com>
2024-12-17 21:47:09 +08:00
naiba
855b5d4cc8 chore: refactor 2024-12-15 20:26:35 +08:00
UUBulb
3ec7e7a784 fix install commands (#57)
* fix install commands

* allow disabling animated man

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: uubulb <uubulb@users.noreply.github.com>
2024-12-15 19:38:35 +08:00
naiba
271bdb7f50 chore: change key 2024-12-15 15:27:23 +08:00
naiba
8e45f8ca6f feat: 后台自定义代码 & 后端语言优先 2024-12-15 15:08:57 +08:00
naiba
830992a74d fix: animate man position 2024-12-15 10:57:47 +08:00
仓鼠
d2d3407557 style: header animated image (#54)
* style: header animated image

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
2024-12-15 09:45:56 +08:00
UUBulb
c1177880c8 fix: language code conversion (#53) 2024-12-14 17:17:53 +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
仓鼠
b04ef1bb72 feat: pr auto format (#50) 2024-12-13 23:16:09 +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
Weblate (bot)
6818793ddd Translated using Weblate (Chinese (Traditional Han script)) (#44)
Currently translated at 100.0% (156 of 156 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (156 of 156 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (156 of 156 strings)

Translated using Weblate (English)

Currently translated at 100.0% (156 of 156 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (156 of 156 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (156 of 156 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (156 of 156 strings)

Translated using Weblate (English)

Currently translated at 100.0% (156 of 156 strings)

Deleted translation using Weblate (English (United States))

Added translation using Weblate (English (United States))




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

Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: UUBulb <uub@kuzu.uk>
2024-12-10 21:58:16 +08:00
naiba
d1fba95484 fix: local debug 2024-12-09 23:11:17 +08:00
UUBulb
baf611ea94 fix: multi select scroll (#43) 2024-12-09 20:22:23 +08:00
仓鼠
c01a48cab9 feat: add user_template setting (#36) 2024-12-07 01:17:00 +08:00
UUBulb
d702996021 improve styles (#34) 2024-12-06 22:21:50 +08:00
UUBulb
2ad96714f3 update service api (#29)
* update service api

* update api.ts
2024-12-05 21:00:48 +08:00
UUBulb
1cc36b9098 chore: windows env typo (#27) 2024-12-05 17:04:49 +08:00
bobyasasas
65886f8348 Update install-commands.tsx (#25)
修正了实际windows复制安装脚本不可用的问题
2024-12-05 00:10:58 +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
naiba
36472035e1 fix: websocket 2024-12-02 23:51:24 +08:00
naiba
df6c23af89 fix: websocket 2024-12-02 22:10:07 +08:00
UUBulb
fc1dc1128b fix: profile input auto-complete (#18) 2024-12-02 20:57:19 +08:00