Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme update #8280

Merged
merged 5 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ To run Faveo your host just needs a couple of things:
* PHP Extensions: Imap, Mbstring, Mcrypt, OpenSSL, PDO, Tokenizer, XML, Zip
* Web Server Extension: Pretty URLs or Search Engine Friendly URLs have to be enabled in your web server configuration

Installation Guide
--------------------------
The installation steps for Faveo Community is same as that of Faveo. Please refer to our <a href="https://docs.faveohelpdesk.com/" target="_blank">Installation Guide</a> here.

Faveo Web Hosting
--------------------------
<a href="http://www.store.ladybirdwebhost.com/" target="_blank">Ladybird Web Host</a> Offers hosting with minimum requirement to host Faveo web application. Faveo has been tested on Ladybird Web Host servers &amp; works very well in their server environment. All web hosting packages offered by Ladybird Web Host come with 30 day money back gurantee.</p>
Expand All @@ -67,16 +71,11 @@ Road Map for Community Edition
--------------------------
See what all features are going to be part of upcoming releases <a href="http://www.faveohelpdesk.com/faveo-helpdesk-road-map" target="_blank">here</a>

Faveo Probe
--------------------------
Helps verify whether your server can run Faveo or not.
<a href="https://github.com/ladybirdweb/faveo-probe" target="_blank">Download here</a>

Faveo Community
--------------------------
Join Faveo discussion group and stay tuned to latest updates.<br/>
<li><a href="https://www.linkedin.com/groups/8429668" target="_blank">Join us on LinkedIn</a></li>
<li><a href="https://join.slack.com/t/faveocommunity/shared_invite/enQtNDU0NTcxNTA0ODIwLTAzN2VkNDhjMDFmNGJmNmUwYTkxYzE4OGI3ZDUyZGQ2ZDY5NjU2YmY4ZjU3YWNlNTA3N2JkOTk1ZmNiM2ZlY2U" target="_blank">Join us on Slack</a></li>
* Join us on <a href="https://www.linkedin.com/groups/8429668" target="_blank">LinkedIn</a>
* Join us on <a href="https://join.slack.com/t/faveocommunity/shared_invite/enQtNDU0NTcxNTA0ODIwLTAzN2VkNDhjMDFmNGJmNmUwYTkxYzE4OGI3ZDUyZGQ2ZDY5NjU2YmY4ZjU3YWNlNTA3N2JkOTk1ZmNiM2ZlY2U" target="_blank">Slack</a>

Support the community edition
--------------------------
Expand Down Expand Up @@ -105,11 +104,10 @@ Check mark versions are supported with security patches.

| Version | Supported |
| ------- | ------------------ |
| 2.0.3 | :x: |
| 2.0.2 | :white_check_mark: |
| 2.0.1 | :white_check_mark: |
| 2.0.0 | :x: |
| < 1.0 | :x: |
| 2.0.3 | :white_check_mark: |
| 2.0.2 | :x: |
| 2.0.1 | :x: |
| < 2.0 | :x: |

## Supported Updates

Expand Down
1 change: 1 addition & 0 deletions app/Api/v1/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ public function checkUrl()

$url = $url.'/api/v1/helpdesk/check-url?api_key='.$this->request->input('api_key').'&token='.\Config::get('app.token');
$result = $this->CallGetApi($url);

//dd($result);
return response()->json(compact('result'));
} catch (\Exception $ex) {
Expand Down
1 change: 1 addition & 0 deletions app/Api/v1/ApiExceptAuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public function checkUrl()
$url = $url.'api/v1/helpdesk/check-url';
//return $url;
$result = $this->CallGetApi($url);

// dd($result);
return response()->json(compact('result'));
} catch (\Exception $ex) {
Expand Down
6 changes: 4 additions & 2 deletions app/Api/v1/TokenAuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function authenticate(Request $request)
}

$user_id = \Auth::user();

// if no errors are encountered we can return a JWT
return response()->json(compact('token', 'user_id'));
}
Expand Down Expand Up @@ -91,6 +92,7 @@ public function getAuthenticatedUser()

