Nabeel Shahzad
|
bc7fccfb95
|
Cleanup the cancelled PIREP logic
|
2018-05-11 12:08:55 -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
|
42c6a11780
|
Don't show in progress PIREPs in admin and order the map data
|
2018-05-09 17:58:51 -05:00 |
|
Nabeel Shahzad
|
4fa024045d
|
refactorings of pirep/acars api calls; separate field calls
|
2018-05-09 12:45:24 -05:00 |
|
Nabeel Shahzad
|
4fc30ec4bc
|
Allow the created_at/updated_at fields to be edited
|
2018-05-08 17:30:44 -05:00 |
|
Nabeel Shahzad
|
0cd7b3b71f
|
live map updates
|
2018-05-04 13:59:47 -05:00 |
|
Nabeel Shahzad
|
cbb5182cea
|
Add distance/fuel fields to ACARS tables
|
2018-05-03 15:06:50 -05:00 |
|
José Bustos
|
ec273d2928
|
Add getAvatarAttribute()
refactoring other methods this will work
|
2018-05-02 18:59:57 -05:00 |
|
Jose Miguel Bustos Espinoza
|
41f4c76006
|
Remote getAvatarAttribue() beacuse it cause conflict with final avatar path.
|
2018-05-02 18:59:57 -05:00 |
|
Nabeel Shahzad
|
5dff563c75
|
Fixes for API and live map
|
2018-05-02 15:14:18 -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
|
5cd9c608a7
|
Add score to model and fields
|
2018-04-25 11:56: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
|
cff7e2c4da
|
some cleanup as-per phpstan
|
2018-04-23 08:46:28 -05:00 |
|
Nabeel Shahzad
|
2319a8c9f4
|
Added more flight phases from ADREP
|
2018-04-16 09:33:45 -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
|
f54f19100c
|
Add a PIREP flag for ready_only; some more METAR cleanup
|
2018-04-09 22:04:59 -05:00 |
|
Nabeel Shahzad
|
e1c8174b3f
|
More styling fixes in admin/flight add/edit form
|
2018-04-09 19:32:38 -05:00 |
|
Nabeel Shahzad
|
c102a0d858
|
Refactor all of the unit conversion code
|
2018-04-07 20:52:12 -05:00 |
|
Nabeel Shahzad
|
d5fba47dc6
|
Move migration base class entirely into the interface
|
2018-04-06 17:21:10 -05:00 |
|
Nabeel Shahzad
|
7179910bc6
|
Backend state for saving PIREP as a draft
|
2018-04-06 17:12:35 -05:00 |
|
Nabeel Shahzad
|
129c551fa0
|
Reorganized PIREP page
|
2018-04-04 17:42:43 -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
|
a0422899a5
|
redesigning the pirep page a bit
|
2018-04-03 22:44:11 -05:00 |
|
Nabeel Shahzad
|
9e1e0142e9
|
Route downloads through controller; file IDs as hash to prevent guessing; download count; download list on airport page
|
2018-04-02 12:55:37 -05:00 |
|
Nabeel Shahzad
|
bbfad3a0ef
|
Allow uploads for top level airline
|
2018-04-02 11:08:38 -05:00 |
|
Nabeel Shahzad
|
026a83591d
|
Fixes to file uploading; include disk name, remove clunky redirect code
|
2018-04-02 11:04:32 -05:00 |
|
Nabeel Shahzad
|
f84ff8de92
|
Add a column for the user avatar #226
|
2018-04-02 06:47:31 -05:00 |
|
Nabeel Shahzad
|
cfd0853d79
|
Convert expense type to char, translations for ExpenseType
|
2018-04-01 22:26:20 -05:00 |
|
Nabeel Shahzad
|
2a01a935c0
|
Add enums to language strings file
|
2018-04-01 21:44:04 -05:00 |
|
Nabeel Shahzad
|
02fa97504e
|
Rename Off-block to Departed
|
2018-04-01 20:47:44 -05:00 |
|
Nabeel Shahzad
|
eb06c07fdb
|
Update PIREP statuses
|
2018-04-01 20:37:10 -05:00 |
|
Nabeel Shahzad
|
0f521c3af9
|
Change PIREP states to follow AIDX guidelines
|
2018-04-01 20:18:12 -05: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
|
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
|
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
|
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
|
2ab4db3a2e
|
Add edit for flight type; block_on_time and block_off_time for PIREP API
|
2018-03-29 14:10:49 -05:00 |
|
Nabeel Shahzad
|
cf43685740
|
Add/implement subfleet cost_block_hour and block_time for PIREP API
|
2018-03-29 13:42:16 -05:00 |
|
Nabeel Shahzad
|
0bf1286c3a
|
Fix error in flight importer
|
2018-03-29 11:47:37 -05:00 |
|
Nabeel Shahzad
|
bc013e31c8
|
Fix charter cargo name
|
2018-03-29 11:36:08 -05:00 |
|
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 |
|