B.Fatih KOZ
c518175244
Update User Model ( #1396 )
...
Current GDPR compliant Private Name attribute is not compatible with multi byte strings, and when encountered it fails and returns an empty string for the name_private attribute.
`substr($last_name, 0, 1)` or just `$last_name[0]` is not multi byte compatible, therefore only solution is to use `mb_substr`.
It also supports encoding definitions like `mb_substr($last_name, 0, 1, 'UTF-8')`
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2022-02-07 16:10:58 -05:00
B.Fatih KOZ
08624042f2
Make name and e-mail based searches with like for easier administration. ( #1397 )
...
* Update UserRepository.php
Make `name` and `e-mail` based searches with `like` for easier administration and search.
* Update search.blade.php
Remove old dashed out code
* Update index.blade.php
Add proper state selections
2022-02-07 16:02:17 -05:00
B.Fatih KOZ
94735103aa
French Translation ( #1392 )
...
Author: Jacques M.
( Jbaltazar67 from phpVMS Forum/Discord )
2022-02-04 15:39:10 -05:00
Nabeel Shahzad
e4782c40f3
Fix tests
2022-02-04 15:03:05 -05:00
Nabeel Shahzad
670cb5d811
Check for bid existing or not
2022-02-04 14:21:59 -05:00
Nabeel Shahzad
88ffee16be
Remove PII from debug info for user
2022-02-04 14:17:07 -05:00
Nabeel Shahzad
cc5a6db427
Nullable return type
2022-02-04 14:15:42 -05:00
Nabeel Shahzad
74a1b4d753
Add subfleet data when single bid is retrieved
2022-02-04 14:13:40 -05:00
Nabeel S
8a94d8db7b
Add LGA flight
2022-01-29 14:49:38 -05:00
Nabeel S
c2cc067329
ICAO typo for sample data
2022-01-28 16:35:24 -05:00
Nabeel Shahzad
723f66a382
More data updates
2022-01-27 13:30:49 -05:00
Nabeel Shahzad
27be992395
Update seeds for a shorter test flight
2022-01-27 12:14:28 -05:00
Sam
6160d57790
Fix docker image name ( #1382 )
...
closes #1381
2022-01-11 09:46:53 -05:00
B.Fatih KOZ
7fabd57e13
Fix flight and subfleet import with edited fares ( #1379 )
...
* Fix fare import
* StyleFix
2022-01-11 08:17:32 -05:00
B.Fatih KOZ
09453becf8
Award Checks Update ( #1376 )
...
Add active/passive check for awards and update the handler to pass only active ones to the process when needed.
2022-01-10 15:49:50 -05:00
B.Fatih KOZ
023313c681
Check settings and filter aircraft list if needed ( #1377 )
...
Check settings and filter aircraft list if needed.
2022-01-10 13:29:30 -05:00
B.Fatih KOZ
d3b7d25abd
Add ability to export flights of an airline only( #1375 )
...
* Airline Flight Export
Add ability to export flights of an airline only
* StyleFix
2022-01-10 09:27:40 -05:00
B.Fatih KOZ
7799867302
Fix Weather Widget blade ( #1372 )
...
Old blade was failing due to missing items in a metar like below
`SVMC 031703Z AUTO NIL`
2022-01-04 14:51:39 -05:00
B.Fatih KOZ
fd7c1b8314
Update RegisterController.php ( #1373 )
...
Get only active and displayed UserFields.
2022-01-04 14:29:41 -05:00
B.Fatih KOZ
c12cf0964a
Fix setting name ( #1371 )
2021-12-14 18:10:39 -05:00
Nabeel S
2202d5bf99
Setting for how often the live map updates #1369 ( #1370 )
2021-12-14 12:48:21 -05:00
B.Fatih KOZ
064682b71f
Type Rating update ( #1366 )
...
* Update Typerating.php
Add `'active'` to fillable
* Update fields.blade.php
Fixed grid, positioning of checkbox label and removed extra row
2021-12-08 12:40:10 -05:00
Nabeel Shahzad
3c9d419ebb
Clarify logs for pirep cancel/updates
2021-12-07 13:24:18 -05:00
Nabeel S
a3f110c0c0
Add PHP 8.1 to shims and build ( #1365 )
...
* Add PHP 8.1 to shims and build
* Lock psr/container version
* Lock psr version
* Restrict symfony component versions
* Downgrade event-dispatcher-contracts
* Update more package versions
* php-cs fixes
* style fix
* cs-fixer file fix
* Exclude resources dir from cs fixer
* Ignore cs fixer env check
* Update league/csv
2021-12-03 09:23:59 -05:00
B.Fatih KOZ
c45d52dffa
Aircraft level Hub definitions ( #1363 )
...
* Aircraft level Hub definitions
* Add ability to define a hub for an aircraft apart from its subfleet.
* Update csv import/export capability for hub_id field
* Fix importertest source csv
* Fix source csv for updating too
* Update aircraft_empty_cols.csv
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2021-11-30 14:54:29 -05:00
B.Fatih KOZ
4d21ca0982
Update RegisterController.php ( #1358 )
...
Only active fields should be passed to view during registration.
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2021-11-30 14:40:18 -05: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
66d83c0ce6
Add flight_time to searchable fields ( #1356 )
2021-11-18 15:05:04 -05:00
B.Fatih KOZ
4ea8357952
Fix SimBrief Controller | flight relationships ( #1350 )
...
* Update SimBriefController.php
Fix the fares relationship which was causing trouble when a flight had assigned fares
* Fix model name used in relationship
`Simbrief` should be `SimBrief`
2021-11-16 16:26:43 -05:00
B.Fatih KOZ
b9c29fbe08
More $pirep->ident
usage fixes ( #1353 )
...
* Fix idents with double code
* Fix ident usage
* Fix ident usage
* Fix ident usage
2021-11-16 11:39:47 -05:00
B.Fatih KOZ
4e7149a51c
Fix Admin pirep card | $pirep->ident usage ( #1349 )
...
Removed `$pirep->airline->code`
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2021-11-09 09:55:58 -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
358f0b663e
Fix Aircraft Model | Add trait for relationship ( #1345 )
...
* Add trait for relationship
* StlyeFix
2021-11-03 12:51:34 -04:00
B.Fatih KOZ
9146c4a68f
Update UserFieldValue Model ( #1344 )
...
* Add `name` attribute
* Pre-StyleFix
* Update UserFieldValue.php
* Used optional()
* Update Pirep.php
* Update Flight.php
* Update User.php
2021-11-03 08:46:07 -04:00
B.Fatih KOZ
addfa68016
Add Aircraft > Simbrief relationship ( #1343 )
2021-11-02 10:54:36 -04:00
B.Fatih KOZ
571768b39d
Match Flight and Pirep ident attributes ( #1342 )
...
* Flight ident change
* Pirep ident change
* Update Pirep.php
2021-11-02 09:23:52 -04:00
B.Fatih KOZ
9956929df7
Add callsign to flight search ( #1341 )
...
Make callsign searchable
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2021-11-02 09:00:29 -04:00
B.Fatih KOZ
f498ad3bba
Airline <> Aircraft Relationships ( #1338 )
...
* Aircraft relationship
* Airline relationship
* Flight and Pirep Relationships
* Style and logic fix
2021-11-02 08:40:50 -04:00
Toni Vicente
471464272f
Improve ES translations ( #1340 )
...
Fix spells and better words in context
2021-10-31 16:19:16 -04:00
Nabeel S
85703e1aff
Update composer dependencies ( #1337 )
2021-10-25 11:38:32 -04:00
B.Fatih KOZ
930d4cfa08
Update Aircraft Model (Landing Time Attribute) ( #1336 )
...
* Update Aircraft.php
Return `landing_time` attribute in Carbon format if it is not empty
* StyleFix
2021-10-25 10:11:52 -04:00
B.Fatih KOZ
91d68308aa
Fix translations ( #1335 )
...
* English
* German
* Italian
* Portuguese
2021-10-22 13:27:14 -04:00
B.Fatih KOZ
4eca1f671f
Fix WX Widget row ( #1334 )
...
* Fix WX Widget row
* Change degree symbol to html
2021-10-22 10:31:24 -04:00
Toni Vicente
1e7e8cc5e5
Temperature ( #1332 )
...
Add temp "es" string
@lang temp to widget wheather blade
2021-10-21 12:28:58 -04:00
B.Fatih KOZ
c65b5c1b05
Fix logical operator | Admin -> Pireps ( #1331 )
...
Reject button was not showing up for pending pireps due to usage of `@elseif`. Now both Accept and Reject buttons should be visible for pending pireps.
2021-10-18 10:13:32 -04:00
B.Fatih KOZ
87886f2419
Fix Admin / Flight Search (Blade) ( #1325 )
2021-10-01 08:50:22 -04:00
B.Fatih KOZ
9a28cf22ff
Add Custom Fares ( #1323 )
...
* Update EventServiceProvider.php
Add FareListener
* Create Fares.php
* Create FareListener.php
* Update ExpenseListener.php
* Update PirepFinanceService.php
Add listener for the fares, process them like the custom expenses and apply if there are any returned
2021-09-30 11:10:05 -04:00
B.Fatih KOZ
7a29630f57
Admin blade improvements ( #1321 )
...
* Update search.blade.php
Used select2 for airports, fixed grid layout
* Update actions.blade.php
Fixed button placing
* Update pirep_card.blade.php
Added user id before the name, made name optional so if page hits an hard deleted user's pirep it will not fail. Also improved the flight level check.
2021-09-29 10:37:05 -04:00
Nabeel S
0b27635fcb
Docker/compose updates ( #1280 )
...
* Docker/compose updates
* Fix container name
* Add zip to the ext install
* Don't mount the env.php file
* Use newer "docker compose" command
* Install composer
* Remove chown
2021-09-29 10:14:46 -04:00