Nabeel Shahzad
80560ec20c
Formatting
2019-07-16 14:06:13 -04:00
Nabeel Shahzad
3e1d9080df
Backend changes separating id from pilot_id
2019-07-16 13:54:14 -04:00
Nabeel Shahzad
a720f12e0b
Rename Interfaces to Contracts to better match Laravel conventions
2019-07-15 15:44:31 -04:00
Nabeel Shahzad
06d8f11ca3
Cleanup SI Unit classes and interface for REST responses; fixes to a few METAR parsing issues
2019-07-15 15:14:40 -04:00
Nabeel Shahzad
b28ace970c
Add interface to additional roles/permissions
2019-06-20 16:52:37 -04:00
Nabeel Shahzad
88957f4071
Add php-cs-fixer to build
2019-05-12 13:26:44 -05:00
Nabeel Shahzad
2f2eb2e5b2
Mark ID as fillable for ACARS
2019-04-07 22:27:09 -05:00
Nabeel Shahzad
ab5480fdc9
Add explicit TOC accepted checkbox #244
2018-09-20 11:14:18 -05:00
Nabeel Shahzad
146fe05bdc
Remove return nulls
2018-09-08 11:40:03 -05:00
Nabeel Shahzad
daffd1017f
Add alt airport to pirep tables
2018-09-08 11:38:30 -05:00
Kevin Susanto
bac6396b19
Fix styleci checking
2018-09-05 09:27:16 +08:00
Kevin
b73182f830
Capturing pilot transfer hours
2018-09-05 08:09:33 +08:00
Nabeel Shahzad
3c32f2d89d
Apply fixes from StyleCI
2018-08-26 18:51:47 +00:00
Nabeel Shahzad
e95b3eb366
Code cleanup from inspection results
2018-08-26 13:50:08 -05:00
Nabeel Shahzad
9596d88b48
Apply fixes from StyleCI
2018-08-26 16:40:04 +00:00
Nabeel Shahzad
66a9b361cb
Cosmetics
2018-08-20 09:48:39 -05:00
Nabeel Shahzad
c40a8c893d
Readd bids.disable_flight_on_bid, fixes tests
2018-07-24 15:58:11 -05:00
Nabeel Shahzad
0ce86e9e44
Rewrite add/remove bids code w additional tests
2018-07-24 14:50:50 -05:00
Nabeel Shahzad
68b00f776a
Translation fixes
2018-07-15 15:06:25 -05:00
Nabeel Shahzad
4ca58ed754
Extra logging for cron and add flight visible field
2018-07-12 22:23:45 -05:00
Nabeel Shahzad
761c845300
Clean up some comments
2018-07-12 21:47:27 -05:00
Nabeel Shahzad
9cc640b866
Fix PIREP field and non-existant airport errors when editing PIREPs
2018-07-12 21:20:10 -05:00
Nabeel Shahzad
a083f9c671
Fix PIREP submission and field slug problems on PIREP edit
2018-05-30 14:00:20 -05:00
Nabeel Shahzad
d76b264238
Fix saving PIREPs as draft
2018-05-29 11:04:28 -05:00
Nabeel Shahzad
59b99497a7
Route sorting
2018-05-28 18:15:51 -05:00
Nabeel Shahzad
a515921143
Add opt-in as part of GDPR #244
2018-05-24 22:17:41 -05:00
Nabeel Shahzad
0a7f002217
More organizing for translations
2018-05-21 11:55:40 -05:00
lordwilbur
1c84dd1e44
changed Flight model to match update of route_leg column in db.
2018-05-21 09:57:10 -05:00
lordwilbur
ba8a819c7d
- fixed an error on finance in admin panel
...
- flight ident now use this format: VA IATA(if empty ICAO) + Flight Number + - + Flight Code (without C) + - + Flight Leg (without L)
- added function __trans_choice in helpers.php for translation
- fixed error in flight edit/insert panel not showing/inserting Tuesday in days
- fixed an error occurring when metar retrieved is empty
- edited now-ui-kit.css to align login fields correctly
- added /public/assets/frontend/js/core/jquery-3.3.1.min.js to fix a missed resource error in authentication pages
- added translations file for en and it locales
- translated all the frontend templates
2018-05-21 09:53:08 -05:00
Nabeel Shahzad
c8a9ebd26d
Data cleanup; set flight ident in response
2018-05-13 16:59:35 -05:00
Nabeel Shahzad
9332f64284
Cleanup admin pirep form and read-only state
2018-05-11 13:53:24 -05:00
Nabeel Shahzad
9ca8825868
Merge branch 'dev' of https://github.com/nabeelio/phpvms into dev
2018-05-11 13:05:37 -05:00
Nabeel Shahzad
b8424f712d
Acars log ordering
2018-05-11 13:05:34 -05:00
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