Commit Graph

335 Commits

Author SHA1 Message Date
Jacky
32d261d8df Cloudflare DNS comments (#1549)
* feat(dns): add comment support for Cloudflare DNS records

- Add Comment field to Record and RecordInput structs in provider.go
- Update Cloudflare provider to read/write comments on DNS records
- Add comment to frontend API types (DNSRecord, RecordPayload)
- Display Comment column in DNSRecordTable for Cloudflare domains
- Add Comment input field in DNSRecordForm for creating/editing records
- Comments are now visible and editable in the DNS management interface

Closes: feature request for Cloudflare DNS record comments

Co-authored-by: Jacky <me@jackyu.cn>

* fix(dns): decouple comment column visibility and preserve comments in DDNS updates

- Add separate showComment prop to DNSRecordTable component
- DNSRecordManager now passes showComment prop to the table
- Comment column visibility is now independent from proxied column
- DDNS update now preserves existing record.Comment to prevent
  silently clearing comments during IP address updates

Fixes Bugbot review issues:
- Comment column incorrectly coupled to proxied visibility
- DDNS updates silently clear Cloudflare record comments

Co-authored-by: Jacky <me@jackyu.cn>

* fix: resolve code duplication and missing comment field in DNS records

- Extract isCloudflare computed property to eliminate duplication between
  showProxiedToggle and showCommentField in DNSRecordManager.vue
- Add Comment field to recordRequest struct in dto.go
- Map Comment field in toRecordInput function to properly pass comments
  from frontend to the DNS provider layer

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-02-07 17:08:11 +08:00
0xJacky
3721c1b5fa refactor(llm): title generation for LLM sessions #1540 2026-02-07 02:49:01 +00:00
0xJacky
18538df8cb chore: update deps 2026-01-29 23:45:15 +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
Jray
0e7ea57110 feat: support oidc login (#1488) 2025-12-15 21:56:59 +08:00
0xJacky
cb1fb691af refactor: improve provider selection logic in DNSChallenge component and update column definition in ACMEUser view 2025-12-09 17:35:47 +08:00
Jacky
9225c96250 feat/dns (#1466)
* feat: dns management

* refactor(dns): streamline domain management functions and enhance validation

* feat(dns): add value suggestions for DNS record input with autocomplete functionality

* fix(dns): handle edge case in record listing pagination

* fix(dns): update credential property name for consistency and add cleanup on component unmount

* feat(dns): implement DDNS management #1194, #1140
2025-12-08 17:45:30 +08:00
0xJacky
cc8b82057c style: improved maintenance page styles 2025-11-25 13:52:19 +08:00
0xJacky
98e83f13b5 refactor: replace mutex with RWMutex for NodeMap access and implement snapshot functionality #1444 2025-11-24 14:10:23 +00:00
0xJacky
cfb6cae78a refactor: add config to disable site health check #1427, #1415, #1413 2025-11-09 09:41:33 +00:00
0xJacky
3111adfb44 chore: update deps 2025-11-07 18:23:23 +08:00
0xJacky
a6fbd2f567 fix(user): remove password from context payload if nil 2025-10-17 22:15:54 +08:00
0xJacky
ae86ef7a0c fix(upstream): improve caching mechanism for disabled sockets and ensure cache validity 2025-10-05 16:09:42 +00:00
0xJacky
6de168c945 refactor(upstream): remove init function and implement caching for disabled sockets in service 2025-10-05 00:56:31 +00:00
0xJacky
f967501412 feat(geolite): implement GeoLite2 database download from cloud 2025-10-04 13:23: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
de0467b9e7 feat: allow disabling proxy targets availability test #1327 2025-10-03 13:51:12 +00:00
0xJacky
ccedb94880 chore: clean up codes 2025-10-03 14:33:07 +08: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
6567d929eb feat(nginx_log): add index_path configuration for custom index storage 2025-10-01 18:55:44 +08:00
0xJacky
2742aec1d5 feat(nginx): add RefreshModulesCache endpoint #1333 2025-09-19 01:27:09 +00:00
0xJacky
b8cfd93b60 fix: logging middleware context 2025-09-11 22:50:19 +08:00
0xJacky
1626c6117b perf: optimize indexer config for multi-core systems 2025-09-08 09:36:07 +08:00
0xJacky
29ff77a87f fix: websocket readPump context handling 2025-09-06 19:14:11 +08:00
0xJacky
66ba546710 feat: add OS context to LLM chat and enhance session management logic 2025-09-06 11:30:55 +08:00
0xJacky
7214befc8c feat: enhance LLM functionality with nginx configuration context and update ESLint auto-imports 2025-09-05 04:17:39 +00:00
0xJacky
c355cb8e65 feat: add llm sessions and update related logic 2025-09-02 08:01:09 +00:00
0xJacky
a982c04898 enhance: llm and code completion 2025-09-01 10:52:43 +08:00
0xJacky
9aa5a260b6 feat(nginx_log): add advanced indexing settings 2025-08-31 15:11:14 +08:00
0xJacky
8d15d1fcab enhance(nginx_log): indexing status management 2025-08-31 08:25:51 +08:00
0xJacky
b34fa8eeaf enhance(nginx_log): indexing logic, UI feedback for log availability 2025-08-29 23:55:12 +08:00
0xJacky
869012a340 feat(nginx_log): implement log group index deletion and add TabFilter component for log type selection 2025-08-29 16:26:23 +08:00
yilee
486add9d00 feat: 配置管理页面将文件夹和文件分开排序,默认以name字段,升序排序 2025-08-29 07:16:03 +00:00
0xJacky
4b26a559ed enhance: gracefully restart, logging, nginx_log analytics 2025-08-29 15:04:35 +08:00
0xJacky
03fbd9be4c perf: introduced cache for user, site_config, node 2025-08-25 18:50:44 +08:00
0xJacky
fc968a3b39 refactor(nginx-log): optimized parser, indexer, searcher and analyzer 2025-08-25 16:21:29 +08:00
0xJacky
13ee167e23 refactor(nginx-log): change time fields to Unix timestamps 2025-08-21 17:34:41 +08:00
0xJacky
f44c44ccdf fix(kernel): stop parent's program when restart 2025-08-21 10:11:13 +08:00
0xJacky
fa18186d68 feat(nginx_log): add geo map 2025-08-20 10:23:56 +08:00
0xJacky
0ff4a6e4ed refactor: nginx log with indexer parse and search 2025-08-19 23:01:12 +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
a15ad68b99 fix(websocket): increase buffer size for websocket channels and improve client handling 2025-08-07 08:34:50 +08:00
0xJacky
b69fe050f7 fix(websocket): replace websocket error handling with helper function 2025-08-06 11:47:37 +08:00
0xJacky
fb1d82f29d feat(logging): add debug logging for process checks in nginx 2025-08-06 10:37:41 +08:00
0xJacky
1130047461 chore: update translations 2025-08-06 10:21:22 +08:00
0xJacky
38ee12f587 feat: add EAB supports for ACME user register #1255 2025-08-02 21:18:32 +08:00
0xJacky
33adfc7c36 fix(router): proxy ws routes for environments and nginx detail status #1280 2025-08-01 18:54:08 +08:00
0xJacky
cd05303163 fix(config): update path handling #1278 2025-08-01 11:09:34 +08:00
0xJacky
2d4deedf4a feat(config): add Name attribute to config assignment in EditConfig and handleNginxConfigModify functions #1273 2025-07-30 21:23:06 +08:00