Commit Graph

422 Commits

Author SHA1 Message Date
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
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
2df09c533b show transactions in pirep 2018-03-02 16:09:48 -06:00
Nabeel Shahzad
284db21a3a Hide API key from admin 2018-03-02 09:26:25 -06:00
Nabeel Shahzad
92a18448eb YAML table exporter 2018-03-01 21:59:58 -06:00
Nabeel Shahzad
448a9846c9 Implement airport hub restriction closes #104 2018-02-28 15:37:24 -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
e03abc1a64 Moved away from the phpmoney library since it requires intl extension 2018-02-28 13:54:14 -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
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
d61ade4482 move currency to config file; change units to their own group in settings 2018-02-26 20:23:48 -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
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
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
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
b2d91ba4c9 Show how pirep was filed in list/edit 2018-02-22 15:29:25 -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
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
e176772512 Rename system.js to phpvms.js to make it clearer 2018-02-22 10:14:45 -06:00
Nabeel Shahzad
7b68642fa3 Checkboxes are the bane of my existence closes #181 2018-02-22 09:36:07 -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
713fd66da6 Fix timezone not populating from lookup closes #182 2018-02-21 14:36:41 -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
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
1bb77e1d4b Upgrade to Laravel 5.6 #165 2018-02-19 11:09:56 -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
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
176855b680 check if airport exists 2018-02-10 20:30:11 -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
bcc6be0d29 Updates for addon/modules to make it easier to create APIs 2018-02-08 19:11:53 -06:00
Nabeel Shahzad
b5dbde84c4 Fix rank image link field to be string 2018-02-06 14:09:20 -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
1cc999a4f9 Change Airport tz field to timezone 2018-02-06 10:59:31 -06:00
Nabeel Shahzad
8d76e16220 Add the validation error fields in the templates 2018-02-06 10:18:22 -06:00
Nabeel Shahzad
282421deb8 Add a /update to update an install #164 2018-02-05 16:16:24 -06:00
Nabeel Shahzad
cb51e8036c Move module links for not being logged in 2018-02-04 11:05:44 -06:00
Nabeel Shahzad
b419afaebd Fix comment 2018-02-04 11:03:59 -06:00
Nabeel Shahzad
b4908f482e Add a reference to the skin name in the templates to make it easier to create and modify skins 2018-02-03 18:18:09 -06:00
Nabeel Shahzad
6523c3e55b Add session driver to config stub 2018-02-02 20:39:51 -06:00
Nabeel Shahzad
1e33c4c9ae Add country flag in admin user list 2018-01-30 12:37:51 -06:00
Nabeel Shahzad
6498ba1d16 add zfw field to aircraft 2018-01-30 10:04:50 -06:00
Nabeel Shahzad
351f777488 Set flight type in admin 2018-01-29 20:51:00 -06:00
Nabeel Shahzad
906a8ef5fe Fix tests and extend the source_name field 2018-01-29 20:30:29 -06:00
Nabeel Shahzad
f660af5c3b Add config.php at root; include configuration overhaul and then fixes to the installer #156 2018-01-29 13:16:39 -06:00
Nabeel Shahzad
83a9a8dfbd Add .stub file #157 2018-01-28 18:51:13 -06:00
Nabeel Shahzad
5cf79454b0 Cleanup of some config files that aren't needed anymore 2018-01-28 18:20:18 -06:00
Servetas George
78724e981c Awards Administration 2018-01-28 21:19:35 +02:00
Nabeel Shahzad
cd61c999e7 Cleanup default value field migrations; flight fields 2018-01-23 21:58:13 -06:00
Nabeel Shahzad
f9efa81bb4 Refactoring of PIREP submission and field code #146 2018-01-23 15:48:30 -06:00
Nabeel Shahzad
e86fd64235 Fix setting drop downs not being saved properly #148 2018-01-21 13:36:03 -05:00
Nabeel Shahzad
c732268bd7 Fix field label to 'Required' #148 2018-01-21 13:13:49 -05:00
Nabeel Shahzad
53a6e4b3c5 Add copyright notice to templates 2018-01-19 18:13:59 -05:00
Nabeel Shahzad
3a02a77eba Add pilots list page; fix gravatar display and pilot profile #82 2018-01-19 17:07:31 -05:00
Nabeel Shahzad
e3bce1cd69 Track hours on aircraft #73 2018-01-11 22:00:39 -06:00
Nabeel Shahzad
fe4f39a5dc Cleanup Controller inheritance 2018-01-11 21:35:03 -06:00
Nabeel Shahzad
174e3d1461 Wrap date/time calls with show_datetime() #97 2018-01-11 21:22:24 -06:00
Nabeel Shahzad
0251e68ef8 Cleanup the PIREP edit page and add the comments in 2018-01-11 15:07:11 -06:00
Nabeel Shahzad
9bc6501e8d Rename widgets from Recent* to Latest* 2018-01-10 16:05:02 -06:00
Nabeel Shahzad
2ccaaddfcd add latest news item as widget to dashboard #52 2018-01-10 16:02:33 -06:00
Nabeel Shahzad
78912f2f31 Allow user to set country 2018-01-09 19:08:16 -06:00
Nabeel Shahzad
e61e0bf4c7 Add flag-icon-css library 2018-01-09 18:49:15 -06:00
Nabeel Shahzad
cbdce35545 Aircraft can be added without subfleet/block subfleet deletion if still in use #128 2018-01-09 13:34:19 -06:00
Nabeel Shahzad
0e36849f16 Fix the flash messages not showing up, styling #126 2018-01-09 13:33:45 -06:00
Nabeel Shahzad
26d3a7f4d6 Convert live acars map into a widget 2018-01-09 12:48:24 -06:00
Nabeel Shahzad
bb59dc1ef9 Convert recent pilots/pireps to widgets #127 2018-01-08 19:53:55 -06:00
Nabeel Shahzad
4eb5aeebed confirmation dialog and user wasn't getting saved #52 2018-01-08 16:35:52 -06:00
Nabeel Shahzad
6b265ed67b add and delete news from admin dashboard #52 2018-01-08 16:22:26 -06:00
Nabeel Shahzad
d6afe3d346 Remove scripts include, breaks the add flight 2018-01-08 10:11:11 -06:00
Nabeel Shahzad
247310b4e7 Cleanup user edit page and show their pireps; log last IP address #110 2018-01-07 15:09:22 -06:00
Nabeel Shahzad
ab7fa3b293 Add link to flight fares wiki page 2018-01-07 14:05:34 -06:00
Nabeel Shahzad
0495ff27cb Add fares and set prices on flights #125 2018-01-07 10:38:16 -06:00
Nabeel Shahzad
c69e2c0cc8 Fix for subfleet add/remove on flight page #124 2018-01-07 08:58:57 -06:00
Nabeel Shahzad
da19152a1e fix broken add rank 2018-01-04 21:37:46 -06:00
Nabeel Shahzad
b62fa7757c Overhaul of ACARS/PIREP APIs 2018-01-04 19:33:23 -06:00
Nabeel Shahzad
75d4ecc3c8 Made some fonts more visible 2018-01-04 08:26:07 -06:00
Nabeel Shahzad
0bb4ca78f5 Fix links on admin dashboard 2018-01-04 08:14:39 -06:00
Nabeel Shahzad
507ce5f24f Add flights to the importer, added a few missing columns with output 2018-01-03 21:40:05 -06:00
Nabeel Shahzad
61ea069481 Change setting name for pilot flight restriction; some cosmetics 2018-01-03 20:56:46 -06:00
Nabeel Shahzad
4272946dba Fix AJAX URLs for when running in a subfolder 2018-01-03 20:42:10 -06:00
Nabeel Shahzad
e5c34bc8af Change the PIREP accept/reject buttons 2018-01-03 20:39:24 -06:00
Nabeel Shahzad
1f1acb424c Fix flight time display on profile page 2018-01-03 20:11:06 -06:00
Nabeel Shahzad
80d68d6d14 search airports close #87 2018-01-03 20:07:34 -06:00
Nabeel Shahzad
1d74558abe pagination on the airports page #87 2018-01-03 20:03:39 -06:00
Nabeel Shahzad
6181fb0388 rename to new_login_details 2018-01-03 15:47:29 -06:00
web541
08df20de19 Fixed a few field entries (#116)
* Stopped inheritance errors popping up

* Added fillable fields

These would not save otherwise.

* Added country fillable field

Wouldn’t save when importing from phpvms classic.

* Added more to classic importer

Change arguments to ask in terminal
Fixed table_prefix names in Importer.php

Added the ability to import users from phpvms classic (tested on
simpilot’s 5.5.x) and when importing, it will then reset the user’s
password to a temporary hash and then email it to the user to then
change when they first log in.

* Changes to ImporterService
2018-01-03 15:41:21 -06:00
Nabeel Shahzad
be6e5e8dec admin can add comments to PIREPs #70 2018-01-03 15:27:56 -06:00
Nabeel Shahzad
a1696d3007 Style all the buttons the same 2018-01-03 12:52:01 -06:00
Nabeel Shahzad
2394b8e419 Rename field to image_link and add field to edit #111 2018-01-03 12:47:12 -06:00
Nabeel Shahzad
15726d0610 Add ICAO field for aircraft #111 2018-01-03 12:41:01 -06:00
Nabeel Shahzad
4a5c11fc34 Add a DELETED state for PIREPs 2018-01-03 10:30:12 -06:00
Nabeel Shahzad
8744a8b17b Add a CANCELLED state for PIREPs 2018-01-03 09:49:32 -06:00
Nabeel Shahzad
085b2bd5be Set the input field for rank hours to a number 2018-01-02 21:23:48 -06:00
Nabeel Shahzad
6b63214154 mark code/leg as optional 2018-01-02 13:10:00 -06:00
Nabeel Shahzad
cb772a3c62 Add BASE_URL constant to page and have AJAX calls use it 2018-01-02 10:59:44 -06:00
Nabeel Shahzad
2325573c50 Move airport API lookups into unauthenticated calls 2018-01-02 10:53:25 -06:00
Nabeel Shahzad
6e4acd2e28 Add the API key to the AJAX requests 2018-01-02 10:50:41 -06:00
Nabeel Shahzad
dd400806ee Refer to URL via resource() 2018-01-01 16:26:02 -06:00
Nabeel Shahzad
6b0d7d8ea4 set the status URL to the full URL 2018-01-01 16:20:11 -06:00
Nabeel Shahzad
216d686cc7 Fix PIREP status badge 2018-01-01 10:49:26 -06:00
Nabeel Shahzad
904f64939f Cleanup some formatting 2018-01-01 09:02:20 -06:00
Nabeel Shahzad
e4aceb97be Cleanup PIREP show page 2018-01-01 08:58:47 -06:00
Nabeel Shahzad
3984164689 pirepfield template fix 2017-12-31 21:34:13 -06:00
Nabeel Shahzad
6406f47aaa Fix up the PIREP field CRUD code 2017-12-31 20:59:26 -06:00
Nabeel Shahzad
11c724649c Field and error message cleanup 2017-12-31 14:20:52 -06:00
Nabeel Shahzad
d93e461266 Field cleanup and some field details 2017-12-31 14:00:50 -06:00
Nabeel Shahzad
4cc08406fa Regenerate API key 2017-12-31 13:08:41 -06:00
Nabeel Shahzad
528a7c7440 allow marking of airport as hub and restrict to hubs at registration #86 2017-12-31 09:42:31 -06:00
Nabeel Shahzad
81e82629ac Rename PilotState class to UserState 2017-12-30 20:40:32 -06:00
Nabeel Shahzad
778780f3f2 Notify admin of new user registration 2017-12-30 20:39:17 -06:00
Nabeel Shahzad
4bf3541e25 Fix pjax and inline editable fields in admin 2017-12-30 14:25:50 -06:00
Nabeel Shahzad
92dfea4424 Add the missing fonts 2017-12-30 13:39:56 -06:00
Nabeel Shahzad
87867746aa cleanup creation templates 2017-12-30 12:53:16 -06:00
Nabeel Shahzad
6a4e89fc40 remove old adminlte references 2017-12-30 12:23:30 -06:00
Nabeel Shahzad
becd988343 trying to get datepicker working but enable setting start date #93 2017-12-30 12:03:45 -06:00
Nabeel Shahzad
4a1d7c59fb added settings page in admin #93 2017-12-30 10:38:18 -06:00
Nabeel Shahzad
520751b151 Move seed data into separate file with importer; fix admin panel js being broken 2017-12-29 17:34:09 -06:00
Nabeel Shahzad
c8381d99ce more js cleanup and consolidation with webpack; removed vendor dir #91 2017-12-28 17:29:00 -06:00
Nabeel Shahzad
9d92d8af55 More work on the pirep/acars maps 2017-12-28 14:35:28 -06:00
Nabeel Shahzad
ee328dabc6 geojson cleanup 2017-12-27 21:05:53 -06:00
Nabeel Shahzad
1e5d964c6d cleanup more JS vendors, moved to node_modules and compiled using webpack 2017-12-27 18:08:37 -06:00
Nabeel Shahzad
17f9330183 cleanup of js deps 2017-12-27 17:24:54 -06:00
Nabeel Shahzad
ae2a030ef8 Cleanup some JS files and webpack info 2017-12-27 17:20:34 -06:00
Nabeel Shahzad
edca0644ff Add acars map page and show in-progress flights 2017-12-27 16:47:22 -06:00
Nabeel Shahzad
a2e2a2a6a7 fix link to logo 2017-12-27 15:54:32 -06:00
Nabeel Shahzad
13eb1ace31 add extra airports and edit link 2017-12-27 09:57:41 -06:00