johnnyq
360974d9f4
Refactor interface linking system:
...
- Remove 'interface_connected_asset_interface' column usage
- Introduce 'asset_interface_links' table for one-to-one connections
- Update add/edit/delete queries and modals to handle new schema
- Exclude already-connected interfaces in dropdowns
- Improve data integrity and simplify linking logic
2025-01-18 13:04:56 -05:00
johnnyq
cb7965a84f
Stripe Var Passthru attempt
2025-01-17 15:26:40 -05:00
wrongecho
a67de7a8f1
Prevent post pages being accessed directly
2025-01-09 16:09:39 +00:00
johnnyq
b7163dad6d
Add isset check on file upload
2024-11-19 11:59:52 -05:00
johnnyq
097e1c7b5f
Add Acceptable File formats on the Client side, also allow webp for image file uploads in assets, locations, expenses and contact
2024-11-18 18:14:13 -05:00
johnnyq
34e09f32e0
Remove unessesary check if file has been uploaded as the function already does that
2024-11-18 16:29:42 -05:00
johnnyq
b2fff24bd9
Change theme on click now instead of selecting them then hitting submit more ?? 0s for the form checkboxes
2024-11-17 14:33:31 -05:00
johnnyq
ed92592aa6
Check to see if arrays are set before executing for each loops to prevent php errors
2024-11-14 19:13:56 -05:00
wrongecho
7a561a8c2e
Import CSV - Check file uploaded
...
Check the file was uploaded when importing a CSV. Can probably convert this into a function at a later date.
2024-11-14 11:51:39 +00:00
johnnyq
640a068026
Fix forloop regressions forgot to include POST duh
2024-11-12 17:30:53 -05:00
johnnyq
59cf67814a
Functionalize Logging and tidy Asset Posts
2024-11-08 18:07:22 -05:00
johnnyq
990335838e
Added First Asset History Item, Asset Created, also delete asset history when you delete an asset
2024-10-29 19:00:02 -04:00
wrongecho
987cd59764
Tidying
...
- Move more things to new permissions system
- Deduplicate assets post logic into model
- Swap out some "SELECT *" queries when only a couple of rows are actually needed
2024-10-08 23:08:05 +01:00
wrongecho
18889d228a
Move account/asset post logic to new permissions system
2024-10-03 19:42:48 +01: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