Commit Graph

156 Commits

Author SHA1 Message Date
johnnyq 40ccbb5627 Update GetDomainExpiry Function to return proper null if Expire is not found, updated the logic 2024-06-06 02:30:12 -04:00
johnnyq acfd5e8d54 Was missing a few more regexes in get domain expiry 2024-06-02 17:05:53 -04:00
johnnyq 738c83378c Forgot to add a pattern for expires on 2024-06-02 16:41:20 -04:00
johnnyq 56b0eafe2b re-push out new domain expiry lookup 2024-06-02 16:32:42 -04:00
johnnyq e2b700cdcd Revert new Domain lookup 2024-06-02 13:15:41 -04:00
johnnyq 13764da199 Updated domain lookup function to include TLDs of and time formats to match the python script 2024-06-02 13:07:33 -04:00
johnnyq 84653cb57a Created new PHP function to use the local whois binary to get the expire date of a domain 2024-06-02 12:38:47 -04:00
Hugo Sampaio 352fbd852e typos 2024-05-13 11:22:57 -03:00
Hugo Sampaio 13a45c81a0 Display notification when update is available 2024-05-13 11:12:52 -03:00
Hugo Sampaio b1efb76b3b Update functions.php
handle phone_mask option
2024-05-06 11:31:38 -03:00
Marcus Hill 43abd177ea Certificate checks - Allow custom ports 2024-05-04 18:04:24 +01:00
johnnyq 894a4369b3 Fix Timezone always being UTC when sent to the mail queue when scheduling / cancelling tickets 2024-04-17 16:47:10 -04:00
Marcus Hill 667a93210c Ticket Statuses from DB 2024-03-29 11:22:32 +00:00
Marcus Hill 5e63ef9a2a Ticket Statuses from DB
First swing at this to share my progress, isn't ready to merge yet but would appreciate thoughts
2024-03-24 22:36:21 +00:00
Marcus Hill 796ba6633e Ticket status colours
Standardize ticket statuses via function
2024-03-24 10:12:02 +00:00
Marcus Hill b9431645d3 Ticket Statuses
Standardize on 5 consistent ticket states:-
- New (Red/Danger)
- Open (Blue/Primary)
- On Hold (Green/Success)
- Auto Close (Dark/black)
- Closed (Dark/black)

