B.Fatih KOZ
607ea6f5e5
Add Notes to Users ( #1406 )
...
* Fix migration
Add Notes
* Migration to add mediumtext field
* Model update
* Admin blade update
* Hide notes by default
* Fix fields layout
2022-02-11 15:58:16 -05:00
B.Fatih KOZ
9253d39848
Custom Code for Pilot IDents ( #1398 )
...
* Custom Code for Pilot IDents
Adds a new setting to customize the ident or to use a fixed icao code in a multi airline environment.
If settings is null/empty, airline icao will be used as like before.
* StyleFix
2022-02-07 17:47:57 -05:00
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
Nabeel Shahzad
88ffee16be
Remove PII from debug info for user
2022-02-04 14:17:07 -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
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
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
Nabeel S
82825ef77b
Add setting for recording IP address ( #1221 )
...
* Add setting for recording IP address
* Record IP on registration
2021-06-04 13:20:33 -04:00
Nabeel S
9b2e466b7e
Discord notifications for PIREP and News events #433 ( #1215 )
...
* Discord notifications for events #433
* Style fixes
* Check for blank webhook urls and disable
* Cleanup items after review
* Changes and fixes
* Style fixes
* Don't load env for testing
* Fix status text
* Refactor saving fields/fares so events get the latest data
* Cleanup
* Style fixes
2021-06-04 10:51:59 -04:00
Nabeel S
b6c0946795
Delete users without PIREPS; pilot leave fix ( #1171 )
...
* Delete users without PIREPS; pilot leave fix
* Style fixes
2021-05-05 09:56:28 -04:00
Nabeel S
14d0e99a37
Delete the user in a GDPR compatible way ( #1151 )
...
* Delete the user in a GDPR compatible way
* Block user from calls
* Style fix
2021-04-23 10:33:13 -04:00
Nabeel S
584d37f230
FlightRouteAwards - fix if last pirep is empty/other error conditions ( #886 )
2020-10-22 16:25:52 -04:00
Nabeel S
193fbd369d
Show awards on user profile #703 ( #866 )
2020-10-11 16:06:09 -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
40a94cb9ad
Add privatized version of name #656 ( #658 )
2020-04-06 12:03:19 -04:00
Nabeel Shahzad
655ac66b52
Formatting
2020-03-29 15:05:56 -04:00
Nabeel Shahzad
e9b30fbe30
Make sure user and acars data is sent from API
2020-03-29 13:33:14 -04:00
Nabeel S
f3fe3a56ba
Don't return bids by default, fix user flight column #639 ( #640 )
...
Fix the user api response, don't return bids by default, fix flights column #639
2020-03-25 18:04:26 -04:00
Nabeel Shahzad
cce575c1a6
Fix avatar/gravatar call throwing error
2020-03-25 10:58:03 -04:00
Nabeel Shahzad
eafea01e22
Fix gravatar url check
2020-03-24 18:54:04 -04:00
Nabeel Shahzad
3f7a7d0f2e
Remove empty fields from user return, add avatar
2020-03-24 15:53:59 -04:00
Nabeel S
74052e4542
Return the flight fares if there are no subfleet fares #488 ( #489 )
...
* Return the flight fares if there are no subfleet fares #488
* Formatting
* Formatting
2020-01-06 13:44:43 -05:00
Nabeel Shahzad
66a1192739
Cleanup Model doc
2019-12-22 09:46:41 +05:00
Nabeel S
50dc79bc8d
Refactor and add importer to Installer module #443 ( #444 )
...
* Refactor and add importer to Installer module #443
* Refactor for finances to use in import
* Import groups into roles
* Formatting
* Formatting
* Add interface in installer for import
* Notes about importing
* Check for installer folder
* Formatting
* Fix pirep->user mapping
* Unused import
* Formatting
2019-11-27 09:19:20 -05:00
Nabeel S
f5183babf6
#406 Refactor bids ( #432 )
...
* Add flight_id column to pireps table
* Refactor PIREPs and bids closes 406
* Formatting
2019-11-05 11:44:31 -05:00
Nabeel S
aedb1f22b6
Don't allow cancels from certain states ( #396 )
...
* Don't allow cancels from certain states
* Unused imports
* Don't reset the state doubly
* Move SetUserActive into listener; code cleanup
* Unused imports
* Add missing files into htaccess
* Move Command contract to correct folder
2019-09-16 13:08:26 -04:00
Nabeel S
a08c9db284
Add setting to include transfer hours in calculations ( #350 )
...
* Add setting to include transfer hours in calculations
* Add some extra tests to check versions
* A couple of more version test cases
2019-08-08 12:50:43 -04:00
Nabeel Shahzad
bb15119bf0
Append rules for Create/Update
2019-07-17 11:00:30 -04:00
Nabeel Shahzad
567ff91de0
Add pilot ID change fields to the admin screen
2019-07-17 09:48:20 -04:00
Nabeel Shahzad
80560ec20c
Formatting
2019-07-16 14:06:13 -04:00
Nabeel Shahzad
3e1d9080df
Backend changes separating id from pilot_id
2019-07-16 13:54:14 -04:00
Nabeel Shahzad
ab5480fdc9
Add explicit TOC accepted checkbox #244
2018-09-20 11:14:18 -05:00
Kevin Susanto
bac6396b19
Fix styleci checking
2018-09-05 09:27:16 +08:00
Kevin
b73182f830
Capturing pilot transfer hours
2018-09-05 08:09:33 +08:00
Nabeel Shahzad
9596d88b48
Apply fixes from StyleCI
2018-08-26 16:40:04 +00:00
Nabeel Shahzad
66a9b361cb
Cosmetics
2018-08-20 09:48:39 -05:00
Nabeel Shahzad
0ce86e9e44
Rewrite add/remove bids code w additional tests
2018-07-24 14:50:50 -05:00
Nabeel Shahzad
a515921143
Add opt-in as part of GDPR #244
2018-05-24 22:17:41 -05:00
José Bustos
ec273d2928
Add getAvatarAttribute()
...
refactoring other methods this will work
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
41f4c76006
Remote getAvatarAttribue() beacuse it cause conflict with final avatar path.
2018-05-02 18:59:57 -05:00
Nabeel Shahzad
f84ff8de92
Add a column for the user avatar #226
2018-04-02 06:47:31 -05:00
Nabeel Shahzad
bd30b1f900
Check for departure airport restrictions #221
2018-03-30 11:08:53 -05:00
Nabeel Shahzad
4e59bd0442
view flight bids in flights screen #203
2018-03-20 11:28:06 -05:00
Nabeel Shahzad
ccf56ddec1
Fix formatting and interfaces in nearly every file
2018-03-19 20:50:40 -05:00
Nabeel Shahzad
31b9195a6e
Implement the other functionality for awards #154
2018-03-17 00:18:03 -05:00
Nabeel Shahzad
92bb56e344
Add recaptcha implementation #212
2018-03-16 11:38:06 -05:00
Nabeel Shahzad
ccbc109db2
Add setting to automatically remove bid on PIREP accept #200
2018-03-15 18:20:07 -05:00
Nabeel Shahzad
505931736c
Finance overview page added to admin with monthly breakdown #130
2018-03-05 19:55:48 -06:00
Nabeel Shahzad
586769fbf0
Fix tests and docs/better checks #130
2018-03-02 17:29:11 -06:00
Nabeel Shahzad
2c52a2f7e6
Post fares/expenses on PIREP to Airline journal #130
2018-03-01 16:20:13 -06:00