GithubHelp home page GithubHelp logo

va-net / flare Goto Github PK

View Code? Open in Web Editor NEW
15.0 4.0 6.0 40.69 MB

Modern and Responsive VA Crew Center - Designed for Infinite Flight and Integrated with VANet

Home Page: https://flare-demo.vanet.app

License: GNU General Public License v3.0

PHP 97.72% Dockerfile 0.08% JavaScript 1.67% CSS 0.23% Hack 0.29%
vanet infinite-flight virtual-airline flight-simulator flare hacktoberfest

flare's Introduction

Flare

Discord

Modern and Responsive VA Crew Center - Designed for Infinite Flight and Integrated with VANet.

Installation

Installation is easy - download the latest release, and upload the files to your server. Then follow the installation instructions, and you're done!

Configuration

For all instructions on how to use and configure Flare, please visit the community tutorials.

Contributing

Thanks for your interest in helping make Flare better! If you wish to contribute, fork the dev branch, make your changes then open a Pull Request.

Support Flare

Flare is open support software, and is maintained in my free time. You can support these efforts by buying me a coffee, subscribing to VANet Gold, or using this DigitalOcean referral link.

License

© 2020, Lucas Rebato

Flare is licensed under the GNU General Public License. A copy of the license is available here, and here.

flare's People

Contributors

dependabot[bot] avatar rebal15 avatar velocity23 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flare's Issues

Route Database Optimization

Many VAs have hundreds or thousands of routes, which would take a while to load (especially if not paginated). Pilots should be able to:

  • View a Random Route
  • Search Routes by Flight Time, Aircraft, Departure and Arrival
  • Possible browse through a paginated list of routes.

Events System

Add the events system through integrate with VANet.

Cannot Login

Describe the issue

Unable to login after installation. Tried installing three times with different users and passwords. The login screen at /index.php just resets once credentials are submitted. No error messages appear.

Steps to reproduce the issue

Start install at /install/install.php. Follow instructions. Try logging in once completed.

Screenshots

pilots_sql
core_folder
pre and post submission login flare

Unify Sidebar Navigation

Currently the desktop navigation is included in each file, copy and paste style. Can we improve this by making it an include or putting it in a layout file?

Update System

Add ability to update Flare without messing with DB scripts or files. Will need some metadata to be included in each release. Should use GitHub API.

Dark Mode button doesn't work

No effect when clicking the dark mode button. Probably easier to just remove is as it relies on a script from the origin VGVACrew source that no longer exists.

Make Edit Staff Model run on JS

Edit Staff modals are done individually instead of via attributes and jQuery. Instead, use jQuery like the edit user modals. This will also fix #41

Change DB Loops

Currently looping through a DB Result is done via a while, constantly query the result set. This causes issues if another DB call is made during the loop due to a PDO gimmick. Instead, loops should foreach through the DB::query->results() set.

Aircraft Liveries Do Not Load

Describe the issue

When adding aircraft to fleet, liveries do not load for any aircraft selected.

Steps to reproduce the issue

Manage Fleet --> Add Aircraft

Screenshots

liveries-not-loading

Filing a PIREP

Describe the issue

Unable to file a PIREP. Error message: "Error: There was an error connecting to VANet."

Steps to reproduce the issue

Go to file PIREP and fill out the form.

Screenshots

vanet-conn-error

Mobile Overflow

