From 296de34e8a90b9bb16405c59176f7b11d90a60ba Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 10 Dec 2019 19:32:50 -0800 Subject: [PATCH] WIP: Upgrade develop to Laravel 6.6.1 (#7637) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm going ahead and merging this, since the upgrade doesn't break Flysystem any worse than the current develop is broken, so far as I can tell. * Upgraded framework to Laravel 6 ### TO DO: - Fix password restriction rules- the old library isn’t compatible with Laravel 6 :( - Figure out why in-app API calls are returning “Unauthorized” * More updates from Input:: to Request:: helper * Switch to Request:: from Input * Added passport config * Fixed goofy password minimum in seeder * Added laravel/helpers * Changed ($item) to ($item->id) in forms I have no idea why this is necessary * Changed ($item) to ($item->id) in forms * Updated API middleware to auth:api * Updated with added laravel auth.php values * FIxed *&!^$%^&$^%!!!! ajax issue * Switch to Request::get from Input::get * Switched to Request facade * Added password security minimums back in The package we were using has not been updated to Laravel v6, so I created custom validators instead * Added language strings for error messages for password rules * Fixed `($item)` issue in formActions for partials --- .../AccessoryCheckoutController.php | 4 +- .../Api/AssetMaintenancesController.php | 4 +- app/Http/Controllers/Api/AssetsController.php | 4 +- .../Controllers/AssetModelsController.php | 8 +- app/Http/Controllers/Auth/LoginController.php | 3 +- .../Controllers/BulkAssetModelsController.php | 6 +- .../ComponentCheckoutController.php | 4 +- .../Components/ComponentsController.php | 18 +- .../ConsumableCheckoutController.php | 6 +- .../Consumables/ConsumablesController.php | 4 +- .../Controllers/CustomFieldsetsController.php | 4 +- app/Http/Controllers/GroupsController.php | 10 +- .../Licenses/LicenseCheckinController.php | 2 +- .../Licenses/LicenseFilesController.php | 2 +- app/Http/Controllers/ReportsController.php | 2 +- app/Http/Controllers/SettingsController.php | 6 +- .../Controllers/StatuslabelsController.php | 22 +- .../Controllers/Users/UserFilesController.php | 2 +- .../Controllers/Users/UsersController.php | 12 +- app/Http/Controllers/ViewAssetsController.php | 10 +- app/Providers/AuthServiceProvider.php | 1 + app/Providers/ValidationServiceProvider.php | 18 + composer.json | 20 +- composer.lock | 1306 +++++++++-------- config/app.php | 4 +- config/auth.php | 32 +- config/passport.php | 15 + .../2019_12_04_223111_passport_upgrade.php | 32 + database/seeds/SettingsSeeder.php | 2 +- resources/lang/en/validation.php | 17 +- resources/views/accessories/checkin.blade.php | 4 +- .../views/accessories/checkout.blade.php | 2 +- resources/views/accessories/edit.blade.php | 2 +- resources/views/account/profile.blade.php | 16 +- .../views/asset_maintenances/edit.blade.php | 12 +- resources/views/categories/edit.blade.php | 6 +- resources/views/companies/edit.blade.php | 2 +- resources/views/components/checkin.blade.php | 4 +- resources/views/components/checkout.blade.php | 2 +- resources/views/components/edit.blade.php | 2 +- .../views/consumables/checkout.blade.php | 2 +- resources/views/consumables/edit.blade.php | 2 +- .../views/custom_fields/fields/edit.blade.php | 14 +- .../custom_fields/fieldsets/edit.blade.php | 2 +- resources/views/departments/edit.blade.php | 2 +- resources/views/depreciations/edit.blade.php | 4 +- resources/views/groups/edit.blade.php | 2 +- resources/views/hardware/audit-due.blade.php | 2 +- .../views/hardware/audit-overdue.blade.php | 2 +- resources/views/hardware/audit.blade.php | 6 +- .../views/hardware/bulk-checkout.blade.php | 6 +- resources/views/hardware/bulk.blade.php | 14 +- resources/views/hardware/checkin.blade.php | 6 +- resources/views/hardware/checkout.blade.php | 8 +- resources/views/hardware/edit.blade.php | 12 +- resources/views/hardware/history.blade.php | 8 +- resources/views/hardware/index.blade.php | 36 +- resources/views/hardware/quickscan.blade.php | 8 +- resources/views/kits/accessory-edit.blade.php | 6 +- resources/views/kits/checkout.blade.php | 6 +- .../views/kits/consumable-edit.blade.php | 6 +- resources/views/kits/create.blade.php | 2 +- resources/views/kits/edit.blade.php | 2 +- resources/views/kits/license-edit.blade.php | 6 +- resources/views/kits/model-edit.blade.php | 6 +- resources/views/layouts/default.blade.php | 2 +- resources/views/licenses/checkin.blade.php | 2 +- resources/views/licenses/checkout.blade.php | 2 +- resources/views/licenses/edit.blade.php | 20 +- resources/views/locations/edit.blade.php | 6 +- resources/views/manufacturers/edit.blade.php | 10 +- resources/views/manufacturers/index.blade.php | 4 +- resources/views/modals/location.blade.php | 2 +- resources/views/modals/model.blade.php | 2 +- resources/views/modals/upload-file.blade.php | 2 +- resources/views/models/bulk-edit.blade.php | 4 +- .../views/models/custom_fields_form.blade.php | 10 +- resources/views/models/edit.blade.php | 12 +- resources/views/models/index.blade.php | 8 +- .../forms/edit/accessory-select.blade.php | 2 +- .../partials/forms/edit/address.blade.php | 14 +- .../forms/edit/asset-select.blade.php | 2 +- .../forms/edit/category-select.blade.php | 2 +- .../partials/forms/edit/category.blade.php | 4 +- .../forms/edit/company-select.blade.php | 2 +- .../partials/forms/edit/company.blade.php | 4 +- .../forms/edit/consumable-select.blade.php | 2 +- .../forms/edit/department-select.blade.php | 2 +- .../forms/edit/depreciation.blade.php | 4 +- .../views/partials/forms/edit/email.blade.php | 4 +- .../partials/forms/edit/item_number.blade.php | 4 +- .../partials/forms/edit/kit-select.blade.php | 2 +- .../forms/edit/license-select.blade.php | 2 +- .../edit/location-profile-select.blade.php | 2 +- .../forms/edit/location-select.blade.php | 2 +- .../partials/forms/edit/location.blade.php | 4 +- .../forms/edit/maintenance_type.blade.php | 4 +- .../forms/edit/manufacturer-select.blade.php | 2 +- .../forms/edit/manufacturer.blade.php | 4 +- .../forms/edit/minimum_quantity.blade.php | 4 +- .../forms/edit/model-select.blade.php | 2 +- .../forms/edit/model_number.blade.php | 4 +- .../views/partials/forms/edit/name.blade.php | 2 +- .../views/partials/forms/edit/notes.blade.php | 2 +- .../forms/edit/order_number.blade.php | 4 +- .../views/partials/forms/edit/phone.blade.php | 4 +- .../forms/edit/purchase_cost.blade.php | 2 +- .../forms/edit/purchase_date.blade.php | 2 +- .../partials/forms/edit/quantity.blade.php | 4 +- .../partials/forms/edit/requestable.blade.php | 2 +- .../partials/forms/edit/serial.blade.php | 2 +- .../partials/forms/edit/status.blade.php | 2 +- .../forms/edit/supplier-select.blade.php | 2 +- .../partials/forms/edit/supplier.blade.php | 2 +- .../partials/forms/edit/uploadLogo.blade.php | 4 +- .../partials/forms/edit/user-select.blade.php | 2 +- .../partials/forms/edit/warranty.blade.php | 2 +- resources/views/reports/asset.blade.php | 6 +- resources/views/reports/custom.blade.php | 2 +- resources/views/settings/alerts.blade.php | 16 +- resources/views/settings/asset_tags.blade.php | 10 +- resources/views/settings/barcodes.blade.php | 12 +- resources/views/settings/branding.blade.php | 30 +- resources/views/settings/general.blade.php | 44 +- resources/views/settings/labels.blade.php | 34 +- resources/views/settings/ldap.blade.php | 40 +- .../views/settings/localization.blade.php | 8 +- resources/views/settings/purge-form.blade.php | 4 +- resources/views/settings/security.blade.php | 22 +- resources/views/settings/slack.blade.php | 12 +- resources/views/setup/user.blade.php | 20 +- resources/views/statuslabels/edit.blade.php | 8 +- resources/views/statuslabels/view.blade.php | 2 +- resources/views/suppliers/edit.blade.php | 8 +- resources/views/users/bulk-edit.blade.php | 6 +- .../views/users/confirm-bulk-delete.blade.php | 2 +- resources/views/users/edit.blade.php | 40 +- resources/views/users/index.blade.php | 8 +- routes/api.php | 2 +- 139 files changed, 1269 insertions(+), 1071 deletions(-) create mode 100644 config/passport.php create mode 100644 database/migrations/2019_12_04_223111_passport_upgrade.php diff --git a/app/Http/Controllers/Accessories/AccessoryCheckoutController.php b/app/Http/Controllers/Accessories/AccessoryCheckoutController.php index 5ec8a8704f..ab097172c6 100644 --- a/app/Http/Controllers/Accessories/AccessoryCheckoutController.php +++ b/app/Http/Controllers/Accessories/AccessoryCheckoutController.php @@ -64,12 +64,12 @@ class AccessoryCheckoutController extends Controller $this->authorize('checkout', $accessory); - if (!$user = User::find(Input::get('assigned_to'))) { + if (!$user = User::find(Request::get('assigned_to'))) { return redirect()->route('checkout/accessory', $accessory->id)->with('error', trans('admin/accessories/message.checkout.user_does_not_exist')); } // Update the accessory data - $accessory->assigned_to = e(Input::get('assigned_to')); + $accessory->assigned_to = e(Request::get('assigned_to')); $accessory->users()->attach($accessory->id, [ 'accessory_id' => $accessory->id, diff --git a/app/Http/Controllers/Api/AssetMaintenancesController.php b/app/Http/Controllers/Api/AssetMaintenancesController.php index 3c50d2336a..9bd8badf57 100644 --- a/app/Http/Controllers/Api/AssetMaintenancesController.php +++ b/app/Http/Controllers/Api/AssetMaintenancesController.php @@ -62,8 +62,8 @@ class AssetMaintenancesController extends Controller 'asset_name', 'user_id' ]; - $order = Input::get('order') === 'asc' ? 'asc' : 'desc'; - $sort = in_array(Input::get('sort'), $allowed_columns) ? e($request->input('sort')) : 'created_at'; + $order = Request::get('order') === 'asc' ? 'asc' : 'desc'; + $sort = in_array(Request::get('sort'), $allowed_columns) ? e($request->input('sort')) : 'created_at'; switch ($sort) { case 'user_id': diff --git a/app/Http/Controllers/Api/AssetsController.php b/app/Http/Controllers/Api/AssetsController.php index 9b388ddc61..3ba952e833 100644 --- a/app/Http/Controllers/Api/AssetsController.php +++ b/app/Http/Controllers/Api/AssetsController.php @@ -738,8 +738,8 @@ class AssetsController extends Controller $asset->location_id = $request->input('location_id'); } - if (Input::has('status_id')) { - $asset->status_id = Input::get('status_id'); + if (Request::has('status_id')) { + $asset->status_id = Request::get('status_id'); } if ($asset->save()) { diff --git a/app/Http/Controllers/AssetModelsController.php b/app/Http/Controllers/AssetModelsController.php index 29698a04f6..d17dada40b 100755 --- a/app/Http/Controllers/AssetModelsController.php +++ b/app/Http/Controllers/AssetModelsController.php @@ -75,7 +75,7 @@ class AssetModelsController extends Controller $model->category_id = $request->input('category_id'); $model->notes = $request->input('notes'); $model->user_id = Auth::id(); - $model->requestable = Input::has('requestable'); + $model->requestable = Request::has('requestable'); if ($request->input('custom_fieldset')!='') { $model->fieldset_id = e($request->input('custom_fieldset')); @@ -304,7 +304,7 @@ class AssetModelsController extends Controller public function postBulkEdit(Request $request) { - $models_raw_array = Input::get('ids'); + $models_raw_array = Request::get('ids'); // Make sure some IDs have been selected if ((is_array($models_raw_array)) && (count($models_raw_array) > 0)) { @@ -353,7 +353,7 @@ class AssetModelsController extends Controller public function postBulkEditSave(Request $request) { - $models_raw_array = Input::get('ids'); + $models_raw_array = Request::get('ids'); $update_array = array(); @@ -394,7 +394,7 @@ class AssetModelsController extends Controller */ public function postBulkDelete(Request $request) { - $models_raw_array = Input::get('ids'); + $models_raw_array = Request::get('ids'); if ((is_array($models_raw_array)) && (count($models_raw_array) > 0)) { diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 37293e24bd..c8a9ed1587 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -12,7 +12,6 @@ use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Http\Request; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Auth; -use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Validator; use Log; @@ -130,7 +129,7 @@ class LoginController extends Controller return view('errors.403'); } - $validator = $this->validator(Input::all()); + $validator = $this->validator($request->all()); if ($validator->fails()) { return redirect()->back()->withInput()->withErrors($validator); diff --git a/app/Http/Controllers/BulkAssetModelsController.php b/app/Http/Controllers/BulkAssetModelsController.php index f8c15d1ebd..08e0ad8077 100644 --- a/app/Http/Controllers/BulkAssetModelsController.php +++ b/app/Http/Controllers/BulkAssetModelsController.php @@ -20,7 +20,7 @@ class BulkAssetModelsController extends Controller */ public function edit(Request $request) { - $models_raw_array = Input::get('ids'); + $models_raw_array = Request::get('ids'); // Make sure some IDs have been selected if ((is_array($models_raw_array)) && (count($models_raw_array) > 0)) { @@ -64,7 +64,7 @@ class BulkAssetModelsController extends Controller public function update(Request $request) { - $models_raw_array = Input::get('ids'); + $models_raw_array = Request::get('ids'); $update_array = array(); if (($request->filled('manufacturer_id') && ($request->input('manufacturer_id')!='NC'))) { @@ -103,7 +103,7 @@ class BulkAssetModelsController extends Controller */ public function destroy() { - $models_raw_array = Input::get('ids'); + $models_raw_array = Request::get('ids'); if ((is_array($models_raw_array)) && (count($models_raw_array) > 0)) { diff --git a/app/Http/Controllers/Components/ComponentCheckoutController.php b/app/Http/Controllers/Components/ComponentCheckoutController.php index bfa9e8967b..2077b4bd24 100644 --- a/app/Http/Controllers/Components/ComponentCheckoutController.php +++ b/app/Http/Controllers/Components/ComponentCheckoutController.php @@ -69,7 +69,7 @@ class ComponentCheckoutController extends Controller } $admin_user = Auth::user(); - $asset_id = e(Input::get('asset_id')); + $asset_id = e(Request::get('asset_id')); // Check if the user exists if (is_null($asset = Asset::find($asset_id))) { @@ -84,7 +84,7 @@ class ComponentCheckoutController extends Controller 'component_id' => $component->id, 'user_id' => $admin_user->id, 'created_at' => date('Y-m-d H:i:s'), - 'assigned_qty' => Input::get('assigned_qty'), + 'assigned_qty' => Request::get('assigned_qty'), 'asset_id' => $asset_id ]); diff --git a/app/Http/Controllers/Components/ComponentsController.php b/app/Http/Controllers/Components/ComponentsController.php index 6839e1604d..1eca6da485 100644 --- a/app/Http/Controllers/Components/ComponentsController.php +++ b/app/Http/Controllers/Components/ComponentsController.php @@ -125,16 +125,16 @@ class ComponentsController extends Controller $this->authorize('update', $component); // Update the component data - $component->name = Input::get('name'); - $component->category_id = Input::get('category_id'); - $component->location_id = Input::get('location_id'); - $component->company_id = Company::getIdForCurrentUser(Input::get('company_id')); - $component->order_number = Input::get('order_number'); - $component->min_amt = Input::get('min_amt'); - $component->serial = Input::get('serial'); - $component->purchase_date = Input::get('purchase_date'); + $component->name = Request::get('name'); + $component->category_id = Request::get('category_id'); + $component->location_id = Request::get('location_id'); + $component->company_id = Company::getIdForCurrentUser(Request::get('company_id')); + $component->order_number = Request::get('order_number'); + $component->min_amt = Request::get('min_amt'); + $component->serial = Request::get('serial'); + $component->purchase_date = Request::get('purchase_date'); $component->purchase_cost = request('purchase_cost'); - $component->qty = Input::get('qty'); + $component->qty = Request::get('qty'); $component = $request->handleImages($component); diff --git a/app/Http/Controllers/Consumables/ConsumableCheckoutController.php b/app/Http/Controllers/Consumables/ConsumableCheckoutController.php index e3e3e11b03..a884c43b10 100644 --- a/app/Http/Controllers/Consumables/ConsumableCheckoutController.php +++ b/app/Http/Controllers/Consumables/ConsumableCheckoutController.php @@ -51,7 +51,7 @@ class ConsumableCheckoutController extends Controller $this->authorize('checkout', $consumable); $admin_user = Auth::user(); - $assigned_to = e(Input::get('assigned_to')); + $assigned_to = e(Request::get('assigned_to')); // Check if the user exists if (is_null($user = User::find($assigned_to))) { @@ -60,12 +60,12 @@ class ConsumableCheckoutController extends Controller } // Update the consumable data - $consumable->assigned_to = e(Input::get('assigned_to')); + $consumable->assigned_to = e(Request::get('assigned_to')); $consumable->users()->attach($consumable->id, [ 'consumable_id' => $consumable->id, 'user_id' => $admin_user->id, - 'assigned_to' => e(Input::get('assigned_to')) + 'assigned_to' => e(Request::get('assigned_to')) ]); event(new CheckoutableCheckedOut($consumable, $user, Auth::user(), $request->input('note'))); diff --git a/app/Http/Controllers/Consumables/ConsumablesController.php b/app/Http/Controllers/Consumables/ConsumablesController.php index d7f0bce96a..47fd244f6f 100644 --- a/app/Http/Controllers/Consumables/ConsumablesController.php +++ b/app/Http/Controllers/Consumables/ConsumablesController.php @@ -141,8 +141,8 @@ class ConsumablesController extends Controller $consumable->model_number = $request->input('model_number'); $consumable->item_no = $request->input('item_no'); $consumable->purchase_date = $request->input('purchase_date'); - $consumable->purchase_cost = Helper::ParseFloat(Input::get('purchase_cost')); - $consumable->qty = Helper::ParseFloat(Input::get('qty')); + $consumable->purchase_cost = Helper::ParseFloat(Request::get('purchase_cost')); + $consumable->qty = Helper::ParseFloat(Request::get('qty')); $consumable = $request->handleImages($consumable); diff --git a/app/Http/Controllers/CustomFieldsetsController.php b/app/Http/Controllers/CustomFieldsetsController.php index 12c95c723c..38b7dff917 100644 --- a/app/Http/Controllers/CustomFieldsetsController.php +++ b/app/Http/Controllers/CustomFieldsetsController.php @@ -96,7 +96,7 @@ class CustomFieldsetsController extends Controller "user_id" => Auth::user()->id ]); - $validator = Validator::make(Input::all(), $cfset->rules); + $validator = Validator::make($request->all(), $cfset->rules); if ($validator->passes()) { $cfset->save(); return redirect()->route("fieldsets.show", [$cfset->id]) @@ -188,7 +188,7 @@ class CustomFieldsetsController extends Controller } } - $results = $set->fields()->attach(Input::get('field_id'), ["required" => ($request->input('required') == "on"),"order" => $request->input('order', 1)]); + $results = $set->fields()->attach(Request::get('field_id'), ["required" => ($request->input('required') == "on"),"order" => $request->input('order', 1)]); return redirect()->route("fieldsets.show", [$id])->with("success", trans('admin/custom_fields/message.field.create.assoc_success')); } diff --git a/app/Http/Controllers/GroupsController.php b/app/Http/Controllers/GroupsController.php index 89ce96d0c4..26637f24aa 100755 --- a/app/Http/Controllers/GroupsController.php +++ b/app/Http/Controllers/GroupsController.php @@ -42,7 +42,7 @@ class GroupsController extends Controller // Get all the available permissions $permissions = config('permissions'); $groupPermissions = Helper::selectedPermissionsArray($permissions, $permissions); - $selectedPermissions = Input::old('permissions', $groupPermissions); + $selectedPermissions = Request::old('permissions', $groupPermissions); // Show the page return view('groups/edit', compact('permissions', 'selectedPermissions', 'groupPermissions'))->with('group', $group); @@ -60,8 +60,8 @@ class GroupsController extends Controller { // create a new group instance $group = new Group(); - $group->name = e(Input::get('name')); - $group->permissions = json_encode(Input::get('permission')); + $group->name = e(Request::get('name')); + $group->permissions = json_encode(Request::get('permission')); if ($group->save()) { return redirect()->route("groups.index")->with('success', trans('admin/groups/message.success.create')); @@ -106,8 +106,8 @@ class GroupsController extends Controller if (!$group = Group::find($id)) { return redirect()->route('groups.index')->with('error', trans('admin/groups/message.group_not_found', compact('id'))); } - $group->name = e(Input::get('name')); - $group->permissions = json_encode(Input::get('permission')); + $group->name = e(Request::get('name')); + $group->permissions = json_encode(Request::get('permission')); if (!config('app.lock_passwords')) { if ($group->save()) { diff --git a/app/Http/Controllers/Licenses/LicenseCheckinController.php b/app/Http/Controllers/Licenses/LicenseCheckinController.php index 48ac734283..768e69f4ae 100644 --- a/app/Http/Controllers/Licenses/LicenseCheckinController.php +++ b/app/Http/Controllers/Licenses/LicenseCheckinController.php @@ -74,7 +74,7 @@ class LicenseCheckinController extends Controller ]; // Create a new validator instance from our validation rules - $validator = Validator::make(Input::all(), $rules); + $validator = Validator::make($request->all(), $rules); // If validation fails, we'll exit the operation now. if ($validator->fails()) { diff --git a/app/Http/Controllers/Licenses/LicenseFilesController.php b/app/Http/Controllers/Licenses/LicenseFilesController.php index d6ff14ddce..04e48ee9b6 100644 --- a/app/Http/Controllers/Licenses/LicenseFilesController.php +++ b/app/Http/Controllers/Licenses/LicenseFilesController.php @@ -34,7 +34,7 @@ class LicenseFilesController extends Controller if (isset($license->id)) { $this->authorize('update', $license); - if (Input::hasFile('file')) { + if (Request::hasFile('file')) { if (!Storage::exists('private_uploads/licenses')) Storage::makeDirectory('private_uploads/licenses', 775); diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.php index ff5bc049ef..31ac564cf4 100644 --- a/app/Http/Controllers/ReportsController.php +++ b/app/Http/Controllers/ReportsController.php @@ -470,7 +470,7 @@ class ReportsController extends Controller foreach ($customfields as $customfield) { - if (e(Input::get($customfield->db_column_name())) == '1') { + if (e(Request::get($customfield->db_column_name())) == '1') { $header[] = $customfield->name; } } diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index 0716af81d1..81573a5537 100755 --- a/app/Http/Controllers/SettingsController.php +++ b/app/Http/Controllers/SettingsController.php @@ -184,7 +184,7 @@ class SettingsController extends Controller Auth::login($user, true); $settings->save(); - if ('1' == Input::get('email_creds')) { + if ('1' == Request::get('email_creds')) { $data = []; $data['email'] = $user->email; $data['username'] = $user->username; @@ -345,7 +345,7 @@ class SettingsController extends Controller $setting->depreciation_method = $request->input('depreciation_method'); - if ('' != Input::get('per_page')) { + if ('' != Request::get('per_page')) { $setting->per_page = $request->input('per_page'); } else { $setting->per_page = 200; @@ -1137,7 +1137,7 @@ class SettingsController extends Controller public function postPurge() { if (! config('app.lock_passwords')) { - if ('DELETE' == Input::get('confirm_purge')) { + if ('DELETE' == Request::get('confirm_purge')) { // Run a backup immediately before processing Artisan::call('backup:run'); Artisan::call('snipeit:purge', ['--force' => 'true', '--no-interaction' => true]); diff --git a/app/Http/Controllers/StatuslabelsController.php b/app/Http/Controllers/StatuslabelsController.php index 7308f6584e..378d7514e1 100755 --- a/app/Http/Controllers/StatuslabelsController.php +++ b/app/Http/Controllers/StatuslabelsController.php @@ -78,15 +78,15 @@ class StatuslabelsController extends Controller $statusType = Statuslabel::getStatuslabelTypesForDB($request->input('statuslabel_types')); // Save the Statuslabel data - $statusLabel->name = Input::get('name'); + $statusLabel->name = Request::get('name'); $statusLabel->user_id = Auth::id(); - $statusLabel->notes = Input::get('notes'); + $statusLabel->notes = Request::get('notes'); $statusLabel->deployable = $statusType['deployable']; $statusLabel->pending = $statusType['pending']; $statusLabel->archived = $statusType['archived']; - $statusLabel->color = Input::get('color'); - $statusLabel->show_in_nav = Input::get('show_in_nav', 0); - $statusLabel->default_label = Input::get('default_label', 0); + $statusLabel->color = Request::get('color'); + $statusLabel->show_in_nav = Request::get('show_in_nav', 0); + $statusLabel->default_label = Request::get('default_label', 0); if ($statusLabel->save()) { @@ -142,15 +142,15 @@ class StatuslabelsController extends Controller // Update the Statuslabel data - $statustype = Statuslabel::getStatuslabelTypesForDB(Input::get('statuslabel_types')); - $statuslabel->name = Input::get('name'); - $statuslabel->notes = Input::get('notes'); + $statustype = Statuslabel::getStatuslabelTypesForDB(Request::get('statuslabel_types')); + $statuslabel->name = Request::get('name'); + $statuslabel->notes = Request::get('notes'); $statuslabel->deployable = $statustype['deployable']; $statuslabel->pending = $statustype['pending']; $statuslabel->archived = $statustype['archived']; - $statuslabel->color = Input::get('color'); - $statuslabel->show_in_nav = Input::get('show_in_nav', 0); - $statuslabel->default_label = Input::get('default_label', 0); + $statuslabel->color = Request::get('color'); + $statuslabel->show_in_nav = Request::get('show_in_nav', 0); + $statuslabel->default_label = Request::get('default_label', 0); // Was the asset created? diff --git a/app/Http/Controllers/Users/UserFilesController.php b/app/Http/Controllers/Users/UserFilesController.php index c56a3638f8..058d965bdc 100644 --- a/app/Http/Controllers/Users/UserFilesController.php +++ b/app/Http/Controllers/Users/UserFilesController.php @@ -45,7 +45,7 @@ class UserFilesController extends Controller $logAction->item_id = $user->id; $logAction->item_type = User::class; $logAction->user_id = Auth::id(); - $logAction->note = e(Input::get('notes')); + $logAction->note = e(Request::get('notes')); $logAction->target_id = null; $logAction->created_at = date("Y-m-d H:i:s"); $logAction->filename = $filename; diff --git a/app/Http/Controllers/Users/UsersController.php b/app/Http/Controllers/Users/UsersController.php index a2b21a0465..54048674fd 100755 --- a/app/Http/Controllers/Users/UsersController.php +++ b/app/Http/Controllers/Users/UsersController.php @@ -19,6 +19,8 @@ use Redirect; use Str; use Symfony\Component\HttpFoundation\StreamedResponse; use View; +use Request; + /** * This controller handles all actions related to Users for @@ -56,19 +58,19 @@ class UsersController extends Controller * @return \Illuminate\Contracts\View\View * @throws \Illuminate\Auth\Access\AuthorizationException */ - public function create() + public function create(Request $request) { $this->authorize('create', User::class); $groups = Group::pluck('name', 'id'); $userGroups = collect(); - if (Input::old('groups')) { - $userGroups = Group::whereIn('id', Input::old('groups'))->pluck('name', 'id'); + if (Request::old('groups')) { + $userGroups = Group::whereIn('id', Request::old('groups'))->pluck('name', 'id'); } $permissions = config('permissions'); - $userPermissions = Helper::selectedPermissionsArray($permissions, Input::old('permissions', array())); + $userPermissions = Helper::selectedPermissionsArray($permissions, Request::old('permissions', array())); $permissions = $this->filterDisplayable($permissions); $user = new User; @@ -464,7 +466,7 @@ class UsersController extends Controller $this->authorize('create', User::class); // We need to reverse the UI specific logic for our // permissions here before we update the user. - $permissions = Input::get('permissions', array()); + $permissions = Request::get('permissions', array()); app('request')->request->set('permissions', $permissions); diff --git a/app/Http/Controllers/ViewAssetsController.php b/app/Http/Controllers/ViewAssetsController.php index 122b1a418a..d3e1e3c29c 100755 --- a/app/Http/Controllers/ViewAssetsController.php +++ b/app/Http/Controllers/ViewAssetsController.php @@ -94,7 +94,7 @@ class ViewAssetsController extends Controller $logaction->target_id = $data['user_id'] = Auth::user()->id; $logaction->target_type = User::class; - $data['item_quantity'] = Input::has('request-quantity') ? e(Input::get('request-quantity')) : 1; + $data['item_quantity'] = Request::has('request-quantity') ? e(Request::get('request-quantity')) : 1; $data['requested_by'] = $user->present()->fullName(); $data['item'] = $item; $data['item_type'] = $itemType; @@ -252,7 +252,7 @@ class ViewAssetsController extends Controller return redirect()->to('account/view-assets')->with('error', trans('admin/users/message.error.asset_already_accepted')); } - if (!Input::has('asset_acceptance')) { + if (!Request::has('asset_acceptance')) { return redirect()->back()->with('error', trans('admin/users/message.error.accept_or_decline')); } @@ -274,7 +274,7 @@ class ViewAssetsController extends Controller $logaction = new Actionlog(); - if (Input::get('asset_acceptance')=='accepted') { + if (Request::get('asset_acceptance')=='accepted') { $logaction_msg = 'accepted'; $accepted="accepted"; $return_msg = trans('admin/users/message.accepted'); @@ -288,7 +288,7 @@ class ViewAssetsController extends Controller // Asset if (($findlog->item_id!='') && ($findlog->item_type==Asset::class)) { - if (Input::get('asset_acceptance')!='accepted') { + if (Request::get('asset_acceptance')!='accepted') { DB::table('assets') ->where('id', $findlog->item_id) ->update(array('assigned_to' => null)); @@ -297,7 +297,7 @@ class ViewAssetsController extends Controller $logaction->target_id = $findlog->target_id; $logaction->target_type = User::class; - $logaction->note = e(Input::get('note')); + $logaction->note = e(Request::get('note')); $logaction->updated_at = date("Y-m-d H:i:s"); diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 050adb5907..b0c219ba1e 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -89,6 +89,7 @@ class AuthServiceProvider extends ServiceProvider Passport::routes(); Passport::tokensExpireIn(Carbon::now()->addYears(20)); Passport::refreshTokensExpireIn(Carbon::now()->addYears(20)); + Passport::withCookieSerialization(); // -------------------------------- diff --git a/app/Providers/ValidationServiceProvider.php b/app/Providers/ValidationServiceProvider.php index a82b318256..1fd815084a 100644 --- a/app/Providers/ValidationServiceProvider.php +++ b/app/Providers/ValidationServiceProvider.php @@ -90,6 +90,24 @@ class ValidationServiceProvider extends ServiceProvider }); + + Validator::extend('letters', function ($attribute, $value, $parameters) { + return preg_match('/\pL/', $value); + }); + + Validator::extend('numbers', function ($attribute, $value, $parameters) { + return preg_match('/\pN/', $value); + }); + + Validator::extend('case_diff', function ($attribute, $value, $parameters) { + return preg_match('/(\p{Ll}+.*\p{Lu})|(\p{Lu}+.*\p{Ll})/u', $value); + }); + + Validator::extend('symbols', function ($attribute, $value, $parameters) { + return preg_match('/\p{Z}|\p{S}|\p{P}/', $value); + }); + + } /** diff --git a/composer.json b/composer.json index 401fb7acd8..2a3459052c 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,13 @@ "license": "AGPL-3.0-or-later", "type": "project", "require": { - "php": "^7.1.3", + "php": "^7.2", "ext-curl": "*", "ext-fileinfo": "*", "ext-json": "*", "ext-mbstring": "*", "ext-pdo": "*", - "adldap2/adldap2": "^9.1", + "adldap2/adldap2": "^10.2", "bacon/bacon-qr-code": "^1.0", "barryvdh/laravel-cors": "^0.11.3", "barryvdh/laravel-debugbar": "^3.2", @@ -32,11 +32,12 @@ "guzzlehttp/guzzle": "^6.3", "intervention/image": "^2.4", "javiereguiluz/easyslugger": "^1.0", - "laravel/framework": "5.8.*", - "laravel/passport": "~6.0", + "laravel/framework": "^6.0", + "laravel/helpers": "^1.1", + "laravel/passport": "^8.0", "laravel/slack-notification-channel": "^2.0", "laravel/tinker": "^1.0", - "laravelcollective/html": "5.8.*", + "laravelcollective/html": "^6.0", "league/csv": "^9.2", "league/flysystem-aws-s3-v3": "~1.0", "league/flysystem-cached-adapter": "^1.0", @@ -52,11 +53,10 @@ "pragmarx/google2fa": "^5.0", "pragmarx/google2fa-laravel": "^1.0", "predis/predis": "^1.1", - "rollbar/rollbar-laravel": "^4.0", - "schuppo/password-strength": "~1.5", - "spatie/laravel-backup": "^5.12", + "rollbar/rollbar-laravel": "^5.0", + "spatie/laravel-backup": "^6.7", "tecnickcom/tc-lib-barcode": "^1.15", - "tightenco/ziggy": "^0.7.1", + "tightenco/ziggy": "^0.8.1", "unicodeveloper/laravel-password": "^1.0", "watson/validating": "^3.3" }, @@ -109,7 +109,7 @@ "optimize-autoloader": true, "process-timeout": 3000, "platform": { - "php": "7.1.8" + "php": "7.2" } } } diff --git a/composer.lock b/composer.lock index 2d9ac62377..2c24898bcd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,32 +4,38 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "327c0cef15106b191124341bcd65452e", + "content-hash": "2324dedbf5eaaf24f167f4a698f57f8f", "packages": [ { "name": "adldap2/adldap2", - "version": "v9.1.6", + "version": "v10.2.1", "source": { "type": "git", "url": "https://github.com/Adldap2/Adldap2.git", - "reference": "d50204d3eff587957b4bb9d7382d2eda5009ed16" + "reference": "c229325583e93d051f0d343ee356e4836cce8f74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Adldap2/Adldap2/zipball/d50204d3eff587957b4bb9d7382d2eda5009ed16", - "reference": "d50204d3eff587957b4bb9d7382d2eda5009ed16", + "url": "https://api.github.com/repos/Adldap2/Adldap2/zipball/c229325583e93d051f0d343ee356e4836cce8f74", + "reference": "c229325583e93d051f0d343ee356e4836cce8f74", "shasum": "" }, "require": { + "ext-json": "*", "ext-ldap": "*", - "illuminate/contracts": "~5.0", + "illuminate/contracts": "~5.0|~6.0", "php": ">=7.0", - "tightenco/collect": "~5.0" + "psr/log": "~1.0", + "psr/simple-cache": "~1.0", + "tightenco/collect": "~5.0|~6.0" }, "require-dev": { "mockery/mockery": "~1.0", "phpunit/phpunit": "~6.0" }, + "suggest": { + "ext-fileinfo": "fileinfo is required when retrieving user encoded thumbnails" + }, "type": "library", "autoload": { "psr-4": { @@ -57,7 +63,7 @@ "ldap", "windows" ], - "time": "2019-04-03T19:41:38+00:00" + "time": "2019-11-06T15:50:29+00:00" }, { "name": "asm89/stack-cors", @@ -113,16 +119,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.118.0", + "version": "3.128.0", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "e4600c22cb69c94d1aa65bf91af5c225f2a109fd" + "reference": "811e55f20b6455a0cce07ecdebe1398b9668c255" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/e4600c22cb69c94d1aa65bf91af5c225f2a109fd", - "reference": "e4600c22cb69c94d1aa65bf91af5c225f2a109fd", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/811e55f20b6455a0cce07ecdebe1398b9668c255", + "reference": "811e55f20b6455a0cce07ecdebe1398b9668c255", "shasum": "" }, "require": { @@ -147,7 +153,8 @@ "nette/neon": "^2.3", "phpunit/phpunit": "^4.8.35|^5.4.3", "psr/cache": "^1.0", - "psr/simple-cache": "^1.0" + "psr/simple-cache": "^1.0", + "sebastian/comparator": "^1.2.3" }, "suggest": { "aws/aws-php-sns-message-validator": "To validate incoming SNS notifications", @@ -192,7 +199,7 @@ "s3", "sdk" ], - "time": "2019-11-18T19:13:19+00:00" + "time": "2019-12-05T01:33:15+00:00" }, { "name": "bacon/bacon-qr-code", @@ -536,16 +543,16 @@ }, { "name": "doctrine/cache", - "version": "1.9.1", + "version": "1.10.0", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "89a5c76c39c292f7798f964ab3c836c3f8192a55" + "reference": "382e7f4db9a12dc6c19431743a2b096041bcdd62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/89a5c76c39c292f7798f964ab3c836c3f8192a55", - "reference": "89a5c76c39c292f7798f964ab3c836c3f8192a55", + "url": "https://api.github.com/repos/doctrine/cache/zipball/382e7f4db9a12dc6c19431743a2b096041bcdd62", + "reference": "382e7f4db9a12dc6c19431743a2b096041bcdd62", "shasum": "" }, "require": { @@ -612,10 +619,9 @@ "memcached", "php", "redis", - "riak", "xcache" ], - "time": "2019-11-15T14:31:57+00:00" + "time": "2019-11-29T15:36:20+00:00" }, { "name": "doctrine/collections", @@ -772,31 +778,30 @@ }, { "name": "doctrine/dbal", - "version": "v2.9.3", + "version": "v2.10.0", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "7345cd59edfa2036eb0fa4264b77ae2576842035" + "reference": "0c9a646775ef549eb0a213a4f9bd4381d9b4d934" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/7345cd59edfa2036eb0fa4264b77ae2576842035", - "reference": "7345cd59edfa2036eb0fa4264b77ae2576842035", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/0c9a646775ef549eb0a213a4f9bd4381d9b4d934", + "reference": "0c9a646775ef549eb0a213a4f9bd4381d9b4d934", "shasum": "" }, "require": { "doctrine/cache": "^1.0", "doctrine/event-manager": "^1.0", "ext-pdo": "*", - "php": "^7.1" + "php": "^7.2" }, "require-dev": { - "doctrine/coding-standard": "^5.0", - "jetbrains/phpstorm-stubs": "^2018.1.2", - "phpstan/phpstan": "^0.10.1", - "phpunit/phpunit": "^7.4", - "symfony/console": "^2.0.5|^3.0|^4.0", - "symfony/phpunit-bridge": "^3.4.5|^4.0.5" + "doctrine/coding-standard": "^6.0", + "jetbrains/phpstorm-stubs": "^2019.1", + "phpstan/phpstan": "^0.11.3", + "phpunit/phpunit": "^8.4.1", + "symfony/console": "^2.0.5|^3.0|^4.0|^5.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -807,7 +812,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.9.x-dev", + "dev-master": "2.10.x-dev", "dev-develop": "3.0.x-dev" } }, @@ -843,14 +848,25 @@ "keywords": [ "abstraction", "database", + "db2", "dbal", + "mariadb", + "mssql", "mysql", - "persistence", + "oci8", + "oracle", + "pdo", "pgsql", - "php", - "queryobject" + "postgresql", + "queryobject", + "sasql", + "sql", + "sqlanywhere", + "sqlite", + "sqlserver", + "sqlsrv" ], - "time": "2019-11-02T22:19:34+00:00" + "time": "2019-11-03T16:50:43+00:00" }, { "name": "doctrine/event-manager", @@ -1053,28 +1069,30 @@ }, { "name": "doctrine/lexer", - "version": "1.0.2", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8" + "reference": "5242d66dbeb21a30dd8a3e66bf7a73b66e05e1f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/1febd6c3ef84253d7c815bed85fc622ad207a9f8", - "reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/5242d66dbeb21a30dd8a3e66bf7a73b66e05e1f6", + "reference": "5242d66dbeb21a30dd8a3e66bf7a73b66e05e1f6", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": "^7.2" }, "require-dev": { - "phpunit/phpunit": "^4.5" + "doctrine/coding-standard": "^6.0", + "phpstan/phpstan": "^0.11.8", + "phpunit/phpunit": "^8.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.2.x-dev" } }, "autoload": { @@ -1087,14 +1105,14 @@ "MIT" ], "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, { "name": "Guilherme Blanco", "email": "guilhermeblanco@gmail.com" }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, { "name": "Johannes Schmitt", "email": "schmittjoh@gmail.com" @@ -1109,7 +1127,7 @@ "parser", "php" ], - "time": "2019-06-08T11:03:04+00:00" + "time": "2019-10-30T14:39:59+00:00" }, { "name": "doctrine/persistence", @@ -2052,43 +2070,43 @@ }, { "name": "laravel/framework", - "version": "v5.8.35", + "version": "v6.6.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "5a9e4d241a8b815e16c9d2151e908992c38db197" + "reference": "0a8e3e6e96e5ec3af6b9f30026cb8e5551554875" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/5a9e4d241a8b815e16c9d2151e908992c38db197", - "reference": "5a9e4d241a8b815e16c9d2151e908992c38db197", + "url": "https://api.github.com/repos/laravel/framework/zipball/0a8e3e6e96e5ec3af6b9f30026cb8e5551554875", + "reference": "0a8e3e6e96e5ec3af6b9f30026cb8e5551554875", "shasum": "" }, "require": { "doctrine/inflector": "^1.1", "dragonmantank/cron-expression": "^2.0", - "egulias/email-validator": "^2.0", + "egulias/email-validator": "^2.1.10", "erusev/parsedown": "^1.7", "ext-json": "*", "ext-mbstring": "*", "ext-openssl": "*", "league/flysystem": "^1.0.8", - "monolog/monolog": "^1.12", - "nesbot/carbon": "^1.26.3 || ^2.0", + "monolog/monolog": "^1.12|^2.0", + "nesbot/carbon": "^2.0", "opis/closure": "^3.1", - "php": "^7.1.3", + "php": "^7.2", "psr/container": "^1.0", "psr/simple-cache": "^1.0", "ramsey/uuid": "^3.7", "swiftmailer/swiftmailer": "^6.0", - "symfony/console": "^4.2", - "symfony/debug": "^4.2", - "symfony/finder": "^4.2", - "symfony/http-foundation": "^4.2", - "symfony/http-kernel": "^4.2", - "symfony/process": "^4.2", - "symfony/routing": "^4.2", - "symfony/var-dumper": "^4.2", + "symfony/console": "^4.3.4", + "symfony/debug": "^4.3.4", + "symfony/finder": "^4.3.4", + "symfony/http-foundation": "^4.3.4", + "symfony/http-kernel": "^4.3.4", + "symfony/process": "^4.3.4", + "symfony/routing": "^4.3.4", + "symfony/var-dumper": "^4.3.4", "tijsverkoyen/css-to-inline-styles": "^2.2.1", "vlucas/phpdotenv": "^3.3" }, @@ -2128,47 +2146,45 @@ "require-dev": { "aws/aws-sdk-php": "^3.0", "doctrine/dbal": "^2.6", - "filp/whoops": "^2.1.4", + "filp/whoops": "^2.4", "guzzlehttp/guzzle": "^6.3", "league/flysystem-cached-adapter": "^1.0", - "mockery/mockery": "^1.0", + "mockery/mockery": "^1.2.3", "moontoast/math": "^1.1", - "orchestra/testbench-core": "3.8.*", + "orchestra/testbench-core": "^4.0", "pda/pheanstalk": "^4.0", - "phpunit/phpunit": "^7.5|^8.0", + "phpunit/phpunit": "^8.3", "predis/predis": "^1.1.1", - "symfony/css-selector": "^4.2", - "symfony/dom-crawler": "^4.2", + "symfony/cache": "^4.3", "true/punycode": "^2.1" }, "suggest": { - "aws/aws-sdk-php": "Required to use the SQS queue driver and SES mail driver (^3.0).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.0).", "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).", "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", "ext-pcntl": "Required to use all features of the queue worker.", "ext-posix": "Required to use all features of the queue worker.", - "filp/whoops": "Required for friendly error pages in development (^2.1.4).", + "ext-redis": "Required to use the Redis cache and queue drivers.", + "filp/whoops": "Required for friendly error pages in development (^2.4).", "fzaninotto/faker": "Required to use the eloquent factory builder (^1.4).", - "guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (^6.0).", + "guzzlehttp/guzzle": "Required to use the Mailgun mail driver and the ping methods on schedules (^6.0).", "laravel/tinker": "Required to use the tinker console command (^1.0).", "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", - "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (^1.0).", "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", "moontoast/math": "Required to use ordered UUIDs (^1.1).", - "nexmo/client": "Required to use the Nexmo transport (^1.0).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", - "predis/predis": "Required to use the redis cache and queue drivers (^1.0).", - "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^3.0).", - "symfony/css-selector": "Required to use some of the crawler integration testing tools (^4.2).", - "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (^4.2).", - "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^1.1).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0)", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^4.3.4).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^1.2).", "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "6.x-dev" } }, "autoload": { @@ -2196,47 +2212,102 @@ "framework", "laravel" ], - "time": "2019-09-03T16:44:30+00:00" + "time": "2019-12-03T15:23:55+00:00" }, { - "name": "laravel/passport", - "version": "v6.0.7", + "name": "laravel/helpers", + "version": "v1.1.1", "source": { "type": "git", - "url": "https://github.com/laravel/passport.git", - "reference": "5a3dbeb0904573fcfecf11c018eaa42bfc935372" + "url": "https://github.com/laravel/helpers.git", + "reference": "b8eae9ddd461e89d0296f74fd069c413bf83b6fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/passport/zipball/5a3dbeb0904573fcfecf11c018eaa42bfc935372", - "reference": "5a3dbeb0904573fcfecf11c018eaa42bfc935372", + "url": "https://api.github.com/repos/laravel/helpers/zipball/b8eae9ddd461e89d0296f74fd069c413bf83b6fa", + "reference": "b8eae9ddd461e89d0296f74fd069c413bf83b6fa", "shasum": "" }, "require": { - "firebase/php-jwt": "~3.0|~4.0|~5.0", - "guzzlehttp/guzzle": "~6.0", - "illuminate/auth": "~5.6", - "illuminate/console": "~5.6", - "illuminate/container": "~5.6", - "illuminate/contracts": "~5.6", - "illuminate/database": "~5.6", - "illuminate/encryption": "~5.6", - "illuminate/http": "~5.6", - "illuminate/support": "~5.6", - "league/oauth2-server": "^7.0", - "php": ">=7.1", - "phpseclib/phpseclib": "^2.0", - "symfony/psr-http-message-bridge": "~1.0", - "zendframework/zend-diactoros": "~1.0" + "illuminate/support": "~5.8.0|^6.0", + "php": ">=7.1.3" }, "require-dev": { - "mockery/mockery": "~1.0", - "phpunit/phpunit": "~6.0" + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "1.0-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Dries Vints", + "email": "dries.vints@gmail.com" + } + ], + "description": "Provides backwards compatibility for helpers in the latest Laravel release.", + "keywords": [ + "helpers", + "laravel" + ], + "time": "2019-07-30T15:25:31+00:00" + }, + { + "name": "laravel/passport", + "version": "v8.0.2", + "source": { + "type": "git", + "url": "https://github.com/laravel/passport.git", + "reference": "952722f4f1817485bd30190e45fe4dc87ba67441" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/passport/zipball/952722f4f1817485bd30190e45fe4dc87ba67441", + "reference": "952722f4f1817485bd30190e45fe4dc87ba67441", + "shasum": "" + }, + "require": { + "ext-json": "*", + "firebase/php-jwt": "^3.0|^4.0|^5.0", + "guzzlehttp/guzzle": "^6.0", + "illuminate/auth": "^6.0|^7.0", + "illuminate/console": "^6.0|^7.0", + "illuminate/container": "^6.0|^7.0", + "illuminate/contracts": "^6.0|^7.0", + "illuminate/cookie": "^6.0|^7.0", + "illuminate/database": "^6.0|^7.0", + "illuminate/encryption": "^6.0|^7.0", + "illuminate/http": "^6.0|^7.0", + "illuminate/support": "^6.0|^7.0", + "league/oauth2-server": "^8.0", + "php": "^7.2", + "phpseclib/phpseclib": "^2.0", + "symfony/psr-http-message-bridge": "^1.0", + "zendframework/zend-diactoros": "^2.0" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" }, "laravel": { "providers": [ @@ -2265,7 +2336,7 @@ "oauth", "passport" ], - "time": "2018-08-09T19:10:08+00:00" + "time": "2019-11-26T17:35:30+00:00" }, { "name": "laravel/slack-notification-channel", @@ -2389,35 +2460,35 @@ }, { "name": "laravelcollective/html", - "version": "v5.8.1", + "version": "v6.0.3", "source": { "type": "git", "url": "https://github.com/LaravelCollective/html.git", - "reference": "3a1c9974ea629eed96e101a24e3852ced382eb29" + "reference": "bcc317d21a7e04eebcc81c4109fa84feaab63590" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/LaravelCollective/html/zipball/3a1c9974ea629eed96e101a24e3852ced382eb29", - "reference": "3a1c9974ea629eed96e101a24e3852ced382eb29", + "url": "https://api.github.com/repos/LaravelCollective/html/zipball/bcc317d21a7e04eebcc81c4109fa84feaab63590", + "reference": "bcc317d21a7e04eebcc81c4109fa84feaab63590", "shasum": "" }, "require": { - "illuminate/http": "5.8.*", - "illuminate/routing": "5.8.*", - "illuminate/session": "5.8.*", - "illuminate/support": "5.8.*", - "illuminate/view": "5.8.*", - "php": ">=7.1.3" + "illuminate/http": "^6.0", + "illuminate/routing": "^6.0", + "illuminate/session": "^6.0", + "illuminate/support": "^6.0", + "illuminate/view": "^6.0", + "php": ">=7.2" }, "require-dev": { - "illuminate/database": "5.8.*", + "illuminate/database": "^6.0", "mockery/mockery": "~1.0", "phpunit/phpunit": "~7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "6.0-dev" }, "laravel": { "providers": [ @@ -2453,7 +2524,7 @@ ], "description": "HTML and Form Builders for the Laravel Framework", "homepage": "https://laravelcollective.com", - "time": "2019-09-05T12:32:25+00:00" + "time": "2019-10-02T00:37:39+00:00" }, { "name": "lcobucci/jwt", @@ -2499,8 +2570,8 @@ "authors": [ { "name": "Luís Otávio Cobucci Oblonczyk", - "role": "Developer", - "email": "lcobucci@gmail.com" + "email": "lcobucci@gmail.com", + "role": "Developer" } ], "description": "A simple library to work with JSON Web Token and JSON Web Signature", @@ -2898,24 +2969,25 @@ }, { "name": "league/oauth2-server", - "version": "7.4.0", + "version": "8.0.0", "source": { "type": "git", "url": "https://github.com/thephpleague/oauth2-server.git", - "reference": "2eb1cf79e59d807d89c256e7ac5e2bf8bdbd4acf" + "reference": "e1dc4d708c56fcfa205be4bb1862b6d525b4baac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/2eb1cf79e59d807d89c256e7ac5e2bf8bdbd4acf", - "reference": "2eb1cf79e59d807d89c256e7ac5e2bf8bdbd4acf", + "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/e1dc4d708c56fcfa205be4bb1862b6d525b4baac", + "reference": "e1dc4d708c56fcfa205be4bb1862b6d525b4baac", "shasum": "" }, "require": { - "defuse/php-encryption": "^2.1", + "defuse/php-encryption": "^2.2.1", + "ext-json": "*", "ext-openssl": "*", - "lcobucci/jwt": "^3.2.2", - "league/event": "^2.1", - "php": ">=7.0.0", + "lcobucci/jwt": "^3.3.1", + "league/event": "^2.2", + "php": ">=7.1.0", "psr/http-message": "^1.0.1" }, "replace": { @@ -2923,12 +2995,11 @@ "lncd/oauth2": "*" }, "require-dev": { - "phpstan/phpstan": "^0.9.2", - "phpstan/phpstan-phpunit": "^0.9.4", - "phpstan/phpstan-strict-rules": "^0.9.0", - "phpunit/phpunit": "^6.3 || ^7.0", + "phpstan/phpstan": "^0.11.8", + "phpstan/phpstan-phpunit": "^0.11.2", + "phpunit/phpunit": "^7.5.13 || ^8.2.3", "roave/security-advisories": "dev-master", - "zendframework/zend-diactoros": "^1.3.2" + "zendframework/zend-diactoros": "^2.1.2" }, "type": "library", "autoload": { @@ -2943,15 +3014,15 @@ "authors": [ { "name": "Alex Bilbie", - "role": "Developer", "email": "hello@alexbilbie.com", - "homepage": "http://www.alexbilbie.com" + "homepage": "http://www.alexbilbie.com", + "role": "Developer" }, { "name": "Andy Millington", - "role": "Developer", "email": "andrew@noexceptions.io", - "homepage": "https://www.noexceptions.io" + "homepage": "https://www.noexceptions.io", + "role": "Developer" } ], "description": "A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.", @@ -2971,7 +3042,7 @@ "secure", "server" ], - "time": "2019-05-05T09:22:01+00:00" + "time": "2019-07-13T18:58:26+00:00" }, { "name": "maknz/slack", @@ -3112,21 +3183,21 @@ }, { "name": "monolog/monolog", - "version": "1.25.2", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "d5e2fb341cb44f7e2ab639d12a1e5901091ec287" + "reference": "f9d56fd2f5533322caccdfcddbb56aedd622ef1c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/d5e2fb341cb44f7e2ab639d12a1e5901091ec287", - "reference": "d5e2fb341cb44f7e2ab639d12a1e5901091ec287", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f9d56fd2f5533322caccdfcddbb56aedd622ef1c", + "reference": "f9d56fd2f5533322caccdfcddbb56aedd622ef1c", "shasum": "" }, "require": { - "php": ">=5.3.0", - "psr/log": "~1.0" + "php": "^7.2", + "psr/log": "^1.0.1" }, "provide": { "psr/log-implementation": "1.0.0" @@ -3134,33 +3205,36 @@ "require-dev": { "aws/aws-sdk-php": "^2.4.9 || ^3.0", "doctrine/couchdb": "~1.0@dev", - "graylog2/gelf-php": "~1.0", - "jakub-onderka/php-parallel-lint": "0.9", + "elasticsearch/elasticsearch": "^6.0", + "graylog2/gelf-php": "^1.4.2", + "jakub-onderka/php-parallel-lint": "^0.9", "php-amqplib/php-amqplib": "~2.4", "php-console/php-console": "^3.1.3", - "phpunit/phpunit": "~4.5", - "phpunit/phpunit-mock-objects": "2.3.0", + "phpspec/prophecy": "^1.6.1", + "phpunit/phpunit": "^8.3", + "predis/predis": "^1.1", + "rollbar/rollbar": "^1.3", "ruflin/elastica": ">=0.90 <3.0", - "sentry/sentry": "^0.13", "swiftmailer/swiftmailer": "^5.3|^6.0" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", - "ext-mongo": "Allow sending log messages to a MongoDB server", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", - "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", "php-console/php-console": "Allow sending log messages to Google Chrome", "rollbar/rollbar": "Allow sending log messages to Rollbar", - "ruflin/elastica": "Allow sending log messages to an Elastic Search server", - "sentry/sentry": "Allow sending log messages to a Sentry server" + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { @@ -3186,7 +3260,7 @@ "logging", "psr-3" ], - "time": "2019-11-13T10:00:05+00:00" + "time": "2019-11-13T10:27:43+00:00" }, { "name": "mtdowling/jmespath.php", @@ -3401,16 +3475,16 @@ }, { "name": "opis/closure", - "version": "3.4.1", + "version": "3.5.1", "source": { "type": "git", "url": "https://github.com/opis/closure.git", - "reference": "e79f851749c3caa836d7ccc01ede5828feb762c7" + "reference": "93ebc5712cdad8d5f489b500c59d122df2e53969" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opis/closure/zipball/e79f851749c3caa836d7ccc01ede5828feb762c7", - "reference": "e79f851749c3caa836d7ccc01ede5828feb762c7", + "url": "https://api.github.com/repos/opis/closure/zipball/93ebc5712cdad8d5f489b500c59d122df2e53969", + "reference": "93ebc5712cdad8d5f489b500c59d122df2e53969", "shasum": "" }, "require": { @@ -3423,7 +3497,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3.x-dev" + "dev-master": "3.5.x-dev" } }, "autoload": { @@ -3458,7 +3532,7 @@ "serialization", "serialize" ], - "time": "2019-10-19T18:38:51+00:00" + "time": "2019-11-29T22:36:02+00:00" }, { "name": "paragonie/constant_time_encoding", @@ -3570,22 +3644,25 @@ }, { "name": "patchwork/utf8", - "version": "v1.3.1", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/tchwork/utf8.git", - "reference": "30ec6451aec7d2536f0af8fe535f70c764f2c47a" + "reference": "d296e0026e7ce10b2a9fe594feca9628ef00e9e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tchwork/utf8/zipball/30ec6451aec7d2536f0af8fe535f70c764f2c47a", - "reference": "30ec6451aec7d2536f0af8fe535f70c764f2c47a", + "url": "https://api.github.com/repos/tchwork/utf8/zipball/d296e0026e7ce10b2a9fe594feca9628ef00e9e8", + "reference": "d296e0026e7ce10b2a9fe594feca9628ef00e9e8", "shasum": "" }, "require": { "lib-pcre": ">=7.3", "php": ">=5.3.0" }, + "require-dev": { + "symfony/phpunit-bridge": "^3.4|^4.4" + }, "suggest": { "ext-iconv": "Use iconv for best performance", "ext-intl": "Use Intl for best performance", @@ -3625,7 +3702,7 @@ "utf-8", "utf8" ], - "time": "2016-05-18T13:57:10+00:00" + "time": "2019-12-03T14:44:12+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -3775,33 +3852,33 @@ }, { "name": "phpoption/phpoption", - "version": "1.5.2", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "2ba2586380f8d2b44ad1b9feb61c371020b27793" + "reference": "f4e7a6a1382183412246f0d361078c29fb85089e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/2ba2586380f8d2b44ad1b9feb61c371020b27793", - "reference": "2ba2586380f8d2b44ad1b9feb61c371020b27793", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/f4e7a6a1382183412246f0d361078c29fb85089e", + "reference": "f4e7a6a1382183412246f0d361078c29fb85089e", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^5.5.9 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "^4.7|^5.0" + "phpunit/phpunit": "^4.8.35 || ^5.0 || ^6.0 || ^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.5-dev" + "dev-master": "1.6-dev" } }, "autoload": { - "psr-0": { - "PhpOption\\": "src/" + "psr-4": { + "PhpOption\\": "src/PhpOption/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3812,6 +3889,10 @@ { "name": "Johannes M. Schmitt", "email": "schmittjoh@gmail.com" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com" } ], "description": "Option Type for PHP", @@ -3821,7 +3902,7 @@ "php", "type" ], - "time": "2019-11-06T22:27:00+00:00" + "time": "2019-11-30T20:20:49+00:00" }, { "name": "phpseclib/phpseclib", @@ -4308,6 +4389,58 @@ ], "time": "2017-02-14T16:28:37+00:00" }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "time": "2019-04-30T12:38:16+00:00" + }, { "name": "psr/http-message", "version": "1.0.1", @@ -4455,16 +4588,16 @@ }, { "name": "psy/psysh", - "version": "v0.9.9", + "version": "v0.9.11", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e" + "reference": "75d9ac1c16db676de27ab554a4152b594be4748e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/9aaf29575bb8293206bb0420c1e1c87ff2ffa94e", - "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/75d9ac1c16db676de27ab554a4152b594be4748e", + "reference": "75d9ac1c16db676de27ab554a4152b594be4748e", "shasum": "" }, "require": { @@ -4474,8 +4607,8 @@ "jakub-onderka/php-console-highlighter": "0.3.*|0.4.*", "nikic/php-parser": "~1.3|~2.0|~3.0|~4.0", "php": ">=5.4.0", - "symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0", - "symfony/var-dumper": "~2.7|~3.0|~4.0" + "symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0|~5.0", + "symfony/var-dumper": "~2.7|~3.0|~4.0|~5.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.2", @@ -4525,7 +4658,7 @@ "interactive", "shell" ], - "time": "2018-10-13T15:16:03+00:00" + "time": "2019-11-27T22:44:29+00:00" }, { "name": "rackspace/php-opencloud", @@ -4626,44 +4759,46 @@ }, { "name": "ramsey/uuid", - "version": "3.8.0", + "version": "3.9.1", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "d09ea80159c1929d75b3f9c60504d613aeb4a1e3" + "reference": "5ac2740e0c8c599d2bbe7f113a939f2b5b216c67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/d09ea80159c1929d75b3f9c60504d613aeb4a1e3", - "reference": "d09ea80159c1929d75b3f9c60504d613aeb4a1e3", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/5ac2740e0c8c599d2bbe7f113a939f2b5b216c67", + "reference": "5ac2740e0c8c599d2bbe7f113a939f2b5b216c67", "shasum": "" }, "require": { - "paragonie/random_compat": "^1.0|^2.0|9.99.99", - "php": "^5.4 || ^7.0", + "ext-json": "*", + "paragonie/random_compat": "^1 | ^2 | 9.99.99", + "php": "^5.4 | ^7", "symfony/polyfill-ctype": "^1.8" }, "replace": { "rhumsaa/uuid": "self.version" }, "require-dev": { - "codeception/aspect-mock": "^1.0 | ~2.0.0", - "doctrine/annotations": "~1.2.0", - "goaop/framework": "1.0.0-alpha.2 | ^1.0 | ~2.1.0", - "ircmaxell/random-lib": "^1.1", + "codeception/aspect-mock": "^1 | ^2", + "doctrine/annotations": "^1.2", + "goaop/framework": "1.0.0-alpha.2 | ^1 | ^2.1", "jakub-onderka/php-parallel-lint": "^0.9.0", "mockery/mockery": "^0.9.9", "moontoast/math": "^1.1", - "php-mock/php-mock-phpunit": "^0.3|^1.1", - "phpunit/phpunit": "^4.7|^5.0|^6.5", + "paragonie/random-lib": "^2", + "php-mock/php-mock-phpunit": "^0.3 | ^1.1", + "phpunit/phpunit": "^4.8 | ^5.4 | ^6.5", "squizlabs/php_codesniffer": "^2.3" }, "suggest": { "ext-ctype": "Provides support for PHP Ctype functions", "ext-libsodium": "Provides the PECL libsodium extension for use with the SodiumRandomGenerator", + "ext-openssl": "Provides the OpenSSL extension for use with the OpenSslGenerator", "ext-uuid": "Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator", - "ircmaxell/random-lib": "Provides RandomLib for use with the RandomLibAdapter", "moontoast/math": "Provides support for converting UUID to 128-bit integer (in string form).", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", "ramsey/uuid-console": "A console application for generating UUIDs with ramsey/uuid", "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." }, @@ -4676,13 +4811,21 @@ "autoload": { "psr-4": { "Ramsey\\Uuid\\": "src/" - } + }, + "files": [ + "src/functions.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + }, { "name": "Marijn Huizendveld", "email": "marijn.huizendveld@gmail.com" @@ -4690,11 +4833,6 @@ { "name": "Thibaud Fabre", "email": "thibaud@aztech.io" - }, - { - "name": "Ben Ramsey", - "email": "ben@benramsey.com", - "homepage": "https://benramsey.com" } ], "description": "Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).", @@ -4704,25 +4842,25 @@ "identifier", "uuid" ], - "time": "2018-07-19T23:38:55+00:00" + "time": "2019-12-01T04:55:27+00:00" }, { "name": "rollbar/rollbar", - "version": "v1.8.1", + "version": "v2.0.0", "source": { "type": "git", "url": "https://github.com/rollbar/rollbar-php.git", - "reference": "8a57ad9574d85bd818eaedfc8049fdcb16795f31" + "reference": "245670b32d8e6072d6b364eda242f245879cdee9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rollbar/rollbar-php/zipball/8a57ad9574d85bd818eaedfc8049fdcb16795f31", - "reference": "8a57ad9574d85bd818eaedfc8049fdcb16795f31", + "url": "https://api.github.com/repos/rollbar/rollbar-php/zipball/245670b32d8e6072d6b364eda242f245879cdee9", + "reference": "245670b32d8e6072d6b364eda242f245879cdee9", "shasum": "" }, "require": { "ext-curl": "*", - "monolog/monolog": "^1", + "monolog/monolog": "^1 || ^2", "psr/log": "^1" }, "require-dev": { @@ -4730,7 +4868,7 @@ "mockery/mockery": "0.9.*", "packfire/php5.3-compat": "*", "phpmd/phpmd": "@stable", - "phpunit/phpunit": "4.8.*", + "phpunit/phpunit": "4.8.* || ^5", "squizlabs/php_codesniffer": "2.*" }, "suggest": { @@ -4763,31 +4901,31 @@ "logging", "monitoring" ], - "time": "2019-05-06T11:31:11+00:00" + "time": "2019-10-02T06:24:31+00:00" }, { "name": "rollbar/rollbar-laravel", - "version": "v4.0.3", + "version": "v5.0.0", "source": { "type": "git", "url": "https://github.com/rollbar/rollbar-php-laravel.git", - "reference": "e4ea0343e32748123ee7d7da8c6bf98593c5f74c" + "reference": "85be2c97cce60c588dbacb0a37a56d4b199c1aa7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rollbar/rollbar-php-laravel/zipball/e4ea0343e32748123ee7d7da8c6bf98593c5f74c", - "reference": "e4ea0343e32748123ee7d7da8c6bf98593c5f74c", + "url": "https://api.github.com/repos/rollbar/rollbar-php-laravel/zipball/85be2c97cce60c588dbacb0a37a56d4b199c1aa7", + "reference": "85be2c97cce60c588dbacb0a37a56d4b199c1aa7", "shasum": "" }, "require": { - "illuminate/support": "^5.0", + "illuminate/support": "^6.0", "php": ">=7.0", - "rollbar/rollbar": "^1" + "rollbar/rollbar": "^2" }, "require-dev": { "mockery/mockery": "^1", - "orchestra/testbench": "~3.6", - "phpunit/phpunit": "~7.0", + "orchestra/testbench": "^4", + "phpunit/phpunit": "^8", "satooshi/php-coveralls": "^1.0", "squizlabs/php_codesniffer": "3.*" }, @@ -4831,64 +4969,7 @@ "monitoring", "rollbar" ], - "time": "2019-01-01T18:39:35+00:00" - }, - { - "name": "schuppo/password-strength", - "version": "v1.11", - "source": { - "type": "git", - "url": "https://github.com/schuppo/PasswordStrengthPackage.git", - "reference": "7ab466d43c6937a73003df450cde663ba7b685a9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/schuppo/PasswordStrengthPackage/zipball/7ab466d43c6937a73003df450cde663ba7b685a9", - "reference": "7ab466d43c6937a73003df450cde663ba7b685a9", - "shasum": "" - }, - "require": { - "illuminate/support": "~5.0", - "illuminate/translation": "^5.1", - "php": ">=5.4.0" - }, - "require-dev": { - "illuminate/validation": "~5.0", - "phpunit/phpunit": "^4.8" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "Schuppo\\PasswordStrength\\PasswordStrengthServiceProvider" - ] - } - }, - "autoload": { - "psr-0": { - "Schuppo\\PasswordStrength": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Oliver Schupp", - "email": "oliver.schupp@yahoo.de" - } - ], - "description": "This package provides a validator for ensuring strong passwords in Laravel 4 applications.", - "keywords": [ - "laravel", - "laravel 5", - "laravel5", - "password", - "password strength", - "validation" - ], - "time": "2018-02-08T20:05:59+00:00" + "time": "2019-10-02T07:15:39+00:00" }, { "name": "sebastian/comparator", @@ -5132,20 +5213,20 @@ }, { "name": "spatie/db-dumper", - "version": "2.14.0", + "version": "2.15.0", "source": { "type": "git", "url": "https://github.com/spatie/db-dumper.git", - "reference": "eec21c55012b02fb8453c9929fa1c3150ca184ac" + "reference": "ccb7dd7557cd119b21ea853a893da4d1b0ff08b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/db-dumper/zipball/eec21c55012b02fb8453c9929fa1c3150ca184ac", - "reference": "eec21c55012b02fb8453c9929fa1c3150ca184ac", + "url": "https://api.github.com/repos/spatie/db-dumper/zipball/ccb7dd7557cd119b21ea853a893da4d1b0ff08b6", + "reference": "ccb7dd7557cd119b21ea853a893da4d1b0ff08b6", "shasum": "" }, "require": { - "php": "^7.1", + "php": "^7.2", "symfony/process": "^4.2" }, "require-dev": { @@ -5178,42 +5259,44 @@ "mysqldump", "spatie" ], - "time": "2019-04-17T07:03:19+00:00" + "time": "2019-11-11T10:40:42+00:00" }, { "name": "spatie/laravel-backup", - "version": "5.12.1", + "version": "6.7.5", "source": { "type": "git", "url": "https://github.com/spatie/laravel-backup.git", - "reference": "553562557ef13fda0e823cc609cd7d4f2c4f2552" + "reference": "81e10ccb9f22307fb0ed548f895264ba5dcfff82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/553562557ef13fda0e823cc609cd7d4f2c4f2552", - "reference": "553562557ef13fda0e823cc609cd7d4f2c4f2552", + "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/81e10ccb9f22307fb0ed548f895264ba5dcfff82", + "reference": "81e10ccb9f22307fb0ed548f895264ba5dcfff82", "shasum": "" }, "require": { - "illuminate/console": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/contracts": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/events": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/filesystem": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/notifications": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "league/flysystem": "^1.0.27", - "php": "^7.1", - "spatie/db-dumper": "^2.11.1", + "illuminate/console": "^5.8.15|^6.0", + "illuminate/contracts": "^5.8.15|^6.0", + "illuminate/events": "^5.8.15|^6.0", + "illuminate/filesystem": "^5.8.15|^6.0", + "illuminate/notifications": "^5.8.15|^6.0", + "illuminate/support": "^5.8.15|^6.0", + "league/flysystem": "^1.0.49", + "php": "^7.2", + "spatie/db-dumper": "^2.12", "spatie/temporary-directory": "^1.1", - "symfony/finder": "^3.3|^4.0" + "symfony/finder": "^4.2" }, "require-dev": { + "laravel/slack-notification-channel": "^1.0", + "league/flysystem-aws-s3-v3": "^1.0", "mockery/mockery": "^1.0", - "orchestra/testbench": "~3.5.0|~3.6.0|~3.7.0|~3.8.0", - "phpunit/phpunit": "^7.3" + "orchestra/testbench": "3.8.*|4.*", + "phpunit/phpunit": "^8.0" }, "suggest": { - "guzzlehttp/guzzle": "Allows notifications to be sent via Slack" + "laravel/slack-notification-channel": "Required for sending notifications via Slack" }, "type": "library", "extra": { @@ -5243,7 +5326,7 @@ "role": "Developer" } ], - "description": "A Laravel 5 package to backup your application", + "description": "A Laravel package to backup your application", "homepage": "https://github.com/spatie/laravel-backup", "keywords": [ "backup", @@ -5251,27 +5334,27 @@ "laravel-backup", "spatie" ], - "time": "2019-04-04T12:00:30+00:00" + "time": "2019-12-02T21:58:43+00:00" }, { "name": "spatie/temporary-directory", - "version": "1.1.5", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/spatie/temporary-directory.git", - "reference": "539d0856c5d6344619b3c5ab472e1ff6c655df5a" + "reference": "3e51af9a8361f85cffc1fb2c52135f3e064758cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/539d0856c5d6344619b3c5ab472e1ff6c655df5a", - "reference": "539d0856c5d6344619b3c5ab472e1ff6c655df5a", + "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/3e51af9a8361f85cffc1fb2c52135f3e064758cc", + "reference": "3e51af9a8361f85cffc1fb2c52135f3e064758cc", "shasum": "" }, "require": { - "php": "^7.0" + "php": "^7.2" }, "require-dev": { - "phpunit/phpunit": "^6.3" + "phpunit/phpunit": "^8.0" }, "type": "library", "autoload": { @@ -5297,7 +5380,7 @@ "spatie", "temporary-directory" ], - "time": "2019-07-16T20:39:53+00:00" + "time": "2019-08-28T06:53:51+00:00" }, { "name": "swiftmailer/swiftmailer", @@ -5363,27 +5446,28 @@ }, { "name": "symfony/console", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "831424efae0a1fe6642784bd52aae14ece6538e6" + "reference": "f0aea3df20d15635b3cb9730ca5eea1c65b7f201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/831424efae0a1fe6642784bd52aae14ece6538e6", - "reference": "831424efae0a1fe6642784bd52aae14ece6538e6", + "url": "https://api.github.com/repos/symfony/console/zipball/f0aea3df20d15635b3cb9730ca5eea1c65b7f201", + "reference": "f0aea3df20d15635b3cb9730ca5eea1c65b7f201", "shasum": "" }, "require": { "php": "^7.1.3", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php73": "^1.8", - "symfony/service-contracts": "^1.1" + "symfony/service-contracts": "^1.1|^2" }, "conflict": { "symfony/dependency-injection": "<3.4", - "symfony/event-dispatcher": "<4.3", + "symfony/event-dispatcher": "<4.3|>=5", + "symfony/lock": "<4.4", "symfony/process": "<3.3" }, "provide": { @@ -5391,12 +5475,12 @@ }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", "symfony/event-dispatcher": "^4.3", - "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.4|~4.0", - "symfony/var-dumper": "^4.3" + "symfony/lock": "^4.4|^5.0", + "symfony/process": "^3.4|^4.0|^5.0", + "symfony/var-dumper": "^4.3|^5.0" }, "suggest": { "psr/log": "For using the console logger", @@ -5407,7 +5491,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5434,20 +5518,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2019-11-13T07:29:07+00:00" + "time": "2019-12-01T10:06:17+00:00" }, { "name": "symfony/css-selector", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "f4b3ff6a549d9ed28b2b0ecd1781bf67cf220ee9" + "reference": "64acec7e0d67125e9f4656c68d4a38a42ab5a0b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/f4b3ff6a549d9ed28b2b0ecd1781bf67cf220ee9", - "reference": "f4b3ff6a549d9ed28b2b0ecd1781bf67cf220ee9", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/64acec7e0d67125e9f4656c68d4a38a42ab5a0b7", + "reference": "64acec7e0d67125e9f4656c68d4a38a42ab5a0b7", "shasum": "" }, "require": { @@ -5456,7 +5540,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5487,20 +5571,20 @@ ], "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", - "time": "2019-10-02T08:36:26+00:00" + "time": "2019-10-12T00:35:04+00:00" }, { "name": "symfony/debug", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "5ea9c3e01989a86ceaa0283f21234b12deadf5e2" + "reference": "b8600a1d7d20b0e80906398bb1f50612fa074a8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/5ea9c3e01989a86ceaa0283f21234b12deadf5e2", - "reference": "5ea9c3e01989a86ceaa0283f21234b12deadf5e2", + "url": "https://api.github.com/repos/symfony/debug/zipball/b8600a1d7d20b0e80906398bb1f50612fa074a8e", + "reference": "b8600a1d7d20b0e80906398bb1f50612fa074a8e", "shasum": "" }, "require": { @@ -5511,12 +5595,12 @@ "symfony/http-kernel": "<3.4" }, "require-dev": { - "symfony/http-kernel": "~3.4|~4.0" + "symfony/http-kernel": "^3.4|^4.0|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5543,20 +5627,76 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2019-10-28T17:07:32+00:00" + "time": "2019-11-28T13:33:56+00:00" }, { - "name": "symfony/event-dispatcher", - "version": "v4.3.8", + "name": "symfony/error-handler", + "version": "v4.4.1", "source": { "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "0df002fd4f500392eabd243c2947061a50937287" + "url": "https://github.com/symfony/error-handler.git", + "reference": "a1ad02d62789efed1d2b2796f1c15e0c6a00fc3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/0df002fd4f500392eabd243c2947061a50937287", - "reference": "0df002fd4f500392eabd243c2947061a50937287", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/a1ad02d62789efed1d2b2796f1c15e0c6a00fc3b", + "reference": "a1ad02d62789efed1d2b2796f1c15e0c6a00fc3b", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "psr/log": "~1.0", + "symfony/debug": "^4.4", + "symfony/var-dumper": "^4.4|^5.0" + }, + "require-dev": { + "symfony/http-kernel": "^4.4|^5.0", + "symfony/serializer": "^4.4|^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\ErrorHandler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony ErrorHandler Component", + "homepage": "https://symfony.com", + "time": "2019-12-01T08:46:01+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v4.4.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "b3c3068a72623287550fe20b84a2b01dcba2686f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/b3c3068a72623287550fe20b84a2b01dcba2686f", + "reference": "b3c3068a72623287550fe20b84a2b01dcba2686f", "shasum": "" }, "require": { @@ -5572,12 +5712,12 @@ }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/expression-language": "~3.4|~4.0", - "symfony/http-foundation": "^3.4|^4.0", - "symfony/service-contracts": "^1.1", - "symfony/stopwatch": "~3.4|~4.0" + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/expression-language": "^3.4|^4.0|^5.0", + "symfony/http-foundation": "^3.4|^4.0|^5.0", + "symfony/service-contracts": "^1.1|^2", + "symfony/stopwatch": "^3.4|^4.0|^5.0" }, "suggest": { "symfony/dependency-injection": "", @@ -5586,7 +5726,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5613,7 +5753,7 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2019-11-03T09:04:05+00:00" + "time": "2019-11-28T13:33:56+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -5675,16 +5815,16 @@ }, { "name": "symfony/finder", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "72a068f77e317ae77c0a0495236ad292cfb5ce6f" + "reference": "ce8743441da64c41e2a667b8eb66070444ed911e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/72a068f77e317ae77c0a0495236ad292cfb5ce6f", - "reference": "72a068f77e317ae77c0a0495236ad292cfb5ce6f", + "url": "https://api.github.com/repos/symfony/finder/zipball/ce8743441da64c41e2a667b8eb66070444ed911e", + "reference": "ce8743441da64c41e2a667b8eb66070444ed911e", "shasum": "" }, "require": { @@ -5693,7 +5833,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5720,35 +5860,35 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2019-10-30T12:53:54+00:00" + "time": "2019-11-17T21:56:56+00:00" }, { "name": "symfony/http-foundation", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "cabe67275034e173350e158f3b1803d023880227" + "reference": "8bccc59e61b41963d14c3dbdb23181e5c932a1d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/cabe67275034e173350e158f3b1803d023880227", - "reference": "cabe67275034e173350e158f3b1803d023880227", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/8bccc59e61b41963d14c3dbdb23181e5c932a1d5", + "reference": "8bccc59e61b41963d14c3dbdb23181e5c932a1d5", "shasum": "" }, "require": { "php": "^7.1.3", - "symfony/mime": "^4.3", + "symfony/mime": "^4.3|^5.0", "symfony/polyfill-mbstring": "~1.1" }, "require-dev": { "predis/predis": "~1.0", - "symfony/expression-language": "~3.4|~4.0" + "symfony/expression-language": "^3.4|^4.0|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5775,37 +5915,37 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2019-11-12T13:07:20+00:00" + "time": "2019-11-28T13:33:56+00:00" }, { "name": "symfony/http-kernel", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "5fdf186f26f9080de531d3f1d024348b2f0ab12f" + "reference": "e4187780ed26129ee86d5234afbebf085e144f88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/5fdf186f26f9080de531d3f1d024348b2f0ab12f", - "reference": "5fdf186f26f9080de531d3f1d024348b2f0ab12f", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/e4187780ed26129ee86d5234afbebf085e144f88", + "reference": "e4187780ed26129ee86d5234afbebf085e144f88", "shasum": "" }, "require": { "php": "^7.1.3", "psr/log": "~1.0", - "symfony/debug": "~3.4|~4.0", - "symfony/event-dispatcher": "^4.3", - "symfony/http-foundation": "^4.1.1", - "symfony/polyfill-ctype": "~1.8", + "symfony/error-handler": "^4.4", + "symfony/event-dispatcher": "^4.4", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-php73": "^1.9" }, "conflict": { "symfony/browser-kit": "<4.3", "symfony/config": "<3.4", + "symfony/console": ">=5", "symfony/dependency-injection": "<4.3", "symfony/translation": "<4.2", - "symfony/var-dumper": "<4.1.1", "twig/twig": "<1.34|<2.4,>=2" }, "provide": { @@ -5813,34 +5953,32 @@ }, "require-dev": { "psr/cache": "~1.0", - "symfony/browser-kit": "^4.3", - "symfony/config": "~3.4|~4.0", - "symfony/console": "~3.4|~4.0", - "symfony/css-selector": "~3.4|~4.0", - "symfony/dependency-injection": "^4.3", - "symfony/dom-crawler": "~3.4|~4.0", - "symfony/expression-language": "~3.4|~4.0", - "symfony/finder": "~3.4|~4.0", - "symfony/process": "~3.4|~4.0", - "symfony/routing": "~3.4|~4.0", - "symfony/stopwatch": "~3.4|~4.0", - "symfony/templating": "~3.4|~4.0", - "symfony/translation": "~4.2", - "symfony/translation-contracts": "^1.1", - "symfony/var-dumper": "^4.1.1", - "twig/twig": "^1.34|^2.4" + "symfony/browser-kit": "^4.3|^5.0", + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/console": "^3.4|^4.0", + "symfony/css-selector": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^4.3|^5.0", + "symfony/dom-crawler": "^3.4|^4.0|^5.0", + "symfony/expression-language": "^3.4|^4.0|^5.0", + "symfony/finder": "^3.4|^4.0|^5.0", + "symfony/process": "^3.4|^4.0|^5.0", + "symfony/routing": "^3.4|^4.0|^5.0", + "symfony/stopwatch": "^3.4|^4.0|^5.0", + "symfony/templating": "^3.4|^4.0|^5.0", + "symfony/translation": "^4.2|^5.0", + "symfony/translation-contracts": "^1.1|^2", + "twig/twig": "^1.34|^2.4|^3.0" }, "suggest": { "symfony/browser-kit": "", "symfony/config": "", "symfony/console": "", - "symfony/dependency-injection": "", - "symfony/var-dumper": "" + "symfony/dependency-injection": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5867,20 +6005,20 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2019-11-13T09:07:28+00:00" + "time": "2019-12-01T14:06:38+00:00" }, { "name": "symfony/mime", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "22aecf6b11638ef378fab25d6c5a2da8a31a1448" + "reference": "010cc488e56cafe5f7494dea70aea93100c234df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/22aecf6b11638ef378fab25d6c5a2da8a31a1448", - "reference": "22aecf6b11638ef378fab25d6c5a2da8a31a1448", + "url": "https://api.github.com/repos/symfony/mime/zipball/010cc488e56cafe5f7494dea70aea93100c234df", + "reference": "010cc488e56cafe5f7494dea70aea93100c234df", "shasum": "" }, "require": { @@ -5888,14 +6026,17 @@ "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0" }, + "conflict": { + "symfony/mailer": "<4.4" + }, "require-dev": { "egulias/email-validator": "^2.1.10", - "symfony/dependency-injection": "~3.4|^4.1" + "symfony/dependency-injection": "^3.4|^4.1|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5926,20 +6067,20 @@ "mime", "mime-type" ], - "time": "2019-11-12T13:10:02+00:00" + "time": "2019-11-30T08:27:26+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "550ebaac289296ce228a706d0867afc34687e3f4" + "reference": "f8f0b461be3385e56d6de3dbb5a0df24c0c275e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4", - "reference": "550ebaac289296ce228a706d0867afc34687e3f4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f8f0b461be3385e56d6de3dbb5a0df24c0c275e3", + "reference": "f8f0b461be3385e56d6de3dbb5a0df24c0c275e3", "shasum": "" }, "require": { @@ -5951,7 +6092,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -5984,20 +6125,20 @@ "polyfill", "portable" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T13:56:44+00:00" }, { "name": "symfony/polyfill-iconv", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-iconv.git", - "reference": "685968b11e61a347c18bf25db32effa478be610f" + "reference": "a019efccc03f1a335af6b4f20c30f5ea8060be36" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/685968b11e61a347c18bf25db32effa478be610f", - "reference": "685968b11e61a347c18bf25db32effa478be610f", + "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/a019efccc03f1a335af6b4f20c30f5ea8060be36", + "reference": "a019efccc03f1a335af6b4f20c30f5ea8060be36", "shasum": "" }, "require": { @@ -6009,7 +6150,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -6043,20 +6184,20 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T13:56:44+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "6af626ae6fa37d396dc90a399c0ff08e5cfc45b2" + "reference": "6f9c239e61e1b0c9229a28ff89a812dc449c3d46" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/6af626ae6fa37d396dc90a399c0ff08e5cfc45b2", - "reference": "6af626ae6fa37d396dc90a399c0ff08e5cfc45b2", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/6f9c239e61e1b0c9229a28ff89a812dc449c3d46", + "reference": "6f9c239e61e1b0c9229a28ff89a812dc449c3d46", "shasum": "" }, "require": { @@ -6070,7 +6211,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -6105,20 +6246,20 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T13:56:44+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "b42a2f66e8f1b15ccf25652c3424265923eb4f17" + "reference": "7b4aab9743c30be783b73de055d24a39cf4b954f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/b42a2f66e8f1b15ccf25652c3424265923eb4f17", - "reference": "b42a2f66e8f1b15ccf25652c3424265923eb4f17", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7b4aab9743c30be783b73de055d24a39cf4b954f", + "reference": "7b4aab9743c30be783b73de055d24a39cf4b954f", "shasum": "" }, "require": { @@ -6130,7 +6271,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -6164,20 +6305,20 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T14:18:11+00:00" }, { "name": "symfony/polyfill-php56", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php56.git", - "reference": "0e3b212e96a51338639d8ce175c046d7729c3403" + "reference": "53dd1cdf3cb986893ccf2b96665b25b3abb384f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/0e3b212e96a51338639d8ce175c046d7729c3403", - "reference": "0e3b212e96a51338639d8ce175c046d7729c3403", + "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/53dd1cdf3cb986893ccf2b96665b25b3abb384f4", + "reference": "53dd1cdf3cb986893ccf2b96665b25b3abb384f4", "shasum": "" }, "require": { @@ -6187,7 +6328,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -6220,20 +6361,20 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T13:56:44+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "04ce3335667451138df4307d6a9b61565560199e" + "reference": "66fea50f6cb37a35eea048d75a7d99a45b586038" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/04ce3335667451138df4307d6a9b61565560199e", - "reference": "04ce3335667451138df4307d6a9b61565560199e", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/66fea50f6cb37a35eea048d75a7d99a45b586038", + "reference": "66fea50f6cb37a35eea048d75a7d99a45b586038", "shasum": "" }, "require": { @@ -6242,7 +6383,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -6275,20 +6416,20 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T13:56:44+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "2ceb49eaccb9352bff54d22570276bb75ba4a188" + "reference": "4b0e2222c55a25b4541305a053013d5647d3a25f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/2ceb49eaccb9352bff54d22570276bb75ba4a188", - "reference": "2ceb49eaccb9352bff54d22570276bb75ba4a188", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/4b0e2222c55a25b4541305a053013d5647d3a25f", + "reference": "4b0e2222c55a25b4541305a053013d5647d3a25f", "shasum": "" }, "require": { @@ -6297,7 +6438,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -6333,20 +6474,20 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T16:25:15+00:00" }, { "name": "symfony/polyfill-util", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-util.git", - "reference": "4317de1386717b4c22caed7725350a8887ab205c" + "reference": "964a67f293b66b95883a5ed918a65354fcd2258f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/4317de1386717b4c22caed7725350a8887ab205c", - "reference": "4317de1386717b4c22caed7725350a8887ab205c", + "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/964a67f293b66b95883a5ed918a65354fcd2258f", + "reference": "964a67f293b66b95883a5ed918a65354fcd2258f", "shasum": "" }, "require": { @@ -6355,7 +6496,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -6385,20 +6526,20 @@ "polyfill", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T13:56:44+00:00" }, { "name": "symfony/process", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "3b2e0cb029afbb0395034509291f21191d1a4db0" + "reference": "51c0135ef3f44c5803b33dc60e96bf4f77752726" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/3b2e0cb029afbb0395034509291f21191d1a4db0", - "reference": "3b2e0cb029afbb0395034509291f21191d1a4db0", + "url": "https://api.github.com/repos/symfony/process/zipball/51c0135ef3f44c5803b33dc60e96bf4f77752726", + "reference": "51c0135ef3f44c5803b33dc60e96bf4f77752726", "shasum": "" }, "require": { @@ -6407,7 +6548,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -6434,30 +6575,30 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2019-10-28T17:07:32+00:00" + "time": "2019-11-28T13:33:56+00:00" }, { "name": "symfony/psr-http-message-bridge", - "version": "v1.2.0", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/symfony/psr-http-message-bridge.git", - "reference": "9ab9d71f97d5c7d35a121a7fb69f74fee95cd0ad" + "reference": "9d3e80d54d9ae747ad573cad796e8e247df7b796" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/9ab9d71f97d5c7d35a121a7fb69f74fee95cd0ad", - "reference": "9ab9d71f97d5c7d35a121a7fb69f74fee95cd0ad", + "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/9d3e80d54d9ae747ad573cad796e8e247df7b796", + "reference": "9d3e80d54d9ae747ad573cad796e8e247df7b796", "shasum": "" }, "require": { "php": "^7.1", "psr/http-message": "^1.0", - "symfony/http-foundation": "^3.4 || ^4.0" + "symfony/http-foundation": "^4.4 || ^5.0" }, "require-dev": { "nyholm/psr7": "^1.1", - "symfony/phpunit-bridge": "^3.4.20 || ^4.0", + "symfony/phpunit-bridge": "^4.4 || ^5.0", "zendframework/zend-diactoros": "^1.4.1 || ^2.0" }, "suggest": { @@ -6466,7 +6607,7 @@ "type": "symfony-bridge", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -6482,13 +6623,13 @@ "MIT" ], "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, { "name": "Fabien Potencier", "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" } ], "description": "PSR HTTP message bridge", @@ -6499,20 +6640,20 @@ "psr-17", "psr-7" ], - "time": "2019-03-11T18:22:33+00:00" + "time": "2019-11-25T19:33:50+00:00" }, { "name": "symfony/routing", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "533fd12a41fb9ce8d4e861693365427849487c0e" + "reference": "51f3f20ad29329a0bdf5c0e2f722d3764b065273" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/533fd12a41fb9ce8d4e861693365427849487c0e", - "reference": "533fd12a41fb9ce8d4e861693365427849487c0e", + "url": "https://api.github.com/repos/symfony/routing/zipball/51f3f20ad29329a0bdf5c0e2f722d3764b065273", + "reference": "51f3f20ad29329a0bdf5c0e2f722d3764b065273", "shasum": "" }, "require": { @@ -6526,11 +6667,11 @@ "require-dev": { "doctrine/annotations": "~1.2", "psr/log": "~1.0", - "symfony/config": "~4.2", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/expression-language": "~3.4|~4.0", - "symfony/http-foundation": "~3.4|~4.0", - "symfony/yaml": "~3.4|~4.0" + "symfony/config": "^4.2|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/expression-language": "^3.4|^4.0|^5.0", + "symfony/http-foundation": "^3.4|^4.0|^5.0", + "symfony/yaml": "^3.4|^4.0|^5.0" }, "suggest": { "doctrine/annotations": "For using the annotation loader", @@ -6542,7 +6683,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -6575,7 +6716,7 @@ "uri", "url" ], - "time": "2019-11-04T20:23:03+00:00" + "time": "2019-12-01T08:39:58+00:00" }, { "name": "symfony/service-contracts", @@ -6637,26 +6778,27 @@ }, { "name": "symfony/translation", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "bbce239b35b0cd47bd75848b23e969f17dd970e7" + "reference": "897fb68ee7933372517b551d6f08c6d4bb0b8c40" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/bbce239b35b0cd47bd75848b23e969f17dd970e7", - "reference": "bbce239b35b0cd47bd75848b23e969f17dd970e7", + "url": "https://api.github.com/repos/symfony/translation/zipball/897fb68ee7933372517b551d6f08c6d4bb0b8c40", + "reference": "897fb68ee7933372517b551d6f08c6d4bb0b8c40", "shasum": "" }, "require": { "php": "^7.1.3", "symfony/polyfill-mbstring": "~1.0", - "symfony/translation-contracts": "^1.1.6" + "symfony/translation-contracts": "^1.1.6|^2" }, "conflict": { "symfony/config": "<3.4", "symfony/dependency-injection": "<3.4", + "symfony/http-kernel": "<4.4", "symfony/yaml": "<3.4" }, "provide": { @@ -6664,15 +6806,14 @@ }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.4|~4.0", - "symfony/console": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/finder": "~2.8|~3.0|~4.0", - "symfony/http-kernel": "~3.4|~4.0", - "symfony/intl": "~3.4|~4.0", - "symfony/service-contracts": "^1.1.2", - "symfony/var-dumper": "~3.4|~4.0", - "symfony/yaml": "~3.4|~4.0" + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/console": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/finder": "~2.8|~3.0|~4.0|^5.0", + "symfony/http-kernel": "^4.4", + "symfony/intl": "^3.4|^4.0|^5.0", + "symfony/service-contracts": "^1.1.2|^2", + "symfony/yaml": "^3.4|^4.0|^5.0" }, "suggest": { "psr/log-implementation": "To use logging capability in translator", @@ -6682,7 +6823,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -6709,7 +6850,7 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2019-11-06T23:21:49+00:00" + "time": "2019-11-12T17:18:47+00:00" }, { "name": "symfony/translation-contracts", @@ -6770,16 +6911,16 @@ }, { "name": "symfony/var-dumper", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "ea4940845535c85ff5c505e13b3205b0076d07bf" + "reference": "0a89a1dbbedd9fb2cfb2336556dec8305273c19a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ea4940845535c85ff5c505e13b3205b0076d07bf", - "reference": "ea4940845535c85ff5c505e13b3205b0076d07bf", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/0a89a1dbbedd9fb2cfb2336556dec8305273c19a", + "reference": "0a89a1dbbedd9fb2cfb2336556dec8305273c19a", "shasum": "" }, "require": { @@ -6793,9 +6934,9 @@ }, "require-dev": { "ext-iconv": "*", - "symfony/console": "~3.4|~4.0", - "symfony/process": "~3.4|~4.0", - "twig/twig": "~1.34|~2.4" + "symfony/console": "^3.4|^4.0|^5.0", + "symfony/process": "^4.4|^5.0", + "twig/twig": "^1.34|^2.4|^3.0" }, "suggest": { "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", @@ -6808,7 +6949,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -6842,7 +6983,7 @@ "debug", "dump" ], - "time": "2019-10-13T12:02:04+00:00" + "time": "2019-11-28T13:33:56+00:00" }, { "name": "tecnickcom/tc-lib-barcode", @@ -6999,25 +7140,25 @@ }, { "name": "tightenco/collect", - "version": "v5.8.35", + "version": "v6.5.2", "source": { "type": "git", "url": "https://github.com/tightenco/collect.git", - "reference": "c93a7039e6207ad533a09109838fe80933fcc72c" + "reference": "402a89f11c55b86c5a081c267957a0c071375278" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tightenco/collect/zipball/c93a7039e6207ad533a09109838fe80933fcc72c", - "reference": "c93a7039e6207ad533a09109838fe80933fcc72c", + "url": "https://api.github.com/repos/tightenco/collect/zipball/402a89f11c55b86c5a081c267957a0c071375278", + "reference": "402a89f11c55b86c5a081c267957a0c071375278", "shasum": "" }, "require": { "php": "^7.1.3", - "symfony/var-dumper": ">=3.4 <5" + "symfony/var-dumper": "^3.4 || ^4.0 || ^5.0" }, "require-dev": { "mockery/mockery": "^1.0", - "nesbot/carbon": "^1.26.3", + "nesbot/carbon": "^2.23.0", "phpunit/phpunit": "^7.0" }, "type": "library", @@ -7045,24 +7186,24 @@ "collection", "laravel" ], - "time": "2019-09-17T18:57:01+00:00" + "time": "2019-11-22T20:59:40+00:00" }, { "name": "tightenco/ziggy", - "version": "v0.7.1", + "version": "v0.8.1", "source": { "type": "git", "url": "https://github.com/tightenco/ziggy.git", - "reference": "aa4c42aaec9516da892bc2e9f6e992582646af77" + "reference": "4c4b29bc658153f0771b0a145173ce83a7b6b885" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tightenco/ziggy/zipball/aa4c42aaec9516da892bc2e9f6e992582646af77", - "reference": "aa4c42aaec9516da892bc2e9f6e992582646af77", + "url": "https://api.github.com/repos/tightenco/ziggy/zipball/4c4b29bc658153f0771b0a145173ce83a7b6b885", + "reference": "4c4b29bc658153f0771b0a145173ce83a7b6b885", "shasum": "" }, "require": { - "laravel/framework": "~5.4" + "laravel/framework": ">=5.4@dev" }, "require-dev": { "mikey179/vfsstream": "^1.6", @@ -7086,17 +7227,17 @@ "MIT" ], "authors": [ - { - "name": "Matt Stauffer", - "email": "matt@tighten.co" - }, { "name": "Daniel Coulbourne", "email": "daniel@tighten.co" + }, + { + "name": "Matt Stauffer", + "email": "matt@tighten.co" } ], "description": "Generates a Blade directive exporting all of your named Laravel routes. Also provides a nice route() helper function in JavaScript.", - "time": "2019-04-26T22:03:47+00:00" + "time": "2019-10-18T22:42:36+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -7316,31 +7457,29 @@ }, { "name": "webmozart/assert", - "version": "1.5.0", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4" + "reference": "573381c0a64f155a0d9a23f4b0c797194805b925" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/88e6d84706d09a236046d686bbea96f07b3a34f4", - "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4", + "url": "https://api.github.com/repos/webmozart/assert/zipball/573381c0a64f155a0d9a23f4b0c797194805b925", + "reference": "573381c0a64f155a0d9a23f4b0c797194805b925", "shasum": "" }, "require": { "php": "^5.3.3 || ^7.0", "symfony/polyfill-ctype": "^1.8" }, + "conflict": { + "vimeo/psalm": "<3.6.0" + }, "require-dev": { "phpunit/phpunit": "^4.8.36 || ^7.5.13" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, "autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" @@ -7362,39 +7501,45 @@ "check", "validate" ], - "time": "2019-08-24T08:43:50+00:00" + "time": "2019-11-24T13:36:37+00:00" }, { "name": "zendframework/zend-diactoros", - "version": "1.8.7", + "version": "2.2.1", "source": { "type": "git", "url": "https://github.com/zendframework/zend-diactoros.git", - "reference": "a85e67b86e9b8520d07e6415fcbcb8391b44a75b" + "reference": "de5847b068362a88684a55b0dbb40d85986cfa52" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/a85e67b86e9b8520d07e6415fcbcb8391b44a75b", - "reference": "a85e67b86e9b8520d07e6415fcbcb8391b44a75b", + "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/de5847b068362a88684a55b0dbb40d85986cfa52", + "reference": "de5847b068362a88684a55b0dbb40d85986cfa52", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0", + "php": "^7.1", + "psr/http-factory": "^1.0", "psr/http-message": "^1.0" }, "provide": { + "psr/http-factory-implementation": "1.0", "psr/http-message-implementation": "1.0" }, "require-dev": { + "ext-curl": "*", "ext-dom": "*", "ext-libxml": "*", + "http-interop/http-factory-tests": "^0.5.0", "php-http/psr7-integration-tests": "dev-master", - "phpunit/phpunit": "^5.7.16 || ^6.0.8 || ^7.2.7", - "zendframework/zend-coding-standard": "~1.0" + "phpunit/phpunit": "^7.0.2", + "zendframework/zend-coding-standard": "~1.0.0" }, "type": "library", "extra": { "branch-alias": { + "dev-master": "2.1.x-dev", + "dev-develop": "2.2.x-dev", "dev-release-1.8": "1.8.x-dev" } }, @@ -7415,16 +7560,15 @@ }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-2-Clause" + "BSD-3-Clause" ], "description": "PSR HTTP Message implementations", - "homepage": "https://github.com/zendframework/zend-diactoros", "keywords": [ "http", "psr", "psr-7" ], - "time": "2019-08-06T17:53:53+00:00" + "time": "2019-11-13T19:16:13+00:00" } ], "packages-dev": [ @@ -7585,16 +7729,16 @@ }, { "name": "codeception/phpunit-wrapper", - "version": "7.7.1", + "version": "7.7.2", "source": { "type": "git", "url": "https://github.com/Codeception/phpunit-wrapper.git", - "reference": "ab04a956264291505ea84998f43cf91639b4575d" + "reference": "4ed12e8022f960e34fd78129e5dac34ce5b3a0ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/ab04a956264291505ea84998f43cf91639b4575d", - "reference": "ab04a956264291505ea84998f43cf91639b4575d", + "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/4ed12e8022f960e34fd78129e5dac34ce5b3a0ef", + "reference": "4ed12e8022f960e34fd78129e5dac34ce5b3a0ef", "shasum": "" }, "require": { @@ -7624,7 +7768,7 @@ } ], "description": "PHPUnit classes used by Codeception", - "time": "2019-02-26T20:35:32+00:00" + "time": "2019-11-23T18:21:46+00:00" }, { "name": "codeception/stub", @@ -8847,16 +8991,16 @@ }, { "name": "sebastian/environment", - "version": "4.2.2", + "version": "4.2.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "f2a2c8e1c97c11ace607a7a667d73d47c19fe404" + "reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/f2a2c8e1c97c11ace607a7a667d73d47c19fe404", - "reference": "f2a2c8e1c97c11ace607a7a667d73d47c19fe404", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/464c90d7bdf5ad4e8a6aea15c091fec0603d4368", + "reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368", "shasum": "" }, "require": { @@ -8896,7 +9040,7 @@ "environment", "hhvm" ], - "time": "2019-05-05T09:05:15+00:00" + "time": "2019-11-20T08:46:58+00:00" }, { "name": "sebastian/global-state", @@ -9128,16 +9272,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.5.2", + "version": "3.5.3", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "65b12cdeaaa6cd276d4c3033a95b9b88b12701e7" + "reference": "557a1fc7ac702c66b0bbfe16ab3d55839ef724cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/65b12cdeaaa6cd276d4c3033a95b9b88b12701e7", - "reference": "65b12cdeaaa6cd276d4c3033a95b9b88b12701e7", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/557a1fc7ac702c66b0bbfe16ab3d55839ef724cb", + "reference": "557a1fc7ac702c66b0bbfe16ab3d55839ef724cb", "shasum": "" }, "require": { @@ -9175,31 +9319,31 @@ "phpcs", "standards" ], - "time": "2019-10-28T04:36:32+00:00" + "time": "2019-12-04T04:46:47+00:00" }, { "name": "symfony/browser-kit", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/browser-kit.git", - "reference": "b14fa08508afd152257d5dcc7adb5f278654d972" + "reference": "e19e465c055137938afd40cfddd687e7511bbbf0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/browser-kit/zipball/b14fa08508afd152257d5dcc7adb5f278654d972", - "reference": "b14fa08508afd152257d5dcc7adb5f278654d972", + "url": "https://api.github.com/repos/symfony/browser-kit/zipball/e19e465c055137938afd40cfddd687e7511bbbf0", + "reference": "e19e465c055137938afd40cfddd687e7511bbbf0", "shasum": "" }, "require": { "php": "^7.1.3", - "symfony/dom-crawler": "~3.4|~4.0" + "symfony/dom-crawler": "^3.4|^4.0|^5.0" }, "require-dev": { - "symfony/css-selector": "~3.4|~4.0", - "symfony/http-client": "^4.3", - "symfony/mime": "^4.3", - "symfony/process": "~3.4|~4.0" + "symfony/css-selector": "^3.4|^4.0|^5.0", + "symfony/http-client": "^4.3|^5.0", + "symfony/mime": "^4.3|^5.0", + "symfony/process": "^3.4|^4.0|^5.0" }, "suggest": { "symfony/process": "" @@ -9207,7 +9351,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -9234,20 +9378,20 @@ ], "description": "Symfony BrowserKit Component", "homepage": "https://symfony.com", - "time": "2019-10-28T17:07:32+00:00" + "time": "2019-10-28T20:30:34+00:00" }, { "name": "symfony/dom-crawler", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "4b9efd5708c3a38593e19b6a33e40867f4f89d72" + "reference": "36bbcab9369fc2f583220890efd43bf262d563fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/4b9efd5708c3a38593e19b6a33e40867f4f89d72", - "reference": "4b9efd5708c3a38593e19b6a33e40867f4f89d72", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/36bbcab9369fc2f583220890efd43bf262d563fd", + "reference": "36bbcab9369fc2f583220890efd43bf262d563fd", "shasum": "" }, "require": { @@ -9260,7 +9404,7 @@ }, "require-dev": { "masterminds/html5": "^2.6", - "symfony/css-selector": "~3.4|~4.0" + "symfony/css-selector": "^3.4|^4.0|^5.0" }, "suggest": { "symfony/css-selector": "" @@ -9268,7 +9412,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -9295,20 +9439,20 @@ ], "description": "Symfony DomCrawler Component", "homepage": "https://symfony.com", - "time": "2019-10-28T17:07:32+00:00" + "time": "2019-10-29T11:38:30+00:00" }, { "name": "symfony/yaml", - "version": "v4.3.8", + "version": "v4.4.1", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "324cf4b19c345465fad14f3602050519e09e361d" + "reference": "76de473358fe802578a415d5bb43c296cf09d211" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/324cf4b19c345465fad14f3602050519e09e361d", - "reference": "324cf4b19c345465fad14f3602050519e09e361d", + "url": "https://api.github.com/repos/symfony/yaml/zipball/76de473358fe802578a415d5bb43c296cf09d211", + "reference": "76de473358fe802578a415d5bb43c296cf09d211", "shasum": "" }, "require": { @@ -9319,7 +9463,7 @@ "symfony/console": "<3.4" }, "require-dev": { - "symfony/console": "~3.4|~4.0" + "symfony/console": "^3.4|^4.0|^5.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -9327,7 +9471,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -9354,7 +9498,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2019-10-30T12:58:49+00:00" + "time": "2019-11-12T14:51:11+00:00" }, { "name": "theseer/tokenizer", @@ -9403,7 +9547,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.1.3", + "php": "^7.2", "ext-curl": "*", "ext-fileinfo": "*", "ext-json": "*", @@ -9412,6 +9556,6 @@ }, "platform-dev": [], "platform-overrides": { - "php": "7.1.8" + "php": "7.2" } } diff --git a/config/app.php b/config/app.php index 2dc3ffebaa..384cb10a39 100755 --- a/config/app.php +++ b/config/app.php @@ -319,7 +319,7 @@ return [ Laravel\Passport\PassportServiceProvider::class, Laravel\Tinker\TinkerServiceProvider::class, Unicodeveloper\DumbPassword\DumbPasswordServiceProvider::class, - Schuppo\PasswordStrength\PasswordStrengthServiceProvider::class, + //Schuppo\PasswordStrength\PasswordStrengthServiceProvider::class, Tightenco\Ziggy\ZiggyServiceProvider::class, // Laravel routes in vue Eduardokum\LaravelMailAutoEmbed\ServiceProvider::class, @@ -388,7 +388,7 @@ return [ 'URL' => Illuminate\Support\Facades\URL::class, 'Validator' => Illuminate\Support\Facades\Validator::class, 'View' => Illuminate\Support\Facades\View::class, - 'Input' => Illuminate\Support\Facades\Input::class, + //'Input' => Illuminate\Support\Facades\Input::class, 'Form' => Collective\Html\FormFacade::class, 'Html' => Collective\Html\HtmlFacade::class, 'Google2FA' => PragmaRX\Google2FALaravel\Facade::class, diff --git a/config/auth.php b/config/auth.php index 1206b682b2..d8a161f9f4 100644 --- a/config/auth.php +++ b/config/auth.php @@ -53,6 +53,7 @@ return [ 'api' => [ 'driver' => 'passport', 'provider' => 'users', + 'hash' => false, ], ], @@ -86,10 +87,6 @@ return [ | Resetting Passwords |-------------------------------------------------------------------------- | - | Here you may set the options for resetting passwords including the view - | that is your password reset e-mail. You may also set the name of the - | table that maintains all of the reset tokens for your application. - | | You may specify multiple password reset configurations if you have more | than one user table or model in the application and you want to have | separate password reset settings based on the specific user types. @@ -105,25 +102,22 @@ return [ 'provider' => 'users', 'email' => 'auth.emails.password', 'table' => 'password_resets', - 'expire' => 60, + 'expire' => env('LOGIN_LOCKOUT_DURATION', 60), + 'throttle' => env('LOGIN_MAX_ATTEMPTS', 60), ], ], /* - |-------------------------------------------------------------------------- - | Login throttling - |-------------------------------------------------------------------------- - | - | This handles the max failed login attempt throttling. - | You should not change the values here, but should change them in your - | application's .env file instead, as future changes to this file could - | overwrite your changes here. - | - */ + |-------------------------------------------------------------------------- + | Password Confirmation Timeout + |-------------------------------------------------------------------------- + | + | Here you may define the amount of seconds before a password confirmation + | times out and the user is prompted to re-enter their password via the + | confirmation screen. By default, the timeout lasts for three hours. + | + */ - 'throttle' => [ - 'max_attempts' => env('LOGIN_MAX_ATTEMPTS', 10), - 'lockout_duration' => env('LOGIN_LOCKOUT_DURATION', 60), - ], + 'password_timeout' => 10800, ]; diff --git a/config/passport.php b/config/passport.php new file mode 100644 index 0000000000..1d9244514a --- /dev/null +++ b/config/passport.php @@ -0,0 +1,15 @@ + env('PASSPORT_PRIVATE_KEY'), + 'public_key' => env('PASSPORT_PUBLIC_KEY'), +]; \ No newline at end of file diff --git a/database/migrations/2019_12_04_223111_passport_upgrade.php b/database/migrations/2019_12_04_223111_passport_upgrade.php new file mode 100644 index 0000000000..e38ff4654f --- /dev/null +++ b/database/migrations/2019_12_04_223111_passport_upgrade.php @@ -0,0 +1,32 @@ +string('secret', 100)->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('oauth_clients', function (Blueprint $table) { + $table->string('secret', 100)->change(); + }); + } +} diff --git a/database/seeds/SettingsSeeder.php b/database/seeds/SettingsSeeder.php index f866bea8a0..f2b2e42ea5 100644 --- a/database/seeds/SettingsSeeder.php +++ b/database/seeds/SettingsSeeder.php @@ -32,7 +32,7 @@ class SettingsSeeder extends Seeder $settings->locale = 'en'; $settings->version_footer = 'on'; $settings->support_footer = 'on'; - $settings->pwd_secure_min = '542321'; + $settings->pwd_secure_min = '8'; $settings->save(); if ($user = User::where('username', '=', 'admin')->first()) { diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index cc4a678d87..47f4377ad0 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -30,6 +30,7 @@ return array( 'array' => 'The :attribute must have between :min and :max items.', ], 'boolean' => 'The :attribute must be true or false.', + 'case_diff' => 'The :attribute must contain at least one uppercase and one lowercase letter.', 'confirmed' => 'The :attribute confirmation does not match.', 'date' => 'The :attribute is not a valid date.', 'date_format' => 'The :attribute does not match the format :format.', @@ -38,6 +39,7 @@ return array( 'digits_between' => 'The :attribute must be between :min and :max digits.', 'dimensions' => 'The :attribute has invalid image dimensions.', 'distinct' => 'The :attribute field has a duplicate value.', + 'dumbpwd' => 'That password is too common. Please choose another one.', 'email' => 'The :attribute format is invalid.', 'exists' => 'The selected :attribute is invalid.', 'file' => 'The :attribute must be a file.', @@ -59,6 +61,7 @@ return array( ], 'mimes' => 'The :attribute must be a file of type: :values.', 'mimetypes' => 'The :attribute must be a file of type: :values.', + 'letters' => 'The :attribute must contain letters', 'min' => [ 'numeric' => 'The :attribute must be at least :min.', 'file' => 'The :attribute must be at least :min kilobytes.', @@ -67,6 +70,7 @@ return array( ], 'not_in' => 'The selected :attribute is invalid.', 'numeric' => 'The :attribute must be a number.', + 'numbers' => 'The :attribute must contain at least one number.', 'present' => 'The :attribute field must be present.', 'valid_regex' => 'That is not a valid regex. ', 'regex' => 'The :attribute format is invalid.', @@ -85,23 +89,13 @@ return array( 'array' => 'The :attribute must contain :size items.', ], 'string' => 'The :attribute must be a string.', + 'symbols' => 'The :attribute must contain at least one symbol.', 'timezone' => 'The :attribute must be a valid zone.', 'unique' => 'The :attribute has already been taken.', 'uploaded' => 'The :attribute failed to upload.', 'url' => 'The :attribute format is invalid.', "unique_undeleted" => "The :attribute must be unique.", "import_field_empty" => "The value of the Import Field shouldn't be empty", - /* - |-------------------------------------------------------------------------- - | Custom Validation Language Lines - |-------------------------------------------------------------------------- - | - | Here you may specify custom validation messages for attributes using the - | convention "attribute.rule" to name the lines. This makes it quick to - | specify a specific custom language line for a given attribute rule. - | - */ - /* |-------------------------------------------------------------------------- @@ -118,7 +112,6 @@ return array( 'alpha_space' => "The :attribute field contains a character that is not allowed.", "email_array" => "One or more email addresses is invalid.", "hashed_pass" => "Your current password is incorrect", - 'dumbpwd' => 'That password is too common.', "statuslabel_type" => "You must select a valid status label type", ], diff --git a/resources/views/accessories/checkin.blade.php b/resources/views/accessories/checkin.blade.php index da0c3a6176..5964a9721e 100755 --- a/resources/views/accessories/checkin.blade.php +++ b/resources/views/accessories/checkin.blade.php @@ -48,7 +48,7 @@
- + {!! $errors->first('note', ' :message') !!}
@@ -58,7 +58,7 @@
- +
{!! $errors->first('checkin_at', ' :message') !!} diff --git a/resources/views/accessories/checkout.blade.php b/resources/views/accessories/checkout.blade.php index 295de1454b..705e5083b7 100755 --- a/resources/views/accessories/checkout.blade.php +++ b/resources/views/accessories/checkout.blade.php @@ -83,7 +83,7 @@
- + {!! $errors->first('note', ' :message') !!}
diff --git a/resources/views/accessories/edit.blade.php b/resources/views/accessories/edit.blade.php index e0d6568f2f..70b628544f 100755 --- a/resources/views/accessories/edit.blade.php +++ b/resources/views/accessories/edit.blade.php @@ -3,7 +3,7 @@ 'updateText' => trans('admin/accessories/general.update'), 'helpPosition' => 'right', 'helpText' => trans('help.accessories'), - 'formAction' => ($item) ? route('accessories.update', ['accessory' => $item->id]) : route('accessories.store'), + 'formAction' => (isset($item->id)) ? route('accessories.update', ['accessory' => $item->id]) : route('accessories.store'), ]) {{-- Page content --}} diff --git a/resources/views/account/profile.blade.php b/resources/views/account/profile.blade.php index 4e99c7869f..3371394b2d 100755 --- a/resources/views/account/profile.blade.php +++ b/resources/views/account/profile.blade.php @@ -20,7 +20,7 @@
- + {!! $errors->first('first_name', ' :message') !!}
@@ -31,7 +31,7 @@ {{ trans('general.last_name') }}
- + {!! $errors->first('last_name', ' :message') !!}
@@ -49,7 +49,7 @@
@if (!config('app.lock_passwords')) - {!! Form::locales('locale', Input::old('locale', $user->locale), 'select2') !!} + {!! Form::locales('locale', Request::old('locale', $user->locale), 'select2') !!} {!! $errors->first('locale', ':message') !!} @else

