Commit Graph

34 Commits

Author SHA1 Message Date
johnnyq d76d405d5a Make contacts global view compatible, remove bulk mail from admin as this is in contacts bulk actions, updated links, tidy 2025-02-20 00:38:40 -05:00
johnnyq 5f76a7989b Move portal to client and rename and reorganize some client portal files 2025-01-23 17:12:11 -05:00
johnnyq 2c51289d75 Remove mysqli connection vars when passing mail data to addToMailQueue Function 2025-01-22 20:56:24 -05:00
wrongecho a67de7a8f1 Prevent post pages being accessed directly 2025-01-09 16:09:39 +00:00
johnnyq 8eb32a09b2 Feature You can now Add and Remove User type Software Licenses in Contact Details 2024-11-26 16:58:37 -05:00
johnnyq bbed55a8ff Added Linking and unlinking services in contact details 2024-11-26 16:16:24 -05:00
johnnyq 5e8a6bfcd6 Added Unlinking of credentials and assets to contact details 2024-11-26 15:29:40 -05:00
johnnyq cbbf8c27ba Fix Ticket Watchers not getting emails when No Contact is selected on a ticket, and add the ability to link files in contact details 2024-11-26 14:06:34 -05:00
johnnyq 8968476b7c Added Many to Many Linkage between contacts and documents, asset, credential linkage and unlinkage in contact details, more to come 2024-11-25 23:55:33 -05:00
johnnyq 137438f873 Added Archive, Unarchive functions for contact notes along with the ability to add a note under client contact details page 2024-11-24 12:38:59 -05:00
johnnyq a80fddfc0d Delete Contact Notes when contact is deleted also delete contact references when delting a client 2024-11-23 18:18:22 -05:00
johnnyq 724d4a347a Feature: Contact Notes / Interactions - Create an Add Model and display cpontact notes under contact details 2024-11-23 17:52:03 -05:00
johnnyq 9d44d3e849 Uncomment contact add alert 2024-11-19 12:03:09 -05: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 9d5818050e Fix Contact Photo not uploading when editing the first contact, odd fix but worked the edit contact forms are wrapped in a parent form on the entire table itself for Bulk changes. For some reason it wouldnt take the first edit modal form if we didnt enctype = multipart/form-data fo the parent form even though each edit subform has it already. it doesnt make sense but works 2024-11-18 16:07:22 -05:00
johnnyq 32158872b2 get client id for logging when adding recurring items 2024-11-18 14:08:13 -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 ae06ddb068 Replaced old logging with new logging function in credential post along with tidy, wording updates 2024-11-09 15:07:55 -05:00
johnnyq 119b2d0fbc Functionalized logging for contact post and some tidying there as well 2024-11-08 16:23:24 -05:00
johnnyq 7b4dda0ad6 Functionalize logging, replaced old logging in contact add with new logging function 2024-11-08 14:40:14 -05:00
johnnyq 5211ba73d5 Moved Create Edit User code block towards the top of edit contact user to reduce the query by 1 2024-11-02 16:45:59 -04:00
johnnyq 593f09f6fd Fix issue with creating a contact without a user and then trying to create a user by editing the contact. 2024-11-02 16:25:50 -04:00
johnnyq 219028c6d1 Updated Anon and Archive Function to archive the user and set names to Archived - UnixTimeStamp 2024-10-30 11:41:39 -04:00
johnnyq 11f68a59f3 Fix Archive Contact, removed unused fields 2024-10-30 11:26:07 -04:00
johnnyq 808fdf5f76 When Archiving, Unarchiving, Deleting and Bulk Actions also update the associated user as well 2024-10-23 12:40:32 -04:00
johnnyq f2dedbf8e8 Cmplete Migrate Contact Users to Users 2024-10-22 23:53:14 -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 1c404b9cf1 Add custom event handler to be triggered by some actions affecting tickets/quotes/invoices/contacts 2024-10-02 11:26:13 +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