Commit graph

  • 34cdc17eee Refactor worklog export functionality to use dynamic export links and improve code readability Yaro Kasear 2025-07-17 13:24:26 -05:00
  • 912d3fe775 Refactor export link functionality in templates to streamline CSV export and enhance title generation for inventory and worklogs Yaro Kasear 2025-07-17 13:13:11 -05:00
  • 7b908d7fa3 Refactor worklog export button to streamline functionality and remove redundant script Yaro Kasear 2025-07-17 09:45:32 -05:00
  • e24b6d06bd Add export functionality for worklogs with dynamic filename generation Yaro Kasear 2025-07-17 09:33:00 -05:00
  • 4061065430 Enhance CSV export functionality by allowing custom filenames and adding export links for active worklogs Yaro Kasear 2025-07-17 09:12:35 -05:00
  • a050ff7c1e Add CSV export functionality for inventory, users, and worklogs with frontend integration Yaro Kasear 2025-07-17 08:43:23 -05:00
  • 357d7196fa Implement CSV export functionality for inventory, users, and worklogs with error handling Yaro Kasear 2025-07-17 08:06:26 -05:00
  • 1d0468b9be Avoid n+1. Yaro Kasear 2025-07-15 16:19:55 -05:00
  • 4342d73811 Added initial CSV export functionality. Yaro Kasear 2025-07-15 16:11:21 -05:00
  • 1ec15328b0 More work on the CSV dump. Yaro Kasear 2025-07-15 15:02:18 -05:00
  • e6847d0504 Starting export implementation. Yaro Kasear 2025-07-15 14:42:20 -05:00
  • 71276f9f4b More work on buttons. Yaro Kasear 2025-07-15 14:26:08 -05:00
  • 41bb8d5a3b Remove create_button flag from breadcrumb fragment. Yaro Kasear 2025-07-15 13:34:55 -05:00
  • 4a8786ac06 I did some pointless changes! Hooray! Yaro Kasear 2025-07-15 12:44:37 -05:00
  • ad8354ea3d Settings buttons adjusted. Yaro Kasear 2025-07-15 12:35:07 -05:00
  • 1f2f0bac91 >:( Yaro Kasear 2025-07-15 11:41:54 -05:00
  • 55ee74bcb6 Update settings to use new fragments. Yaro Kasear 2025-07-15 11:38:00 -05:00
  • 86b95a521b Update toolbars in some pages. Yaro Kasear 2025-07-15 11:22:32 -05:00
  • 356435c785 Minor fixes to the button fragment. Yaro Kasear 2025-07-15 10:55:33 -05:00
  • 9ca9aa86a1 Added button fragment and did the do. Yaro Kasear 2025-07-15 10:49:57 -05:00
  • 34f1c5a824 Add new fragments. Yaro Kasear 2025-07-15 09:36:21 -05:00
  • 50573df8d7 Minor fixes. Yaro Kasear 2025-07-15 08:32:08 -05:00
  • a87dbc6b81 More layout improvements to inventory. Yaro Kasear 2025-07-14 12:35:04 -05:00
  • 5f7354c055 More nice adjustments to layout. Yaro Kasear 2025-07-14 10:12:45 -05:00
  • 28f541fcb6 Make the layout for inventory more pleasant. Yaro Kasear 2025-07-14 09:59:19 -05:00
  • c2d75ee725 Fix picture disappearing if unavailable item. Yaro Kasear 2025-07-14 09:25:27 -05:00
  • 1051dc8492 Disable inventory if item not available. Yaro Kasear 2025-07-14 09:19:35 -05:00
  • 0533f09851 Remove debug print statements. Yaro Kasear 2025-07-14 09:07:52 -05:00
  • 76b6882d71 Disable worklogs when work complete. Yaro Kasear 2025-07-14 08:33:10 -05:00
  • 96d34ebf55 Model fix. Yaro Kasear 2025-07-11 16:02:20 -05:00
  • 9a9a9aaf33 Style corrections. Yaro Kasear 2025-07-11 15:04:39 -05:00
  • 2fd607a61a Appeasing pylance. Yaro Kasear 2025-07-11 14:28:43 -05:00
  • 9d0dad8d74 Minor fixes to the image fragment. Yaro Kasear 2025-07-11 14:12:11 -05:00
  • 48ad5847b9 More image changes. Delete and replacement logic. Yaro Kasear 2025-07-11 14:03:16 -05:00
  • 7d96839af8 Rename "photo" to "image." Yaro Kasear 2025-07-11 13:01:08 -05:00
  • 84db8592cb Add modal for viewing photos by clicking thumbnail. Yaro Kasear 2025-07-11 12:06:59 -05:00
  • 7bdbb4ea2a Refactor photo upload logic to improve file path handling and remove unused imports Yaro Kasear 2025-07-11 11:58:00 -05:00
  • a2b035f522 Add image upload functionality and enhance inventory template with image rendering Yaro Kasear 2025-07-11 11:48:53 -05:00
  • ca3417c269 Add photo retrieval endpoint and improve photo upload response Yaro Kasear 2025-07-11 09:44:31 -05:00
  • 3e0faae851 Refactor Photo model constructor to remove timestamp parameter; update helper function to use getattr for safer attribute access. Yaro Kasear 2025-07-11 09:34:04 -05:00
  • e1cb99f2d1 Implement PhotoAttachable interface in Inventory, User, and WorkLog models; add photo upload API endpoint with file handling and attachment logic. Yaro Kasear 2025-07-11 09:21:31 -05:00
  • 92dce08d1c Add Photo and worklog_photos to __all__ for improved module exports Yaro Kasear 2025-07-11 08:07:56 -05:00
  • 19d1c31984 Enhance Photo and WorkLog models with relationships to improve data integrity and associations Yaro Kasear 2025-07-10 16:20:44 -05:00
  • 2a8e1710b3 Add Photo model and establish relationships with Inventory and User; create worklog_photos association table Yaro Kasear 2025-07-10 16:15:29 -05:00
  • 54efd370ff Rename textarea fields in editor and worklog templates for consistency and clarity Yaro Kasear 2025-07-10 12:50:00 -05:00
  • f7570a0938 Swap editor and viewer tab states in editor fragment for improved UX; integrate editor in inventory template for notes and comments. Yaro Kasear 2025-07-10 12:36:12 -05:00
  • b19d5d33f7 Update editor fragment to include icon sizes for better UI consistency Yaro Kasear 2025-07-10 10:46:17 -05:00
  • 2694f0bdad Add editor widget functionality with auto-resize and markdown support Yaro Kasear 2025-07-10 10:44:23 -05:00
  • f046ffdd0a Add timestamp formatting for updates in worklog template Yaro Kasear 2025-07-10 08:17:52 -05:00
  • 3df70c15ee Refactor updates section in worklog template to enhance user experience and streamline update entry Yaro Kasear 2025-07-09 16:15:53 -05:00
  • 39a8e64c90 Add WorkNote model and integrate updates into WorkLog functionality Yaro Kasear 2025-07-09 15:39:55 -05:00
  • 58f8a040b7 Standardize table names and foreign key references for consistency across area, brand, inventory, item, room function, room, user, and work log models Yaro Kasear 2025-07-09 13:06:15 -05:00
  • ae5ffc82b3 Standardize foreign key references and column names for consistency across inventory, users, and work log models Yaro Kasear 2025-07-09 12:34:00 -05:00
  • b0927680b9 Standardize foreign key references for case consistency in inventory and user models Yaro Kasear 2025-07-09 12:05:23 -05:00
  • b6b4979034 Standardize column names in RoomFunction and Room models for consistency Yaro Kasear 2025-07-09 11:49:18 -05:00
  • f7fae7dc9b Fix foreign key reference case sensitivity and standardize column definitions in inventory models Yaro Kasear 2025-07-09 11:40:31 -05:00
  • 65dcbbfb0b Refactor inventory model and related routes to standardize field names and improve clarity Yaro Kasear 2025-07-09 10:20:54 -05:00
  • ac05373f95 Refactor mapped_column parameters for consistency in models Yaro Kasear 2025-07-09 09:30:17 -05:00
  • 099a9a0aaa Remove unnecessary Jinja2 block trimming settings from app configuration Yaro Kasear 2025-07-08 16:03:28 -05:00
  • 1d42433258 Add inventory availability route and update inventory index layout Yaro Kasear 2025-07-08 15:53:56 -05:00
  • ccfbf3927e Filter inactive users from inventory item routes Yaro Kasear 2025-07-08 15:33:19 -05:00
  • cace63fd1c Sort users by first and last name in inventory item routes Yaro Kasear 2025-07-08 15:30:17 -05:00
  • 6d0e27b15e Sort users by first name and items by identifier in new worklog entry route Yaro Kasear 2025-07-08 14:45:31 -05:00
  • cf0d4bb1ed Remove unnecessary ForeignKeyConstraint from WorkLog model Yaro Kasear 2025-07-08 12:08:12 -05:00
  • ac0cccc649 Remove egg-info directory and update .gitignore to exclude inventory.egg-info Yaro Kasear 2025-07-08 11:50:23 -05:00
  • 9803db17ab Add inventory management templates and utility functions Yaro Kasear 2025-07-08 11:47:22 -05:00
  • 602bb77e22 Sort users by first name in worklog entry route Yaro Kasear 2025-07-08 10:41:21 -05:00
  • bdf1e8d3b8 Sort items in worklog entry route by identifier Yaro Kasear 2025-07-08 10:28:07 -05:00
  • 1ba0380dde Sort inventory-related queries and fix toast message syntax in inventory template Yaro Kasear 2025-07-08 10:16:24 -05:00
  • bb564809ea Implement work log creation and update API; add new worklog entry route and enhance worklog template with JavaScript functionality Yaro Kasear 2025-07-08 09:55:25 -05:00
  • 146dcafab3 Update worklog template to change submit button label to save button Yaro Kasear 2025-07-07 15:49:35 -05:00
  • 26e55b9a3e Add user creation and update functionality; refactor user template and helpers Yaro Kasear 2025-07-07 15:36:15 -05:00
  • f4369348c5 Remove deprecated routes file and move HTML prettifying logic to hooks module Yaro Kasear 2025-07-07 14:10:05 -05:00
  • 4d8d5b4e6a Add routes and functionality for inventory management, user management, worklogs, and settings Yaro Kasear 2025-07-07 14:05:17 -05:00
  • 4c36621eba Enhance app configuration and prettify HTML responses; update requirements and fix button identifiers in settings template Yaro Kasear 2025-07-07 12:02:06 -05:00
  • 7c15754cab Add create button to breadcrumb fragment and update table template for navigation Yaro Kasear 2025-07-07 10:50:55 -05:00
  • 3492358645 Refactor inventory and layout templates: streamline script handling and improve toast message display Yaro Kasear 2025-07-07 10:23:07 -05:00
  • ebd2060fd8 Add delete inventory item endpoint and enhance breadcrumb template with save/delete buttons Yaro Kasear 2025-07-07 10:16:25 -05:00
  • a3c069a126 Update Inventory model: make type_id optional and adjust constructor to handle None values for type_id Yaro Kasear 2025-07-07 09:53:20 -05:00
  • dc394dd992 Add inventory item creation and update endpoints; enhance inventory template with form handling Yaro Kasear 2025-07-07 09:40:27 -05:00
  • a1d3f58081 Enhance Room model and settings form: improve foreign key validation and handle potential duplicates in deletion logic Yaro Kasear 2025-07-07 08:11:30 -05:00
  • 81b220ff44 Refactor render_combobox macro: improve code formatting and readability Yaro Kasear 2025-07-03 10:51:42 -05:00
  • 76d2799e05 Refactor ComboBoxWidget and settings form: remove unused handleComboAdd function, enhance form state serialization, and improve room option handling Yaro Kasear 2025-07-03 10:38:29 -05:00
  • 31913eab47 Remove unused import and add type ignore comment for inventory query filter Yaro Kasear 2025-07-03 09:50:48 -05:00
  • b3fb7e9fd8 revert e8483c859b yaro 2025-07-03 09:39:27 -05:00
  • e8483c859b revert 6a0dd75f10 yaro 2025-07-03 09:38:39 -05:00
  • b876f1f469 Remove debug logging for room options in settings form Yaro Kasear 2025-07-03 09:30:04 -05:00
  • 6a0dd75f10 Enhance debugging and logging in settings and toast rendering; add JSON parsing output and improve toast container handling Yaro Kasear 2025-07-02 10:48:31 -05:00
  • 398800b681 Enhance toast notifications and improve settings form submission; implement async handling and error reporting for better user feedback Yaro Kasear 2025-07-02 09:46:18 -05:00
  • 5a3176cad1 Refactor settings form and layout; enhance form submission with JSON handling and improve modal functionality for room management Yaro Kasear 2025-06-25 15:42:52 -05:00
  • d7e38cb8da Refactor models to implement ValidatableMixin; add validation logic for state management in Area, Brand, Item, Room, and RoomFunction classes Yaro Kasear 2025-06-25 14:52:49 -05:00
  • 8de21bae9c Refactor route ID handling; update inventory_item, user, and worklog_entry routes to accept non-integer IDs and improve error handling Yaro Kasear 2025-06-25 14:14:01 -05:00
  • f2229cdc90 Refactor inventory and layout templates; enhance form handling with dynamic endpoint and argument passing for improved flexibility Yaro Kasear 2025-06-25 13:30:37 -05:00
  • be1e56ad93 Refactor room editor modal logic; enhance event handling and dropdown population for improved user experience Yaro Kasear 2025-06-25 11:54:38 -05:00
  • eddaa69158 Refactor sync_from_state method in Room model; update parameter types for section_map and function_map to improve clarity and consistency Yaro Kasear 2025-06-25 11:34:45 -05:00
  • 543494120c Refactor entity synchronization logic in Area, Brand, Item, RoomFunction, and Room models; improve ID handling and streamline foreign key resolution in settings Yaro Kasear 2025-06-25 11:23:33 -05:00
  • 7833c4828b Implement sync_from_state methods for Area, Brand, Item, RoomFunction, and Room models; enhance entity management and foreign key resolution in settings Yaro Kasear 2025-06-25 09:31:05 -05:00
  • 8a5c5db9e0 Implement sync_from_state method for Area, Brand, Item, RoomFunction, and Room models; streamline entity management in settings Yaro Kasear 2025-06-24 13:09:41 -05:00
  • 87fa623cde Remove unused functions for adding and syncing named entities in settings; streamline entity processing logic Yaro Kasear 2025-06-23 16:22:13 -05:00
  • 9a1dffcf8d Refactor entity handling in settings; streamline brand, type, section, function, and room processing with dedicated functions for improved readability and maintainability Yaro Kasear 2025-06-23 16:21:30 -05:00