Nabeel S
12848091a2
Laravel 9 Update ( #1413 )
...
Update to Laravel 9 and PHP 8+
Co-authored-by: B.Fatih KOZ <fatih.koz@gmail.com>
2022-03-14 11:45:18 -04:00
B.Fatih KOZ
52e716d6ee
Type Ratings | New Feature ( #1360 )
...
* Type Ratings
Adding "Type Rating" definition and assignment possibility to v7 core.
* Update ProfileController.php
* StyleFix 1
* Update settings.yml
Change description text as requested
2021-11-30 14:36:17 -05:00
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
B.Fatih KOZ
2dbe19fdcc
Fix pirep->ident
usage issues ( #1347 )
...
* Update table.blade.php
* Update show.blade.php
* Update pirep_card.blade.php
* Update latest_pireps.blade.php
* Update ProfileController.php
Removed non used airports, added necessary relationships for eager loading.
Also removed `fields` 'cause it is already being loaded when `fields.field` is used. No need to query it twice.
* Update ProfileController.php
2021-11-08 16:08:19 -05:00
B.Fatih KOZ
fc8ca69729
Fix Private Profile fields not being editable ( #1289 )
...
* Update ProfileController.php
* Update UserRepository.php
* Update UserRepository.php
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2021-08-30 12:55:33 -04:00
Nabeel S
96d33c11c8
Fix data not showing up for live map ( #1223 )
...
* Fix data not showing up for live map
* StyleCI fixes
2021-06-04 16:57:27 -04:00
B.Fatih KOZ
6b3207377a
Fix Profile Fields ( #1013 )
...
* Fix Profile Fields
PR fixes two issues ;
1. Profile Fields not showing up on user profile
2. Profile Fields not showing up on user.profile.edit
Profile.index was looking for "public" to be true, while controller was sending "private" and it was not boolean.
Also profile controller was not sending the fields to the blade. Both fixed and working now
* Update index.blade.php
2021-01-28 08:31:29 -05:00
B.Fatih KOZ
4911f6799d
Fix for ACARS config download button not working #919 ( #1009 )
...
* Fix For Acars Config Download Button No Working Bug #919
PR fixes the Acars Config Download button not showing up at user profile.
Also fixes the problem where Generate New Api Key button not following user selections and generating a new key even if user clicks cancel.
* Style Fix for ? and !
Fix the typo :)
2021-01-25 16:04:43 -05:00
Nabeel Shahzad
7e4c652330
Log for avatar upload
2020-11-22 09:59:09 -05:00
Nabeel S
193fbd369d
Show awards on user profile #703 ( #866 )
2020-10-11 16:06:09 -04:00
Nabeel S
27316f96e8
Fix missing user fields #785 ( #786 )
2020-08-13 17:44:41 -04:00
Nabeel S
3ebf4f2924
Custom user fields #711 ( #772 )
...
Custom user fields during registration and profile edit #711
2020-08-11 17:48:51 -04:00
Nabeel S
da575932a7
Add extra check for being set #560 ( #563 )
2020-02-20 11:36:26 -05:00
Nabeel S
b36a3009dd
Cleanup Utils #467 ( #547 )
...
* Remove Utils Facade
2020-02-11 12:32:41 -05:00
Nabeel S
dd9fbdb6f1
Add link to download ACARS config from profile ( #539 )
...
* Add link to download ACARS config from profile
* Formatting
2020-02-07 13:29:43 -05:00
Nabeel Shahzad
52332c250b
Fix the route() calls for L6
2019-09-13 18:20:50 -04:00
Nabeel Shahzad
0c89d36a16
Remove remnants of Timezonelist library
2019-09-13 17:54:46 -04:00
Nabeel Shahzad
3e1d9080df
Backend changes separating id from pilot_id
2019-07-16 13:54:14 -04:00
Nabeel Shahzad
dd946d4cdd
Reorder imports
2019-07-15 15:51:35 -04:00
Nabeel Shahzad
a720f12e0b
Rename Interfaces to Contracts to better match Laravel conventions
2019-07-15 15:44:31 -04:00
Nabeel Shahzad
e1bdef98d6
Keep uploaded avatar images within the same aspect ratio #309
2019-05-13 07:52:07 -05:00
Nabeel Shahzad
9596d88b48
Apply fixes from StyleCI
2018-08-26 16:40:04 +00:00
José Bustos
d768b9cc0e
Avatar field on database
...
corrected the path to user avatar based on get avatar attribute on user model
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
b1209712d1
Added isset verification on avatar index at array, to put nullable validator.
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
31d0683592
Added avatar upload method into resource controller
2018-05-02 18:59:57 -05:00
Nabeel Shahzad
ccf56ddec1
Fix formatting and interfaces in nearly every file
2018-03-19 20:50:40 -05:00
Nabeel Shahzad
f05e37767f
Update skinning with more flexible theme module
2018-03-11 18:00:42 -05:00
Nabeel Shahzad
448a9846c9
Implement airport hub restriction closes #104
2018-02-28 15:37:24 -06:00
Nabeel Shahzad
ea09a18956
Fixed formatting of almost every file
2018-02-20 22:33:09 -06:00
Nabeel Shahzad
62506a26a1
set country on the airline, in admin and installer #191
2018-02-12 10:51:04 -06:00
Nabeel Shahzad
fe4f39a5dc
Cleanup Controller inheritance
2018-01-11 21:35:03 -06:00
Nabeel Shahzad
78912f2f31
Allow user to set country
2018-01-09 19:08:16 -06:00
Nabeel Shahzad
4cc08406fa
Regenerate API key
2017-12-31 13:08:41 -06:00
Nabeel Shahzad
0bb2dabb8c
update profile/change password and profile cosmetic changes
2017-12-24 12:12:26 -06:00
Nabeel Shahzad
e4e23dd8a6
new dashboard and profile pages with new design
2017-08-02 13:13:08 -05:00