Commit graph

185 commits

Author SHA1 Message Date
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
Yaro Kasear
b19d5d33f7 Update editor fragment to include icon sizes for better UI consistency 2025-07-10 10:46:17 -05:00
Yaro Kasear
2694f0bdad Add editor widget functionality with auto-resize and markdown support 2025-07-10 10:44:23 -05:00
Yaro Kasear
f046ffdd0a Add timestamp formatting for updates in worklog template 2025-07-10 08:17:52 -05:00
Yaro Kasear
3df70c15ee Refactor updates section in worklog template to enhance user experience and streamline update entry 2025-07-09 16:15:53 -05:00
Yaro Kasear
39a8e64c90 Add WorkNote model and integrate updates into WorkLog functionality 2025-07-09 15:39:55 -05:00
Yaro Kasear
58f8a040b7 Standardize table names and foreign key references for consistency across area, brand, inventory, item, room function, room, user, and work log models 2025-07-09 13:06:15 -05:00
Yaro Kasear
ae5ffc82b3 Standardize foreign key references and column names for consistency across inventory, users, and work log models 2025-07-09 12:34:00 -05:00
Yaro Kasear
b0927680b9 Standardize foreign key references for case consistency in inventory and user models 2025-07-09 12:05:23 -05:00
Yaro Kasear
b6b4979034 Standardize column names in RoomFunction and Room models for consistency 2025-07-09 11:49:18 -05:00
Yaro Kasear
f7fae7dc9b Fix foreign key reference case sensitivity and standardize column definitions in inventory models 2025-07-09 11:40:31 -05:00