Commit Graph

287 Commits

Author SHA1 Message Date
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
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
Nabeel Shahzad
4f6b8e8e23 plot actual flight path and datapoints from ACARS table 2017-12-26 15:26:12 -06:00
Nabeel Shahzad
a931435b42 cleanup PIREP api; file report via API 2017-12-26 14:54:28 -06:00
Nabeel Shahzad
70b1476e93 Add markers for the navpoints on the flight and pirep maps 2017-12-24 17:38:38 -06:00
Nabeel Shahzad
a5196136dc add title to home page 2017-12-24 12:30:25 -06:00
Nabeel Shahzad
0bb2dabb8c update profile/change password and profile cosmetic changes 2017-12-24 12:12:26 -06:00
Nabeel Shahzad
89cde530a0 fix page title 2017-12-24 10:15:55 -06:00
Nabeel Shahzad
3b8621371a show dates/times in user's timezone 2017-12-23 11:58:17 -06:00
Nabeel Shahzad
eb6e624a4d user dashboard shows real data 2017-12-23 11:17:29 -06:00
Nabeel Shahzad
f59d372f2b Fixes for shared hosting 2017-12-23 10:15:18 -06:00
Nabeel Shahzad
07bcc5f199 Fixed login and added suspended message 2017-12-23 08:36:02 -06:00
Nabeel Shahzad
014aea6ae1 Cleanup registration and add a generic TOC 2017-12-23 08:21:40 -06:00
Nabeel Shahzad
babdca627e Fixes and cleanup for user pending/registration calls 2017-12-22 16:32:21 -06:00
Nabeel Shahzad
81ac281d9f simple user search and pagination 2017-12-22 15:11:27 -06:00
Nabeel Shahzad
50ede116ca Show count of pending pilot registrations; pagination 2017-12-22 14:48:15 -06:00
Nabeel Shahzad
1ebf2bd09c Don't allow login if user is pending or rejected; some refactoring of the registration code 2017-12-22 13:38:24 -06:00
Nabeel Shahzad
161623c85e Fixes for emails; send user registered/pending depending on state 2017-12-22 12:46:46 -06:00
Nabeel Shahzad
7fbe2f5e30 cleanup and ensure forgot password functionality is working 2017-12-21 17:23:45 -06:00
Nabeel Shahzad
6c546b5094 Add flight route map; algorithm for picking from multiple nav points; some tests 2017-12-20 19:12:39 -06:00
Nabeel Shahzad
3f8073e552 Add initial translations for enumerated values 2017-12-20 13:27:57 -06:00
Nabeel Shahzad
e5278bc0bf Output PIREP map with just the dep/arr airports for now 2017-12-20 11:28:21 -06:00
Nabeel Shahzad
eac3b256b3 Fix calls to getFlightId() to use ident property Nabeel Shahzad <nshahzad@gmail.com>Nabeel Shahzad 2017-12-20 09:06:56 -06:00
Nabeel Shahzad
b2fc8cc995 Fix calls to getFlightId() to use ident property 2017-12-20 09:05:56 -06:00
Nabeel Shahzad
0375bb420f Major refactoring for PIREP statuses and states to accomodate ACARS/route data 2017-12-19 20:19:36 -06:00
Nabeel Shahzad
ac4958a2be More fixes for maps; user API key set to design 2017-12-19 17:30:30 -06:00
Nabeel Shahzad
f2131093c4 Simple PIREP overview page (map not working atm) 2017-12-19 15:19:06 -06:00