{{ trans('general.feature_disabled') }}

@@ -62,7 +62,7 @@
- + {!! $errors->first('phone', ':message') !!}
@@ -73,7 +73,7 @@
- + {!! $errors->first('website', ' :message') !!}
@@ -84,7 +84,7 @@ (Private)
- + {!! $errors->first('gravatar', ' :message') !!}

@@ -124,9 +124,9 @@

@can('self.two_factor') -
@@ -62,7 +62,7 @@
- +
{!! $errors->first('start_date', ' :message') !!} @@ -77,7 +77,7 @@
- +
{!! $errors->first('completion_date', ' :message') !!} @@ -89,7 +89,7 @@
@@ -107,7 +107,7 @@ {{ $snipeSettings->default_currency }} @endif - + {!! $errors->first('cost', ' :message') !!}
@@ -117,7 +117,7 @@
- + {!! $errors->first('notes', ' :message') !!}
diff --git a/resources/views/categories/edit.blade.php b/resources/views/categories/edit.blade.php index c70c1f9cd9..182f40ed1e 100755 --- a/resources/views/categories/edit.blade.php +++ b/resources/views/categories/edit.blade.php @@ -3,7 +3,7 @@ 'updateText' => trans('admin/categories/general.update'), 'helpPosition' => 'right', 'helpText' => trans('help.categories'), - 'formAction' => ($item) ? route('categories.update', ['category' => $item->id]) : route('categories.store'), + 'formAction' => (isset($item->id)) ? route('categories.update', ['category' => $item->id]) : route('categories.store'), ]) @section('inputFields') @@ -14,7 +14,7 @@
- {{ Form::select('category_type', $category_types , Input::old('category_type', $item->category_type), array('class'=>'select2', 'style'=>'min-width:350px', $item->itemCount() > 0 ? 'disabled' : '')) }} + {{ Form::select('category_type', $category_types , Request::old('category_type', $item->category_type), array('class'=>'select2', 'style'=>'min-width:350px', $item->itemCount() > 0 ? 'disabled' : '')) }} {!! $errors->first('category_type', ' :message') !!}
@@ -23,7 +23,7 @@
- {{ Form::textarea('eula_text', Input::old('eula_text', $item->eula_text), array('class' => 'form-control')) }} + {{ Form::textarea('eula_text', Request::old('eula_text', $item->eula_text), array('class' => 'form-control')) }}

