396 Commits

Author SHA1 Message Date
wood chen
f21a8cf844
Merge pull request #5 from hamster1963/main
sync
2025-01-09 17:43:15 +08:00
hamster1963
b1c5b6e0a8 fix: ws cleanup when page visibility change 2025-01-09 11:33:03 +08:00
hamster1963
4da870dd79 fix: ws cleanup before unload 2025-01-09 11:29:39 +08:00
54da9ad052 删除functions, 因为不支持ws 2025-01-06 18:31:53 +08:00
f7e2b35f52 refactor: remove api.js file containing API request handling logic 2025-01-06 18:16:02 +08:00
0661ae261f chore: remove unused API request handling code from index.js 2025-01-06 17:59:12 +08:00
0ff71170e1 feat: enhance API request handling for WebSocket and HTTP protocols
- Added support for WebSocket upgrade requests, converting HTTP/HTTPS to WS/WSS.
- Improved handling of regular HTTP requests by creating a new target URL based on the API base URL.
- Cleaned up request headers to remove potentially problematic headers.
- Enhanced response handling by copying all response headers and setting CORS headers for better cross-origin support.
- Improved error handling to include CORS headers in error responses.
2025-01-06 17:56:19 +08:00
95db007987 Merge branch 'main' of https://github.com/woodchen-ink/nezha-dash-v1 2025-01-06 17:51:02 +08:00
ce076d60cb chore: remove edgeone.json 2025-01-06 17:50:58 +08:00
wood chen
c5c06f6cca
Merge pull request #4 from hamster1963/main
feat: use full region name
2025-01-06 17:50:16 +08:00
4bdf7827af chore: Update translations and fix network unit error 2025-01-06 17:46:48 +08:00
93c09263a1 Merge branch 'main' of https://github.com/woodchen-ink/nezha-dash-v1 2025-01-06 17:43:37 +08:00
4522661879 chore: Update .gitignore to include Tencent Cloud EdgeOne files 2025-01-06 17:43:35 +08:00
hamster1963
0a64cdc8c3 feat: use full region name 2025-01-05 22:33:32 +08:00
wood chen
3d8293cf32
Merge pull request #3 from hamster1963/main
sync
2025-01-04 19:39:51 +08:00
hamster1963
9d0654a3bb feat: open dashboard on the same page 2025-01-04 17:13:00 +08:00
hamster1963
c565e2728e fix: build 2025-01-04 17:11:44 +08:00
hamster1963
52dc3cffde chore: deps 2025-01-04 17:11:33 +08:00
仓鼠
962656c73c
Merge pull request #25 from weblate/weblate-nezha-user-frontend
Translations update from Hosted Weblate
2025-01-03 15:11:06 +08:00
weblate
4827a591ac chore: auto-fix linting and formatting issues 2025-01-03 07:09:06 +00:00
Hosted Weblate
1b0d88c8bf
Translated using Weblate (German)
Currently translated at 100.0% (86 of 86 strings)

Co-authored-by: Barium <peter.kuehfuss+weblate@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/de/
Translation: Nezha/User frontend
2025-01-03 07:08:41 +00:00
hamster1963
6fbadb7d6c fix: network unit error 2025-01-03 10:16:17 +08:00
hamster1963
2f02123787 feat: save group selected 2025-01-03 10:00:07 +08:00
hamster1963
1e2c271dc8 feat: store position 2025-01-03 09:38:54 +08:00
wood chen
c6a7490bf9
Merge pull request #2 from hamster1963/main
sync
2025-01-02 15:18:15 +08:00
hamster1963
0b43a3943d feat: better group switch 2025-01-01 22:00:28 +08:00
hamster1963
2b854a1934 chore: deps 2025-01-01 21:10:54 +08:00
7f29e94d15 Merge branch 'main' of https://github.com/woodchen-ink/nezha-dash-v1 2024-12-30 11:50:04 +08:00
619967c573 fix: Update site name in Header component 2024-12-30 11:50:01 +08:00
wood chen
40e186714f
Merge pull request #1 from hamster1963/main
sync
2024-12-30 11:43:05 +08:00
hamster1963
f5fd018422 feat: new setting api model 2024-12-30 11:37:08 +08:00
hamster1963
1fcabdd45b chore: deps 2024-12-28 23:41:45 +08:00
仓鼠
9f09ab003a
Merge pull request #24 from weblate/weblate-nezha-user-frontend
Translations update from Hosted Weblate
2024-12-27 16:36:37 +08:00
Hosted Weblate
b75e410f97
Translated using Weblate (German)
Currently translated at 100.0% (86 of 86 strings)

