diff --git a/flexiapi/.env.example b/flexiapi/.env.example index 4e8770e..c227eb3 100644 --- a/flexiapi/.env.example +++ b/flexiapi/.env.example @@ -41,7 +41,8 @@ WEB_PANEL=true # Fully enable/disable the web panels NEWSLETTER_REGISTRATION_ADDRESS= # Address to contact when a user wants to register to the newsletter PUBLIC_REGISTRATION=true # Toggle to enable/disable the public registration forms PHONE_AUTHENTICATION=true # Toggle to enable/disable the SMS support, requires public registration -DEVICES_MANAGEMENT=false # Toggle to enable/disable the devices management support +DEVICES_MANAGEMENT=false # Toggle to enable/disable the devices management supporttrue +INTERCOM_FEATURES=false # Toggle to enable/disable the intercom related features TERMS_OF_USE_URL= # A URL pointing to the Terms of Use PRIVACY_POLICY_URL= # A URL pointing to the Privacy Policy diff --git a/flexiapi/app/Http/Controllers/Admin/AccountTypeController.php b/flexiapi/app/Http/Controllers/Admin/AccountTypeController.php index 0d71660..9dfd443 100644 --- a/flexiapi/app/Http/Controllers/Admin/AccountTypeController.php +++ b/flexiapi/app/Http/Controllers/Admin/AccountTypeController.php @@ -51,8 +51,6 @@ class AccountTypeController extends Controller $accountType->key = $request->get('key'); $accountType->save(); - $request->session()->flash('success', 'Type successfully created'); - return redirect()->route('admin.account.type.index'); } @@ -78,8 +76,6 @@ class AccountTypeController extends Controller $accountType->key = $request->get('key'); $accountType->save(); - $request->session()->flash('success', 'Type successfully updated'); - return redirect()->route('admin.account.type.index'); } @@ -95,8 +91,6 @@ class AccountTypeController extends Controller $type = AccountType::findOrFail($typeId); $type->delete(); - $request->session()->flash('success', 'Type successfully destroyed'); - Log::channel('events')->info('Web Admin: Account type deleted', ['type' => $type->key]); return redirect()->route('admin.account.type.index'); diff --git a/flexiapi/config/app.php b/flexiapi/config/app.php index 45c91a1..92016e4 100644 --- a/flexiapi/config/app.php +++ b/flexiapi/config/app.php @@ -22,6 +22,7 @@ return [ 'newsletter_registration_address' => env('NEWSLETTER_REGISTRATION_ADDRESS', ''), 'phone_authentication' => env('PHONE_AUTHENTICATION', true), 'public_registration' => env('PUBLIC_REGISTRATION', true), + 'intercom_features' => env('INTERCOM_FEATURES', false), 'devices_management' => env('DEVICES_MANAGEMENT', false), 'web_panel' => env('WEB_PANEL', true), diff --git a/flexiapi/public/css/style.css b/flexiapi/public/css/style.css index d382d17..fe1022a 100644 --- a/flexiapi/public/css/style.css +++ b/flexiapi/public/css/style.css @@ -113,6 +113,10 @@ pre { color: var(--second-7); } +em { + font-style: italic; +} + pre { overflow: auto; background-color: var(--second-8); diff --git a/flexiapi/resources/views/account/api_key.blade.php b/flexiapi/resources/views/account/api_key.blade.php index 57393cd..b726aff 100644 --- a/flexiapi/resources/views/account/api_key.blade.php +++ b/flexiapi/resources/views/account/api_key.blade.php @@ -1,9 +1,12 @@ @extends('layouts.main', ['grid' => true]) +@section('breadcrumb') +