happyDomain/model
Pierre-Olivier Mercier 2572e8c319 Preserve service metadata across zone re-analyses
After AnalyzeZone rebuilds services from raw DNS records, metadata that
cannot be derived from DNS (Id, UserComment, OwnerId, Aliases, TTL, and
service-specific fields like OpenPGP/SMimeCert Username) was lost.

Add a post-processing function ReassociateMetadata that matches new
services to old ones by type and subdomain (using RDATA hashing for
disambiguation) and transfers metadata. Services opt in to body-level
transfer via the new MetadataEnricher interface.
2026-03-14 11:06:49 +07:00
..
api.go chore: replace interface{} with any across the codebase 2026-03-01 17:38:04 +07:00
auth_user.go Transparently rehash passwords with outdated bcrypt cost on login 2026-03-12 13:06:20 +07:00
authentication.go Clean architecture refactoring 2025-04-22 14:15:03 +02:00
backup.go Remove plural structs not used as struct 2025-05-22 15:46:06 +02:00
captcha.go Add Altcha captcha provider support 2026-02-13 12:29:14 +07:00
change_password.go Clean architecture refactoring 2025-04-22 14:15:03 +02:00
config.go chore: apply Go naming conventions and minor code improvements 2026-03-01 17:38:12 +07:00
correction.go Add missing json tag on all structs for better OpenAPI generation 2026-01-26 12:34:55 +08:00
domain.go Add comprehensive test coverage for model package 2026-01-09 15:34:31 +07:00
domain_test.go Add comprehensive test coverage for model package 2026-01-09 15:34:31 +07:00
errors.go Refactor storage layer to use key-value template pattern 2026-01-09 17:17:04 +07:00
errors_test.go Add comprehensive test coverage for model package 2026-01-09 15:34:31 +07:00
form.go chore: replace interface{} with any across the codebase 2026-03-01 17:38:04 +07:00
hexastring.go Relicense the project to AGPL-3.0 2023-12-24 11:42:00 +01:00
hexastring_test.go Add comprehensive test coverage for model package 2026-01-09 15:34:31 +07:00
identifier.go Clean architecture refactoring 2025-04-22 14:15:03 +02:00
identifier_test.go Add comprehensive test coverage for model package 2026-01-09 15:34:31 +07:00
insight.go insights: Send stats about users' settings 2025-06-12 20:07:57 +02:00
iterators.go chore: replace interface{} with any across the codebase 2026-03-01 17:38:04 +07:00
login.go security: decouple failure tracking from captcha provider 2026-03-12 15:03:49 +07:00
logs.go Refactor domain's logs usecase: split in multiple files 2025-05-28 23:02:22 +02:00
mailer.go Refactor usecases: create intermediate structs to facilitate tests 2025-05-28 23:02:22 +02:00
newsletter.go Clean architecture refactoring 2025-04-22 14:15:03 +02:00
oidc.go Move config struct to model, avoid dependancy to storage 2025-05-28 22:00:02 +02:00
orchestrator.go Update go modules and dnscontrol to v4.29.0 2025-12-24 19:03:33 +07:00
provider.go Add missing json tag on all structs for better OpenAPI generation 2026-01-26 12:34:55 +08:00
provider_settings.go chore: replace interface{} with any across the codebase 2026-03-01 17:38:04 +07:00
provider_specs.go Clean architecture refactoring 2025-04-22 14:15:03 +02:00
provider_test.go Add comprehensive test coverage for model package 2026-01-09 15:34:31 +07:00
record.go Can add and update records in service 2026-01-09 15:01:51 +07:00
record_test.go Add comprehensive test coverage for model package 2026-01-09 15:34:31 +07:00
resolver.go chore: replace interface{} with any across the codebase 2026-03-01 17:38:04 +07:00
service.go Preserve service metadata across zone re-analyses 2026-03-14 11:06:49 +07:00
service_specs.go chore: replace interface{} with any across the codebase 2026-03-01 17:38:04 +07:00
service_test.go Add comprehensive test coverage for model package 2026-01-09 15:34:31 +07:00
session.go Refactor usecases: create intermediate structs to facilitate tests 2025-05-28 23:02:22 +02:00
session_test.go Add comprehensive test coverage for model package 2026-01-09 15:34:31 +07:00
tidy.go Move tidy operation to a usecase 2025-05-22 15:46:05 +02:00
user.go Add missing json tag on all structs for better OpenAPI generation 2026-01-26 12:34:55 +08:00
user_test.go Add comprehensive test coverage for model package 2026-01-09 15:34:31 +07:00
userclaim.go Clean architecture refactoring 2025-04-22 14:15:03 +02:00
userinfo.go Clean architecture refactoring 2025-04-22 14:15:03 +02:00
userregistration.go Add CAPTCHA support for login and registration 2026-02-13 11:31:37 +07:00
usersettings.go Relicense the project to AGPL-3.0 2023-12-24 11:42:00 +01:00
userspecialaction.go Refactor auth_user usecase: split in multiple files 2025-05-28 23:02:22 +02:00
version.go Clean architecture refactoring 2025-04-22 14:15:03 +02:00
zone.go refactor: decompose Analyzer into recordPool and serviceAccumulator 2026-03-14 11:06:49 +07:00
zone_service.go Refactor domain/provider/zone usecase: split in multiple files 2025-05-28 23:02:22 +02:00
zone_test.go refactor: decompose Analyzer into recordPool and serviceAccumulator 2026-03-14 11:06:49 +07:00