Translated using Weblate (German)

Currently translated at 100.0% (86 of 86 strings)

Translated using Weblate (German)

Currently translated at 100.0% (86 of 86 strings)

Translated using Weblate (German)

Currently translated at 100.0% (86 of 86 strings)

Co-authored-by: Barium <peter.kuehfuss+weblate@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: UUBulb <uub@kuzu.uk>
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/de/
Translation: Nezha/User frontend
2024-12-27 07:55:16 +01:00
仓鼠
263f2eb60c
Merge pull request #23 from weblate/weblate-nezha-user-frontend
Translations update from Hosted Weblate
2024-12-27 09:14:22 +08:00
Hosted Weblate
cd77f45ebb
Added translation using Weblate (German)
Added translation using Weblate (Spanish)

Co-authored-by: Barium <peter.kuehfuss+weblate@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: UUBulb <uub@kuzu.uk>
2024-12-26 21:12:09 +00:00
8e713a6a02 chore: Update deployment workflow and translations 2024-12-27 03:12:06 +08:00
e6eed9ef3b chore: Remove npm cache from GitHub Actions workflow 2024-12-27 03:08:11 +08:00
b44a26e511 refactor: Update project branding and configuration
- Changed the title and branding from "哪吒监控 Nezha Monitoring" to "CZL SVR" in index.html and Header component.
- Updated stylesheet links to point to a new CDN.
- Modified API proxy settings in vite.config.ts to use a different port (18009).
- Removed outdated GitHub Actions workflows for linting and building.
- Updated footer links and removed unnecessary version display.
- Updated translations in English, Simplified Chinese, and Traditional Chinese locales to reflect new branding.
- Deleted unused apple-touch-icon.png from assets.

This commit enhances the project's branding and streamlines the configuration.
2024-12-27 03:05:14 +08:00
hamster1963
81b94fca0e feat: CycleTransferStats display by group 2024-12-26 21:58:49 +08:00
仓鼠
38c9ac3e99
Merge pull request #22 from weblate/weblate-nezha-user-frontend
Translations update from Hosted Weblate
2024-12-26 21:32:20 +08:00
hamster1963
3714b5ba32 fix: toast position 2024-12-26 21:27:42 +08:00
weblate
aef376bfbe chore: auto-fix linting and formatting issues 2024-12-26 05:38:23 +00:00
Hosted Weblate
82660ea1ae
Added translation using Weblate (Spanish)
Co-authored-by: UUBulb <uub@kuzu.uk>
2024-12-26 06:37:49 +01:00
hamster1963
ce8e25ff4b feat: profile refetch 2024-12-26 11:12:45 +08:00
hamster1963
5334fd2acb feat: refactor refresh 2024-12-26 11:07:52 +08:00
hamster1963
704818d084 feat: forceUseSvgFlag 2024-12-25 15:39:43 +08:00
hamster1963
edd2404538 style: GlobalMap background when custom background is enable 2024-12-25 15:28:25 +08:00
hamster1963
74a2253e8e fix: disable retry 2024-12-25 14:34:50 +08:00
hamster1963
1c3684faaf feat: sync login status with dashboard 2024-12-25 14:28:35 +08:00