Commit Graph

2243 Commits

Author SHA1 Message Date
johnnyq f2a45ce518 UI/sanitizeInput work on Trips 2023-02-19 21:37:24 -05:00
johnnyq b5f815e9f2 Add new santize function to cron.php get rid of unnessesary created at now and updated at now as the database does this now. 2023-02-19 21:18:20 -05:00
johnnyq 2d4a90f36b UI reworking and updates adding icons etc 2023-02-17 18:00:05 -05:00
johnnyq 3742051e03 UI spruce up on invoice details, also now more mobile friendly 2023-02-17 13:58:55 -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 4708f6b117 Move accounts side nav back out of setting and back onto the main side nav under accounting 2023-02-16 17:00:23 -05:00
johnnyq 84b32ec807 Added Santize for Email function 2023-02-16 16:56:45 -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 a09eb11a1d Add removal notice to user companies access modal 2023-02-14 21:18:28 +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 71b9e6836b Omit check for ticket_closed_at when counting closed tickets as the value may be incorrect. 2023-02-13 14:07:25 +00: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
Johnny 0590106710
Merge pull request #622 from wrongecho/post-cleanup
POST input deduplication/'models' + file upload function
2023-02-13 01:20:48 +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 980260c696 Fix Undefined index roundtrip when checkbox is not ticked by pre-defining value as 0 2023-02-12 23:31:54 +00:00
Marcus Hill bbfcc48b3d Convert add user/edit user file upload to use function 2023-02-12 23:09:28 +00:00
wrongecho 82b0ea85d9
Update README.md
Change image to gif to show tech dashboard
2023-02-12 18:37:37 +00:00
wrongecho 82aec03806
Add files via upload 2023-02-12 18:36:32 +00:00
wrongecho 104ab5b0c9
Update README.md 2023-02-12 18:15:54 +00:00
Johnny bcb05e3724
Merge pull request #621 from wrongecho/files
Move upload checking to a function
2023-02-12 17:56:20 +00:00
Marcus Hill 7755503f6a Merge fix 2023-02-12 17:50:46 +00:00
Johnny 82068e1bf2
Merge pull request #620 from wrongecho/api
API
2023-02-12 16:58:27 +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
Johnny 4767d48d2e
Merge pull request #618 from wrongecho/dismiss-notif-datetime
Swap CURDATE for NOW
2023-02-12 16:46:53 +00:00
Marcus Hill 6f7f679682 Tidy 2023-02-12 15:56:09 +00:00
Marcus Hill 68005723e6 API
- Refactor comments/client id var
- Add basic read endpoint for docs, products, expenses, quotes and invoices
2023-02-12 15:50:45 +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
Johnny 56d37c05ba
Merge pull request #617 from wrongecho/post-input-models
POST 'models'
2023-02-11 18:54:24 -05:00
Johnny ffc28dd2b9
Merge pull request #616 from wrongecho/api-payments
Add read api endpoint for payments
2023-02-11 18:54:11 -05:00
Johnny e35e23427b
Merge pull request #615 from wrongecho/api-assets-status
Allow setting asset status via API
2023-02-11 18:54:01 -05:00
Johnny 548bfc0012
Merge pull request #614 from wrongecho/notif-cleanup
Automatically cleanup dismissed notifications after 90 days
2023-02-11 18:53:51 -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
wrongecho c7d0a4ab16
Update guest_pay_invoice_stripe.php
Remove the ip/ua from the email receipt failure log entry - unnecessary & the user agent var is wrong
2023-02-11 18:44:52 +00:00
Marcus Hill eef70a0cf1 Add read api endpoint for payments; fix requirement for all clients api key 2023-02-11 15:10:27 +00:00
Marcus Hill 073fe953e9 Add read api endpoint for payments 2023-02-11 15:04:10 +00:00
Marcus Hill 85c28f889b Allow setting asset status via API 2023-02-11 14:22:35 +00:00
Marcus Hill 4da907e8ac Automatically cleanup dismissed notifications after 90 days 2023-02-11 13:40:05 +00:00