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
4e59bd0442
view flight bids in flights screen #203
2018-03-20 11:28:06 -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
45a22e26be
Merge #154 Awards into dev
2018-03-17 00:03:17 -05:00
Nabeel Shahzad
92bb56e344
Add recaptcha implementation #212
2018-03-16 11:38:06 -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
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
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
f05e37767f
Update skinning with more flexible theme module
2018-03-11 18:00:42 -05:00
Nabeel Shahzad
724daabc5a
Fix error with adding rank
2018-03-09 10:24:22 -06:00
Nabeel Shahzad
f13c961863
Fix flight page errors and some naming fixes
2018-03-08 08:51:36 -06:00
Nabeel Shahzad
a325470b8f
Aircraft can have its own expenses #130
2018-03-06 17:32:56 -06:00
Nabeel Shahzad
453ca5b180
Cleanup the transaction memos
2018-03-06 06:17:45 -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
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
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
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
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
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
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
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
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
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
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
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
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