Commit Graph
57 Commits
Author SHA1 Message Date
naiba 718bff0abb feat: oauth2 登录 2024-12-28 23:50:24 +08:00
naiba 8130e336a9 fix: block button 2024-12-23 19:47:57 +08:00
naiba 86115547a5 fix: member role menu 2024-12-23 19:24:46 +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 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 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
仓鼠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
naiba 9204e0ae37 chore: refactor 2024-12-15 20:26: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 5bd0e1c073 fix: animate man position 2024-12-15 10:57:47 +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 ee752b1ba7 fix: language code conversion (#53) 2024-12-14 17:17:53 +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 97d49de6be refactor: enum i18n 2024-12-14 10:39:07 +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 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
naiba e2027a0ef0 fix: local debug 2024-12-09 23:11:17 +08:00
UUBulb b53688b4f4 fix: multi select scroll (#43) 2024-12-09 20:22:23 +08:00
UUBulb 57472ca2b4 improve styles (#34) 2024-12-06 22:21:50 +08:00
UUBulb d21daa47f9 update service api (#29)
* update service api

* update api.ts
2024-12-05 21:00:48 +08:00
UUBulb 9cc1a1e1bd chore: windows env typo (#27) 2024-12-05 17:04:49 +08:00
bobyasasas 188b7b9a0e Update install-commands.tsx (#25)
修正了实际windows复制安装脚本不可用的问题
2024-12-05 00:10:58 +08:00
UUBulb 950318417f 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 2e814e6f5e fix: websocket 2024-12-02 23:51:24 +08:00
naiba 4cdb11059a fix: websocket 2024-12-02 22:10:07 +08:00
UUBulb dec642a8e6 fix: profile input auto-complete (#18) 2024-12-02 20:57:19 +08:00
GuGuGu 14f4d03320 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
naiba ef70277ff4 feat: 优化复制安装命令提示 2024-11-30 20:14:49 +08:00
naiba a3c9fcec73 fix: copy to clipboard 2024-11-30 17:08:47 +08:00
UUBulb 31c0e4c485 fix: wrong variable name (#12) 2024-11-30 15:18:41 +08:00
UUBulbandnaiba f3a5f04392 fix: never write undefined (#11)
Co-authored-by: naiba <hi@nai.ba>
2024-11-30 15:04:00 +08:00
naiba c98632bc17 feat: 修改用户名,简化代码 2024-11-30 15:02:42 +08:00
UUBulb e42910ad35 implement install-commands button (#10)
* fix: type conversion

* implement install-commands button
2024-11-30 13:44:17 +08:00
naiba 3e9a75125a feat: 调整安装脚本复制位置 2024-11-30 12:58:53 +08:00
UUBulb f6656a8e84 fix: type conversion (#9) 2024-11-30 11:41:50 +08:00
GuGuGu 24286a7449 feat(I18n): Add multiple languages ​​(zh-CN/zh-TW/en/it) (#8) 2024-11-29 20:47:09 +08:00
UUBulb 3f3a585a62 fix validation & implement profile page (#5)
* fix validation

* implement profile page

* catch error
2024-11-26 21:20:56 +08:00
UUBulb 3b5023061b implement setting page (#12) 2024-11-23 21:59:48 +08:00
naiba f17bdbf760 fix: logout & login page home button 2024-11-23 10:25:54 +08:00
naiba 135cdf1111 rename 2024-11-23 01:18:01 +08:00
UUBulb 1c8494cd59 feat: responsive fm card (#11)
* feat: responsive fm card

* delete meaningless words

* fix joinIP
2024-11-22 22:15:41 +08:00
UUBulb b1b8b91fb5 feat: responsive header, search boxes (#10) 2024-11-22 07:41:47 +08:00
UUBulb 8248d6c910 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 059c33eda4 implement notification page (#8) 2024-11-20 21:37:03 +08:00
UUBulb 0e4bcd3938 implement cron page (#7) 2024-11-20 00:19:40 +08:00
UUBulb a487e6cb99 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 134cd670ad implement nat & ddns page (#5) 2024-11-19 14:55:21 +08:00
UUBulb bf7ffd36e0 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 f4fbc9f488 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