{!! trans('admin/categories/general.eula_text_help') !!}

{!! trans('admin/settings/general.eula_markdown') !!}

diff --git a/resources/views/companies/edit.blade.php b/resources/views/companies/edit.blade.php index 2181f39a0b..bc74c7357d 100644 --- a/resources/views/companies/edit.blade.php +++ b/resources/views/companies/edit.blade.php @@ -3,7 +3,7 @@ 'updateText' => trans('admin/companies/table.update'), 'helpPosition' => 'right', 'helpText' => trans('help.companies'), - 'formAction' => ($item) ? route('companies.update', ['company' => $item->id]) : route('companies.store'), + 'formAction' => (isset($item->id)) ? route('companies.update', ['company' => $item->id]) : route('companies.store'), ]) {{-- Page content --}} diff --git a/resources/views/components/checkin.blade.php b/resources/views/components/checkin.blade.php index 96c2181172..2890a6c27a 100644 --- a/resources/views/components/checkin.blade.php +++ b/resources/views/components/checkin.blade.php @@ -39,7 +39,7 @@
- +

Must be {{ $component_assets->assigned_qty }} or less.

@@ -52,7 +52,7 @@
- + {!! $errors->first('note', ' :message') !!}
diff --git a/resources/views/components/checkout.blade.php b/resources/views/components/checkout.blade.php index 5d26e10b59..8a0efa3581 100644 --- a/resources/views/components/checkout.blade.php +++ b/resources/views/components/checkout.blade.php @@ -42,7 +42,7 @@
- + {!! $errors->first('assigned_qty', '
:message') !!}
diff --git a/resources/views/components/edit.blade.php b/resources/views/components/edit.blade.php index 94243f2262..725a69e79e 100644 --- a/resources/views/components/edit.blade.php +++ b/resources/views/components/edit.blade.php @@ -3,7 +3,7 @@ 'updateText' => trans('admin/components/general.update'), 'helpPosition' => 'right', 'helpText' => trans('help.components'), - 'formAction' => ($item) ? route('components.update', ['component' => $item->id]) : route('components.store'), + 'formAction' => (isset($item->id)) ? route('components.update', ['component' => $item->id]) : route('components.store'), ]) diff --git a/resources/views/consumables/checkout.blade.php b/resources/views/consumables/checkout.blade.php index 99f4ae96f7..17c1b362ed 100644 --- a/resources/views/consumables/checkout.blade.php +++ b/resources/views/consumables/checkout.blade.php @@ -70,7 +70,7 @@
- + {!! $errors->first('note', ' :message') !!}
diff --git a/resources/views/consumables/edit.blade.php b/resources/views/consumables/edit.blade.php index d9cc270b73..6cf0dd2054 100644 --- a/resources/views/consumables/edit.blade.php +++ b/resources/views/consumables/edit.blade.php @@ -3,7 +3,7 @@ 'updateText' => trans('admin/consumables/general.update'), 'helpPosition' => 'right', 'helpText' => trans('help.consumables'), - 'formAction' => ($item) ? route('consumables.update', ['accessory' => $item->id]) : route('consumables.store'), + 'formAction' => (isset($item->id)) ? route('consumables.update', ['consumable' => $item->id]) : route('consumables.store'), ]) {{-- Page content --}} @section('inputFields') diff --git a/resources/views/custom_fields/fields/edit.blade.php b/resources/views/custom_fields/fields/edit.blade.php index f426a000f9..15294ff658 100644 --- a/resources/views/custom_fields/fields/edit.blade.php +++ b/resources/views/custom_fields/fields/edit.blade.php @@ -39,7 +39,7 @@ {{ trans('admin/custom_fields/general.field_name') }}
- {{ Form::text('name', Input::old('name', $field->name), array('class' => 'form-control')) }} + {{ Form::text('name', Request::old('name', $field->name), array('class' => 'form-control')) }} {!! $errors->first('name', ' :message') !!}
@@ -51,7 +51,7 @@
- {!! Form::customfield_elements('element', Input::old('element', $field->element), 'field_element select2 form-control') !!} + {!! Form::customfield_elements('element', Request::old('element', $field->element), 'field_element select2 form-control') !!} {!! $errors->first('element', ' :message') !!}
@@ -63,7 +63,7 @@ {{ trans('admin/custom_fields/general.field_values') }}
- {!! Form::textarea('field_values', Input::old('name', $field->field_values), ['style' => 'width: 100%', 'rows' => 4, 'class' => 'form-control']) !!} + {!! Form::textarea('field_values', Request::old('name', $field->field_values), ['style' => 'width: 100%', 'rows' => 4, 'class' => 'form-control']) !!} {!! $errors->first('field_values', ' :message') !!}

