Commit Graph

53 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
cb38f2ad90
Refactor broadcast notifications (#1402)
* Refactor broadcast notifications

* StyleCI fixes

* Fix the planned_distance accidental changes
2022-02-08 15:07:02 -05: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
7d8a34645e
Add --force flag to migrations (#1203) 2021-05-24 10:58:10 -04:00
Nabeel S
96fff0248d
Save airport timezone (#1112)
* Fix airport timezone lookup

* Save timezone to the airport when importing
2021-03-29 15:49:34 -04:00
Nabeel Shahzad
c46fc9171c Check for airline being active; fix tests for L7 #718 2020-05-23 11:45:07 -04:00
Nabeel Shahzad
6ebbe0209e Formatting 2020-05-15 18:38:43 -04:00
Nabeel Shahzad
6078163d75 Initial pass at Laravel 7 support #673 2020-05-15 18:20:23 -04:00
Nabeel S
4a3ec38919
Option for SB only on bids; add the new file type #642 (#643)
Option for SB only on bids; add the new file type #642
2020-03-27 11:49:19 -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
16c977c769
Add load_factor and load_factor_variance to flights #352 (#620) 2020-03-05 20:19:12 -05: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 S
ea3ab21beb
391 Notification refactorings (#441)
* Refactor notifications to allow easier plugins

* Notification refactoring

* Formatting

* Move news to NewsService; cleanup of events

* More refactoring; added send email out for news item and the template

* Formatting

* Formatting
2019-11-20 10:16:01 -05: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
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
e12188b7d3
Issue/327 versioning (#345)
* Switch to semver format

* Rewrite new version check to use Github Releases and cron

* Styling

* Remove v from in front of version

* New version check test fix

* Uncomment test case
2019-08-06 17:48:00 -04:00
Nabeel Shahzad
a720f12e0b Rename Interfaces to Contracts to better match Laravel conventions 2019-07-15 15:44:31 -04:00
Nabeel Shahzad
87aa6ed1da Fix tests for 5.8 2019-05-12 10:50:38 -05: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
9542c23717 Fix tests formatting of DateTime/Carbon objects 2018-05-09 09:15:07 -05:00
Nabeel Shahzad
d80e70e2b1 Fix Unit type conversions in tests 2018-05-03 16:13:25 -05:00
Nabeel Shahzad
f8965f1785 Fix tests for new datatypes 2018-05-03 15:36:26 -05:00
Nabeel Shahzad
c102a0d858 Refactor all of the unit conversion code 2018-04-07 20:52:12 -05:00
Nabeel Shahzad
b9beb6c804 Add importers in console and admin for flights/aircraft/subfleets and airport #194 2018-03-20 19:17:11 -05:00
Nabeel Shahzad
6dfab75f08 Add api routes to get/add/remove bids for a user #172 2018-02-22 10:44:15 -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
b4ea82f327 Cleanup of the test classes and remove superfluous dependencies 2018-02-08 11:07:21 -06:00
Nabeel Shahzad
653ff2a104 Major refactoring and cleanup of ACARS/Pirep API 2018-01-28 11:12:13 -06:00
Nabeel Shahzad
e80caa6827 Add better debugging on GET reqs since the build failed #35 2018-01-10 18:49:42 -06:00
Nabeel Shahzad
dce9723979 Set airport and landing time of aircraft after pirep accept #112 2018-01-10 12:39:13 -06:00
Nabeel Shahzad
2de8d9ed64 Add /api/airlines and /api/airline/{id} #120 2018-01-06 15:13:33 -06:00
Nabeel Shahzad
46a411e27b Cleanup tests to automatically inject proper headers when needed 2018-01-06 12:07:22 -06:00
Nabeel Shahzad
e931310dee Add /api/airports with pagination to return all the airports #120 2018-01-05 10:23:26 -06:00
Nabeel Shahzad
db3c60987e Change tests to use generated user 2018-01-04 21:05:26 -06:00
Nabeel Shahzad
b62fa7757c Overhaul of ACARS/PIREP APIs 2018-01-04 19:33:23 -06:00
Nabeel Shahzad
7700bd6683 Add tests for the duplicate PIREP via prefile/API 2018-01-02 14:31:00 -06:00
Nabeel Shahzad
92dfea4424 Add the missing fonts 2017-12-30 13:39:56 -06:00
Nabeel Shahzad
161623c85e Fixes for emails; send user registered/pending depending on state 2017-12-22 12:46:46 -06:00
Nabeel Shahzad
37d83a65c3 fix trait not found 2017-12-12 20:18:02 -06:00
Nabeel Shahzad
4db87ad8c8 remove Eloquent::unguard 2017-12-12 20:14:52 -06:00
Nabeel Shahzad
b5d2e1ba11 Fix for API key and start adding a few data factories 2017-12-12 20:14:01 -06:00
Nabeel Shahzad
da5523e972 test for multiple bids on same flight with block setting enabled 2017-12-12 17:26:27 -06:00
Nabeel Shahzad
2e1c0a75d4 Fix missing table name in migration and fix flight tests 2017-12-12 06:48:04 -06:00
Nabeel Shahzad
c40cd3da53 travis - cleanup database creation/migration for tests 2017-07-13 15:43:56 -05:00
Nabeel Shahzad
de91b133e7 travis - stop supressing output 2017-07-13 15:23:55 -05:00
Nabeel Shahzad
5527fb3d64 more fixes for travis 2017-07-13 14:29:46 -05:00
Nabeel Shahzad
870eefb83d #21 Some more fixes for PIREPs 2017-07-04 13:57:08 -05:00
Nabeel Shahzad
70dbfbcd3f #21 clean up the tests 2017-07-04 13:09:44 -05:00
Nabeel Shahzad
6ef83084d1 some test changes 2017-06-19 11:30:39 -05:00