Commit Graph

201 Commits

Author SHA1 Message Date
Nabeel Shahzad
2cd45acbdf Show if there's a new version available on the admin dashboard #143 2018-01-19 18:44:17 -05:00
Nabeel Shahzad
1133902f50 Check for duplicate flight number/code/leg when adding/editing a flight #139 2018-01-19 17:16:15 -05:00
Nabeel Shahzad
7c70bb0971 add setting to disable user aircraft rank restriction #138 2018-01-19 12:46:30 -05:00
Nabeel Shahzad
fe4f39a5dc Cleanup Controller inheritance 2018-01-11 21:35:03 -06:00
Nabeel Shahzad
0c7117da6c Fix settings log message 2018-01-11 19:46:35 -06:00
Nabeel Shahzad
186bbca428 Restrict the aircraft to only show the user's #138 2018-01-10 19:40:20 -06:00
Nabeel Shahzad
78912f2f31 Allow user to set country 2018-01-09 19:08:16 -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
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
247310b4e7 Cleanup user edit page and show their pireps; log last IP address #110 2018-01-07 15:09:22 -06:00
Nabeel Shahzad
0495ff27cb Add fares and set prices on flights #125 2018-01-07 10:38:16 -06:00
Nabeel Shahzad
7e45291b27 Add pivot table for flight_fare to override fare #125 2018-01-07 09:19:46 -06:00
Nabeel Shahzad
c69e2c0cc8 Fix for subfleet add/remove on flight page #124 2018-01-07 08:58:57 -06:00
Nabeel Shahzad
e04fa2e056 Do a cleanup of the state check 2018-01-04 23:31:57 -06:00
Nabeel Shahzad
8af0c30a18 Check hub values for state in create/update 2018-01-04 23:22:31 -06:00
Nabeel Shahzad
c43eef6be2 Add some extra logging for the airport hub save 2018-01-04 21:07:23 -06:00
Nabeel Shahzad
e5c34bc8af Change the PIREP accept/reject buttons 2018-01-03 20:39:24 -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
be6e5e8dec admin can add comments to PIREPs #70 2018-01-03 15:27:56 -06:00
Nabeel Shahzad
d1c626afe8 remove duplicate method calls 2018-01-01 15:04:32 -06:00
Nabeel Shahzad
b456dc1a71 Save PIREP route to ACARS data table #102 2018-01-01 13:48:02 -06:00
Nabeel Shahzad
c65da0a0af delete the user bids when a flight is deleted #103 2018-01-01 09:32:04 -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
87867746aa cleanup creation templates 2017-12-30 12:53:16 -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
81d349d78d show all flights in admin/active by default 2017-12-26 14:14:04 -06:00
Nabeel Shahzad
6fd3fbe6cd sort airport list in admin 2017-12-26 14:05:43 -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
0375bb420f Major refactoring for PIREP statuses and states to accomodate ACARS/route data 2017-12-19 20:19:36 -06:00
Nabeel Shahzad
ab75ef7cf8 Fix and enable Subfleet/Fare tests and factories 2017-12-13 11:29:14 -06:00
Nabeel Shahzad
55250b8789 PIREP tests working, using minutes to track flight hours instead of seconds 2017-12-13 10:56:26 -06:00
Nabeel Shahzad
f2add8908b add setting() helper; fix invalid defaults for mysql in table 2017-12-09 21:56:26 -06:00
Nabeel Shahzad
d34e30666d Cleanup for settings table and moved some seed data into the migrations 2017-12-09 21:21:49 -06:00
Nabeel Shahzad
ddb8a6f5e9 Airport lookup from vaCentral API; changes to Airports tables 2017-12-07 17:22:15 -06:00
Nabeel Shahzad
f0309e65de set/add timezone information for airports and users 2017-12-06 16:07:25 -06:00
Nabeel Shahzad
ac0f163090 Saner way of password change check 2017-12-06 10:07:10 -06:00
Nabeel Shahzad
8d4f1efd52 cleaned searching for flights, specific fields in admin 2017-12-04 12:05:31 -06:00
Nabeel Shahzad
5593d01035 Edit user PIREP 2017-12-03 15:29:34 -06:00
Nabeel Shahzad
83cc5111b6 count/filtering of pending PIREPs 2017-12-03 10:55:01 -06:00
Nabeel Shahzad
4c8fca39eb accept/reject pireps in admin; cleanup and refactoring 2017-12-03 00:48:33 -06:00
Nabeel Shahzad
58a8d2cdbe cleanup aircraft controller 2017-12-02 08:29:53 -06:00
Nabeel Shahzad
9566da84a5 Cleaned up select box stuff, moved to repositories 2017-12-01 11:11:03 -06:00
Nabeel Shahzad
9706114289 Caching & search configuration in repository classes 2017-12-01 10:53:33 -06:00
Nabeel Shahzad
8509daab35 pagination for pireps (admin) 2017-12-01 10:44:35 -06:00
Nabeel Shahzad
e1b0b92f83 flight search and pagination (in admin), schema changes to accomodate 2017-11-30 20:28:45 -06:00
Nabeel Shahzad
f52b4bb4d9 Initial user management in admin panel 2017-11-29 18:01:07 -06:00
Nabeel Shahzad
30737a7644 fixed the remaining edit pages 2017-11-22 20:03:49 -06:00
Nabeel Shahzad
5e990164ee updated subfleet admin design 2017-11-22 11:52:02 -06:00
Nabeel Shahzad
321f2e94f5 cleanup of edit flight page; added deps 2017-11-01 11:08:36 -04:00
Nabeel Shahzad
c233bc4f36 admin styling updates/fixes 2017-08-24 13:37:54 -05:00
Nabeel Shahzad
0a3ea07549 dashboard colors and design changes 2017-08-18 12:02:32 -05:00
Nabeel Shahzad
bec2bbf646 comment out RSS stuff for now 2017-08-17 14:01:47 -05:00
Nabeel Shahzad
82c1d3ff56 fix base class on airport controller 2017-08-13 22:22:14 -05:00
Nabeel Shahzad
9a08586564 allow setting of IATA code for airline 2017-07-22 23:03:39 -05:00
Nabeel Shahzad
29a60ba0ae Add RSS of Announcements feed to Dashboard page 2017-07-22 21:31:26 -05:00
Nabeel Shahzad
fc6253b46f #21 adjust the pirep view/edit form 2017-07-13 22:09:38 -05:00
Nabeel Shahzad
5ffd152a43 #48 add custom fields/values to flights 2017-07-11 17:44:12 -05:00
Nabeel Shahzad
35133fe0e6 #48 fixed some db field errors 2017-07-11 17:00:41 -05:00
Tim
a5b71ae09e correct redirect route airline forms
Previously you were not able to edit an airline & it would return an error when adding one cause the redirect route wasnt set properly. this is fixed now
2017-07-07 23:49:03 +02:00
Nabeel Shahzad
10baaab646 #41 inline editing of fuel prices 2017-07-05 18:48:32 -05:00
Nabeel Shahzad
e6b338cd32 #41 add fuel type to subfleet table 2017-07-05 09:55:36 -05:00
Nabeel Shahzad
7265eb1913 Clean up enums and cache-keys configs 2017-07-04 15:43:47 -05:00
Nabeel Shahzad
77b164a64c #21 base code for accepting/rejecting PIREPs 2017-07-04 01:05:37 -05:00
Nabeel Shahzad
ddc2ed4d89 #32 Cleanup of subfleet edit and linked from the aircraft screen 2017-07-02 15:11:27 -05:00
Nabeel Shahzad
9dc880d7d3 #23 cleaned up rank data and templates 2017-07-02 15:03:25 -05:00
Nabeel Shahzad
244d1ae7bd #23 assign subfleets to ranks 2017-07-01 21:06:55 -05:00
Nabeel Shahzad
477b99de29 \#21 PIREP scaffolding 2017-06-28 19:57:15 -05:00
Nabeel Shahzad
5dce55b4f3 cleanup aircraft table/repo 2017-06-24 14:00:56 -05:00
Nabeel Shahzad
ba57cef0a7 #34 Generate UUID on seeder/models 2017-06-24 13:20:24 -05:00
Nabeel Shahzad
3736e530bf #32 moved fares to subfleets 2017-06-24 11:09:27 -05:00
Nabeel Shahzad
c3e417429a #32 assign aircraft to subfleets, and aircraft to subfleets 2017-06-23 17:33:18 -05:00
Nabeel Shahzad
aaaead77a5 #32 subfleet classificiation scaffolding 2017-06-22 20:55:45 -05:00
Nabeel Shahzad
5b920151b8 #23 add rankings 2017-06-21 20:18:01 -05:00
Nabeel Shahzad
cb631292b9 #23 refactoring for ranks 2017-06-21 13:44:30 -05:00
Nabeel Shahzad
807316fd0e some more cleanup for migrations 2017-06-20 22:48:16 -05:00
Nabeel Shahzad
c27a11ab21 #16 settings panel scaffolding 2017-06-20 18:49:45 -05:00
Nabeel Shahzad
7d92c68870 #12 #16 settings service and timezone/currency setting 2017-06-20 15:03:51 -05:00
Nabeel Shahzad
85610aeec6 #14 associate/disassociate aircraft from flights 2017-06-20 12:14:10 -05:00
Nabeel Shahzad
2a18d629aa #14 Assign aircraft to the flights 2017-06-19 14:29:10 -05:00
Nabeel Shahzad
65e58c91c5 cleanup for aircraft fares 2017-06-19 13:13:31 -05:00
Nabeel Shahzad
c732476f6d Rename 'Airlines' model to 'Airline' 2017-06-19 11:50:25 -05:00
Nabeel Shahzad
f4e7eef40c #14 initial scaffolding for adding flights/schedules 2017-06-17 17:25:36 -05:00
Nabeel Shahzad
d61b4f1c3c #13 show airport map on details page with aerodome info 2017-06-15 22:45:25 -05:00
Nabeel Shahzad
15ed2bd846 #11 inline editing for pivot values for price/cost/capacity on fares 2017-06-13 15:11:11 -05:00
Nabeel Shahzad
4b137460e3 #11 assign/remove fares from aircraft 2017-06-13 14:01:06 -05:00
Nabeel Shahzad
486b47562e #11 integrate pjax scaffold for form reload for deleting fares 2017-06-12 22:48:32 -05:00
Nabeel Shahzad
ce45c32ce0 aircraft fares association code 2017-06-11 19:02:29 -05:00
Nabeel Shahzad
d3cf57a1d1 add airports table and #7 integrate permissions 2017-06-11 11:36:16 -05:00
Nabeel Shahzad
7d7b422707 #9 refactoring/renaming of controllers 2017-06-10 22:17:45 -05:00
Nabeel Shahzad
96bbeba726 issue 9 add dashboard route for admin 2017-06-10 21:32:22 -05:00
Nabeel Shahzad
7a79a8558e some refactoring for tests and adding some tables 2017-06-09 22:19:17 -05:00
Nabeel Shahzad
88f6730a8d fixed auth and non-authed home page 2017-06-09 15:07:29 -05:00
Nabeel Shahzad
3678363766 add Aircraft CRUD 2017-06-08 20:37:51 -05:00
Nabeel Shahzad
4fcfc84ccf Airlines model and controller 2017-06-08 20:02:52 -05:00