phpvms/app
B.Fatih KOZ 4c60e5da69
Eager loading update for frontend controllers and widgets (#1348)
* Update AirportController.php

Eager load `files`

* Update DashboardController.php

 Eager load `journal` for user , and `aircraft, arr_airport, comments, dpt_airport` for last_pirep.

* Update FlightController.php

Eager load + `alt_airport, subfleets` (with their airlines) for flights and `current_airport` for user 
(though current_airport can be removed and we can base the in blade checks on `$user->curr_airport_id` to reduce db reads and model loading)

* Update HomeController.php

Eager load `home_airport` for users

* Update PirepController.php

Eager load `airline, aircraft, fares, transactions, dpt_airport, arr_airport, comments, simbrief, user with rank` for pirep details

* Update ProfileController.php

Eager load `airline, awards, current_airport, fields.field, home_airport, last_pirep, rank` for user

* Update UserController.php

Eager load `airline, current_airport, fields.field, home_airport, rank` for users and count `awards`

* Update AirportController.php

* Update DashboardController.php

* Update PirepController.php

* Update ProfileController.php

* Update LatestNews.php

Eager load `user` for news

* Update LatestPilots.php

Eager load `home_airport` for latest users

* StyleFix 1

* StlyeFix 1.5

* Update SimBriefController.php

Eager load airline with flight

* Update SimBriefController.php

* Update SimBriefController.php
2021-11-09 09:51:02 -05:00
..
Bootstrap 391 Notification refactorings (#441) 2019-11-20 10:16:01 -05:00
Console Discord notifications for PIREP and News events #433 (#1215) 2021-06-04 10:51:59 -04:00
Contracts Check for blank values on import and omit them (#1266) 2021-07-22 15:56:03 -04:00
Cron Fix where for paused 2021-07-22 12:47:55 -04:00
Database Fix data not showing up for live map (#1223) 2021-06-04 16:57:27 -04:00
Events Add Custom Fares (#1323) 2021-09-30 11:10:05 -04:00
Exceptions Check Aircraft Availability (#1177) 2021-05-13 15:26:53 -04:00
Http Eager loading update for frontend controllers and widgets (#1348) 2021-11-09 09:51:02 -05:00
Listeners Add Custom Fares (#1323) 2021-09-30 11:10:05 -04:00
Models Fix Aircraft Model | Add trait for relationship (#1345) 2021-11-03 12:51:34 -04:00
Notifications Style fixes 2021-09-08 10:51:04 -04:00
Providers Add Custom Fares (#1323) 2021-09-30 11:10:05 -04:00
Repositories Add callsign to flight search (#1341) 2021-11-02 09:00:29 -04:00
Services Add Custom Fares (#1323) 2021-09-30 11:10:05 -04:00
Support Blank out links for ACARS 2021-06-10 11:08:25 -04:00
Utils Installing and managing modules from admin panel (#847) 2020-10-19 10:10:28 -04:00
Widgets Eager loading update for frontend controllers and widgets (#1348) 2021-11-09 09:51:02 -05:00
helpers.php Fix secstohhmm typecast for PHP 8 (#1230) 2021-06-08 11:00:18 -04:00