Update parts of the app where these have deviated from, as they have not been updated everywhere.
Other states may be configurable in future via custom fields.
2024-03-03 00:13:29 +00:00
o-psi 277e91b07e Update Password Gen Function 2024-02-15 21:35:21 +00:00
o-psi cdf4118b09 Allow canceling scheduled tickets 2024-02-15 16:31:35 +00:00
o-psi 1f3799ebe3 Update Calendar to Full Calendar 6.1.10 2024-02-14 20:21:19 +00:00
o-psi 12f6f86581 Update for long tickets 2024-02-10 02:42:37 +00:00
o-psi 5ac03e7086 Merge branch '0.1.8.2' of https://github.com/twetech/itflow into 0.1.8.2 2024-02-09 22:49:52 +00:00
o-psi 2bf0a2aef8 cleanups 2024-02-09 22:49:12 +00:00
o-psi f0d2f5b02a SonarCloud Cleanups 2024-02-09 16:40:51 -06:00
o-psi 6e14406364 Update Calendar to show past scheduled tickets as different colors based on status. 2024-02-09 22:06:34 +00:00
o-psi e2392c3c6c Add iCal functionality 2024-02-08 12:59:36 -06:00
Marcus Hill 8a9a4fd97e Bugfix: Prevent preg_replace passing null parameter error when no phone is present 2024-02-04 14:50:38 +00:00
johnnyq ad1ec7d338 Allow to set an optional queue time in bulk mail, update cron_mail_queue.php to only send mail after its queued_at date and time 2024-01-21 15:52:15 -05:00
johnnyq 62fb73875b Updated addToMailQueue Function to allow specifing an optional queue time to schedule outbound mail 2024-01-21 15:27:15 -05:00
johnnyq e07fb9ce50 Expanded timeAgo function to incoude time ahead, added this functionality to client overview 2024-01-15 22:59:39 -05:00
Andrew Malsbury 10b04c79d0
Merge branch 'v0.1.2' into Readable-Passwords 2023-12-22 11:31:36 -06:00
o-psi f1516b06ee Refactor calculateInvoiceBalance function to sanitizr
This commit refactors the calculateInvoiceBalance function in functions.php. The invoice_id parameter is now properly sanitized using intval() to prevent SQL injection attacks. Additionally, the SQL query for retrieving the invoice and payments data has been formatted for better readability.
2023-12-21 14:37:19 +00:00
johnnyq e8a53cbd6a Update new mail queue function to use the proper mail from name and mail from email 2023-12-21 01:37:21 -05:00
johnnyq cdaca0e06b Update a few var names for the new mail addToMailQueue function 2023-12-21 01:05:59 -05:00
o-psi 999c8ddb40 Add sanitations
Forgot to add in the sanitations.
2023-12-19 23:11:50 +00:00
o-psi 4e142b26e9 Missing "}" after confict resolution 2023-12-19 23:05:56 +00:00
Andrew Malsbury ae1496adae
Merge branch 'master' into ticket_notifications 2023-12-19 17:04:05 -06:00
o-psi 8b4beacf0e Update MailQueue to use function 2023-12-19 22:36:51 +00:00
o-psi e0c8b0c30d Readable Password Function 2023-12-18 17:34:22 +00:00
o-psi 7004d9217d Convert account_id and invoice_id to integers in calculateAccountBalance and calculateInvoiceBalance functions 2023-12-17 20:34:39 +00:00
o-psi 5be0f9f934 add calculate invoice balance function 2023-12-13 16:10:08 +00:00
Eduard Stehlík f47c5cca84 Fix domain edit for .eu and other domains. 2023-12-04 18:40:53 +01:00
Andrew Malsbury 230e649e2c Redo Balance Sheet Report 2023-11-21 16:04:41 +00:00
Andrew Malsbury 5cfae2520e Add functions for retrieving setting values and
calculating taxes
2023-11-17 21:43:37 +00:00
Marcus Hill 218cdcdc4c Allow contacts to upload attachments when adding ticket replies in portal
- Adds the ability for contacts to add file attachments when posting a ticket reply
- Enhancements to checkFileUpload(): Adjust file reference name generation & bad extension handling
2023-10-21 15:24:15 +01:00
o-psi 53c11edc8c Update constructs to not have parenthesis. 2023-10-20 15:25:52 -05:00
Marcus Hill 4ac7841882 Email parsing for all domains registered under a client
- Add support for email parsing/contact creation for all domains registered under a client in the domains module, rather than just the client main website.

- Additionally fix domain_created_at bug and move the new ticket auto-reply message to the email queue instead

Future work: Make ticket parsing work with HTML emails (HTML emails break agent notifs)
2023-10-07 15:51:58 +01:00
johnnyq 375d5af974 Fix issue with roundToNearest15 Function would break php if the time worked was empty 2023-09-27 16:01:44 -04:00
johnnyq 8ebe7eda03 Changed roundUpTo15 function to just round to the closest 15 2023-09-26 17:59:11 -04:00
johnnyq 61c9c0c8b9 Feature: Automatically calculate tickert to invoice based off time worked rounded up to the near 15 min mark multiplied by Client Rate, Changed all Price, cost fields to use text field with numeric patterns instead of number fields, set pricing to always display 2 decimal spots 2023-09-22 15:19:05 -04:00
johnnyq f897705135 Fix 3 Letter Client Abbrevation function to remove htmlentity characters to fix ' being replace with a 0 2023-09-19 16:24:41 -04:00