return response()->json(compact('error'));
}

//dd($user);
return response()->json(compact('user'));
}
Expand Down Expand Up @@ -174,8 +176,8 @@ public function forgotPassword(Request $request)
$password_reset_table = \DB::table('password_resets')->where('email', '=', $user->email)->first();
if (isset($password_reset_table)) {
$password_reset_table = \DB::table('password_resets')->where('email', '=', $user->email)->update(['token' => $code, 'created_at' => $date]);
// $password_reset_table->token = $code;
// $password_reset_table->update(['token' => $code]);
// $password_reset_table->token = $code;
// $password_reset_table->update(['token' => $code]);
} else {
$create_password_reset = \DB::table('password_resets')->insert(['email' => $user->email, 'token' => $code, 'created_at' => $date]);
}
Expand Down
2 changes: 2 additions & 0 deletions app/Http/Controllers/Admin/helpdesk/AgentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ public function update($id, User $user, AgentUpdate $request, Assign_team_agent
foreach ($requests as $req) {
DB::insert('insert into team_assign_agent (team_id, agent_id) values (?,?)', [$req, $id]);
}

//Todo For success and failure conditions
try {
if ($request->input('country_code') != '' or $request->input('country_code') != null) {
Expand Down Expand Up @@ -304,6 +305,7 @@ public function generateRandomString($length = 10)
for ($i = 0; $i < $length; $i++) {
$randomString .= $characters[rand(0, $charactersLength - 1)];
}

// return random string
return $randomString;
}
Expand Down
1 change: 1 addition & 0 deletions app/Http/Controllers/Admin/helpdesk/BanlistController.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function store(BanRequest $request, User $user)
$use->ban = $request->input('ban');
$use->internal_note = $request->input('internal_note');
$use->save();

// $user->create($request->input())->save();
return redirect('banlist')->with('success', Lang::get('lang.email_banned_sucessfully'));
} else {
Expand Down
1 change: 1 addition & 0 deletions app/Http/Controllers/Admin/helpdesk/EmailsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ public function validatingEmailSettingsUpdate($id, MailRequest $request)
}
//dd($ex->getMessage());
loging('mail-config', $message);

//Log::error($ex->getMessage());
return $this->jsonResponse('fails', $message);
}
Expand Down
2 changes: 2 additions & 0 deletions app/Http/Controllers/Admin/helpdesk/FormController.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ public function edit($id)
//dd($form);
if ($form) {
$fields = $form->fields();

//dd($fields);
return view('themes.default1.admin.helpdesk.manage.form.edit', compact('form', 'fields', 'select_forms'));
}
Expand All @@ -215,6 +216,7 @@ public function addChildForm($id)
//dd($form);
if ($form) {
$fields = $form->fields();

//dd($fields);
return view('themes.default1.admin.helpdesk.manage.form.add-child', compact('form', 'fields', 'select_forms'));
}
Expand Down
4 changes: 4 additions & 0 deletions app/Http/Controllers/Admin/helpdesk/GroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,11 @@ public function update($id, Groups $group, GroupUpdateRequest $request)
//Updating admin_notes field
$adminNotes = $request->input('admin_notes');
$var->admin_notes = $adminNotes;

/* Check whether function success or not */
try {
$var->save();

/* redirect to Index page with Success Message */
return redirect('groups')->with('success', Lang::get('lang.group_updated_successfully'));
} catch (Exception $e) {
Expand Down Expand Up @@ -198,9 +200,11 @@ public function destroy($id, Groups $group, Group_assign_department $group_assig
}
$group_assign_department->where('group_id', $id)->delete();
$groups = $group->whereId($id)->first();

/* Check whether function success or not */
try {
$groups->delete();

/* redirect to Index page with Success Message */
return redirect('groups')->with('success', Lang::get('lang.group_deleted_successfully'));
} catch (Exception $e) {
Expand Down
4 changes: 4 additions & 0 deletions app/Http/Controllers/Admin/helpdesk/HelptopicController.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public function store(Help_topic $topic, HelptopicRequest $request)
}
/* Check whether function success or not */
$topic->fill($request->except('custom_form', 'auto_assign'))->save();

// $topics->fill($request->except('custom_form','auto_assign'))->save();
/* redirect to Index page with Success Message */
return redirect('helptopic')->with('success', Lang::get('lang.helptopic_created_successfully'));
Expand Down Expand Up @@ -192,6 +193,7 @@ public function update($id, Help_topic $topic, HelptopicUpdate $request)
->where('id', '=', 1)
->update(['help_topic' => $id]);
}

