aboutsummaryrefslogtreecommitdiff
path: root/services/mail
AgeCommit message (Collapse)AuthorFilesLines
2026-03-08Refactor DNS and SMTP configurations; add system DNS managementBobby1-21/+0
- Updated DNS server address configuration to use BindAddress and DnsPort. - Enhanced email submission to utilize BindAddress for SMTP server address. - Improved error messages for unknown recipient domains. - Introduced a new OrderedMap structure for route management. - Added system DNS management functions for Linux, Darwin, and Windows platforms. - Created new dashboard services for DNS configuration and overview. - Updated UI to include Proxy Rules section and improved descriptions. - Added new utility functions for handling DNS configurations.
2026-03-08feat(dns): add update functionality for DNS records (MX, SRV, TXT)Bobby4-24/+25
- 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.
2026-03-08feat(domains): enhance domain management UI with DNS records functionalityBobby2-48/+45
- Updated domain detail view to include DNS records management links. - Added new DNS records creation form with dynamic fields based on record type. - Implemented backend logic for creating and deleting DNS records. - Introduced new services and messages for DNS operations. - Refactored SMTP server initialization to streamline TLS configuration. - Added email composition and submission utilities for better email handling.
2026-03-08feat(dns): Implement DNS record management and query handlingBobby1-1/+20
- Added models for various DNS record types: A, AAAA, CNAME, MX, SRV, and TXT. - Created repository functions for CRUD operations on DNS records. - Developed DNS server functionality to handle incoming queries and forward them to upstream servers. - Implemented local resolution for DNS queries, including support for A, AAAA, CNAME, MX, TXT, and SRV records. - Enhanced SMTP server to support TLS and STARTTLS configurations. - Improved email session handling with local delivery and error logging. - Added new log messages for better traceability of DNS operations and SMTP actions.
2026-03-08Add webmail email management templates and storage utilitiesBobby3-4/+729
- Implemented email listing template with read/unread and star functionality. - Created empty state template for webmail when no emails are present. - Developed folder navigation template for managing email folders. - Added email preview template for displaying selected email details. - Introduced storage utilities for managing email files, including creation, reading, moving, and deletion. - Defined constants for storage paths and error messages related to file operations.
2026-03-08feat(domains): enhance TLD and domain management with edit and delete ↵Bobby4-1/+205
functionality - Added edit and delete buttons for TLDs in the TLD management interface. - Implemented a modal confirmation for delete actions across TLDs, mailboxes, users, and aliases. - Created separate edit pages for domains and TLDs with forms for updating their details. - Improved user experience by adding alerts for error messages and success notifications. feat(mail): streamline mailbox management with alias support - Introduced alias creation and deletion functionality for mailboxes. - Enhanced mailbox edit interface to include alias management. - Added dropdowns for selecting users and domains when creating aliases. fix(alerts): implement alert system for error messages - Developed a reusable alert component to display error messages. - Integrated alert dismiss functionality with automatic timeout for user notifications. refactor: general code improvements and organization - Updated error handling in the backend to support HTMX requests. - Refactored redirect functions to handle HTMX redirects appropriately.
2026-03-08feat: Enhance mail and domain management UI and functionalityBobby2-14/+35
- Updated users page to include a help link with an icon. - Refactored sidebar navigation to improve organization and added collapsible sections for Domains and Mail. - Created new pages for managing domains and TLDs, including a detailed description of the Domain Manager. - Implemented confirmation modals for deleting TLDs with appropriate messaging. - Added JavaScript functionality for sidebar state management and confirmation modals. - Introduced new Go handlers for mail index and domain management. - Added validation functions for DNS labels and email local parts.
2026-03-08Refactor configuration handling and add mail management featuresBobby2-17/+17
- Removed dependency on messages package in TOML loading and parsing. - Introduced new config constants and messages for better clarity and maintainability. - Implemented mail user and mailbox management with corresponding controllers and views. - Added new templates for mailboxes, mailbox creation, and user management. - Enhanced logging and error handling throughout the application. - Established a structured approach for applying default values in TOML configuration. - Created new utility functions for SMTP and email handling.
2026-03-08feat(domains): add new TLD creation page and update sidebarBobby3-0/+130
- Introduced a new HTMX template for creating TLDs. - Created a new Django template for the new TLD page. - Updated the sidebar to include a link to the domains section. refactor(types): remove unused types and consolidate request handling - Deleted unused type definitions related to authentication, errors, mailboxes, overview, requests, responses, and users. - Introduced a new collections package for generic data structures. - Refactored request handling to use a more streamlined approach with RequestInfo and Param types. fix(meta): improve pagination and sorting functionality - Updated pagination logic to handle default values and edge cases. - Introduced a new Sorting type for better sorting management in queries. chore(urls): refactor URL handling and registry - Replaced enums with string constants for HTTP methods. - Consolidated route registration logic and improved type safety with RegisteredRoute. style(shortcuts): clean up error handling and rendering functions - Enhanced error handling functions for better readability and maintainability. - Removed deprecated functions and improved the structure of rendering logic.