Go to file
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
.github Remove tar-to-zip dep 2021-08-07 12:58:31 -04:00
app Eager loading update for frontend controllers and widgets (#1348) 2021-11-09 09:51:02 -05:00
bootstrap Fix public path in application bootstrap #887 2020-11-23 13:39:26 -05:00
config Add web middleware to laravel-widgets (#1281) 2021-08-12 08:40:41 -04:00
modules Discord notifications for PIREP and News events #433 (#1215) 2021-06-04 10:51:59 -04:00
public Update dependencies (#1262) 2021-07-21 10:43:36 -04:00
resources Fix pirep->ident usage issues (#1347) 2021-11-08 16:08:19 -05:00
storage Fix the avatars directory #316 2019-07-17 08:56:38 -04:00
tests Fixes to CSV import Exports (#1299) 2021-09-08 09:50:34 -04:00
.dockerignore Add base Dockerfile for Dockerhub builds (#504) 2020-01-16 11:49:22 -05:00
.editorconfig Update module generation #714 (#716) 2020-09-20 19:10:52 -04:00
.eslintignore Add eslint and styleci files 2018-09-10 09:25:45 -05:00
.eslintrc Refactor all JS API calls #360 (#375) 2019-08-30 08:08:00 -04:00
.gitignore Migrate all configs into the env.php file #1075 (#1128) 2021-04-10 17:19:45 -04:00
.htaccess Migrate all configs into the env.php file #1075 (#1128) 2021-04-10 17:19:45 -04:00
.php_cs Formatting 2019-05-12 17:37:22 -05:00
.styleci.yml #355 Calculate distance button (#366) 2019-08-26 12:32:46 -04:00
artisan laravel base files 2017-06-08 13:28:26 -05:00
CHANGELOG.md Update CHANGELOG 2020-05-09 12:24:23 -04:00
composer.json Update composer dependencies (#1337) 2021-10-25 11:38:32 -04:00
composer.lock Update composer dependencies (#1337) 2021-10-25 11:38:32 -04:00
docker-compose.local.yml Docker/compose updates (#1280) 2021-09-29 10:14:46 -04:00
docker-compose.yml Cleanup the docker-compose for local testing 2021-05-25 15:07:04 -04:00
Dockerfile Docker/compose updates (#1280) 2021-09-29 10:14:46 -04:00
intellij_style.xml Split the importer module out from the installer module (#468) 2019-12-12 15:07:35 -05:00
LICENSE Add footer requirement into license explicitly 2021-06-20 09:07:13 -04:00
Makefile Docker/compose updates (#1280) 2021-09-29 10:14:46 -04:00
package-lock.json Update dependencies (#1262) 2021-07-21 10:43:36 -04:00
package.json Update dependencies (#1262) 2021-07-21 10:43:36 -04:00
phpstan.neon some cleanup as-per phpstan 2018-04-23 08:46:28 -05:00
phpunit.xml Make fuel_used an optional field in PIREP file (#1197) 2021-05-21 10:02:07 -04:00
Procfile Working docker-compose files for development 2019-05-10 18:40:07 -05:00
README.md Update README 2021-05-25 15:11:09 -04:00
swagger.yml 7.0.0-beta3 Release (#541) 2020-02-08 13:29:34 -05:00
webpack.mix.js Fix error in webpack file (#994) 2021-01-20 09:24:27 -05:00

phpVMS 7

Build Codacy Badge Latest Stable Version StyleCI License

The next phpvms version built on the laravel framework. work in progress. The latest documentation, with installation instructions is available on the phpVMS documentation page.

Installation

A full distribution, with all of the composer dependencies, is available at this GitHub Releases link.

Requirements

  • PHP 7.3+, extensions:
    • cURL
    • JSON
    • mbstring
    • openssl
    • pdo
    • tokenizer
  • Database:
    • MySQL 5.5+ (or MySQL variant, including MariaDB and Percona)

View more details on requirements

Installer

  1. Upload to your server
  2. Visit the site, and follow the link to the installer

View installation details

Development Environment with Docker

A full development environment can be brought up using Docker, without having to install composer/npm locally

make docker-test

# **OR** with docker-compose directly

docker-compose -f docker-compose.yml -f docker-compose.local.yml up

Then go to http://localhost. If you're using dnsmasq, the app container is listening on phpvms.test, or you can add to your /etc/hosts file:

127.0.0.1   phpvms.test

The docker-compose.local.yml overrides the app section in docker-compose.yml. The standard docker-compose.yml can be used if you want to deploy from the image, or as a template for your own Dockerized deployments.

Building JS/CSS assets

Yarn is required, run:

make build-assets

This will build all of the assets according to the webpack file.