Commit Graph

46 Commits

Author SHA1 Message Date
0xJacky
9f1b9bbbba refactor(ws): implement SafeWebSocketWriter for serialized access
- Introduced SafeWebSocketWriter to ensure thread-safe writes to WebSocket connections.
- Updated WebSocket handling in certificate issuance, revocation, Nginx log tailing, and system upgrades to use the new writer.
- Enhanced WebSocket client management in the site navigation module for improved message handling and connection stability.
2026-04-04 02:01:20 +00:00
0xJacky
cb92cc4da8 feat: add ACMEUserID to certificate issuance and auto-certification requests 2026-03-16 00:52:12 +00:00
0xJacky
20412b5b54 refactor: configuration path resolution for sites and streams 2026-03-15 22:20:29 +08:00
0xJacky
413dc631ee feat: add WebSocketTrustedOrigins configuration and implement origin validation for WebSocket connections
- Introduced `WebSocketTrustedOrigins` setting in `app.example.ini` and corresponding documentation.
- Refactored WebSocket origin checks across multiple API endpoints to utilize the new middleware for improved security.
- Added tests for the new origin validation logic to ensure proper handling of trusted origins and node secret requests.
2026-03-14 23:37:10 +08:00
Nemer Y Tamimi
93b10d7759 feat: Integrate DNS record management into site configuration (#1519)
* feat: Integrate DNS record management into site configuration

- Removed the 'External Notification Test' notification.
- Enhanced SiteAdd.vue to include DNS record integration, allowing users to select or create DNS records linked to the site.
- Added DNSRecordIntegration component for managing DNS records, including selection and creation of new records.
- Implemented DNS linking functionality in the RightPanel component, enabling users to link existing DNS records to their site configuration.
- Updated SiteEditor to provide DNS link status to child components.
- Extended the site model to include fields for linked DNS domain and record information.
- Added logic to handle DNS record recreation if a linked record is missing.

* fix: remove unnecessary type assertion for selectedDomainId and selectedRecordId

* feat: add computed properties for selectedDomainId and selectedRecordId to handle null values

* refactor: simplify setter syntax for computed properties of selectedDomainId and selectedRecordId

* fix: update computed properties to return undefined for null values in selectedDomainId and selectedRecordId

---------

Co-authored-by: Nemer Tamimi <nemer.tamimi@uopeople.edu>
2026-01-14 13:35:03 +08:00
0xJacky
cfb6cae78a refactor: add config to disable site health check #1427, #1415, #1413 2025-11-09 09:41:33 +00:00
0xJacky
e71293cd76 feat: add deploy_mode field to namespace and implement sandbox testing for nginx config #1350 2025-10-04 04:51:23 +00:00
0xJacky
e26a4fa263 fix: replace env_group_id with namespace_id in API endpoints and types #1369 2025-10-02 10:44:24 +00:00
0xJacky
03fbd9be4c perf: introduced cache for user, site_config, node 2025-08-25 18:50:44 +08:00
0xJacky
e2b66fd8dd feat(dashboard): add sites navigation #1054 2025-08-14 11:04:49 +08:00
0xJacky
261c76686e refactor: rename env to node, env group to namespace 2025-08-13 10:50:37 +08:00
0xJacky
552cf5c0e8 feat(upstream): add upstream cards and detail modal 2025-07-30 10:17:17 +08:00
0xJacky
8ad1f0cc33 feat: add name filtering to site and stream listing options 2025-07-28 18:28:52 +08:00
Jacky
544d2badec refactor: add bleve search integration and enhance config list #1207 2025-07-05 20:37:28 +08:00
Jacky
0275f011a8 refactor: remove ChatGPTMessages from config structure and update URL unescaping logic 2025-06-01 14:48:10 +08:00
Jacky
7580fa4572 feat: add proxy targets support in site and stream #904 2025-05-26 11:39:24 +08:00
Jacky
909d63bdb1 fix: unify symlink handling for site and stream on posix and win 2025-05-13 08:00:13 +00:00
Jacky
163a84864a enhance: error handling #993 2025-04-30 09:20:46 +08:00
Jacky
502b656bc5 feat(site): implement site status management and update related components 2025-04-14 02:11:53 +00:00
Jacky
df304b41bc refactor: consolidate maintenance mode endpoints and enhance site status handling 2025-04-08 10:54:23 +08:00
Jacky
5d3f478086 feat: maintenance mode #739 2025-04-07 19:11:54 +08:00
Jacky
c013c468a0 feat(site): index url #736,#310 2025-04-05 20:52:34 +08:00
Jacky
94fcbf6362 feat(env_group): add post-sync action to environment and stream configurations #725 2025-04-05 18:58:02 +08:00
Jacky
a379211e3c feat(env_group): migrate site_category to env_group 2025-04-05 10:49:34 +08:00
Jacky
b469ca7961 refactor: replace api error handler with cosy err handler 2025-03-29 20:33:48 +08:00
Jacky
f3d4cdbeb4 feat(site-category): support for custom sorting #902 2025-03-15 10:55:01 +08:00
Jacky
bc70567dc1 feat(wip): node selector supports sse 2024-11-16 10:58:02 +08:00
Jacky
902aa28746 fix(table): sorter invalid 2024-11-15 17:36:52 +08:00
Jacky
22e37e4b61 feat(site): sync operation 2024-10-26 10:40:06 +08:00
Jacky
6c137e5229 feat(site): save sync node ids 2024-10-26 10:40:06 +08:00
Jacky
aa556767f2 feat: add filter of category for sites list 2024-10-26 10:40:01 +08:00
Jacky
207f80f858 feat: add category option for site 2024-10-26 10:40:00 +08:00
Jacky
7ad5cac3b8 feat(wip): site category 2024-10-26 10:39:31 +08:00
Jacky
c5f5038d35 style(go): sort imports 2024-10-24 18:22:45 +08:00
Jacky
33a996e777 refactor: migrate to new cosy 2024-10-22 16:38:38 +08:00
Jacky
0e1efd35fc feat(site): add status filter #633 2024-10-19 13:21:33 +08:00
Jacky
e1a5521f4a feat: display info of multiple certificates in server tab. 2024-07-24 16:42:13 +08:00
Jacky
b3486a42a5 feat: sync certificates to remote server #293, #363, #411 2024-06-18 17:39:05 +08:00
Jacky
642e21a260 enhance: chat with LLM 2024-05-02 12:49:01 +08:00
Jacky
3e90b838fd feat: SSL management support different types of certificates of a same doamin name #309 2024-04-30 16:09:40 +08:00
0xJacky
85da74b3f0 enhance: update gonginx and cosy to latest version 2024-01-14 10:53:27 +08:00
0xJacky
591486a689 fix: read properties of null in NodeSelector 2023-12-15 22:38:56 +08:00
0xJacky
2649b710bb feat: introducing streams management pages #166 2023-12-15 21:43:13 +08:00
0xJacky
ac68fd05c9 refactor(cert): introducing new management page
1. User can now view the latest renew logs of the certain certificate.

2. Add manually renew button in certificate modify page for managed certificate (auto cert)
2023-12-04 22:22:42 +08:00
0xJacky
287ef7527d refactor: refactor app and api 2023-11-29 00:08:44 +08:00
0xJacky
50b4fbcda4 refactor: structure of api-router directory 2023-11-27 23:53:23 +08:00