{{ trans('admin/custom_fields/general.field_values_help') }}

@@ -86,7 +86,7 @@ {{ trans('admin/custom_fields/general.field_custom_format') }}
- {{ Form::text('custom_format', Input::old('custom_format', $customFormat), array('class' => 'form-control', 'id' => 'custom_format', 'placeholder'=>'regex:/^[0-9]{15}$/')) }} + {{ Form::text('custom_format', Request::old('custom_format', $customFormat), array('class' => 'form-control', 'id' => 'custom_format', 'placeholder'=>'regex:/^[0-9]{15}$/')) }}

{!! trans('admin/custom_fields/general.field_custom_format_help') !!}

{!! $errors->first('custom_format', ' :message') !!} @@ -100,7 +100,7 @@ Help Text
- {{ Form::text('help_text', Input::old('help_text', $field->help_text), array('class' => 'form-control')) }} + {{ Form::text('help_text', Request::old('help_text', $field->help_text), array('class' => 'form-control')) }}

This is optional text that will appear below the form elements while editing an asset to provide context on the field.

{!! $errors->first('help_text', ' :message') !!}
@@ -110,7 +110,7 @@
@@ -123,7 +123,7 @@
diff --git a/resources/views/custom_fields/fieldsets/edit.blade.php b/resources/views/custom_fields/fieldsets/edit.blade.php index aae89a20a7..785b57398b 100644 --- a/resources/views/custom_fields/fieldsets/edit.blade.php +++ b/resources/views/custom_fields/fieldsets/edit.blade.php @@ -29,7 +29,7 @@
- + {!! $errors->first('name', ' :message') !!}
diff --git a/resources/views/departments/edit.blade.php b/resources/views/departments/edit.blade.php index 855f2397ad..739f19f1f2 100644 --- a/resources/views/departments/edit.blade.php +++ b/resources/views/departments/edit.blade.php @@ -1,7 +1,7 @@ @extends('layouts/edit-form', [ 'createText' => trans('admin/departments/table.create') , 'updateText' => trans('admin/departments/table.update'), - 'formAction' => ($item) ? route('departments.update', ['department' => $item->id]) : route('departments.store'), + 'formAction' => (isset($item->id)) ? route('departments.update', ['department' => $item->id]) : route('departments.store'), ]) {{-- Page content --}} diff --git a/resources/views/depreciations/edit.blade.php b/resources/views/depreciations/edit.blade.php index 40a9b47332..2a84fac471 100755 --- a/resources/views/depreciations/edit.blade.php +++ b/resources/views/depreciations/edit.blade.php @@ -3,7 +3,7 @@ 'updateText' => trans('admin/depreciations/general.update'), 'helpPosition' => 'right', 'helpText' => trans('help.depreciations'), - 'formAction' => ($item) ? route('depreciations.update', ['depreciation' => $item->id]) : route('depreciations.store'), + 'formAction' => (isset($item->id)) ? route('depreciations.update', ['depreciation' => $item->id]) : route('depreciations.store'), ]) {{-- Page content --}} @@ -17,7 +17,7 @@
- +
{!! $errors->first('months', ' :message') !!} diff --git a/resources/views/groups/edit.blade.php b/resources/views/groups/edit.blade.php index 8149d6450a..734cfc55f5 100755 --- a/resources/views/groups/edit.blade.php +++ b/resources/views/groups/edit.blade.php @@ -60,7 +60,7 @@
- + {!! $errors->first('name', ' :message') !!}
diff --git a/resources/views/hardware/audit-due.blade.php b/resources/views/hardware/audit-due.blade.php index ab99668f0f..6a4b824859 100644 --- a/resources/views/hardware/audit-due.blade.php +++ b/resources/views/hardware/audit-due.blade.php @@ -2,7 +2,7 @@ @section('title0') - @if ((Input::get('company_id')) && ($company)) + @if ((Request::get('company_id')) && ($company)) {{ $company->name }} @endif diff --git a/resources/views/hardware/audit-overdue.blade.php b/resources/views/hardware/audit-overdue.blade.php index 7cea5d0b14..a2511add9c 100644 --- a/resources/views/hardware/audit-overdue.blade.php +++ b/resources/views/hardware/audit-overdue.blade.php @@ -2,7 +2,7 @@ @section('title0') - @if ((Input::get('company_id')) && ($company)) + @if ((Request::get('company_id')) && ($company)) {{ $company->name }} @endif diff --git a/resources/views/hardware/audit.blade.php b/resources/views/hardware/audit.blade.php index b9d8a9840c..59b2ebdd6c 100644 --- a/resources/views/hardware/audit.blade.php +++ b/resources/views/hardware/audit.blade.php @@ -57,7 +57,7 @@
@include ('partials.more-info', ['helpText' => trans('help.audit_help'), 'helpPosition' => 'right']) @@ -73,7 +73,7 @@ {{ Form::label('name', trans('general.next_audit_date'), array('class' => 'col-md-3 control-label')) }}
- +
{!! $errors->first('next_audit_date', ' :message') !!} @@ -85,7 +85,7 @@
{{ Form::label('note', trans('admin/hardware/form.notes'), array('class' => 'col-md-3 control-label')) }}
- + {!! $errors->first('note', ' :message') !!}
diff --git a/resources/views/hardware/bulk-checkout.blade.php b/resources/views/hardware/bulk-checkout.blade.php index dc43b91d2a..86a27286e9 100644 --- a/resources/views/hardware/bulk-checkout.blade.php +++ b/resources/views/hardware/bulk-checkout.blade.php @@ -39,7 +39,7 @@ {{ Form::label('name', trans('admin/hardware/form.checkout_date'), array('class' => 'col-md-3 control-label')) }}
- +
{!! $errors->first('checkout_at', ' :message') !!} @@ -51,7 +51,7 @@ {{ Form::label('name', trans('admin/hardware/form.expected_checkin'), array('class' => 'col-md-3 control-label')) }}
- +
{!! $errors->first('expected_checkin', ' :message') !!} @@ -63,7 +63,7 @@
{{ Form::label('note', trans('admin/hardware/form.notes'), array('class' => 'col-md-3 control-label')) }}
- + {!! $errors->first('note', ' :message') !!}
diff --git a/resources/views/hardware/bulk.blade.php b/resources/views/hardware/bulk.blade.php index cb2f484678..04c8e6cb00 100755 --- a/resources/views/hardware/bulk.blade.php +++ b/resources/views/hardware/bulk.blade.php @@ -32,7 +32,7 @@
- + {!! $errors->first('purchase_date', ' :message') !!}
@@ -44,7 +44,7 @@ {{ trans('admin/hardware/form.status') }}
- {{ Form::select('status_id', $statuslabel_list , Input::old('status_id'), array('class'=>'select2', 'style'=>'width:350px')) }} + {{ Form::select('status_id', $statuslabel_list , Request::old('status_id'), array('class'=>'select2', 'style'=>'width:350px')) }} {!! $errors->first('status_id', ' :message') !!}
@@ -62,8 +62,8 @@
@@ -79,7 +79,7 @@
{{ $snipeSettings->default_currency }} - + {!! $errors->first('purchase_cost', ' :message') !!}
@@ -95,7 +95,7 @@ {{ trans('admin/hardware/form.order') }}
- + {!! $errors->first('order_number', ' :message') !!}
@@ -107,7 +107,7 @@
- + {{ trans('admin/hardware/form.months') }} {!! $errors->first('warranty_months', ' :message') !!}
diff --git a/resources/views/hardware/checkin.blade.php b/resources/views/hardware/checkin.blade.php index 624318e685..b977a5e6bd 100755 --- a/resources/views/hardware/checkin.blade.php +++ b/resources/views/hardware/checkin.blade.php @@ -51,7 +51,7 @@
{{ Form::label('name', trans('admin/hardware/form.name'), array('class' => 'col-md-3 control-label')) }}
- + {!! $errors->first('name', ' :message') !!}
@@ -83,7 +83,7 @@
- +
{!! $errors->first('checkin_at', ' :message') !!} @@ -99,7 +99,7 @@
+ name="note">{{ Request::old('note', $asset->note) }} {!! $errors->first('note', ' :message') !!}
diff --git a/resources/views/hardware/checkout.blade.php b/resources/views/hardware/checkout.blade.php index afefca8c09..a94399bf40 100755 --- a/resources/views/hardware/checkout.blade.php +++ b/resources/views/hardware/checkout.blade.php @@ -42,7 +42,7 @@
{{ Form::label('name', trans('admin/hardware/form.name'), array('class' => 'col-md-3 control-label')) }}
- + {!! $errors->first('name', ' :message') !!}
@@ -73,7 +73,7 @@ {{ Form::label('name', trans('admin/hardware/form.checkout_date'), array('class' => 'col-md-3 control-label')) }}
- +
{!! $errors->first('checkout_at', ' :message') !!} @@ -85,7 +85,7 @@ {{ Form::label('name', trans('admin/hardware/form.expected_checkin'), array('class' => 'col-md-3 control-label')) }}
- +
{!! $errors->first('expected_checkin', ' :message') !!} @@ -96,7 +96,7 @@
{{ Form::label('note', trans('admin/hardware/form.notes'), array('class' => 'col-md-3 control-label')) }}
- + {!! $errors->first('note', ' :message') !!}
diff --git a/resources/views/hardware/edit.blade.php b/resources/views/hardware/edit.blade.php index a3393f8de1..0ffd390ae8 100755 --- a/resources/views/hardware/edit.blade.php +++ b/resources/views/hardware/edit.blade.php @@ -5,7 +5,7 @@ 'topSubmit' => true, 'helpText' => trans('help.assets'), 'helpPosition' => 'right', - 'formAction' => ($item) ? route('hardware.update', ['hardware' => $item->id]) : route('hardware.store'), + 'formAction' => ($item->id) ? route('hardware.update', ['hardware' => $item->id]) : route('hardware.store'), ]) @@ -23,14 +23,14 @@ @if ($item->id)
- + {!! $errors->first('asset_tags', ' :message') !!} {!! $errors->first('asset_tag', ' :message') !!}
@else
- + {!! $errors->first('asset_tags', ' :message') !!} {!! $errors->first('asset_tag', ' :message') !!}
@@ -53,8 +53,8 @@ @if ($item->model && $item->model->fieldset) model; ?> @endif - @if (Input::old('model_id')) - + @if (Request::old('model_id')) + @elseif (isset($selected_model)) @endif @@ -101,7 +101,7 @@
diff --git a/resources/views/hardware/history.blade.php b/resources/views/hardware/history.blade.php index 5204823566..0ee36f7705 100644 --- a/resources/views/hardware/history.blade.php +++ b/resources/views/hardware/history.blade.php @@ -84,7 +84,7 @@
- {{ Form::checkbox('match_firstnamelastname', '1', Input::old('match_firstnamelastname')) }} Try to match users by firstname.lastname (jane.smith) format + {{ Form::checkbox('match_firstnamelastname', '1', Request::old('match_firstnamelastname')) }} Try to match users by firstname.lastname (jane.smith) format
@@ -93,7 +93,7 @@
- {{ Form::checkbox('match_flastname', '1', Input::old('match_flastname')) }} Try to match users by first initial last name (jsmith) format + {{ Form::checkbox('match_flastname', '1', Request::old('match_flastname')) }} Try to match users by first initial last name (jsmith) format
@@ -102,7 +102,7 @@
- {{ Form::checkbox('match_firstname', '1', Input::old('match_firstname')) }} Try to match users by first name (jane) format + {{ Form::checkbox('match_firstname', '1', Request::old('match_firstname')) }} Try to match users by first name (jane) format
@@ -111,7 +111,7 @@
- {{ Form::checkbox('match_email', '1', Input::old('match_email')) }} Try to match users by email as username + {{ Form::checkbox('match_email', '1', Request::old('match_email')) }} Try to match users by email as username
diff --git a/resources/views/hardware/index.blade.php b/resources/views/hardware/index.blade.php index 3dc8eacaec..c9243d5e8a 100755 --- a/resources/views/hardware/index.blade.php +++ b/resources/views/hardware/index.blade.php @@ -2,28 +2,28 @@ @section('title0') - @if ((Input::get('company_id')) && ($company)) + @if ((Request::get('company_id')) && ($company)) {{ $company->name }} @endif -@if (Input::get('status')) - @if (Input::get('status')=='Pending') +@if (Request::get('status')) + @if (Request::get('status')=='Pending') {{ trans('general.pending') }} - @elseif (Input::get('status')=='RTD') + @elseif (Request::get('status')=='RTD') {{ trans('general.ready_to_deploy') }} - @elseif (Input::get('status')=='Deployed') + @elseif (Request::get('status')=='Deployed') {{ trans('general.deployed') }} - @elseif (Input::get('status')=='Undeployable') + @elseif (Request::get('status')=='Undeployable') {{ trans('general.undeployable') }} - @elseif (Input::get('status')=='Deployable') + @elseif (Request::get('status')=='Deployable') {{ trans('general.deployed') }} - @elseif (Input::get('status')=='Requestable') + @elseif (Request::get('status')=='Requestable') {{ trans('admin/hardware/general.requestable') }} - @elseif (Input::get('status')=='Archived') + @elseif (Request::get('status')=='Archived') {{ trans('general.archived') }} - @elseif (Input::get('status')=='Deleted') + @elseif (Request::get('status')=='Deleted') {{ trans('general.deleted') }} @endif @else @@ -31,8 +31,8 @@ @endif {{ trans('general.assets') }} - @if (Input::has('order_number')) - : Order #{{ Input::get('order_number') }} + @if (Request::has('order_number')) + : Order #{{ Request::get('order_number') }} @endif @stop @@ -64,7 +64,7 @@ 'id' => 'bulkForm']) }}
- @if (Input::get('status')!='Deleted') + @if (Request::get('status')!='Deleted')
+
{!! $errors->first('asset_tag', ' :message') !!} @@ -50,7 +50,7 @@
@@ -61,7 +61,7 @@ {{ Form::label('next_audit_date', trans('general.next_audit_date'), array('class' => 'col-md-3 control-label')) }}
- +
{!! $errors->first('next_audit_date', ' :message') !!} @@ -73,7 +73,7 @@
{{ Form::label('note', trans('admin/hardware/form.notes'), array('class' => 'col-md-3 control-label')) }}
- + {!! $errors->first('note', ' :message') !!}
diff --git a/resources/views/kits/accessory-edit.blade.php b/resources/views/kits/accessory-edit.blade.php index e25966f7f5..644004172a 100644 --- a/resources/views/kits/accessory-edit.blade.php +++ b/resources/views/kits/accessory-edit.blade.php @@ -1,7 +1,7 @@ @extends('layouts/edit-form', [ 'createText' => 'Append accessory', // TODO: trans 'updateText' => 'Update appended accessory', // TODO: trans - 'formAction' => ($item) ? route('kits.accessories.update', ['kit_id' => $kit->id, 'accessory_id' => $item->accessory_id]) : route('kits.accessories.store', ['kit_id' => $kit->id]), + 'formAction' => (isset($item->id)) ? route('kits.accessories.update', ['kit_id' => $kit->id, 'accessory_id' => $item->accessory_id]) : route('kits.accessories.store', ['kit_id' => $kit->id]), ]) {{-- Page content --}} @@ -11,13 +11,13 @@
- +
{!! $errors->first('quantity', ' :message') !!}
-{{-- --}} +{{-- --}} @stop diff --git a/resources/views/kits/checkout.blade.php b/resources/views/kits/checkout.blade.php index b8e836778b..7ac7de5d0c 100644 --- a/resources/views/kits/checkout.blade.php +++ b/resources/views/kits/checkout.blade.php @@ -30,7 +30,7 @@ {{ Form::label('name', trans('admin/hardware/form.checkout_date'), array('class' => 'col-md-3 control-label')) }}
- +
{!! $errors->first('checkout_at', ' :message') !!} @@ -42,7 +42,7 @@ {{ Form::label('name', trans('admin/hardware/form.expected_checkin'), array('class' => 'col-md-3 control-label')) }}
- +
{!! $errors->first('expected_checkin', ' :message') !!} @@ -54,7 +54,7 @@
{{ Form::label('note', trans('admin/hardware/form.notes'), array('class' => 'col-md-3 control-label')) }}
- + {!! $errors->first('note', ' :message') !!}
diff --git a/resources/views/kits/consumable-edit.blade.php b/resources/views/kits/consumable-edit.blade.php index 896b8c37d4..bcc5683f56 100644 --- a/resources/views/kits/consumable-edit.blade.php +++ b/resources/views/kits/consumable-edit.blade.php @@ -1,7 +1,7 @@ @extends('layouts/edit-form', [ 'createText' => 'Append consumable', // TODO: trans 'updateText' => 'Update appended consumable', // TODO: trans - 'formAction' => ($item) ? route('kits.consumables.update', ['kit_id' => $kit->id, 'consumable_id' => $item->consumable_id]) : route('kits.consumables.store', ['kit_id' => $kit->id]), + 'formAction' => (isset($item->id)) ? route('kits.consumables.update', ['kit_id' => $kit->id, 'consumable_id' => $item->consumable_id]) : route('kits.consumables.store', ['kit_id' => $kit->id]), ]) {{-- Page content --}} @@ -12,13 +12,13 @@
- +
{!! $errors->first('quantity', ' :message') !!}
-{{-- --}} +{{-- --}} @stop diff --git a/resources/views/kits/create.blade.php b/resources/views/kits/create.blade.php index 801f4c4800..c33fb35292 100644 --- a/resources/views/kits/create.blade.php +++ b/resources/views/kits/create.blade.php @@ -1,7 +1,7 @@ @extends('layouts/edit-form', [ 'createText' => trans('admin/kits/general.create'), 'updateText' => trans('admin/kits/general.update'), - 'formAction' => ($item) ? route('kits.update', ['kit' => $item->id]) : route('kits.store'), + 'formAction' => (isset($item->id)) ? route('kits.update', ['kit' => $item->id]) : route('kits.store'), ]) {{-- Page content --}} diff --git a/resources/views/kits/edit.blade.php b/resources/views/kits/edit.blade.php index 60b1c9e2d9..791de26d88 100644 --- a/resources/views/kits/edit.blade.php +++ b/resources/views/kits/edit.blade.php @@ -1,7 +1,7 @@ @extends('layouts/edit-form', [ 'createText' => trans('admin/kits/general.create'), 'updateText' => trans('admin/kits/general.update'), - 'formAction' => ($item) ? route('kits.update', ['kit' => $item->id]) : route('kits.store'), + 'formAction' => (isset($item->id)) ? route('kits.update', ['kit' => $item->id]) : route('kits.store'), ]) {{-- Page content --}} diff --git a/resources/views/kits/license-edit.blade.php b/resources/views/kits/license-edit.blade.php index f64678d9d6..09259663b2 100644 --- a/resources/views/kits/license-edit.blade.php +++ b/resources/views/kits/license-edit.blade.php @@ -1,7 +1,7 @@ @extends('layouts/edit-form', [ 'createText' => 'Append license', // TODO: trans 'updateText' => 'Update appended license', // TODO: trans - 'formAction' => ($item) ? route('kits.licenses.update', ['kit_id' => $kit->id, 'license_id' => $item->license_id]) : route('kits.licenses.store', ['kit_id' => $kit->id]), + 'formAction' => (isset($item->id)) ? route('kits.licenses.update', ['kit_id' => $kit->id, 'license_id' => $item->license_id]) : route('kits.licenses.store', ['kit_id' => $kit->id]), ]) {{-- Page content --}} @@ -11,13 +11,13 @@
- +
{!! $errors->first('quantity', ' :message') !!}
-{{-- --}} +{{-- --}} @stop diff --git a/resources/views/kits/model-edit.blade.php b/resources/views/kits/model-edit.blade.php index 61a419c958..ec1daf59ec 100644 --- a/resources/views/kits/model-edit.blade.php +++ b/resources/views/kits/model-edit.blade.php @@ -1,7 +1,7 @@ @extends('layouts/edit-form', [ 'createText' => 'Append model', // TODO: trans 'updateText' => 'Update appended model', // TODO: trans - 'formAction' => ($item) ? route('kits.models.update', ['kit_id' => $kit->id, 'model_id' => $item->model_id]) : route('kits.models.store', ['kit_id' => $kit->id]), + 'formAction' => (isset($item->id)) ? route('kits.models.update', ['kit_id' => $kit->id, 'model_id' => $item->model_id]) : route('kits.models.store', ['kit_id' => $kit->id]), ]) {{-- Page content --}} @@ -11,13 +11,13 @@
- +
{!! $errors->first('quantity', ' :message') !!}
-{{-- --}} +{{-- --}} @stop diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index 43a59c746c..e8d268bd3b 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -18,7 +18,7 @@ - + -@endpush \ No newline at end of file +@endpush diff --git a/resources/views/settings/localization.blade.php b/resources/views/settings/localization.blade.php index 2bdca37b73..de0cbaf919 100644 --- a/resources/views/settings/localization.blade.php +++ b/resources/views/settings/localization.blade.php @@ -46,7 +46,7 @@ {{ Form::label('site_name', trans('admin/settings/general.default_language')) }}
- {!! Form::locales('locale', Input::old('locale', $setting->locale), 'select2') !!} + {!! Form::locales('locale', Request::old('locale', $setting->locale), 'select2') !!} {!! $errors->first('locale', ':message') !!}
@@ -58,9 +58,9 @@ {{ Form::label('time_display_format', trans('general.time_and_date_display')) }}
- {!! Form::date_display_format('date_display_format', Input::old('date_display_format', $setting->date_display_format), 'select2') !!} + {!! Form::date_display_format('date_display_format', Request::old('date_display_format', $setting->date_display_format), 'select2') !!} - {!! Form::time_display_format('time_display_format', Input::old('time_display_format', $setting->time_display_format), 'select2') !!} + {!! Form::time_display_format('time_display_format', Request::old('time_display_format', $setting->time_display_format), 'select2') !!} {!! $errors->first('time_display_format', ':message') !!}
@@ -72,7 +72,7 @@ {{ Form::label('default_currency', trans('admin/settings/general.default_currency')) }}
- {{ Form::text('default_currency', Input::old('default_currency', $setting->default_currency), array('class' => 'form-control','placeholder' => 'USD', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} + {{ Form::text('default_currency', Request::old('default_currency', $setting->default_currency), array('class' => 'form-control','placeholder' => 'USD', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} {!! $errors->first('default_currency', ':message') !!}
diff --git a/resources/views/settings/purge-form.blade.php b/resources/views/settings/purge-form.blade.php index 8118bb08ad..a0e7ed5a25 100644 --- a/resources/views/settings/purge-form.blade.php +++ b/resources/views/settings/purge-form.blade.php @@ -30,9 +30,9 @@
@if (config('app.lock_passwords')===true) - {{ Form::text('confirm_purge', Input::old('confirm_purge'), array('class' => 'form-control', 'disabled'=>'disabled')) }} + {{ Form::text('confirm_purge', Request::old('confirm_purge'), array('class' => 'form-control', 'disabled'=>'disabled')) }} @else - {{ Form::text('confirm_purge', Input::old('confirm_purge'), array('class' => 'form-control')) }} + {{ Form::text('confirm_purge', Request::old('confirm_purge'), array('class' => 'form-control')) }} @endif {!! $errors->first('ldap_version', ':message') !!}
diff --git a/resources/views/settings/security.blade.php b/resources/views/settings/security.blade.php index bf17493b24..14bb339bd9 100644 --- a/resources/views/settings/security.blade.php +++ b/resources/views/settings/security.blade.php @@ -43,7 +43,7 @@
- {!! Form::two_factor_options('two_factor_enabled', Input::old('two_factor_enabled', $setting->two_factor_enabled), 'select2') !!} + {!! Form::two_factor_options('two_factor_enabled', Request::old('two_factor_enabled', $setting->two_factor_enabled), 'select2') !!}

{{ trans('admin/settings/general.two_factor_enabled_warning') }}

@if (config('app.lock_passwords')) @@ -60,7 +60,7 @@ {{ Form::label('pwd_secure_min', trans('admin/settings/general.pwd_secure_min')) }}
- {{ Form::text('pwd_secure_min', Input::old('pwd_secure_min', $setting->pwd_secure_min), array('class' => 'form-control', 'style'=>'width: 50px;')) }} + {{ Form::text('pwd_secure_min', Request::old('pwd_secure_min', $setting->pwd_secure_min), array('class' => 'form-control', 'style'=>'width: 50px;')) }} {!! $errors->first('pwd_secure_min', ':message') !!}

@@ -80,7 +80,7 @@

- {{ Form::checkbox('pwd_secure_uncommon', '1', Input::old('pwd_secure_uncommon', $setting->pwd_secure_uncommon),array('class' => 'minimal')) }} + {{ Form::checkbox('pwd_secure_uncommon', '1', Request::old('pwd_secure_uncommon', $setting->pwd_secure_uncommon),array('class' => 'minimal')) }} {{ Form::label('pwd_secure_uncommon', trans('general.yes')) }} {!! $errors->first('pwd_secure_uncommon', ':message') !!}

@@ -97,16 +97,16 @@

- {{ Form::checkbox("pwd_secure_complexity['letters']", 'letters', Input::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'letters')!==false), array('class' => 'minimal')) }} + {{ Form::checkbox("pwd_secure_complexity['letters']", 'letters', Request::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'letters')!==false), array('class' => 'minimal')) }} Require at least one letter
- {{ Form::checkbox("pwd_secure_complexity['numbers']", 'numbers', Input::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'numbers')!==false), array('class' => 'minimal')) }} + {{ Form::checkbox("pwd_secure_complexity['numbers']", 'numbers', Request::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'numbers')!==false), array('class' => 'minimal')) }} Require at least one number
- {{ Form::checkbox("pwd_secure_complexity['symbols']", 'symbols', Input::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'symbols')!==false), array('class' => 'minimal')) }} + {{ Form::checkbox("pwd_secure_complexity['symbols']", 'symbols', Request::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'symbols')!==false), array('class' => 'minimal')) }} Require at least one symbol
- {{ Form::checkbox("pwd_secure_complexity['case_diff']", 'case_diff', Input::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'case_diff')!==false), array('class' => 'minimal')) }} + {{ Form::checkbox("pwd_secure_complexity['case_diff']", 'case_diff', Request::old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'case_diff')!==false), array('class' => 'minimal')) }} Require at least one uppercase and one lowercase

