Commit Graph

14 Commits

Author SHA1 Message Date
5ea780fcab Cleanup: Finalize template context integration and remove legacy code
- Replaced legacy TemplateContext calls with structured TemplateData usage
- Removed unused variables and redundant storage calls in notifications handler
- Ensured consistent use of BuildTemplateData across user-facing handlers
- Resolved all compile-time errors from refactor
- Ready for runtime testing and further layout integration
2025-04-01 21:20:05 +01:00
03b1e095ce Refactor: Centralize template context using unified TemplateData struct
- Introduced models.TemplateData for shared user/context state
- Moved context construction logic into handlers/template_context.go
- Simplified helpers.TemplateContext to accept structured data
- Restored and organized template helper functions
- Updated affected handlers (main.go, draw_handler.go, notifications.go)
- Improved scalability and separation of concerns in template rendering
2025-04-01 21:08:00 +01:00
e68559ad3d thing this are broken but checking in so i have a state to revert too. 2025-04-01 15:52:31 +01:00
5aaddf16f1 More layout and customisations. 2025-04-01 10:19:56 +01:00
7eefb9ced0 Additional security and hardening. 2025-03-31 15:14:16 +01:00
c3a7480c65 expand on admin functionality, hardening still needs to be implemented. 2025-03-31 10:52:12 +01:00
23e0208317 Lots of changes around viewing tickets from css perspective logic changes nwe handlers and service triggers... just lots of stuff... 2025-03-28 10:05:54 +00:00
f3949717b8 Can't remember why i added this lol 2025-03-27 10:43:45 +00:00
b58a8bdb82 Circular dependancy issue when working on hardening 2025-03-25 16:43:16 +00:00
0b93fd75dd add and refine thunderball results page 2025-03-25 14:47:41 +00:00
f1ad9757ba added authentication among other things. considered working at this point. 2025-03-25 11:27:21 +00:00
d2013ec5c5 Lots of changes and fixes 2025-03-24 23:23:29 +00:00
2eb04d6ffa new ticket handler and move common variables 2025-03-24 22:01:25 +00:00
cf8cd691dc init 2025-03-24 19:17:39 +00:00