v1.10.1 build updates
- Fixed API issues - Updated release notes and readme files - Updated dummy database files - dumped composer to with --no-dev to ignore dev dependency - ignored tests directory and phpunit.xml while downloading compressed archives of the repo
This commit is contained in:

committed by
Manish Verma

parent
97e45c8a9f
commit
00a7111421
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -3,3 +3,6 @@
|
||||
*.less linguist-vendored
|
||||
*.js linguist-vendored
|
||||
*.html linguist-vendored
|
||||
tests/ export-ignore
|
||||
phpunit.xml export-ignore
|
||||
|
||||
|
@@ -359,7 +359,7 @@ class ApiController extends Controller
|
||||
->leftJoin('ticket_attachment', 'ticket_attachment.thread_id', '=', 'ticket_thread.id');
|
||||
if ($user->role == 'agent') {
|
||||
$id = $user->id;
|
||||
$dept = \DB::table('department_assign_agents')->where('agent_id', '=', $id)->pluck('department_id')->toArray();
|
||||
$dept[] = $user->primary_dpt;
|
||||
$unassigned = $unassigned->where(function ($query) use ($dept, $id) {
|
||||
$query->whereIn('tickets.dept_id', $dept)
|
||||
->orWhere('assigned_to', '=', $id);
|
||||
@@ -412,7 +412,7 @@ class ApiController extends Controller
|
||||
->leftJoin('ticket_attachment', 'ticket_attachment.thread_id', '=', 'ticket_thread.id');
|
||||
if ($user->role == 'agent') {
|
||||
$id = $user->id;
|
||||
$dept = \DB::table('department_assign_agents')->where('agent_id', '=', $id)->pluck('department_id')->toArray();
|
||||
$dept[] = $user->primary_dpt;
|
||||
$result = $result->where(function ($query) use ($dept, $id) {
|
||||
$query->whereIn('tickets.dept_id', $dept)
|
||||
->orWhere('assigned_to', '=', $id);
|
||||
@@ -977,7 +977,7 @@ class ApiController extends Controller
|
||||
->where('ticket_status.name', 'Open');
|
||||
if ($user->role == 'agent') {
|
||||
$id = $user->id;
|
||||
$dept = \DB::table('department_assign_agents')->where('agent_id', '=', $id)->pluck('department_id')->toArray();
|
||||
$dept[] = $user->primary_dpt;
|
||||
$inbox = $inbox->where(function ($query) use ($dept, $id) {
|
||||
$query->whereIn('tickets.dept_id', $dept)
|
||||
->orWhere('assigned_to', '=', $id);
|
||||
@@ -1061,7 +1061,7 @@ class ApiController extends Controller
|
||||
->leftJoin('ticket_attachment', 'ticket_attachment.thread_id', '=', 'ticket_thread.id');
|
||||
if ($user->role == 'agent') {
|
||||
$id = $user->id;
|
||||
$dept = \DB::table('department_assign_agents')->where('agent_id', '=', $id)->pluck('department_id')->toArray();
|
||||
$dept[] = $user->primary_dpt;
|
||||
$trash = $trash->where(function ($query) use ($dept, $id) {
|
||||
$query->whereIn('tickets.dept_id', $dept)
|
||||
->orWhere('assigned_to', '=', $id);
|
||||
@@ -1432,7 +1432,7 @@ class ApiController extends Controller
|
||||
$tickets = \DB::table('tickets');
|
||||
if ($user->role == 'agent') {
|
||||
$id = $user->id;
|
||||
$dept = DepartmentAssignAgents::where('agent_id', '=', $id)->pluck('department_id')->toArray();
|
||||
$dept[] = $user->primary_dpt;
|
||||
$tickets = $tickets->whereIn('tickets.dept_id', $dept)->orWhere('assigned_to', '=', $user->id);
|
||||
}
|
||||
$department = $this->department->select('name', 'id')->get()->toArray();
|
||||
|
Binary file not shown.
@@ -34,6 +34,12 @@ As we mentioned in last release that the application is now compatible with PHP7
|
||||
- Integrated slack channel for travis build notifications
|
||||
- Updated Bugsnag API key
|
||||
|
||||
Error Reporting
|
||||
--------------------------
|
||||
Faveo uses [Bugsnag](https://www.bugsnag.com/) to monitor application stability in production enviroment. It helps us to provide bug fixes and feature updates after analyzing the logs and crash reports for the application. **If you are customizing the application under development environment, we request you to disable this error reporting.** It will allow us to ignore the errors occurred during your development cycle and we can focus more on the exceptions/bugs occuring in live system of other users of Faveo community. It can be easily disabled from "Error logs and debugging" option in admin panel or by updating your app environment to development in `.env`.
|
||||
|
||||
You can still report the issues on our [Github Issue page](https://github.com/ladybirdweb/faveo-helpdesk/issues) by providing proper information about the changes you are trying to implement. We assure you that Faveo community will help you and your customization can be a part of Faveo application if it follows our contributing guidelines.
|
||||
|
||||
|=====================================================
|
||||
| v1.10 Laravel Framework update
|
||||
|=====================================================
|
||||
|
1
vendor/composer/autoload_classmap.php
vendored
1
vendor/composer/autoload_classmap.php
vendored
@@ -766,7 +766,6 @@ return array(
|
||||
'Table_Row_Group_Frame_Reflower' => $vendorDir . '/dompdf/dompdf/include/table_row_group_frame_reflower.cls.php',
|
||||
'Table_Row_Group_Renderer' => $vendorDir . '/dompdf/dompdf/include/table_row_group_renderer.cls.php',
|
||||
'Table_Row_Positioner' => $vendorDir . '/dompdf/dompdf/include/table_row_positioner.cls.php',
|
||||
'TestCase' => $baseDir . '/tests/TestCase.php',
|
||||
'Text_Frame_Decorator' => $vendorDir . '/dompdf/dompdf/include/text_frame_decorator.cls.php',
|
||||
'Text_Frame_Reflower' => $vendorDir . '/dompdf/dompdf/include/text_frame_reflower.cls.php',
|
||||
'Text_Renderer' => $vendorDir . '/dompdf/dompdf/include/text_renderer.cls.php',
|
||||
|
1
vendor/composer/autoload_static.php
vendored
1
vendor/composer/autoload_static.php
vendored
@@ -1453,7 +1453,6 @@ class ComposerStaticInit598add4b9b35c76d3599603201ccdd6d
|
||||
'Table_Row_Group_Frame_Reflower' => __DIR__ . '/..' . '/dompdf/dompdf/include/table_row_group_frame_reflower.cls.php',
|
||||
'Table_Row_Group_Renderer' => __DIR__ . '/..' . '/dompdf/dompdf/include/table_row_group_renderer.cls.php',
|
||||
'Table_Row_Positioner' => __DIR__ . '/..' . '/dompdf/dompdf/include/table_row_positioner.cls.php',
|
||||
'TestCase' => __DIR__ . '/../..' . '/tests/TestCase.php',
|
||||
'Text_Frame_Decorator' => __DIR__ . '/..' . '/dompdf/dompdf/include/text_frame_decorator.cls.php',
|
||||
'Text_Frame_Reflower' => __DIR__ . '/..' . '/dompdf/dompdf/include/text_frame_reflower.cls.php',
|
||||
'Text_Renderer' => __DIR__ . '/..' . '/dompdf/dompdf/include/text_renderer.cls.php',
|
||||
|
Reference in New Issue
Block a user