aboutsummaryrefslogtreecommitdiff
path: root/templates/dashboard/htmx
AgeCommit message (Collapse)AuthorFilesLines
2026-03-08Refactor DNS and SMTP configurations; add system DNS managementBobby1-40/+471
- 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-08Add webmail email management templates and storage utilitiesBobby1-1/+0
- 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-08Refactor configuration handling and add mail management featuresBobby5-181/+0
- 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-07feat: implement mailbox and user creation features with validation and dropdownsBobby4-2/+88
2026-03-07Refactor dashboard and mailboxes pages to integrate services for data retrievalBobby3-17/+48
- Updated `Dashboard` function to use `services.Overview()` for rendering overview data. - Enhanced `Mailboxes` function to include pagination, sorting, and search functionality using `services.ListMailboxes()`. - Modified `Users` function to implement pagination, sorting, and search with `services.ListUsers()`. Revamped templates for mailboxes and users - Updated `mailboxes.htmx.django` to display mailbox items dynamically with total count. - Enhanced `users.htmx.django` to show user details and total count, with improved layout for user information. Introduced new response types and constants - Added `PaginatedResponse` type in `types/response.go` for consistent pagination responses. - Introduced constants for pagination in `utils/meta/constants.go`. Implemented email processing and storage services - Created `services/email.go` for processing incoming emails and storing them in the database. - Added email parsing utilities in `utils/email` for handling email content and attachments. Established repository functions for mailboxes, users, and emails - Created repository functions in `repositories` for managing mailboxes, users, and emails, including listing and searching capabilities. Refactored SMTP server functions - Updated SMTP server handling in `utils/smtp` to streamline session management and message processing. - Removed obsolete storage functions and integrated email processing directly into the SMTP session. Added new message constants for better logging and error handling - Introduced message constants in `messages/email.go` and `messages/mailbox.go` for improved clarity in logs.
2026-03-07Refactor dashboard templates and enhance URL handlingBobby4-0/+122
- Added `variableName` to `urlNode` struct for improved variable handling in URL tags. - Updated `url` function to support variable assignment using the `as` keyword. - Removed deprecated `dashboard.django` template and replaced it with a new layout structure. - Introduced partial templates for header and sidebar to streamline dashboard layout. - Created new HTMX templates for mailboxes, mailbox, overview, and users to enhance dynamic content loading. - Implemented navigation JavaScript to manage active link states in the sidebar. - Refactored render functions to resolve template paths based on HTMX requests. - Updated constants for request key naming consistency.