aboutsummaryrefslogtreecommitdiff
path: root/core/letters
AgeCommit message (Collapse)AuthorFilesLines
2026-03-22Add journal templates for books, calendar, characters, tags, and volumesBobby1-9/+13
- Created entry.html and main.html for book entries and main journal view. - Added calendar.html for displaying journal entries in a calendar format. - Implemented characters.html for managing characters and their relationships. - Introduced tags.html for creating and managing tags associated with journal entries. - Developed toc.html for displaying the table of contents of the journal. - Added volumes.html for organizing chapters into volumes with options to create, edit, and delete. - Included necessary CSS and JavaScript files for styling and functionality.
2026-03-12Refactor journal and letter templates and scriptsBobby2-22/+36
- Updated journal_view.html to use JSON configuration for styles and scripts. - Refactored new_entry.html to utilize JSON for editor configuration. - Simplified settings.html by moving confirmation logic to JSON configuration. - Adjusted letter_rows.html to remove fixed image dimensions for better responsiveness. - Enhanced conversation.html with additional data attributes for improved functionality. - Removed inline scripts from tags.html and replaced with external JavaScript file. - Created new JavaScript files for handling journal entry editing, image floating, and letter functionalities. - Improved the tags page layout with dynamic positioning of polaroids.
2026-03-12Refactor code structure for improved readability and maintainabilityBobby1-1/+4
2026-03-12feat: add attachment functionality to lettersBobby4-4/+134
- Implemented upload and removal of attachments in the letter system. - Created LetterAttachment model to handle file uploads with associated metadata. - Updated conversation and letter views to support attachment uploads. - Added frontend support for file attachment in the MarkMiku editor. - Enhanced CSS styles for attachment display in letters. - Introduced API endpoints for uploading and removing attachments. - Added signal to delete attachment files upon model deletion. - Updated settings to configure maximum attachments and size limits. - Removed unused kawaiibeats service and its related files.
2026-03-12Add emoji management and enhance text editor featuresBobby3-57/+20
- Introduced emoji upload and management interface in `emojis.html`. - Implemented emoji picker functionality in the text editor with `markmiku.js`. - Added support for various text formatting options including bold, italic, underline, strikethrough, and code highlighting. - Integrated emoji rendering and autocomplete features within the text editor. - Created a custom storage backend for MinIO in `storage.py` to handle file uploads. - Updated letter display template to show sender information and timestamps.
2026-03-11Add letter management templates for composing, viewing conversations, and inboxBobby6-0/+336
- Created `compose.html` for composing new letters with a rich text editor. - Added `conversation.html` to display individual letter conversations with loading functionality for older letters. - Implemented `inbox.html` to list all letter conversations with pagination and unread message indicators. - Enhanced user experience with dynamic content loading and improved message formatting.