The following pages overflow horizontally on mobile device.

  • Setup PIREPs
  • Route Database
  • User Management (sort of - some columns are hidden which makes it fit but there's no way to see those hidden details - suggest a modal)
  • Staff Management (ditto)
  • Recruitment
  • Fleet
  • Route Management

I suggest hiding some columns then adding modals to show all details

Add Statistics

Just putting it here so it's on record that it should be added ;)

Change Default Select Option to null value

In dropdowns all over Flare, the default option select actually has a value - select. Change from this:

<option>Select</option>

To this:

<option value="">Select</option>

PIREP Setup not working

Describe the issue

Unable to setup PIREPs by clicking on "I have spawned in on the casual server" (Update.php file does not work)

Steps to reproduce the issue

Left-hand sidebar > File PIREP > "I have spawned in on the casual server" > New tab opens with error 500

Screenshots

N/A

Applicant Can Log In

Describe the issue

Applicants can log in as pilots even before their applications are processed.

Steps to reproduce the issue

Filled out the application form as a prospective pilot. Tried to log in using the info entered in the form. Got the error message saying "you need to wait for your application to be processed" and when I tried to log in using my admin user, it logs in as the applicant. If I log out and log back in using the admin user, it works fine.

The screenshots was taken after filling out the application, failing to log in as the applicant, and then logging in with the admin credentials. Instead of the admin user, I get the applicant dashboard.

Screenshots

logs-in-applicant

Mark User Inactive / Delete Does Not Work

Describe the issue

When you click the delete button and then "mark as inactive", the user remains active.

Steps to reproduce the issue

User Management --> Delete Button --> Mark as Inactive

Screenshots

mark-inactive-no-work
mark-inactive
mark-inactive-no-work-2

Ranks Not Listed

Describe the issue

Manage Ranks does not list ranks or allow editing of ranks. New ranks are added and shown elsewhere, though.

Steps to reproduce the issue

Manage Ranks --> Add Rank

Screenshots

add-rank-works
ranks-added

Pilot Panel on mobile

Describe the issue

Pilot Panel buttons (from "Pilot Home" to "ACARS") do not work on mobile.

Steps to reproduce the issue

Open website on mobile > Press on drop-down bar > pilot panel links do not work

Screenshots

image

Make Flight Number a String

Many VAs have multi-leg routes that are marked as 123A, 123B, etc. Flight Number should be a string to allow for this,

Cannot login after latest update

Describe the issue

Unable to login after installation of latest update. The login screen at /index.php just resets once credentials are submitted. No error messages appear.

Steps to reproduce the issue

Download & Upload latest Master update > replace config file with backup > Try to login > page refreshes

Screenshots

N/A

Edit Staff Member Join Date Missing

Describe the issue

Join date for staff members under Edit Staff is not editable and is not shown. Join date under Edit User is correctly displayed.

Steps to reproduce the issue

Created the user during installation.

Screenshots

join-date-missing
edit-user-join-date

Categorize All Admin Functions

Currently only Operations is under a dropdown, to make the design more unified could we categorize all admin menu items?

Hide Gold Functions on Silver

Only admins should be able to see that the VA needs to upgrade to access ACARS and extra stats. No need for the pilot to be able to see it, just hide menu item. If the pilot navigates directly, show an upgrade message.

No Edit Option For Fleet

Describe the issue

Cannot edit aircraft already added to fleet. If deletion is the only option, would it affect anything else if a modification needs to be made by deletion and re-adding?

Screenshots

fleet-works-no-edit

New Routes Not Listed

Describe the issue

Message says a new route is successfully added, but only the first ever added route shows up in the list.

Steps to reproduce the issue

Routes Management --> Add Route

Screenshots

routes-management-before
routes-management-after

Flight Time Format

Describe the issue

Flight time format is actually time format instead of duration.

Screenshots

flight-time-1
flight-time-2

Make all Form Fields Requried

Currently, many for fields are using min="1" as their way of being required. However this does not work for all browsers. Instead, the required attribute should be used.

Colour themeing

Add ability to select main colour theme, this can be changed at any time

No button to submit ACARS

Describe the issue

As per the instructions, there should be a button to submit the ACARS flight but there is no button.

Steps to reproduce the issue

Left-hand sidebar > ACARS > Spawn in with your callsign and flight plan on expert (still no button) > complete the flight > Refresh the ACARS page (still no button)

Screenshots

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.