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
Nabeel Shahzad
648659aea5
Check if PIREP doesn't exist before cancelling
2022-02-16 19:13:47 -05:00
Nabeel S
78fd8367a1
Add separate cron runner that doesn't use proc_open ( #1405 )
...
* Add alternative to using the artisan schedule runner
* StyleCI fixes
* Add additional cron time periods
* Style fixes
* Typo
* Update the web cron to use the new system
* Write out JSON for which tasks were run
* Rename cron.php to just cron
2022-02-11 16:24:06 -05:00
Nabeel Shahzad
670cb5d811
Check for bid existing or not
2022-02-04 14:21:59 -05:00
Nabeel Shahzad
3c9d419ebb
Clarify logs for pirep cancel/updates
2021-12-07 13:24:18 -05:00
Nabeel S
35359b8646
Create endpoint to load bid by ID ( #1248 )
...
* Create endpoint to load bid by ID
* Fix endpoint
2021-06-17 19:42:56 -04:00
Nabeel Shahzad
bd9c429cfc
Don't force status to airborne
2021-06-13 15:28:57 -04:00
Nabeel Shahzad
b18f1bbe6c
Fix paginate on airlines
2021-06-11 09:40:42 -04:00
Nabeel Shahzad
845514da2c
Fix tests
2021-06-10 13:13:09 -04:00
Nabeel Shahzad
531489bfde
Remove pagination from getting airlines
2021-06-10 12:41:23 -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
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
fe0ef60b6c
Block refiling of PIREPs ( #1167 )
...
* Block refiling of PIREPs
* Style fixes
* Package updates
2021-05-03 10:00:10 -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
9c4aced837
Move the prefile event and add a new error exception ( #1111 )
...
* Move the prefile event and add a new error exception
* Remove extra import
* Add empty handler for testing
* Fix styling
* Fix styleci
2021-03-29 14:53:35 -04:00
Nabeel S
e70ee5aa6f
Add web cron ability #821 ( #1073 )
...
* Use database for kvp storage
* Read kvpstore
* Add web cron ability through API #821
* Style fixes
* Fix text
2021-03-09 11:36:56 -05:00
Nabeel S
950c7788be
Restrict Simbrief to user who generated it ( #1064 )
...
* Restrict simbrief to user
* Style fixes
* Add tests
* Style fix
2021-03-06 13:49:42 -05:00
Nabeel S
fc7ad7eb6a
Simbrief attachment not working #1005 ( #1006 )
...
* Refactoring for Simbrief not working #1005
* Style fixes
* Update tests for new briefing URL
* Check the OFP user
* Comment out user check temporarily
2021-01-25 06:54:17 -05:00
Nabeel S
dc7efc981c
Refactor fares inheritance #905 ( #906 )
2020-10-27 18:46:15 -04:00
Nabeel S
1be68d1e63
Flight/Subfleet fares not returning in API #899 ( #900 )
...
Make sure proper fares are returned from the API #899
2020-10-24 15:11:08 -04:00
Nabeel S
dc007f6d9e
Bids are missing subfleets in API response #867 ( #868 )
...
Bids are missing subfleets in API response #867
2020-10-12 12:49:11 -04:00
Nabeel S
95a40d3565
Make sure proper subfleets are returned as part of the user profile #848 ( #849 )
...
* Make sure proper subfleets are returned as part of the user profile #848
* Formatting
2020-09-30 12:58:45 -04:00
Nabeel S
e4b1c238f3
Add ACARS update event #755 ( #756 )
2020-06-09 09:10:40 -04:00
Nabeel Shahzad
c46fc9171c
Check for airline being active; fix tests for L7 #718
2020-05-23 11:45:07 -04:00
Nabeel S
261984ee90
Fix PirepComment response; 201 to 200 ( #654 )
2020-04-01 01:05:09 -04:00
Nabeel Shahzad
e8037c7d69
Return full PIREP when updating
2020-03-31 23:42:33 -04:00
Nabeel Shahzad
d1d243ef06
Update response objects
2020-03-31 17:26:55 -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
62cea3eb0c
Load the user airline/bid ahead of time; SB XML name fix
2020-03-24 16:17:28 -04:00
Nabeel S
9e5386264f
SimBrief integration #405 ( #635 )
...
* SimBrief integration #405
* Add briefing as API response; add acars_xml field #405
2020-03-23 09:31:35 -04:00
Nabeel S
9ed2e3f9f4
API: Flight fields are an array when empty #618 ( #619 )
...
* Ensure 'fields' field is return as an object for flights #618
* Eager loading for flight fields
2020-03-04 18:14:03 -05:00
Nabeel S
9ed07da9c3
Upsert on ACARS positions #572 ( #573 )
2020-02-22 16:03:01 -05:00
Nabeel S
f392bf1cb8
Add additional events for PIREP states #436 ( #548 )
2020-02-11 13:56:20 -05:00
Nabeel S
2415caab54
Search flights by subfleet #484 ( #506 )
...
* API level search of flights #484
* Add Subfleet to flights page for search
2020-01-16 17:36:03 -05:00
Nabeel Shahzad
9aded3a552
/flights and /flights/search direct to the same endpoint
2020-01-10 10:17:11 -05:00
Nabeel S
03284959d6
Search for ICAO not working properly ( #496 )
2020-01-10 09:41:32 -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
d68d8791bd
389 API Changes ( #393 )
...
* Update PHPUnit to 8
* Fix API endpoints closes #389
* Update pagination method in Repository contract to look at the page number closes #390
* Remove unused imports
* Fix tests in FlightTests
* Typecast page
* Don't register factories
* Remove Factory loading
* Remove unused imports
2019-09-13 11:21:40 -04:00
Nabeel S
23eb9dcbda
384 Laravel 6 changes ( #385 )
...
* 384 Laravel 6 changes
* Library versions
* Update package versions
* Add keyType to models
* Remove unused dependencies
* StyleCI fixes
* Fix models for test
* Fix tests output and update test runner
* Unused imports
* Update exceptions handler
* Fix login page
2019-09-13 08:05:02 -04:00
Nabeel S
0d1f38cf85
Refactor all JS API calls #360 ( #375 )
...
* Refactor all JS API calls #360
* Remove unused imports
* Lint JS
* Fix doubled api key
* Formatting
* Added extra logging to distance lookup
* Remove the .editorconfig file in distrib
* shell check fixes
* Remove the .editorconfig file in distrib
2019-08-30 08:08:00 -04:00
Nabeel S
bbec276da8
#355 Calculate distance button ( #366 )
...
* #355 Calculate distance button in add/edit Flight page
* Styling
* Move add/edit flight logic out of controller and into service layer
* Styling
* Formatting
* Run styleci against modules dir
* Styleci config
* Style fixes in /modules
2019-08-26 12:32:46 -04:00
Nabeel S
6018a6dcaa
Add Contract interface for airport lookup functionality ( #365 )
...
* Add Contract interface for airport lookup functionality
* style ci fixes
2019-08-22 14:32:49 -04:00
Nabeel S
182aabf426
Refactor error handling internally to follow RFC7807 ( #362 )
...
* Refactor error handling internally to follow RFC7807
* style fixes
2019-08-21 08:17:44 -04:00
Nabeel S
c1103afe8f
Add missing expiry time for PIREP API ( #356 )
2019-08-09 22:49:25 -04:00
Nabeel S
753804b71b
Issue fixes ( #341 )
...
* Better error handling around ACARS position updates
* Add step for decimals on fuel block/used fields closes #340
* Styling
* Rename AcarsController to LiveMapController; update JS dependencies
2019-08-05 13:07:22 -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