Commit graph

145 commits

Author SHA1 Message Date
Yaro Kasear
a4bfb9838c Enhance button functionality in inventory, user, and worklog templates to include dynamic 'new' buttons and improve save button styling for better UI consistency 2025-07-21 08:30:29 -05:00
Yaro Kasear
dab23009c1 Refactor model imports and add nullable indices for improved database performance and clarity 2025-07-17 15:29:14 -05:00
Yaro Kasear
704638d07a Add style to save button in settings template for improved UI consistency 2025-07-17 14:11:16 -05:00
Yaro Kasear
7fb117a95e Refactor settings template to improve structure and enhance readability of room editor functionality 2025-07-17 14:04:28 -05:00
Yaro Kasear
34cdc17eee Refactor worklog export functionality to use dynamic export links and improve code readability 2025-07-17 13:24:26 -05:00
Yaro Kasear
912d3fe775 Refactor export link functionality in templates to streamline CSV export and enhance title generation for inventory and worklogs 2025-07-17 13:13:11 -05:00
Yaro Kasear
7b908d7fa3 Refactor worklog export button to streamline functionality and remove redundant script 2025-07-17 09:45:32 -05:00
Yaro Kasear
e24b6d06bd Add export functionality for worklogs with dynamic filename generation 2025-07-17 09:33:00 -05:00
Yaro Kasear
4061065430 Enhance CSV export functionality by allowing custom filenames and adding export links for active worklogs 2025-07-17 09:12:35 -05:00
Yaro Kasear
a050ff7c1e Add CSV export functionality for inventory, users, and worklogs with frontend integration 2025-07-17 08:43:23 -05:00
Yaro Kasear
357d7196fa Implement CSV export functionality for inventory, users, and worklogs with error handling 2025-07-17 08:06:26 -05:00
Yaro Kasear
1d0468b9be Avoid n+1. 2025-07-15 16:19:55 -05:00
Yaro Kasear
4342d73811 Added initial CSV export functionality. 2025-07-15 16:11:21 -05:00
Yaro Kasear
1ec15328b0 More work on the CSV dump. 2025-07-15 15:02:18 -05:00
Yaro Kasear
e6847d0504 Starting export implementation. 2025-07-15 14:42:20 -05:00
Yaro Kasear
71276f9f4b More work on buttons. 2025-07-15 14:26:08 -05:00
Yaro Kasear
41bb8d5a3b Remove create_button flag from breadcrumb fragment. 2025-07-15 13:34:55 -05:00
Yaro Kasear
4a8786ac06 I did some pointless changes! Hooray! 2025-07-15 12:44:37 -05:00
Yaro Kasear
ad8354ea3d Settings buttons adjusted. 2025-07-15 12:35:07 -05:00
Yaro Kasear
1f2f0bac91 >:( 2025-07-15 11:41:54 -05:00
Yaro Kasear
55ee74bcb6 Update settings to use new fragments. 2025-07-15 11:38:00 -05:00
Yaro Kasear
86b95a521b Update toolbars in some pages. 2025-07-15 11:22:32 -05:00
Yaro Kasear
356435c785 Minor fixes to the button fragment. 2025-07-15 10:55:33 -05:00
Yaro Kasear
9ca9aa86a1 Added button fragment and did the do. 2025-07-15 10:49:57 -05:00
Yaro Kasear
34f1c5a824 Add new fragments. 2025-07-15 09:36:21 -05:00
Yaro Kasear
50573df8d7 Minor fixes. 2025-07-15 08:32:08 -05:00
Yaro Kasear
a87dbc6b81 More layout improvements to inventory. 2025-07-14 12:35:04 -05:00
Yaro Kasear
5f7354c055 More nice adjustments to layout. 2025-07-14 10:12:45 -05:00
Yaro Kasear
28f541fcb6 Make the layout for inventory more pleasant. 2025-07-14 09:59:19 -05:00
Yaro Kasear
c2d75ee725 Fix picture disappearing if unavailable item. 2025-07-14 09:25:27 -05:00
Yaro Kasear
1051dc8492 Disable inventory if item not available. 2025-07-14 09:19:35 -05:00
Yaro Kasear
0533f09851 Remove debug print statements. 2025-07-14 09:07:52 -05:00
Yaro Kasear
76b6882d71 Disable worklogs when work complete. 2025-07-14 08:33:10 -05:00
Yaro Kasear
96d34ebf55 Model fix. 2025-07-11 16:02:20 -05:00
Yaro Kasear
9a9a9aaf33 Style corrections. 2025-07-11 15:04:39 -05:00
Yaro Kasear
2fd607a61a Appeasing pylance. 2025-07-11 14:28:43 -05:00
Yaro Kasear
9d0dad8d74 Minor fixes to the image fragment. 2025-07-11 14:12:11 -05:00
Yaro Kasear
48ad5847b9 More image changes. Delete and replacement logic. 2025-07-11 14:03:16 -05:00
Yaro Kasear
7d96839af8 Rename "photo" to "image." 2025-07-11 13:01:08 -05:00
Yaro Kasear
84db8592cb Add modal for viewing photos by clicking thumbnail. 2025-07-11 12:06:59 -05:00
Yaro Kasear
7bdbb4ea2a Refactor photo upload logic to improve file path handling and remove unused imports 2025-07-11 11:58:00 -05:00
Yaro Kasear
a2b035f522 Add image upload functionality and enhance inventory template with image rendering 2025-07-11 11:48:53 -05:00
Yaro Kasear
ca3417c269 Add photo retrieval endpoint and improve photo upload response 2025-07-11 09:44:31 -05:00
Yaro Kasear
3e0faae851 Refactor Photo model constructor to remove timestamp parameter; update helper function to use getattr for safer attribute access. 2025-07-11 09:34:04 -05:00
Yaro Kasear
e1cb99f2d1 Implement PhotoAttachable interface in Inventory, User, and WorkLog models; add photo upload API endpoint with file handling and attachment logic. 2025-07-11 09:21:31 -05:00
Yaro Kasear
92dce08d1c Add Photo and worklog_photos to __all__ for improved module exports 2025-07-11 08:07:56 -05:00
Yaro Kasear
19d1c31984 Enhance Photo and WorkLog models with relationships to improve data integrity and associations 2025-07-10 16:20:44 -05:00
Yaro Kasear
2a8e1710b3 Add Photo model and establish relationships with Inventory and User; create worklog_photos association table 2025-07-10 16:15:29 -05:00
Yaro Kasear
54efd370ff Rename textarea fields in editor and worklog templates for consistency and clarity 2025-07-10 12:50:00 -05:00
Yaro Kasear
f7570a0938 Swap editor and viewer tab states in editor fragment for improved UX; integrate editor in inventory template for notes and comments. 2025-07-10 12:36:12 -05:00