Nabeel Shahzad
bf878a98a4
Extra logging around fares
2020-10-13 18:10:31 -04:00
Nabeel S
dc007f6d9e
Bids are missing subfleets in API response #867 ( #868 )
...
Bids are missing subfleets in API response #867
2020-10-12 12:49:11 -04:00
Nabeel S
193fbd369d
Show awards on user profile #703 ( #866 )
2020-10-11 16:06:09 -04:00
Nabeel Shahzad
24aca506fc
Update UserController.php
2020-10-06 19:26:52 -04:00
Nabeel Shahzad
365e33f5f8
Redirect show() to edit()
2020-10-06 19:10:42 -04:00
Nabeel Shahzad
7a75e0f5ad
Fix missing $countries
2020-10-06 18:52:34 -04:00
Nabeel S
95a40d3565
Make sure proper subfleets are returned as part of the user profile #848 ( #849 )
...
* Make sure proper subfleets are returned as part of the user profile #848
* Formatting
2020-09-30 12:58:45 -04:00
Nabeel S
51186bed7c
Fix for aircraft not being detected at departure airport #781 ( #789 )
...
Aircraft not being checked/detected at departure airport #781
2020-08-17 16:44:31 -04:00
Nabeel Shahzad
d3e6d2c49a
Add extra logging for user not being at proper airport
2020-08-14 10:26:21 -04:00
Nabeel S
27316f96e8
Fix missing user fields #785 ( #786 )
2020-08-13 17:44:41 -04:00
Nabeel Shahzad
ee6982f558
Build fix/StyleCI
2020-08-12 14:46:08 -04:00
Nabeel Shahzad
4f46e75515
Check for active flag for user fields in registration
2020-08-12 14:39:00 -04:00
Nabeel Shahzad
ace7c42557
Fix typo for unique email check
2020-08-12 09:06:18 -04:00
Nabeel S
3ebf4f2924
Custom user fields #711 ( #772 )
...
Custom user fields during registration and profile edit #711
2020-08-11 17:48:51 -04:00
Nabeel S
64e4c91e7e
Check public pages for authorization #761
2020-07-10 13:11:38 -04:00
Nabeel S
e4b1c238f3
Add ACARS update event #755 ( #756 )
2020-06-09 09:10:40 -04:00
Nabeel Shahzad
a443908bed
Frontend flight controller for active airlines
2020-05-23 11:48:48 -04:00
Nabeel Shahzad
c46fc9171c
Check for airline being active; fix tests for L7 #718
2020-05-23 11:45:07 -04:00
Nabeel Shahzad
f17cd15b01
Allow on-leave user to login; show alert message and ensure status is updated #719
2020-05-23 07:20:55 -04:00
Nabeel Shahzad
eb90d08761
Make sure the Updater module is enabled #707
2020-05-21 22:12:09 -04:00
Nabeel Shahzad
975ee9b88e
Fix for update showing available when one isn't #707
2020-05-21 11:50:13 -04:00
Nabeel Shahzad
b9aeda1cba
Enable logins using pilot ID #698
2020-05-16 11:52:05 -04:00
Nabeel S
99f4f3b3d8
Change currency from settings #671 ( #672 )
2020-04-26 11:55:20 -04:00
Nabeel S
03cfc648b0
Create journal when new airline is created #667 ( #670 )
2020-04-26 10:31:58 -04:00
Nabeel S
866d95c945
Check for SB being avail before filing #668 ( #669 )
2020-04-26 10:23:42 -04:00
Nabeel S
40a94cb9ad
Add privatized version of name #656 ( #658 )
2020-04-06 12:03:19 -04:00
Nabeel S
261984ee90
Fix PirepComment response; 201 to 200 ( #654 )
2020-04-01 01:05:09 -04:00
Nabeel Shahzad
e8037c7d69
Return full PIREP when updating
2020-03-31 23:42:33 -04:00
Nabeel Shahzad
d1d243ef06
Update response objects
2020-03-31 17:26:55 -04:00
Nabeel Shahzad
e9b30fbe30
Make sure user and acars data is sent from API
2020-03-29 13:33:14 -04:00
Nabeel S
45873431e4
Add public/private pages #641 ( #644 )
...
* Add public/private pages #641
* Cleanup the form requests
2020-03-28 13:03:52 -04:00
Nabeel S
4a3ec38919
Option for SB only on bids; add the new file type #642 ( #643 )
...
Option for SB only on bids; add the new file type #642
2020-03-27 11:49:19 -04:00
Nabeel S
f3fe3a56ba
Don't return bids by default, fix user flight column #639 ( #640 )
...
Fix the user api response, don't return bids by default, fix flights column #639
2020-03-25 18:04:26 -04:00
Nabeel Shahzad
cce575c1a6
Fix avatar/gravatar call throwing error
2020-03-25 10:58:03 -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 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
632c5782de
Add fare type for pax/cargo/mixed flights #621 ( #623 )
2020-03-06 15:10:03 -05:00
Nabeel S
9ed2e3f9f4
API: Flight fields are an array when empty #618 ( #619 )
...
* Ensure 'fields' field is return as an object for flights #618
* Eager loading for flight fields
2020-03-04 18:14:03 -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
a1d6fa17ad
Respect home hubs setting for registration #580 ( #581 )
...
Respect home hubs setting for registration #580
2020-02-23 17:21:26 -05:00
Nabeel S
9ed07da9c3
Upsert on ACARS positions #572 ( #573 )
2020-02-22 16:03:01 -05:00
Nabeel S
da575932a7
Add extra check for being set #560 ( #563 )
2020-02-20 11:36:26 -05:00
Nabeel S
c0fbc7d491
Missing on bids page #561 ( #562 )
2020-02-20 10:49:15 -05:00
Nabeel S
0060f794ae
Refresh theme cache on settings page load #554 ( #557 )
2020-02-18 17:10:31 -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
f392bf1cb8
Add additional events for PIREP states #436 ( #548 )
2020-02-11 13:56:20 -05:00
Nabeel S
b36a3009dd
Cleanup Utils #467 ( #547 )
...
* Remove Utils Facade
2020-02-11 12:32:41 -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
99118daad9
Auto update #449 ( #545 )
...
* Add custom repository type for updates
* Direct to self update module
* Formatting
2020-02-10 17:47:46 -05:00
Nabeel S
6b79ad7e58
Auto-update functionality #449 ( #544 )
...
* Convert tar to zip file for updater
* Add update section to maintenance
2020-02-10 12:39:59 -05:00
Nabeel S
dd9fbdb6f1
Add link to download ACARS config from profile ( #539 )
...
* Add link to download ACARS config from profile
* Formatting
2020-02-07 13:29:43 -05:00
Nabeel S
51b50972c8
Try to clear caches before updating ( #522 )
...
* Try to clear caches before updating
* Add clear-compiled to maintenance cache list
* Formatting
2020-01-30 14:59:48 -05:00
Nabeel S
2415caab54
Search flights by subfleet #484 ( #506 )
...
* API level search of flights #484
* Add Subfleet to flights page for search
2020-01-16 17:36:03 -05:00
Nabeel Shahzad
9aded3a552
/flights and /flights/search direct to the same endpoint
2020-01-10 10:17:11 -05:00
Nabeel S
03284959d6
Search for ICAO not working properly ( #496 )
2020-01-10 09:41:32 -05:00
Nabeel Shahzad
4844692bd9
Account for units when entering fuel amounts #493
2020-01-09 07:34:05 -05:00
Nabeel S
282cb4be95
Check for no roles being attached #480 ( #483 )
2019-12-26 09:42:03 +05:00
Nabeel S
17637c32d4
Pilots cannot use the dashboard or flights without admin rights ( #481 )
...
* Use auth middleware instead of specific groups for logged in state
* Auth check for admin access
* Check user admin access for updates
* Formatting
2019-12-25 13:31:09 +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
8cb0021b9f
Use PhpExecutableFinder() closes #457 #458 ( #460 )
2019-12-09 15:26:30 -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
f95a3f336b
Fix missing newsRepo ( #445 )
2019-11-23 12:58:48 -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
a45770732a
Show a message about setting up the cron and if there was an error running it ( #425 )
2019-10-30 09:55:32 -04:00
Nabeel S
ec4f10d43a
359 Select theme in settings ( #423 )
...
* Update composer package versions
* Laravel version
* Change theme in the admin settings page closes #359
* Fix comment
2019-10-30 09:05:18 -04:00
Nabeel S
eff9f6fec6
Fix blank aircraft field causing error closes #414 ( #422 )
2019-10-29 13:57:17 -04: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
6e9dcf8a31
Design and file upload issues ( #399 )
...
* Fix some styling issues/edit button on PIREP overview page
* Fix validation for file/url upload
* Formatting
2019-09-16 15:17:51 -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 Shahzad
52332c250b
Fix the route() calls for L6
2019-09-13 18:20:50 -04:00
Nabeel Shahzad
0c89d36a16
Remove remnants of Timezonelist library
2019-09-13 17:54:46 -04:00
Nabeel S
d68d8791bd
389 API Changes ( #393 )
...
* Update PHPUnit to 8
* Fix API endpoints closes #389
* Update pagination method in Repository contract to look at the page number closes #390
* Remove unused imports
* Fix tests in FlightTests
* Typecast page
* Don't register factories
* Remove Factory loading
* Remove unused imports
2019-09-13 11:21:40 -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
b213f2bb4c
Add maintenance section to admin, clear caches #376 ( #377 )
...
* Add maintenance section to admin, clear caches #376
* Formatting
2019-08-30 15:59:08 -04:00
Nabeel S
0d1f38cf85
Refactor all JS API calls #360 ( #375 )
...
* Refactor all JS API calls #360
* Remove unused imports
* Lint JS
* Fix doubled api key
* Formatting
* Added extra logging to distance lookup
* Remove the .editorconfig file in distrib
* shell check fixes
* Remove the .editorconfig file in distrib
2019-08-30 08:08:00 -04:00
Nabeel S
fd2f4f2150
Move airline transaction code into service layer ( #371 )
...
* Move airline transaction code into service layer
* Remove unused import
2019-08-26 14:55:59 -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
bbec276da8
#355 Calculate distance button ( #366 )
...
* #355 Calculate distance button in add/edit Flight page
* Styling
* Move add/edit flight logic out of controller and into service layer
* Styling
* Formatting
* Run styleci against modules dir
* Styleci config
* Style fixes in /modules
2019-08-26 12:32:46 -04:00
Nabeel S
6018a6dcaa
Add Contract interface for airport lookup functionality ( #365 )
...
* Add Contract interface for airport lookup functionality
* style ci fixes
2019-08-22 14:32:49 -04:00
Nabeel S
182aabf426
Refactor error handling internally to follow RFC7807 ( #362 )
...
* Refactor error handling internally to follow RFC7807
* style fixes
2019-08-21 08:17:44 -04:00
Nabeel S
c1103afe8f
Add missing expiry time for PIREP API ( #356 )
2019-08-09 22:49:25 -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
e12188b7d3
Issue/327 versioning ( #345 )
...
* Switch to semver format
* Rewrite new version check to use Github Releases and cron
* Styling
* Remove v from in front of version
* New version check test fix
* Uncomment test case
2019-08-06 17:48:00 -04:00
Nabeel S
753804b71b
Issue fixes ( #341 )
...
* Better error handling around ACARS position updates
* Add step for decimals on fuel block/used fields closes #340
* Styling
* Rename AcarsController to LiveMapController; update JS dependencies
2019-08-05 13:07:22 -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
aa57997ff5
PIREP fields not showing up and blocking PIREP submission
2019-08-01 13:13:11 -04:00
Nabeel Shahzad
62a10224a0
Account for fuel in the finance calculations #313
2019-07-23 08:41:20 -04:00
Nabeel Shahzad
b2cf7acfb6
Middleware to detect is update is pending; move Routes into HTTP
2019-07-18 10:51:05 -04:00
Nabeel Shahzad
3e1d9080df
Backend changes separating id from pilot_id
2019-07-16 13:54:14 -04:00
Nabeel Shahzad
dd946d4cdd
Reorder imports
2019-07-15 15:51:35 -04:00
Nabeel Shahzad
a720f12e0b
Rename Interfaces to Contracts to better match Laravel conventions
2019-07-15 15:44:31 -04:00
Nabeel Shahzad
b169337fb6
Styling
2019-06-20 23:19:35 -04:00
Nabeel Shahzad
b28ace970c
Add interface to additional roles/permissions
2019-06-20 16:52:37 -04:00
Nabeel Shahzad
a176ed2dae
Apply fixes from StyleCI
2019-06-18 22:58:09 +00:00
Nabeel Shahzad
e1bdef98d6
Keep uploaded avatar images within the same aspect ratio #309
2019-05-13 07:52:07 -05:00
Nabeel Shahzad
2ca1f33e68
Formatting
2019-05-12 18:05:36 -05:00
Nabeel Shahzad
88957f4071
Add php-cs-fixer to build
2019-05-12 13:26:44 -05:00
Nabeel Shahzad
82f6dfbece
Fix not found debug() call
2019-05-11 17:39:58 -05:00