Commit Graph

6 Commits

Author SHA1 Message Date
johnnyq 0494bfc1cf Moved admin_ to /admin, user_ to user report_ to /reports each have their own post includes modals directories created seperate headers and footer. Also did the same for xcustom, more work to me done 2025-07-28 13:32:28 -04:00
Marcus Hill 6363d265ca Refactor POST handling.
- Split into admin and user handlers, each admin page gets its own file now
- Enforce role access once for admin POST requests
- Automatically load POST logic for admin-based requests based on the referring page, otherwise automatically load all user request logic
- Add support for using custom POST handlers
2024-09-29 19:02:28 +01:00
johnnyq 7b2566b654 Remove all reminense of Account Types next is deleting the DB Tables for account types 2024-09-17 13:59:58 -04:00
wrongecho 64684e1248 Enforce CSRF for post/asset and post/account
Tiny bit of tidying
2024-09-08 22:52:38 +01:00
Andrew Malsbury 9551399b08 Update add and edit to accomodate type 2023-10-07 16:11:19 +00:00
Marcus Hill ebecdd3da2 Post.php - Separate 9k lines into separate files by sub-modules (e.g. ticket, invoice, expense) for easier development and troubleshooting 2023-07-02 14:56:12 +01:00