Nabeel Shahzad
|
8171d681a6
|
Fix METAR parsing for runway visibility
|
2018-09-01 16:58:38 -04:00 |
|
Kevin
|
525e8ba8bb
|
Adding cloud height assertion
|
2018-08-29 07:58:57 +08:00 |
|
Kevin
|
75ef658d8f
|
Fix metar parsing issue
|
2018-08-29 07:27:53 +08: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
|
0f3424f41e
|
Fix datetime parser
|
2018-08-26 12:25:51 -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
|
0ce86e9e44
|
Rewrite add/remove bids code w additional tests
|
2018-07-24 14:50:50 -05:00 |
|
Nabeel Shahzad
|
e680f33326
|
Add more tests for days of week
|
2018-07-24 11:21:52 -05:00 |
|
Nabeel Shahzad
|
26061deced
|
Fix flight visibility for day
|
2018-07-13 07:43:27 -05:00 |
|
Nabeel Shahzad
|
f640381978
|
Export extra fields for airports
|
2018-07-12 22:21:39 -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
|
3e96b195a6
|
Add short timeout to HTTP calls by default; cache METAR lookups
|
2018-05-14 11:22:20 -05: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
|
4fa024045d
|
refactorings of pirep/acars api calls; separate field calls
|
2018-05-09 12:45:24 -05:00 |
|
Nabeel Shahzad
|
9542c23717
|
Fix tests formatting of DateTime/Carbon objects
|
2018-05-09 09:15:07 -05:00 |
|
Nabeel Shahzad
|
3f1f83438d
|
remove observed_date test from metar code
|
2018-05-07 14:37:08 -05:00 |
|
Nabeel Shahzad
|
feeb4946d1
|
Add some indexes and tests for airports
|
2018-05-07 14:07:41 -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
|
3a81e2ec27
|
Fix block_off/on_time and fix the metar date parsing
|
2018-05-01 22:52:31 -05:00 |
|
Nabeel Shahzad
|
b96f1cd7c4
|
api fixes/updates
|
2018-05-01 20:58:05 -05:00 |
|
Nabeel Shahzad
|
531e86f5e7
|
Fix flight duplicate detection in add/edit/import; fix active checkbox
|
2018-04-25 11:53:32 -05:00 |
|
Nabeel Shahzad
|
59302ded0f
|
Fix another flight day test
|
2018-04-16 16:57:22 -05:00 |
|
Nabeel Shahzad
|
ea32353890
|
Fix flight on days deactivation test
|
2018-04-16 16:46:51 -05:00 |
|
Nabeel Shahzad
|
63c5d69e10
|
Some fixes to trends parsing
|
2018-04-15 14:14:40 -05:00 |
|
Nabeel Shahzad
|
9d3d284df7
|
Check start/end/days of week in cron and active/deactivate flights accordingly
|
2018-04-12 16:12:32 -05:00 |
|
Nabeel Shahzad
|
395642f69c
|
Add /api/news route
|
2018-04-11 20:01:41 -05:00 |
|
Nabeel Shahzad
|
c102a0d858
|
Refactor all of the unit conversion code
|
2018-04-07 20:52:12 -05:00 |
|
Nabeel Shahzad
|
eae5989845
|
Replace METAR data with custom class
|
2018-04-07 09:05:06 -05:00 |
|
Nabeel Shahzad
|
a31b704203
|
add metar lib and adding some modifications
|
2018-04-04 20:59:52 -05:00 |
|
Nabeel Shahzad
|
d8dad44e43
|
Add compositional interface for METAR parser class
|
2018-04-04 17:14:46 -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
|
cfd0853d79
|
Convert expense type to char, translations for ExpenseType
|
2018-04-01 22:26:20 -05:00 |
|
Nabeel Shahzad
|
0f521c3af9
|
Change PIREP states to follow AIDX guidelines
|
2018-04-01 20:18:12 -05:00 |
|
Nabeel Shahzad
|
793b3e7134
|
change ref_class to ref_model
|
2018-04-01 14:32:01 -05:00 |
|
Nabeel Shahzad
|
3744dbfd5d
|
few more checks on aircraft fields
|
2018-03-30 21:56:55 -05:00 |
|
Nabeel Shahzad
|
8fb239fb8f
|
tests on all airport fields
|
2018-03-30 21:51:13 -05:00 |
|
Nabeel Shahzad
|
9eb8ed1804
|
fix aircraft status field type in model
|
2018-03-30 21:45:11 -05:00 |
|
Nabeel Shahzad
|
a3bfcf01b7
|
Fix mock storage for airports
|
2018-03-30 21:25:54 -05:00 |
|
Nabeel Shahzad
|
71da25eca5
|
Add mock stock to test the csv round-trip
|
2018-03-30 21:19:48 -05:00 |
|
Nabeel Shahzad
|
217da07007
|
Fix column headers
|
2018-03-30 20:57:30 -05:00 |
|
Nabeel Shahzad
|
70e5ccda6f
|
Add IATA and ZFW to aircraft import/export and tables
|
2018-03-30 20:21:18 -05:00 |
|
Nabeel Shahzad
|
f2952c6567
|
Fix blank/empty field being returned as invalid object #222
|
2018-03-30 18:53:43 -05:00 |
|
Nabeel Shahzad
|
1cbfdbdac5
|
don't attempt to convert flight type in flight exporter
|
2018-03-30 18:08:03 -05:00 |
|
Nabeel Shahzad
|
63544088cd
|
Add validation to importers to fix invalid/empty columns #222
|
2018-03-30 17:27:29 -05:00 |
|
Nabeel Shahzad
|
bd30b1f900
|
Check for departure airport restrictions #221
|
2018-03-30 11:08:53 -05:00 |
|
Nabeel Shahzad
|
08d3578d38
|
Add cost_block_hour tests; extra logging
|
2018-03-29 14:55:25 -05:00 |
|
Nabeel Shahzad
|
0bf1286c3a
|
Fix error in flight importer
|
2018-03-29 11:47:37 -05:00 |
|
Nabeel Shahzad
|
b31384f429
|
Expand flight types to match IATA SSIM
|
2018-03-29 11:34:36 -05:00 |
|
Nabeel Shahzad
|
f8f5a71564
|
Move subfleet add/remove to fleet service for a flight
|
2018-03-23 14:10:18 -05:00 |
|
Nabeel Shahzad
|
29b84f9281
|
Reverse the iata/icao columns for airport import
|
2018-03-22 22:21:54 -05:00 |
|
Nabeel Shahzad
|
7105e82922
|
Add days of week to flights table; add to import/export for flights
|
2018-03-22 21:21:35 -05:00 |
|
Nabeel Shahzad
|
112a72ac6f
|
Subfleet exporter #194
|
2018-03-22 17:59:10 -05:00 |
|
Nabeel Shahzad
|
46d8fb125a
|
Add fare import/exporter #194
|
2018-03-22 17:48:57 -05:00 |
|
Nabeel Shahzad
|
a44204b185
|
Import/export expenses #194
|
2018-03-22 17:17:37 -05:00 |
|
Nabeel Shahzad
|
fbfd71adcf
|
Cleanup Exporter; use firstOrCreate for any missing data we can infer/setup defaults for
|
2018-03-22 12:43:58 -05:00 |
|
Nabeel Shahzad
|
9657e8bd40
|
Rename import/export, fix tests with parser
|
2018-03-21 19:12:36 -05:00 |
|
Nabeel Shahzad
|
276b93fc57
|
Export flights to CSV in admin #194
|
2018-03-21 17:07:30 -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
|
36ea12e135
|
Move the model callbacks into Observables; reduce caching since it held balances incorrectly
|
2018-03-18 20:37:35 -05:00 |
|
Nabeel Shahzad
|
6b002f24a8
|
Store full datetime in post_date; recalculate finances on every pirep
|
2018-03-17 22:20:08 -05:00 |
|
Nabeel Shahzad
|
6fa724d7b7
|
Reduce the number of flights created in tests to reduce collisions
|
2018-03-17 18:45:18 -05:00 |
|
Nabeel Shahzad
|
67ef6872af
|
Call the AwardListener in the proper UserStatsChanged event #155
|
2018-03-17 12:55:50 -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
|
afd7aebe20
|
Allow the fares to be submitted via API for ACARS #125
|
2018-03-14 10:34:41 -05:00 |
|
Nabeel Shahzad
|
dc2570a408
|
Rename the PirepService class
|
2018-03-06 17:36:06 -06:00 |
|
Nabeel Shahzad
|
dad923489b
|
Set tags on transactions #130
|
2018-03-06 06:40:49 -06:00 |
|
Nabeel Shahzad
|
9d3953f3ac
|
Refactor expenses; move finance service classes; add daily/monthly skeletons #130 #136
|
2018-03-05 22:49:42 -06:00 |
|
Nabeel Shahzad
|
88a8fd2bbd
|
Remove subfleet_expenses and combine into main expenses table; select expense type on subfleet #130 #136
|
2018-03-05 21:24:49 -06:00 |
|
Nabeel Shahzad
|
96e8fbfa78
|
Add subfleet specific expenses, fixed bug for pirep fares #130 #136
|
2018-03-05 12:21:38 -06:00 |
|
Nabeel Shahzad
|
9424bf7c46
|
Fix finding expenses call #130
|
2018-03-02 17:48:36 -06:00 |
|
Nabeel Shahzad
|
586769fbf0
|
Fix tests and docs/better checks #130
|
2018-03-02 17:29:11 -06:00 |
|
Nabeel Shahzad
|
9f89447070
|
Add pilot pay to journals; cleanup payment code #130
|
2018-03-02 13:12:39 -06:00 |
|
Nabeel Shahzad
|
a3305249a6
|
Test for credits and debits with fixed amounts
|
2018-03-01 19:15:55 -06:00 |
|
Nabeel Shahzad
|
2c52a2f7e6
|
Post fares/expenses on PIREP to Airline journal #130
|
2018-03-01 16:20:13 -06:00 |
|
Nabeel Shahzad
|
d22eed50ad
|
Add test to get the balance group #130
|
2018-02-28 21:54:58 -06:00 |
|
Nabeel Shahzad
|
498e795e4b
|
Fixes and tests for the journal and journaled transactions #130
|
2018-02-28 21:52:36 -06:00 |
|
Nabeel Shahzad
|
d1fcecf873
|
Change to getValue() on Money class
|
2018-02-28 18:17:15 -06:00 |
|
Nabeel Shahzad
|
7ffef849d2
|
Remove useless tests
|
2018-02-28 15:42:43 -06:00 |
|
Nabeel Shahzad
|
3188f356eb
|
Add setting for home airport restriction #104
|
2018-02-28 15:27:46 -06:00 |
|
Nabeel Shahzad
|
ae0c3c5f27
|
Get the pilot pay, reconcile with values for subfleet overrides
|
2018-02-27 16:16:40 -06:00 |
|
Nabeel Shahzad
|
3aa4b8a410
|
Cleanup and move subfleet/rank settings to FleetService class
|
2018-02-27 14:12:03 -06:00 |
|
Nabeel Shahzad
|
97764866f2
|
Rename user_bids table to bids
|
2018-02-27 13:25:32 -06:00 |
|
Nabeel Shahzad
|
a38b4e063b
|
Return the flight object with the bid
|
2018-02-27 13:11:48 -06:00 |
|
Nabeel Shahzad
|
58e0f50c48
|
specify fares, js to dynamically change fare form; get applicable fares for the flight/pirep #125
|
2018-02-24 15:38:25 -06:00 |
|
Nabeel Shahzad
|
d5aef6fb87
|
Allow setting percent for fare overrides against base fare #125
|
2018-02-23 15:12:09 -06: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
|
3abf38ab93
|
Return string if not multi-value; add delete_previous flag #194
|
2018-02-21 21:42:47 -06:00 |
|
Nabeel Shahzad
|
9ed370693d
|
First pass at csv column parsing for kvp as values #194
|
2018-02-21 21:38:35 -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
|
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
|
3d9d17d9b9
|
Add call to get user's PIREPs #192
|
2018-02-19 10:35:49 -06:00 |
|
Nabeel Shahzad
|
5c58dfe1ae
|
generate a hex code for an aircraft on creation #33
|
2018-02-12 20:58:23 -06:00 |
|
Nabeel Shahzad
|
ee71f4a1c8
|
Remove tail_number field from aircraft
|
2018-02-12 11:03:25 -06:00 |
|
Nabeel Shahzad
|
2f8a69b774
|
Undo casting time types to Time object #189
|
2018-02-11 20:50:48 -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
|
cb02a7c15e
|
add Time support class #189
|
2018-02-10 21:36:13 -06:00 |
|
Nabeel Shahzad
|
a8e06c6cc6
|
base conversion classes for units #189
|
2018-02-10 21:16:32 -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
|
80cd80a5cf
|
Change the filtering to operate without being in the service layer #174
|
2018-02-09 15:42:37 -06:00 |
|
Nabeel Shahzad
|
17f1085ffb
|
Filter out flights depending on the only_flights_from_current setting #174
|
2018-02-09 15:36:13 -06:00 |
|
Nabeel Shahzad
|
9b55a9691f
|
Setting which filters out aircraft not at the departure airport #171
|
2018-02-09 15:07:34 -06:00 |
|
Nabeel Shahzad
|
f6b2102e48
|
fix bug where aircraft restrictions aren't respected in flight calls #170
|
2018-02-09 14:26:14 -06:00 |
|
Nabeel Shahzad
|
71189e4f2d
|
Change most APIs to require API key #173
|
2018-02-09 13:20:35 -06:00 |
|
Nabeel Shahzad
|
b4ea82f327
|
Cleanup of the test classes and remove superfluous dependencies
|
2018-02-08 11:07:21 -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
|
7c70bb0971
|
add setting to disable user aircraft rank restriction #138
|
2018-01-19 12:46:30 -05:00 |
|
Nabeel Shahzad
|
4f4137abf2
|
force no wrapping on the user fleet list #35
|
2018-01-10 19:00:38 -06:00 |
|
Nabeel Shahzad
|
396f4ac966
|
output response body #35
|
2018-01-10 18:55:20 -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
|
bf4e164e0d
|
Add calls and API to get user's fleet, determined by rank #35
|
2018-01-10 18:40:01 -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
|
7e45291b27
|
Add pivot table for flight_fare to override fare #125
|
2018-01-07 09:19:46 -06: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
|
d63f0ee2f8
|
Added /api/settings to retrieve all VA settings #120
|
2018-01-06 15:41:23 -06:00 |
|
Nabeel Shahzad
|
082c33ae59
|
Add /api/flights to retrieve all flights paginated #120
|
2018-01-06 15:21:21 -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
|
60256ab213
|
Add route for getting the current hubs
|
2018-01-05 15:30:35 -06:00 |
|
Nabeel Shahzad
|
500cbb8e06
|
Add lookup for aircraft as /fleet/aircraft/{id} #120
|
2018-01-05 13:00:45 -06:00 |
|
Nabeel Shahzad
|
1ee9041058
|
Add /api/fleet to get subfleets and all the aircraft #120
|
2018-01-05 10:45:34 -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
|
386186459f
|
rounding error in test
|
2018-01-04 21:59:52 -06:00 |
|
Nabeel Shahzad
|
dd629b2af8
|
Make sure arr_airport and dep_airport are included in PIREP prefile response #120
|
2018-01-04 21:21:51 -06:00 |
|
Nabeel Shahzad
|
db3c60987e
|
Change tests to use generated user
|
2018-01-04 21:05:26 -06:00 |
|
Nabeel Shahzad
|
265fb235f2
|
Deny user API access if they're not ACTIVE #119
|
2018-01-04 20:50:57 -06:00 |
|
Nabeel Shahzad
|
6db436b908
|
Fix rounding in the field tests
|
2018-01-04 20:19:49 -06:00 |
|
Nabeel Shahzad
|
9ad6434b38
|
Fix test with rounding for lat/lon equivalency
|
2018-01-04 20:16:29 -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 |
|