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
|
6701ce8c1a
|
comment out superfluous debug statements
|
2018-05-01 22:53:41 -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
|
50abda71cb
|
Fix if submitted_at blank
|
2018-04-30 17:51:18 -05:00 |
|
Nabeel Shahzad
|
73ffc9cf44
|
Fix flight type parameter
|
2018-04-30 17:29:50 -05:00 |
|
Nabeel Shahzad
|
7decac105f
|
Add another sample flight/airports for testing
|
2018-04-29 11:29:31 -05:00 |
|
Nabeel Shahzad
|
89f067807b
|
comment out the flight dupe check on import
|
2018-04-25 12:05:12 -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
|
fe5400a3bb
|
Add extra fields needed for internal active flags
|
2018-04-24 12:52:11 -05:00 |
|
Nabeel Shahzad
|
2c2b569c6c
|
Fix setting the subfleet pay
|
2018-04-23 10:36:11 -05:00 |
|
Nabeel Shahzad
|
6c83b539c8
|
Merge branch 'dev' of github.com:nabeelio/phpvms into dev
|
2018-04-23 10:25:11 -05:00 |
|
Nabeel Shahzad
|
cff7e2c4da
|
some cleanup as-per phpstan
|
2018-04-23 08:46:28 -05:00 |
|
Nabeel Shahzad
|
ea32353890
|
Fix flight on days deactivation test
|
2018-04-16 16:46:51 -05:00 |
|
Nabeel Shahzad
|
0965465601
|
add whereNotInOrder() to repository
|
2018-04-16 16:33:41 -05:00 |
|
Nabeel Shahzad
|
2319a8c9f4
|
Added more flight phases from ADREP
|
2018-04-16 09:33:45 -05:00 |
|
Nabeel Shahzad
|
63c5d69e10
|
Some fixes to trends parsing
|
2018-04-15 14:14:40 -05:00 |
|
Nabeel Shahzad
|
775900bb14
|
Filter out draft PIREPs
|
2018-04-15 12:37:04 -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
|
395642f69c
|
Add /api/news route
|
2018-04-11 20:01:41 -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
|
86d28aafd6
|
added a few columns for scheduling, styling in admin
|
2018-04-08 20:51:27 -05:00 |
|
Nabeel Shahzad
|
f842e86885
|
styling fixes
|
2018-04-08 16:00:22 -05:00 |
|
Nabeel Shahzad
|
c102a0d858
|
Refactor all of the unit conversion code
|
2018-04-07 20:52:12 -05:00 |
|
Nabeel Shahzad
|
eae5989845
|
Replace METAR data with custom class
|
2018-04-07 09:05:06 -05:00 |
|
Nabeel Shahzad
|
078f8038e4
|
quick comment over the ClassLoader
|
2018-04-06 17:23:55 -05:00 |
|
Nabeel Shahzad
|
d5fba47dc6
|
Move migration base class entirely into the interface
|
2018-04-06 17:21:10 -05:00 |
|
Nabeel Shahzad
|
3e89a53fc1
|
Move cron scripts to root namespace
|
2018-04-06 17:14:01 -05:00 |
|
Nabeel Shahzad
|
7179910bc6
|
Backend state for saving PIREP as a draft
|
2018-04-06 17:12:35 -05:00 |
|
Nabeel Shahzad
|
42264eb180
|
More refactoring of metar parser
|
2018-04-04 23:37:10 -05:00 |
|
Nabeel Shahzad
|
a31b704203
|
add metar lib and adding some modifications
|
2018-04-04 20:59:52 -05:00 |
|
Nabeel Shahzad
|
129c551fa0
|
Reorganized PIREP page
|
2018-04-04 17:42:43 -05:00 |
|
Nabeel Shahzad
|
d8dad44e43
|
Add compositional interface for METAR parser class
|
2018-04-04 17:14:46 -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
|
052813ba4a
|
Fixes in how METARs are parsed
|
2018-04-04 09:04:14 -05:00 |
|
Nabeel Shahzad
|
7a3a2f3e9a
|
Remove the url generator
|
2018-04-04 08:46:46 -05:00 |
|
Nabeel Shahzad
|
9ff3c1ab10
|
remove single entry for pagination testing
|
2018-04-03 22:45:45 -05:00 |
|
Nabeel Shahzad
|
a0422899a5
|
redesigning the pirep page a bit
|
2018-04-03 22:44:11 -05:00 |
|
Nabeel Shahzad
|
6fb66a1d80
|
Fixing some styling on the frontend
|
2018-04-03 19:21:42 -05:00 |
|
Nabeel Shahzad
|
99555539a7
|
Fix timezone/country not being saved on register #223
|
2018-04-03 09:43:32 -05:00 |
|
Nabeel Shahzad
|
04d63ca931
|
Remove medialibrary stuff
|
2018-04-03 08:16:39 -05:00 |
|
Nabeel Shahzad
|
2351dbe717
|
Move caching into Metar base class, clean up of caller in the widget
|
2018-04-02 22:44:31 -05:00 |
|
Nabeel Shahzad
|
717118cfb4
|
Add METAR interface and use local library for decoding
|
2018-04-02 22:35:25 -05:00 |
|
Nabeel Shahzad
|
3dba586f83
|
Add downloads page
|
2018-04-02 18:37:41 -05:00 |
|
Nabeel Shahzad
|
36a7886668
|
Add laravel-medialibrary for avatars
|
2018-04-02 17:49:04 -05:00 |
|
Nabeel Shahzad
|
0f98e729ce
|
Save file asset
|
2018-04-02 17:34:58 -05:00 |
|
Nabeel Shahzad
|
ccfa904300
|
change file controller name
|
2018-04-02 13:42:24 -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
|
3ddee56359
|
Add description field for files
|
2018-04-02 11:46:33 -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
|
c000034cab
|
Some changes to WX template layout and cache the API call out #61
|
2018-04-02 07:06:00 -05:00 |
|
Nabeel Shahzad
|
f84ff8de92
|
Add a column for the user avatar #226
|
2018-04-02 06:47:31 -05:00 |
|
Nabeel Shahzad
|
bb73af3806
|
Add weather to the dashboard for the current airport
|
2018-04-02 06:47:05 -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
|
0bed38c78b
|
Add airport overview page and links to it #225
|
2018-03-31 15:57:30 -05:00 |
|
Nabeel Shahzad
|
46f9b3d9b9
|
Typo #96
|
2018-03-30 22:36:01 -05:00 |
|
Nabeel Shahzad
|
1275d7ebc4
|
Set user on ON_LEAVE automatically after days in settings() #96
|
2018-03-30 22:28:19 -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
|
f2952c6567
|
Fix blank/empty field being returned as invalid object #222
|
2018-03-30 18:53:43 -05:00 |
|
Nabeel Shahzad
|
2c726f6c52
|
Fix error with days input missing from flight create/edit
|
2018-03-30 18:25:27 -05:00 |
|
Nabeel Shahzad
|
1cbfdbdac5
|
don't attempt to convert flight type in flight exporter
|
2018-03-30 18:08:03 -05:00 |
|
Nabeel Shahzad
|
63544088cd
|
Add validation to importers to fix invalid/empty columns #222
|
2018-03-30 17:27:29 -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
|
7fbcfa391b
|
block on/off times in FormRequest check
|
2018-03-29 14:12: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
|
184123194b
|
Fix column type for flight_type
|
2018-03-29 11:38:39 -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
|
504b33ba2a
|
Add AirspaceMap widget; airport overview page
|
2018-03-27 11:40:37 -05:00 |
|
Nabeel Shahzad
|
99142f9fec
|
Fixed merge
|
2018-03-26 09:35:01 -05:00 |
|
Nabeel Shahzad
|
46e956475a
|
Fix comments
|
2018-03-26 09:33:45 -05:00 |
|
Nabeel Shahzad
|
5ecfc2d437
|
Switch to autodiscover for console commands
|
2018-03-25 16:52:13 -05:00 |
|
Nabeel Shahzad
|
ca2f8e1aa5
|
Move helper generation to new command
|
2018-03-25 16:50:48 -05:00 |
|
Nabeel Shahzad
|
699883f2fc
|
Update dependencies, remove ide_helper generating always
|
2018-03-25 16:19:24 -05:00 |
|
Nabeel Shahzad
|
0671742703
|
Load subfleet page first, can add aircraft from there #217
|
2018-03-23 20:30:31 -05:00 |
|
Nabeel Shahzad
|
1eb7e5d59a
|
Fix issue with flight fields not adding correctly
|
2018-03-23 20:29:37 -05:00 |
|
Nabeel Shahzad
|
33daaf4a35
|
Add an InternalError type that piggybacks ValidationError
|
2018-03-23 17:29:54 -05:00 |
|
Nabeel Shahzad
|
f5c492bb7e
|
Sort aircraft by registration
|
2018-03-23 16:41:09 -05:00 |
|
Nabeel Shahzad
|
c81fc5f25b
|
only output airline icao in subfleet export
|
2018-03-23 16:38:56 -05:00 |
|
Nabeel Shahzad
|
eb64f268d3
|
Fix flight field bugs
|
2018-03-23 15:02:26 -05:00 |
|
Nabeel Shahzad
|
f8f5a71564
|
Move subfleet add/remove to fleet service for a flight
|
2018-03-23 14:10:18 -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
|
c6f423087d
|
fix failed to error
|
2018-03-23 10:37:34 -05:00 |
|
Nabeel Shahzad
|
182cb2d33b
|
Change flight_number field to uint
|
2018-03-22 23:11:59 -05:00 |
|
Nabeel Shahzad
|
49dfa7fc17
|
Sort flights by flight_number
|
2018-03-22 22:50:41 -05:00 |
|
Nabeel Shahzad
|
28a44631fc
|
add field values to flight api
|
2018-03-22 22:48:54 -05:00 |
|
Nabeel Shahzad
|
29b84f9281
|
Reverse the iata/icao columns for airport import
|
2018-03-22 22:21:54 -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
|
46d8fb125a
|
Add fare import/exporter #194
|
2018-03-22 17:48:57 -05:00 |
|
Nabeel Shahzad
|
a44204b185
|
Import/export expenses #194
|
2018-03-22 17:17:37 -05:00 |
|
Nabeel Shahzad
|
4e3a9fd9ea
|
Export airports
|
2018-03-22 13:04:13 -05:00 |
|
Nabeel Shahzad
|
d4f79b1331
|
Add aircraft export
|
2018-03-22 12:55:56 -05:00 |
|
Nabeel Shahzad
|
78e70fec3b
|
Fix directory creation path
|
2018-03-22 12:48:27 -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
|
9657e8bd40
|
Rename import/export, fix tests with parser
|
2018-03-21 19:12:36 -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
|
782121829a
|
Fix seeder for flight_subfleet
|
2018-03-20 16:12:33 -05:00 |
|
Nabeel Shahzad
|
5d5565e5a8
|
rename flight subfleet join table
|
2018-03-20 16:11:24 -05:00 |
|
Nabeel Shahzad
|
9e43955fbb
|
rename yaml import/export
|
2018-03-20 16:10:52 -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
|
273ccc648d
|
Set some more methods as final in interfaces
|
2018-03-19 21:01:32 -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
|
02a6d0d056
|
Change the PilotFlightAwards parameter name to be more descriptive #155
|
2018-03-17 18:38:09 -05:00 |
|
Nabeel Shahzad
|
28d180e850
|
Change the parameter name into the award check() method #155
|
2018-03-17 18:19:05 -05:00 |
|
Nabeel Shahzad
|
3a1ee94acf
|
Ordering in ClassLoader
|
2018-03-17 18:07:42 -05:00 |
|
Nabeel Shahzad
|
776cea7055
|
Add error handler when trying to invoke in ClassLoader
|
2018-03-17 18:07:13 -05:00 |
|
Nabeel Shahzad
|
4b7cd6ce6e
|
Splice the logger to use the cron stack for the console
|
2018-03-17 18:05:51 -05:00 |
|
Nabeel Shahzad
|
67ef6872af
|
Call the AwardListener in the proper UserStatsChanged event #155
|
2018-03-17 12:55:50 -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
|
a21e2dd412
|
Clean up Award controller in admin #155
|
2018-03-17 11:39:51 -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
|
d34de098e5
|
Add separate redirect config after registration
|
2018-03-16 11:42:01 -05:00 |
|
Nabeel Shahzad
|
428d016e26
|
Customize redirect after login
|
2018-03-16 11:41:18 -05:00 |
|
Nabeel Shahzad
|
15d483b332
|
Add config to change redirect after login
|
2018-03-16 11:40:09 -05:00 |
|
Nabeel Shahzad
|
92bb56e344
|
Add recaptcha implementation #212
|
2018-03-16 11:38:06 -05:00 |
|