@@ -127,7 +127,7 @@ @if (config('app.lock_passwords'))

{{ trans('general.feature_disabled') }}

@else - {{ Form::checkbox('login_remote_user_enabled', '1', Input::old('login_remote_user_enabled', $setting->login_remote_user_enabled),array('class' => 'minimal')) }} + {{ Form::checkbox('login_remote_user_enabled', '1', Request::old('login_remote_user_enabled', $setting->login_remote_user_enabled),array('class' => 'minimal')) }} {{ Form::label('login_remote_user_enabled', trans('admin/settings/general.login_remote_user_enabled_text')) }} {!! $errors->first('login_remote_user_enabled', ':message') !!}

@@ -135,21 +135,21 @@

{{ Form::label('login_remote_user_header_name', trans('admin/settings/general.login_remote_user_header_name_text')) }} - {{ Form::text('login_remote_user_header_name', Input::old('login_remote_user_header_name', $setting->login_remote_user_header_name),array('class' => 'form-control')) }} + {{ Form::text('login_remote_user_header_name', Request::old('login_remote_user_header_name', $setting->login_remote_user_header_name),array('class' => 'form-control')) }} {!! $errors->first('login_remote_user_header_name', ':message') !!}

{{ trans('admin/settings/general.login_remote_user_header_name_help') }}

