B.Fatih KOZ
ced2012578
Update simbrief_briefing.blade.php ( #1497 )
...
Change in blade forms to SimBrief provided direct links.
2022-11-30 07:47:10 -06:00
fagidutt
00918f54aa
Fix division by Zero in pireps/show.blade.php ( #1493 )
...
* Fix division by Zero in pireps/show.blade.php
Division by Zero caused by possible null distance fixed by adding check.
* Update show.blade.php
* Update show.blade.php
* Update show.blade.php
Final form :)
2022-11-03 12:11:57 -04:00
Nabeel S
41bd325f9a
Revert "Bug fix #1414 ( #1487 )" ( #1492 )
...
This reverts commit b4311b861f .
2022-10-30 22:58:26 -04:00
Yash Govekar
b4311b861f
Bug fix #1414 ( #1487 )
...
* Update module migrate command to avoid errors.
* Fixed issue #1414
2022-10-24 11:11:00 -04:00
B.Fatih KOZ
2f9e8583f2
Flight Visibility Visuals ( #1485 )
...
Added "visible" field display and form checkbox to control it easily from admin side (instead of going through database)
2022-10-14 13:27:46 -04:00
John Cheng
2155979eb9
Patch currency subunit conversion ( #1484 )
...
* added parentheses around the conversion
* updated finance test
updated the following test:
- journal operations
fixed the following tests:
- pirep finances
- pirep finances specific expense
- pirep finances expenses multi airline
2022-10-09 08:13:11 -05:00
Toni Vicente
f30a3bc1ef
fix typo lang es-es ( #1480 )
2022-08-30 09:42:50 -04:00
B.Fatih KOZ
3461672f10
Fixes ( #1481 )
...
Fare Service : Return the note, do not force it to an empty string
Airport Importer : Make IATA nullable (as in the model)
2022-08-29 15:39:58 -04:00
B.Fatih KOZ
b4d5114ea2
Apply color customization ( #1479 )
2022-08-29 12:43:50 -04:00
Nabeel S
231e54ea5e
Map color options ( #1478 )
...
* Add colors to the maps options
* Update assets build
2022-08-22 14:05:19 -04:00
B.Fatih KOZ
b1ae0240be
Roles Update ( #1474 )
...
Adds member count to roles\index and member list to roles\edit pages.
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2022-08-21 10:59:19 -04:00
B.Fatih KOZ
64e470abec
Add Radio Callsign To Airlines ( #1475 )
...
Adds a new db field for radio telephony callsign for airlines.
Also adds necessary field to admin template.
2022-08-21 10:48:18 -04:00
Nabeel S
695ab3a90d
Dependency updates ( #1473 )
...
* Update PHP dependencies
* Update NPM modules
* Fix dependency versions
2022-08-15 12:55:36 -04:00
B.Fatih KOZ
0e1b55c6d7
Add baggage weight to acdata ( #1464 )
...
Follow up for improved SimBrief API, sending separate pax and bag weights is possible now.
Core v7 already had them separated ;)
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2022-08-15 11:32:52 -04:00
B.Fatih KOZ
ba5b4e23c7
Fix dead links ( #1455 )
...
* Fix dead links
Fixed one dead link, removed another one and changed load factor and variance fields to accept only numbers between 0-100.
* Update fields.blade.php
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2022-08-15 11:26:34 -04:00
B.Fatih KOZ
ef38d39ec4
Add "Notes" to Airports ( #1467 )
...
* Notes for Airports
Adds capability of having notes/remarks for airports, includes
* New database field
* Airport Model change
* CSV Import/Export capability for notes
* Admin Airports list page change
* Admin Airports edit page change
* Default Template Airport show page change
* Update Airport Tests
* Add the new field to source csv
* Check if the import works
* Update AirportFactory.php
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2022-08-15 11:23:39 -04:00
B.Fatih KOZ
ccebc69be2
Add ability to export members of a subfleet only ( #1471 )
...
* Export Subfleet Members
* Style Fix
* Fix php-cs style complaints
* Disable php-cs-fixer and fix styles
2022-08-15 10:45:10 -04:00
Jordan Havard
6becc6de63
Fix docker dev links ( #1470 )
...
Updated `docker-compose.local.yml` to `docker-compose.dev.yml` to reflect the correct docker files
2022-08-15 09:43:50 -04:00
Nabeel Shahzad
ca1cd01f3d
Style fixes
2022-03-28 13:55:42 -04:00
Nabeel Shahzad
e2226b7400
Make sure fare is set to active
2022-03-28 13:23:27 -04:00
Nabeel Shahzad
991f661144
Don't map local env to dev so dev seeds won't run
2022-03-24 16:55:21 -04:00
Nabeel Shahzad
d1b7905e95
StyleCI fix
2022-03-18 16:57:48 -04:00
Nabeel Shahzad
ca8d96d2b6
Check for null/0 value on progress percent
2022-03-18 16:43:34 -04:00
Nabeel S
12848091a2
Laravel 9 Update ( #1413 )
...
Update to Laravel 9 and PHP 8+
Co-authored-by: B.Fatih KOZ <fatih.koz@gmail.com >
2022-03-14 11:45:18 -04:00
B.Fatih KOZ
00bf18c225
Fix Cron Deleting Paused Pireps ( #1434 )
2022-03-07 09:55:30 -05:00
Toni Vicente
b81dd97822
Changed es directory es by es-es ( #1421 )
...
This structure will allow for other variants derived from the Spanish of Spain.
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2022-02-28 13:34:01 -05:00
B.Fatih KOZ
7a40a9d128
Add DRAFT state in conditional check ( #1422 )
...
Add DRAFT state in conditional check
2022-02-28 09:52:57 -05:00
B.Fatih KOZ
9d368e8efa
Allow bids on same flight by multiple users
...
Dash out unnecessary check, let multiple users to bid on same flight according to settings.
2022-02-25 14:40:53 -05:00
Toni Vicente
219a7cf6f9
fixed incorrect translation & Make TOC only readeable ( #1408 )
...
* fixed incorrect translation
Bloque de combustible -> Combustible en calzos
* Make TOC only redeable
make toc only readable for the user
2022-02-22 09:35:21 -05:00
Nabeel Shahzad
54bc5ccb30
Update example cron path to point to bin/cron
2022-02-21 10:36:54 -05:00
Nabeel Shahzad
648659aea5
Check if PIREP doesn't exist before cancelling
2022-02-16 19:13:47 -05:00
B.Fatih KOZ
08f82f8a2e
Admin and Discord Notification Improvements ( #1407 )
...
* Backend changes
Sorting for : Airlines, Subfleets, Type Ratings and exported Flights
Blade : Added WYSIWYG editor to flight remarks/notes field
Notifications :
Mails > Added enabled/disabled settings for mails. Discord > Dashed out PirepPreFiled, re-enabled PirepStatusChanged with reduced messages
* Update PirepStatusChanged.php
* Update NotificationEventsHandler.php
* in_array fix
* Fix Discord Notifications
* Discord Notifications
Removed the pirep url from message as it is mostly private at phpvms side.
Also removed the Flight Ident from fields 'cause it is being used in the title.
Added the user avatar as thumbnail, and pirep filed message uses the airline logo as the main image.
Even though the outgoing pirep status messages are reduced, it is still possible to enable/disable them from admin settings.
Pirep Filed is always being sent (if the webhook is defined)
* StyleFix
2022-02-14 16:24:22 -05:00
Nabeel Shahzad
60cec870f6
Add aircraft ident to API response
2022-02-14 12:53:12 -05:00
Nabeel S
78fd8367a1
Add separate cron runner that doesn't use proc_open ( #1405 )
...
* Add alternative to using the artisan schedule runner
* StyleCI fixes
* Add additional cron time periods
* Style fixes
* Typo
* Update the web cron to use the new system
* Write out JSON for which tasks were run
* Rename cron.php to just cron
2022-02-11 16:24:06 -05:00
B.Fatih KOZ
607ea6f5e5
Add Notes to Users ( #1406 )
...
* Fix migration
Add Notes
* Migration to add mediumtext field
* Model update
* Admin blade update
* Hide notes by default
* Fix fields layout
2022-02-11 15:58:16 -05:00
Nabeel Shahzad
9e080d544a
Fix Discord webhook URLs
2022-02-09 13:20:57 -05:00
Nabeel S
cb38f2ad90
Refactor broadcast notifications ( #1402 )
...
* Refactor broadcast notifications
* StyleCI fixes
* Fix the planned_distance accidental changes
2022-02-08 15:07:02 -05:00
Nabeel S
6cfbd91328
Update package versions ( #1399 )
...
* Update dependencies
* Symfony components downgrade
* Restrict symfony versions with meta package
* Downgrade valuestore
* Symfony versions
* More downgrades
* Package versions
* Package versions
2022-02-08 11:12:39 -05:00
B.Fatih KOZ
9253d39848
Custom Code for Pilot IDents ( #1398 )
...
* Custom Code for Pilot IDents
Adds a new setting to customize the ident or to use a fixed icao code in a multi airline environment.
If settings is null/empty, airline icao will be used as like before.
* StyleFix
2022-02-07 17:47:57 -05:00
arthurpar06
737b2f137f
Fix French translations ( #1394 )
...
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2022-02-07 16:15:25 -05:00
B.Fatih KOZ
c518175244
Update User Model ( #1396 )
...
Current GDPR compliant Private Name attribute is not compatible with multi byte strings, and when encountered it fails and returns an empty string for the name_private attribute.
`substr($last_name, 0, 1)` or just `$last_name[0]` is not multi byte compatible, therefore only solution is to use `mb_substr`.
It also supports encoding definitions like `mb_substr($last_name, 0, 1, 'UTF-8')`
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2022-02-07 16:10:58 -05:00
B.Fatih KOZ
08624042f2
Make name and e-mail based searches with like for easier administration. ( #1397 )
...
* Update UserRepository.php
Make `name` and `e-mail` based searches with `like` for easier administration and search.
* Update search.blade.php
Remove old dashed out code
* Update index.blade.php
Add proper state selections
2022-02-07 16:02:17 -05:00
B.Fatih KOZ
94735103aa
French Translation ( #1392 )
...
Author: Jacques M.
( Jbaltazar67 from phpVMS Forum/Discord )
2022-02-04 15:39:10 -05:00
Nabeel Shahzad
e4782c40f3
Fix tests
2022-02-04 15:03:05 -05:00
Nabeel Shahzad
670cb5d811
Check for bid existing or not
2022-02-04 14:21:59 -05:00
Nabeel Shahzad
88ffee16be
Remove PII from debug info for user
2022-02-04 14:17:07 -05:00
Nabeel Shahzad
cc5a6db427
Nullable return type
2022-02-04 14:15:42 -05:00
Nabeel Shahzad
74a1b4d753
Add subfleet data when single bid is retrieved
2022-02-04 14:13:40 -05:00
Nabeel S
8a94d8db7b
Add LGA flight
2022-01-29 14:49:38 -05:00
Nabeel S
c2cc067329
ICAO typo for sample data
2022-01-28 16:35:24 -05:00
Nabeel Shahzad
723f66a382
More data updates
2022-01-27 13:30:49 -05:00
Nabeel Shahzad
27be992395
Update seeds for a shorter test flight
2022-01-27 12:14:28 -05:00
Sam
6160d57790
Fix docker image name ( #1382 )
...
closes #1381
2022-01-11 09:46:53 -05:00
B.Fatih KOZ
7fabd57e13
Fix flight and subfleet import with edited fares ( #1379 )
...
* Fix fare import
* StyleFix
2022-01-11 08:17:32 -05:00
B.Fatih KOZ
09453becf8
Award Checks Update ( #1376 )
...
Add active/passive check for awards and update the handler to pass only active ones to the process when needed.
2022-01-10 15:49:50 -05:00
B.Fatih KOZ
023313c681
Check settings and filter aircraft list if needed ( #1377 )
...
Check settings and filter aircraft list if needed.
2022-01-10 13:29:30 -05:00
B.Fatih KOZ
d3b7d25abd
Add ability to export flights of an airline only( #1375 )
...
* Airline Flight Export
Add ability to export flights of an airline only
* StyleFix
2022-01-10 09:27:40 -05:00
B.Fatih KOZ
7799867302
Fix Weather Widget blade ( #1372 )
...
Old blade was failing due to missing items in a metar like below
`SVMC 031703Z AUTO NIL`
2022-01-04 14:51:39 -05:00
B.Fatih KOZ
fd7c1b8314
Update RegisterController.php ( #1373 )
...
Get only active and displayed UserFields.
2022-01-04 14:29:41 -05:00
B.Fatih KOZ
c12cf0964a
Fix setting name ( #1371 )
2021-12-14 18:10:39 -05:00
Nabeel S
2202d5bf99
Setting for how often the live map updates #1369 ( #1370 )
2021-12-14 12:48:21 -05:00
B.Fatih KOZ
064682b71f
Type Rating update ( #1366 )
...
* Update Typerating.php
Add `'active'` to fillable
* Update fields.blade.php
Fixed grid, positioning of checkbox label and removed extra row
2021-12-08 12:40:10 -05:00
Nabeel Shahzad
3c9d419ebb
Clarify logs for pirep cancel/updates
2021-12-07 13:24:18 -05:00
Nabeel S
a3f110c0c0
Add PHP 8.1 to shims and build ( #1365 )
...
* Add PHP 8.1 to shims and build
* Lock psr/container version
* Lock psr version
* Restrict symfony component versions
* Downgrade event-dispatcher-contracts
* Update more package versions
* php-cs fixes
* style fix
* cs-fixer file fix
* Exclude resources dir from cs fixer
* Ignore cs fixer env check
* Update league/csv
2021-12-03 09:23:59 -05:00
B.Fatih KOZ
c45d52dffa
Aircraft level Hub definitions ( #1363 )
...
* Aircraft level Hub definitions
* Add ability to define a hub for an aircraft apart from its subfleet.
* Update csv import/export capability for hub_id field
* Fix importertest source csv
* Fix source csv for updating too
* Update aircraft_empty_cols.csv
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-11-30 14:54:29 -05:00
B.Fatih KOZ
4d21ca0982
Update RegisterController.php ( #1358 )
...
Only active fields should be passed to view during registration.
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-11-30 14:40:18 -05:00
B.Fatih KOZ
52e716d6ee
Type Ratings | New Feature ( #1360 )
...
* Type Ratings
Adding "Type Rating" definition and assignment possibility to v7 core.
* Update ProfileController.php
* StyleFix 1
* Update settings.yml
Change description text as requested
2021-11-30 14:36:17 -05:00
B.Fatih KOZ
66d83c0ce6
Add flight_time to searchable fields ( #1356 )
2021-11-18 15:05:04 -05:00
B.Fatih KOZ
4ea8357952
Fix SimBrief Controller | flight relationships ( #1350 )
...
* Update SimBriefController.php
Fix the fares relationship which was causing trouble when a flight had assigned fares
* Fix model name used in relationship
`Simbrief` should be `SimBrief`
2021-11-16 16:26:43 -05:00
B.Fatih KOZ
b9c29fbe08
More $pirep->ident usage fixes ( #1353 )
...
* Fix idents with double code
* Fix ident usage
* Fix ident usage
* Fix ident usage
2021-11-16 11:39:47 -05:00
B.Fatih KOZ
4e7149a51c
Fix Admin pirep card | $pirep->ident usage ( #1349 )
...
Removed `$pirep->airline->code`
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-11-09 09:55:58 -05:00
B.Fatih KOZ
4c60e5da69
Eager loading update for frontend controllers and widgets ( #1348 )
...
* Update AirportController.php
Eager load `files`
* Update DashboardController.php
Eager load `journal` for user , and `aircraft, arr_airport, comments, dpt_airport` for last_pirep.
* Update FlightController.php
Eager load + `alt_airport, subfleets` (with their airlines) for flights and `current_airport` for user
(though current_airport can be removed and we can base the in blade checks on `$user->curr_airport_id` to reduce db reads and model loading)
* Update HomeController.php
Eager load `home_airport` for users
* Update PirepController.php
Eager load `airline, aircraft, fares, transactions, dpt_airport, arr_airport, comments, simbrief, user with rank` for pirep details
* Update ProfileController.php
Eager load `airline, awards, current_airport, fields.field, home_airport, last_pirep, rank` for user
* Update UserController.php
Eager load `airline, current_airport, fields.field, home_airport, rank` for users and count `awards`
* Update AirportController.php
* Update DashboardController.php
* Update PirepController.php
* Update ProfileController.php
* Update LatestNews.php
Eager load `user` for news
* Update LatestPilots.php
Eager load `home_airport` for latest users
* StyleFix 1
* StlyeFix 1.5
* Update SimBriefController.php
Eager load airline with flight
* Update SimBriefController.php
* Update SimBriefController.php
2021-11-09 09:51:02 -05:00
B.Fatih KOZ
2dbe19fdcc
Fix pirep->ident usage issues ( #1347 )
...
* Update table.blade.php
* Update show.blade.php
* Update pirep_card.blade.php
* Update latest_pireps.blade.php
* Update ProfileController.php
Removed non used airports, added necessary relationships for eager loading.
Also removed `fields` 'cause it is already being loaded when `fields.field` is used. No need to query it twice.
* Update ProfileController.php
2021-11-08 16:08:19 -05:00
B.Fatih KOZ
358f0b663e
Fix Aircraft Model | Add trait for relationship ( #1345 )
...
* Add trait for relationship
* StlyeFix
2021-11-03 12:51:34 -04:00
B.Fatih KOZ
9146c4a68f
Update UserFieldValue Model ( #1344 )
...
* Add `name` attribute
* Pre-StyleFix
* Update UserFieldValue.php
* Used optional()
* Update Pirep.php
* Update Flight.php
* Update User.php
2021-11-03 08:46:07 -04:00
B.Fatih KOZ
addfa68016
Add Aircraft > Simbrief relationship ( #1343 )
2021-11-02 10:54:36 -04:00
B.Fatih KOZ
571768b39d
Match Flight and Pirep ident attributes ( #1342 )
...
* Flight ident change
* Pirep ident change
* Update Pirep.php
2021-11-02 09:23:52 -04:00
B.Fatih KOZ
9956929df7
Add callsign to flight search ( #1341 )
...
Make callsign searchable
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-11-02 09:00:29 -04:00
B.Fatih KOZ
f498ad3bba
Airline <> Aircraft Relationships ( #1338 )
...
* Aircraft relationship
* Airline relationship
* Flight and Pirep Relationships
* Style and logic fix
2021-11-02 08:40:50 -04:00
Toni Vicente
471464272f
Improve ES translations ( #1340 )
...
Fix spells and better words in context
2021-10-31 16:19:16 -04:00
Nabeel S
85703e1aff
Update composer dependencies ( #1337 )
2021-10-25 11:38:32 -04:00
B.Fatih KOZ
930d4cfa08
Update Aircraft Model (Landing Time Attribute) ( #1336 )
...
* Update Aircraft.php
Return `landing_time` attribute in Carbon format if it is not empty
* StyleFix
2021-10-25 10:11:52 -04:00
B.Fatih KOZ
91d68308aa
Fix translations ( #1335 )
...
* English
* German
* Italian
* Portuguese
2021-10-22 13:27:14 -04:00
B.Fatih KOZ
4eca1f671f
Fix WX Widget row ( #1334 )
...
* Fix WX Widget row
* Change degree symbol to html
2021-10-22 10:31:24 -04:00
Toni Vicente
1e7e8cc5e5
Temperature ( #1332 )
...
Add temp "es" string
@lang temp to widget wheather blade
2021-10-21 12:28:58 -04:00
B.Fatih KOZ
c65b5c1b05
Fix logical operator | Admin -> Pireps ( #1331 )
...
Reject button was not showing up for pending pireps due to usage of `@elseif`. Now both Accept and Reject buttons should be visible for pending pireps.
2021-10-18 10:13:32 -04:00
B.Fatih KOZ
87886f2419
Fix Admin / Flight Search (Blade) ( #1325 )
2021-10-01 08:50:22 -04:00
B.Fatih KOZ
9a28cf22ff
Add Custom Fares ( #1323 )
...
* Update EventServiceProvider.php
Add FareListener
* Create Fares.php
* Create FareListener.php
* Update ExpenseListener.php
* Update PirepFinanceService.php
Add listener for the fares, process them like the custom expenses and apply if there are any returned
2021-09-30 11:10:05 -04:00
B.Fatih KOZ
7a29630f57
Admin blade improvements ( #1321 )
...
* Update search.blade.php
Used select2 for airports, fixed grid layout
* Update actions.blade.php
Fixed button placing
* Update pirep_card.blade.php
Added user id before the name, made name optional so if page hits an hard deleted user's pirep it will not fail. Also improved the flight level check.
2021-09-29 10:37:05 -04:00
Nabeel S
0b27635fcb
Docker/compose updates ( #1280 )
...
* Docker/compose updates
* Fix container name
* Add zip to the ext install
* Don't mount the env.php file
* Use newer "docker compose" command
* Install composer
* Remove chown
2021-09-29 10:14:46 -04:00
B.Fatih KOZ
f3b032e56b
Add airline_id to created subfleet/subfleets during flight import. ( #1320 )
...
Add airline_id to created subfleet/subfleets during flight import.
2021-09-28 20:17:12 -04:00
B.Fatih KOZ
f99af4cfc3
Fix logical operator ( #1318 )
...
That `if` should return `true` when both conditions are met (pirep not accepted and not rejected yet), so **AND** must be used there ;) Sorry for the trouble.
Now it works and listens more carefully.
2021-09-23 17:07:38 -04:00
B.Fatih KOZ
14e33574fc
Default PirepState logic and location change ( #1317 )
...
* Update PirepService.php
Moved `$default_state` logic below `PirepFiled` event, so admins can have some flexibility to define their own default states by listening that event.
Any ideas ?
Hopefully closes #1312
* Update PirepService.php
Added the missing `$pirep->refresh();`
2021-09-23 15:04:24 -04:00
B.Fatih KOZ
bd892f5407
Fix Admin/Subfleet Edit ( #1315 )
...
As like the db and model, admins should be able to not choosing a hub for their fleets here.
2021-09-21 13:29:47 -04:00
B.Fatih KOZ
96e63f1572
Make hub_id optional in subfleet import ( #1314 )
...
`hub_id` is not a mandatory field (both in model and database), so it should be `nullable` here too.
2021-09-21 09:14:36 -04:00
B.Fatih KOZ
a0309b6303
Maintenance Status for Aircraft ( #1311 )
...
* Update AircraftStatus.php
* EN
* DE
* ES
* IT
* PT-BR
2021-09-16 15:15:50 -04:00
B.Fatih KOZ
e13a019a40
Flight Type Translations ( #1306 )
...
* Flights EN
* Flights DE
* Flights ES
* Flights IT
* Flights PT-BR
2021-09-10 08:17:19 -04:00
B.Fatih KOZ
91f928ecf4
Add missing base fare values from template ( #1302 )
...
Add missing base fare values
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-09-08 12:22:17 -04:00
Nabeel Shahzad
226ae6d109
Style fixes
2021-09-08 10:51:04 -04:00
lesmar54
90d1708aab
Fixes to CSV import Exports ( #1299 )
...
* Update SubfleetImporter.php
Correction to the import to include Simbrief Code
* Update SubfleetImporter.php
Added in the missing fields HUB-ID and SIMBrief as these are input on the main screen
* Update AircraftImporter.php
Part of the missing data fields in csv import export
* Update FlightImporter.php
Part of the missing fields in csv import and export
* Update AircraftImporter.php
* Update FlightImporter.php
* Update aircraft.csv
Test data amended as part of the missing csv fields
* Update subfleets.csv
Part of the fix for missing fields in csv files used for import/export
* Update flights.csv
* Update FlightImporter.php
* Update subfleets.csv
Removed unused fields
* Update FlightImporter.php
* Update FlightImporter.php
* Update FlightImporter.php
* amended for new csv file layouts
2021-09-08 09:50:34 -04:00
B.Fatih KOZ
6eef246b6a
Improve Map features (GeoJson) ( #1290 )
...
* Update GeoService.php
Replace double name usage with more valuable info
* Update GeoService.php
Changed `GS` with `Spd` 'cause it may be IAS or GS according to the phase of the flight.
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-08-30 13:00:27 -04:00
B.Fatih KOZ
fc8ca69729
Fix Private Profile fields not being editable ( #1289 )
...
* Update ProfileController.php
* Update UserRepository.php
* Update UserRepository.php
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-08-30 12:55:33 -04:00
B.Fatih KOZ
57277c558d
Fix Fare not properly set in controller ( #1291 )
...
* Update FareService.php
* Update PirepController.php
Move the logic to controller as requested
* Update FareService.php
Reverting back the service changes as requested
* StyleFix
2021-08-30 12:50:04 -04:00
B.Fatih KOZ
b0f52ed1d0
Remove SimBrief with Bid ( #1283 )
...
* Update BidService.php
* Update BidService.php
Delete directly ;)
2021-08-13 14:39:18 -04:00
Khendal
d64e674c21
Update pirep_card.blade.php ( #1282 )
...
Added Pilot name in card to know who have submitted the pirep.
2021-08-13 11:51:52 -04:00
B.Fatih KOZ
40c911ff17
Add web middleware to laravel-widgets ( #1281 )
...
Title says it all ... Added web middleware to laravel-widgets config so the widget auto-reload / auto-refresh options can work with full functionality.
2021-08-12 08:40:41 -04:00
B.Fatih KOZ
b6abe8dd5b
Bid check for flights/show ( #1278 )
...
* Update FlightController.php
Add missing $bid to flight/show so when needed Load In Acars button can be placed there too.
* Update show.blade.php
Add Load In Acars button to flight details page (flights/show.blade.php)
2021-08-10 13:23:43 -04:00
Nabeel Shahzad
54c3c8f346
Fix user id check in template
2021-08-09 18:12:48 -04:00
Nabeel S
c250fce84b
Cast the user ID to int in the sb model ( #1277 )
2021-08-09 13:54:40 -04:00
Nabeel S
4125cdd373
Launch ACARS link on the simbrief page #1272 ( #1276 )
2021-08-09 12:01:27 -04:00
Nabeel S
6eb883de73
Dependency updates ( #1274 )
...
* Dependency updates
* Downgrade league/commonmark to 1.6
2021-08-08 11:48:45 -04:00
Nabeel Shahzad
49528c9644
Remove tar-to-zip dep
2021-08-07 12:58:31 -04:00
Nabeel Shahzad
4475813a12
remove dotfiles again
2021-08-07 12:51:13 -04:00
Nabeel Shahzad
681e39650b
Try to fix dots in tar
2021-08-07 12:24:15 -04:00
Nabeel Shahzad
bbbe8a8bd3
remove base dir
2021-08-07 12:16:16 -04:00
Nabeel Shahzad
0acab21712
Fix cd
2021-08-07 11:54:33 -04:00
Nabeel Shahzad
a17840d690
Another zip fix attempt
2021-08-07 11:46:43 -04:00
Nabeel Shahzad
fe87f21599
Restrict zip to current dir
2021-08-07 11:37:26 -04:00
Nabeel Shahzad
2756c34702
Try fixing zip
2021-08-07 11:34:06 -04:00
Nabeel S
564f9ec06e
Add ability to launch acars for flight/bid #1272 ( #1273 )
...
* Add ability to launch acars for flight/bid #1272
* Check for module active/inactive status
* Just some formatting
2021-08-06 14:53:04 -04:00
Nabeel S
95e1df619e
Trap exception/check for module existing on disk #1211 ( #1271 )
...
* Trap exception/check for module existing on disk #1211
* Style fixes
2021-08-06 13:30:24 -04:00
B.Fatih KOZ
4a04d73d08
Update DownloadController.php ( #1267 )
...
* Update DownloadController.php
* StyleFix
* Another StyleFix !
* Update DownloadController.php
* Last StyleFix and Update
* Apply StyleCI fix
Co-authored-by: Nabeel Shahzad <nabeel@nabeel.sh >
2021-08-02 14:43:38 -04:00
Nabeel S
88a8ffe48a
Check for blank values on import and omit them ( #1266 )
...
* Check for blank values on import and omit them
* Add paused status to the pirep changed
2021-07-22 15:56:03 -04:00
Nabeel Shahzad
78d3c6b577
Fix where for paused
2021-07-22 12:47:55 -04:00
Nabeel S
f42a41286d
Add a 'paused' state ( #1265 )
...
* Add a 'paused' state
* Check paused status
2021-07-22 11:59:52 -04:00
Nabeel S
f8ded4e410
Update dependencies ( #1262 )
...
* Update dependencies
* Rebuild assets with updated deps
2021-07-21 10:43:36 -04:00
B.Fatih KOZ
6304f3cab4
Fix PirepService ( #1261 )
...
`$fv['name']` should be used instead of `$fv->name` due to the nature of source data.
Fixes #1260
2021-07-16 13:24:31 -04:00
Nabeel Shahzad
4eb73ab5f3
Update 3rd party services config
2021-07-13 14:38:42 -04:00
Nabeel Shahzad
2af72d137d
Have emails go into the logs by default, make note to users to change that #1259
2021-07-12 17:18:28 -04:00
Nabeel Shahzad
f68e068f87
Use MAIL_MAILER #1259
2021-07-12 13:50:36 -04:00
Nabeel Shahzad
89f9706520
Include all dotfiles in zip
2021-07-12 12:47:24 -04:00
Nabeel Shahzad
cde6fb314b
Add footer requirement into license explicitly
2021-06-20 09:07:13 -04:00
Nabeel Shahzad
1a944f320c
Make the license extra clear
2021-06-19 15:58:56 -04:00
Nabeel Shahzad
d7ad2bdd11
Fix PIREP rejected message #1246
2021-06-18 13:21:59 -04:00
Nabeel Shahzad
24fca650f8
Use old notification handler for admin notifications
2021-06-18 11:33:02 -04:00
Nabeel S
35359b8646
Create endpoint to load bid by ID ( #1248 )
...
* Create endpoint to load bid by ID
* Fix endpoint
2021-06-17 19:42:56 -04:00
B.Fatih KOZ
b6a2fe405d
Update AcarsRepository ( #1245 )
...
* Update AcarsRepository.php
Use `where` instead of `whereDate` , as you know whereDate only checks the date, it skips the time part completely, thus not providing correct live pireps collection.
* Switch from created_at to updated_at
Also remove the UTC conversion 'cause `updated_at` field is not being populated with UTC values.
2021-06-14 07:05:28 -04:00
Nabeel Shahzad
bd9c429cfc
Don't force status to airborne
2021-06-13 15:28:57 -04:00
Nabeel Shahzad
b18f1bbe6c
Fix paginate on airlines
2021-06-11 09:40:42 -04:00
Andrew Roberts
a5a21fb2fd
Fix missing colon on ./vendor volume ( #1243 )
...
docker up throwing error due to missing colon on the ./vendor folder
2021-06-11 08:46:37 -04:00
Nabeel Shahzad
845514da2c
Fix tests
2021-06-10 13:13:09 -04:00
Nabeel Shahzad
531489bfde
Remove pagination from getting airlines
2021-06-10 12:41:23 -04:00
Nabeel Shahzad
601a17e1e6
Blank out links for ACARS
2021-06-10 11:08:25 -04:00
Nabeel Shahzad
3be8b1c4b9
undo links
2021-06-10 10:09:28 -04:00
Nabeel Shahzad
b4e33bb37e
Update akaunting money library
2021-06-10 09:08:41 -04:00
Nabeel Shahzad
a8e6f1191b
Fix the missing links array
2021-06-10 08:46:56 -04:00
Nabeel Shahzad
3a0140c2d0
Don't use backup for cache key on dependencies
2021-06-09 16:29:57 -04:00
Nabeel Shahzad
547b159570
Zip file generation
2021-06-09 16:22:25 -04:00
Nabeel Shahzad
cab5c03c0b
Generate zip file differently
2021-06-09 16:17:06 -04:00
B.Fatih KOZ
777a696b35
Use Profile Route for Author URL (Discord Messages) ( #1227 )
...
* Update PirepStatusChanged.php
Use profile route for author url instead of pirep
* Update PirepSubmitted.php
Use profile route for author url instead of pirep
* Update PirepPrefiled.php
Use profile route for author instead of pirep
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-06-09 11:43:08 -04:00
B.Fatih KOZ
90344fb6e6
Simbrief Edit & Download Latest OFP ( #1228 )
...
* SimBrief OFP Edit
Changes aim to have ability of editing generated SimBrief Flight Plans and re-downloading.
* Move url to config
* Blade update and $uri change
* Update simbrief_form.blade.php
Used `$flight->id` along with `$user->ident` to have a more unique static id value. No details given for that fields uniqueness requirements, this will be ok I think though.
Also we are passing user's simbrief userid with api to find the flight plan, both combined, no chance to get another users plan and/or any other plan of same user.
* Update SimBriefController.php
Move `static_id` to controller
* Update simbrief_form.blade.php
Read `static_id` from controller
* StyleFix
* Update phpvms.php
* Update SimBriefService.php
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-06-09 11:38:14 -04:00
Nabeel S
7481dab012
Remove extraneous data from API response; force API to en ( #1241 )
...
* Remove extraneous data from API response; force API to en
* Style fixes
* Remove
* Fix the meta block
* Style fixes
2021-06-09 11:20:25 -04:00
Nabeel Shahzad
dead1cfd0f
Style fixes
2021-06-08 17:49:42 -04:00
Nabeel Shahzad
544462f420
Fix environment mapping
2021-06-08 17:46:15 -04:00
B.Fatih KOZ
a31201dfd3
Fix secstohhmm typecast for PHP 8 ( #1230 )
...
* Update helpers.php
Looks like php8 is not liking numeric strings as we like them.
Fixes #1229
* StyleFix
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-06-08 11:00:18 -04:00
Andrew Roberts
9d336c1140
Fix typo ( #1234 )
2021-06-08 10:45:17 -04:00
Nabeel S
96d33c11c8
Fix data not showing up for live map ( #1223 )
...
* Fix data not showing up for live map
* StyleCI fixes
2021-06-04 16:57:27 -04:00
Robin
48cada2053
Fixed German Translation ( #1222 )
...
* New Language: German
* Update German K
* Fixed German Translation
Co-authored-by: derrobin154 <derrobin154@gmail.com >
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-06-04 16:53:11 -04:00
Nabeel Shahzad
2a05013f66
Discord: Only add fields and footer if they're not empty
2021-06-04 15:16:36 -04:00
Nabeel Shahzad
4267648da5
Fields/fares not being saved properly
2021-06-04 15:06:19 -04:00
Nabeel Shahzad
5ada327236
Log request/response for Discord
2021-06-04 13:57:16 -04:00
Nabeel S
82825ef77b
Add setting for recording IP address ( #1221 )
...
* Add setting for recording IP address
* Record IP on registration
2021-06-04 13:20:33 -04:00
Nabeel S
db532e0f16
Remove the IP address from being recorded ( #1220 )
2021-06-04 12:10:40 -04:00
Nabeel S
9b2e466b7e
Discord notifications for PIREP and News events #433 ( #1215 )
...
* Discord notifications for events #433
* Style fixes
* Check for blank webhook urls and disable
* Cleanup items after review
* Changes and fixes
* Style fixes
* Don't load env for testing
* Fix status text
* Refactor saving fields/fares so events get the latest data
* Cleanup
* Style fixes
2021-06-04 10:51:59 -04:00
B.Fatih KOZ
17447c6903
Block aircraft with Simbrief ( #1213 )
...
* Block Aircraft with SimBrief
Changes aim to have the ability to block an aircraft's usage if it is used to generate a SimBrief OFP.
Unused/Expired briefings will be deleted by cron like before but will now be checked by HourlyCron, so admins can define more precise restrictions for them (and the blockage period of their aircraft)
Owner of the SimBrief OFP will be able to start a flight with acars using that particular aircraft, but pilots will get an Aircraft Not Available error (similar to Aircraft State check)
To prevent SimBrief OFP packs being marked as expired/unused, during pirep prefile, pirep_id will be saved to SimBrief model along with flight_id.
And when a flight is finished (pirep file), flight_id will be removed from SimBrief model as before. Only pirep_id will remain and aircraft will be available for another OFP generation.
* Update PirepController
In case a pirep is being saved/submitted with manual entry (but the va is using simbrief effectively) same logic should be applied during save/submit button selection.
Save will act like a pirep prefile , Submit will be pirep file.
* Manual Pirep Checks
Manual pireps, prefiled from a generated simbrief should be checked too. Also pirep.show blade's submit button should provide the same simbrief checks.
* Update PirepService.php
* Change settings and move sb cron to hourly
* StyleFix (SimBriefService)
* Another StyleFix (SimBriefService)
* Update SimBriefController
Removed null check of pirep_id for aircraft list generation to prevent live flights' aircraft being listed for another ofp generation.
( Active acars flights will have both flight_id and pirep_id at simbrief table)
* Update PirepService.php
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-06-03 16:17:16 -04:00
B.Fatih KOZ
ad86e996d7
Fix Aircraft Dropdown Grouping ( #1216 )
...
* Update PirepController
Frontend : Use `$subfleet->type` instead of `name` for grouping aircraft list.
* Update PirepController (Admin)
Use `$subfleet->type` instead of `name` here too , for grouping aircraft list according to their subfleets.
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-06-03 14:41:31 -04:00
Robin
5a5fd02dac
New Language: German ( #1218 )
...
* New Language: German
* Update German K
Co-authored-by: derrobin154 <derrobin154@gmail.com >
2021-06-03 11:46:32 -04:00
Nabeel Shahzad
97f095e4e9
Set default env name to "production" and debug to false
2021-05-29 18:13:36 -04:00
Jesper Falk
a2f91b6754
Add GD PHP Extension for docker container ( #1212 )
2021-05-28 08:48:52 -04:00
Nabeel Shahzad
a9e5554dea
Trap migration error for modules if they don't exist
2021-05-27 16:14:13 -04:00
B.Fatih KOZ
5b10dca868
Fix SimBriefService ( #1209 )
...
* Fix removeExpiredEntires()
* Fix SimBriefTest
No need to add `'pirep_id' => ''` , just let it be `null` (like the core code does) and no need to convert Carbon to DateTimeString.
2021-05-27 09:27:38 -04:00
B.Fatih KOZ
11cebb3e6e
Show only used Flight Types at Flight Search ( #1207 )
...
* Update Flight Controller
Show only used flight types in the search form instead of all IATA Flight Types.
* PrePR StyleFix
* StyleFix
* Use Model instead of DB
Also used the same $where array
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-05-25 16:14:42 -04:00
B.Fatih KOZ
96c17d33bc
Add ability to search Flights by Code ( #1205 )
...
* Edit Search Form
Add ability to search via flight/route code (technically it was possible but the field was not present in the blade)
* Add Code (EN)
* Add Code (ES)
* Add Code (IT)
* Add Code (PT-BR)
* FlightCode => Code
* FlightCode => Code
* FlightCode => Code
* FlightCode => Code
* FlightCode => Code
2021-05-25 15:33:02 -04:00
Nabeel Shahzad
9abc892698
Update README
2021-05-25 15:11:09 -04:00
Nabeel Shahzad
67a51da220
Cleanup the docker-compose for local testing
2021-05-25 15:07:04 -04:00
Nabeel Shahzad
7e586a273a
File/dir ownership in container
2021-05-25 13:37:53 -04:00
Nabeel Shahzad
8a591c11a5
Fix docker-compose for use non-locally
2021-05-25 13:14:08 -04:00
B.Fatih KOZ
728b033675
Fix Admin: UserController and Flight Edit ( #1204 )
...
* Fix Admin / UserController
Use Role Repository and `selectBoxList` method instead of the model itself.
* Fix Flight Fields
Added empty/blank option for clearing out the days when needed
* StyleFix
2021-05-24 19:13:44 -04:00
B.Fatih KOZ
68a6ed24cb
Fix Flight Importer ( #1202 )
...
* Handle Route and Level fields too during import.
* Also removed the check for `visible => true` from `firstorNew` 'cause va admin may be importing to update not visible flights too.
(by default all new flights are visible, so no affect on new flights)
Closes #1201
2021-05-24 15:19:06 -04:00
Nabeel S
7d8a34645e
Add --force flag to migrations ( #1203 )
2021-05-24 10:58:10 -04:00
B.Fatih KOZ
4985da991b
Remove Scripts ( #1200 )
...
* Remove Scripts
Remove scripts from create blade which are designed for edit blade in the first place (thus looking for flight object and its properties).
No need to have an eyecandy date picker or a days selector, previous working version of create.blade was more than enough to manually add fights.
* Add placeholder for date fields
2021-05-23 20:47:15 -04:00
Nabeel Shahzad
c94358350a
Add queue worker setting so those aren't run in cron if there's a worker
2021-05-21 12:31:32 -04:00
Nabeel S
d3ec0f4de3
5 char ICAO support #1052 ( #1198 )
2021-05-21 10:52:47 -04:00
Nabeel S
ede5b74383
Make fuel_used an optional field in PIREP file ( #1197 )
2021-05-21 10:02:07 -04:00
Nabeel S
e7bbd6cccb
Use queues for notifications #1154 ( #1174 )
...
* Use queues for notifications #1154
* Styles
* Update defaults
* Include queueworker
2021-05-20 11:54:07 -04:00
Nabeel S
edcea258ce
Remove the autoupdater #1133 ( #1195 )
...
* Remove the autoupdater #1133
* Remove self-updater package
* Package still needed :|
2021-05-20 11:37:27 -04:00
Nabeel Shahzad
5adc0b4072
Remove unused import
2021-05-20 09:20:12 -04:00
Nabeel Shahzad
fe7120e21a
Add PHP 7.4 polyfill
2021-05-20 08:55:55 -04:00
B.Fatih KOZ
30be7c245c
Fix Advanced Fuel Calculations ( #1190 )
...
* Fix Advanced Fuel Calculations
Current code works fine with a fresh submitted pirep but when a re-calculation is needed, fuel amount will not be correct if the aircraft was flown later on.
Commit provides fix for such re-calculation scenarios.
* StyleFix for the Comment Line !
2021-05-19 19:01:33 -04:00
Nabeel S
7cb9ae4ec3
intl dependency/polyfill updates ( #1194 )
2021-05-19 13:57:28 -04:00
Olli
6f1a5f1dc2
Update Flight Controller to fix an issue ( #1192 )
...
Closes #1180 and #1156 . But now the script isn't beeing loaded
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-05-19 13:42:40 -04:00
Nabeel Shahzad
e3c3c81d19
Include missing scripts in flight create
2021-05-19 13:33:13 -04:00
Nabeel S
352f1ee9f8
Days::in should use in_mask; tests coverage #1180 ( #1193 )
2021-05-19 11:20:50 -04:00
Nabeel Shahzad
dff4273c72
Force empty to be 0 for in_mask #1180
2021-05-19 10:22:15 -04:00
Nabeel S
77a4acb569
Update dependencies ( #1188 )
2021-05-14 13:02:47 -04:00
B.Fatih KOZ
ff6827b368
Fix Installer Completed Blade ( #1185 )
...
We do not have a config.php anymore, page should refer to env.php for base level configuration.
2021-05-14 12:31:24 -04:00
B.Fatih KOZ
594d0eb222
Check Aircraft Availability ( #1177 )
...
* Check Aircraft Availability before Prefile
Check if the aircraft is available for flight (State : Parked / On Ground). If not throw new exception AircraftNotAvailable
* Add Exception
AircraftNotAvailable exception, used by PirepService during prefile checks.
2021-05-13 15:26:53 -04:00
Nabeel S
ee61de62fa
Update to PHP 8 ( #1118 )
...
* Update to PHP 8
* Update composer file
* Remove PHP 8 incompatible library
* Remove PHP 8 incompatible library
2021-05-11 18:46:21 -04:00
B.Fatih KOZ
f2be14402f
PirepCancelled Event (Cron Expired Pirep Deletion) ( #1178 )
...
* PirepCancelled Event (Cron Expired Pirep Deletion)
While deleting frozen in progress pireps we should at least send a PirepCancelled event for those who are listening.
(or we may have a new PirepDeleted event to be issued in such cases, I think PirepCancelled is enough though)
* StyleFix
* Another StyleFix
* Missing Log
Of course it will not be possible to write log entries without the Log itself.
2021-05-09 18:30:50 -04:00
B.Fatih KOZ
a186bfae2a
Fix AirportController (Frontend) ( #1176 )
...
1. Inbound and Outbound flights were displaying all flights (active and inactive) , fixed to fetch only active flights.
2. Flash message and redirect to Dashboard was not working, instead we were getting 404 Not Found error.
2021-05-08 15:42:18 -04:00
Nabeel S
6e6ba85080
Fix for duplicated/wrong expenses being applied #915 ( #1173 )
...
* Fix for duplicated/wrong expenses being applied #915
* Style fixes
2021-05-06 12:42:56 -04:00
B.Fatih KOZ
d2272e32a6
100LL and MOGAS Fuel Cost ( #1172 )
...
* Add defaults for 100LL and MOGAS prices
Add missing defaults for 100LL and MOGAS Fuel prices.
* Calculate Fuel Cost according to Fuel Type
Calculate pirep fuel costs according to aircraft (subfleet) fuel type, use JetA as fail safe default.
* Fix for Failing AwardTest
At least attempting to fix
* Fix fuel types logic
* Style
* Invert the logic
Co-authored-by: Nabeel Shahzad <nabeel@nabeel.sh >
2021-05-06 08:16:33 -04:00
Nabeel S
b6c0946795
Delete users without PIREPS; pilot leave fix ( #1171 )
...
* Delete users without PIREPS; pilot leave fix
* Style fixes
2021-05-05 09:56:28 -04:00
Andrew Roberts
fca04e6b0c
Allow session lifetime to be set in env variables ( #1170 )
...
* Allow session lifetime to be set in env variables
Currently the session live time defaults to 2 hours, adding an env variable will allow us to change this on a per site basis
* Add whitespace for consistency
2021-05-05 08:51:18 -04:00
Andrew Roberts
5094fce4b0
Disable autocomplete on admin email field ( #1169 )
...
* Disable autocomplete on admin email field
Fixes #1165
* Disable autocomplete on admin name and password
For sake of completeness and due to some over zealous autocompleters, also disable it on name and password fields
2021-05-04 13:26:16 -04:00
Nabeel S
fe0ef60b6c
Block refiling of PIREPs ( #1167 )
...
* Block refiling of PIREPs
* Style fixes
* Package updates
2021-05-03 10:00:10 -04:00
B.Fatih KOZ
5094375e13
Fixes For GDPR/Deleted Users ( #1164 )
...
* Fix DeletedUsers being displayed at Homepage
Deleted users should not be displayed at homepage / newest pilots list. PR fixes that problem.
* Do Not Display Deleted Users with LatestPireps
As the main page, Latest Pilots widget should not display GDPR/Soft deleted users too.
* StyleFix
2021-05-03 08:46:21 -04:00
Nabeel Shahzad
ec6cb42bfd
User guard for null
2021-04-23 13:47:54 -04:00
Nabeel S
14d0e99a37
Delete the user in a GDPR compatible way ( #1151 )
...
* Delete the user in a GDPR compatible way
* Block user from calls
* Style fix
2021-04-23 10:33:13 -04:00
B.Fatih KOZ
f8c7bc31f5
Add Airline ICAO to Subfleet selectBoxList ( #1153 )
...
* Add Airline ICAO to Subfleet selectBoxList
Subfleet dropdown at flight search will look like `Boeing B737-800 WL | THY`
* StyleFix
2021-04-23 09:44:37 -04:00
Nabeel Shahzad
2545328233
Fix APP_URL being called SITE_URL
2021-04-20 23:28:57 -04:00
Russell West
61739ce266
Pirep delete confirmation ( #1143 )
...
* adds 100ll option to airport admin
* Adds mogas field too
* adds basic confirmation when deleting pirep
2021-04-15 08:39:42 -04:00
Nabeel S
bffc4f911c
Add tests for the cron jobs ( #1141 )
2021-04-14 08:37:48 -04:00
Nabeel Shahzad
d18925f473
Add tests for 0 results METAR
2021-04-14 06:45:35 -04:00
Russell West
f5e83461a3
adds 100ll option to airport admin ( #1138 )
...
* adds 100ll option to airport admin
* Adds mogas field too
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-04-13 12:03:03 -04:00
Nabeel S
bfddb2c84d
Make sure all dates are in UTC ( #1139 )
2021-04-13 09:25:38 -04:00
B.Fatih KOZ
7e9eb08135
Use where iso whereTime ( #1137 )
...
Using whereTime may present a problem for flights conducted during utc midnight and some active/live flights may be deleted with whereTime.
Scenario;
now = today-01:00 utc
setting = 2 hours
date = yesterday-23:00 utc
Any live pireps will/may be deleted with whereTime 'cause their last updated TIME will be maximum 00:59 which is smaller than 23:00.
2021-04-13 09:08:50 -04:00
B.Fatih KOZ
3d55336823
Fix default value for Captcha setting ( #1136 )
2021-04-12 16:55:38 -04:00
Nabeel Shahzad
68ed2355ad
Add GRAVATAR_DEFAULT_AVATAR to config
2021-04-11 18:42:51 -04:00
Nabeel S
fdab4ee530
Fix email for news not going out ( #1131 )
2021-04-11 14:32:58 -04:00
Nabeel Shahzad
648e7a261d
Add APP_NAME to env stub
2021-04-11 13:46:52 -04:00
Nabeel Shahzad
9cb0a0cf36
Change the default driver to use mail
2021-04-11 12:36:37 -04:00
B.Fatih KOZ
2c8372d484
Read Captcha Settings From ENV ( #1130 )
...
* Read Captcha Settings From ENV
* Update captcha.php
2021-04-11 11:35:14 -04:00
Nabeel Shahzad
498d5bfaf0
Slugify cache prefix and quote it in the env
2021-04-10 21:13:34 -04:00
Nabeel Shahzad
2202c5b479
Change default env to prod for fresh install
2021-04-10 18:00:03 -04:00
Nabeel S
ac64a5db75
Migrate all configs into the env.php file #1075 ( #1128 )
...
* Migrate all configs into the env.php file #1075
* Style fixes
* Fix config names in CreateConfig
* Fix installer/installer error messages
2021-04-10 17:19:45 -04:00
B.Fatih KOZ
6c3992e781
Fix for Hourly Crons ( #1127 )
...
* Fix for Hourly Cron
We should be using whereTime instead of whereDate
https://laravel.com/docs/8.x/queries#additional-where-clauses
`The whereDate method may be used to compare a column's value against a date`
* Fix for RemoveExpiredBids
I used where to do check 'cause people may set 48 hours to remove a bid, thus neither whereDate nor whereTime will give a correct results.
* Fix for DeletePireps
I used where to do check 'cause people may set 48 hours to delete cancelled or rejected pireps, thus neither whereDate nor whereTime will give a correct results.
2021-04-09 19:15:22 -04:00
B.Fatih KOZ
344edde0fb
Alphanumeric Callsign For Flights ( #1124 )
...
* Alphanumeric Callsign For Flights
PR adds ability to define alphanumeric callsigns to flights, display them and use them during SimBrief OFP generation (if pilot ident as callsign option is not enabled)
Translations for en/es/it/pt-br added.
* Change db table name
* Change db column name, fix rules
* Change db column name
* Another db column name change
* Just another one more
* Last one from anumeric_callsign to callsign
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-04-05 18:00:50 -04:00
Maximiliano Fallico
7502c053bf
Show Airline logo / icao to subfleets table ( #1121 )
...
Will show the subfleet airline logo or icao in the admin flight create page table.
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-04-05 17:05:28 -04:00
Maximiliano Fallico
dbfaed0ecc
Adds Airline Icao to Subfleet Select in Flight Create ( #1123 )
...
* Adds Airline Icao to Subfleet Select in Flight Create
* Fix Style
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-04-05 16:55:50 -04:00
Maximiliano Fallico
ff255c999b
Add "View Pirep" In pirep cards ( #1122 )
...
Will show it in a new blank page in order to view pirep flight map.,
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-04-05 16:43:51 -04:00
Nabeel Shahzad
8c065a44cf
Set default theme as "null" value
2021-04-03 10:25:02 -04:00
Nabeel Shahzad
8e9ba3b922
Fix styling that somehow slipped through
2021-04-01 17:33:57 -04:00
Nabeel Shahzad
677d30883f
Check if flash messages are strings
2021-04-01 17:31:53 -04:00
Nabeel Shahzad
ede71e6927
Fix the PIREP edit permissions
2021-04-01 09:54:01 -04:00
Andrew Roberts
3f84f84309
Fix issue with being unable to save pirep edits ( #1116 )
...
Fixes issue being unable to save pirep edits from the admin section due to incorrect variable being used
2021-03-31 11:03:01 -04:00
exciler
50e8f2e52b
Fetch timezone on airport lookup ( #1103 )
...
Co-authored-by: Andreas Palm <ap@ewsp.de >
2021-03-29 17:10:00 -04:00
Nabeel S
96fff0248d
Save airport timezone ( #1112 )
...
* Fix airport timezone lookup
* Save timezone to the airport when importing
2021-03-29 15:49:34 -04:00
Nabeel S
9c4aced837
Move the prefile event and add a new error exception ( #1111 )
...
* Move the prefile event and add a new error exception
* Remove extra import
* Add empty handler for testing
* Fix styling
* Fix styleci
2021-03-29 14:53:35 -04:00
exciler
ed146b2c70
replace windows backslashes by slashes before path mapping ( #1107 )
...
Co-authored-by: Andreas Palm <ap@ewsp.de >
2021-03-28 18:15:56 -04:00
exciler
1e320835c2
fix map-info-box display ( #1104 )
...
* fix map-info-box display
* Check user on PIREP show/edit/update/submit
* add missing use
* refactoring according to comments; use UpdatePirepRequest for authorization and make user available to view
Co-authored-by: Andreas Palm <ap@ewsp.de >
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-03-28 09:57:16 -04:00
exciler
d4c301a36c
Remove remove_bid_after_accept setting ( #1100 )
...
* Remove "Remove bid on accept" setting and remove bids after PIREP was filed
fixes #1039
* Add migration to remove setting from database
* fix migration naming and remove obsolete code
Co-authored-by: Andreas Palm <ap@ewsp.de >
2021-03-27 08:33:21 -04:00
B.Fatih KOZ
c2b0b69eb2
Change LatestPireps Widget Sort Order ( #1099 )
...
* Change LatestPireps Widget Sort Order
Latest pireps should be ordered by `submitted_at` instead of `created_at` .
Pirep may be created even a day before others (with the pause/resume ability we have in acars) but it gets submitted once when the flight is ended, thus I think it should be our reference to sort them in proper order.
* Trying to Pass UnitTest
2021-03-25 09:51:16 -04:00
Nabeel Shahzad
43c33adcfe
Unit rounding
2021-03-25 08:59:45 -04:00
exciler
be6332936f
When importing flights, set subfleet name only if subfleet has been created ( #1095 )
...
* when importing flights, set subfleet name only if subfleet has been created, do not update existing subfleets
* add tests for flights import regarding subfleets
Co-authored-by: Andreas Palm <ap@ewsp.de >
2021-03-23 08:50:19 -04:00
B.Fatih KOZ
8f38fc2dec
Urgent Fix For SimBriefControlled ( #1094 )
...
Added missing Enums
2021-03-22 11:40:21 -04:00
B.Fatih KOZ
65015cbce2
Move SimBrief aircraft selection to Controller ( #1093 )
...
* Move SimBrief aircraft selection to Controller
Instead of passing subfleets to blade (and doing two foreach loops and ifs to populate the dropdown), we are building a proper aircraft list here.
Did not removed $subfleets from data being passed to blade on purpose, it may be removed later on.
* Style Fix
* Update aircraft selection blade to use $aircrafts
* Order generated Aircrafts collection
First ICAO then Registration
* Add privatized name setting for simbrief
To prevent possible privacy issues according to latest regulations.
* Add privatized name to SimBrief form
It is controlled with a setting, if not enabled we will not pass any names to SimBrief via API (this will result users SimBrief membership name being used at the OFP as before)
2021-03-22 10:55:33 -04:00
B.Fatih KOZ
3cc5ca2c32
DownloadController Improvements ( #1091 )
...
* DownloadController Improvements
Added multiple airline support to both Aircraft and Subfleet downloads, if the user has more than one active airline downloads will display the airline name before the object name. Also sorted the returned results to have a better look at the blade.
* Trying to pass broken UnitTest
Please do fix the UnitTest, this pr has nothing to do with units but still being tested with it and failing.
2021-03-21 09:33:04 -04:00
Maximiliano Fallico
30e88ac6bc
Aircraft at departure airport restrictions ( #1090 )
...
* Update simbrief_aircraft.blade.php
If resrict airplane at location settings is enabled, Show only aircraft at the departure location of the flight. Kingly made by @FatihKoz at my ocd request.
* Update simbrief_aircraft.blade.php
2021-03-20 20:03:24 -04:00
Nabeel Shahzad
61ee4254fc
Style fix
2021-03-20 17:41:07 -04:00
Nabeel Shahzad
f9f0ee826d
Fill the flight subfleets even if there's a simbrief
2021-03-20 17:28:54 -04:00
Nabeel Shahzad
4394487392
Add missing aircraft_id to sample data
2021-03-19 18:47:02 -04:00
Nabeel S
1287766a46
Fix aircraft retrieval for Simbrief ( #1089 )
...
* Fix full aircraft retrieval for simbriefs
* F off StyleCI
2021-03-19 18:25:19 -04:00
Nabeel Shahzad
11824c9f8b
Flight search error
2021-03-19 16:59:39 -04:00
B.Fatih KOZ
bbd02bf5c7
Fix For GH Costs ( #1088 )
...
* Fix For GH Costs.
PR aims to fix the problem where Airport GH cost is not defined but recored to db as 0.00 or 0 (default value for airports table)
In such cases settings/default apt gh cost will be used.
* Updated logic for JetA1 cost check
* Remove default costs being used during import
2021-03-19 16:42:36 -04:00
exciler
9bb192b97f
Add disable activity check option on certain roles #1078 ( #1087 )
...
* Add boolean field "disable activity checks" to role, check for this field inside PilotLeave-Check, add tests
* fix checkbox on form
* CS fixes
* CS fixes again :-)
Co-authored-by: Andreas Palm <ap@ewsp.de >
2021-03-19 13:09:29 -04:00
exciler
2cede04b1e
Optimize view paths for module views in theme folder ( #1081 )
...
* override \Igaster\LaravelTheme\themeViewFinder as a workaround until PR#133 in igaster/laravel-theme is merged
* fixup code style
* further code style fix
Co-authored-by: Andreas Palm <ap@ewsp.de >
2021-03-19 09:22:03 -04:00
B.Fatih KOZ
7072428218
Fix Finance Memo (Ground Handling) ( #1083 )
...
PR fixes issue #1082
2021-03-18 20:04:13 -04:00
B.Fatih KOZ
1d83b85d8b
Fix for Fuel and Ground Handling Costs ( #1050 )
...
* Fix for Fuel and Ground Handling Costs
PR aims to fix issue #1048 and implements the feature request #1049
If no fuel cost is defined for departure airport, settings / airport fuel price will be used.
If no ground handling cost is defined for airports, settings / airport ground handling cost will be used.
Ground handling prices of both departure and arrival airport will be used for calculations.
* Resolve conflict with latest dev
PR will still fail checks due to double ground handling fares and will work on it to have two records at transactions for dep/arr
* Remove Double GH Costs / Fix The Bug Only
Removed double GH costs for now, pr aims only fixing the current issue (general settings not being read for fuel and ground handling costs)
* Add departure and arrival airports to ground handling
* Style fix
* Fix tests
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
Co-authored-by: Nabeel Shahzad <nabeel@nabeel.sh >
2021-03-18 11:32:40 -04:00
Nabeel S
63eef59060
Fix null visibility in METAR ( #1079 )
...
* Fix null visibility in METAR
* Report the text in units from the METAR
2021-03-17 17:40:45 -04:00
B.Fatih KOZ
0152ff6045
Update pireps/show.blade ( #1080 )
...
Added score and landing rate to right sidebar, sorted the pirep logs in asc order to make it easy to read.
2021-03-17 16:43:36 -04:00
B.Fatih KOZ
e45bd66388
Fix Metar Decoding / Wind check for Wind Chill ( #1072 )
...
* Fix Metar Decoding / Wind check for Wind Chill
PR aims to fix the bug #1071 by checking both the wind speed and it's value for starting Wind Chill calculation.
2021-03-15 10:41:05 -04:00
exciler
b9e7a2efc9
Add unit conversion handling for block_fuel like for fuel_used ( #1076 )
...
* Add unit conversion handling for block_fuel like for fuel_used, add further checks in PIREPTest->testUnitFields
* Remove accidentially added "use"
Co-authored-by: Andreas Palm <ap@ewsp.de >
2021-03-15 08:30:14 -04:00
Nabeel Shahzad
73f88fce0c
Fix permissions with modules
2021-03-13 18:31:09 -05:00
Nabeel S
e70ee5aa6f
Add web cron ability #821 ( #1073 )
...
* Use database for kvp storage
* Read kvpstore
* Add web cron ability through API #821
* Style fixes
* Fix text
2021-03-09 11:36:56 -05:00
nabeelio
f1c54bcc7c
Add Postmark package #1067
2021-03-08 11:35:11 -05:00
nabeelio
d94d754961
Block user if they're not active #1066
2021-03-08 11:24:09 -05:00
nabeelio
9abfbd6c8c
Remove unneeded import #1066
2021-03-08 11:21:55 -05:00
nabeelio
97fc1dd43d
Don't block API logins #1066
2021-03-08 11:19:31 -05:00
Nabeel Shahzad
edc37f40fa
Show either create/view simbrief button, not both
2021-03-06 16:48:50 -05:00
Nabeel S
950c7788be
Restrict Simbrief to user who generated it ( #1064 )
...
* Restrict simbrief to user
* Style fixes
* Add tests
* Style fix
2021-03-06 13:49:42 -05:00
nabeelio
b3af50ac5a
Add ignored solution provider
2021-03-05 08:00:34 -05:00
nabeelio
8a9b68d9ec
Disable ignition runnable solutions
2021-03-05 07:59:50 -05:00
nabeelio
70a4cf9f90
Remove the laravel-backup library
2021-03-05 07:33:42 -05:00
Nabeel Shahzad
c3465851b2
Rename backups folder
2021-03-05 06:24:23 -05:00
Nabeel Shahzad
b13c4df338
laravel-backup changes
2021-03-05 06:00:36 -05:00
Nabeel Shahzad
c736a9b639
Disable encryption by default for backups
2021-03-05 05:44:04 -05:00
nabeelio
d2e1004e08
Undo composer downgrades
2021-03-04 17:17:39 -05:00
Nabeel S
3800c01d94
Update to Laravel 8 ( #1058 )
...
* Update Laravel and other dependencies
* Composer version in CI
* Remove the PHP exit from env file
* Add PHP 8 to testing matrix
* Update doctrine
* Update doctrine
* Update faker lib
* Rewrite TLD check to remove deprecated library
* Update version lib
* Remove PHP 8 for now
* Style fixes
2021-03-04 17:08:51 -05:00
Nabeel S
922e754c9e
Check for valid reference object in recurring finance ( #1056 )
2021-03-02 16:19:54 -05:00
Nabeel S
936cd2efd3
Implement PIREP deletion #1014 ( #1055 )
...
* Implement PIREP deletion #1014
* Style fixes
* Add delete button to PIREP listing page
* Remove extra import
2021-03-02 15:43:34 -05:00
Nabeel S
e22d6d5996
Refactoring Simbrief fares and aircraft ( #1054 )
...
* Refactoring simbrief fares and aircraft
* Hide user full name/email
* Sort PIREP fields desc; fix cargo counts
* Change the sorting
* Extra logs
* Fix tests
* Return fare information through the API
* Style fixes
* Test fix
* Another test fix
* More fixes
* Set aircraft and fares in prefile
* Formatting
2021-03-02 12:29:04 -05:00
B.Fatih KOZ
efcb7e8895
Fix Advanced Fuel Calculations ( #1053 )
...
Due to an error on the settings check advanced fuel calculations was not working and defaulting to fuel used always.
2021-03-01 15:03:27 -05:00
Nabeel S
43fbe9e943
Update composer dependencies ( #1047 )
2021-02-26 12:23:50 -05:00
nabeelio
8fc0aec800
Set cache driver to array for tests
2021-02-25 13:50:37 -05:00
Nabeel Shahzad
bb84fa82a4
Default to file storage for sesions
2021-02-24 13:37:46 -05:00
B.Fatih KOZ
4fe323a763
Advanced Fuel Calculations ( #1044 )
...
* Advanced Fuel Calculations
PR aims to have realistic fuel debit calculations as in the real ops. When enabled, remaining fuel amounts from previous flight will be reduced from block fuel and airline will only pay for uplifted fuel amount.
If onboard fuel is enough for the flight or exceeds the required amount no fuel debit will be issued.
If this is the first flight of the aircraft or the tanks are dry, full block fuel will be treated as uplifted.
Disabled / uses current default (fuel_used will be debited)
Aircraft table also will hold the fuel_onboard value (not needed for calculations, just saving for displaying purposes)
* Style Fix
* Another Style Fix
Love StyleCi
* Fix Settings
Moved new setting under other pirep settings
* Fix Setting Check
* Fix EOF settings.yml
* Fix Settings
2021-02-24 12:22:52 -05:00
B.Fatih KOZ
e3b4a0ed2e
SimBrief integration enhancements ( #1045 )
...
* SimBrief Integration Update
* Added SimBrief Type field to subfleets, can be used to assign simbrief airframes to subfleets and fix non existing or wrong types. If not used simbrief form will use aircraft's icao type code
* Added Passenger and Baggage weights to settings
* Added setting for using PhpVms Pilot/User Ident as simbrief atc callsign
* SimBrief form code cleaned up a bit and improved. Now form supports both cargo and passenger fares to be used at the same time.
Generated passenger baggage weight will be reduced from aircraft's cargo capacity and remaining amount will be used for random cargo generation.
Also multiple cargo fares or any mix is possible now (like only cargo, only passenger, multiple cargo and passenger fares)
* StyleFix (SimBrief Controller)
* Fix Callsign Setting Check
* Code Cleanup
Reduced loops and removed if's in loops, getting fares from aircraft instead of flight/subfleets.
No need to go through getReconciledFaresForFlight anymore. Aircraft provides all fare info we need.
Removed unnecessary html elements, added some comments.
* Update Simbrief Controller
Fixed setting checks.
Removed non used $subfleet and from main form and $aircraft from aircraft selection form blade.
Added/fixed comments.
* StyleFix for Controller
2021-02-24 09:32:29 -05:00
Nabeel Shahzad
a4c431d39f
Set missing value from default
2021-02-23 11:25:06 -05:00
Nabeel Shahzad
a52e0410a7
Force default to the value when syncing settings
2021-02-23 11:23:40 -05:00
B.Fatih KOZ
baf63361a0
Fix findUsersOnleave Function ( #1042 )
...
Query was checking status field instead of state field to find active users.
2021-02-22 11:23:50 -05:00
B.Fatih KOZ
b4d5c0fbcd
Weather METAR/TAF enhancements ( #964 )
...
* Update AviationWeather.php
Added the ability to fetch latest TAF report of given icao from ADDS/NOAA
* Update Weather.php
Used updated Metar\AviationWeather service to improve the widget ability and provide raw TAF data for the view
* Style Fix 1
* Update weather.blade.php
Updated blade to match updated Metar\AviationWeather service and the Weather widget controller.
Also fixed the order of temp - dewpoint - humidity - visibility display according to aviation usage.
Widget now displays raw TAF data just below raw METAR data.
* Update Metar inferface and wrap TAF retrieval in cache
* Styles fix
* Add call to getTaf. Don't call AviationWeather directly
* Fix cache lookup strings
* Fix recursion error
* Update weather.blade.php
Used latest weather.blade , added $taf['raw'] after raw metar.
* Compatibility Update
Updated the widget controller to match latest dev (added raw_only to config)
* Update Weather Widget Blade
Made the widget blade compatible with the TAF reports, widget will display raw metar and taf after the decoder, if no metar or taf recieved it will be displayed in its own row. Also added the new option of raw_only to blade, if it is true, metar decoding will be skipped and only raw values will be displayed. ( Useful when displaying multiple wx widgets at the same page for departure, destination and alternate etc )
Co-authored-by: Nabeel Shahzad <nshahzad@live.com >
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-02-19 12:45:39 -05:00
B.Fatih KOZ
6b7eab05e2
Assign subfleets from ranks when there are no subfleets on a flight
...
If no subfleets are assigned to a flight, vmsacars was not allowing the flight to be loaded and used 'cause the subfleets was returning null. With this pr, users will be able to use the aircrafts which they have access to by their ranks. ( Same logic was used in SimBrief Controller to populate the aircraft list for flight plan generation )
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-02-19 08:20:17 -05:00
Jannis D
4c8e31ac6f
Update installer.php ( #1038 )
...
Co-authored-by: Jannis D <Mail@JannisD.de >
2021-02-19 08:13:08 -05:00
B.Fatih KOZ
fe41e61c02
Fix for SimBrief VATSIM Prefile errors ( #1037 )
...
Speed is now checked and leading zero is removed, also changed the initial altitude to full feet value like 23000 instead of just 230.
2021-02-18 18:02:33 -05:00
Nabeel Shahzad
bd85a04530
Fix internal event for ON_LEAVE
2021-02-17 18:57:16 -05:00
Nabeel S
cbb7d6e274
Fix pilot leave calculation #1022 ( #1035 )
...
* Fix pilot leave calculation #1022
* Remove unused imports
* Add logging where fares are being saved
2021-02-17 18:54:18 -05:00
Nabeel Shahzad
8907527872
Remove invalid bids #1034
2021-02-17 18:03:07 -05:00
Nabeel Shahzad
942c060c99
Added opcache package
2021-02-17 14:44:41 -05:00
Nabeel Shahzad
68a9421445
Shrink backup sizes
2021-02-17 14:38:47 -05:00
Nabeel Shahzad
4e652c91ae
Account for localhost/testing sites in domain checks
2021-02-13 15:59:19 -05:00
Nabeel Shahzad
a6f62045c4
Extend cron check for 12 hours
2021-02-13 15:17:16 -05:00
Nabeel Shahzad
3f3b63da6f
Fix session database configuration
2021-02-12 11:43:00 -05:00
Nabeel Shahzad
dd7812e5c5
Undo primary idx change
2021-02-11 08:57:43 -05:00
Nabeel S
447d02bd4f
Update the sessions table ( #1030 )
...
* Update the sessions table
* Add index on user_id
2021-02-11 08:50:49 -05:00
Nabeel Shahzad
be9b698f14
Merge branch 'dev' of https://github.com/nabeelio/phpvms into dev
2021-02-10 15:47:42 -05:00
Nabeel S
d110c2d951
ACARS table vs int to double ( #1028 )
...
* mail config - "driver" to "default"
* Change VS type from int to double
* Migration fix
* Fix type
2021-02-10 13:39:40 -05:00
Nabeel Shahzad
4d20998368
mail config - "driver" to "default"
2021-02-10 13:18:02 -05:00
Nabeel Shahzad
4a20b41b25
Rename driver to default in mail config
2021-02-10 13:15:18 -05:00
Olli
8c2513eb3d
Update style.css for better mobile experience ( #1018 )
...
This edit hides the dropdown menu while being closed on mobile view
2021-02-05 08:38:32 -05:00
Nabeel Shahzad
2dbd58e59e
Merge branch 'dev' of https://github.com/nabeelio/phpvms into dev
2021-02-04 14:54:20 -05:00
Nabeel Shahzad
bf77f7dd96
Add 'phase' as response output, deprecate "status"
2021-02-04 14:54:16 -05:00
B.Fatih KOZ
5a570989de
Failsafe for SimBrief random pax generation ( #1015 )
...
* Failsafe for SimBrief random pax generation
PR fixes the problem for 0 load generation where va admins do not set load factor and variance values for their flights and also leave the general settings empty. In such cases, both loadmin and loadmax was returning 0 , resulting zero load.
Thanks @macofallico for figuring this out.
* StyleFix
2021-02-01 15:27:22 -05:00
B.Fatih KOZ
6b3207377a
Fix Profile Fields ( #1013 )
...
* Fix Profile Fields
PR fixes two issues ;
1. Profile Fields not showing up on user profile
2. Profile Fields not showing up on user.profile.edit
Profile.index was looking for "public" to be true, while controller was sending "private" and it was not boolean.
Also profile controller was not sending the fields to the blade. Both fixed and working now
* Update index.blade.php
2021-01-28 08:31:29 -05:00
B.Fatih KOZ
ac1d5e1555
Fix PilotHoursAwards ( #1011 )
...
!is_int was causing the check always return false even when user enters a proper value like 6000 or 30000 in admin/award settings.
We should use !is_numeric instead to see if it is a valid numeric value.
2021-01-26 19:48:43 -05:00
B.Fatih KOZ
0d45fc287b
AwardController text correction ( #1010 )
...
Fixed the flash message texts
2021-01-26 16:31:54 -05:00
B.Fatih KOZ
4911f6799d
Fix for ACARS config download button not working #919 ( #1009 )
...
* Fix For Acars Config Download Button No Working Bug #919
PR fixes the Acars Config Download button not showing up at user profile.
Also fixes the problem where Generate New Api Key button not following user selections and generating a new key even if user clicks cancel.
* Style Fix for ? and !
Fix the typo :)
2021-01-25 16:04:43 -05:00
Nabeel Shahzad
5821067231
Default settings to false
2021-01-25 07:06:27 -05:00
Nabeel S
fc7ad7eb6a
Simbrief attachment not working #1005 ( #1006 )
...
* Refactoring for Simbrief not working #1005
* Style fixes
* Update tests for new briefing URL
* Check the OFP user
* Comment out user check temporarily
2021-01-25 06:54:17 -05:00
Nabeel S
101b3261f5
Move loadmin/max into the controller ( #1003 )
2021-01-22 09:02:15 -05:00
Nabeel Shahzad
fb0027b140
Update Discord message
2021-01-22 08:38:54 -05:00
Nabeel Shahzad
066702e490
Switch to http until I can get the certificates sorted
2021-01-22 08:30:25 -05:00
Nabeel Shahzad
b4e0515405
Add tar/zip reference to Discord build message
2021-01-22 08:29:22 -05:00
B.Fatih KOZ
f5ca8ce6e3
Fix For Load Factor and Variance Bug ( #1002 )
...
PR fixes the issue where load factor and variance being reported 0 to simbrief form, where user does not provide any values for each and wants to use general settings per flight.
Quick fix for issue #1001
2021-01-22 08:14:34 -05:00
Nabeel Shahzad
7e9196c7e6
Check if simbrief is valid
2021-01-21 11:57:44 -05:00
Nabeel S
a2916bf536
Cleanup visible flight logic ( #1000 )
...
* Cleanup visible flight logic
* Add transfer_time to API response
2021-01-21 11:11:11 -05:00
Nabeel Shahzad
0578f98b58
Force flight to visible before day checks
2021-01-21 10:57:51 -05:00
Nabeel Shahzad
2e0f0b00ef
Ensure simbrief id is assigned
2021-01-21 09:21:39 -05:00
Daniel Ortez
d5d9010134
Fix error in webpack file ( #994 )
2021-01-20 09:24:27 -05:00
Nabeel Shahzad
bd8e13e78f
Cleanup Simbrief Briefing pages
2021-01-17 21:52:22 -05:00
Nabeel Shahzad
c4dee07b7f
Cleanup flight search code
2021-01-17 21:25:44 -05:00
dependabot[bot]
f8a44d8c6d
Bump ini from 1.3.5 to 1.3.8 ( #955 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-01-17 16:01:04 -05:00
B.Fatih KOZ
617cea5df7
SimBrief Planning System Update ( #991 )
...
* SimBrief Planning System Update
Replaces outdated old pr.
Same improvements apply to both controller and simbrief_form.blade.
* Style Fix for SimBrief.Controller
* strict equals fix and some comments
changed equals to strict equals and put in some comments about the loadarray and manualrmk generation.
* Formatting/separate out secstohhmm
* Formatting
* Removed duplicates
We have the $wakecat, $equipment and $transponder in the controller, removed them from the blade.
Fixed a harmless typo in the IVAO Prefile DEPTIME line
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
Co-authored-by: Nabeel Shahzad <nabeel@nabeel.sh >
2021-01-17 15:59:32 -05:00
B.Fatih KOZ
3a99fe9e0e
SimBrief Briefing Display Fix ( #992 )
...
Fixed Estimate Enroute Time (EET) display (it was using Scheduled Enroute Time)
2021-01-17 14:26:03 -05:00
B.Fatih KOZ
a952071cb4
Subfleet Hubs / Base Airports ( #978 )
...
* Update SubFleet Model
Add hub_id for storing subfleet's main base/hub airport, define a relationship with airport model to get details of the base/hub airport when needed.
* Update Admin / SubFleetController
Added the ability to read and pass hub airports to admin view for create/edit options.
* Update Admin/SubFleets.fields.blade
Added the dropdown for adding/editing main base/hub of a subfleet.
* Add migration for the hub_id column
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
Co-authored-by: Nabeel Shahzad <nshahzad@live.com >
2021-01-17 12:43:06 -05:00
dependabot[bot]
157e0d830c
Bump axios from 0.18.1 to 0.21.1 ( #979 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.18.1 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.18.1...v0.21.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-01-17 12:27:54 -05:00
B.Fatih KOZ
a5b83185f5
Search Flights By Flight Type ( #987 )
...
Flight Controller : Added flight_type to return
Flight Repository : Made flight_type searchable and added its where criteria
Flight.Search.Blade : Added the flight types in a reasonable order as a dropdown (like schedule pax,charter pax,cargo,others)
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2021-01-17 12:23:23 -05:00
Maximiliano Fallico
29ff0758a7
Add filter/search by airline in admin ( #990 )
...
Add filter/search by Airline
2021-01-17 11:59:34 -05:00
Nabeel Shahzad
be74d99ae8
Run on pull request
2021-01-17 11:54:46 -05:00
Nabeel Shahzad
53de2e3229
Only run workflows on main repo
2021-01-17 11:52:49 -05:00
Nabeel S
80a90c6e3c
Fix github badge
2021-01-16 22:15:32 -05:00
Nabeel S
854ed9b92c
Remove travis-ci badge
2021-01-16 22:14:28 -05:00
Nabeel S
46b17b5c04
Use GitHub actions ( #989 )
2021-01-16 20:25:58 -05:00
Andrew Roberts
0068b1215a
Remove existing fares when importing ( #988 )
...
Delete all existing fares and overwrite with new import when Delete Existing Data is checked/true.
2021-01-16 13:09:56 -05:00
B.Fatih KOZ
984c1e0cec
SimBrief : Generate New Briefing ( #986 )
...
* Add SB Briefing Removal Route
Route will be called from simbrief.briefing.blade
* SimBrief Controller and Briefing Blade Update
Added the remove function to controller, which removes the simbrief ofp if no pirep_id is present, else it just nulls the flight_id for to be able to create a new SB pack
Also added the button to blade for it to work
* Style Fix
love styleci
2021-01-15 17:36:46 -05:00
Daniel Ortez
ad8b8e8945
Fix for deleting flights when importing ( #984 )
2021-01-14 07:07:35 -05:00
B.Fatih KOZ
2b0056b7c5
Added the ability to enable/disable flight table display below the map ( #983 )
...
* LiveMap Widget Upgrade
Added the ability to enable/disable flight table display below the map.
Default is on
* Update LiveMap.php
* Update LiveMap.php
* Update live_map.blade.php
2021-01-12 08:24:50 -05:00
B.Fatih KOZ
319a9fc8e1
Weather widget additions/fixes ( #981 )
...
Fixed the problem where values are not displayed when the reported wind,temp and dewpoint are 0 (zero).
Fixed the hPa number formatting, there is no need to add 2 more digits to it, it is a plain 4 digit value always (like 1013 or 1024, it is never reported nor used as 1013,58 or 1024,35 etc).
Corrected the display order, as it should be read (or say decoded).
Also added decoded Current and Recent Weather Situations, RVR and Runway Condition reports.
RVR report needs improvement in the Support / Metar.php too, it only reports nmi as the distance as far as i saw but it should be able to report meters too.
2021-01-07 09:09:05 -05:00
B.Fatih KOZ
a037597a21
Airline > Subfleet Relationship ( #970 )
2021-01-03 08:05:48 -05:00
Andrew Roberts
4026fe9149
Fix location of configservice ( #977 )
...
Pointing to wrong location of file which is throwing errors as a result
2021-01-03 07:39:02 -05:00
B.Fatih KOZ
18e1d63760
Update User.php ( #968 )
...
We should be able to send the private name with the api too.
2020-12-23 11:27:01 -05:00
Nabeel S
4bda494c6b
Add helpers kvp() and kvp_save() ( #966 )
2020-12-21 11:30:44 -05:00
B.Fatih KOZ
a5513b6fbb
Fixes for reported pressure in METAR parsing ( #965 )
...
* Update Metar.php
The reported pressure was always being assigned as hPa thus resulting display and conversion errors when the reported pressure was inHg.
Also the VFR/IFR (VMC/IMC) determination was using minimum 5 nmi and 3000 ft cloud base, it must be 5 km and 3000 ft.
With this state, this PR should fix issue #948 and partly fixes issue #963
* MetarTest Fix for inHg/hPa
2020-12-21 10:53:50 -05:00
B.Fatih KOZ
e4972eaae3
Download screen enhancements
...
Changed the group name according to its category , aircrafts will show icao type and registration , airports will be displayed with their icao codes names and countries. Rest will be showed with their names (exp airlines)
This will result a much better look on the downloads page for end users while looking for a specific type's files (like a repaint for a B738).
2020-12-18 14:34:05 -05:00
Nabeel Shahzad
e95e61d4b4
Fix tests #807
2020-12-07 10:19:43 -05:00
Nabeel Shahzad
f92912dff4
Fix test
2020-12-07 09:50:00 -05:00
Nabeel Shahzad
f62c607138
Change fuel calculation to fuel used #807
2020-12-07 09:46:07 -05:00
B.Fatih KOZ
d1a3155653
Fixed EET and ENDURANCE values at IVAO & VATSIM prefile ( #954 )
...
Fixed wrong EET and ENDURANCE values at IVAO & VATSIM prefile forms with a php function converting seconds to HHmm format.
Also added View Route At SkyVector link (uses auto zoom to fpl route on High Enroute Charts) , thx Maco for his idea and original link.
2020-12-06 17:18:55 -05:00
B.Fatih KOZ
883e8786e0
Formatting on admin pirep page #952
...
* Fix For Issue #952 / Admin Pirep Display
Removed unnecessary div tags to fix the broken display problem, defined the div class with a php code
* Fix and Update for Admin Pirep Index
Fixed the page width problem and search error , added the ability to also search for Rejected and Accepted pireps.
2020-12-05 20:27:03 -05:00
B.Fatih KOZ
fb44b73f44
Fix METAR decoding (text correction only) ( #950 )
...
* Update Metar Decoding (Text Correction Only)
SKC means Sky Clear or Clear Skies.
Rest is ok
* Update MetarTest.php
2020-12-04 12:47:42 -05:00
B.Fatih KOZ
7379e93c46
Update simbrief_briefing.blade.php ( #944 )
...
1. Added ATC Prefile options for IVAO and VATSIM
2. Added TAF reports for Orig, Dest and Altn airports. (Technically TAF reports are required for flights more than 1 hour, so we need to see them on the briefing page too)
3. Adjusted the height of OFP division to match the page with the WX section changes
2020-12-04 11:20:12 -05:00
B.Fatih KOZ
d4bb5605de
Update search.blade.php ( #943 )
...
Added the ability to select and search an airline's flights. Will be usefull in multiple airline installations/configs.
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2020-12-04 11:12:41 -05:00
B.Fatih KOZ
8ecc096bf7
Update Latest Pireps Widget ( #945 )
...
Added flight number, used aircraft registration (and icao type) instead of name
2020-12-04 11:04:47 -05:00
Nabeel S
6b5cf38224
Calculate percentage properly instead of adding to the base value #925 ( #942 )
...
* Calculate percentage properly instead of adding to the base value #925
2020-11-26 16:44:57 -05:00
Nabeel S
2ecf366670
Add missing columns from subfleet export #926 ( #941 )
2020-11-26 13:34:04 -05:00
Nabeel Shahzad
a7981c0a87
Redirect to the subfleet aircraft list on save #932
2020-11-26 13:15:56 -05:00
Nabeel Shahzad
9cf07c47c7
Fix notifications error for collect() #937
2020-11-26 13:08:32 -05:00
Nabeel S
8f4219bc95
Download path size too small; fix migrations #935 ( #940 )
2020-11-26 13:03:59 -05:00
Nabeel Shahzad
eae345efa7
Fix dropping of unique index when table prefix is present #934
2020-11-26 12:27:26 -05:00
Nabeel Shahzad
be15426b5b
Fix public path in application bootstrap #887
2020-11-23 13:39:26 -05:00
Nabeel Shahzad
7e4c652330
Log for avatar upload
2020-11-22 09:59:09 -05:00
Nabeel S
ced2c150b7
Change the body size to medium text #920 ( #930 )
...
Change the body size to medium text (16MB) #920
2020-11-20 12:00:37 -05:00
Nabeel Shahzad
a2de532f72
Merge branch 'dev' of https://github.com/nabeelio/phpvms into dev
2020-11-02 11:57:27 -05:00
Nabeel Shahzad
a52d844719
Set flight_id to be fillable
2020-11-02 11:57:25 -05:00
Timothy Sturm
fd814bc79e
* Fixed broken links on README
...
* Fixed broken links on README
* Misc. edits to markdown formatting, Title Grammer, and Stylizing the phpVMS brand.
2020-10-31 18:43:00 -04:00
Nabeel Shahzad
0fa00206ce
Make sure stdclass is returned in flight fields
2020-10-29 12:38:40 -04:00
Nabeel Shahzad
a58237b04b
Allow flight_id to be nullable
2020-10-27 21:47:19 -04:00
Nabeel S
dc7efc981c
Refactor fares inheritance #905 ( #906 )
2020-10-27 18:46:15 -04:00
Yash Govekar
060bebf8fe
Accept Pirep button not changing row inline #598 ( #880 )
2020-10-26 10:18:00 -04:00
Nabeel Shahzad
aaaf2e7c00
Make sure capacity is an integer
2020-10-24 16:04:09 -04:00
Nabeel S
1be68d1e63
Flight/Subfleet fares not returning in API #899 ( #900 )
...
Make sure proper fares are returned from the API #899
2020-10-24 15:11:08 -04:00
Nabeel Shahzad
b83f7dcac8
Updated seed data for dev
2020-10-24 09:26:14 -04:00
Nabeel S
c5de2fd8b1
Fix for base map/providers #895 ( #897 )
2020-10-23 08:08:41 -04:00
Nabeel S
b85d0e6a3e
Expose Leaflet base options to templates #895 ( #896 )
2020-10-23 07:35:44 -04:00
Nabeel S
b37bd2cd7b
Change award events handler to subscription #888 ( #894 )
2020-10-23 07:28:22 -04:00
Nabeel S
584d37f230
FlightRouteAwards - fix if last pirep is empty/other error conditions ( #886 )
2020-10-22 16:25:52 -04:00
Nabeel Shahzad
1c9d1c1733
Extra logs/skip module seed pending
2020-10-21 14:12:38 -04:00
Nabeel S
cd18442207
Fixes for installer/modules race condition ( #883 )
2020-10-21 13:28:54 -04:00
Yash Govekar
716ba38b6d
Default values for automatically added airports #829 ( #878 )
2020-10-20 15:25:13 -04:00
Yash Govekar
c0514b381b
Fixed exporting expenses ( #877 )
2020-10-19 15:22:06 -04:00
Yash Govekar
5803487d51
Installing and managing modules from admin panel ( #847 )
2020-10-19 10:10:28 -04:00
Snyk bot
ca220f1cdf
fix: package.json & package-lock.json to reduce vulnerabilities ( #873 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AJV-584908
- https://snyk.io/vuln/SNYK-JS-JQUERY-565129
- https://snyk.io/vuln/SNYK-JS-JQUERY-567880
- https://snyk.io/vuln/SNYK-JS-SELECT2-456562
- https://snyk.io/vuln/SNYK-JS-SOCKJS-575261
- https://snyk.io/vuln/SNYK-JS-WEBPACKDEVSERVER-72405
- https://snyk.io/vuln/SNYK-JS-YARGSPARSER-560381
- https://snyk.io/vuln/npm:mem:20180117
2020-10-16 11:01:24 -04:00
Nabeel Shahzad
75a0a4c87a
Update FareService.php
2020-10-13 18:12:52 -04:00
Nabeel Shahzad
3b6800077f
Preload fares with PIREP
2020-10-13 18:12:14 -04:00
Nabeel Shahzad
bf878a98a4
Extra logging around fares
2020-10-13 18:10:31 -04:00
DaGeek
d001704880
Adding a new AwardClass for Flight Time ( #869 )
...
Adding a new AwardClass for Flight Time
2020-10-13 17:07:12 -04:00
DaGeek
5371989921
Cosmetic Fix to display Award Images in Admin View ( #870 )
...
Fix to correctly display the Award image in the admin UI
2020-10-13 15:41:16 -04:00
DaGeek
6c553569bf
Create FlightRouteAwards.php ( #865 )
...
Award - FlightRoute- this allows the Admins to create an Award that will be granted if a Pilot completes a flight with a defined Departure and Arrival Airport
2020-10-12 18:54:42 -04:00
Nabeel Shahzad
9eb7dd6913
Update doc links
2020-10-12 15:15:05 -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
Botric
151f188886
Update pirep_card.blade.php ( #857 )
...
Update pirep_card.blade.php
2020-10-10 15:24:28 -04:00
Nabeel S
69d89511be
Inherited value can't be removed #811 ( #863 )
...
Inherited value can't be removed #811
2020-10-10 15:24:10 -04:00
Nabeel S
48087fb05f
Metar: TEMPO and trend causing issue with values being overwritten ( #862 )
...
Metar: TEMPO and trend causing issue with values being overwritten
2020-10-10 14:55:12 -04:00
Nabeel S
c702b01a87
Add tests that rank shouldn't auto change ( #840 )
2020-10-10 14:50:00 -04:00
DaGeek
0a5194b92e
Small Cosmetic Change to Rank & Home Airport Display ( #852 )
...
Cosmetic Change to Rank & Home Airport Display
2020-10-09 17:45:16 -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
Botric
93da2ca061
Cosmetic change to standardise boxes on profile ( #853 )
2020-10-04 12:48:12 -04:00
vgpastor
5363e4aa0f
Add API Key visual protection ( #851 )
...
Add API Key visual protection
2020-10-03 11:13:28 -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
98aa362935
Fix subfleets not returning proper fare counts #831 ( #846 )
...
Fix subfleets not returning proper fare counts #831
2020-09-29 13:21:24 -04:00
Yash Govekar
b6603bd178
Updated Route Service Provider that was mismatching API and ADMIN Section ( #845 )
2020-09-29 13:09:00 -04:00
Yash Govekar
2c539d349d
Fix controller namespace in module generation #714
...
Updated Module Files
2020-09-28 16:04:51 -04:00
Nabeel Shahzad
5df28eb027
Fix module main service provider name
2020-09-27 12:13:24 -04:00
yashris
0dbf8b8652
Public JS files Updated! ( #839 )
2020-09-27 09:03:46 -04:00
yashris
5856f88a0c
Updated index.js inside Map folder ( #837 )
2020-09-24 09:56:52 -04:00
Nabeel Shahzad
5f9b9399e9
Use $current_airport
2020-09-23 14:39:10 -04:00
Nabeel S
77fe6679ce
Update module generation #714 ( #716 )
...
* Update module generation #714
* Fix method signatures
* Fix paths within stubs, use single provider.stub file
* Add separate index controller
* Update module generation #714
* Fix method signatures
* Fix paths within stubs, use single provider.stub file
* Update module generation
Disable/lower the cache time as found as a workaround in https://github.com/nWidart/laravel-modules/issues/995
* Update editorconfig for line endings
* Formatting
* Formatting
2020-09-20 19:10:52 -04:00
Nabeel Shahzad
435fa32663
Fix aircraft field name #824
2020-09-15 15:41:53 -04:00
Nabeel Shahzad
78ca06e9dc
Add optional() around aircraft info #824
2020-09-14 16:17:03 -04:00
Nabeel Shahzad
2dd3dd5814
Make sure we're getting only active expenses
2020-09-12 15:17:10 -04:00
Nabeel Shahzad
ac7a5a65e5
Update cron path
2020-09-11 16:57:50 -04:00
Nabeel Shahzad
c5ab0978db
Force visible flag to true for imports #818
2020-09-11 09:18:27 -04:00
dependabot[bot]
8398d94c0a
Bump js-yaml from 3.11.0 to 3.13.1 ( #810 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.11.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases )
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.11.0...3.13.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 17:06:01 -04:00
Nabeel S
1db3295213
Disable autocomplete in admin forms #816 ( #817 )
2020-09-10 16:42:11 -04:00
Nabeel Shahzad
5dcbd01c00
Update links to some docs
2020-09-04 14:08:14 -04:00
Nabeel Shahzad
c6d12802a4
Fix link to assets docs
2020-09-04 13:32:39 -04:00
Nabeel Shahzad
07de33605b
Switch toolchain from yarn to npm
2020-09-04 13:28:17 -04:00
Nabeel Shahzad
ec9ef9c1c2
Add notes to refer to docs when modifying the JS files
2020-09-04 11:50:05 -04:00
Nabeel Shahzad
23962a1abb
Add fileinfo ext to requirements #735
...
closes #735
2020-09-04 11:28:33 -04:00
Nabeel Shahzad
9a735d2935
Update language for subfleet fare
2020-09-04 10:09:53 -04:00
Nabeel Shahzad
51004b143c
Fix validator type for aircraft #805
2020-09-03 15:14:26 -04:00
Nabeel S
50a0b89caa
Add MTOW and ZFW to aircraft editor #775 ( #805 )
...
Add MTOW and ZFW to aircraft editor #775
2020-09-03 13:29:24 -04:00
Nabeel S
e99c22b007
Notifications fixes ( #804 )
...
* Emails not sending #795 #722
* Fix for news items not being sent; refactor some events; check for opt-in #722
* Formatting
* Remove extra parameter
2020-09-03 12:50:42 -04:00
Nabeel Shahzad
55fa01478d
Fix path for bootstrap file #798
2020-09-02 18:52:52 -04:00
Nabeel Shahzad
552196ce57
Fix root detection #798
2020-09-02 18:47:38 -04:00
Nabeel S
7aa089bd88
Update Laravel/composer dependencies ( #803 )
2020-09-02 18:15:05 -04:00
Nabeel S
1e4b0d629a
Detect the phpvms folder one root level above #798 ( #799 )
2020-09-01 10:38:45 -04:00
Timothy Sturm
febfff5f12
Update MailChannel.php ( #793 )
...
Update from email #792
2020-08-21 15:54:26 -04:00
Nabeel S
cdf7b13b5b
Allow any airport to be flown from #783 ( #788 )
...
Allow any airport to be flown from #783
2020-08-17 17:06:02 -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
ac1dc49377
Replace IP in test
2020-08-15 13:54:01 -04:00
Nabeel Shahzad
be72571185
Check if the root domain is an IP address
2020-08-15 13:50:58 -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
4fa58cec5a
Fix clear cache errors with duplicate route names #759 ( #787 )
2020-08-13 17:53:30 -04:00
Nabeel S
27316f96e8
Fix missing user fields #785 ( #786 )
2020-08-13 17:44:41 -04:00
Nabeel Shahzad
e5ed66b372
Fix attribute type for PIREP status
2020-08-12 22:02:20 -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
dependabot[bot]
3ac03d9716
Bump elliptic from 6.5.2 to 6.5.3 ( #780 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com >
2020-08-12 09:26:22 -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
dependabot[bot]
3739cc8e91
Bump lodash from 4.17.15 to 4.17.19 ( #770 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-11 17:48:16 -04:00
Nabeel S
bbb5f1d13c
Check for null values when checking pilot ID #760 ( #768 )
2020-07-14 22:02:35 -04:00
Nabeel S
64e4c91e7e
Check public pages for authorization #761
2020-07-10 13:11:38 -04:00
Nabeel S
3e2b1fe42b
Add spacing to fare labels #763 ( #766 )
2020-07-10 09:51:33 -04:00
Nabeel S
420bd7e4ae
Add ability to use a link instead of a page #750 ( #757 )
...
Add ability to use a link instead of a page #750
2020-06-11 08:27:38 -04:00
Nabeel S
e4b1c238f3
Add ACARS update event #755 ( #756 )
2020-06-09 09:10:40 -04:00
Nabeel S
57e91027c8
Fix the search route for pending PIREPs #752 ( #754 )
2020-06-08 09:55:57 -04:00
dependabot[bot]
475ad3a66d
Bump websocket-extensions from 0.1.3 to 0.1.4 ( #753 )
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 08:56:31 -04:00
Nabeel S
340f52112d
Fix public pages not showing properly #708 ( #749 )
2020-06-05 12:49:22 -04:00
Nabeel Shahzad
c6482bd160
Add last_pirep test
2020-06-05 09:19:18 -04:00
Nabeel Shahzad
df15053b75
Remove trailing comma
2020-06-04 14:05:51 -04:00
Nabeel S
04b8be1649
Add show_datetime_format(); optional default timezone parameter #741 ( #746 )
2020-06-04 11:34:30 -04:00
Nabeel S
3d211535f7
Remove Google Analytics #728 ( #745 )
...
* Remove Google Analytics #728
* Remove config file
* Don't set the vacentral url
2020-06-04 10:36:55 -04:00
Nabeel S
c1408cb8fe
Fleet properties not saving #731 ( #744 )
2020-06-04 08:39:20 -04:00
Nabeel S
519ae600d5
Fix METAR invalid parameter #738 ( #743 )
2020-06-04 06:30:35 -04:00
Nabeel S
82bae9cc74
Update the flash messages #739 ( #742 )
2020-06-04 06:11:57 -04:00
Nabeel S
3a07e34259
Add pt-br language #736 ( #737 )
...
Add pt-br language #736
2020-06-02 09:10:26 -04:00
Nabeel S
89ca0b49a2
Merge pull request #730 from nabeelio/729-Multi-Expenses
...
All airports' expenses being applied to PIREP #729
2020-05-26 19:39:29 -04:00
Nabeel Shahzad
5b16c88bcb
Fix for all airport expenses being applied #729
2020-05-26 19:13:15 -04:00
Nabeel S
c67e45e98e
Merge pull request #727 from nabeelio/724-Db-Memory-Syntax-Error
...
Fix params for launching process #724
2020-05-23 13:02:34 -04:00
Nabeel Shahzad
688be6f75a
Fix params for launching process #724
2020-05-23 12:53:39 -04:00
Nabeel S
8527b39fe2
Merge pull request #725 from nabeelio/718-Airline-Active
...
Check for airline being active; fix tests for L7 #718
2020-05-23 11:55:26 -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 S
71c09aaeb1
Merge pull request #721 from nabeelio/715-Error-Page-Skins
...
Use theme in error handlers #715
2020-05-23 09:18:07 -04:00
Nabeel Shahzad
5046d26032
Explicitly set theme in error handler, refactor middleware #715
2020-05-23 09:05:38 -04:00
Nabeel S
4cd7eef937
Merge pull request #720 from nabeelio/719-Login-On-Leave
...
Allow on-leave user to login
2020-05-23 07:47:10 -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 S
5f8053226e
Merge pull request #717 from nabeelio/715-Theme
...
Apply theme globally; add mail templates into theme folder #715
2020-05-22 21:49:22 -04:00
Nabeel Shahzad
09cd7adb6b
Apply theme globally; add mail templates into theme folder #715
2020-05-22 19:00:54 -04:00
Nabeel S
fb7d988032
Merge pull request #712 from nabeelio/707-Module-Enable
...
Make sure the Updater module is enabled #707
2020-05-21 22:44:59 -04:00
Nabeel Shahzad
eb90d08761
Make sure the Updater module is enabled #707
2020-05-21 22:12:09 -04:00
Nabeel S
1ebb181c36
Merge pull request #710 from nabeelio/707-Update-Error
...
Auto-Update fixes #707
2020-05-21 12:28:52 -04:00
Nabeel Shahzad
975ee9b88e
Fix for update showing available when one isn't #707
2020-05-21 11:50:13 -04:00
Nabeel S
52379c3789
Merge pull request #705 from nabeelio/704-Acars-Map-Center
...
Fix error with map centering on invalid layers #704
2020-05-19 18:47:27 -04:00
Nabeel Shahzad
bcf7acf957
Fix error with map centering on invalid layers #704
2020-05-19 18:07:38 -04:00
Nabeel S
3b1936e110
Merge pull request #699 from nabeelio/698-Login-Pilot-Id
...
Enable logins using pilot ID #698
2020-05-16 11:59:03 -04:00
Nabeel Shahzad
b9aeda1cba
Enable logins using pilot ID #698
2020-05-16 11:52:05 -04:00
Nabeel S
00505a1607
Merge pull request #697 from nabeelio/673-Laravel-7
...
Laravel 7 support #673
2020-05-16 09:37:36 -04:00
Nabeel Shahzad
6ebbe0209e
Formatting
2020-05-15 18:38:43 -04:00
Nabeel Shahzad
5754103a17
Bump minimum PHP version to 7.3
2020-05-15 18:22:24 -04:00
Nabeel Shahzad
6078163d75
Initial pass at Laravel 7 support #673
2020-05-15 18:20:23 -04:00
Nabeel S
885e1d599e
Merge pull request #696 from nabeelio/693-Public-Folder-Permissions
...
Installer: Use absolute paths for permissions check #693
2020-05-15 15:56:07 -04:00
Nabeel Shahzad
876457af71
Use absolute paths for permissions check #693
2020-05-15 15:45:54 -04:00
Nabeel S
8c75bd098e
Merge pull request #695 from sebiecker/dev
...
Update Permissions Seed
2020-05-15 12:21:30 -04:00
Sebastian Ecker
585c9578e8
Update Permissions Seed
...
Aircraft is missing in Permissions Seed
2020-05-15 17:51:41 +02:00
Nabeel S
78ee1a9769
Merge pull request #690 from nabeelio/7.0.0-beta.4
...
7.0.0-beta.4
2020-05-09 12:31:35 -04:00
Nabeel Shahzad
7cd01a24d6
Update CHANGELOG
2020-05-09 12:24:23 -04:00
Nabeel Shahzad
d5ea0952f5
Merge branch '7.0.0-beta.4' into dev
2020-05-09 11:57:23 -04:00
Nabeel S
1054d53826
Emails/notifications not sending #675 ( #686 )
...
* Add test call to test notification #675
* Fix queue driver with emails not sending; formatting #675
2020-05-09 11:31:25 -04:00
foo barf
69fb5a537e
typo in dependency on 'leaflet.geodesic' ( #687 )
2020-05-09 10:37:58 -04:00
Nabeel S
5b771be653
Fix flight hours field #683 ( #684 )
2020-05-05 14:36:14 -04:00
Nabeel S
9135337186
Blank/null IATA code isn't unique when added #679 ( #681 )
2020-05-03 18:23:46 -04:00
Nabeel S
95608dbb79
Merge pull request #682 from nabeelio/680-METAR-Parse-Error
...
METAR: KM as unit in visibility #680
2020-05-03 11:48:42 -04:00
Nabeel Shahzad
a8fb8e93c8
METAR: KM as unit in visibility #680
2020-05-03 11:08:06 -04:00
Nabeel S
2ea18ae1c6
Fix airline creation logic in installer #677 ( #678 )
2020-05-02 15:09:27 -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 Shahzad
b21201c122
Fix test
2020-04-15 15:16:54 -04:00
Nabeel Shahzad
209b2790b6
Fix URL to briefing
2020-04-15 15:12:57 -04:00
Nabeel Shahzad
90a0a8cfee
Add mock SB API key
2020-04-15 10:28:21 -04:00
Nabeel S
8e97a7cc5c
Load Simbrief and flight data when getting bids #664 ( #665 )
2020-04-15 10:11:06 -04:00
Nabeel S
b1bdd40da7
Fix pilots page now showing up #655 ( #660 )
2020-04-06 18:12:55 -04:00
Nabeel S
40a94cb9ad
Add privatized version of name #656 ( #658 )
2020-04-06 12:03:19 -04:00
Nabeel Shahzad
3c0cd34071
Trim list_to_assoc items
2020-04-02 17:54:40 -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
6f05dd6c86
Add full user response to PIREP API call
2020-03-31 23:32:50 -04:00
Nabeel Shahzad
072d5f76bb
Formatting for StyleCI
2020-03-31 17:34:10 -04:00
Nabeel Shahzad
d1d243ef06
Update response objects
2020-03-31 17:26:55 -04:00
Nabeel S
819d3bcb47
Upgrade packages with security alerts ( #653 )
2020-03-31 12:36:33 -04:00
Nabeel S
60f378f584
Add Simbrief entries as sample data for load #651 ( #652 )
2020-03-31 12:32:11 -04:00
Nabeel Shahzad
6978fbf2e0
Fix API tests
2020-03-29 15:35:40 -04:00
Nabeel Shahzad
11b1c2b763
Fix tests for API
2020-03-29 15:19:23 -04:00
Nabeel Shahzad
655ac66b52
Formatting
2020-03-29 15:05:56 -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
82b873c071
Domain detection failing for .co.uk, etc #647 ( #648 )
...
* Fix domain name detection #647
* Ignore page links check if no DB configured #641
2020-03-28 19:07:46 -04:00
Nabeel S
3e7d5f6195
Use theme check in all frontend routes #638 ( #645 )
2020-03-28 14:45:25 -04:00
Nabeel Shahzad
ba0ae05c2a
Make icon column nullable #641
2020-03-28 14:01:53 -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
88e8ea6ed1
Add total flights
2020-03-25 17:02:48 -04:00
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
877d5a5479
Account for admin role, don't error out on null rows #632 ( #637 )
2020-03-23 11:50:15 -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 Shahzad
04b9e37e1d
Fix formatting
2020-03-09 16:40:06 -04:00
Nabeel Shahzad
8998dabb3d
Drop the unique index from subfleets.type #628
2020-03-09 16:39:07 -04:00
Nabeel Shahzad
e458a761d3
Include airline name in subfleet name #628
2020-03-09 16:20:04 -04:00
Nabeel Shahzad
3443f6b31e
Check for empty on airline id #628
2020-03-09 16:06:54 -04:00
Nabeel S
2a03d53b3f
Fix airline mapping for aircraft #628 ( #633 )
2020-03-09 15:06:36 -04:00
Nabeel S
412919fe21
Account ICAO for subfleet, airline/location if columns exist #628 ( #632 )
2020-03-09 13:40:10 -04:00
Nabeel S
80b20a8b25
Increase ID column size; seed ID generator with uniqid() #630 ( #631 )
2020-03-09 13:16:10 -04:00
Nabeel S
2c238763cb
Disable using apc/opcache by default if found #625 ( #629 )
2020-03-09 13:08:07 -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
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
174b602d7c
Remove the flight fields link from admin #614 ( #615 )
...
* Remove the flight fields link from admin #614
* Change flight_field_value col to be nullable
* Fix updater design
2020-03-04 09:49:51 -05:00
Nabeel Shahzad
b1e745844a
Restore theme db lookup
2020-03-04 08:54:55 -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 Shahzad
f1902a5faa
Fix setting repo resolution
2020-03-02 16:21:53 -05:00
Nabeel Shahzad
3cd6c8ee82
Fix cost/code field #608
2020-03-02 16:08:58 -05:00
Nabeel Shahzad
83a0007b7d
Return response from middleware
2020-03-02 15:58:53 -05:00
Nabeel S
b78c1b935e
Include fare information in subfleet response #608 ( #609 )
2020-03-02 15:36:01 -05:00
Nabeel Shahzad
fa89416e5b
Fix docs/comments
2020-03-02 10:50:39 -05:00
Nabeel S
4a14e83c88
Performance improvements #602 ( #607 )
...
* Update gitignore
* Save theme to the session to avoid a lookup #602
* Formatting
* Move routes into main service provider
* Move Observers into their own service provider
2020-03-01 15:51:00 -05:00
Nabeel S
21e2e48a6e
Center on active flights #605 ( #606 )
2020-03-01 12:41:09 -05:00
Nabeel Shahzad
a040e288de
Merge branch 'dev' of github.com:nabeelio/phpvms into dev
2020-03-01 11:18:39 -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 Shahzad
660c5303cb
Update composer lock file
2020-02-29 22:21:03 -05:00
Nabeel S
ea9ee985e8
METAR parsing infinite loop bugfix #599 ( #600 )
...
METAR parsing infinite loop bugfix #599
2020-02-28 22:50:41 -05:00
Nabeel S
b0f122a301
Table prefixes not being added to indexes ( #597 )
...
* Enabled prefixes on any created indexes (multi-site install in single db)
* Formatting
* Check if enum label is looking for a translation
* Return value
* Fix view namespace across modules
2020-02-28 18:56:01 -05:00
Nabeel S
2f40f4737c
Installer fixes, remove bcmath, fix design ( #596 )
...
* Installer cleanup
* Installer design fixes
2020-02-28 18:00:56 -05:00
Nabeel S
7e742518bc
Module/plugin installation working #593 ( #594 )
...
* Remove the Sample module
* 593-Fix-Modules-From-Composer
* Fix pre/post install scripts in composer #593
* Formatting
2020-02-28 16:06:45 -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
14aacdfb75
Import expense and ledger entries #443 ( #588 )
...
* Fix rank importing with PIREP pay #443
* Import ledger information #443
* Uncomment out testing importers
* Import expense log and settings #443
* Formatting
2020-02-25 14:45:23 -05:00
Nabeel S
07a75de0bf
Recalcuate aircraft stats in nightly cron and importer #585 #443 ( #587 )
2020-02-24 19:35:28 -05:00
Nabeel S
30786b7b27
Set the payrate for the ranks #443 ( #586 )
2020-02-24 17:52:49 -05:00
Nabeel S
11bbcd1df7
User country mapping; ignore unused groups #443 ( #584 )
...
* Fix the user country import #443
* Ignore the old "core" groups because they're unused #443
* Properly sync roles and individual permissions #443
2020-02-24 15:12:36 -05:00
Nabeel Shahzad
342fe31ceb
Move full version check below the version write
2020-02-23 21:15:44 -05:00
Nabeel Shahzad
c6f46ee4cb
Debug output for version
2020-02-23 21:08:59 -05:00
Nabeel Shahzad
574768262d
Include full build id
2020-02-23 20:59:09 -05:00
Nabeel Shahzad
24e2576645
Write out full version to log
2020-02-23 20:49:11 -05:00
Nabeel S
dfbaa1afd3
Fix rowmapper generator, check for fields, map users #443 ( #583 )
...
* Fix rowmapper generator, check for fields, map users #443
* Formatting
* Remove value store at the end of the import
* Update the notes for the importer about users
* Uncomment importers disabled during testing
2020-02-23 19:48:28 -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
b34dc4868e
Change fuel used to optional #512 ( #582 )
2020-02-23 16:01:09 -05:00
Nabeel S
0e13905098
Upstream null version; build version tags not being saved properly #575 ( #578 )
...
* Check for null version from upstream #575
* Fix for pre-release version numbering
* Move popup to right
* Split get/generate build ID #575
2020-02-23 12:23:19 -05:00
Nabeel S
b9fe8bf738
Fix edit pilot error #576 ( #577 )
2020-02-23 09:56:43 -05:00
Nabeel S
9ed07da9c3
Upsert on ACARS positions #572 ( #573 )
2020-02-22 16:03:01 -05:00
Nabeel S
6e87f7804c
Fix the namespace path on updater templates #570 ( #571 )
2020-02-21 20:36:27 -05:00
Nabeel S
cc23c32db7
Route not found error for Pirep::resource() call #559 ( #565 )
2020-02-20 12:42:22 -05:00
Nabeel S
0297ec3746
Add bcmath to the required extensions list #558 ( #564 )
2020-02-20 11:36:47 -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
9304daea7a
Add the argc_argv flag for the cgi exec #553 ( #556 )
2020-02-18 17:01:00 -05:00
Nabeel S
8300a69ad5
Fix migrations when table prefix is involved #442 ( #555 )
...
* Fix migrations when table prefix is involved #442
* Formatting
2020-02-18 08:23:32 -05:00
Nabeel S
2d36376e29
Add logo to the flights page if its set #417 ( #550 )
2020-02-14 18:54:05 -05:00
Nabeel S
77f2138a1c
Add Google Analytics tracking ID to settings and to main template #382 ( #551 )
2020-02-12 18:28:11 -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 Shahzad
f16af4d9b1
Remove extraneous flight time text
2020-02-11 13:59:42 -05:00
Nabeel S
f392bf1cb8
Add additional events for PIREP states #436 ( #548 )
2020-02-11 13:56:20 -05:00
Nabeel Shahzad
39159e2c2e
Travis check condition flipped
2020-02-11 13:25:54 -05:00
Nabeel Shahzad
018f6b62f6
Fix mv command
2020-02-11 13:23:43 -05:00
Nabeel Shahzad
4229366585
Specify file paths
2020-02-11 13:17:56 -05:00
Nabeel Shahzad
9fa395a061
Fix directory for tar file
2020-02-11 13:11:22 -05:00
Nabeel Shahzad
8b417ce1a8
Travis fix
2020-02-11 13:04:15 -05:00
Nabeel Shahzad
1d53497424
Fix cleanup tag
2020-02-11 12:39:21 -05:00
Nabeel Shahzad
07917f4ed2
Enable PHP 7.2/7.3 version
2020-02-11 12:33:21 -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 Shahzad
3fcd378f91
Remove subfolder when building the tar
2020-02-10 15:10:06 -05:00
Nabeel Shahzad
6c0d0e08e3
Zip package upload
2020-02-10 13:01:13 -05:00
Nabeel Shahzad
d234a0beb2
Update required runtime
2020-02-10 12:57:39 -05:00
Nabeel Shahzad
7a0e5f0ef4
Zip file creation fix
2020-02-10 12:54:59 -05:00
Jorge Cabal
2e1bcc1d7a
Spanish files translation ( #542 )
...
Co-authored-by: Jorge Cabal <jcabala14>
2020-02-10 12:50:54 -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
90e1b3317d
Distro zip file from tar file #449 ( #543 )
...
* Create zip file from tar file
* Formatting
2020-02-10 10:40:42 -05:00
Nabeel S
073e48c396
7.0.0-beta3 Release ( #541 )
...
* 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
* Fix missing newsRepo (#445 )
* 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
* Replace importer with AJAX powered; better error handling #443 (#447 )
* Replace importer with AJAX powered; better error handling #443
* Formatting
* Fix command line importer
* Remove bootstrap cache (#448 )
* Cleanup the bootstrap/cache directory when packaging
* Fix removal of bootstrap cache
* Formatting
* Stricter checks on ACARS API data (#451 )
* Stricter checks on ACARS API data
* More checks
* Fix for flight_number check forcing to exist
* Allow nullable on flight_id
* Avoid proc_open use #455 (#456 )
* Use PhpExecutableFinder() closes #457 #458 (#460 )
* Use DateTimeZone instead of int for creating datetime
closes #461
* 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
* Add PHP 7.4 support (#464 )
* Add PHP 7.4 to build matrix
* DB fix
* YAML parser fix in test data
* Show versions
* Package updates
* Track used ICAOs
* 7.4 METAR parsing fix
* METAR parser fix
* Formatting
* Add meters to response units
* Call instance for unit conversion
* Return value
* Catch exception for unknown quantity
* Comment fix
* Formatting
* METAR parsing fixes on PHP 7.4
* Package updates
* More random airport ID
* More random airport ID
* Properly disable toolbar
* Semver written out to version file
* Use dev as default identifier
* Fix BindingResolutionError when debug toolbar isn't present (#465 )
* Fix BindingResolutionError when debug toolbar isn't present
* Formatting
* Split the importer module out from the installer module (#468 )
* Split the importer module out from the installer module
* Cleanup of unused imports
* Move updater into separate module #453
* Remove unused imports/formatting
* Disable the install and importer modules at the end of the setup
* Unused imports; update IJ style
* test explicit stage for php+mysql
* add more to matrix
* Add different MariaDB versions
* undo
* Cleanup Model doc
* 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
* Allow nullable field and calculate distance if nulled for flight import #478 (#482 )
* Check for no roles being attached #480 (#483 )
* 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
* Account for units when entering fuel amounts #493
* Search for ICAO not working properly (#496 )
* /flights and /flights/search direct to the same endpoint
* Properly set the distance/planned_distance on save (#497 )
* 491 Installation Error (#495 )
* Disable CSRF token
* Add error handling around looking up the theme and set a default
* Note about logs in issue template
* Formatting
* Fix GeoService errors when viewing PIREP #498 (#499 )
* Add new command to export a specific PIREP for debugging (#501 )
* 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
* Catch broader exception writing out config files #491
* style
* Add reference to docs on doc site (#502 )
* Properly create/update rows importing #486 (#503 )
* Add base Dockerfile for Dockerhub builds (#504 )
* New subfleet not being attached to an airline on import #479 (#505 )
* Fix subfleet not being attached to an airline on creation in import #479
* Call airline name with optional() around subfleet
* Minor cleanup
* Search flights by subfleet #484 (#506 )
* API level search of flights #484
* Add Subfleet to flights page for search
* Make the fuel used optional (#512 )
* Add make to Docker container
* Add getRootDomain() to Utils (#514 )
* Show admin dropdown for admin-access ability (#515 )
* Show admin dropdown for admin-access ability closes #509
* Formatting
* Check user permissions on the routes #508 (#516 )
* Check user permissions on the routes #508
* Formatting
* Return default value on exception for setting()
* Correct text for no subfleets #507 (#518 )
* Add a public_url() helper #513 (#519 )
* Reduce number of queries for update check (#520 )
* Try to clear caches before updating (#522 )
* Try to clear caches before updating
* Add clear-compiled to maintenance cache list
* Formatting
* Set PIREPs page to public (#526 )
Set PIREPs page to public
* Fix live and route map errors #527 (#528 )
* Add menu bar for mobile (#529 )
* Format all blade templates to 2 spaces #530 (#531 )
* Fix PIREP edit endpoint closes #533 (#534 )
* Fix import during flight cron #532 (#535 )
* PIREPS resource except for show (#536 )
* Use optional() around the airport fields (#537 )
* Use optional() around the airport fields
* Add null-coalesce around full_name
* Add link to download ACARS config from profile (#539 )
* Add link to download ACARS config from profile
* Formatting
* Update xml config file template (#540 )
2020-02-08 13:29:34 -05:00
Nabeel S
989e86ecd3
Update xml config file template ( #540 )
2020-02-07 21:25: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
94cfbd4748
Use optional() around the airport fields ( #537 )
...
* Use optional() around the airport fields
* Add null-coalesce around full_name
2020-02-03 12:23:58 -05:00
Nabeel S
5e4a003a92
PIREPS resource except for show ( #536 )
2020-02-01 14:14:37 -05:00
Nabeel S
893e28eb3a
Fix import during flight cron #532 ( #535 )
2020-02-01 13:54:30 -05:00
Nabeel S
8cde3c93b0
Fix PIREP edit endpoint closes #533 ( #534 )
2020-02-01 13:37:40 -05:00
Nabeel S
59d09c0cec
Format all blade templates to 2 spaces #530 ( #531 )
2020-02-01 13:05:56 -05:00
Nabeel S
06b47d97e0
Add menu bar for mobile ( #529 )
2020-01-31 14:32:43 -05:00
Nabeel S
03184db2fe
Fix live and route map errors #527 ( #528 )
2020-01-31 13:57:21 -05:00
Nabeel S
45b8d737e4
Set PIREPs page to public ( #526 )
...
Set PIREPs page to public
2020-01-31 09:35:33 -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
3c1b433c29
Reduce number of queries for update check ( #520 )
2020-01-30 12:44:59 -05:00
Nabeel S
f0719d4d8d
Add a public_url() helper #513 ( #519 )
2020-01-30 11:06:51 -05:00
Nabeel S
f5bc087f38
Correct text for no subfleets #507 ( #518 )
2020-01-30 11:04:22 -05:00
Nabeel S
02b16d5e57
Return default value on exception for setting()
2020-01-30 10:54:51 -05:00
Nabeel S
63b574181a
Check user permissions on the routes #508 ( #516 )
...
* Check user permissions on the routes #508
* Formatting
2020-01-30 09:23:31 -05:00
Nabeel S
ff913e5304
Show admin dropdown for admin-access ability ( #515 )
...
* Show admin dropdown for admin-access ability closes #509
* Formatting
2020-01-30 09:00:41 -05:00
Nabeel S
e431f75ad4
Add getRootDomain() to Utils ( #514 )
2020-01-28 12:42:46 -05:00
Nabeel Shahzad
819ebece6d
Add make to Docker container
2020-01-28 10:12:40 -05:00
Nabeel S
df832088d5
Make the fuel used optional ( #512 )
2020-01-22 10:33:10 -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 S
d03a77bd4b
New subfleet not being attached to an airline on import #479 ( #505 )
...
* Fix subfleet not being attached to an airline on creation in import #479
* Call airline name with optional() around subfleet
* Minor cleanup
2020-01-16 14:23:23 -05:00
Nabeel S
6fcbd603ba
Add base Dockerfile for Dockerhub builds ( #504 )
2020-01-16 11:49:22 -05:00
Nabeel S
c2f7c5e421
Properly create/update rows importing #486 ( #503 )
2020-01-16 10:40:42 -05:00
Nabeel S
fa01c61677
Add reference to docs on doc site ( #502 )
2020-01-16 09:49:28 -05:00
Nabeel Shahzad
b7b0ac0a73
style
2020-01-15 13:59:02 -05:00
Nabeel Shahzad
bf24ffb1ba
Catch broader exception writing out config files #491
2020-01-15 13:57:56 -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
de8046288b
Add new command to export a specific PIREP for debugging ( #501 )
2020-01-15 11:50:42 -05:00
Nabeel S
7d07008871
Fix GeoService errors when viewing PIREP #498 ( #499 )
2020-01-15 09:09:58 -05:00
Nabeel S
d4da0a6d6a
491 Installation Error ( #495 )
...
* Disable CSRF token
* Add error handling around looking up the theme and set a default
* Note about logs in issue template
* Formatting
2020-01-14 13:55:24 -05:00
Nabeel S
aafc9680bf
Properly set the distance/planned_distance on save ( #497 )
2020-01-14 13:45:22 -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
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 S
282cb4be95
Check for no roles being attached #480 ( #483 )
2019-12-26 09:42:03 +05:00
Nabeel S
4f4d0c266a
Allow nullable field and calculate distance if nulled for flight import #478 ( #482 )
2019-12-25 17:16:34 +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 Shahzad
66a1192739
Cleanup Model doc
2019-12-22 09:46:41 +05:00
Nabeel S
e862537a20
Split the importer module out from the installer module ( #468 )
...
* Split the importer module out from the installer module
* Cleanup of unused imports
* Move updater into separate module #453
* Remove unused imports/formatting
* Disable the install and importer modules at the end of the setup
* Unused imports; update IJ style
* test explicit stage for php+mysql
* add more to matrix
* Add different MariaDB versions
* undo
2019-12-12 15:07:35 -05:00
Nabeel S
a58bca390b
Fix BindingResolutionError when debug toolbar isn't present ( #465 )
...
* Fix BindingResolutionError when debug toolbar isn't present
* Formatting
2019-12-11 15:12:31 -05:00
Nabeel S
e6d38f9338
Add PHP 7.4 support ( #464 )
...
* Add PHP 7.4 to build matrix
* DB fix
* YAML parser fix in test data
* Show versions
* Package updates
* Track used ICAOs
* 7.4 METAR parsing fix
* METAR parser fix
* Formatting
* Add meters to response units
* Call instance for unit conversion
* Return value
* Catch exception for unknown quantity
* Comment fix
* Formatting
* METAR parsing fixes on PHP 7.4
* Package updates
* More random airport ID
* More random airport ID
* Properly disable toolbar
* Semver written out to version file
* Use dev as default identifier
2019-12-11 12:57:18 -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
d9a1e6aba7
Use DateTimeZone instead of int for creating datetime
...
closes #461
2019-12-09 22:11:20 -05:00
Nabeel S
8cb0021b9f
Use PhpExecutableFinder() closes #457 #458 ( #460 )
2019-12-09 15:26:30 -05:00
Nabeel S
8042c4ffc1
Avoid proc_open use #455 ( #456 )
2019-12-05 14:17:36 -05:00
Nabeel Shahzad
cc8662445c
Allow nullable on flight_id
2019-12-03 15:52:00 -05:00
Nabeel Shahzad
64a04f70a3
Fix for flight_number check forcing to exist
2019-12-03 15:45:18 -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
83821d1e04
Remove bootstrap cache ( #448 )
...
* Cleanup the bootstrap/cache directory when packaging
* Fix removal of bootstrap cache
* Formatting
2019-12-02 10:29:16 -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
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
a335ed8e9b
Merge pull request #440 from nabeelio/dev
...
Merge 7.0.0-beta.2 to master
2019-11-19 11:45:13 -05:00
Nabeel Shahzad
02973a0f22
Use GITHUB_TOKEN variable in release
2019-11-19 11:21:12 -05:00
Nabeel S
bffa5ebde2
Refactor the upgrade pending check to see if there are settings/permissions yaml changes ( #438 )
2019-11-19 10:54:42 -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 Shahzad
c643833496
Update stalebot
2019-11-06 11:42:01 -05:00
Nabeel Shahzad
759979fc10
Random cache prefix closes #374
2019-11-06 11:31:33 -05:00
Nabeel Shahzad
8859682366
Set debug=true for new installs
2019-11-06 11:29:25 -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
voipmeister
db087d0ccb
fixes for issue #419 ( #429 )
...
* fixes for issue #419
* no spaces
* no spaces
2019-11-01 08:33:43 -04:00
Nabeel S
70d43e6e53
Wrap values in travis env ( #426 )
...
* Wrap values in travis env
* Inline CronService
2019-10-30 10:23:31 -04: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 Shahzad
96394228ea
Select box formatting
2019-10-29 13:09:23 -04:00
Nabeel S
ae68550448
Move telemetry option into settings; checkbox in install refs #415 ( #416 )
2019-10-29 13:07:53 -04:00
Nabeel S
a2ea9b29ba
Bundle CSS changes ( #421 )
...
* Bundle CSS changes
* Edit language
* Clickable flight IDs #419
* Fix dropdown menu going offscreen
* formatting
2019-10-29 13:03:04 -04:00
Benjamín Buske
1725ea5a9e
Some minor CSS fixes as discussed on Discord ( #420 )
...
* Minor CSS Changes
Minor CSS changes to the original.
#1 : Added button to show own bids.
#2 : Added padding to Search buttons and fields
#3 : Fixed search fields leaving the search box
* Minor CSS Changes to Search Fields
Search Fields have been changed from round to square for better look.
2019-10-28 13:21:21 -04:00
Nabeel Shahzad
12679e85a8
Updated changelog
2019-10-23 15:29:34 -04:00
Nabeel Shahzad
79d4928e18
Fix for http auth in htaccess
2019-10-23 12:36:21 -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 Shahzad
97baf98d04
Formatting
2019-09-20 09:11:34 -04:00
Nabeel Shahzad
eb27c94637
Fix for bad unit conversions in API responses
2019-09-20 09:05:09 -04:00
Nabeel S
5f9e7d5754
Catch error messages in notifying ( #403 )
...
* Catch error messages in notifying
* Formatting
2019-09-17 19:11:02 -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
41baefbf4a
Fix styler
2019-09-14 11:18:09 -04:00
Nabeel Shahzad
3c21047c15
Fix playback file path
2019-09-14 11:15:42 -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
4ac781a20d
Fix map checkout call ( #394 )
2019-09-13 15:10:47 -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
7a76ac4226
CSS Libraries and style updates ( #388 )
...
* Update now-ui frontend lib to latest instead of the beta
* Update to bootstrap 4 lib
* Fix flights and profile pages
2019-09-12 11:48:41 -04:00
Nabeel S
37fc761567
380 vacentral library ( #381 )
...
* Update vaCentral library for new API server format
* Formatting
* Remove missing/unused import
2019-09-05 16:55:51 -04:00
Nabeel Shahzad
1b82ef6c88
Fix mix error for admin.css
2019-09-04 08:03:39 -04:00
Nabeel S
7ace8bccd6
Use Notification/Notifiable ( #379 )
...
* Add migrations for notifiables
* Configure spatie-backup to run as part of cron
* Convert Mailer to Notification; add pirep notifications
* Styling
2019-08-30 15:59:17 -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 Shahzad
e62e4a865d
Rename mix_public() to public_mix() for consistency with public_asset()
2019-08-28 10:52:35 -04:00
Nabeel S
09f3e3cfdf
Set the baseURL for ajax requests ( #373 )
...
* Set the baseURL for ajax requests
* Use async/await on AJAX calls
* Add mix_public() cache generated asset cache busting
* Move storage container into separate class
* Fix some styling
2019-08-27 15:08:42 -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 Shahzad
25999d55a3
Update dep versions
2019-08-26 09:09:12 -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 Shahzad
94ba5d8680
Disable the requests throttler
2019-08-22 12:45:15 -04:00
Nabeel Shahzad
3d6a29795b
Carry headers through the handler
2019-08-22 12:26:46 -04:00
Nabeel Shahzad
dd2b297cc5
Carry headers when rethrowing errors to REST
2019-08-22 12:12:44 -04:00
Nabeel Shahzad
7fdaf62ef5
Add 'status' field to error response
2019-08-21 08:19: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 Shahzad
91a5eb535d
Add abstract class for route finding mechanism
2019-08-20 08:48:45 -04:00
Nabeel Shahzad
b6189bab7e
Remove the table prefix on importer
2019-08-10 21:12:18 -04:00
Nabeel S
dc51897314
Additional logging for the stats recalculation ( #358 )
...
* Additional logging for the stats recalculation
* style fix
2019-08-10 20:42:35 -04:00
Nabeel S
c1103afe8f
Add missing expiry time for PIREP API ( #356 )
2019-08-09 22:49:25 -04:00
Nabeel Shahzad
39fbdcb787
Add the airline back into seed data
2019-08-09 13:57:56 -04:00
Nabeel S
47be7507f0
Fix/metar reading ( #354 )
...
* Account for empty ICAO; added tests
* Fix null returns
* Fix typo in volume units display
* Add version field for bug report template
* Some more changes to the bug report template
2019-08-08 17:41:53 -04:00
Nabeel S
5cafebe4d6
Fix/metar reading ( #353 )
...
* Fix reading of the METAR information for AviationWeather. Fix the DI
* StyleCI fixes
2019-08-08 14:52:34 -04:00
Nabeel Shahzad
becf6c95f0
StyleCI fixes
2019-08-08 13:44:18 -04:00
Nabeel Shahzad
380c9d13b6
Error handling around reset install; clear cache
2019-08-08 13:42:43 -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
ff6ba4c29a
Remove ext-cal from requirements list ( #349 )
...
* Remove ext-cal from requirements list
* Fix the travis phpunit config
2019-08-08 12:50:32 -04:00
Nabeel Shahzad
f6465bea58
Add error logging around metar parsing call
2019-08-07 13:25:40 -04:00
Nabeel S
5cce1b3040
Multiple ticket crash fixes ( #347 )
...
* Fix for initial seed data not being run during install closes #346
* StyleCI keepin' me honest
* Tooltips for ranks
2019-08-07 12:32:49 -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
092b9fc9dc
Add step fields to enable decimal points on fields #342 ( #343 )
...
* Add step fields to enable decimal points on fields #342
* Update js-yaml version due to vulnerability scan
* Don't seed dev files when env == local
* Fix
* Fix to be static
* Add visibilty keyword
2019-08-06 15:54:21 -04:00
Nabeel S
6292b05ad5
Update issue templates ( #344 )
2019-08-06 15:26:37 -04:00
Nabeel Shahzad
732a0c4088
Merge branch 'dev' of github.com:nabeelio/phpvms into dev
2019-08-06 07:39:41 -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
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 Shahzad
3a97071fcf
Fix Contracts class names
2019-08-02 09:02:23 -04:00
Nabeel Shahzad
d4c172e734
Fix the role creation #334
2019-08-02 08:05:03 -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
63485d5a0f
Make hours and minutes fields required
2019-08-01 13:15:33 -04:00
Nabeel Shahzad
aa57997ff5
PIREP fields not showing up and blocking PIREP submission
2019-08-01 13:13:11 -04:00
Nabeel Shahzad
f31d6a00ec
Remove log tail
2019-08-01 13:12:54 -04:00
Nabeel Shahzad
e307da36b5
Brute force directory creation
2019-08-01 13:12:33 -04:00
Nabeel Shahzad
be5dd68c81
Directories still not being retained #333
2019-08-01 13:04:10 -04:00
Nabeel Shahzad
e9e2e12e4e
Fix avatars dir name #333
2019-08-01 12:47:17 -04:00
Nabeel S
981a5915e3
Merge pull request #331 from nabeelio/313/fuel-finances
...
Account for fuel in the finance calculations #313
2019-07-23 10:29:05 -04:00
Nabeel Shahzad
224cfaf603
Remove debugging that stops execution
2019-07-23 10:17:51 -04:00
Nabeel Shahzad
71f5d33af7
Formatting in FlightExporter
2019-07-23 09:42:31 -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 S
ee1c8ee3fa
Merge pull request #328 from nabeelio/328/pending-updates
...
Middleware to detect is update is pending; move Routes into HTTP
2019-07-18 11:07:22 -04:00
Nabeel Shahzad
823325d049
Styling
2019-07-18 10:54:28 -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
c6547ac7fc
Style fix
2019-07-18 09:55:10 -04:00
Nabeel Shahzad
748601064c
Fix Validator import
2019-07-18 09:54:03 -04:00
Nabeel Shahzad
a9c5be1c70
Add opcache option; change detection during install for cache driver
2019-07-18 09:26:33 -04:00
Nabeel S
a0a6ab027f
Merge pull request #325 from nabeelio/282-import-special-chars
...
Change exporter to use utf-8 close #282
2019-07-17 14:01:49 -04:00
Nabeel Shahzad
e97ae78e47
Fix for tests
2019-07-17 13:54:44 -04:00
Nabeel Shahzad
89a01afc7c
Fix throws pathing for tests
2019-07-17 13:40:56 -04:00
Nabeel Shahzad
9475a737f0
Change exporter to use utf-8 close #282
2019-07-17 13:36:16 -04:00
Nabeel S
0225a84a81
Merge pull request #324 from nabeelio/265-editable-pilot-id
...
Backend changes separating id from pilot_id
2019-07-17 12:49:22 -04:00
Nabeel Shahzad
bb15119bf0
Append rules for Create/Update
2019-07-17 11:00:30 -04:00
Nabeel Shahzad
95ae3aacb3
Unique email check
2019-07-17 10:59:11 -04:00
Nabeel Shahzad
482a9cb04f
formatting
2019-07-17 10:04:22 -04:00
Nabeel Shahzad
f5dcd06838
Remove the NotNull checks
2019-07-17 09:57:05 -04:00
Nabeel Shahzad
9c8c06ef28
Fix metar clouds test
2019-07-17 09:56:16 -04:00
Nabeel Shahzad
567ff91de0
Add pilot ID change fields to the admin screen
2019-07-17 09:48:20 -04:00
Nabeel Shahzad
337fe5cfaa
Rename "Administration" to "Admin"
2019-07-17 08:58:10 -04:00
Nabeel Shahzad
ec81a6d157
Fix errors in the METAR parsing for clouds; display error for pressure units
2019-07-17 08:57:45 -04:00
Nabeel Shahzad
15e6226511
Fix the avatars directory #316
2019-07-17 08:56:38 -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 S
454776ecd4
Merge pull request #323 from nabeelio/fix/rename-interfaces
...
Rename Interfaces to Contracts to better match Laravel conventions
2019-07-15 15:59:34 -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 S
31f16d693b
Merge pull request #322 from nabeelio/fix-unit-classes
...
Cleanup SI Unit classes; METAR fixes
2019-07-15 15:36:54 -04:00
Nabeel Shahzad
ed91ddb5a8
Formatting again
2019-07-15 15:19:22 -04:00
Nabeel Shahzad
08a2be165c
Formatting
2019-07-15 15:18:49 -04:00
Nabeel Shahzad
c04bfb78c6
Formatting
2019-07-15 15:17:51 -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 S
466d04caf7
Merge pull request #321 from nabeelio/dependabot/npm_and_yarn/lodash-4.17.13
...
Bump lodash from 4.17.11 to 4.17.13
2019-07-15 08:02:10 -04:00
dependabot[bot]
02674f6ecb
Bump lodash from 4.17.11 to 4.17.13
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-07-13 00:09:08 +00:00
Nabeel S
d8795e66da
Merge pull request #320 from nabeelio/laravel-update
...
Update composer library versions
2019-07-09 08:03:17 -04:00
Nabeel Shahzad
8cdf47f7b3
Update composer library versions
2019-07-08 14:41:10 -04:00
Nabeel S
331b9133a8
Merge pull request #319 from nabeelio/issue/316-missing-folders
...
Add missing folders under storage/public #316
2019-07-08 13:51:53 -04:00
Nabeel Shahzad
783c06d811
Add missing folders under storage/public #316
2019-07-08 13:31:28 -04:00
Nabeel Shahzad
8a4516f1ba
Remove gmp requirement from installer
2019-06-21 19:29:25 -04:00
Nabeel Shahzad
6543728478
Merge pull request #314 from nabeelio/issue/296-permissions
...
Add interface to additional roles/permissions #296
2019-06-21 14:51:43 -04:00
Nabeel Shahzad
54347c6706
Set default for read_only to false
2019-06-20 23:24:08 -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
29ca9711f8
Merge pull request #312 from nabeelio/issue/295-fuel-in-pireps
...
Fix pax count fields; add fuel used field #295
2019-06-19 15:14:29 -05:00
Nabeel Shahzad
313c0b0c80
Show fuel units in form
2019-06-19 16:05:29 -04:00
Nabeel Shahzad
f9ecabdccc
Fix start order
2019-06-19 16:05:24 -04:00
Nabeel Shahzad
abb1eb332d
styling
2019-06-19 15:30:47 -04:00
Nabeel Shahzad
faf51de9a9
Fix pax count fields; add fuel used field #295
2019-06-19 15:29:27 -04:00
Nabeel Shahzad
ae464b7601
Add stale check for github issues
2019-06-19 13:15:31 -04:00
Nabeel Shahzad
79c60d34c2
Some admin cleanup
2019-06-19 13:07:03 -04:00
Nabeel Shahzad
fb9c1c3681
Check for calendar extension in installer
2019-06-19 13:02:06 -04:00
Nabeel Shahzad
4653eb20ad
don't remove the docker resources
2019-06-19 12:43:09 -04:00
Nabeel Shahzad
c7376a59f0
Move around docker storage folders/config
2019-06-19 12:41:42 -04:00
Nabeel Shahzad
09307443f9
ordering
2019-06-18 19:48:03 -04:00
Nabeel Shahzad
4259533958
Move artisan calls into the install phase
2019-06-18 19:32:05 -04:00
Nabeel Shahzad
da87a35a69
Reordering ops for travis
2019-06-18 19:30:08 -04:00
Nabeel Shahzad
7a468b2c16
Fix php-cs-fixer for build
2019-06-18 19:16:29 -04:00
Nabeel Shahzad
a39549d597
Merge pull request #311 from nabeelio/analysis-zDr9J5
...
Apply fixes from StyleCI
2019-06-18 17:58:33 -05:00
Nabeel Shahzad
a176ed2dae
Apply fixes from StyleCI
2019-06-18 22:58:09 +00:00
Nabeel Shahzad
4ae17f65c8
Upgrade for vulnerabilities
2019-06-18 18:56:35 -04:00
Nabeel Shahzad
be441dacd9
Update for vulnerabilities
2019-06-18 18:54:19 -04:00
Nabeel Shahzad
5210c78d5e
Update Laravel version
2019-06-18 18:51:56 -04:00
Nabeel Shahzad
e1bdef98d6
Keep uploaded avatar images within the same aspect ratio #309
2019-05-13 07:52:07 -05:00
Nabeel Shahzad
defd78e5c2
Add the avatars/files folders to the permissions check list
2019-05-12 23:45:07 -05:00
Nabeel Shahzad
27944b8235
don't create env/config files by default
2019-05-12 23:42:35 -05:00
Nabeel Shahzad
f0ef723854
Add blank env and config files, check those permissions in the installer
2019-05-12 18:36:41 -05:00
Nabeel Shahzad
889ed06acc
Put note about permissions for directories
2019-05-12 18:33:22 -05:00
Nabeel Shahzad
267a0e21ba
Merge pull request #308 from nabeelio/laravel-58
...
Laravel 5.8 Update
2019-05-12 18:20:34 -05:00
Nabeel Shahzad
7e461f401b
Remove .php_cs from dist
2019-05-12 18:13:42 -05:00
Nabeel Shahzad
2ca1f33e68
Formatting
2019-05-12 18:05:36 -05:00
Nabeel Shahzad
dbd7c5e90b
Style fixes
2019-05-12 17:49:58 -05:00
Nabeel Shahzad
d65b74d7a0
Formatting
2019-05-12 17:37:22 -05:00
Nabeel Shahzad
8d6621e2a8
Add additional rules
2019-05-12 17:25:52 -05:00
Nabeel Shahzad
88957f4071
Add php-cs-fixer to build
2019-05-12 13:26:44 -05:00
Nabeel Shahzad
75eaec2f11
phpcs standards
2019-05-12 12:08:31 -05:00
Nabeel Shahzad
a79f28caa4
Bump minimum required php version to 7.2
2019-05-12 11:40:03 -05:00
Nabeel Shahzad
25a9ca9b90
styleci fixes
2019-05-12 11:35:03 -05:00
Nabeel Shahzad
d5a3328130
Style fix
2019-05-12 11:31:48 -05:00
Nabeel Shahzad
18c5cf766d
Force env vars in travis tests for phpunit
2019-05-12 11:31:16 -05:00
Nabeel Shahzad
1c935998fb
Fix nginx command
2019-05-12 11:20:42 -05:00
Nabeel Shahzad
1b1cf2a891
Add redis; use alpine images
2019-05-12 10:51:06 -05:00
Nabeel Shahzad
047a72f3da
Force cache to array
2019-05-12 10:50:52 -05:00
Nabeel Shahzad
87aa6ed1da
Fix tests for 5.8
2019-05-12 10:50:38 -05:00
Nabeel Shahzad
7f0fb16dc3
Update to Laravel 5.8
2019-05-12 10:10:31 -05:00
Nabeel Shahzad
82f6dfbece
Fix not found debug() call
2019-05-11 17:39:58 -05:00
Nabeel Shahzad
b8d4f4e5c4
Merge pull request #306 from nabeelio/issue-297/search-options
...
Add more search criteria/dev environment via docker-compose #297
2019-05-11 14:47:37 -05:00
Nabeel Shahzad
df814edafe
Add the symfony/polyfill-iconv package
2019-05-11 14:11:15 -05:00
Nabeel Shahzad
1ec866d4dc
Style fixes
2019-05-11 11:38:56 -05:00
Nabeel Shahzad
7fce5421b4
Reset the criterea before a new search
2019-05-11 11:37:06 -05:00
Nabeel Shahzad
65bd6888e8
Only mount storage folder
2019-05-11 09:20:05 -05:00
Nabeel Shahzad
2ca4393c5a
Adjust tail command
2019-05-11 09:14:31 -05:00
Nabeel Shahzad
099600cf4c
Fix the PHP Docker image
2019-05-10 19:46:50 -05:00
Nabeel Shahzad
4dd3fc5244
Show if there are database errors
2019-05-10 19:31:11 -05:00
Nabeel Shahzad
a90d9aac39
Save the data files locally
2019-05-10 18:55:24 -05:00
Nabeel Shahzad
81652cf70e
Add swagger docs for search
2019-05-10 18:54:10 -05:00
Nabeel Shahzad
5f0db96fc4
Working docker-compose files for development
2019-05-10 18:40:07 -05:00
Nabeel Shahzad
2b45b9fd70
Fix the searchable fields
2019-05-10 16:24:34 -05:00
Nabeel Shahzad
5b061ba636
Add greater than/less than search options #297
2019-05-10 16:03:04 -05:00
Nabeel Shahzad
1dae81b707
Package updates for vulnerabilities
2019-05-08 11:31:57 -05:00
Nabeel Shahzad
3ceb5fbe5b
node package vulnerability updates
2019-05-08 11:30:45 -05:00
Nabeel Shahzad
5fac731a57
Remove the github issue templates
2019-05-08 11:27:49 -05:00
Nabeel Shahzad
d00115fc1a
Restrict builds to main phpvms repo
2019-05-08 11:20:43 -05:00
Nabeel Shahzad
d2c20f97fd
Specify to run on all branches
2019-05-08 11:18:50 -05:00
Nabeel Shahzad
400e4854e8
Docs and matrix to strings
2019-05-08 11:17:38 -05:00
Nabeel Shahzad
12c66e2681
Install 'artifacts' from the shell script
2019-05-08 11:03:52 -05:00
Nabeel Shahzad
56c2115144
Use artifacts plugin
2019-05-08 10:50:46 -05:00
Nabeel Shahzad
de6420ad59
Configure test matrix
2019-05-08 10:41:27 -05:00
Nabeel Shahzad
93b03bb5ab
Travis fixes
2019-05-08 10:36:04 -05:00
Nabeel Shahzad
86b68fb515
Add PHP 7.4 to travis
2019-05-08 10:27:05 -05:00
Nabeel Shahzad
52ed248f7d
Only generate test autoloaders in dev mode
2019-05-08 07:07:24 -05:00
Nabeel Shahzad
bc58a2b076
Merge pull request #301 from nabeelio/fix/285
...
Add gmp to requirements in install #285
2019-05-05 09:43:41 -05:00
Nabeel Shahzad
fd96bb49f6
Add gmp to requirements in install #285
2019-04-07 22:36:17 -05:00
Nabeel Shahzad
30a53670fe
Merge branch 'dev' of github.com:nabeelio/phpvms into dev
2019-04-07 22:29:13 -05:00
Nabeel Shahzad
204f3a7397
Add github issue templates
2019-04-07 22:29:00 -05:00
Nabeel Shahzad
3a6e3e0e24
Style fixes
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
3bea54136b
PHPUnit version fixing
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
655dc39c63
Downgrade PHPUnit again for PHP 7.1
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
e2637ce0a7
Downgrade PHPUnit again for PHP 7.1
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
c8c3e2bb79
Update PHPUnit version
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
ec662243d8
Style fixes
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
93b738be79
Fix for phpunit on 7.1
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
54c4e017cc
Add PHP 7.3 to travis build
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
1d0e6cc10e
Update composer require t ype
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
29a578ea6a
Move the MigrationService to the main package
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
905be6ffc3
Direct composer packages called 'phpvms-plugin' to the modules/ folder
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
2d002e5cc5
Update npm packages
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
2132b50ede
Dependency updates
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
8d8857e552
Turn closure into static
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
6816c77845
Cleanup array_merge call
2019-04-07 22:27:09 -05:00
Nabeel Shahzad
2f2eb2e5b2
Mark ID as fillable for ACARS
2019-04-07 22:27:09 -05:00
Nabeel Shahzad
d2257095da
Remove block_time from seed file
2019-04-07 22:27:09 -05:00
Nabeel Shahzad
53d4380339
Merge pull request #300 from nabeelio/revert-299-issue-templates
...
Revert "Update issue templates"
2019-04-07 22:26:20 -05:00
Nabeel Shahzad
4e9ea9aa3c
Revert "Update issue templates"
2019-04-07 22:26:09 -05:00
Nabeel Shahzad
a6a52ef7bb
Merge pull request #299 from nabeelio/issue-templates
...
Update issue templates
2019-04-07 22:25:50 -05:00
Nabeel Shahzad
239483dfc4
Update issue templates
2019-04-07 22:25:27 -05:00
Nabeel Shahzad
e4b8707e34
Style fixes
2019-04-07 22:12:45 -05:00
Nabeel Shahzad
c0afb2ea8f
PHPUnit version fixing
2019-04-07 21:59:12 -05:00
Nabeel Shahzad
e367bd9a2e
Downgrade PHPUnit again for PHP 7.1
2019-04-07 19:46:08 -05:00
Nabeel Shahzad
62871c8a7d
Downgrade PHPUnit again for PHP 7.1
2019-04-07 19:37:30 -05:00
Nabeel Shahzad
9bc6fd23b9
Update PHPUnit version
2019-04-07 19:25:06 -05:00
Nabeel Shahzad
9d762df946
Style fixes
2019-04-07 19:23:44 -05:00
Nabeel Shahzad
e48f25d0ba
Fix for phpunit on 7.1
2019-04-07 19:17:44 -05:00
Nabeel Shahzad
20a6e0ffb6
Add PHP 7.3 to travis build
2019-04-07 19:10:52 -05:00
Nabeel Shahzad
4b39b44dab
Update composer require t ype
2019-04-07 19:07:16 -05:00
Nabeel Shahzad
8c358948e5
Move the MigrationService to the main package
2019-04-07 18:53:24 -05:00
Nabeel Shahzad
3cafe20736
Direct composer packages called 'phpvms-plugin' to the modules/ folder
2019-04-07 18:51:34 -05:00
Nabeel Shahzad
0014a4254d
Update npm packages
2019-04-07 18:51:08 -05:00
Nabeel Shahzad
9f226fe574
Dependency updates
2019-04-07 18:43:13 -05:00
Nabeel Shahzad
e23caec9f3
Turn closure into static
2019-04-07 18:09:29 -05:00
Nabeel Shahzad
64bee1b238
Cleanup array_merge call
2019-04-07 17:35:55 -05:00
Nabeel Shahzad
1b1eb1539e
Mark ID as fillable for ACARS
2018-12-27 09:35:40 -06:00
Nabeel Shahzad
4bc0a786ab
Remove block_time from seed file
2018-12-27 09:23:35 -06:00
Nabeel Shahzad
6f7735afa7
Formatting
2018-10-25 18:10:37 -05:00
Nabeel Shahzad
3aef1a0aae
Merge branch 'dev' of github.com:nabeelio/phpvms into dev
2018-10-25 17:56:03 -05:00
Nabeel Shahzad
cd327502d9
API: Call submit() for the PIREP
2018-10-08 09:01:35 -05:00
Nabeel Shahzad
900e8ffe26
Merge pull request #284 from arv187/es-translations
...
More acceptable translation to opt-in (es)
2018-10-02 13:50:42 -05:00
Nabeel Shahzad
270556eb1c
Merge pull request #283 from tripph/master
...
Fix 404s to requirements/setup in README.md
2018-10-02 13:40:16 -05:00
arv187
e319f8eba4
More acceptable translation to opt-in (es)
2018-10-02 20:25:18 +02:00
Tripp Hill
48b14091c4
Fixed link to installation details page, was 404'd
2018-10-01 18:42:38 -04:00
Tripp Hill
88122c14d2
Fixed link to requirements page, 404'd before
2018-10-01 18:40:53 -04:00
Nabeel Shahzad
3911d95107
Set the currect aircraft location #277
2018-09-21 22:40:30 -04:00
Nabeel Shahzad
61c7a3d54d
Merge pull request #280 from nkevins/expired_flight_cleaning
...
Hide expired live flight from live map and remove from DB
2018-09-20 18:44:42 -05:00
Kevin
075d4b3069
Add missing php extension
2018-09-21 06:46:44 +08:00
Nabeel Shahzad
c5498937dc
Merge pull request #278 from nabeelio/laravel-57
...
[WIP] Laravel 5.7 Update
2018-09-20 14:20:25 -05:00
Nabeel Shahzad
f8b21c99e2
Use ClassMapGenerator from composer, symfony 4.x removed theirs
2018-09-20 14:08:42 -05:00
Nabeel Shahzad
8b6c44de6f
StyleCI fixes
2018-09-20 13:55:58 -05:00
Nabeel Shahzad
b852bdc411
Merge pull request #276 from nkevins/admin_css_update
...
Make admin input outline darker
2018-09-20 13:55:21 -05:00
Nabeel Shahzad
2e0cc10ded
Move redirect configs into phpvms config
2018-09-20 13:55:08 -05:00
Nabeel Shahzad
7707d8816e
Laravel 5.7 versions
2018-09-20 13:55:08 -05:00
Nabeel Shahzad
a3239e78db
Default install doesn't enable debug mode
2018-09-20 13:55:07 -05:00
Nabeel Shahzad
bbce735e31
Fix ordering for styleci
2018-09-20 13:55:07 -05:00
Nabeel Shahzad
262aad2d7a
Add the Laravel 5.7 email verification
2018-09-20 13:55:07 -05:00
Nabeel Shahzad
99e472f99c
Dependencies updated for Laravel 5.7
2018-09-20 13:55:07 -05:00
Kevin
d40c9ba91f
Hide expired live flight from live map and remove from DB
2018-09-21 02:27:39 +08:00
Nabeel Shahzad
ab5480fdc9
Add explicit TOC accepted checkbox #244
2018-09-20 11:14:18 -05:00
Nabeel Shahzad
fbcaa382f4
add the opt-in button for emails #244
2018-09-20 10:00:23 -05:00
Nabeel Shahzad
aebb517791
Form close
2018-09-20 09:38:56 -05:00
Nabeel Shahzad
2de900eaa8
Minor JS cleanup
2018-09-20 09:36:15 -05:00
Nabeel Shahzad
e878168d4c
Add eslint and styleci files
2018-09-10 09:25:45 -05:00
Nabeel Shahzad
d04565919b
Allow admin to set a user's airport to be anywhere
2018-09-08 14:07:31 -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
b66f10510e
Make admin input border darker
2018-09-05 21:13:16 +08:00
Nabeel Shahzad
9e55f8ecf0
Merge pull request #275 from nkevins/transfer_hours
...
capture & display pilot transfer hours
2018-09-05 08:01:06 -04: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
ec873f2b82
Merge pull request #273 from nkevins/fix_repo_saving
...
Fix SettingsController saving boolean value as 'on'
2018-09-04 17:35:40 -04:00
Nabeel Shahzad
24fb55872f
Merge pull request #274 from nkevins/fix_eager_loading
...
Optimize query with eager loading
2018-09-04 17:35:23 -04:00
Kevin
f7ae027156
Optimize query with eager loading
2018-09-04 20:02:16 +08:00
Kevin Susanto
f46e5090ae
Fix SettingsController saving boolean value as 'on'
2018-09-04 16:11:51 +08:00
Nabeel Shahzad
c95fe3c971
Merge pull request #271 from nkevins/hide_inactive_pilot
...
Hide inactive pilot from pilot list page
2018-09-03 00:21:19 -04:00
Kevin
5992dad5a3
Hide inactive pilot from pilot list page
2018-09-03 08:12:11 +08:00
Nabeel Shahzad
646987764f
Styleci annoying
2018-09-02 15:10:43 -04:00
Nabeel Shahzad
ebac18ebef
Make sure created ICAO in factory is unique otherwise tests fail
2018-09-02 15:07:54 -04:00
Nabeel Shahzad
f2f0873b2e
Merge branch 'dev' of github.com:nabeelio/phpvms into dev
2018-09-02 14:52:21 -04:00
Nabeel Shahzad
f14f7c1a5e
Move the settings into a yml seed file and sync during install/update
2018-09-02 13:18:32 -04:00
Nabeel Shahzad
fbe3804658
Merge pull request #270 from nkevins/fix_search_flight_restriction
...
Fix flight search restriction
2018-09-02 11:04:41 -05:00
Nabeel Shahzad
1c1c0d55f4
Force truth state on pilot acceptance value #269
2018-09-02 10:47:37 -04:00
Kevin
20d8a2d0a7
Fix flight search restriction
2018-09-02 22:20:52 +08:00
Nabeel Shahzad
e71f12311a
Merge pull request #268 from nabeelio/analysis-z4KMan
...
Apply fixes from StyleCI
2018-09-01 22:37:01 -05:00
Nabeel Shahzad
19a206f4ac
Apply fixes from StyleCI
2018-09-02 03:31:16 +00:00
Nabeel Shahzad
8171d681a6
Fix METAR parsing for runway visibility
2018-09-01 16:58:38 -04:00
Nabeel Shahzad
aba23f99bd
Merge pull request #264 from nkevins/fix_metar_issue
...
Fix METAR issue
2018-08-28 19:07:31 -05:00
Kevin
525e8ba8bb
Adding cloud height assertion
2018-08-29 07:58:57 +08:00
Kevin
75ef658d8f
Fix metar parsing issue
2018-08-29 07:27:53 +08:00
Nabeel Shahzad
e5935507c8
Merge pull request #262 from nabeelio/analysis-Xl4mPr
...
Apply fixes from StyleCI
2018-08-26 13:52:07 -05: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
0f3424f41e
Fix datetime parser
2018-08-26 12:25:51 -05:00
Nabeel Shahzad
046dac5db5
Merge pull request #261 from nabeelio/analysis-8Kyry9
...
Apply fixes from StyleCI
2018-08-26 12:19:08 -05:00
Nabeel Shahzad
9596d88b48
Apply fixes from StyleCI
2018-08-26 16:40:04 +00:00
Nabeel Shahzad
20f46adbc4
Merge pull request #259 from nkevins/enable_eager_loading
...
Enable eager loading
2018-08-26 09:07:35 -05:00
Kevin
7b8e20f348
Enable eager loading
2018-08-26 21:43:47 +08:00
Nabeel Shahzad
996ebde501
Merge pull request #258 from nkevins/add_remove_expired_bids
...
Implement cron to remove expired bids
2018-08-24 12:16:50 -05:00
Kevin
36d91265d3
Adding newline at end of file
2018-08-25 01:14:35 +08:00
Kevin
796053cfa5
Implement cron to remove expired bids
2018-08-25 01:07:14 +08:00
Nabeel Shahzad
1c32ef838d
Merge pull request #257 from nkevins/fix_timezone_list_encoded
...
Fix timezone list HTML Escaped
2018-08-24 10:39:59 -05:00
Kevin
a62c938099
Update attrSet initializer to empty string
2018-08-24 23:39:08 +08:00
Kevin
a9536064d3
Fix timezone list HTML Escaped
2018-08-24 23:16:23 +08:00
Nabeel Shahzad
543026da18
Nav data import fixed - thanks Kevin S!
2018-08-23 09:27:54 -05:00
Nabeel Shahzad
e77488c66a
Fix CronWeekly console task to actually read Weekly
2018-08-23 08:26:39 -05:00
Nabeel Shahzad
91a64113fb
Add faker package back
2018-08-20 13:22:42 -05:00
Nabeel Shahzad
25cead3288
Clean temp/cache folder
2018-08-20 12:01:13 -05:00
Nabeel Shahzad
80556dcda3
Remove the tests folder
2018-08-20 11:35:47 -05:00
Nabeel Shahzad
ffccb01670
Try to remove an requires-devs scripts
2018-08-20 11:24:32 -05:00
Nabeel Shahzad
299f391455
Cleanup of deploy script
2018-08-20 10:39:44 -05:00
Nabeel Shahzad
666c5d50d4
Add assets and banner message for EU cookie laws
2018-08-20 10:25:40 -05:00
Nabeel Shahzad
56c1f5ce4d
Remove circleci config
2018-08-20 10:17:06 -05:00
Nabeel Shahzad
79806c3b42
Asset rebuild
2018-08-20 09:59:38 -05:00
Nabeel Shahzad
66a9b361cb
Cosmetics
2018-08-20 09:48:39 -05:00
Nabeel Shahzad
89baf34824
Initial user stats recalculation #254
2018-08-20 09:42:54 -05:00
Nabeel Shahzad
5ee053cace
Fix PIREP field error on file
2018-08-20 09:20:03 -05:00
Nabeel Shahzad
2dee3190ce
Update dependencies
2018-08-20 09:19:44 -05:00
Nabeel Shahzad
1f50d2b7f7
check for empty route
2018-08-04 11:47:56 -05:00
Nabeel Shahzad
c40a8c893d
Readd bids.disable_flight_on_bid, fixes tests
2018-07-24 15:58:11 -05:00
Nabeel Shahzad
b2cc818b7a
Extra logging about cron
2018-07-24 14:58:12 -05:00
Nabeel Shahzad
0ce86e9e44
Rewrite add/remove bids code w additional tests
2018-07-24 14:50:50 -05:00
Nabeel Shahzad
e680f33326
Add more tests for days of week
2018-07-24 11:21:52 -05:00
Nabeel Shahzad
69eebd9370
Remove extra }}
2018-07-18 08:33:09 -05:00
Nabeel Shahzad
fb17159743
Merge branch 'dev' of https://github.com/nabeelio/phpvms into dev
2018-07-16 20:10:47 -05:00
Nabeel Shahzad
0f1a4bbf33
Change lat/lon fields to text
2018-07-16 09:23:50 -05:00
Nabeel Shahzad
68b00f776a
Translation fixes
2018-07-15 15:06:25 -05:00
Nabeel Shahzad
87206ed2b4
Merge pull request #255 from arv187/es-translations
...
Update 07/13/2018 es-translations
2018-07-13 10:46:27 -05:00
arv187
5b233da11b
update 07/13/2018
...
Add new files.
2018-07-13 17:30:54 +02:00
Nabeel Shahzad
28f10eaf41
Validator fix for airport import/export
2018-07-13 07:45:29 -05:00
Nabeel Shahzad
26061deced
Fix flight visibility for day
2018-07-13 07:43:27 -05:00
arv187
3f3f0dd81d
Merge remote-tracking branch 'upstream/dev' into es-translations
2018-07-13 14:15:32 +02:00
Nabeel Shahzad
4596ddae58
Undo null check for flight
2018-07-12 22:40:39 -05:00
Nabeel Shahzad
91b1fd5dca
Add "visible" field to factory
2018-07-12 22:36:13 -05:00
Nabeel Shahzad
1b51bc8c04
Log error
2018-07-12 22:32:56 -05:00
Nabeel Shahzad
0af85a3fff
Only show flights if they're also marked as visible
2018-07-12 22:29:50 -05:00
Nabeel Shahzad
4ca58ed754
Extra logging for cron and add flight visible field
2018-07-12 22:23:45 -05:00
Nabeel Shahzad
f640381978
Export extra fields for airports
2018-07-12 22:21:39 -05:00
Nabeel Shahzad
761c845300
Clean up some comments
2018-07-12 21:47:27 -05:00
Nabeel Shahzad
1b62cb7109
Fix extra brackets
2018-07-12 21:37:18 -05:00
Nabeel Shahzad
ad7aa7c8ce
Missing flight log translation
2018-07-12 21:29:14 -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
85615300e0
Wrap ifs
2018-07-11 08:35:26 -05:00
Nabeel Shahzad
5caecf9c5f
update vacentral lib to fix airport lookup
2018-07-11 08:07:58 -05:00
Nabeel Shahzad
a1868075ed
update composer
2018-07-11 08:06:07 -05:00
Nabeel Shahzad
81ecb5673f
Merge branch 'dev' of https://github.com/nabeelio/phpvms into dev
2018-07-05 14:07:56 -05:00
Nabeel Shahzad
7c414e5419
(API) Delete the PIREP route before it's posted again
2018-07-05 14:07:54 -05:00
arv187
8b368a3808
upload spanish translation to es-translations branch
2018-06-28 01:08:56 +02:00
Nabeel Shahzad
fef36f89f4
Merge pull request #250 from arv187/master
...
ES translation
2018-06-27 17:36:59 -05:00
arv187
e9aaa85fc7
ES translation
2018-06-28 00:16:58 +02:00
Nabeel Shahzad
9125cc3d87
Fix updater
2018-06-22 09:26:08 -05:00
Nabeel Shahzad
230d3bebd3
Fix the api controller generation
2018-06-22 08:31:15 -05:00
Nabeel Shahzad
5b227c3a60
fix log
2018-06-21 09:53:14 -05:00
Nabeel Shahzad
316bc14526
Composer update
2018-06-20 11:39:28 -05:00
Nabeel Shahzad
9bc3a67c9a
Move some database calls into a support class
2018-06-20 11:18:30 -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
b7a6cb4fbc
Add missing flighttime translation
2018-05-29 14:21:44 -05:00
Nabeel Shahzad
d76b264238
Fix saving PIREPs as draft
2018-05-29 11:04:28 -05:00
Nabeel Shahzad
e02ae682a8
lang fixes
2018-05-29 09:16:07 -05:00
Nabeel Shahzad
59b99497a7
Route sorting
2018-05-28 18:15:51 -05:00
Nabeel Shahzad
42fb13294b
Lang fixes
2018-05-25 15:37:53 -05:00
Nabeel Shahzad
a515921143
Add opt-in as part of GDPR #244
2018-05-24 22:17:41 -05:00
Nabeel Shahzad
019cf9b4fb
Set IDs to unique ints so tests don't occasionally fail
2018-05-21 12:23:26 -05:00
Nabeel Shahzad
17cece598b
Fix typos and missing lang
2018-05-21 12:05:22 -05:00
Nabeel Shahzad
8179611cac
Remove unneeded migratoin
2018-05-21 12:00:14 -05:00
Nabeel Shahzad
0a7f002217
More organizing for translations
2018-05-21 11:55:40 -05:00
Nabeel Shahzad
36dcd61feb
Move downloads into separate files
2018-05-21 11:27:57 -05:00
Nabeel Shahzad
072a7ffe12
split out email files
2018-05-21 11:25:51 -05:00
Nabeel Shahzad
9173558a0b
Moved nav to files
2018-05-21 10:32:38 -05:00
Nabeel Shahzad
7cba92d420
move toc files
2018-05-21 10:28:50 -05:00
Nabeel Shahzad
3288467aa1
Move user files
2018-05-21 09:58:31 -05:00
Nabeel Shahzad
2b074ee894
Move widgets/home
2018-05-21 09:58:31 -05:00
Nabeel Shahzad
33ef3dd252
Move widgets into separate file
2018-05-21 09:58:21 -05:00
Nabeel Shahzad
bd84877f0e
Move airports into separate file
2018-05-21 09:58:21 -05:00
Nabeel Shahzad
1258b87671
Move profile into separate file
2018-05-21 09:57:49 -05:00
Nabeel Shahzad
ba1bf4581d
Move flights into separate file
2018-05-21 09:57:48 -05:00
Nabeel Shahzad
440a0c5425
Move dashboard into separate file
2018-05-21 09:57:46 -05:00
Nabeel Shahzad
74b53b4ba7
Move PIREPs to separate file
2018-05-21 09:57:45 -05:00
Nabeel Shahzad
1a3065b1ca
Reformat error and auth translations
2018-05-21 09:57:43 -05:00
Nabeel Shahzad
fb6fc118e3
Move installer_messages.* to installer.*
2018-05-21 09:57:41 -05:00
Nabeel Shahzad
b63c9a8cd4
Move frontend.auth.* to auth.*
2018-05-21 09:57:41 -05:00
Nabeel Shahzad
203b6496fc
Move frontend.global.* to common.*
2018-05-21 09:57:40 -05:00
Nabeel Shahzad
a747657642
remove dbal/predis from composer reqs
2018-05-21 09:57:38 -05:00
Nabeel Shahzad
ba9c64f420
Remove airplane image and restore original homepage for now
2018-05-21 09:57:38 -05:00
lordwilbur
c2bcebdb29
rebuilt assets again...
2018-05-21 09:57:38 -05:00
lordwilbur
f4ca576178
rebuilt assets
2018-05-21 09:57:38 -05:00
lordwilbur
459f69f609
frontend translation + other stuff
2018-05-21 09:57:34 -05:00
lordwilbur
06f8322eeb
- 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:57:34 -05:00
lordwilbur
84f64f45d9
frontend translation + other stuff
2018-05-21 09:57:32 -05:00
lordwilbur
6899ea1964
- 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:57:26 -05:00
lordwilbur
81c148fc4d
More translations
2018-05-21 09:57:10 -05:00
lordwilbur
89ebcbdb10
added predis/predis to composer
2018-05-21 09:57:10 -05:00
lordwilbur
a38bad9648
rebuilt assets again...
2018-05-21 09:57:10 -05:00
lordwilbur
7432ea5cc7
rebuilt assets
2018-05-21 09:57:10 -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
078f361a39
added doctrine/dbal to composer.json
2018-05-21 09:57:10 -05:00
lordwilbur
0b1670aae5
frontend translation + other stuff
2018-05-21 09:57:10 -05:00
lordwilbur
10867b2641
- 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:56:53 -05:00
lordwilbur
a346b0df2e
frontend translation + other stuff
2018-05-21 09:54:18 -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
77a2fd70c3
Merge pull request #242 from LordWilbur/vaflights
...
flights filtered per va
2018-05-19 14:04:39 -05:00
lordwilbur
1c0c7e0012
removed $flights variable
2018-05-19 09:05:24 +02:00
lordwilbur
e026a8d333
corrected code and replicated in Api/FlightController.php
2018-05-19 02:37:11 +02:00
lordwilbur
650d9884b0
removed tabs
...
added setting
corrected code
2018-05-19 02:03:06 +02:00
lordwilbur
0d53c5487d
pilot unable to place bids on flight if pilots.only_flights_from_current = true and departure airport is not the same pilot's current airport.
2018-05-19 00:55:08 +02:00
lordwilbur
993513c22b
flights filtered per va
2018-05-19 00:28:34 +02:00
Nabeel Shahzad
959db2e247
circleci
2018-05-17 08:06:38 -05:00
Nabeel Shahzad
c64dec1080
CircleCI build script
2018-05-17 08:02:52 -05:00
Nabeel Shahzad
da0a7cbe81
Add ACARS live time/coords/default zoom into admin settings
2018-05-16 10:54:01 -05:00
Nabeel Shahzad
a63a784dec
Update to use leaflet-providers
2018-05-14 14:17:47 -05:00
Nabeel Shahzad
40c7fd8977
Add leaflet-providers
2018-05-14 14:14:27 -05:00
Nabeel Shahzad
3e96b195a6
Add short timeout to HTTP calls by default; cache METAR lookups
2018-05-14 11:22:20 -05:00
Nabeel Shahzad
c8a9ebd26d
Data cleanup; set flight ident in response
2018-05-13 16:59:35 -05:00
Nabeel Shahzad
63897a5666
More cleanup of admin template
2018-05-11 16:02:43 -05:00
Nabeel Shahzad
9332f64284
Cleanup admin pirep form and read-only state
2018-05-11 13:53:24 -05:00
Nabeel Shahzad
3f1bb26ee5
Fix PIREPs not showing in admin
2018-05-11 13:43:33 -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
605bf477ad
More date casting on API
2018-05-10 15:28:42 -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
5230fc9600
change artisan calls
2018-05-10 10:22:45 -05:00
Nabeel Shahzad
62aa825c0f
Use artisan for the reload-db dev command
2018-05-10 10:17:41 -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
9542c23717
Fix tests formatting of DateTime/Carbon objects
2018-05-09 09:15:07 -05:00
Nabeel Shahzad
7d2d932f50
remove field block_time
2018-05-08 21:26:57 -05:00
Nabeel Shahzad
bd7bd7e802
Cleanup of sample data and date/time parsing
2018-05-08 20:59:19 -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
00458ee754
unit test airport id length fix
2018-05-07 15:11:59 -05:00
Nabeel Shahzad
3f1f83438d
remove observed_date test from metar code
2018-05-07 14:37:08 -05:00
Nabeel Shahzad
f593c7d92f
Fix some more table column sizes
2018-05-07 14:07:41 -05:00
Nabeel Shahzad
feeb4946d1
Add some indexes and tests for airports
2018-05-07 14:07:41 -05:00
Nabeel Shahzad
f671d3f624
Update deploy scripts to remove some extra packages
2018-05-07 14:07:41 -05:00
Nabeel Shahzad
0cd7b3b71f
live map updates
2018-05-04 13:59:47 -05:00
Nabeel Shahzad
d80e70e2b1
Fix Unit type conversions in tests
2018-05-03 16:13:25 -05:00
Nabeel Shahzad
f8965f1785
Fix tests for new datatypes
2018-05-03 15:36:26 -05:00
Nabeel Shahzad
23f1a8225a
update livemap to use rivets.js bindings for data updates
2018-05-03 15:07:16 -05:00
Nabeel Shahzad
cbb5182cea
Add distance/fuel fields to ACARS tables
2018-05-03 15:06:50 -05:00
Nabeel Shahzad
ff8f29be24
Update dev tools to add incremental inserts
2018-05-03 15:06:28 -05:00
José Bustos
64302252c0
Resize settings
...
Resize method only works with numbers as a parameter, is not necessary to put px at the end.
2018-05-02 18:59:57 -05:00
José Bustos
d768b9cc0e
Avatar field on database
...
corrected the path to user avatar based on get avatar attribute on user model
2018-05-02 18:59:57 -05:00
José Bustos
4bc7d7735d
Src avatar
...
Changed src call for user avatar, this will return the correct url based on avatar attribute of User Model
2018-05-02 18:59:57 -05:00
José Bustos
8aa629fc56
Grammar Error
...
corrected string
2018-05-02 18:59:57 -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
06d767279b
Added input fields to upload avatar.
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
b1209712d1
Added isset verification on avatar index at array, to put nullable validator.
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
ecf2307542
Allow files upload in edit profile form for avatar file.
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
24a2467338
Added avatar src in case of avatar exists, else will show default gravatar.
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
4c65bf8142
Added avatar resize config
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
31d0683592
Added avatar upload method into resource controller
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
José Bustos
d0485f98a9
Installation of intervetion/image package to manage pilots avatars and others images.
2018-05-02 18:59:57 -05:00
Nabeel Shahzad
ec565fa0de
Regen assets
2018-05-02 17:27:56 -05:00
Nabeel Shahzad
4f9c028676
Map fixes/updates
2018-05-02 15:28:57 -05:00
Nabeel Shahzad
5dff563c75
Fixes for API and live map
2018-05-02 15:14:18 -05:00
Nabeel Shahzad
9183e0b2aa
Add phar file to gitignore
2018-05-02 09:54:21 -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
José Bustos
fb6d5a6a0a
Install bug
...
It shows a blank page on install route in apache, it could be an rewrite error at line
RewriteBase /
exactly, removing that line sould be fix.
2018-04-24 22:08:13 -05:00
Nabeel Shahzad
fe5400a3bb
Add extra fields needed for internal active flags
2018-04-24 12:52:11 -05:00
Nabeel Shahzad
9502dd9835
Fix active/inactive check on flight page
2018-04-24 11:16:16 -05:00
Nabeel Shahzad
203ee72052
google font api from ssl
2018-04-24 11:02:02 -05:00
Nabeel Shahzad
29d206bba3
Merge branch 'dev'
2018-04-23 11:45:22 -05:00
Nabeel Shahzad
110fde34ea
Fix subfleet addition error (pikaday missing)
2018-04-23 11:06:17 -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
b7a1c2cb41
Add gitignore into uploads folder
2018-04-23 09:18:07 -05:00
Nabeel Shahzad
cff7e2c4da
some cleanup as-per phpstan
2018-04-23 08:46:28 -05:00
Nabeel Shahzad
59302ded0f
Fix another flight day test
2018-04-16 16:57:22 -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
e369695da5
Fix link highlight color
2018-04-15 12:37:19 -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
8d2fd22e3e
Shrink min-height on the card boxes
2018-04-11 13:28:47 -05:00
Nabeel Shahzad
e668a5089e
Fix create pirep errors
2018-04-10 07:22:21 -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
4a19f609fc
fix heading stylings within containers
2018-04-09 20:14:29 -05:00
Nabeel Shahzad
e109e00aa8
More styling, banner when nothing is added
2018-04-09 20:04:21 -05:00
Nabeel Shahzad
e1c8174b3f
More styling fixes in admin/flight add/edit form
2018-04-09 19:32:38 -05:00
Nabeel Shahzad
0986cddae1
admin styling
2018-04-09 15:16:01 -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
5a30ba683e
dependency updates
2018-04-08 09:52:41 -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
f4f41cd900
Fix check for block_off_time
2018-04-06 17:25:57 -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
12a442970e
PIREP form styling and improvments
2018-04-06 17:10:45 -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
4d3fb5b873
removed/update composer dependencies
2018-04-03 18:15:10 -05:00
Nabeel Shahzad
af28156498
Add user balance to dashboard
2018-04-03 12:06:06 -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
6c516cf4bf
metar template change #61
2018-04-02 07:11:02 -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
ee077ffa16
Add public/uploads to installer permissions check
2018-04-01 19:28:15 -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
3744dbfd5d
few more checks on aircraft fields
2018-03-30 21:56:55 -05:00
Nabeel Shahzad
8fb239fb8f
tests on all airport fields
2018-03-30 21:51:13 -05:00
Nabeel Shahzad
9eb8ed1804
fix aircraft status field type in model
2018-03-30 21:45:11 -05:00
Nabeel Shahzad
a3bfcf01b7
Fix mock storage for airports
2018-03-30 21:25:54 -05:00
Nabeel Shahzad
71da25eca5
Add mock stock to test the csv round-trip
2018-03-30 21:19:48 -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
777167f46e
Fix flag icons not showing
2018-03-30 19:05:15 -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
35fb6f0e52
Fix 404 for airport lookup
2018-03-30 08:12:11 -05:00
Nabeel Shahzad
36063e2ca6
Fix api call to airport lookup
2018-03-29 20:32:08 -05:00
Nabeel Shahzad
08d3578d38
Add cost_block_hour tests; extra logging
2018-03-29 14:55:25 -05:00
Nabeel Shahzad
2090f05236
Composer dep updates
2018-03-29 14:24:36 -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
be6fead812
Switch to yarn; add select2
2018-03-29 13:49:04 -05:00
Nabeel Shahzad
badfcb0e76
Switch to yarn; add select2
2018-03-29 13:48:50 -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
ec553f06c8
Switch to yarn instead of npm
2018-03-29 11:32:49 -05:00
Nabeel Shahzad
95fed87ad4
Fix js deps and airport lookup
2018-03-28 23:04:53 -05:00
Nabeel Shahzad
d5452d6517
split out some more vendor files
2018-03-28 15:51:44 -05:00
Nabeel Shahzad
e366ca9375
More organization of web assets
2018-03-28 14:01:38 -05:00
Nabeel Shahzad
12caa3b214
Some more messing with webpack
2018-03-28 13:39:57 -05:00
Nabeel Shahzad
226c3d0ce2
more asset file cleanup
2018-03-27 18:45:25 -05:00
Nabeel Shahzad
a1a8c6f141
strip unnecessary imports from js app files
2018-03-27 18:18:25 -05:00
Nabeel Shahzad
1518b8d4f7
vendor files
2018-03-27 16:34:55 -05:00
Nabeel Shahzad
999b11deb5
Move sass files out of public to resources/sass
2018-03-27 16:34:37 -05:00
Nabeel Shahzad
30a8028827
delete extra files and pull into vendor file
2018-03-27 15:46:54 -05:00
Nabeel Shahzad
8ad83a5f9f
asset cleanup
2018-03-27 14:46:32 -05:00
Nabeel Shahzad
504b33ba2a
Add AirspaceMap widget; airport overview page
2018-03-27 11:40:37 -05:00
Nabeel Shahzad
5cbb480f6e
Remove Google libs
2018-03-26 15:49:07 -05:00
Nabeel Shahzad
46f49048c8
Remove composer deps
2018-03-26 15:45:57 -05:00
Nabeel Shahzad
5cad037d7d
version file name
2018-03-26 15:28:28 -05:00
Nabeel Shahzad
75874e1ed0
Don't delete the import folder in build
2018-03-26 15:26:47 -05:00
Nabeel Shahzad
9387ad1891
fix version file generation
2018-03-26 15:20:25 -05:00
Nabeel Shahzad
ca831170f4
Add different version files based on branch/tag
2018-03-26 15:07:24 -05:00
Nabeel Shahzad
c51b074e32
Keep composer install without wiping
2018-03-26 14:56:03 -05:00
Nabeel Shahzad
c9b58a4d9d
Change order of cleanup
2018-03-26 14:48:01 -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
204f0b7a10
Build package without dev dependencies
2018-03-25 16:20:49 -05:00
Nabeel Shahzad
699883f2fc
Update dependencies, remove ide_helper generating always
2018-03-25 16:19:24 -05:00
Nabeel Shahzad
eefce8bab6
updated composer deps
2018-03-25 09:57:15 -05:00
Nabeel Shahzad
02ae2353d4
Stylesheet changes
2018-03-25 09:38:58 -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
06e1cd15c0
Fix database connection test in installer
2018-03-20 09:29:45 -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
6fa724d7b7
Reduce the number of flights created in tests to reduce collisions
2018-03-17 18:45:18 -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
Nabeel Shahzad
b9380b2c3a
Dependencies for captcha #212
2018-03-16 10:50:04 -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
58fbbd98a4
url param was missing
2018-03-14 19:54:58 -05:00
Nabeel Shahzad
2aae789e2a
Make sure inline scripts in admin all have the full base url
2018-03-14 18:14:35 -05:00
Nabeel Shahzad
e5ff927f7d
Add bid was missing url() call to put the URL correctly
2018-03-14 10:40:57 -05:00
Nabeel Shahzad
afd7aebe20
Allow the fares to be submitted via API for ACARS #125
2018-03-14 10:34:41 -05:00
Nabeel Shahzad
7148f27d33
Find/replace the LoadConfiguration class #163
2018-03-14 09:46:02 -05:00
Nabeel Shahzad
6975167a77
formatting to js standard
2018-03-14 09:07:41 -05:00
Nabeel Shahzad
57cddee3fd
Cleanup the api_key and csrf_token setters
2018-03-13 01:55:14 -05:00
Nabeel Shahzad
684ee545cf
include csrf token and fix escaping for admin scripts
2018-03-13 01:48:47 -05:00
Nabeel Shahzad
bff80c2dc7
Change user bid to POST
2018-03-13 01:26:27 -05:00
Nabeel Shahzad
acb289f6d0
Make sure login uses Form to get the csrf token
2018-03-12 22:17:58 -05:00
Nabeel Shahzad
05655632cc
Update ssri npm package bc of vulnerability
2018-03-12 20:20:59 -05:00
Nabeel Shahzad
1896e1cc35
Configure axios library and read the api-key dynamically
2018-03-12 20:14:55 -05:00
Nabeel Shahzad
0f9ce8bbb9
Frontend maps to use the commonjs compiled files
2018-03-12 18:10:35 -05:00
Nabeel Shahzad
8076c2d8c1
Fixing XSS vulnerability by using the proper output tags
2018-03-12 17:58:12 -05:00
Nabeel Shahzad
17f9464208
first pass splitting js into commonjs modules
2018-03-12 17:30:52 -05:00
Nabeel Shahzad
843cf26140
Add Axios dependency
2018-03-12 11:00:12 -05:00
Nabeel Shahzad
a3264c1cd1
re-enable csrf token for forms
2018-03-12 10:33:46 -05:00
Nabeel Shahzad
46452edf55
Include Theme as facade
2018-03-11 22:26:19 -05:00
Nabeel Shahzad
d90e118f56
Move vaCentral config to its own config file and ServiceProvider
2018-03-11 18:14:34 -05:00
Nabeel Shahzad
7cc3fc6a3a
Remove the phpvms.skin config, use theme instead
2018-03-11 18:05:53 -05:00
Nabeel Shahzad
98ebd5e358
Remove the skin_view() call from base Controller class
2018-03-11 18:03:15 -05:00
Nabeel Shahzad
f05e37767f
Update skinning with more flexible theme module
2018-03-11 18:00:42 -05:00
Nabeel Shahzad
03c15473b9
remove with()
2018-03-11 17:22:25 -05:00
Nabeel Shahzad
df8f6372f1
Fix issue with SKIN_NAME being undefined
2018-03-11 10:55:20 -05:00
Nabeel Shahzad
2ec7bc1caa
dependency updates
2018-03-11 10:39:49 -05:00
Nabeel Shahzad
4f8f82f69f
find proper rank when assigning subfleet
2018-03-09 13:03:43 -06:00
Nabeel Shahzad
724daabc5a
Fix error with adding rank
2018-03-09 10:24:22 -06: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
fefc6bc22a
Add back in --base-only to version generation
2018-03-08 08:16:42 -06:00
Nabeel Shahzad
d42bfc7aae
Fix version number generation
2018-03-07 10:24:29 -06:00
Nabeel Shahzad
dc2570a408
Rename the PirepService class
2018-03-06 17:36:06 -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
dad923489b
Set tags on transactions #130
2018-03-06 06:40:49 -06:00
Nabeel Shahzad
453ca5b180
Cleanup the transaction memos
2018-03-06 06:17:45 -06:00
Nabeel Shahzad
9d3953f3ac
Refactor expenses; move finance service classes; add daily/monthly skeletons #130 #136
2018-03-05 22:49: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
8c05ad134e
Move images to right directory
2018-03-05 21:23:17 -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
01af6f6855
finance link on menu
2018-03-05 14:36:14 -06:00
Nabeel Shahzad
8b163348a2
Cleanup comments
2018-03-05 14:19:14 -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
33c2ee702b
Cleanup subfleet expense name; reload page on recalculate #130
2018-03-05 13:15:47 -06:00
Nabeel Shahzad
a7a70ce423
Added refresh finances button to transactions list #130
2018-03-05 13:07:10 -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
bf94a20e57
Set the default email driver to the default php mail
2018-03-05 09:21:40 -06:00
Nabeel Shahzad
65940c6df2
Updated composer reqs
2018-03-05 09:18:31 -06:00
Nabeel Shahzad
56f5276bae
update symfony version deps
2018-03-04 15:07:28 -06:00
Nabeel Shahzad
454b2b488b
Add transaction group filter
2018-03-04 09:45:23 -06:00
Nabeel Shahzad
2eb0f76f32
Fix sample data removing extra expenses #130
2018-03-02 17:52:20 -06:00
Nabeel Shahzad
9424bf7c46
Fix finding expenses call #130
2018-03-02 17:48:36 -06:00
Nabeel Shahzad
fa5237179b
Remove balance field from user table #130
2018-03-02 17:31:58 -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
9d65515290
Add index of ref class+id #130
2018-03-02 13:15:18 -06:00
Nabeel Shahzad
607367feb2
Replace the ref_class_id
2018-03-02 13:14:20 -06:00
Nabeel Shahzad
9f89447070
Add pilot pay to journals; cleanup payment code #130
2018-03-02 13:12:39 -06:00
Nabeel Shahzad
284db21a3a
Hide API key from admin
2018-03-02 09:26:25 -06:00
Nabeel Shahzad
02374dcd57
Update balance in callbacks
2018-03-01 22:00:11 -06:00
Nabeel Shahzad
92a18448eb
YAML table exporter
2018-03-01 21:59:58 -06:00
Nabeel Shahzad
a3305249a6
Test for credits and debits with fixed amounts
2018-03-01 19:15:55 -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
f1b9ea94dc
Use morphed column types
2018-03-01 09:51:48 -06:00
Nabeel Shahzad
d22eed50ad
Add test to get the balance group #130
2018-02-28 21:54:58 -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
d1fcecf873
Change to getValue() on Money class
2018-02-28 18:17:15 -06:00
Nabeel Shahzad
f557e9f965
Add ledger and journal tables #130
2018-02-28 18:01:32 -06:00
Nabeel Shahzad
7ffef849d2
Remove useless tests
2018-02-28 15:42:43 -06:00
Nabeel Shahzad
448a9846c9
Implement airport hub restriction closes #104
2018-02-28 15:37:24 -06:00
Nabeel Shahzad
3188f356eb
Add setting for home airport restriction #104
2018-02-28 15:27:46 -06:00
Nabeel Shahzad
e7868868c4
Fix the module stubs and sample module for admin closes #201
2018-02-28 15:16:36 -06:00
Nabeel Shahzad
208b6e73dc
Don't overwrite pagination counts, let it default to the config #162
2018-02-28 15:06:57 -06:00
Nabeel Shahzad
6993cba55a
Don't change rank if it seems like it's been manually changed by an admin #196
2018-02-28 15:01:23 -06:00
Nabeel Shahzad
e03abc1a64
Moved away from the phpmoney library since it requires intl extension
2018-02-28 13:54:14 -06:00
Nabeel Shahzad
777bd5e26d
Return the pay in Money() format
2018-02-28 13:34:49 -06:00
Nabeel Shahzad
a6afcc944c
Add Money composition class to Support
2018-02-27 21:38:05 -06:00
Nabeel Shahzad
ae0c3c5f27
Get the pilot pay, reconcile with values for subfleet overrides
2018-02-27 16:16:40 -06:00
Nabeel Shahzad
bb4fdc5b7f
cleanup if on table
2018-02-27 14:30:31 -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
81b867fa20
Add bid expire time
2018-02-27 14:23:09 -06:00
Nabeel Shahzad
3aa4b8a410
Cleanup and move subfleet/rank settings to FleetService class
2018-02-27 14:12:03 -06:00
Nabeel Shahzad
f0977b48e5
alt_airports missing in flight create
2018-02-27 13:38:11 -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
c89926399b
Delete a bid by either the bid_id or the flight_id
2018-02-27 13:14:58 -06:00
Nabeel Shahzad
a38b4e063b
Return the flight object with the bid
2018-02-27 13:11:48 -06:00
Nabeel Shahzad
4c22a098c1
remove QSA, seems to cause problems
2018-02-27 12:32:58 -06:00
Nabeel Shahzad
18aa573a16
remove extra libs
2018-02-26 20:30:50 -06:00
Nabeel Shahzad
d61ade4482
move currency to config file; change units to their own group in settings
2018-02-26 20:23:48 -06:00
Nabeel Shahzad
920b92c096
Update node and package deps
2018-02-26 19:44:10 -06:00
Nabeel Shahzad
10a2084163
Shrink left nav margins in admin
2018-02-26 19:43:42 -06:00
Nabeel Shahzad
e6d78f3e22
cleanup some templates
2018-02-26 19:23:22 -06:00
Nabeel Shahzad
cdd5fc749c
Add the acars and manual payrates in the rank/subfleet forms
2018-02-26 19:14:10 -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
286ed78436
Add RewriteBase and QSA to htaccess
2018-02-26 12:35:15 -06:00
Nabeel Shahzad
4393523929
Fix some error conditions in installer; hide passwords in logs
2018-02-25 15:27:20 -06:00
Nabeel Shahzad
d9abaa2f06
Cleanup config files if the db setup fails
2018-02-25 15:13:04 -06:00
Nabeel Shahzad
88e4c26b8f
db host placeholder
2018-02-25 15:02:50 -06:00
Nabeel Shahzad
f20cfb53a6
laravel/composer deps updates
2018-02-25 11:23:52 -06:00
Nabeel Shahzad
82b5ff620d
put a minimal config for installer into config dir
2018-02-25 11:12:27 -06:00
Nabeel Shahzad
44f839e104
Fix module provider sub
2018-02-25 11:12:01 -06:00
Nabeel Shahzad
3bbcd2a20d
fix pirep ids in sample; rename navs to flight reports
2018-02-24 16:05:00 -06:00
Nabeel Shahzad
d0b3b27975
Remove the flight_id column from the pireps table
2018-02-24 15:51:04 -06:00
Nabeel Shahzad
7345dd8076
change some of the sample data
2018-02-24 15:47:43 -06:00
Nabeel Shahzad
2e57f84657
Add sample data for pirep fares #125
2018-02-24 15:45:43 -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
709aec83e2
Add multiplier to factory #134
2018-02-23 16:07:53 -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
b8b4fe7a8a
Add percentages as part of sample data #125
2018-02-23 15:34:14 -06:00
Nabeel Shahzad
d5aef6fb87
Allow setting percent for fare overrides against base fare #125
2018-02-23 15:12:09 -06:00
Nabeel Shahzad
dd144cc9bc
Update changelog
2018-02-23 11:47:57 -06:00
Nabeel Shahzad
7eef7f6cfe
Remove extra header from changelog
2018-02-22 17:00:26 -06:00
Nabeel Shahzad
6332bfc6f3
Updated CHANGELOG
2018-02-22 16:38:58 -06:00
Nabeel Shahzad
b2d91ba4c9
Show how pirep was filed in list/edit
2018-02-22 15:29:25 -06:00
Nabeel Shahzad
53b0bbd936
Convert errors into HttpException calls
2018-02-22 15:15:00 -06:00
Nabeel Shahzad
3748ab77d2
Fix aircraft active/inactive states
2018-02-22 14:59:09 -06:00
Nabeel Shahzad
8931f4e271
Change pirep action colors
2018-02-22 14:55:42 -06:00
Nabeel Shahzad
10b0798a30
Cleanup info callouts into components
2018-02-22 14:21:00 -06:00
Nabeel Shahzad
67f6dfc2f4
Cleanup of icons and removed ones not used #195
2018-02-22 13:28:12 -06:00
Nabeel Shahzad
fc381da21b
Clean JS in admin to use const/let instead of var
2018-02-22 11:47:28 -06:00
Nabeel Shahzad
98eef1eb12
Update vendor files with font change
2018-02-22 11:44:19 -06:00
Nabeel Shahzad
72c3191c02
Copyright/license update
2018-02-22 11:37:47 -06:00
Nabeel Shahzad
ad5f36f85e
Cleanup frontend user bid add/remove to use the API, script and html cleanup #172
2018-02-22 11:34:57 -06:00
Nabeel Shahzad
6dfab75f08
Add api routes to get/add/remove bids for a user #172
2018-02-22 10:44:15 -06:00
Nabeel Shahzad
e176772512
Rename system.js to phpvms.js to make it clearer
2018-02-22 10:14:45 -06:00
Nabeel Shahzad
487b7480af
Refactor how errors are handled
2018-02-22 10:14:12 -06:00
Nabeel Shahzad
5d2ef3a9d3
Fix wrong Exception being thrown
2018-02-22 09:41:23 -06:00
Nabeel Shahzad
7b68642fa3
Checkboxes are the bane of my existence closes #181
2018-02-22 09:36:07 -06:00
Nabeel Shahzad
abf47274a1
Cleanup some class names; move acars data into separate seed file
2018-02-22 09:31:07 -06:00
Nabeel Shahzad
3abf38ab93
Return string if not multi-value; add delete_previous flag #194
2018-02-21 21:42:47 -06:00
Nabeel Shahzad
9ed370693d
First pass at csv column parsing for kvp as values #194
2018-02-21 21:38:35 -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
7872a6a442
Remove debug stuff in xml converter
2018-02-21 15:25:58 -06:00
Nabeel Shahzad
9dfdc8195d
Add flight log to both frontend and admin pirep edit view
2018-02-21 15:24:46 -06:00
Nabeel Shahzad
77055991af
Get the correct ordering for flight route on map
2018-02-21 15:15:12 -06:00
Nabeel Shahzad
ec9d00c597
Fix map centering
2018-02-21 15:07:44 -06:00
Nabeel Shahzad
a18c00ee95
Convert sequelpro xml to yaml for import
2018-02-21 15:02:24 -06:00
Nabeel Shahzad
713fd66da6
Fix timezone not populating from lookup closes #182
2018-02-21 14:36:41 -06:00
Nabeel Shahzad
ea09a18956
Fixed formatting of almost every file
2018-02-20 22:33:09 -06:00
Nabeel Shahzad
c5b6ca53fa
Redirect subfleet create to edit page
2018-02-20 21:55:01 -06:00
Nabeel Shahzad
14d04604cb
Add ranks from the subfleet edit page closes #160
2018-02-20 21:53:50 -06:00
Nabeel Shahzad
1c143f3b23
subfleet table fix and edit in name
2018-02-20 21:30:36 -06:00
Nabeel Shahzad
bac829b425
Shrink decimal field sizes as they're overly large
2018-02-20 15:57:31 -06:00
Nabeel Shahzad
7185f6cedf
Restrict max number in factory, might be hitting 32 bit limit in tests
2018-02-20 15:41:05 -06:00
Nabeel Shahzad
8386951511
Rename toInt to toNumber
2018-02-20 15:32:49 -06:00
Nabeel Shahzad
b9e88527dd
Unit conversion fixes #193
2018-02-20 14:23:02 -06:00
Nabeel Shahzad
aeacd80bcb
Check aircraft permissions in PIREP update/file
2018-02-20 14:14:20 -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
463de8d7e7
Make sure the rank restriction disabled works closes #170
2018-02-20 13:28:53 -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
5ee8c1e779
level not required in prefile; distance required in file
2018-02-20 11:12:50 -06:00
Nabeel Shahzad
2955f93573
Fix a few items in composer.json
2018-02-19 21:56:41 -06:00
Nabeel Shahzad
bc8c5e581c
Updated lock file
2018-02-19 20:58:32 -06:00
Nabeel Shahzad
ad4259625c
Add flight time to flight create/edit form
2018-02-19 13:33:26 -06:00
Nabeel Shahzad
246c828d7a
Remove extra level field and fix documentation link
2018-02-19 11:26:11 -06:00
Nabeel Shahzad
3d55fc09f7
Add options field on setting data import
2018-02-19 11:19:18 -06:00
Nabeel Shahzad
1bb77e1d4b
Upgrade to Laravel 5.6 #165
2018-02-19 11:09:56 -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
2678514077
API: Only show active airlines
2018-02-12 12:05:10 -06:00
Nabeel Shahzad
ee71f4a1c8
Remove tail_number field from aircraft
2018-02-12 11:03:25 -06:00
Nabeel Shahzad
62506a26a1
set country on the airline, in admin and installer #191
2018-02-12 10:51:04 -06:00
Nabeel Shahzad
61dc0a046d
Fix rank image field
2018-02-12 10:26:27 -06:00
Nabeel Shahzad
c817d1ae4b
Installer fixes
2018-02-12 09:47:12 -06:00
Nabeel Shahzad
ecfda6de15
Add collision for test listeners and remove one old dep
2018-02-12 09:02:05 -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
4eef254688
set nautical miles as the default mass unit #189
2018-02-11 19:58:07 -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
cb02a7c15e
add Time support class #189
2018-02-10 21:36:13 -06:00
Nabeel Shahzad
a8e06c6cc6
base conversion classes for units #189
2018-02-10 21:16:32 -06:00
Nabeel Shahzad
176855b680
check if airport exists
2018-02-10 20:30:11 -06:00
Nabeel Shahzad
3aa01aaa18
tests check the data object in return #186
2018-02-10 18:17:38 -06:00
Nabeel Shahzad
04d44d9bd7
Add SKIN_NAME to error message pages #187
2018-02-10 17:58:11 -06:00
Nabeel Shahzad
762544ea6f
don't change rank if it's not auto promoted #168
2018-02-10 17:53:25 -06:00
Nabeel Shahzad
2a289e0468
pirep route wrap the data object #186
2018-02-10 17:48:51 -06:00
Nabeel Shahzad
21e13b6b92
make sure resources return the data object #186
2018-02-10 17:34:46 -06:00
Nabeel Shahzad
e57fb5a7c6
Move code of conduct to wiki
2018-02-10 17:31:59 -06:00
Nabeel Shahzad
5a89b4f194
write the route if it hasn't been set by acars #184
2018-02-10 16:10:19 -06:00
Nabeel Shahzad
7a6b228d8f
make planned_distance optional #185
2018-02-10 16:02:15 -06:00
Nabeel Shahzad
fbd73b0717
make planned_distance optional #185
2018-02-10 16:00:43 -06:00
Nabeel Shahzad
7a527f2ed3
Set access modifier on all enums (php 7.1)
2018-02-10 14:06:25 -06:00
Nabeel Shahzad
e6290c3396
set pirep source to acars #177
2018-02-10 13:41:24 -06:00
Nabeel Shahzad
8acb9291fe
hide all cancelled pireps #180
2018-02-10 13:25:40 -06:00
Nabeel Shahzad
3ded06390c
ignore cancelled pireps in dupe check #179
2018-02-10 13:12:12 -06:00
Nabeel Shahzad
936bceba5d
Add --reset-db flag to phpvms:dev-install command #176
2018-02-09 17:16:52 -06:00
Nabeel Shahzad
d94294e3f6
Added new phpvms:dev-install command #176
2018-02-09 17:11:55 -06:00
Nabeel Shahzad
390f08d25f
Cleanup the sample env.php file
2018-02-09 16:36:02 -06:00
Nabeel Shahzad
f0d2b4ed2f
update changelog
2018-02-09 15:44:36 -06:00
Nabeel Shahzad
80cd80a5cf
Change the filtering to operate without being in the service layer #174
2018-02-09 15:42:37 -06:00
Nabeel Shahzad
17f1085ffb
Filter out flights depending on the only_flights_from_current setting #174
2018-02-09 15:36:13 -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
13b4a3854b
move filterSubfleets() to FlightService class #170
2018-02-09 14:36:36 -06:00
Nabeel Shahzad
f6b2102e48
fix bug where aircraft restrictions aren't respected in flight calls #170
2018-02-09 14:26:14 -06:00
Nabeel Shahzad
71189e4f2d
Change most APIs to require API key #173
2018-02-09 13:20:35 -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
2a0e97c043
update composer
2018-02-08 19:16:03 -06:00
Nabeel Shahzad
bcc6be0d29
Updates for addon/modules to make it easier to create APIs
2018-02-08 19:11:53 -06:00
Nabeel Shahzad
b4ea82f327
Cleanup of the test classes and remove superfluous dependencies
2018-02-08 11:07:21 -06:00
Nabeel Shahzad
48346ae805
Use migrate:fresh instead of refresh
2018-02-07 10:37:54 -06:00
Nabeel Shahzad
b5dbde84c4
Fix rank image link field to be string
2018-02-06 14:09:20 -06:00
Nabeel Shahzad
e69d9f4c38
Add pirep fields to the API response; add tests for setting/getting them
2018-02-06 13:59:40 -06:00
Nabeel Shahzad
de0c71cb06
Set fields to pireps in prefile/update calls
2018-02-06 13:46:23 -06:00
Nabeel Shahzad
8b2eddc72d
Travis build distros on PHP 7.1
2018-02-06 13:13:45 -06:00
Nabeel Shahzad
cf286986e2
change variable name
2018-02-06 13:13:00 -06:00
Nabeel Shahzad
7d8dc2a4d4
Cleanup factories and seed data for airport timezone column change
2018-02-06 13:11:42 -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
282421deb8
Add a /update to update an install #164
2018-02-05 16:16:24 -06:00
Nabeel Shahzad
eebf7871cb
Cleanup composer file and reqs in readme #166
2018-02-05 13:26:54 -06:00
Nabeel Shahzad
9d46cee07a
Bump minimum PHP version to 7.1; library cleanup #166
2018-02-05 11:29:50 -06:00
Servetas George
78724e981c
Awards Administration
2018-01-28 21:19:35 +02:00