Commit Graph

53 Commits

Author SHA1 Message Date
Nabeel Shahzad
d18925f473 Add tests for 0 results METAR 2021-04-14 06:45:35 -04:00
exciler
be6332936f
When importing flights, set subfleet name only if subfleet has been created (#1095)
* when importing flights, set subfleet name only if subfleet has been created, do not update existing subfleets

* add tests for flights import regarding subfleets

Co-authored-by: Andreas Palm <ap@ewsp.de>
2021-03-23 08:50:19 -04:00
Nabeel S
2ecf366670
Add missing columns from subfleet export #926 (#941) 2020-11-26 13:34:04 -05:00
Yash Govekar
716ba38b6d
Default values for automatically added airports #829 (#878) 2020-10-20 15:25:13 -04:00
Nabeel S
48087fb05f
Metar: TEMPO and trend causing issue with values being overwritten (#862)
Metar: TEMPO and trend causing issue with values being overwritten
2020-10-10 14:55:12 -04:00
Nabeel S
519ae600d5
Fix METAR invalid parameter #738 (#743) 2020-06-04 06:30:35 -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
9f3ddd5dbd
Add fixed pilot pay for a flight #487 (#622) 2020-03-06 11:36:02 -05: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
ea9ee985e8
METAR parsing infinite loop bugfix #599 (#600)
METAR parsing infinite loop bugfix #599
2020-02-28 22:50:41 -05:00
Nabeel S
c2f7c5e421
Properly create/update rows importing #486 (#503) 2020-01-16 10:40:42 -05:00
Nabeel S
4f4d0c266a
Allow nullable field and calculate distance if nulled for flight import #478 (#482) 2019-12-25 17:16:34 +05:00
Nabeel S
47be7507f0
Fix/metar reading (#354)
* Account for empty ICAO; added tests

* Fix null returns

* Fix typo in volume units display

* Add version field for bug report template

* Some more changes to the bug report template
2019-08-08 17:41:53 -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 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 Shahzad
9475a737f0 Change exporter to use utf-8 close #282 2019-07-17 13:36:16 -04:00
Nabeel Shahzad
f640381978 Export extra fields for airports 2018-07-12 22:21:39 -05:00
Nabeel Shahzad
feeb4946d1 Add some indexes and tests for airports 2018-05-07 14:07:41 -05:00
Nabeel Shahzad
793b3e7134 change ref_class to ref_model 2018-04-01 14:32:01 -05:00
Nabeel Shahzad
9eb8ed1804 fix aircraft status field type in model 2018-03-30 21:45:11 -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
63544088cd Add validation to importers to fix invalid/empty columns #222 2018-03-30 17:27:29 -05:00
Nabeel Shahzad
0bf1286c3a Fix error in flight importer 2018-03-29 11:47:37 -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
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
2de8d9ed64 Add /api/airlines and /api/airline/{id} #120 2018-01-06 15:13:33 -06:00
Nabeel Shahzad
db3c60987e Change tests to use generated user 2018-01-04 21:05:26 -06:00
Nabeel Shahzad
1140c1c1bb Remove first rank which is put in the seeding for the db create 2017-12-29 17:36:17 -06:00
Nabeel Shahzad
5bedbba2a7 use laratrust to replace entrust #78 2017-12-15 12:36:13 -06:00
Nabeel Shahzad
ab75ef7cf8 Fix and enable Subfleet/Fare tests and factories 2017-12-13 11:29:14 -06:00
Nabeel Shahzad
55250b8789 PIREP tests working, using minutes to track flight hours instead of seconds 2017-12-13 10:56:26 -06:00
Nabeel Shahzad
f3dea588d9 Tests now use factory-generated data, wired up before cleaning up some of the fixture data 2017-12-12 21:50:55 -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
248a8d1488 Add more API resources; user bid management and tests #35 #36 2017-12-12 16:58:27 -06:00
Nabeel Shahzad
ab4c2ec6eb Fix missing airline_id 2017-12-12 13:30:52 -06:00
Nabeel Shahzad
0f18e60fd9 #36 Add authentication for API; generate API key 2017-12-11 22:05:22 -06:00
Nabeel Shahzad
d34e30666d Cleanup for settings table and moved some seed data into the migrations 2017-12-09 21:21:49 -06:00
Nabeel Shahzad
7cf449f08d IATA codes 2017-12-07 14:50:16 -06:00
Nabeel Shahzad
bacef7ee83 rename airline code column to icao 2017-08-16 08:33:43 -05:00
Nabeel Shahzad
0dcdd5cba5 woops, broke the build - set the IATA codes 2017-07-22 23:07:37 -05:00
Nabeel Shahzad
b5dd700044 Adjust columns in migrations and give lens to strings and custom flight fields #48 2017-07-10 18:54:51 -05:00
Nabeel Shahzad
10baaab646 #41 inline editing of fuel prices 2017-07-05 18:48:32 -05:00
Nabeel Shahzad
870eefb83d #21 Some more fixes for PIREPs 2017-07-04 13:57:08 -05:00