Commit Graph

272 Commits

Author SHA1 Message Date
wrongecho 425b06e550 Add time tracking for bulk ticket replies
- TT for bulk replies
- Encourage the correct time format using a placeholder and pattern (client-side validation only)
2024-12-04 16:43:09 +00:00
johnnyq a31387720c Fix self avatar uploading 2024-11-27 13:34:39 -05:00
johnnyq f731104375 Fix Credential Deleting 2024-11-27 12:24:37 -05: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 504b28ee4c Fix Create / Copy Trips missing trip_id 2024-11-23 11:45:32 -05:00
johnnyq 1e4306381f DB Optimizing in Ticket Selections and relogicify mark billable also more logging 2024-11-19 18:46:07 -05:00
johnnyq 050d15579d More in depth logging ticket history and less passing vars from POT in ticket POAST 2024-11-19 18:18:32 -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 c181954960 Fix alert 2024-11-19 11:45:01 -05:00
johnnyq ff3df12523 allow webp for users and profile 2024-11-18 18:19:57 -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 1a968abb35 Fix var for Reccuring Item added alert 2024-11-18 14:10:07 -05:00
johnnyq 32158872b2 get client id for logging when adding recurring items 2024-11-18 14:08:13 -05:00
johnnyq acec430e28 Fix var name in client edit post 2024-11-17 14:59:54 -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 c2be946f7a Switched contact to use ?? 0 in post for checkbox items that are not checked, this save from creating an extra hidden form field in the form model hence cleaner code 2024-11-16 17:45:16 -05:00
johnnyq 978c7c5db4 Switched location to use ?? 0 in post for checkbox items that are not checked, this save from creating an extra hidden form field hence cleaner code 2024-11-16 17:38:19 -05:00
johnnyq 5f4356546f Fix ticket post missing ) 2024-11-16 14:03:03 -05:00
johnnyq 7fd0a40ea1 logAction is used everywhere in ticket post, also did some logic tiday updates, but way more need to happen within ticket post so more to come 2024-11-16 14:01:08 -05:00
johnnyq 235d1641f0 Update Edit Ticket Logic, Moved fetching ticket info before check notify for logging and alerting and to reduce the amount of post data received 2024-11-16 12:34:13 -05:00
johnnyq d5524f75b0 Format Alerting / Logging Currency for transfers 2024-11-15 16:05:57 -05:00
johnnyq 9d15721845 Fix Payment Amount logging 2024-11-15 16:00:02 -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
johnnyq 8ffa90ae28 Updated vendor post to use new logAction function, tidy and added more details to logging 2024-11-14 13:39:17 -05:00
johnnyq 670390f1d3 Updated trip post to use new logAction function, tidy and added more details to logging 2024-11-14 13:16:23 -05:00
johnnyq 2047a6d18d removed old logging line in transfer 2024-11-14 12:52:56 -05:00
johnnyq 5d8b9ac600 Updated transfer post to use new logAction function, new role checking, tidy and added more details to logging 2024-11-14 12:51:26 -05:00
johnnyq 22f54886e2 Fix: Broken Create Quote - regression in logging 2024-11-14 11:56:12 -05:00
Johnny 653b174830
Merge pull request #1105 from itflow-org/import-chk
Import CSV - Check file uploaded
2024-11-14 11:17:11 -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
wrongecho fc94d71795 Fix typo in ticket archived logging 2024-11-14 08:08:52 +00:00
johnnyq e4f618c150 More work on Updating ticket post to use new logAction function, added more ticket history updates, tidy and added more details to logging, lots of logic changes need to happen here 2024-11-13 18:46:28 -05:00
johnnyq 52284231bb Remove Dup Edit Priority Logic from ticket post and fix priority from > to 2024-11-13 17:56:28 -05:00
johnnyq 56361c7008 Partially Updated ticket post to use new logAction function, added some ticket history updates, tidy and added more details to logging 2024-11-13 17:48:24 -05:00
johnnyq 47a4fa78a8 Updated task post to use new logAction function, tidy and added more details to logging 2024-11-13 17:22:07 -05:00
johnnyq 2ec4be8154 Updated software post to use new logAction function, rework array handling tidy and added more details to logging 2024-11-13 17:13:55 -05:00
johnnyq a86eecf63b Updated service post to use new logAction function, rework adding / ediing arrays tidy and added more details to logging 2024-11-13 17:02:06 -05:00
johnnyq ed02c2aa3e Updated revenue post to use new logAction function, new role check function tidy and added more details to logging 2024-11-13 16:23:35 -05:00
johnnyq b408a31cde Updated rack post to use new logAction function, new role check function tidy and added more details to logging 2024-11-13 15:46:20 -05:00
johnnyq cf22f01df4 Updated quote post to use new logAction function, tidy and added more details to logging 2024-11-13 15:28:24 -05:00
johnnyq 96649af18b Updated project post to use new logAction function, tidy and added more details to logging 2024-11-12 18:50:30 -05:00
johnnyq c5aa22a832 Updated profile post to use new logAction function, tidy and added more details to logging 2024-11-12 18:26:04 -05:00
johnnyq 115640fc89 Updated product post to use new logAction function, tidy and added more details to logging and add permission check 2024-11-12 18:09:00 -05:00
johnnyq 08c8153d64 Updated network post to use new logAction function, tidy and added more details to logging 2024-11-12 17:41:56 -05:00
johnnyq 640a068026 Fix forloop regressions forgot to include POST duh 2024-11-12 17:30:53 -05:00
johnnyq b88e111c64 Updated location post to use new logAction function, tidy and added more details to logging 2024-11-12 17:22:22 -05:00
johnnyq e45b543ff8 Format Payment for currenct in alerting 2024-11-12 15:16:57 -05:00
johnnyq b305758152 Finished Updating invoice post to use new logAction function, and appNotify function tidy and added more details to logging 2024-11-12 15:09:55 -05:00
johnnyq 808b190c8d Fix broken AI Settings 2024-11-12 11:01:24 -05:00
johnnyq e91c0b09b7 wording, fix 2024-11-11 17:46:10 -05:00
johnnyq c61ec7def6 Partially Updated invoice post to use new logAction function, tidy and added more details to logging 2024-11-11 17:39:18 -05:00
johnnyq 1b8722eb90 Updated folder post to use new logAction function, tidy and added more details to logging 2024-11-11 16:13:44 -05:00
johnnyq 2a5945816d Updated file post to use new logAction function, tidy and added more details to logging 2024-11-10 14:37:02 -05:00
johnnyq e58bf3d558 Updated epenses post to use new logAction function, tidy and added more details to logging 2024-11-10 13:32:42 -05:00
johnnyq 5d147c0d7a Replaced old logging with new logging function in domain event post along with tidy, wording updates and better logging and replaced one line with appNotify function 2024-11-10 12:16:30 -05:00
johnnyq bd8ef62133 Replaced old logging with new logging function in domain post along with tidy, wording updates and better logging 2024-11-09 19:14:53 -05:00
johnnyq 51a6f7fa8f Removed left over old logging functionality in document post 2024-11-09 18:10:58 -05:00
johnnyq 93c64c7467 more wording updates 2024-11-09 18:08:19 -05:00
johnnyq 9e9c1100f8 wording update 2024-11-09 18:04:00 -05:00
johnnyq 0917633848 Replaced old logging with new logging function in document post along with tidy, wording updates and better logging 2024-11-09 18:01:59 -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 60a0ebeeb6 added domain name in client creation logging 2024-11-09 13:23:40 -05:00
johnnyq 659aa7a788 Replaced old logging with new logging function in client post along with tidy, wording updates 2024-11-09 13:19:57 -05:00
johnnyq cc97331676 Replaced old logging with new logging function in certificate post 2024-11-09 12:41:24 -05:00
johnnyq ac2bbd55a7 Replaced old logging with new logging function in budget post 2024-11-09 12:29:15 -05:00
johnnyq 59cf67814a Functionalize Logging and tidy Asset Posts 2024-11-08 18:07:22 -05:00
johnnyq 365cd6dcae Functionlized logging for account post and wording tidy updates to account post as well 2024-11-08 16:37:05 -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 3d5e1a1811 Bulk Logic update for files to mimic document bulk deletion 2024-11-08 13:06:42 -05:00
johnnyq e2f7537517 Add Bulk Document Deletion 2024-11-08 13:02:03 -05:00
johnnyq 1090794f7f Added Bulk File Delete support, Added new user role / permission enforcement on the file posts 2024-11-08 12:20:18 -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
Marcus Hill 13f89d2118 Ticketing updates
- Allow changing ticket status without adding a reply (just leave the response blank)
- Bugfix: Contact change email didn't include URL key
- Make it clearer when nobody is assigned to a ticket
2024-11-02 10:22:31 +00:00
johnnyq 3cc9c0720d FEATURE: Files now shows File Size, Mime Type, and who uploaded the file. These fields will only populate on newly uplaoded files, existing ones will show 0 or blank 2024-10-30 18:39:00 -04:00
johnnyq a6ac215f8d FEATURE: Added Bulk Tag Assignment to Credentials 2024-10-30 15:07:51 -04:00
johnnyq 873df63c76 FEATURE: Added Credential Tagging Support 2024-10-30 14:40:02 -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 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
johnnyq af123d3978 Fix Only show Document Folders, Removed Create Subfolder as this is now merged into Create Folder Dependign on what folder you are in 2024-10-28 22:12:45 -04:00
Johnny 5f708f6003
Merge pull request #1094 from itflow-org/force-mfa
Force setup of MFA on login
2024-10-28 18:21:32 -04:00
johnnyq 77fce6a69d FEATURE: Implemented SubFolders within Documents UI 2024-10-28 17:53:44 -04:00
wrongecho 334829c23e Force setup of MFA on login 2024-10-28 21:01:55 +00:00
johnnyq ae561d3195 FEATURE: New Invoice Status Non-Billable 2024-10-25 14:33:12 -04:00
johnnyq aa2e0ed5c5 carry over the Task Completion estimate When creating a new ticket from a template 2024-10-23 14:13:05 -04:00
johnnyq 636c74dbb0 FEATURE: Added Task Completion Estimate to the UI 2024-10-23 14:06:41 -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
Johnny 0a63ed2cd6
Merge pull request #1091 from itflow-org/bugfix-tck-schd-notif
Bugfix: Ticket scheduling emails
2024-10-23 00:29:00 -04:00
johnnyq f2dedbf8e8 Cmplete Migrate Contact Users to Users 2024-10-22 23:53:14 -04:00
wrongecho 30738ed9fd Bugfix: Ticket scheduling emails
Scheduling a ticket should only send an email if config_ticket_client_general_notifications is enabled
2024-10-22 19:42:40 +01:00
johnnyq c214c12d00 FEATURE: Auto Populate Create Ticket when selecting a template, remove old ticket mail parser code 2024-10-20 14:34:09 -04:00
johnnyq fccc8ab8fd Fix adding a device to a rack: Unit Start number cannot be higher than Unit End number 2024-10-19 16:34:03 -04:00
johnnyq 8dca7bc183 Simplify Ticket Creation and Edit Model by removing unessesary tabs and combining fields to fewer tabs 2024-10-18 15:40:17 -04:00
johnnyq d01d912154 Move logout to a file logout.php in /post fixes issue where one cant logout if in admin section, also redirect to login page with or without login key if set 2024-10-18 00:12:08 -04:00
johnnyq 4963f2f385 Add Ticket Category to New Ticket and Bulk add Tickets through assets 2024-10-10 01:38:21 -04:00
johnnyq a9ebc1395c Fix Repeating ticket number when adding bulk tickets via assets 2024-10-10 01:08:12 -04:00
johnnyq 134f4f9ad3 FEATURE: Create Ticket for each asset in Bulk 2024-10-09 15:24:40 -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
Johnny c948ccff5c
Merge pull request #1084 from itflow-org/budget-perms
Budget - CSRF + Perms
2024-10-03 16:52:28 -04:00
wrongecho f8c6a5ef19 Budget - CSRF + Perms 2024-10-03 20:52:37 +01:00
wrongecho 18889d228a Move account/asset post logic to new permissions system 2024-10-03 19:42:48 +01:00
Johnny 11230d655f
Merge pull request #1079 from itflow-org/custom-actions
Add custom event handler
2024-10-02 12:34:45 -04:00
wrongecho 4a625183fb Certificates - perms and model
Move certificates to the new permissions system
Deduplicate add/edit using a model
2024-10-02 11:26:58 +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
wrongecho 4e9afd3e6b Certificates - perms and model
Move certificates to the new permissions system
Deduplicate add/edit using a model
2024-10-02 08:32:42 +01:00
johnnyq 6a55abaf50 Fix Error 500 when adding or editing network 2024-10-01 22:50:30 -04:00
wrongecho 10a223b5b8 Projects
- Add archive and unarchive ability
- Improve logic around Open > Close > Archive > Delete
- Change to new perms system
- TODO: CSRF
2024-09-30 21:27:42 +01:00
wrongecho 81844cea2e
Update credential.Php - model fix path 2024-09-30 18:47:22 +01:00
wrongecho 478d81b0f9 Add guest ticket URL to emails 2024-09-29 22:00:15 +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