Commit Graph

448 Commits

Author SHA1 Message Date
Nabeel Shahzad
b31384f429 Expand flight types to match IATA SSIM 2018-03-29 11:34:36 -05:00
Nabeel Shahzad
1161106d9c Fix airport field row being inserted and check against airport ID 2018-03-23 12:27:28 -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
8b53ca2fdc Fix types and codes import 2018-03-22 19:59:35 -05:00
Nabeel Shahzad
112a72ac6f Subfleet exporter #194 2018-03-22 17:59:10 -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
276b93fc57 Export flights to CSV in admin #194 2018-03-21 17:07:30 -05:00
Nabeel Shahzad
95a7365fee remove unique on update #214 2018-03-21 12:35:06 -05:00
Nabeel Shahzad
dad44db0bc Fix table reference for uniques 2018-03-21 10:34:04 -05:00
Nabeel Shahzad
0dca866f11 Fix unique validation 2018-03-21 09:55:02 -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
5d5565e5a8 rename flight subfleet join table 2018-03-20 16:11:24 -05:00
Nabeel Shahzad
25a299fb74 Add flight fields for templated fields on edit flight #213 2018-03-20 13:47:47 -05:00
Nabeel Shahzad
485c6e86bb add separate flight_fields table and move over to flight_field_values 2018-03-20 13:06:06 -05:00
Nabeel Shahzad
a9454c319a Add helper field() method to Pirep model 2018-03-20 11:46:48 -05:00
Nabeel Shahzad
712cb185b4 Add a helper method in the Flight model to more easily get a custom value 2018-03-20 11:36:28 -05:00
Nabeel Shahzad
4e59bd0442 view flight bids in flights screen #203 2018-03-20 11:28:06 -05:00
Nabeel Shahzad
ccf56ddec1 Fix formatting and interfaces in nearly every file 2018-03-19 20:50:40 -05:00
Nabeel Shahzad
04c5b9e7bf Move Enum base class to App\Interfaces 2018-03-18 21:24:41 -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
3c39aeee43 Change rank field from image_link to image_url for consistency 2018-03-17 12:19:26 -05:00
Nabeel Shahzad
e9baf4acb5 Add/edit the award class in Admin #155 2018-03-17 12:17:38 -05:00
Nabeel Shahzad
7feecb507d Add ability to pass in parameters to an Award class #155 2018-03-17 11:35:34 -05:00
Nabeel Shahzad
26f00ccaae Add the event listener for the awards #155 2018-03-17 00:55:39 -05:00
Nabeel Shahzad
31b9195a6e Implement the other functionality for awards #154 2018-03-17 00:18:03 -05:00
Nabeel Shahzad
45a22e26be Merge #154 Awards into dev 2018-03-17 00:03:17 -05:00
Nabeel Shahzad
7dd6a7e7f3 Awards base class and scaffolding #155 2018-03-16 23:59:53 -05:00
Nabeel Shahzad
067fb0f9f0 Implement events for cron expenses; add processing of daily/monthly expenses #136 2018-03-16 20:12:56 -05:00
Nabeel Shahzad
92bb56e344 Add recaptcha implementation #212 2018-03-16 11:38:06 -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
83f0f1bfe3 Fix notification events callers 2018-03-09 08:52:55 -06:00
Nabeel Shahzad
aac355b077 Fix boot magic name in trait 2018-03-08 08:56:27 -06: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
c7925db0e7 Add field to charge an expense to a user #130 2018-03-06 17:15:42 -06:00
Nabeel Shahzad
db10ebf807 Add expenses on airports as well #130 #136 2018-03-05 22:10:00 -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
505931736c Finance overview page added to admin with monthly breakdown #130 2018-03-05 19:55:48 -06:00
Nabeel Shahzad
53e4bf533f Add finance controller; morphable expense type so they can be applied to any model #130 2018-03-05 14:18:54 -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
586769fbf0 Fix tests and docs/better checks #130 2018-03-02 17:29:11 -06:00
Nabeel Shahzad
2df09c533b show transactions in pirep 2018-03-02 16:09:48 -06:00
Nabeel Shahzad
9f89447070 Add pilot pay to journals; cleanup payment code #130 2018-03-02 13:12:39 -06:00
Nabeel Shahzad
02374dcd57 Update balance in callbacks 2018-03-01 22:00:11 -06:00
Nabeel Shahzad
f9208c9d72 Don't throw exception is journal exists #130 2018-03-01 18:59:24 -06:00
Nabeel Shahzad
2c52a2f7e6 Post fares/expenses on PIREP to Airline journal #130 2018-03-01 16:20:13 -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
1794549a20 Move journal transaction code to repository #130 2018-02-28 19:04:56 -06:00
Nabeel Shahzad
f557e9f965 Add ledger and journal tables #130 2018-02-28 18:01:32 -06:00
Nabeel Shahzad
dfa6d6da51 Split rank pay rate into separate rates for acars and manual flights 2018-02-27 14:29:45 -06:00
Nabeel Shahzad
baccf7e3ad Fix the flight time not showing closes #199 2018-02-27 13:37:29 -06:00
Nabeel Shahzad
97764866f2 Rename user_bids table to bids 2018-02-27 13:25:32 -06:00
Nabeel Shahzad
f6ec647eb6 Add base payrate field for ranks 2018-02-26 17:56:30 -06:00
Nabeel Shahzad
4a73a5a6b3 Add table/models and admin for expenses #136 2018-02-26 15:16:12 -06:00
Nabeel Shahzad
d0b3b27975 Remove the flight_id column from the pireps table 2018-02-24 15:51:04 -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
910c0e0eab Convert aircraft active to more detailed status #134 2018-02-23 16:37:10 -06:00
Nabeel Shahzad
db94f5b405 Add a ground_handling_multiplier to the subfleet table #134 2018-02-23 16:00:14 -06:00
Nabeel Shahzad
4142d5d28a Add ground_handling_cost to airport #134 2018-02-23 15:48:50 -06:00
Nabeel Shahzad
964ea904a1 Make sure the subfleet type field doesn't have spaces 2018-02-21 20:18:50 -06:00
Nabeel Shahzad
1a54aadc19 Make sure the subfleet name doesn't have spaces 2018-02-21 20:16:49 -06:00
Nabeel Shahzad
77055991af Get the correct ordering for flight route on map 2018-02-21 15:15:12 -06:00
Nabeel Shahzad
ea09a18956 Fixed formatting of almost every file 2018-02-20 22:33:09 -06:00
Nabeel Shahzad
bac829b425 Shrink decimal field sizes as they're overly large 2018-02-20 15:57:31 -06:00
Nabeel Shahzad
b9e88527dd Unit conversion fixes #193 2018-02-20 14:23:02 -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
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
fdf18cf533 Remove raw_data field from pireps closes #188 2018-02-20 11:17:34 -06:00
Nabeel Shahzad
3d55fc09f7 Add options field on setting data import 2018-02-19 11:19:18 -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
61af5fe226 Cleanup column types and assign Time class to fields #189 2018-02-11 20:38:56 -06:00
Nabeel Shahzad
fd4407a798 Move internal unit definitions to config file #189 2018-02-11 20:19:02 -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
9b9a20b437 set default storage unit #189 2018-02-10 22:18:07 -06:00
Nabeel Shahzad
f14a9e3ba1 implements ArrayAccess for casting to type #189 2018-02-10 22:04:30 -06:00
Nabeel Shahzad
a8e06c6cc6 base conversion classes for units #189 2018-02-10 21:16:32 -06:00
Nabeel Shahzad
7a527f2ed3 Set access modifier on all enums (php 7.1) 2018-02-10 14:06:25 -06:00
Nabeel Shahzad
8acb9291fe hide all cancelled pireps #180 2018-02-10 13:25:40 -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
041cef91de Refactor how settings are added to generate the offsets and order 2018-02-09 12:57:00 -06:00
Nabeel Shahzad
b5dbde84c4 Fix rank image link field to be string 2018-02-06 14:09:20 -06:00
Nabeel Shahzad
de0c71cb06 Set fields to pireps in prefile/update calls 2018-02-06 13:46:23 -06:00
Nabeel Shahzad
531c7ddba3 Set hours to read-only once they've changed away from PENDING #167 2018-02-06 12:58:48 -06:00
Nabeel Shahzad
ac0058e951 Some more attribute cleanup 2018-02-06 12:01:55 -06:00
Nabeel Shahzad
56bf277fe0 Add shorthands for timezone to tz 2018-02-06 11:02:40 -06:00
Nabeel Shahzad
1cc999a4f9 Change Airport tz field to timezone 2018-02-06 10:59:31 -06:00
Nabeel Shahzad
c6b1a475e9 Add timezone aliases 2018-02-06 10:33:39 -06:00
Nabeel Shahzad
8d76e16220 Add the validation error fields in the templates 2018-02-06 10:18:22 -06:00
Nabeel Shahzad
995d53df3e Set slug properly on pirep field and fix validation 2018-02-06 10:02:34 -06:00
Nabeel Shahzad
ad90d1bccf add transfer time fields in user table #129 2018-01-30 12:31:59 -06:00
Nabeel Shahzad
9a426f79f9 Add fuel_used column to PIREPs table 2018-01-30 11:27:39 -06:00
Nabeel Shahzad
af4c9cd973 Cleanup some PIREP fields 2018-01-30 11:15:07 -06:00
Nabeel Shahzad
0fbd8e5d68 Fix distance field types 2018-01-30 11:09:59 -06:00
Nabeel Shahzad
29c0f3cdaf Add zfw and block_fuel to factory 2018-01-30 11:07:48 -06:00
Nabeel Shahzad
4f59e466a2 Change fuel_used to block_fuel 2018-01-30 11:05:14 -06:00
Nabeel Shahzad
6498ba1d16 add zfw field to aircraft 2018-01-30 10:04:50 -06:00
Nabeel Shahzad
a5f51f6264 Add first pass of pirep import; additional fields in flight/pirep tables #114 2018-01-29 18:14:55 -06:00
Nabeel Shahzad
2b2aaefe2c Cast distance fields 2018-01-29 16:29:02 -06:00
Nabeel Shahzad
c55b55726e Add distance and planned_distance to PIREP api 2018-01-29 16:27:55 -06:00
Servetas George
78724e981c Awards Administration 2018-01-28 21:19:35 +02:00
Nabeel Shahzad
653ff2a104 Major refactoring and cleanup of ACARS/Pirep API 2018-01-28 11:12:13 -06:00
Nabeel Shahzad
cd61c999e7 Cleanup default value field migrations; flight fields 2018-01-23 21:58:13 -06:00
Nabeel Shahzad
f9efa81bb4 Refactoring of PIREP submission and field code #146 2018-01-23 15:48:30 -06:00
Nabeel Shahzad
3a02a77eba Add pilots list page; fix gravatar display and pilot profile #82 2018-01-19 17:07:31 -05:00
Nabeel Shahzad
6e12c00725 add mysql/db version to posted analytics 2018-01-18 22:59:09 -05:00
Nabeel Shahzad
7e09cf6c28 Add enums for the custom analytics fields 2018-01-18 22:32:50 -05: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
78912f2f31 Allow user to set country 2018-01-09 19:08:16 -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
8d65462084 Add news tables and models #52 2018-01-08 09:02:55 -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
d63f0ee2f8 Added /api/settings to retrieve all VA settings #120 2018-01-06 15:41:23 -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
b62fa7757c Overhaul of ACARS/PIREP APIs 2018-01-04 19:33:23 -06:00
Nabeel Shahzad
64734af419 Fix broken test/Airport model in boot 2018-01-03 22:28:17 -06:00
Nabeel Shahzad
676a310432 Add relationship to pull ACARS log messages 2018-01-03 22:19:06 -06:00
Nabeel Shahzad
81650f5c34 Added AcarsType::LOG 2018-01-03 22:10:56 -06:00
Nabeel Shahzad
fe4e200983 Trim ICAO/IATA names, clean up model fields 2018-01-03 22:04:51 -06:00
Nabeel Shahzad
507ce5f24f Add flights to the importer, added a few missing columns with output 2018-01-03 21:40:05 -06:00
web541
08df20de19 Fixed a few field entries (#116)
* Stopped inheritance errors popping up

* Added fillable fields

These would not save otherwise.

* Added country fillable field

Wouldn’t save when importing from phpvms classic.

* Added more to classic importer

Change arguments to ask in terminal
Fixed table_prefix names in Importer.php

Added the ability to import users from phpvms classic (tested on
simpilot’s 5.5.x) and when importing, it will then reset the user’s
password to a temporary hash and then email it to the user to then
change when they first log in.

* Changes to ImporterService
2018-01-03 15:41:21 -06:00
Nabeel Shahzad
be6e5e8dec admin can add comments to PIREPs #70 2018-01-03 15:27:56 -06:00
Nabeel Shahzad
fce6c987fd Add some stats info for airlines and the stats table #108 2018-01-03 12:58:38 -06:00
Nabeel Shahzad
2394b8e419 Rename field to image_link and add field to edit #111 2018-01-03 12:47:12 -06:00
Nabeel Shahzad
4a5c11fc34 Add a DELETED state for PIREPs 2018-01-03 10:30:12 -06:00
Nabeel Shahzad
8744a8b17b Add a CANCELLED state for PIREPs 2018-01-03 09:49:32 -06:00
web541
e3bd4fb169
Remove unique email entry 2018-01-03 16:15:48 +11:00
Nabeel Shahzad
a6ddecf159 Basic import logic and scaffolding #114 2018-01-02 21:00:46 -06:00
Nabeel Shahzad
b0907504b6 Updates to settings code for creating the ID and setting the order 2018-01-02 11:42:26 -06:00
Nabeel Shahzad
37cdde845d Add order column to ACARS table for the order of the route points 2018-01-02 09:40:42 -06:00
Nabeel Shahzad
78af2fd637 cleanup of geojson and route map code 2018-01-01 19:02:22 -06:00
Nabeel Shahzad
5cf0bbaa65 Clean up the GeoJSON generation code 2018-01-01 16:01:01 -06:00
Nabeel Shahzad
b456dc1a71 Save PIREP route to ACARS data table #102 2018-01-01 13:48:02 -06:00
Nabeel Shahzad
fc52bdf166 Restrict relationship to FLIGHT_PATH #102 2018-01-01 10:38:45 -06:00
Nabeel Shahzad
078e26df57 Add AcarsType column and enum; save flight updates as FLIGHT_PATH #102 2018-01-01 10:30:31 -06:00
Nabeel Shahzad
6406f47aaa Fix up the PIREP field CRUD code 2017-12-31 20:59:26 -06:00
Nabeel Shahzad
11c724649c Field and error message cleanup 2017-12-31 14:20:52 -06:00
Nabeel Shahzad
d93e461266 Field cleanup and some field details 2017-12-31 14:00:50 -06:00
Nabeel Shahzad
4cc08406fa Regenerate API key 2017-12-31 13:08:41 -06:00
Nabeel Shahzad
e73440d081 format settings key 2017-12-31 11:19:18 -06:00
Nabeel Shahzad
948338d2b6 Change setting table ID to string, handle the converison of . to _ 2017-12-31 11:09:56 -06:00
Nabeel Shahzad
81e82629ac Rename PilotState class to UserState 2017-12-30 20:40:32 -06:00
Nabeel Shahzad
7180bfb111 cleanup validation rules 2017-12-30 14:37:10 -06:00
Nabeel Shahzad
2ddc613c81 add acars table to uuid table list 2017-12-30 14:13:47 -06:00
Nabeel Shahzad
3bbc32e235 allow the API key to be settable 2017-12-30 12:15:26 -06:00
Nabeel Shahzad
4a1d7c59fb added settings page in admin #93 2017-12-30 10:38:18 -06:00
Nabeel Shahzad
7cd4bf5ffb Add user setup to installer 2017-12-29 16:56:46 -06:00
Nabeel Shahzad
9d92d8af55 More work on the pirep/acars maps 2017-12-28 14:35:28 -06:00
Nabeel Shahzad
edca0644ff Add acars map page and show in-progress flights 2017-12-27 16:47:22 -06:00
Nabeel Shahzad
4f6b8e8e23 plot actual flight path and datapoints from ACARS table 2017-12-26 15:26:12 -06:00
Nabeel Shahzad
9916444ca2 change field to in acars table 2017-12-25 18:22:46 -06:00
Nabeel Shahzad
f29a9cfdc5 some acars/tables fixes 2017-12-25 18:10:24 -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
70b1476e93 Add markers for the navpoints on the flight and pirep maps 2017-12-24 17:38:38 -06:00
Nabeel Shahzad
07bcc5f199 Fixed login and added suspended message 2017-12-23 08:36:02 -06:00
Nabeel Shahzad
babdca627e Fixes and cleanup for user pending/registration calls 2017-12-22 16:32:21 -06:00
Nabeel Shahzad
1ebf2bd09c Don't allow login if user is pending or rejected; some refactoring of the registration code 2017-12-22 13:38:24 -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
6c546b5094 Add flight route map; algorithm for picking from multiple nav points; some tests 2017-12-20 19:12:39 -06:00
Nabeel Shahzad
17093e9fe9 Import navigation data from Navigraph files 2017-12-20 16:34:52 -06:00
Nabeel Shahzad
3f8073e552 Add initial translations for enumerated values 2017-12-20 13:27:57 -06:00
Nabeel Shahzad
e5278bc0bf Output PIREP map with just the dep/arr airports for now 2017-12-20 11:28:21 -06:00
Nabeel Shahzad
0375bb420f Major refactoring for PIREP statuses and states to accomodate ACARS/route data 2017-12-19 20:19:36 -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
248a8d1488 Add more API resources; user bid management and tests #35 #36 2017-12-12 16:58:27 -06:00
Nabeel Shahzad
a5cf130176 add a has_bid column to the flights table 2017-12-12 13:59:05 -06:00
Nabeel Shahzad
d634778ed2 Cleaning up database fields, fix types and columns 2017-12-12 13:26:08 -06:00
Nabeel Shahzad
e05976a982 Add additional settings; Use pilot id length from setting 2017-12-12 12:43:58 -06:00
Nabeel Shahzad
de582f617c Rename UserFlight to UserBid to match functionality 2017-12-12 11:49:35 -06:00
Nabeel Shahzad
373f45c86c Convert flight transformer to the native Laravel resource object 2017-12-12 07:25:11 -06:00
Nabeel Shahzad
0f18e60fd9 #36 Add authentication for API; generate API key 2017-12-11 22:05:22 -06:00
Nabeel Shahzad
f2add8908b add setting() helper; fix invalid defaults for mysql in table 2017-12-09 21:56:26 -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
f0309e65de set/add timezone information for airports and users 2017-12-06 16:07:25 -06:00
Nabeel Shahzad
5593d01035 Edit user PIREP 2017-12-03 15:29:34 -06:00
Nabeel Shahzad
4c8fca39eb accept/reject pireps in admin; cleanup and refactoring 2017-12-03 00:48:33 -06:00
Nabeel Shahzad
e1b0b92f83 flight search and pagination (in admin), schema changes to accomodate 2017-11-30 20:28:45 -06:00
Nabeel Shahzad
f52b4bb4d9 Initial user management in admin panel 2017-11-29 18:01:07 -06:00
Nabeel Shahzad
feca30c4cb composer update == bad 2017-09-07 15:40:30 -05:00
Nabeel Shahzad
1502e0193f fix tests, finally. i hope. cleanup before laravel 5.5 update 2017-09-07 15:35:17 -05:00
Nabeel Shahzad
aba0ed2065 use hashid vs uuid for pirep fields 2017-08-24 10:51:47 -05:00
Nabeel Shahzad
0d29369e54 #21 file PIREP; populate custom fields and set correct status 2017-08-23 14:19:05 -05:00
Nabeel Shahzad
beba08f651 add/set ICAO and logo for airlines 2017-08-16 08:11:39 -05:00
Nabeel Shahzad
c45d0541ef #35 rest api additions for pireps 2017-08-14 23:36:49 -05:00
Nabeel Shahzad
bc94772ce2 intitial work on rest api 2017-08-14 18:26:20 -05:00
Nabeel Shahzad
b817760276 move traits into their own namespace 2017-08-12 12:24:00 -05:00
Kyle
afc3e7643d Corrected Uuid Trait Errors 2017-08-12 16:47:44 +00:00
Kyle
70dfea96c8 My bad, my editor didn't pull the latest file on User.php 2017-08-12 16:47:44 +00:00
Kyle
5b83ca3e9b Register form and functionally 2017-08-12 16:47:44 +00:00
Nabeel Shahzad
3f61b82b11 this should fix the build and shut travis up 2017-08-10 18:29:02 -05:00
Nabeel Shahzad
f46f87567c some sample users and gravatar lookup 2017-08-10 18:21:24 -05:00
Nabeel Shahzad
9d53c0103f #57 user can save flights 2017-08-03 21:02:02 -05:00
Nabeel Shahzad
1953c4dcb5 add a pirep_comments table 2017-08-02 10:17:54 -05:00
Nabeel Shahzad
3a77e442ea add pirep events model 2017-07-23 13:07:41 -05:00
Nabeel Shahzad
9986f5df33 add airline reference to PIREP 2017-07-23 09:45:33 -05:00
Nabeel Shahzad
9a08586564 allow setting of IATA code for airline 2017-07-22 23:03:39 -05:00
Nabeel Shahzad
fc6253b46f #21 adjust the pirep view/edit form 2017-07-13 22:09:38 -05:00
Nabeel Shahzad
4f2f08af62 #48 Model/relationships for custom flight fields 2017-07-10 19:06:06 -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
Tim
45793d3b2f Merge branch 'master' into dev 2017-07-08 15:12:20 +02:00
Tim
650341e7c8 Update Airline.php 2017-07-08 15:09:58 +02:00
Nabeel Shahzad
06367d149d Merge branch 'master' into patch-2 2017-07-08 08:04:43 -05:00
Tim
aece7809fa Active checkbox changed to integer 2017-07-08 11:25:09 +02:00
Tim
06f481a262 Fix adding of airport
Fix the adding of airport. It will now save the lat & Long and allow to put decimals in rather than just a rounded number
2017-07-07 23:15:03 +02:00
Tim
acd5da56ce Change flight number to integer 2017-07-07 22:41:02 +02:00
Nabeel Shahzad
10baaab646 #41 inline editing of fuel prices 2017-07-05 18:48:32 -05:00
Nabeel Shahzad
d44d374218 #41 add fuel prices to the airports table 2017-07-05 13:25:40 -05:00
Nabeel Shahzad
e6b338cd32 #41 add fuel type to subfleet table 2017-07-05 09:55:36 -05:00
Nabeel Shahzad
870eefb83d #21 Some more fixes for PIREPs 2017-07-04 13:57:08 -05:00
Nabeel Shahzad
77b164a64c #21 base code for accepting/rejecting PIREPs 2017-07-04 01:05:37 -05:00
Nabeel Shahzad
9b6f9e9586 #21 basic listings/model configs 2017-07-02 21:25:48 -05:00
Nabeel Shahzad
9dc880d7d3 #23 cleaned up rank data and templates 2017-07-02 15:03:25 -05:00
Nabeel Shahzad
0821258a2d #21 FK wiring 2017-06-29 15:50:16 -05:00
Nabeel Shahzad
fc1220178b #21 PIREP scaffolding 2017-06-28 19:57:22 -05:00
Nabeel Shahzad
477b99de29 \#21 PIREP scaffolding 2017-06-28 19:57:15 -05:00
Nabeel Shahzad
5dce55b4f3 cleanup aircraft table/repo 2017-06-24 14:00:56 -05:00
Nabeel Shahzad
fe1100e57f #34 remove users from uuid 2017-06-24 13:30:13 -05:00
Nabeel Shahzad
ba57cef0a7 #34 Generate UUID on seeder/models 2017-06-24 13:20:24 -05:00
Nabeel Shahzad
3736e530bf #32 moved fares to subfleets 2017-06-24 11:09:27 -05:00
Nabeel Shahzad
ca74afacd8 formatting 2017-06-23 17:38:32 -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
PHP-Mods
6bbb37061b reset the example data in config/mail.php 2017-06-22 13:32:36 +03:00
Nabeel Shahzad
5b920151b8 #23 add rankings 2017-06-21 20:18:01 -05:00
Nabeel Shahzad
cb631292b9 #23 refactoring for ranks 2017-06-21 13:44:30 -05:00
Nabeel Shahzad
b5c41626c5 #23 initial scaffolding for rankings 2017-06-21 12:10:25 -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
c732476f6d Rename 'Airlines' model to 'Airline' 2017-06-19 11:50:25 -05:00
Nabeel Shahzad
f4e7eef40c #14 initial scaffolding for adding flights/schedules 2017-06-17 17:25:36 -05:00
Nabeel Shahzad
38d8371e0b fixed admin route prefix problem and invalid validations 2017-06-11 15:37:57 -05:00
Nabeel Shahzad
d3cf57a1d1 add airports table and #7 integrate permissions 2017-06-11 11:36:16 -05:00
Nabeel Shahzad
c542d85366 include entrust and some seed data for admin role/user 2017-06-10 20:10:31 -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
Nabeel Shahzad
0cb98f1920 rename 'enabled' to 'active' 2017-06-08 20:46:50 -05:00
Nabeel Shahzad
3678363766 add Aircraft CRUD 2017-06-08 20:37:51 -05:00
Nabeel Shahzad
4fcfc84ccf Airlines model and controller 2017-06-08 20:02:52 -05:00