Commit Graph

51 Commits

Author SHA1 Message Date
B.Fatih KOZ
c45d52dffa
Aircraft level Hub definitions (#1363)
* Aircraft level Hub definitions

* Add ability to define a hub for an aircraft apart from its subfleet.

* Update csv import/export capability for hub_id field

* Fix importertest source csv

* Fix source csv for updating too

* Update aircraft_empty_cols.csv

Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2021-11-30 14:54:29 -05:00
B.Fatih KOZ
4ea8357952
Fix SimBrief Controller | flight relationships (#1350)
* Update SimBriefController.php

Fix the fares relationship which was causing trouble when a flight had assigned fares

* Fix model name used in relationship

`Simbrief` should be `SimBrief`
2021-11-16 16:26:43 -05:00
B.Fatih KOZ
358f0b663e
Fix Aircraft Model | Add trait for relationship (#1345)
* Add trait for relationship

* StlyeFix
2021-11-03 12:51:34 -04:00
B.Fatih KOZ
addfa68016
Add Aircraft > Simbrief relationship (#1343) 2021-11-02 10:54:36 -04:00
B.Fatih KOZ
f498ad3bba
Airline <> Aircraft Relationships (#1338)
* Aircraft relationship

* Airline relationship

* Flight and Pirep Relationships

* Style and logic fix
2021-11-02 08:40:50 -04:00
B.Fatih KOZ
930d4cfa08
Update Aircraft Model (Landing Time Attribute) (#1336)
* Update Aircraft.php

Return `landing_time` attribute in Carbon format if it is not empty

* StyleFix
2021-10-25 10:11:52 -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
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 Shahzad
51004b143c Fix validator type for aircraft #805 2020-09-03 15:14:26 -04:00
Nabeel S
50a0b89caa
Add MTOW and ZFW to aircraft editor #775 (#805)
Add MTOW and ZFW to aircraft editor #775
2020-09-03 13:29:24 -04:00
Nabeel S
5b771be653
Fix flight hours field #683 (#684) 2020-05-05 14:36:14 -04:00
Nabeel S
f78d065858
Aircraft status field blank causes error #603 (#604)
* Update composer lock file

* Require aircraft status #603
2020-03-01 11:18:23 -05:00
Nabeel S
68eff40753
Replace importer with AJAX powered; better error handling #443 (#447)
* Replace importer with AJAX powered; better error handling #443

* Formatting

* Fix command line importer
2019-12-02 09:57:35 -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
a720f12e0b Rename Interfaces to Contracts to better match Laravel conventions 2019-07-15 15:44:31 -04:00
Nabeel Shahzad
9596d88b48 Apply fixes from StyleCI 2018-08-26 16:40:04 +00:00
Nabeel Shahzad
e358b8706f Backend for file uploads attached to any generic model, initially on aircraft and airports #226 2018-04-01 18:02:12 -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
a44204b185 Import/export expenses #194 2018-03-22 17:17:37 -05:00
Nabeel Shahzad
bb5bb4d4c7 Fixed scoping rules in Model classes 2018-03-20 19:40:19 -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
ccf56ddec1 Fix formatting and interfaces in nearly every file 2018-03-19 20:50:40 -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
f13c961863 Fix flight page errors and some naming fixes 2018-03-08 08:51:36 -06:00
Nabeel Shahzad
a325470b8f Aircraft can have its own expenses #130 2018-03-06 17:32:56 -06:00
Nabeel Shahzad
586769fbf0 Fix tests and docs/better checks #130 2018-03-02 17:29:11 -06:00
Nabeel Shahzad
910c0e0eab Convert aircraft active to more detailed status #134 2018-02-23 16:37:10 -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
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
6498ba1d16 add zfw field to aircraft 2018-01-30 10:04:50 -06:00
Nabeel Shahzad
cbdce35545 Aircraft can be added without subfleet/block subfleet deletion if still in use #128 2018-01-09 13:34:19 -06:00
Nabeel Shahzad
110d742714 cleanup model relationship references 2018-01-08 09:22:12 -06:00
Nabeel Shahzad
64734af419 Fix broken test/Airport model in boot 2018-01-03 22:28:17 -06:00
Nabeel Shahzad
fe4e200983 Trim ICAO/IATA names, clean up model fields 2018-01-03 22:04:51 -06:00
Nabeel Shahzad
a6ddecf159 Basic import logic and scaffolding #114 2018-01-02 21:00:46 -06:00
Nabeel Shahzad
11c724649c Field and error message cleanup 2017-12-31 14:20:52 -06:00
Nabeel Shahzad
3bd97b4d37 add PIREP pre-file and ACARS updates; removing caching from ACARS/Pirep/User repositories; adjust PirepState enum values; add additional columns 2017-12-25 15:19:34 -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
fc1220178b #21 PIREP scaffolding 2017-06-28 19:57:22 -05:00
Nabeel Shahzad
5dce55b4f3 cleanup aircraft table/repo 2017-06-24 14:00:56 -05:00
Nabeel Shahzad
3736e530bf #32 moved fares to subfleets 2017-06-24 11:09:27 -05:00
Nabeel Shahzad
c3e417429a #32 assign aircraft to subfleets, and aircraft to subfleets 2017-06-23 17:33:18 -05:00
Nabeel Shahzad
aaaead77a5 #32 subfleet classificiation scaffolding 2017-06-22 20:55:45 -05:00
Nabeel Shahzad
381a713882 more schema adjustments to tighten up column types and constraints 2017-06-21 11:40:08 -05:00
Nabeel Shahzad
38d8371e0b fixed admin route prefix problem and invalid validations 2017-06-11 15:37:57 -05:00
Nabeel Shahzad
bf910e4549 set fare classes on aircraft w/ overrides (no admin ui yet) 2017-06-10 18:27:19 -05:00
Nabeel Shahzad
bacc372985 fares & aircraft fares 2017-06-10 01:50:00 -05:00
Nabeel Shahzad
7a79a8558e some refactoring for tests and adding some tables 2017-06-09 22:19:17 -05:00