{{ Form::label('login_remote_user_custom_logout_url', trans('admin/settings/general.login_remote_user_custom_logout_url_text')) }} - {{ Form::text('login_remote_user_custom_logout_url', Input::old('login_remote_user_custom_logout_url', $setting->login_remote_user_custom_logout_url),array('class' => 'form-control')) }} + {{ Form::text('login_remote_user_custom_logout_url', Request::old('login_remote_user_custom_logout_url', $setting->login_remote_user_custom_logout_url),array('class' => 'form-control')) }} {!! $errors->first('login_remote_user_custom_logout_url', ':message') !!}

{{ trans('admin/settings/general.login_remote_user_custom_logout_url_help') }}

- {{ Form::checkbox('login_common_disabled', '1', Input::old('login_common_disabled', $setting->login_common_disabled),array('class' => 'minimal')) }} + {{ Form::checkbox('login_common_disabled', '1', Request::old('login_common_disabled', $setting->login_common_disabled),array('class' => 'minimal')) }} {{ Form::label('login_common_disabled', trans('admin/settings/general.login_common_disabled_text')) }} {!! $errors->first('login_common_disabled', ':message') !!}

diff --git a/resources/views/settings/slack.blade.php b/resources/views/settings/slack.blade.php index a726e71e08..18c221b881 100644 --- a/resources/views/settings/slack.blade.php +++ b/resources/views/settings/slack.blade.php @@ -57,9 +57,9 @@

