From e05976a982537f6b555adb1db83fc4a826e795b4 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Tue, 12 Dec 2017 12:43:58 -0600 Subject: [PATCH] Add additional settings; Use pilot id length from setting --- .idea/inspectionProfiles/Project_Default.xml | 1 + app/Models/Flight.php | 4 +- app/Models/Pirep.php | 4 +- app/Models/Traits/{Uuids.php => HashId.php} | 8 ++-- app/Models/User.php | 26 ++++++------ app/Repositories/SettingRepository.php | 41 ++++++++++++++++--- app/helpers.php | 2 +- .../2017_06_08_0000_create_users_table.php | 2 +- ...017_12_10_014930_create_settings_table.php | 11 ++++- package-lock.json | 24 +++++------ resources/views/admin/pireps/fields.blade.php | 2 +- .../layouts/default/dashboard/index.blade.php | 2 +- 12 files changed, 82 insertions(+), 45 deletions(-) rename app/Models/Traits/{Uuids.php => HashId.php} (86%) diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 190f8e43..1c6d6936 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -2,6 +2,7 @@