408 Commits
Author SHA1 Message Date
naiba 5bd24668c7 fix: member role menu 2024-12-23 19:24:46 +08:00
naiba 86115547a5 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
仓鼠 298cc4ca2a fix: incorrect settings page navigate (#72) 2024-12-23 19:18:39 +08:00
仓鼠andhamster1963 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
仓鼠andhamster1963 f694c97704 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
仓鼠andhamster1963 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
仓鼠andhamster1963 7fdac38291 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
仓鼠andhamster1963 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
仓鼠andhamster1963 5ad915c973 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
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
90e8e4b620 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 76f868d242 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
naiba a1ca16b297 feat: implement InjectContext for dynamic resource injection 2024-12-17 22:03:21 +08:00
仓鼠andhamster1963 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
仓鼠andhamster1963 6d9928abd3 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
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
d0d33dbb65 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
naiba 9204e0ae37 chore: refactor 2024-12-15 20:26:35 +08:00
UUBulbanduubulb 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
UUBulbanduubulb 43a97b9175 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 1a2c5a5a44 chore: change key 2024-12-15 15:27:23 +08:00
naiba 8e45f8ca6f feat: 后台自定义代码 & 后端语言优先 2024-12-15 15:08:57 +08:00
naiba 71e2f1a699 feat: 后台自定义代码 & 后端语言优先 2024-12-15 15:08:57 +08:00
naiba 830992a74d fix: animate man position 2024-12-15 10:57:47 +08:00
naiba 5bd0e1c073 fix: animate man position 2024-12-15 10:57:47 +08:00
仓鼠andhamster1963 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
仓鼠andhamster1963 0314765765 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
UUBulb ee752b1ba7 fix: language code conversion (#53) 2024-12-14 17:17:53 +08:00
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
78afbb5609 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
naiba 97d49de6be 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
仓鼠 e0305723c3 fix: Duplicate template options (#51)
* fix: Duplicate template options

* fix: form option i18n text
2024-12-14 10:16:33 +08:00
仓鼠andhamster1963 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
仓鼠andhamster1963 540bb0185d 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
仓鼠 811835ffe5 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
UUBulb aa53b8cedc 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
naiba dc2f28979f feat: api update 2024-12-10 22:19:31 +08:00
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
dca8ec9b3f 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