@if (config('app.lock_passwords')===true) - {{ Form::text('slack_endpoint', Input::old('slack_endpoint', $setting->slack_endpoint), array('class' => 'form-control','disabled'=>'disabled','placeholder' => 'https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXX')) }} + {{ Form::text('slack_endpoint', Request::old('slack_endpoint', $setting->slack_endpoint), array('class' => 'form-control','disabled'=>'disabled','placeholder' => 'https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXX')) }} @else - {{ Form::text('slack_endpoint', Input::old('slack_endpoint', $setting->slack_endpoint), array('class' => 'form-control','placeholder' => 'https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXX')) }} + {{ Form::text('slack_endpoint', Request::old('slack_endpoint', $setting->slack_endpoint), array('class' => 'form-control','placeholder' => 'https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXX')) }} @endif {!! $errors->first('slack_endpoint', ':message') !!}
@@ -72,9 +72,9 @@
@if (config('app.lock_passwords')===true) - {{ Form::text('slack_channel', Input::old('slack_channel', $setting->slack_channel), array('class' => 'form-control','disabled'=>'disabled','placeholder' => '#IT-Ops')) }} + {{ Form::text('slack_channel', Request::old('slack_channel', $setting->slack_channel), array('class' => 'form-control','disabled'=>'disabled','placeholder' => '#IT-Ops')) }} @else - {{ Form::text('slack_channel', Input::old('slack_channel', $setting->slack_channel), array('class' => 'form-control','placeholder' => '#IT-Ops')) }} + {{ Form::text('slack_channel', Request::old('slack_channel', $setting->slack_channel), array('class' => 'form-control','placeholder' => '#IT-Ops')) }} @endif {!! $errors->first('slack_channel', ':message') !!}
@@ -87,9 +87,9 @@
@if (config('app.lock_passwords')===true) - {{ Form::text('slack_botname', Input::old('slack_botname', $setting->slack_botname), array('class' => 'form-control','disabled'=>'disabled','placeholder' => 'Snipe-Bot')) }} + {{ Form::text('slack_botname', Request::old('slack_botname', $setting->slack_botname), array('class' => 'form-control','disabled'=>'disabled','placeholder' => 'Snipe-Bot')) }} @else - {{ Form::text('slack_botname', Input::old('slack_botname', $setting->slack_botname), array('class' => 'form-control','placeholder' => 'Snipe-Bot')) }} + {{ Form::text('slack_botname', Request::old('slack_botname', $setting->slack_botname), array('class' => 'form-control','placeholder' => 'Snipe-Bot')) }} @endif {!! $errors->first('slack_botname', ':message') !!}
diff --git a/resources/views/setup/user.blade.php b/resources/views/setup/user.blade.php index 6459a4a3b4..8efd03a49e 100644 --- a/resources/views/setup/user.blade.php +++ b/resources/views/setup/user.blade.php @@ -20,7 +20,7 @@ Create a User ::
{{ Form::label('site_name', trans('general.site_name')) }} - {{ Form::text('site_name', Input::old('site_name'), array('class' => 'form-control','placeholder' => 'Snipe-IT Asset Management')) }} + {{ Form::text('site_name', Request::old('site_name'), array('class' => 'form-control','placeholder' => 'Snipe-IT Asset Management')) }} {!! $errors->first('site_name', ':message') !!}
@@ -31,7 +31,7 @@ Create a User ::
{{ Form::label('locale', trans('admin/settings/general.default_language')) }} - {!! Form::locales('locale', Input::old('locale', "en"), 'select2') !!} + {!! Form::locales('locale', Request::old('locale', "en"), 'select2') !!} {!! $errors->first('locale', ':message') !!}
@@ -39,7 +39,7 @@ Create a User ::
{{ Form::label('default_currency', trans('admin/settings/general.default_currency')) }} - {{ Form::text('default_currency', Input::old('default_currency'), array('class' => 'form-control','placeholder' => 'USD', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} + {{ Form::text('default_currency', Request::old('default_currency'), array('class' => 'form-control','placeholder' => 'USD', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} {!! $errors->first('default_currency', ':message') !!}
@@ -74,14 +74,14 @@ Create a User ::
{{ Form::label('auto_increment_prefix', trans('admin/settings/general.auto_increment_prefix')) }} - {{ Form::text('auto_increment_prefix', Input::old('auto_increment_prefix'), array('class' => 'form-control')) }} + {{ Form::text('auto_increment_prefix', Request::old('auto_increment_prefix'), array('class' => 'form-control')) }} {!! $errors->first('auto_increment_prefix', ':message') !!}
{{ Form::label('zerofill_count', trans('admin/settings/general.zerofill_count')) }} - {{ Form::text('zerofill_count', Input::old('zerofill_count', 5), array('class' => 'form-control')) }} + {{ Form::text('zerofill_count', Request::old('zerofill_count', 5), array('class' => 'form-control')) }} {!! $errors->first('zerofill_count', ':message') !!}
@@ -92,7 +92,7 @@ Create a User ::
{{ Form::label('email_domain', trans('general.email_domain')) }} - {{ Form::text('email_domain', Input::old('email_domain'), array('class' => 'form-control','placeholder' => 'example.com')) }} + {{ Form::text('email_domain', Request::old('email_domain'), array('class' => 'form-control','placeholder' => 'example.com')) }} {{ trans('general.email_domain_help') }} {!! $errors->first('email_domain', ':message') !!} @@ -101,7 +101,7 @@ Create a User ::
{{ Form::label('email_format', trans('general.email_format')) }} - {!! Form::username_format('email_format', Input::old('email_format', 'filastname'), 'select2') !!} + {!! Form::username_format('email_format', Request::old('email_format', 'filastname'), 'select2') !!} {!! $errors->first('email_format', ':message') !!}
@@ -111,14 +111,14 @@ Create a User ::
{{ Form::label('first_name', trans('general.first_name')) }} - {{ Form::text('first_name', Input::old('first_name'), array('class' => 'form-control','placeholder' => 'Jane')) }} + {{ Form::text('first_name', Request::old('first_name'), array('class' => 'form-control','placeholder' => 'Jane')) }} {!! $errors->first('first_name', ':message') !!}
{{ Form::label('last_name', trans('general.last_name')) }} - {{ Form::text('last_name', Input::old('last_name'), array('class' => 'form-control','placeholder' => 'Smith')) }} + {{ Form::text('last_name', Request::old('last_name'), array('class' => 'form-control','placeholder' => 'Smith')) }} {!! $errors->first('last_name', ':message') !!}
@@ -134,7 +134,7 @@ Create a User ::
{{ Form::label('username', trans('admin/users/table.username')) }} - {{ Form::text('username', Input::old('username'), array('class' => 'form-control','placeholder' => 'jsmith')) }} + {{ Form::text('username', Request::old('username'), array('class' => 'form-control','placeholder' => 'jsmith')) }} {!! $errors->first('username', ':message') !!}
diff --git a/resources/views/statuslabels/edit.blade.php b/resources/views/statuslabels/edit.blade.php index 729da4fb37..6dbcd3fb6d 100755 --- a/resources/views/statuslabels/edit.blade.php +++ b/resources/views/statuslabels/edit.blade.php @@ -3,7 +3,7 @@ 'updateText' => trans('admin/statuslabels/table.update'), 'helpTitle' => trans('admin/statuslabels/table.about'), 'helpText' => trans('admin/statuslabels/table.info'), - 'formAction' => ($item) ? route('statuslabels.update', ['statuslabel' => $item->id]) : route('statuslabels.store'), + 'formAction' => (isset($item->id)) ? route('statuslabels.update', ['statuslabel' => $item->id]) : route('statuslabels.store'), ]) {{-- Page content --}} @@ -35,7 +35,7 @@ {{ Form::label('color', trans('admin/statuslabels/table.color'), ['class' => 'col-md-3 control-label']) }}
- {{ Form::text('color', Input::old('color', $item->color), array('class' => 'form-control', 'style' => 'width: 100px;', 'maxlength'=>'10')) }} + {{ Form::text('color', Request::old('color', $item->color), array('class' => 'form-control', 'style' => 'width: 100px;', 'maxlength'=>'10')) }}
{!! $errors->first('header_color', ':message') !!} @@ -48,7 +48,7 @@
@@ -56,7 +56,7 @@

{{ trans('admin/statuslabels/table.default_label_help') }}

diff --git a/resources/views/statuslabels/view.blade.php b/resources/views/statuslabels/view.blade.php index b0e08d0747..7655788746 100644 --- a/resources/views/statuslabels/view.blade.php +++ b/resources/views/statuslabels/view.blade.php @@ -20,7 +20,7 @@ 'id' => 'bulkForm']) }}
- @if (Input::get('status')!='Deleted') + @if (Request::get('status')!='Deleted')
+ {!! $errors->first('first_name', ':message') !!}
@@ -97,7 +97,7 @@
- + {!! $errors->first('last_name', ':message') !!}
@@ -112,7 +112,7 @@ type="text" name="username" id="username" - value="{{ Input::old('username', $user->username) }}" + value="{{ Request::old('username', $user->username) }}" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" @@ -123,7 +123,7 @@ @endif @else (Managed via LDAP) - + @endif @@ -196,7 +196,7 @@ type="text" name="email" id="email" - value="{{ Input::old('email', $user->email) }}" + value="{{ Request::old('email', $user->email) }}" {{ ((config('app.lock_passwords') && ($user->id)) ? ' disabled' : '') }} autocomplete="off" readonly @@ -217,7 +217,7 @@
- {!! Form::locales('locale', Input::old('locale', $user->locale), 'select2') !!} + {!! Form::locales('locale', Request::old('locale', $user->locale), 'select2') !!} {!! $errors->first('locale', ':message') !!}
@@ -231,7 +231,7 @@ type="text" name="employee_num" id="employee_num" - value="{{ Input::old('employee_num', $user->employee_num) }}" + value="{{ Request::old('employee_num', $user->employee_num) }}" /> {!! $errors->first('employee_num', ':message') !!}
@@ -247,7 +247,7 @@ type="text" name="jobtitle" id="jobtitle" - value="{{ Input::old('jobtitle', $user->jobtitle) }}" + value="{{ Request::old('jobtitle', $user->jobtitle) }}" /> {!! $errors->first('jobtitle', ':message') !!}
@@ -268,7 +268,7 @@
- + {!! $errors->first('phone', ':message') !!}
@@ -277,7 +277,7 @@
- + {!! $errors->first('website', ' :message') !!}
@@ -286,7 +286,7 @@
- + {!! $errors->first('address', ':message') !!}
@@ -295,7 +295,7 @@
- + {!! $errors->first('city', ':message') !!}
@@ -304,7 +304,7 @@
- + {!! $errors->first('state', ':message') !!}
@@ -313,7 +313,7 @@
- {!! Form::countries('country', Input::old('country', $user->country), 'select2') !!} + {!! Form::countries('country', Request::old('country', $user->country), 'select2') !!} {!! $errors->first('country', ':message') !!}
@@ -322,7 +322,7 @@
- + {!! $errors->first('zip', ':message') !!}
@@ -374,7 +374,7 @@
- {{ Form::checkbox('email_user', '1', Input::old('email_user'),['class' => 'minimal', 'disabled'=>true, 'id' => 'email_user_checkbox']) }} + {{ Form::checkbox('email_user', '1', Request::old('email_user'),['class' => 'minimal', 'disabled'=>true, 'id' => 'email_user_checkbox']) }} Email this user their credentials?
@@ -396,11 +396,11 @@
@if (config('app.lock_passwords'))
- {{ Form::checkbox('two_factor_optin', '1', Input::old('two_factor_optin', $user->two_factor_optin),['class' => 'minimal', 'disabled'=>'disabled']) }} {{ trans('admin/settings/general.two_factor_enabled_text') }} + {{ Form::checkbox('two_factor_optin', '1', Request::old('two_factor_optin', $user->two_factor_optin),['class' => 'minimal', 'disabled'=>'disabled']) }} {{ trans('admin/settings/general.two_factor_enabled_text') }}