/* redirect to Index page with Success Message */
return redirect('helptopic')->with('success', Lang::get('lang.helptopic_updated_successfully'));
} catch (Exception $e) {
Expand Down Expand Up @@ -238,9 +240,11 @@ public function destroy($id, Help_topic $topic, Ticket $ticket_setting)
}
$message = $ticket.$email;
$topics = $topic->whereId($id)->first();

/* Check whether function success or not */
try {
$topics->delete();

/* redirect to Index page with Success Message */
return redirect('helptopic')->with('success', Lang::get('lang.helptopic_deleted_successfully').$message);
} catch (Exception $e) {
Expand Down
19 changes: 19 additions & 0 deletions app/Http/Controllers/Admin/helpdesk/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public function getcompany(Company $company)
try {
/* fetch the values of company from company table */
$companys = $company->whereId('1')->first();

/* Direct to Company Settings Page */
return view('themes.default1.admin.helpdesk.settings.company', compact('companys'));
} catch (Exception $e) {
Expand Down Expand Up @@ -104,9 +105,11 @@ public function postcompany($id, Company $company, CompanyRequest $request)
if ($request->input('use_logo') == null) {
$companys->use_logo = '0';
}

/* Check whether function success or not */
try {
$companys->fill($request->except('logo'))->save();

/* redirect to Index page with Success Message */
return redirect('getcompany')->with('success', Lang::get('lang.company_updated_successfully'));
} catch (Exception $e) {
Expand Down Expand Up @@ -167,6 +170,7 @@ public function getsystem(System $system, Department $department, Timezones $tim
$email_mandatory = $common_settings->select('status')
->where('option_name', '=', 'email_mandatory')
->first();

/* Direct to System Settings Page */
return view('themes.default1.admin.helpdesk.settings.system', compact('systems', 'departments', 'timezones', 'time', 'date', 'date_time', 'common_setting', 'send_otp', 'email_mandatory'));
} catch (Exception $e) {
Expand Down Expand Up @@ -215,6 +219,7 @@ public function postsystem($id, System $system, SystemRequest $request)
$sett->status = $itil;
$sett->save();
}

/* redirect to Index page with Success Message */
return redirect('getsystem')->with('success', Lang::get('lang.system_updated_successfully'));
} catch (Exception $e) {
Expand Down Expand Up @@ -242,6 +247,7 @@ public function getticket(Ticket $ticket, Sla_plan $sla, Help_topic $topic, Tick
$slas = $sla->get();
/* Fetch the values from Help_topic table */
$topics = $topic->get();

/* Direct to Ticket Settings Page */
return view('themes.default1.admin.helpdesk.settings.ticket', compact('tickets', 'slas', 'topics', 'priority'));
} catch (Exception $e) {
Expand Down Expand Up @@ -276,6 +282,7 @@ public function postticket($id, Ticket $ticket, Request $request)
$tickets->collision_avoid = $request->input('collision_avoid');
/* Check whether function success or not */
$tickets->save();

/* redirect to Index page with Success Message */
return redirect('getticket')->with('success', Lang::get('lang.ticket_updated_successfully'));
} catch (Exception $e) {
Expand All @@ -302,6 +309,7 @@ public function getemail(Email $email, Template $template, Emails $email1)
$templates = $template->get();
/* Fetch the values from Emails table */
$emails1 = $email1->get();

/* Direct to Email Settings Page */
return view('themes.default1.admin.helpdesk.settings.email', compact('emails', 'templates', 'emails1'));
} catch (Exception $e) {
Expand Down Expand Up @@ -334,6 +342,7 @@ public function postemail($id, Email $email, EmailRequest $request)
$emails->attachment = $request->input('attachment');
/* Check whether function success or not */
$emails->save();

/* redirect to Index page with Success Message */
return redirect('getemail')->with('success', Lang::get('lang.email_updated_successfully'));
} catch (Exception $e) {
Expand Down Expand Up @@ -435,6 +444,7 @@ public function postSchedular(Email $email, Template $template, Emails $email1,
}
$work->save();
$this->saveConditions();

/* redirect to Index page with Success Message */
return redirect('job-scheduler')->with('success', Lang::get('lang.job-scheduler-success'));
} catch (Exception $e) {
Expand All @@ -455,6 +465,7 @@ public function getresponder(Responder $responder)
try {
/* fetch the values of responder from responder table */
$responders = $responder->whereId('1')->first();

/* Direct to Responder Settings Page */
return view('themes.default1.admin.helpdesk.settings.responder', compact('responders'));
} catch (Exception $e) {
Expand Down Expand Up @@ -484,6 +495,7 @@ public function postresponder(Responder $responder, Request $request)
/* fill the values to coompany table */
/* Check whether function success or not */
$responders->save();

/* redirect to Index page with Success Message */
return redirect('getresponder')->with('success', Lang::get('lang.auto_response_updated_successfully'));
} catch (Exception $e) {
Expand All @@ -504,6 +516,7 @@ public function getalert(Alert $alert)
try {
/* fetch the values of alert from alert table */
$alerts = $alert->whereId('1')->first();

/* Direct to Alert Settings Page */
return view('themes.default1.admin.helpdesk.settings.alert', compact('alerts'));
} catch (Exception $e) {
Expand Down Expand Up @@ -572,6 +585,7 @@ public function postalert($id, Alert $alert, Request $request)
/* fill the values to coompany table */
/* Check whether function success or not */
$alerts->save();

/* redirect to Index page with Success Message */
return redirect('getalert')->with('success', Lang::get('lang.alert_&_notices_updated_successfully'));
} catch (Exception $e) {
Expand Down Expand Up @@ -615,6 +629,7 @@ public function getStatuses()
try {
/* fetch the values of company from company table */
$statuss = \DB::table('ticket_status')->get();

/* Direct to Company Settings Page */
return view('themes.default1.admin.helpdesk.settings.status', compact('statuss'));
} catch (Exception $e) {
Expand All @@ -635,6 +650,7 @@ public function getEditStatuses($id)
try {
/* fetch the values of company from company table */
$status = \DB::table('ticket_status')->where('id', '=', $id)->first();

/* Direct to Company Settings Page */
return view('themes.default1.admin.helpdesk.settings.status-edit', compact('status'));
} catch (Exception $e) {
Expand Down Expand Up @@ -667,6 +683,7 @@ public function editStatuses($id, StatusRequest $request)
}
$statuss->sort = $request->input('sort');
$statuss->save();

/* Direct to Company Settings Page */
return redirect()->back()->with('success', Lang::get('lang.status_has_been_updated_successfully'));
} catch (Exception $e) {
Expand Down Expand Up @@ -698,6 +715,7 @@ public function createStatuses(\App\Model\helpdesk\Ticket\Ticket_Status $statuss
}
$statuss->sort = $request->input('sort');
$statuss->save();

/* Direct to Company Settings Page */
return redirect()->back()->with('success', Lang::get('lang.status_has_been_created_successfully'));
} catch (Exception $ex) {
Expand All @@ -718,6 +736,7 @@ public function deleteStatuses($id)
if ($id > 5) {
/* fetch the values of company from company table */
\App\Model\helpdesk\Ticket\Ticket_Status::whereId($id)->delete();

/* Direct to Company Settings Page */
return redirect()->back()->with('success', Lang::get('lang.status_has_been_deleted'));
} else {
Expand Down
Loading