Commit Graph

65 Commits

Author SHA1 Message Date
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 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
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
51186bed7c
Fix for aircraft not being detected at departure airport #781 (#789)
Aircraft not being checked/detected at departure airport #781
2020-08-17 16:44:31 -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
6978fbf2e0 Fix API tests 2020-03-29 15:35:40 -04:00
Nabeel Shahzad
11b1c2b763 Fix tests for API 2020-03-29 15:19:23 -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
9ed07da9c3
Upsert on ACARS positions #572 (#573) 2020-02-22 16:03:01 -05:00
Nabeel S
b06287da23
Stricter checks on ACARS API data (#451)
* Stricter checks on ACARS API data

* More checks
2019-12-02 18:27:58 -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 Shahzad
06d8f11ca3 Cleanup SI Unit classes and interface for REST responses; fixes to a few METAR parsing issues 2019-07-15 15:14:40 -04:00
Nabeel Shahzad
87aa6ed1da Fix tests for 5.8 2019-05-12 10:50:38 -05:00
Nabeel Shahzad
3c32f2d89d Apply fixes from StyleCI 2018-08-26 18:51:47 +00:00
Nabeel Shahzad
e95b3eb366 Code cleanup from inspection results 2018-08-26 13:50:08 -05:00
Nabeel Shahzad
9596d88b48 Apply fixes from StyleCI 2018-08-26 16:40:04 +00:00
Nabeel Shahzad
5ee053cace Fix PIREP field error on file 2018-08-20 09:20:03 -05:00
Nabeel Shahzad
9cc640b866 Fix PIREP field and non-existant airport errors when editing PIREPs 2018-07-12 21:20:10 -05:00
Nabeel Shahzad
4fa024045d refactorings of pirep/acars api calls; separate field calls 2018-05-09 12:45:24 -05:00
Nabeel Shahzad
f8965f1785 Fix tests for new datatypes 2018-05-03 15:36:26 -05:00
Nabeel Shahzad
3a81e2ec27 Fix block_off/on_time and fix the metar date parsing 2018-05-01 22:52:31 -05:00
Nabeel Shahzad
e27f6f1b14 Add addtl fields to pirep - block_off and block_on times, calculate block_off time if not there 2018-04-04 13:03:10 -05:00
Nabeel Shahzad
0f521c3af9 Change PIREP states to follow AIDX guidelines 2018-04-01 20:18:12 -05:00
Nabeel Shahzad
bd30b1f900 Check for departure airport restrictions #221 2018-03-30 11:08:53 -05:00
Nabeel Shahzad
afd7aebe20 Allow the fares to be submitted via API for ACARS #125 2018-03-14 10:34:41 -05:00
Nabeel Shahzad
463de8d7e7 Make sure the rank restriction disabled works closes #170 2018-02-20 13:28:53 -06:00
Nabeel Shahzad
4e43223f3a Refuse pirep prefile is user not allowed to use aircraft #170 2018-02-20 12:59:49 -06:00
Nabeel Shahzad
8393ae2851 Add /flight/:id/route resource, returns all route info that's in the navaid database closes #183 2018-02-20 12:06:52 -06:00
Nabeel Shahzad
d5c2d25c74 finally fixed serialization of conversions #189 2018-02-10 22:49:08 -06:00
Nabeel Shahzad
0700c96901 fix serialization of converter classes #189 2018-02-10 22:30:42 -06:00
Nabeel Shahzad
3aa01aaa18 tests check the data object in return #186 2018-02-10 18:17:38 -06:00
Nabeel Shahzad
21e13b6b92 make sure resources return the data object #186 2018-02-10 17:34:46 -06:00
Nabeel Shahzad
5a89b4f194 write the route if it hasn't been set by acars #184 2018-02-10 16:10:19 -06:00
Nabeel Shahzad
e69d9f4c38 Add pirep fields to the API response; add tests for setting/getting them 2018-02-06 13:59:40 -06:00
Nabeel Shahzad
ec5478a766 Add /pireps/id/acars/events endpoint 2018-01-30 12:06:46 -06:00
Nabeel Shahzad
906a8ef5fe Fix tests and extend the source_name field 2018-01-29 20:30:29 -06:00
Nabeel Shahzad
8c3b271294 Fix for tests - lat/lon rounding 2018-01-28 11:21:31 -06:00
Nabeel Shahzad
76caeda967 Fix for tests - lat/lon rounding 2018-01-28 11:16:04 -06:00
Nabeel Shahzad
653ff2a104 Major refactoring and cleanup of ACARS/Pirep API 2018-01-28 11:12:13 -06:00
Nabeel Shahzad
9964eb63fb Add pirep comments and subfleets fares #118 2018-01-23 21:40:34 -06:00
Nabeel Shahzad
f9efa81bb4 Refactoring of PIREP submission and field code #146 2018-01-23 15:48:30 -06:00
Nabeel Shahzad
edb72e462f Add stricter validation around ACARS/PIREP API updates #149 2018-01-23 11:46:26 -06:00
Nabeel Shahzad
0b9654cf61 Reduce the amount of test data produced to prevent data generation errors 2018-01-21 13:51:42 -05:00
Nabeel Shahzad
5ca9127137 reduce number of routes in acars test 2018-01-20 08:54:40 -05:00
Nabeel Shahzad
b7770e5709 field checks 2018-01-06 17:18:30 -06:00
Nabeel Shahzad
618288f097 Don't check the lat/lon coords in the points 2018-01-06 17:15:33 -06:00
Nabeel Shahzad
46a411e27b Cleanup tests to automatically inject proper headers when needed 2018-01-06 12:07:22 -06:00