Nabeel Shahzad
cce575c1a6
Fix avatar/gravatar call throwing error
2020-03-25 10:58:03 -04:00
Nabeel Shahzad
eafea01e22
Fix gravatar url check
2020-03-24 18:54:04 -04:00
Nabeel Shahzad
62cea3eb0c
Load the user airline/bid ahead of time; SB XML name fix
2020-03-24 16:17:28 -04:00
Nabeel Shahzad
3f7a7d0f2e
Remove empty fields from user return, add avatar
2020-03-24 15:53:59 -04:00
Nabeel S
9e5386264f
SimBrief integration #405 ( #635 )
...
* SimBrief integration #405
* Add briefing as API response; add acars_xml field #405
2020-03-23 09:31:35 -04:00
Nabeel S
2a03d53b3f
Fix airline mapping for aircraft #628 ( #633 )
2020-03-09 15:06:36 -04:00
Nabeel S
2846a78d2a
Fix saving of fare #621 ( #624 )
2020-03-06 16:54:53 -05:00
Nabeel S
632c5782de
Add fare type for pax/cargo/mixed flights #621 ( #623 )
2020-03-06 15:10:03 -05:00
Nabeel S
9f3ddd5dbd
Add fixed pilot pay for a flight #487 ( #622 )
2020-03-06 11:36:02 -05:00
Nabeel S
16c977c769
Add load_factor and load_factor_variance to flights #352 ( #620 )
2020-03-05 20:19:12 -05:00
Nabeel S
89481b5fa1
HTTP/HTTPS mixed content errors #612 ( #613 )
...
* Configure TrustProxies middleware
* Add trusted proxies to deps
* Replace jquery request with axios request code
* Trust current user IP for forwarded headers
* Update dependencies
* Downgrade self-updater package for PHP 7.2
2020-03-03 10:20:13 -05:00
Nabeel Shahzad
dcf9f48364
Add ID column to fare #608
2020-03-02 17:38:48 -05:00
Nabeel S
f78d065858
Aircraft status field blank causes error #603 ( #604 )
...
* Update composer lock file
* Require aircraft status #603
2020-03-01 11:18:23 -05:00
Nabeel S
dbaac04eea
Remove airport length restrictions #590 ( #592 )
2020-02-27 11:37:05 -05:00
Nabeel S
f2b216c404
Remove 4 char restriction from ICAO; use decimal type for lat/lon #590 ( #591 )
...
* Remove 4 char restriction from ICAO; use decimal type for lat/lon #590
* Reorder imports
2020-02-26 17:06:39 -05:00
Nabeel S
b34dc4868e
Change fuel used to optional #512 ( #582 )
2020-02-23 16:01:09 -05:00
Nabeel S
9ed07da9c3
Upsert on ACARS positions #572 ( #573 )
2020-02-22 16:03:01 -05:00
Nabeel S
b9993b9c23
Set expenses on specific flight types #348 ( #549 )
...
* Set expenses on specific flight types #348
* Formatting
* Use strict check for in_array
2020-02-12 10:40:52 -05:00
Nabeel S
be6c164f03
Add checkbox to clear previous data when importing #490 ( #546 )
...
* Add checkbox to clear previous data when importing #490
2020-02-11 10:51:18 -05:00
Nabeel S
df832088d5
Make the fuel used optional ( #512 )
2020-01-22 10:33:10 -05:00
Nabeel S
831b72fb2b
Set a default model value for airports on PIREP ( #500 )
...
* Set a default model value for airports on PIREP
* Fix airport icao reference
* Default airport models
2020-01-15 13:00:58 -05:00
Nabeel S
7d07008871
Fix GeoService errors when viewing PIREP #498 ( #499 )
2020-01-15 09:09:58 -05:00
Nabeel S
aafc9680bf
Properly set the distance/planned_distance on save ( #497 )
2020-01-14 13:45:22 -05:00
Nabeel S
74052e4542
Return the flight fares if there are no subfleet fares #488 ( #489 )
...
* Return the flight fares if there are no subfleet fares #488
* Formatting
* Formatting
2020-01-06 13:44:43 -05:00
Nabeel Shahzad
66a1192739
Cleanup Model doc
2019-12-22 09:46:41 +05:00
Nabeel S
1f65b744a0
Fix CSV imports giving Storage class not found #454 ( #462 )
...
* Fix CSV imports giving Storage class not found #454
* Update yarn files for security alert
2019-12-10 13:53:55 -05:00
Nabeel S
b06287da23
Stricter checks on ACARS API data ( #451 )
...
* Stricter checks on ACARS API data
* More checks
2019-12-02 18:27:58 -05:00
Nabeel S
68eff40753
Replace importer with AJAX powered; better error handling #443 ( #447 )
...
* Replace importer with AJAX powered; better error handling #443
* Formatting
* Fix command line importer
2019-12-02 09:57:35 -05:00
Nabeel S
50dc79bc8d
Refactor and add importer to Installer module #443 ( #444 )
...
* Refactor and add importer to Installer module #443
* Refactor for finances to use in import
* Import groups into roles
* Formatting
* Formatting
* Add interface in installer for import
* Notes about importing
* Check for installer folder
* Formatting
* Fix pirep->user mapping
* Unused import
* Formatting
2019-11-27 09:19:20 -05:00
Nabeel S
ea3ab21beb
391 Notification refactorings ( #441 )
...
* Refactor notifications to allow easier plugins
* Notification refactoring
* Formatting
* Move news to NewsService; cleanup of events
* More refactoring; added send email out for news item and the template
* Formatting
* Formatting
2019-11-20 10:16:01 -05:00
Nabeel S
3ec64c989b
Fixes ( #435 )
...
* Add flight level field to PIREP field closes #401
* Default value for distance 0 closes #400
* Block airline deletion if assets exist #367
* Formatting
* Move some of the base exception classes
* Fix skin references to use settings table
* Set default for theme name if setting is wrong
2019-11-19 10:06:07 -05:00
Nabeel S
f5183babf6
#406 Refactor bids ( #432 )
...
* Add flight_id column to pireps table
* Refactor PIREPs and bids closes 406
* Formatting
2019-11-05 11:44:31 -05:00
Nabeel S
7a34756188
Issue fixes ( #413 )
...
* Auto lookup missing airports closes #404
* Ensure flight ICAOs are capitalized closes #404
* Update htaccess in root closes #412
* Update htaccess in root closes #412
* StyleCI fix
2019-10-23 12:01:31 -04:00
Nabeel S
aedb1f22b6
Don't allow cancels from certain states ( #396 )
...
* Don't allow cancels from certain states
* Unused imports
* Don't reset the state doubly
* Move SetUserActive into listener; code cleanup
* Unused imports
* Add missing files into htaccess
* Move Command contract to correct folder
2019-09-16 13:08:26 -04:00
Nabeel S
23eb9dcbda
384 Laravel 6 changes ( #385 )
...
* 384 Laravel 6 changes
* Library versions
* Update package versions
* Add keyType to models
* Remove unused dependencies
* StyleCI fixes
* Fix models for test
* Fix tests output and update test runner
* Unused imports
* Update exceptions handler
* Fix login page
2019-09-13 08:05:02 -04:00
Nabeel S
651174bda8
229 url for downloads ( #369 )
...
* Allow file uploads for subfleet
* Allow URL to be used for a download
* Remove old FileUploadRequest
* Move file removal logic to service layer
* Remove unused import
* Remove unused packages
2019-08-26 14:43:50 -04:00
Nabeel S
a08c9db284
Add setting to include transfer hours in calculations ( #350 )
...
* Add setting to include transfer hours in calculations
* Add some extra tests to check versions
* A couple of more version test cases
2019-08-08 12:50:43 -04:00
Nabeel S
9f3ba05880
Issue/329 refactor seeding ( #337 )
...
* Fix Contracts class names
* Refactoring of the file seeds so it's not a mess
* StyleCI fixes
2019-08-05 08:27:53 -04:00
Nabeel S
95147e31bf
Fix issue where user stats aren't incremented on PIREP auto accept ( #335 )
...
* Fix issue where user stats aren't incremented on PIREP auto accept
* Formatting
2019-08-01 15:23:59 -04:00
Nabeel Shahzad
70f470d64e
Formatting
2019-07-23 09:08:05 -04:00
Nabeel Shahzad
fcc6295a77
Remove unused/dead code
2019-07-23 09:00:39 -04:00
Nabeel Shahzad
c5007f2928
Formatting
2019-07-23 08:43:40 -04:00
Nabeel Shahzad
62a10224a0
Account for fuel in the finance calculations #313
2019-07-23 08:41:20 -04:00
Nabeel Shahzad
bb15119bf0
Append rules for Create/Update
2019-07-17 11:00:30 -04:00
Nabeel Shahzad
567ff91de0
Add pilot ID change fields to the admin screen
2019-07-17 09:48:20 -04:00
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