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
Yaro Kasear
602bb77e22
Sort users by first name in worklog entry route
2025-07-08 10:41:21 -05:00
Yaro Kasear
bdf1e8d3b8
Sort items in worklog entry route by identifier
2025-07-08 10:28:07 -05:00
Yaro Kasear
1ba0380dde
Sort inventory-related queries and fix toast message syntax in inventory template
2025-07-08 10:16:24 -05:00
Yaro Kasear
bb564809ea
Implement work log creation and update API; add new worklog entry route and enhance worklog template with JavaScript functionality
2025-07-08 09:55:25 -05:00
Yaro Kasear
146dcafab3
Update worklog template to change submit button label to save button
2025-07-07 15:49:35 -05:00
Yaro Kasear
26e55b9a3e
Add user creation and update functionality; refactor user template and helpers
2025-07-07 15:36:15 -05:00
Yaro Kasear
f4369348c5
Remove deprecated routes file and move HTML prettifying logic to hooks module
2025-07-07 14:10:05 -05:00
Yaro Kasear
4d8d5b4e6a
Add routes and functionality for inventory management, user management, worklogs, and settings
...
- Created a new Blueprint for main routes in `routes/__init__.py`.
- Implemented inventory listing and item management in `routes/inventory.py`.
- Added user listing and detail views in `routes/user.py`.
- Developed worklog listing and entry views in `routes/worklog.py`.
- Introduced search functionality across inventory, users, and worklogs in `routes/search.py`.
- Established settings management for brands, items, rooms, and functions in `routes/settings.py`.
- Enhanced helper functions for rendering headers and managing data in `routes/helpers.py`.
- Updated index route to display active worklogs and inventory conditions in `routes/index.py`.
2025-07-07 14:05:17 -05:00
Yaro Kasear
4c36621eba
Enhance app configuration and prettify HTML responses; update requirements and fix button identifiers in settings template
2025-07-07 12:02:06 -05:00
Yaro Kasear
7c15754cab
Add create button to breadcrumb fragment and update table template for navigation
2025-07-07 10:50:55 -05:00
Yaro Kasear
3492358645
Refactor inventory and layout templates: streamline script handling and improve toast message display
2025-07-07 10:23:07 -05:00
Yaro Kasear
ebd2060fd8
Add delete inventory item endpoint and enhance breadcrumb template with save/delete buttons
2025-07-07 10:16:25 -05:00
Yaro Kasear
a3c069a126
Update Inventory model: make type_id optional and adjust constructor to handle None values for type_id
2025-07-07 09:53:20 -05:00
Yaro Kasear
dc394dd992
Add inventory item creation and update endpoints; enhance inventory template with form handling
2025-07-07 09:40:27 -05:00
Yaro Kasear
a1d3f58081
Enhance Room model and settings form: improve foreign key validation and handle potential duplicates in deletion logic
2025-07-07 08:11:30 -05:00
Yaro Kasear
81b220ff44
Refactor render_combobox macro: improve code formatting and readability
2025-07-03 10:51:42 -05:00
Yaro Kasear
76d2799e05
Refactor ComboBoxWidget and settings form: remove unused handleComboAdd function, enhance form state serialization, and improve room option handling
2025-07-03 10:38:29 -05:00
Yaro Kasear
31913eab47
Remove unused import and add type ignore comment for inventory query filter
2025-07-03 09:52:54 -05:00
b3fb7e9fd8
revert e8483c859b
...
revert revert 6a0dd75f10
revert Enhance debugging and logging in settings and toast rendering; add JSON parsing output and improve toast container handling
2025-07-03 09:39:27 -05:00
e8483c859b
revert 6a0dd75f10
...
revert Enhance debugging and logging in settings and toast rendering; add JSON parsing output and improve toast container handling
2025-07-03 09:38:39 -05:00
Yaro Kasear
b876f1f469
Remove debug logging for room options in settings form
2025-07-03 09:30:04 -05:00
Yaro Kasear
6a0dd75f10
Enhance debugging and logging in settings and toast rendering; add JSON parsing output and improve toast container handling
2025-07-02 10:48:31 -05:00
Yaro Kasear
398800b681
Enhance toast notifications and improve settings form submission; implement async handling and error reporting for better user feedback
2025-07-02 09:46:18 -05:00
Yaro Kasear
5a3176cad1
Refactor settings form and layout; enhance form submission with JSON handling and improve modal functionality for room management
2025-06-25 15:42:52 -05:00
Yaro Kasear
d7e38cb8da
Refactor models to implement ValidatableMixin; add validation logic for state management in Area, Brand, Item, Room, and RoomFunction classes
2025-06-25 14:52:49 -05:00
Yaro Kasear
8de21bae9c
Refactor route ID handling; update inventory_item, user, and worklog_entry routes to accept non-integer IDs and improve error handling
2025-06-25 14:14:01 -05:00
Yaro Kasear
f2229cdc90
Refactor inventory and layout templates; enhance form handling with dynamic endpoint and argument passing for improved flexibility
2025-06-25 13:30:37 -05:00
Yaro Kasear
be1e56ad93
Refactor room editor modal logic; enhance event handling and dropdown population for improved user experience
2025-06-25 11:54:38 -05:00
Yaro Kasear
eddaa69158
Refactor sync_from_state method in Room model; update parameter types for section_map and function_map to improve clarity and consistency
2025-06-25 11:34:45 -05:00
Yaro Kasear
543494120c
Refactor entity synchronization logic in Area, Brand, Item, RoomFunction, and Room models; improve ID handling and streamline foreign key resolution in settings
2025-06-25 11:23:33 -05:00
Yaro Kasear
7833c4828b
Implement sync_from_state methods for Area, Brand, Item, RoomFunction, and Room models; enhance entity management and foreign key resolution in settings
2025-06-25 09:31:05 -05:00
Yaro Kasear
8a5c5db9e0
Implement sync_from_state method for Area, Brand, Item, RoomFunction, and Room models; streamline entity management in settings
2025-06-24 13:09:41 -05:00
Yaro Kasear
87fa623cde
Remove unused functions for adding and syncing named entities in settings; streamline entity processing logic
2025-06-23 16:22:13 -05:00
Yaro Kasear
9a1dffcf8d
Refactor entity handling in settings; streamline brand, type, section, function, and room processing with dedicated functions for improved readability and maintainability
2025-06-23 16:21:30 -05:00
Yaro Kasear
04d262ae26
Fix type annotation for location_id; change from Optional[str] to Optional[int] for correct database mapping
2025-06-23 15:49:31 -05:00
Yaro Kasear
8162038f40
Enhance model constructors; add optional parameters for improved initialization across multiple modelsOh
2025-06-23 15:42:48 -05:00
Yaro Kasear
acacf39f8e
Refactor code structure; improve organization and readability across multiple files
2025-06-23 14:51:21 -05:00
Yaro Kasear
774c28e761
Remove compiled Python bytecode files from the __pycache__ directory
2025-06-23 14:50:17 -05:00