14 Commits

Author SHA1 Message Date
Edwin
895c9ac08d Configure Apache to run as ubuntu user
- Change Apache user from www-data to ubuntu in systemd override
- Update file ownership to ubuntu:ubuntu for web directory
- Fix permission issues for git operations and file access
- Apache now runs with same user as file ownership
- Resolves permission denied errors for development workflow
2025-11-12 16:39:05 +00:00
Edwin
62459f336c Update templates and configuration
- Fix item edit template with proper form structure
- Update items template with correct Bootstrap classes
- Fix Apache configuration for proper routing
- Update main index.php for correct redirects
- Improves UI consistency and navigation flow
2025-11-12 16:30:00 +00:00
Edwin
d5ac2a21b3 Fix JavaScript tree reload after CRUD operations
- Add reloadTree() function to centralize tree updates
- Fix handleSaveEditItem to reload tree after item updates
- Fix handleAddItem to reload tree after adding items
- Fix handleDeleteItem to reload tree after item deletion
- Fix all category functions to reload tree after operations
- Replace broken Bootstrap.Modal.getInstance() with direct DOM manipulation
- Fix JavaScript syntax errors and missing braces
- Ensure tree updates automatically without manual page reload

Resolves issue where tree navigation was not updating after item modifications.
2025-11-12 16:29:35 +00:00
9f9617ca45 Add development documentation and enhance SPA navigation with category/item detail views
- Add DEVELOPMENT.md with complete LXC environment setup guide
- Implement dynamic category tree with item navigation in sidebar
- Add category detail view with items list via AJAX
- Add item edit form with delete functionality
- Enhance SPA routing to support query parameters for categories/items
- Update Bootstrap styling with icons and improved navigation
- Include SQLite database in repository for development
2025-11-12 09:51:01 +01:00
deb27490c2 Implement category tree via AJAX to avoid 500 errors on page load 2025-11-12 08:47:52 +01:00
5549c67eb5 Replace sidebar menu with collapsible category tree showing items 2025-11-12 08:36:40 +01:00
8f072292c1 Organize scattered PHP files into scripts/ and tests/ directories 2025-11-12 08:34:20 +01:00
0622f40004 Update database and QR files 2025-11-11 18:27:06 +01:00
bfea1f4dfe Fix image update in edit, QR code generation and translations 2025-11-11 18:21:40 +01:00
e1cf2a3e46 Sanitize image file names to remove special characters; fix existing image paths 2025-11-11 18:10:26 +01:00
b1ce2ce3aa Add display of current image in edit modal 2025-11-11 18:09:51 +01:00
c7f199d61f Set uploads directory permissions to 777 for file uploads 2025-11-11 18:09:38 +01:00
a15c976106 Add new fields to items: id_code, image, location; implement QR code generation and printing; update translations and UI 2025-11-11 17:59:23 +01:00
921a74bbe2 first commit 2025-11-11 17:00:02 +01:00