Commit Graph

109 Commits

Author SHA1 Message Date
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
Marcus Hill 5bb4296f14 Adjust core files to 4 spaces 2023-02-12 14:40:10 +00:00
Marcus Hill 4da907e8ac Automatically cleanup dismissed notifications after 90 days 2023-02-11 13:40:05 +00:00
Marcus Hill 73f0826369 Re-organize / comment cron 2023-02-10 12:42:34 +00:00
Marcus Hill 615f317d2b General cleanup/formatting 2023-02-09 12:29:12 +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 8cc5505184 Readd domain refreshing 2023-02-01 22:36:56 +00:00
Marcus Hill a164e27d3b Spacing 2023-02-01 21:49:43 +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 d1172e512b Fixed and caught an issue where Cron would send telemetry data even with telemetry off 2023-01-31 17:01:09 -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
Marcus Hill 23e3a2e8fc - Create custom function (randomString()) for generating cryptographically (and URL) safe strings.
- Replace usages of keygen and bin2hex(random_bytes()) with this function.
2023-01-26 21:35:06 +00:00
Marcus Hill fb6848f508 Add configuration setting to control whether clients should get automatic ticket-related emails (ticket open/close) 2023-01-21 15:47:01 +00:00
Marcus Hill f7d9fe8479 Add email notifications when cron raises a scheduled ticket 2023-01-21 12:29:39 +00:00
Marcus Hill 4c0acc87b1 Change include to require 2023-01-02 16:07:51 +00:00
Marcus Hill fcdeee6321 SQL Escape client name field to prevent potentially breaking SQL queries 2023-01-02 15:06:51 +00:00
Marcus Hill d86285aafd SQL Escape domain/cert/client/ticket fields to prevent them potentially breaking SQL queries 2023-01-02 15:03:56 +00:00
johnnyq d6d908f0b8 Generate longer more secure Keys for shareable URLs using best practice 2022-12-29 16:50:57 -05:00
Marcus Hill 1ea081a175 Move email sending to a function for better error handling and code-deduplication 2022-12-18 14:24:47 +00:00
johnnyq 7c8959c17a Added SMTP Debug 3 to cron.php to diagnose mail issues 2022-11-09 11:30:34 -05:00
johnnyq a20a939b21 updated notification types 2022-10-14 11:24:58 -04:00
johnnyq eb8e40af21 Added Client Link to recurring Invoice notification via cron 2022-10-08 13:45:50 -04:00
Marcus Hill 6529ff8bbf Allow portal contacts to reset their passwords via email 2022-10-01 21:32:19 +01:00
johnnyq 7543957176 Wording Change on Viewing Invoice email template 2022-09-26 18:53:33 -04:00
johnnyq 996c603826 Operation Cleanup Round 4 - Remove config_base_url from settings table in db. This should be in your config.php now, if this is not added this can break things 2022-09-17 18:04:26 -04:00
johnnyq 2ea41ed960 Operation Cleanup Round 3 - Remove automated SQL backups as this should be handled by system level backups which will also backup the files 2022-09-17 17:17:01 -04:00
johnnyq 8192c49a38 Added Cron Job Start to Logging 2022-07-19 14:29:02 -04:00
johnnyq b4417f8e94 Added Cron Successful to the logs in cron.php 2022-07-19 13:27:28 -04:00
johnnyq 1d139fafd3 Added Cron Successful to the logs in cron.php 2022-07-19 13:26:26 -04:00
johnnyq dbea44591c Removed Refresh Domain Whois and DNS and Refresh SSL from cron.php as it was breaking it causing recurrings and invoice reminders not to be sent out. 2022-07-19 13:15:55 -04:00
Marcus Hill cf6bf88e4f Add TXT records under domain records 2022-07-07 20:17:16 +01:00
Marcus Hill 7bf6ea6447 Add auto ssl updater to cron 2022-06-18 19:51:37 +01:00
Marcus Hill f9abe79088 Add domain whois auto updater nightly via cron 2022-05-31 21:13:25 +01:00
Marcus Hill 779153e099 Adjust scheduled ticket behaviour in cron to account for cron being run at 1 AM rather than 11 PM. This is also better for daylight saving 2022-04-15 12:03:52 +01:00
johnnyq ef29a17d49 DB Structure Update - Added SMTP Encryption Type to Mail settings 2022-04-02 16:03:30 -04:00
Marcus Hill cab2cc923a Improve share features: default modal to 1, cleanup expired/used links 2022-04-02 15:37:17 +01:00
johnnyq eac5a53e9e Fix Var name in Cron 2022-03-29 13:04:02 -04:00
johnnyq 8c98163e1c DB Structure Updated 2 new settings config_backup_enable and config_backup_path. This is to fix an issue where not specifying the full backup path would cause cron to error out and not run completely 2022-03-29 12:59:42 -04:00
Marcus Hill 9040fdf847 Misc small changes/fixes 2022-03-27 22:26:22 +01:00
Marcus Hill fb4da53026 Show who else is viewing the same open ticket as you 2022-03-26 18:05:20 +00:00
johnnyq d4a63c14c3 DB Updated removed history_date from history table as this is redundant with history_created_at 2022-03-04 00:41:34 -05:00
Marcus Hill ed9d62b393 Spacing 2022-02-24 19:17:44 +00:00
Marcus Hill b3acfba28d Add automatic database backup functionality 2022-02-24 19:13:45 +00:00
johnnyq 1ed20217d1 Added Department name on client PDF Export and contact CSV export 2022-02-22 11:42:08 -05:00
johnnyq e6b45f9627 Added Notification client id to Past due invoice notifications 2022-02-22 11:32:11 -05:00
johnnyq 7af0c11720 Updated Email template footers to include department and Email for Ticket replies, Invoices, Payment Receipts, Quotes, etc 2022-02-21 23:42:58 -05:00
johnnyq b4114fdad3 DB Structure Update - Added notification_client_id to notifications to link notification to clients to further use in client overview, added asset warranty expiration notification fixed a few DB queries to use join instead of = 2022-02-21 21:42:59 -05:00
johnnyq 05e7b160b1 DB Structure Update table name alerts is now notifications also update the fields accordingly to the notifications table - Reworked Notifications a bit 2022-02-21 21:21:13 -05:00
johnnyq f95a228141 Updated DB Structure, Added Seperate From Name and From Email to Invoices / Quotes and Tickets, seperated Quote and Invoice to their own settings pane 2022-02-18 15:26:16 -05:00
johnnyq 16968e0b97 Added Locale option for company, this works in conjunction with the way the currency is displayed 2022-02-18 11:14:14 -05:00