Nabeel Shahzad
ca8d96d2b6
Check for null/0 value on progress percent
2022-03-18 16:43:34 -04:00
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
bfddb2c84d
Make sure all dates are in UTC ( #1139 )
2021-04-13 09:25:38 -04:00
exciler
d4c301a36c
Remove remove_bid_after_accept setting ( #1100 )
...
* Remove "Remove bid on accept" setting and remove bids after PIREP was filed
fixes #1039
* Add migration to remove setting from database
* fix migration naming and remove obsolete code
Co-authored-by: Andreas Palm <ap@ewsp.de>
2021-03-27 08:33:21 -04:00
Nabeel Shahzad
43c33adcfe
Unit rounding
2021-03-25 08:59:45 -04:00
exciler
b9e7a2efc9
Add unit conversion handling for block_fuel like for fuel_used ( #1076 )
...
* Add unit conversion handling for block_fuel like for fuel_used, add further checks in PIREPTest->testUnitFields
* Remove accidentially added "use"
Co-authored-by: Andreas Palm <ap@ewsp.de>
2021-03-15 08:30:14 -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
c702b01a87
Add tests that rank shouldn't auto change ( #840 )
2020-10-10 14:50:00 -04:00
Nabeel S
e99c22b007
Notifications fixes ( #804 )
...
* Emails not sending #795 #722
* Fix for news items not being sent; refactor some events; check for opt-in #722
* Formatting
* Remove extra parameter
2020-09-03 12:50:42 -04:00
Nabeel Shahzad
c6482bd160
Add last_pirep test
2020-06-05 09:19:18 -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
f17cd15b01
Allow on-leave user to login; show alert message and ensure status is updated #719
2020-05-23 07:20:55 -04:00
Nabeel S
5b771be653
Fix flight hours field #683 ( #684 )
2020-05-05 14:36: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 S
07a75de0bf
Recalcuate aircraft stats in nightly cron and importer #585 #443 ( #587 )
2020-02-24 19:35:28 -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
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 S
9f3ba05880
Issue/329 refactor seeding ( #337 )
...
* Fix Contracts class names
* Refactoring of the file seeds so it's not a mess
* StyleCI fixes
2019-08-05 08:27:53 -04:00
Nabeel S
95147e31bf
Fix issue where user stats aren't incremented on PIREP auto accept ( #335 )
...
* Fix issue where user stats aren't incremented on PIREP auto accept
* Formatting
2019-08-01 15:23:59 -04:00
Nabeel Shahzad
62a10224a0
Account for fuel in the finance calculations #313
2019-07-23 08:41:20 -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
df88cb141a
Allow draft for PIREPs, separate out the save/submit and delete functionality
2018-05-10 10:35:10 -05:00
Nabeel Shahzad
c102a0d858
Refactor all of the unit conversion code
2018-04-07 20:52:12 -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
dc2570a408
Rename the PirepService class
2018-03-06 17:36:06 -06:00
Nabeel Shahzad
ea09a18956
Fixed formatting of almost every file
2018-02-20 22:33:09 -06:00
Nabeel Shahzad
8386951511
Rename toInt to toNumber
2018-02-20 15:32:49 -06:00
Nabeel Shahzad
653711fa96
Change volume units to be in lbs/kg closes #193
2018-02-20 14:07:33 -06: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
3d9d17d9b9
Add call to get user's PIREPs #192
2018-02-19 10:35:49 -06:00
Nabeel Shahzad
2f8a69b774
Undo casting time types to Time object #189
2018-02-11 20:50:48 -06:00
Nabeel Shahzad
3aa01aaa18
tests check the data object in return #186
2018-02-10 18:17:38 -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
dce9723979
Set airport and landing time of aircraft after pirep accept #112
2018-01-10 12:39:13 -06:00
Nabeel Shahzad
46a411e27b
Cleanup tests to automatically inject proper headers when needed
2018-01-06 12:07:22 -06:00
Nabeel Shahzad
db3c60987e
Change tests to use generated user
2018-01-04 21:05:26 -06:00
Nabeel Shahzad
591c3e7b8b
Change /acars/logs data format; /cancel to DELETE request
2018-01-04 20:08:22 -06:00
Nabeel Shahzad
b29a07afd3
Split out the saveRoute() fn so it's only during a manual filing, not ACARS
2018-01-04 19:39:41 -06:00
Nabeel Shahzad
b62fa7757c
Overhaul of ACARS/PIREP APIs
2018-01-04 19:33:23 -06:00
Nabeel Shahzad
6f9e4d725b
Add a PIREP cancel route via API #109
2018-01-03 10:25:55 -06:00
Nabeel Shahzad
7700bd6683
Add tests for the duplicate PIREP via prefile/API
2018-01-02 14:31:00 -06:00
Nabeel Shahzad
9c319e73f9
Check whether a duplicate PIREP has been submitted
2018-01-02 13:17:22 -06:00