Commit Graph

66 Commits

Author SHA1 Message Date
Nabeel S
59d09c0cec
Format all blade templates to 2 spaces #530 (#531) 2020-02-01 13:05:56 -05:00
Nabeel Shahzad
52332c250b Fix the route() calls for L6 2019-09-13 18:20:50 -04:00
Nabeel S
0d1f38cf85
Refactor all JS API calls #360 (#375)
* Refactor all JS API calls #360

* Remove unused imports

* Lint JS

* Fix doubled api key

* Formatting

* Added extra logging to distance lookup

* Remove the .editorconfig file in distrib

* shell check fixes

* Remove the .editorconfig file in distrib
2019-08-30 08:08:00 -04:00
Nabeel S
092b9fc9dc
Add step fields to enable decimal points on fields #342 (#343)
* Add step fields to enable decimal points on fields #342

* Update js-yaml version due to vulnerability scan

* Don't seed dev files when env == local

* Fix

* Fix  to be static

* Add visibilty keyword
2019-08-06 15:54:21 -04:00
Nabeel S
753804b71b
Issue fixes (#341)
* Better error handling around ACARS position updates

* Add step for decimals on fuel block/used fields closes #340

* Styling

* Rename AcarsController to LiveMapController; update JS dependencies
2019-08-05 13:07:22 -04:00
Nabeel Shahzad
62a10224a0 Account for fuel in the finance calculations #313 2019-07-23 08:41:20 -04:00
Nabeel Shahzad
3e1d9080df Backend changes separating id from pilot_id 2019-07-16 13:54:14 -04:00
Nabeel Shahzad
5ee053cace Fix PIREP field error on file 2018-08-20 09:20:03 -05:00
Nabeel Shahzad
9cc640b866 Fix PIREP field and non-existant airport errors when editing PIREPs 2018-07-12 21:20:10 -05:00
Nabeel Shahzad
85615300e0 Wrap ifs 2018-07-11 08:35:26 -05:00
Nabeel Shahzad
d76b264238 Fix saving PIREPs as draft 2018-05-29 11:04:28 -05:00
Nabeel Shahzad
63897a5666 More cleanup of admin template 2018-05-11 16:02:43 -05:00
Nabeel Shahzad
9332f64284 Cleanup admin pirep form and read-only state 2018-05-11 13:53:24 -05:00
Nabeel Shahzad
e668a5089e Fix create pirep errors 2018-04-10 07:22:21 -05:00
Nabeel Shahzad
f54f19100c Add a PIREP flag for ready_only; some more METAR cleanup 2018-04-09 22:04:59 -05:00
Nabeel Shahzad
f842e86885 styling fixes 2018-04-08 16:00:22 -05:00
Nabeel Shahzad
12a442970e PIREP form styling and improvments 2018-04-06 17:10:45 -05:00
Nabeel Shahzad
2ab4db3a2e Add edit for flight type; block_on_time and block_off_time for PIREP API 2018-03-29 14:10:49 -05:00
Nabeel Shahzad
02ae2353d4 Stylesheet changes 2018-03-25 09:38: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
8076c2d8c1 Fixing XSS vulnerability by using the proper output tags 2018-03-12 17:58:12 -05:00
Nabeel Shahzad
453ca5b180 Cleanup the transaction memos 2018-03-06 06:17:45 -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
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
2df09c533b show transactions in pirep 2018-03-02 16:09:48 -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
b2d91ba4c9 Show how pirep was filed in list/edit 2018-02-22 15:29:25 -06:00
Nabeel Shahzad
8931f4e271 Change pirep action colors 2018-02-22 14:55:42 -06:00
Nabeel Shahzad
67f6dfc2f4 Cleanup of icons and removed ones not used #195 2018-02-22 13:28:12 -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
531c7ddba3 Set hours to read-only once they've changed away from PENDING #167 2018-02-06 12:58:48 -06:00
Nabeel Shahzad
8d76e16220 Add the validation error fields in the templates 2018-02-06 10:18:22 -06:00
Nabeel Shahzad
f9efa81bb4 Refactoring of PIREP submission and field code #146 2018-01-23 15:48:30 -06: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
0251e68ef8 Cleanup the PIREP edit page and add the comments in 2018-01-11 15:07:11 -06:00
Nabeel Shahzad
4eb5aeebed confirmation dialog and user wasn't getting saved #52 2018-01-08 16:35:52 -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
e5c34bc8af Change the PIREP accept/reject buttons 2018-01-03 20:39:24 -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
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
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
6406f47aaa Fix up the PIREP field CRUD code 2017-12-31 20:59:26 -06:00
Nabeel Shahzad
6a4e89fc40 remove old adminlte references 2017-12-30 12:23:30 -06:00