Commit Graph

662 Commits

Author SHA1 Message Date
johnnyq b5ae7b3d86 Used HTMLPUrify to Purify the output of Tickets, Documents, Document Templates. Removed Redundant htmlentities in edit document edit ticket etc, Removed Company ID from Document Template Details 2023-03-11 21:24:35 -05:00
johnnyq 48fe49cf77 BREAKING CHANGES - MAKE FULL BACKUP BEFORE PROCEEDING - Requires Manual Intervention on files see Forum Post Make sure you run the Database update directly after update. This Removes Multi-Company Functionality. Fixes issues with Reponsive tables and bunch of other UI and small Fixes 2023-03-11 16:16:46 -05:00
johnnyq b9112ddded tidy 2023-03-05 20:33:05 -05:00
wrongecho 9a3266190c
Merge pull request #642 from wrongecho/stricter-input-validation-theme-tags
Add stronger input validation/output escaping
2023-03-05 19:31:22 +00:00
Marcus Hill 2210ad9f3e Add stronger input validation/output escaping for theme, tags and categories vars 2023-03-05 19:25:24 +00:00
Marcus Hill feb0267002 Add stronger input validation/output escaping for theme, tags and categories vars 2023-03-05 19:13:48 +00:00
Marcus Hill 1c18599372 Add bulk actions (delete) for client certificates. 2023-03-05 16:20:09 +00:00
johnnyq b7c855a67d Fix #639 2023-03-01 11:07:56 -05:00
johnnyq 3783fcfef6 Converting 0000-00-00 date values to NULL as this is best practice and compitible with MySQL 2023-03-01 00:59:14 -05:00
Johnny b9b383cbd2
Merge pull request #631 from wrongecho/532-remove-add-company
Remove ability to add new companies
2023-02-26 21:58:07 -05:00
Marcus Hill 87a1373b6d Tidy formatting 2023-02-26 15:13:20 +00:00
Marcus Hill ddb67779d6 Add bulk delete option for scheduled tickets 2023-02-26 15:00:54 +00:00
Marcus Hill 455ede6f8a Fix parse error due to new sanitizeinput function 2023-02-26 11:49:57 +00:00
johnnyq 4dcb2575bd Finished conv to santizeInput() 2023-02-26 00:05:11 -05:00
johnnyq 3e255fb8ae Feature: You can now select/deselect entities for client Data PDF Export Closes #178 2023-02-25 21:00:51 -05:00
Marcus Hill 8de76fdded Remove ability to add new companies
As part of the ongoing removal of the multi-company feature, this PR/commit removes the ability to add new companies in settings.
2023-02-25 21:53:20 +00:00
johnnyq 9e813be823 remove some notification_timestamps as this is replaced with on Update current timestamp in SQL 2023-02-25 15:43:08 -05:00
johnnyq 75b14b4f6f Update to change the client tag to singular as it references one record the table name should remain plural 2023-02-25 15:27:23 -05:00
johnnyq 11501d8e0b Set Sleep from 2 secs to 1 sec after updates Initially this was to fix database update not showing up after update. The Time limit of 2 secs seemed to fix the issue but we will try 1 sec 2023-02-25 15:08:35 -05:00
Marcus Hill 3924e67dd1 Rename field as part of adding tag search 2023-02-25 19:24:48 +00:00
Marcus Hill 67ea16e4fc Allow searching the main clients list by client tags.
- DB Change: Prefixed columns in client_tags table with client_tags_
- Updated existing SQL references to client_tags.client_id and client_tags.tag_id to new names
- clients.php: Added SQL joins/where/groupby logic to allow searching via tags
2023-02-25 19:00:31 +00:00
johnnyq 95f190c89d More UI work and santitizeInput migrations 2023-02-20 22:02:39 -05:00
johnnyq 8a91ae0e46 More updating with new sanitize function and more logging and alerting cont 2023-02-16 22:26:38 -05:00
johnnyq 4b5310e4dd Cont replace old Santitation with new Sanitation method 2023-02-16 16:51:26 -05:00
johnnyq 995121e532 Fixed function santizeInput to trim tags first then trim trailing white space because if you added a tag at the end it would create a space more 2023-02-16 15:08:06 -05:00
johnnyq 56e0c7d30b Updated new models with santizeInput function to reduce clutter 2023-02-16 14:54:49 -05:00
johnnyq dc80894dd9 Added inputSantize function to trim SQL escape and Strip Tags when string enter the database and to tidy up the code 2023-02-16 14:38:23 -05:00
johnnyq b08aa6b264 Fixed Calendar Event Links, Added mroe logging and alerting 2023-02-15 21:53:50 -05:00
Johnny eb1f3c7a77
Merge pull request #625 from wrongecho/users
Require CSRF when enabling/disabling users
2023-02-14 19:29:30 -05:00
Johnny fbe2a65ba8
Merge pull request #624 from wrongecho/software-bug
Bugfix Software/logins on contact details page
2023-02-14 19:27:49 -05:00
Marcus Hill 3cb83d2b41 - Require CSRF validation when disabling/enabling users
- Code tidy
2023-02-14 21:19:19 +00:00
Marcus Hill bcbcda2c26 Software on contact bugfix
Fix the code that associates login entries with software on the client contact details page
2023-02-14 20:42:46 +00:00
johnnyq 9e0d8020a8 Fixed regression with logging broke edit license as logging required the client_id to be passed 2023-02-14 15:39:38 -05:00
johnnyq 32743e629d Fix issue when updating contact notes via contact details it overwrite every contacts notes more logging and alerting 2023-02-14 14:36:56 -05:00
Johnny 9d545737cb
Merge pull request #623 from wrongecho/ticket-reporting
Ticketing - Reporting
2023-02-13 16:47:53 -05:00
Marcus Hill 5dafd87c0d Ticketing - Reporting
- Add average time to close (MTTR) into ticket client report
- Fix ticket_closed_at not being updated if tickets were closed as part of a reply/merge
- Fix being able to delete closed tickets
2023-02-13 14:01:58 +00:00
Marcus Hill 7bcb2f1c8c POST input deduplication/'models'
- Ongoing deduplication/conversion of post.php to use re-usable 'models' for input
- Also converting file upload checks to use a function instead
2023-02-13 00:02:23 +00:00
Marcus Hill bbfcc48b3d Convert add user/edit user file upload to use function 2023-02-12 23:09:28 +00:00
Marcus Hill 7755503f6a Merge fix 2023-02-12 17:50:46 +00:00
Johnny ded1819891
Merge pull request #619 from wrongecho/spacing
Adjust core files to 4 spaces
2023-02-12 16:57:00 +00:00
Marcus Hill 135c4d0b5c Move upload checking to a function 2023-02-12 16:51:24 +00:00
Marcus Hill 5bb4296f14 Adjust core files to 4 spaces 2023-02-12 14:40:10 +00:00
Marcus Hill c91a08b0dd Swap CURDATE for NOW
In post.php, we should use NOW() to track the date & time a notification was dismissed. CURDATE() only tracks the date.
2023-02-12 13:07:04 +00:00
johnnyq 3f06c10997 Added user notifications for user updating others tickets etc More Log/Alert work 2023-02-11 20:45:25 -05:00
Marcus Hill 428dec3527 POST 'models'
Deduplicate POST value assignment for add/edit operations in post.php with a 'model' concept.
This should also help prevent things breaking when one of the functions are updated but the other is missed.
2023-02-11 19:06:59 +00:00
johnnyq f7314adca1 Updated more logging and alerting added ticket assignment user notifications 2023-02-10 14:45:45 -05:00
johnnyq 58fe752bd9 Added Timezone to the DB settings option will come soon also added 3 sec wait between Application Updates and DB Updates to fix issue where after update and DB has an update but does not show it 2023-02-09 14:37:02 -05:00
Marcus Hill b36719eb99 General cleanup/tidying 2023-02-09 11:32:40 +00:00
Marcus Hill 33a5a75cfb Adjust redirect after notification dismissal to be to the referer page 2023-02-08 10:44:47 +00:00
Johnny 01d786e0be
Merge pull request #609 from wrongecho/stripe
Add Stripe Payment integration for invoices
2023-02-07 17:19:26 -05:00