{{ trans('general.feature_disabled') }}

@else - {{ Form::checkbox('two_factor_optin', '1', Input::old('two_factor_optin', $user->two_factor_optin),['class' => 'minimal']) }} {{ trans('admin/settings/general.two_factor_enabled_text') }} + {{ Form::checkbox('two_factor_optin', '1', Request::old('two_factor_optin', $user->two_factor_optin),['class' => 'minimal']) }} {{ trans('admin/settings/general.two_factor_enabled_text') }}

{{ trans('admin/users/general.two_factor_admin_optin_help') }}

@endif @@ -430,7 +430,7 @@
- + {!! $errors->first('notes', ' :message') !!}
diff --git a/resources/views/users/index.blade.php b/resources/views/users/index.blade.php index ab9e776a9b..4e80452405 100755 --- a/resources/views/users/index.blade.php +++ b/resources/views/users/index.blade.php @@ -3,7 +3,7 @@ {{-- Page title --}} @section('title') -@if (Input::get('status')=='deleted') +@if (Request::get('status')=='deleted') {{ trans('general.deleted') }} @else {{ trans('general.current') }} @@ -21,7 +21,7 @@ {{ trans('general.create') }} @endcan - @if (Input::get('status')=='deleted') + @if (Request::get('status')=='deleted') {{ trans('admin/users/table.show_current') }} @else {{ trans('admin/users/table.show_deleted') }} @@ -44,7 +44,7 @@ 'class' => 'form-inline', 'id' => 'bulkForm']) }} - @if (Input::get('status')!='deleted') + @if (Request::get('status')!='deleted') @can('delete', \App\Models\User::class)