From eba2c987a279904b8fb4a57ec3acebee5d4efdaa Mon Sep 17 00:00:00 2001 From: Manish Verma Date: Tue, 18 Sep 2018 18:25:25 +0530 Subject: [PATCH] v1.10.1 updates --- .../Agent/helpdesk/TicketController.php | 3 +-- config/app.php | 2 +- release-notes.txt | 27 +++++++++++++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Agent/helpdesk/TicketController.php b/app/Http/Controllers/Agent/helpdesk/TicketController.php index d2bb88632..7bfed2320 100644 --- a/app/Http/Controllers/Agent/helpdesk/TicketController.php +++ b/app/Http/Controllers/Agent/helpdesk/TicketController.php @@ -2109,8 +2109,7 @@ class TicketController extends Controller ] ); $user = User::where('email', '=', $email)->first(); - $count = count($user); - if ($count === 1) { + if ($user) { return 0; } elseif ($validator->fails()) { return 2; diff --git a/config/app.php b/config/app.php index af15f96ea..a93e06812 100644 --- a/config/app.php +++ b/config/app.php @@ -33,7 +33,7 @@ return [ | This tells about aplication current version. | */ - 'version' => 'Community 1.10', + 'version' => 'Community 1.10.1', /* |-------------------------------------------------------------------------- | Application Name diff --git a/release-notes.txt b/release-notes.txt index bbe2ca542..3f2ab48c6 100644 --- a/release-notes.txt +++ b/release-notes.txt @@ -7,6 +7,33 @@ |_| \__,_| \_/ \___|\___/ |_| |_|\___|_| .__/ \__,_|\___||___/_|\_\ | | |_| +|===================================================== +| v1.10.1 Laravel Framework update +|===================================================== +### PHP7.2 compatibility patch + +As we mentioned in last release that the application is now compatible with PHP7.2 but as has not been tested completely there are number of issues which occurrs while using the application with PHP7.2. This release fixes the issues logged by the application in our issue track manager. + +#### Bugs fixed +- PHP7.2 compatibility issues mentioned in this [GitHub issue](https://github.com/ladybirdweb/faveo-helpdesk/issues/681) +- Agents are not able to view tickets in ticket pages +- Delete Forever button does not work +- Fixed loging method in CommonmailController +- Fixed mail config file +- Fixed attachment variable initalization in MailController +- Fixed sendEmail() method in PhpMailController passing empty array as default value for $template_variables +- Fixed Bugsnag reported issue for sendmail() which is happening for reports +- Changes status change url method to post for preventing CSRF attacks for ticket status manipluation +- Removed sla-escalate atrisan command from kernal as the functionality is not working and which is causing the issue while running cron command in v1.10 + +#### Change log +- Updated Laravel version to v5.6.38 +- Initial commit for Unit testin using PHP unit. We are starting with TDD and every module and class will be tested using unit testcases. +- Updated Artful log in Readme.md, release notes and CLI installer +- Added phpunit.bat for running unit tests on windows machines +- Integrated slack channel for travis build notifications +- Updated Bugsnag API key + |===================================================== | v1.10 Laravel Framework update |=====================================================