5 Commits
Author SHA1 Message Date
Edwin 0fe819749e Complete README.md with installation, configuration, and development guidelines 2025-11-12 17:47:21 +01:00
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 4161c9739f Fix database schema and item handling
- Add missing created_at and updated_at columns to items table
- Update Item model to handle timestamp fields
- Fix ItemController to work with new database schema
- Resolves 500 Internal Server Error on /api/items endpoint
2025-11-12 16:29:45 +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