Commit graph

175 commits

Author SHA1 Message Date
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
Yaro Kasear
65dcbbfb0b Refactor inventory model and related routes to standardize field names and improve clarity 2025-07-09 10:20:54 -05:00
Yaro Kasear
ac05373f95 Refactor mapped_column parameters for consistency in models 2025-07-09 09:30:17 -05:00
Yaro Kasear
099a9a0aaa Remove unnecessary Jinja2 block trimming settings from app configuration 2025-07-08 16:03:28 -05:00
Yaro Kasear
1d42433258 Add inventory availability route and update inventory index layout
- Introduced a new route for displaying available inventory items.
- Sorted inventory items by identifier in both the list and available inventory routes.
- Updated the inventory index template to include a link to the new available inventory route.
- Cleaned up the layout by removing the toast container.
2025-07-08 15:53:56 -05:00
Yaro Kasear
ccfbf3927e Filter inactive users from inventory item routes 2025-07-08 15:33:19 -05:00
Yaro Kasear
cace63fd1c Sort users by first and last name in inventory item routes 2025-07-08 15:30:17 -05:00
Yaro Kasear
6d0e27b15e Sort users by first name and items by identifier in new worklog entry route 2025-07-08 14:45:31 -05:00
Yaro Kasear
cf0d4bb1ed Remove unnecessary ForeignKeyConstraint from WorkLog model 2025-07-08 12:08:12 -05:00
Yaro Kasear
ac0cccc649 Remove egg-info directory and update .gitignore to exclude inventory.egg-info 2025-07-08 11:50:23 -05:00
Yaro Kasear
9803db17ab Add inventory management templates and utility functions
- Created HTML templates for inventory index, layout, search, settings, table, user, and worklog.
- Implemented utility functions for eager loading relationships in SQLAlchemy.
- Added validation mixin for form submissions.
- Updated project configuration files (pyproject.toml and setup.cfg) for package management.
2025-07-08 11:47:22 -05:00