Plugin updates
Fixed plugin installation updates Updates language updates
This commit is contained in:
@@ -1594,27 +1594,44 @@ return [
|
||||
'session-expired' => 'Session expired or invalid, please try again.',
|
||||
|
||||
//update since v1.10
|
||||
'your_helpdesk_is_ready' => 'Your Helpdesk is Ready!',
|
||||
'all_right_sparky_you_have_made_it' => 'All right, sparky! You’ve made it through the installation.',
|
||||
'next_step' => 'Next Step',
|
||||
'login_to_faveo' => 'Login to Faveo',
|
||||
'learn_more' => 'Learn More',
|
||||
'video_walk_through' => 'Video walk through',
|
||||
'email_support' => 'Email Support',
|
||||
'not-answered' => 'Not answered',
|
||||
'default-fallback' => 'Fallback language',
|
||||
'system-language' => 'System\'s default language',
|
||||
'set_as_sys_lang' => 'Make default',
|
||||
'filtered-results' => 'Filtered results',
|
||||
'methon_not_allowed' => 'Method not allowed',
|
||||
'confirm-to-proceed' => 'Are you sure?',
|
||||
'change-ticket-status-to' => 'Change status of tickets to ',
|
||||
'your-ticket-status-changed' => 'Your ticket\'s status has been changed.',
|
||||
'reload-be-patient-message' => 'Please be patient we are reloading the page.',
|
||||
'status-changed-successfully' => 'Status changed successfully.',
|
||||
'system-outgoing-incoming-mail-not-configured' => 'You have not configured system mail. Faveo can\'t fetch tickets from mail or send mail to users without it.',
|
||||
'confihure-the-mail-now' => 'Click here to configure the mail.',
|
||||
'system-mail-not-configured-agent-message' => 'System incoming and outgoing email settings are not configured. Please contct your system\'s admin and report the problem.',
|
||||
'ticket-assigned-successfully' => 'Selected tickets have been assigned sucessfully.',
|
||||
'canned_response_deleted' => 'Canned response deleted successfully',
|
||||
'your_helpdesk_is_ready' => 'Your Helpdesk is Ready!',
|
||||
'all_right_sparky_you_have_made_it' => 'All right, sparky! You’ve made it through the installation.',
|
||||
'next_step' => 'Next Step',
|
||||
'login_to_faveo' => 'Login to Faveo',
|
||||
'learn_more' => 'Learn More',
|
||||
'video_walk_through' => 'Video walk through',
|
||||
'email_support' => 'Email Support',
|
||||
'not-answered' => 'Not answered',
|
||||
'default-fallback' => 'Fallback language',
|
||||
'system-language' => 'System\'s default language',
|
||||
'set_as_sys_lang' => 'Make default',
|
||||
'filtered-results' => 'Filtered results',
|
||||
'methon_not_allowed' => 'Method not allowed',
|
||||
'confirm-to-proceed' => 'Are you sure?',
|
||||
'change-ticket-status-to' => 'Change status of tickets to ',
|
||||
'your-ticket-status-changed' => 'Your ticket\'s status has been changed.',
|
||||
'reload-be-patient-message' => 'Please be patient we are reloading the page.',
|
||||
'status-changed-successfully' => 'Status changed successfully.',
|
||||
'system-outgoing-incoming-mail-not-configured' => 'You have not configured system mail. Faveo can\'t fetch tickets from mail or send mail to users without it.',
|
||||
'confihure-the-mail-now' => 'Click here to configure the mail.',
|
||||
'system-mail-not-configured-agent-message' => 'System incoming and outgoing email settings are not configured. Please contct your system\'s admin and report the problem.',
|
||||
'ticket-assigned-successfully' => 'Selected tickets have been assigned sucessfully.',
|
||||
'canned_response_deleted' => 'Canned response deleted successfully',
|
||||
'no-dummy-data' => 'Your system is in production, we could not find dummy data installed in your system.',
|
||||
'dummy_data_installation_message' => 'You are using Faveo with dummy data, which should be used only for testing purpose. Your system will not fetch or send any mail as dummy data has minimal configuration settings. We recommend not to feed any live data in the system till you are testing the system. Once you are done with testing clear all dummy data and configure system settings to get started with the system.',
|
||||
'clear-dummy-data-agent-message' => 'Your Faveo system has been installed with dummy data which should be used only for testing purpose. Your system will not fetch or send any mail as dummy data has minimal configuration settings. We recommend not to feed any live data in the system till you are testing the system. Once you are done with testing contact your system admin to clean dummy data and configure system settings.',
|
||||
'clear-dummy-data' => 'to clear dummy data.',
|
||||
'delete_dummy_data' => 'Clean dummy data',
|
||||
'plugin-with-dummy-data-error-message' => 'You\'ve installed Faveo with dummy data for testing. Plugins can only be used in live/production mode. If you are done with testing clear dummy data and start using Faveo in live/production mode.',
|
||||
'clean-data-box-title' => 'Cleaning Dummy data will perform following actions',
|
||||
'clean-dummy-ticket-conversation' => 'Clean all dummy tickets and their conversations.',
|
||||
'clean-dummy-notification' => 'Clean all dummy notifications.',
|
||||
'clean-dummy-users' => 'Clean all dummy users and their data.',
|
||||
'clean-other-data' => 'Clean dummy departments, teams, labels, tags etc.',
|
||||
'clean-user-created-data' => 'Clean all data created during testing with dummy data.',
|
||||
'clean-data-btn' => 'Clear data',
|
||||
'clean-confirm' => 'Yes I want to clean dummy data',
|
||||
'do-not-refresh' => '(Please do not use "Refresh" or "Back" button)',
|
||||
'cleaning-in-progress' => 'Cleaning in progress, please wait while we are cleaning your database',
|
||||
'cleaning-database' => 'Cleaning dummy data from database.',
|
||||
];
|
||||
|
@@ -0,0 +1,106 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('clean')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
<h1>{{Lang::get('lang.delete_dummy_data')}}</h1>
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{!! Lang::get('lang.clean-data-box-title')!!}</h3>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<ul>
|
||||
<li>{!! Lang::get('lang.clean-dummy-ticket-conversation') !!}</li>
|
||||
<li>{!! Lang::get('lang.clean-dummy-notification') !!}</li>
|
||||
<li>{!! Lang::get('lang.clean-dummy-users') !!}</li>
|
||||
<li>{!! Lang::get('lang.clean-other-data') !!}</li>
|
||||
<li>{!! Lang::get('lang.clean-user-created-data') !!}</li>
|
||||
</ul>
|
||||
</div><!-- /.box-body -->
|
||||
<div class="box-footer">
|
||||
<input type="checkbox" id="clean-confirm"> {!! Lang::get('lang.clean-confirm') !!}</input>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<input type="button" class="btn btn-sm btn-primary" disabled="disabled" data-toggle="modal" data-target="#loadingpopup" value="{!! Lang::get('lang.clean-data-btn') !!}" id="clean-btn"></input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal fade" id="loadingpopup" style="padding:200px;">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<div id="head">
|
||||
<button type="button" class="close" id="close" data-dismiss="modal" aria-label="Close" style="display:none;"><span aria-hidden="true">×</span></button>
|
||||
<div class="col-md-5"></div><div class="col-md-2"><img src="{{asset("lb-faveo/media/images/gifloader.gif")}}" ></div><div class="col-md-5"></div>
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<center><h3 style="color:#80DE02;">{!! Lang::get('lang.cleaning-database') !!}</h3></center>
|
||||
<br/>
|
||||
<center><h4>{!! Lang::get('lang.cleaning-in-progress') !!}</h4></center>
|
||||
<center><h4>{!! Lang::get('lang.do-not-refresh') !!}</h4></center>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@section('FooterInclude')
|
||||
<script type="text/javascript">
|
||||
$('#clean-confirm').click(function() {
|
||||
if($(this). prop("checked") == true){
|
||||
document.getElementById("clean-btn").disabled = false;
|
||||
} else {
|
||||
document.getElementById("clean-btn").disabled = true;
|
||||
}
|
||||
});
|
||||
|
||||
$('#clean-btn').on('click', function(){
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "{!! route('post-clean-database') !!}",
|
||||
dataType: "json",
|
||||
data: {
|
||||
"_token": "{{ csrf_token() }}",
|
||||
},
|
||||
headers: {
|
||||
'X-CSRF-Token': $('meta[name="_token"]').attr('content')
|
||||
},
|
||||
beforeSend: function () {
|
||||
$('.loader').css('display','block');
|
||||
},
|
||||
success: function (json) {
|
||||
$('.loader').css('display','none');
|
||||
var link = "{{route('setting')}}";
|
||||
window.location = link;
|
||||
},
|
||||
error: function (json) {
|
||||
|
||||
}
|
||||
});
|
||||
})
|
||||
</script>
|
||||
@stop
|
Reference in New Issue
Block a user