aboutsummaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-03-08 18:17:23 +0530
committerBobby <[email protected]>2026-03-08 18:17:23 +0530
commit1136af49815be77a0aca151f3b8ec7348bf4b4c8 (patch)
treeca4d94f981be59c51fa7d160e32be978a8d4b4fb /database
parentf48054e9bc5e4fb36b9aba9126c6ace9c5b1f470 (diff)
downloaddove-1136af49815be77a0aca151f3b8ec7348bf4b4c8.tar.xz
dove-1136af49815be77a0aca151f3b8ec7348bf4b4c8.zip
feat(dns): add update functionality for DNS records (MX, SRV, TXT)
- Implemented UpdateMXRecord, UpdateSRVRecord, and UpdateTXTRecord functions in their respective repositories. - Added UpdateRecord method in dns service to handle updates for various DNS record types. - Updated router to include a new route for updating DNS records. - Enhanced error messages for record updates in messages.go. - Modified the frontend forms to support editing DNS records with improved UI components. - Refactored existing domain management code to remove unused update functionality. - Improved email handling by adding MX record validation during email delivery.
Diffstat (limited to 'database')
-rw-r--r--database/migration.go2
-rw-r--r--database/resolve.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/database/migration.go b/database/migration.go
index 9df1bfc..56a0115 100644
--- a/database/migration.go
+++ b/database/migration.go
@@ -29,4 +29,4 @@ func migrate() {
if migrationError != nil {
logger.Fatalf(LogPrefix, MigrationFailed, migrationError)
}
-} \ No newline at end of file
+}
diff --git a/database/resolve.go b/database/resolve.go
index db90dc5..66ede18 100644
--- a/database/resolve.go
+++ b/database/resolve.go
@@ -19,4 +19,4 @@ func resolveGORMLogLevel() logger.Interface {
default:
return logger.Default.LogMode(logger.Silent)
}
-} \ No newline at end of file
+}