diff --git a/CHANGELOG.md b/CHANGELOG.md index bee06dcf..69983bcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,27 @@ This file documents all notable changes made to ITFlow. +## [25.09.2] + +### Fixes +- Fix Payment Method Select box in Revenue. +- Remove Extra Feeback Wording When Invoice Sends. +- Updated all CSV exports to use escape parameters. +- Fix Missing First row on Asset interface export. +- Fix Edit User not working due to incorrect modal footer path. +- Fix Add Certificate breaking due spelling on function. +- Update all CSV Exports to include company name or client name depending on when its being exported from. +- Introduced new function sanitize_filename and implmented it in all exports. +- Spruced up UI/UX Saved Paymented section in Client Portal. +- Fix add Payment Link in client portal recurring invoice section. +- Better Logic handling for default page redirect. + +### Features +- Introduced new Beta mail parser cron using webklex imap library instead of php-imap as this is deprecated --Not Enabled on existing installs, only new installs. +- Introduced Beta support for OAUTH2 Authentication for Microsoft 365 and Google Workspaces for both incoming ticket parsing and outgoing email but must use new mail parser and mail queue for this to work, and requires changing the cron jobs: scripts/cron_mail_queue.php to cron/mail_queue.php and scripts/cron_ticket_email_parser.php to cron/ticket_email_parser.php. + +--- + ## [25.09.1] ### Fixes diff --git a/admin/database_updates.php b/admin/database_updates.php index 55458c71..f97ce66b 100644 --- a/admin/database_updates.php +++ b/admin/database_updates.php @@ -3968,11 +3968,35 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) { mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.3.2'"); } + + if (CURRENT_DATABASE_VERSION == '2.3.2') { + + mysqli_query($mysqli, "ALTER TABLE settings + ADD `config_imap_provider` ENUM('standard_imap','google_oauth','microsoft_oauth') NULL DEFAULT NULL AFTER `config_mail_from_name`, + ADD `config_mail_oauth_client_id` VARCHAR(255) NULL AFTER `config_imap_provider`, + ADD `config_mail_oauth_client_secret` VARCHAR(255) NULL AFTER `config_mail_oauth_client_id`, + ADD `config_mail_oauth_tenant_id` VARCHAR(255) NULL AFTER `config_mail_oauth_client_secret`, + ADD `config_mail_oauth_refresh_token` TEXT NULL AFTER `config_mail_oauth_tenant_id`, + ADD `config_mail_oauth_access_token` TEXT NULL AFTER `config_mail_oauth_refresh_token`, + ADD `config_mail_oauth_access_token_expires_at` DATETIME NULL AFTER `config_mail_oauth_access_token` + "); + + mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.3.3'"); + } + + if (CURRENT_DATABASE_VERSION == '2.3.3') { + + mysqli_query($mysqli, "ALTER TABLE settings + ADD `config_smtp_provider` ENUM('standard_smtp','google_oauth','microsoft_oauth') NULL DEFAULT NULL AFTER `config_start_page` + "); + + mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.3.4'"); + } - // if (CURRENT_DATABASE_VERSION == '2.3.2') { - // // Insert queries here required to update to DB version 2.3.3 + // if (CURRENT_DATABASE_VERSION == '2.3.4') { + // // Insert queries here required to update to DB version 2.3.4 // // Then, update the database to the next sequential version - // mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.3.3'"); + // mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '2.3.5'"); // } } else { diff --git a/admin/includes/side_nav.php b/admin/includes/side_nav.php index 8654d34d..ea0fc168 100644 --- a/admin/includes/side_nav.php +++ b/admin/includes/side_nav.php @@ -1,6 +1,6 @@