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