Commit Graph

641 Commits

Author SHA1 Message Date
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
johnnyq 7860a7d7d3 More logging and Alerting additions 2023-02-07 16:58:32 -05:00
Marcus Hill f6dafb048c Stripe integration 2023-02-07 18:32:21 +00:00
Marcus Hill f1180aa9fe Add initial Stripe Payment integration for invoices 2023-02-07 18:05:52 +00:00
johnnyq c3829c06af More logging and alerting along with getting number of records exported 2023-02-06 15:55:22 -05:00
johnnyq 4d55d0dfa2 Updated logging for software 2023-02-05 15:44:07 -05:00
johnnyq 493a91d502 Fixed an issue when modifiying an asset with blank user creds would create a blank user creds, also when you clear the username on an asset it deletes the login item as well now, Updated Asset logging and alerting 2023-02-05 15:23:51 -05:00
johnnyq 21891b492f Logging and Alerting cleanups and added functionality 2023-02-05 14:34:56 -05:00
wrongecho 9cb0e8d70e
Update post.php
Bugfix login username not being encrypted when added as part of the asset add flow
2023-02-05 08:29:28 +00:00
wrongecho 04e4ccb9cf
Merge branch 'master' into misc-tidy-2 2023-02-05 08:17:26 +00:00
Marcus Hill f92dc108e2 Tidy
- Move some scripts to their own js files
- Move some duplicate code blocks to functions
- General tidy & spacing cleanups (#538)
2023-02-04 22:09:56 +00:00
Marcus Hill 7f02464b92 Portal-related updates
- Bug fix contact password setting
- Add invoice guest view link to invoices portal page
- Billing contacts now have access to invoices on the portal
- Technical contacts now have access to all tickets
- General housekeeping/tidying
2023-02-04 15:28:39 +00:00
johnnyq ca290120df Added config_telemetry variable to send telemetry to verify if telemetry is on or off when sent. Fixed sending telemetry on update when off these were due to an = sign when it should have been a double == Checked setup since this is the last place where it sends telemetry and it is correct. 2023-01-31 17:18:18 -05:00
johnnyq cb14efc9b0 If Send Telemetry is clicked then send data no need to check if telemetry is enabled if button is selected 2023-01-30 18:24:16 -05:00
johnnyq 1a64495765 Send Telemetry data if enabled during updates 2023-01-30 18:20:30 -05:00
johnnyq 463f90a103 Feature When editing vendor templates you can now update all vendors based off of the template 2023-01-30 17:54:50 -05:00
johnnyq 60799c050b Added Important Fields in the login modals 2023-01-30 14:32:12 -05:00
johnnyq 139328ae65 Removed Recently viewed under client overview viewed feature is not currently implemented, Primary Billing and Technical now show up under imporetant contacts under client overview tweaked some alert feed backs and logging 2023-01-30 13:21:12 -05:00
johnnyq 0acd19a5ce Added Telemetry to Cron if enabled in settings, many more telemetry data counts were added 2023-01-28 18:11:00 -05:00
johnnyq 0a1fb2227e Implement Installation ID for optional telemetry 2023-01-28 15:06:19 -05:00
Johnny 4fd6d752c6
Merge pull request #580 from wrongecho/function-standardise
Convert custom function names to camelCase
2023-01-26 18:20:33 -05:00
Johnny b742a71c57
Merge pull request #579 from wrongecho/crypto
Crypto changes - replace bin2hex
2023-01-26 16:58:31 -05:00