Commit Graph

285 Commits

Author SHA1 Message Date
Nabeel Shahzad
7e09cf6c28 Add enums for the custom analytics fields 2018-01-18 22:32:50 -05:00
Nabeel Shahzad
dce9723979 Set airport and landing time of aircraft after pirep accept #112 2018-01-10 12:39:13 -06:00
Nabeel Shahzad
78912f2f31 Allow user to set country 2018-01-09 19:08:16 -06:00
Nabeel Shahzad
cbdce35545 Aircraft can be added without subfleet/block subfleet deletion if still in use #128 2018-01-09 13:34:19 -06:00
Nabeel Shahzad
110d742714 cleanup model relationship references 2018-01-08 09:22:12 -06:00
Nabeel Shahzad
8d65462084 Add news tables and models #52 2018-01-08 09:02:55 -06:00
Nabeel Shahzad
7e45291b27 Add pivot table for flight_fare to override fare #125 2018-01-07 09:19:46 -06:00
Nabeel Shahzad
d63f0ee2f8 Added /api/settings to retrieve all VA settings #120 2018-01-06 15:41:23 -06:00
Nabeel Shahzad
1ee9041058 Add /api/fleet to get subfleets and all the aircraft #120 2018-01-05 10:45:34 -06:00
Nabeel Shahzad
b62fa7757c Overhaul of ACARS/PIREP APIs 2018-01-04 19:33:23 -06:00
Nabeel Shahzad
64734af419 Fix broken test/Airport model in boot 2018-01-03 22:28:17 -06:00
Nabeel Shahzad
676a310432 Add relationship to pull ACARS log messages 2018-01-03 22:19:06 -06:00
Nabeel Shahzad
81650f5c34 Added AcarsType::LOG 2018-01-03 22:10:56 -06:00
Nabeel Shahzad
fe4e200983 Trim ICAO/IATA names, clean up model fields 2018-01-03 22:04:51 -06:00
Nabeel Shahzad
507ce5f24f Add flights to the importer, added a few missing columns with output 2018-01-03 21:40:05 -06:00
web541
08df20de19 Fixed a few field entries (#116)
* Stopped inheritance errors popping up

* Added fillable fields

These would not save otherwise.

* Added country fillable field

Wouldn’t save when importing from phpvms classic.

* Added more to classic importer

Change arguments to ask in terminal
Fixed table_prefix names in Importer.php

Added the ability to import users from phpvms classic (tested on
simpilot’s 5.5.x) and when importing, it will then reset the user’s
password to a temporary hash and then email it to the user to then
change when they first log in.

* Changes to ImporterService
2018-01-03 15:41:21 -06:00
Nabeel Shahzad
be6e5e8dec admin can add comments to PIREPs #70 2018-01-03 15:27:56 -06:00
Nabeel Shahzad
fce6c987fd Add some stats info for airlines and the stats table #108 2018-01-03 12:58:38 -06:00
Nabeel Shahzad
2394b8e419 Rename field to image_link and add field to edit #111 2018-01-03 12:47:12 -06:00
Nabeel Shahzad
4a5c11fc34 Add a DELETED state for PIREPs 2018-01-03 10:30:12 -06:00
Nabeel Shahzad
8744a8b17b Add a CANCELLED state for PIREPs 2018-01-03 09:49:32 -06:00
web541
e3bd4fb169
Remove unique email entry 2018-01-03 16:15:48 +11:00
Nabeel Shahzad
a6ddecf159 Basic import logic and scaffolding #114 2018-01-02 21:00:46 -06:00
Nabeel Shahzad
b0907504b6 Updates to settings code for creating the ID and setting the order 2018-01-02 11:42:26 -06:00
Nabeel Shahzad
37cdde845d Add order column to ACARS table for the order of the route points 2018-01-02 09:40:42 -06:00
Nabeel Shahzad
78af2fd637 cleanup of geojson and route map code 2018-01-01 19:02:22 -06:00
Nabeel Shahzad
5cf0bbaa65 Clean up the GeoJSON generation code 2018-01-01 16:01:01 -06:00
Nabeel Shahzad
b456dc1a71 Save PIREP route to ACARS data table #102 2018-01-01 13:48:02 -06:00
Nabeel Shahzad
fc52bdf166 Restrict relationship to FLIGHT_PATH #102 2018-01-01 10:38:45 -06:00
Nabeel Shahzad
078e26df57 Add AcarsType column and enum; save flight updates as FLIGHT_PATH #102 2018-01-01 10:30:31 -06:00
Nabeel Shahzad
6406f47aaa Fix up the PIREP field CRUD code 2017-12-31 20:59:26 -06:00
Nabeel Shahzad
11c724649c Field and error message cleanup 2017-12-31 14:20:52 -06:00
Nabeel Shahzad
d93e461266 Field cleanup and some field details 2017-12-31 14:00:50 -06:00
Nabeel Shahzad
4cc08406fa Regenerate API key 2017-12-31 13:08:41 -06:00
Nabeel Shahzad
e73440d081 format settings key 2017-12-31 11:19:18 -06:00
Nabeel Shahzad
948338d2b6 Change setting table ID to string, handle the converison of . to _ 2017-12-31 11:09:56 -06:00
Nabeel Shahzad
81e82629ac Rename PilotState class to UserState 2017-12-30 20:40:32 -06:00
Nabeel Shahzad
7180bfb111 cleanup validation rules 2017-12-30 14:37:10 -06:00
Nabeel Shahzad
2ddc613c81 add acars table to uuid table list 2017-12-30 14:13:47 -06:00
Nabeel Shahzad
3bbc32e235 allow the API key to be settable 2017-12-30 12:15:26 -06:00
Nabeel Shahzad
4a1d7c59fb added settings page in admin #93 2017-12-30 10:38:18 -06:00
Nabeel Shahzad
7cd4bf5ffb Add user setup to installer 2017-12-29 16:56:46 -06:00
Nabeel Shahzad
9d92d8af55 More work on the pirep/acars maps 2017-12-28 14:35:28 -06:00
Nabeel Shahzad
edca0644ff Add acars map page and show in-progress flights 2017-12-27 16:47:22 -06:00
Nabeel Shahzad
4f6b8e8e23 plot actual flight path and datapoints from ACARS table 2017-12-26 15:26:12 -06:00
Nabeel Shahzad
9916444ca2 change field to in acars table 2017-12-25 18:22:46 -06:00
Nabeel Shahzad
f29a9cfdc5 some acars/tables fixes 2017-12-25 18:10:24 -06:00
Nabeel Shahzad
3bd97b4d37 add PIREP pre-file and ACARS updates; removing caching from ACARS/Pirep/User repositories; adjust PirepState enum values; add additional columns 2017-12-25 15:19:34 -06:00
Nabeel Shahzad
70b1476e93 Add markers for the navpoints on the flight and pirep maps 2017-12-24 17:38:38 -06:00
Nabeel Shahzad
07bcc5f199 Fixed login and added suspended message 2017-12-23 08:36:02 -06:00
Nabeel Shahzad
babdca627e Fixes and cleanup for user pending/registration calls 2017-12-22 16:32:21 -06:00
Nabeel Shahzad
1ebf2bd09c Don't allow login if user is pending or rejected; some refactoring of the registration code 2017-12-22 13:38:24 -06:00
Nabeel Shahzad
161623c85e Fixes for emails; send user registered/pending depending on state 2017-12-22 12:46:46 -06:00
Nabeel Shahzad
6c546b5094 Add flight route map; algorithm for picking from multiple nav points; some tests 2017-12-20 19:12:39 -06:00
Nabeel Shahzad
17093e9fe9 Import navigation data from Navigraph files 2017-12-20 16:34:52 -06:00
Nabeel Shahzad
3f8073e552 Add initial translations for enumerated values 2017-12-20 13:27:57 -06:00
Nabeel Shahzad
e5278bc0bf Output PIREP map with just the dep/arr airports for now 2017-12-20 11:28:21 -06:00
Nabeel Shahzad
0375bb420f Major refactoring for PIREP statuses and states to accomodate ACARS/route data 2017-12-19 20:19:36 -06:00
Nabeel Shahzad
5bedbba2a7 use laratrust to replace entrust #78 2017-12-15 12:36:13 -06:00
Nabeel Shahzad
ab75ef7cf8 Fix and enable Subfleet/Fare tests and factories 2017-12-13 11:29:14 -06:00
Nabeel Shahzad
55250b8789 PIREP tests working, using minutes to track flight hours instead of seconds 2017-12-13 10:56:26 -06:00
Nabeel Shahzad
248a8d1488 Add more API resources; user bid management and tests #35 #36 2017-12-12 16:58:27 -06:00
Nabeel Shahzad
a5cf130176 add a has_bid column to the flights table 2017-12-12 13:59:05 -06:00
Nabeel Shahzad
d634778ed2 Cleaning up database fields, fix types and columns 2017-12-12 13:26:08 -06:00
Nabeel Shahzad
e05976a982 Add additional settings; Use pilot id length from setting 2017-12-12 12:43:58 -06:00
Nabeel Shahzad
de582f617c Rename UserFlight to UserBid to match functionality 2017-12-12 11:49:35 -06:00
Nabeel Shahzad
373f45c86c Convert flight transformer to the native Laravel resource object 2017-12-12 07:25:11 -06:00
Nabeel Shahzad
0f18e60fd9 #36 Add authentication for API; generate API key 2017-12-11 22:05:22 -06:00
Nabeel Shahzad
f2add8908b add setting() helper; fix invalid defaults for mysql in table 2017-12-09 21:56:26 -06:00
Nabeel Shahzad
d34e30666d Cleanup for settings table and moved some seed data into the migrations 2017-12-09 21:21:49 -06:00
Nabeel Shahzad
f0309e65de set/add timezone information for airports and users 2017-12-06 16:07:25 -06:00
Nabeel Shahzad
5593d01035 Edit user PIREP 2017-12-03 15:29:34 -06:00
Nabeel Shahzad
4c8fca39eb accept/reject pireps in admin; cleanup and refactoring 2017-12-03 00:48:33 -06:00
Nabeel Shahzad
e1b0b92f83 flight search and pagination (in admin), schema changes to accomodate 2017-11-30 20:28:45 -06:00
Nabeel Shahzad
f52b4bb4d9 Initial user management in admin panel 2017-11-29 18:01:07 -06:00
Nabeel Shahzad
feca30c4cb composer update == bad 2017-09-07 15:40:30 -05:00
Nabeel Shahzad
1502e0193f fix tests, finally. i hope. cleanup before laravel 5.5 update 2017-09-07 15:35:17 -05:00
Nabeel Shahzad
aba0ed2065 use hashid vs uuid for pirep fields 2017-08-24 10:51:47 -05:00
Nabeel Shahzad
0d29369e54 #21 file PIREP; populate custom fields and set correct status 2017-08-23 14:19:05 -05:00
Nabeel Shahzad
beba08f651 add/set ICAO and logo for airlines 2017-08-16 08:11:39 -05:00
Nabeel Shahzad
c45d0541ef #35 rest api additions for pireps 2017-08-14 23:36:49 -05:00
Nabeel Shahzad
bc94772ce2 intitial work on rest api 2017-08-14 18:26:20 -05:00
Nabeel Shahzad
b817760276 move traits into their own namespace 2017-08-12 12:24:00 -05:00
Kyle
afc3e7643d Corrected Uuid Trait Errors 2017-08-12 16:47:44 +00:00
Kyle
70dfea96c8 My bad, my editor didn't pull the latest file on User.php 2017-08-12 16:47:44 +00:00
Kyle
5b83ca3e9b Register form and functionally 2017-08-12 16:47:44 +00:00
Nabeel Shahzad
3f61b82b11 this should fix the build and shut travis up 2017-08-10 18:29:02 -05:00
Nabeel Shahzad
f46f87567c some sample users and gravatar lookup 2017-08-10 18:21:24 -05:00
Nabeel Shahzad
9d53c0103f #57 user can save flights 2017-08-03 21:02:02 -05:00
Nabeel Shahzad
1953c4dcb5 add a pirep_comments table 2017-08-02 10:17:54 -05:00
Nabeel Shahzad
3a77e442ea add pirep events model 2017-07-23 13:07:41 -05:00
Nabeel Shahzad
9986f5df33 add airline reference to PIREP 2017-07-23 09:45:33 -05:00
Nabeel Shahzad
9a08586564 allow setting of IATA code for airline 2017-07-22 23:03:39 -05:00
Nabeel Shahzad
fc6253b46f #21 adjust the pirep view/edit form 2017-07-13 22:09:38 -05:00
Nabeel Shahzad
4f2f08af62 #48 Model/relationships for custom flight fields 2017-07-10 19:06:06 -05:00
Nabeel Shahzad
b5dd700044 Adjust columns in migrations and give lens to strings and custom flight fields #48 2017-07-10 18:54:51 -05:00
Tim
45793d3b2f Merge branch 'master' into dev 2017-07-08 15:12:20 +02:00
Tim
650341e7c8 Update Airline.php 2017-07-08 15:09:58 +02:00
Nabeel Shahzad
06367d149d Merge branch 'master' into patch-2 2017-07-08 08:04:43 -05:00
Tim
aece7809fa Active checkbox changed to integer 2017-07-08 11:25:09 +02:00
Tim
06f481a262 Fix adding of airport
Fix the adding of airport. It will now save the lat & Long and allow to put decimals in rather than just a rounded number
2017-07-07 23:15:03 +02:00
Tim
acd5da56ce Change flight number to integer 2017-07-07 22:41:02 +02:00
Nabeel Shahzad
10baaab646 #41 inline editing of fuel prices 2017-07-05 18:48:32 -05:00
Nabeel Shahzad
d44d374218 #41 add fuel prices to the airports table 2017-07-05 13:25:40 -05:00
Nabeel Shahzad
e6b338cd32 #41 add fuel type to subfleet table 2017-07-05 09:55:36 -05:00
Nabeel Shahzad
870eefb83d #21 Some more fixes for PIREPs 2017-07-04 13:57:08 -05:00
Nabeel Shahzad
77b164a64c #21 base code for accepting/rejecting PIREPs 2017-07-04 01:05:37 -05:00
Nabeel Shahzad
9b6f9e9586 #21 basic listings/model configs 2017-07-02 21:25:48 -05:00
Nabeel Shahzad
9dc880d7d3 #23 cleaned up rank data and templates 2017-07-02 15:03:25 -05:00
Nabeel Shahzad
0821258a2d #21 FK wiring 2017-06-29 15:50:16 -05:00
Nabeel Shahzad
fc1220178b #21 PIREP scaffolding 2017-06-28 19:57:22 -05:00
Nabeel Shahzad
477b99de29 \#21 PIREP scaffolding 2017-06-28 19:57:15 -05:00
Nabeel Shahzad
5dce55b4f3 cleanup aircraft table/repo 2017-06-24 14:00:56 -05:00
Nabeel Shahzad
fe1100e57f #34 remove users from uuid 2017-06-24 13:30:13 -05:00
Nabeel Shahzad
ba57cef0a7 #34 Generate UUID on seeder/models 2017-06-24 13:20:24 -05:00
Nabeel Shahzad
3736e530bf #32 moved fares to subfleets 2017-06-24 11:09:27 -05:00
Nabeel Shahzad
ca74afacd8 formatting 2017-06-23 17:38:32 -05:00
Nabeel Shahzad
c3e417429a #32 assign aircraft to subfleets, and aircraft to subfleets 2017-06-23 17:33:18 -05:00
Nabeel Shahzad
aaaead77a5 #32 subfleet classificiation scaffolding 2017-06-22 20:55:45 -05:00
PHP-Mods
6bbb37061b reset the example data in config/mail.php 2017-06-22 13:32:36 +03:00
Nabeel Shahzad
5b920151b8 #23 add rankings 2017-06-21 20:18:01 -05:00
Nabeel Shahzad
cb631292b9 #23 refactoring for ranks 2017-06-21 13:44:30 -05:00
Nabeel Shahzad
b5c41626c5 #23 initial scaffolding for rankings 2017-06-21 12:10:25 -05:00
Nabeel Shahzad
381a713882 more schema adjustments to tighten up column types and constraints 2017-06-21 11:40:08 -05:00
Nabeel Shahzad
c732476f6d Rename 'Airlines' model to 'Airline' 2017-06-19 11:50:25 -05:00
Nabeel Shahzad
f4e7eef40c #14 initial scaffolding for adding flights/schedules 2017-06-17 17:25:36 -05:00
Nabeel Shahzad
38d8371e0b fixed admin route prefix problem and invalid validations 2017-06-11 15:37:57 -05:00
Nabeel Shahzad
d3cf57a1d1 add airports table and #7 integrate permissions 2017-06-11 11:36:16 -05:00
Nabeel Shahzad
c542d85366 include entrust and some seed data for admin role/user 2017-06-10 20:10:31 -05:00
Nabeel Shahzad
bf910e4549 set fare classes on aircraft w/ overrides (no admin ui yet) 2017-06-10 18:27:19 -05:00
Nabeel Shahzad
bacc372985 fares & aircraft fares 2017-06-10 01:50:00 -05:00
Nabeel Shahzad
7a79a8558e some refactoring for tests and adding some tables 2017-06-09 22:19:17 -05:00
Nabeel Shahzad
0cb98f1920 rename 'enabled' to 'active' 2017-06-08 20:46:50 -05:00
Nabeel Shahzad
3678363766 add Aircraft CRUD 2017-06-08 20:37:51 -05:00
Nabeel Shahzad
4fcfc84ccf Airlines model and controller 2017-06-08 20:02:52 -05:00