Commit Graph
100 Commits
Author SHA1 Message Date
Nabeel Shahzad dd4dc90488 just revert to testing mysql, defer maria till later 2018-01-09 23:42:07 -06:00
Nabeel Shahzad ae043fcf3d try multiple db test matrix on travis 2018-01-09 23:39:58 -06:00
Nabeel Shahzad 87497d8499 try multiple db test matrix on travis 2018-01-09 23:37:31 -06:00
Nabeel Shahzad 42374ebae6 Add mariadb to the test matrix #132 2018-01-09 23:25:13 -06:00
Nabeel Shahzad 849e40d234 Some logging around the DB detection #132 2018-01-09 23:17:06 -06:00
Nabeel Shahzad 7e71b46e02 Enable ATTR_EMULATE_PREPARES for MariaDB specifically #132 2018-01-09 23:05:52 -06:00
Nabeel Shahzad b33838161b Disable force emulate on PDO driver #132 2018-01-09 22:27:37 -06:00
Nabeel Shahzad 6e513c6a22 Remove create database from travis before_script and force it to turn through artisan to test the creation code 2018-01-09 20:49:20 -06:00
Nabeel Shahzad f16748167b Rewrite how mysql db is created to avoid external processes #132 2018-01-09 20:47:03 -06:00
Nabeel Shahzad 07ca62920f Remove _config.yml 2018-01-09 19:09:24 -06:00
Nabeel Shahzad 4884e6882e Merge branch 'master' of github.com:nabeelio/phpvms 2018-01-09 19:08:22 -06:00
Nabeel Shahzad 78912f2f31 Allow user to set country 2018-01-09 19:08:16 -06:00
Nabeel Shahzad af646ff8d8 Add ISO 3166-1 library 2018-01-09 18:50:21 -06:00
Nabeel Shahzad e61e0bf4c7 Add flag-icon-css library 2018-01-09 18:49:15 -06:00
Nabeel Shahzad 44550330b4 Expand the subfleets type column 2018-01-09 16:40:00 -06:00
Nabeel Shahzad e7f0eeab48 remove docs dir 2018-01-09 16:39:51 -06:00
Nabeel Shahzad 9c008c6a4f docs landing page 2018-01-09 15:06:27 -06:00
Nabeel Shahzad cbeca327fc Formatting of REST doc 2018-01-09 14:08:09 -06:00
Nabeel Shahzad 2e914ae12d Add examples to the REST API docs 2018-01-09 14:06:35 -06:00
Nabeel Shahzad 02c6bd7cbe add api page to docs 2018-01-09 13:44:04 -06:00
Nabeel Shahzad ac291487b1 Add a docs folder to test out doc generator 2018-01-09 13:38:30 -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 458ee93974 add the length to the build block to see if it fixes a bug 2018-01-09 09:13:58 -06:00
Nabeel Shahzad 5e097e9d89 add the exit() to the env file in a better way, add some more htaccess rules to block the env file 2018-01-09 07:09:16 -06:00
Nabeel Shahzad 59ebe4e179 Add exit() to env stub to prevent leakage of sensitive info 2018-01-09 07:00:22 -06:00
Nabeel Shahzad bb59dc1ef9 Convert recent pilots/pireps to widgets #127 2018-01-08 19:53:55 -06:00
Nabeel Shahzad 1fc4bcba25 Add arrilot/laravel-widgets dependency 2018-01-08 19:39:05 -06:00
Nabeel Shahzad a8ecc8a26f Catch all Exception in root namespace 2018-01-08 16:42:08 -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 5a12493739 make form inputs more visible 2018-01-08 15:48:36 -06:00
Nabeel Shahzad 37bdd1c5eb make form inputs more visible 2018-01-08 10:21:23 -06:00
Nabeel Shahzad d6afe3d346 Remove scripts include, breaks the add flight 2018-01-08 10:11:11 -06:00
Nabeel Shahzad 110d742714 cleanup model relationship references 2018-01-08 09:22:12 -06:00
Nabeel Shahzad 8d65462084 Add news tables and models #52 2018-01-08 09:02:55 -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 4a34286c67 remove return type of addUserBid() 2018-01-07 11:16:44 -06:00
Nabeel Shahzad 633dd5b804 Remove index #125 2018-01-07 11:13:59 -06:00
Nabeel Shahzad adf8935d33 Change field types on flight_fare pivot table to string 2018-01-07 11: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 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 6fdecc571a Look for composer exec 2018-01-06 18:20:37 -06:00
Nabeel Shahzad cb93cdbb27 Remove the composer.phar distribution and check env for COMPOSER path 2018-01-06 18:19:05 -06:00
Nabeel Shahzad b7770e5709 field checks 2018-01-06 17:18:30 -06:00
Nabeel Shahzad 618288f097 Don't check the lat/lon coords in the points 2018-01-06 17:15:33 -06:00
Nabeel Shahzad 94c0eb8502 Create wrapper around versioning library to update on builds 2018-01-06 17:00:47 -06:00
Nabeel Shahzad b8e00a3ee1 Updated Symfony and Version deps 2018-01-06 17:00:23 -06:00
Nabeel Shahzad 18cb9590c8 version file fix 2018-01-06 16:35:18 -06:00
Nabeel Shahzad d63f0ee2f8 Added /api/settings to retrieve all VA settings #120 2018-01-06 15:41:23 -06:00
Nabeel Shahzad fbfefa4a3b Include subfleets in rank list 2018-01-06 15:23:35 -06:00
Nabeel Shahzad 082c33ae59 Add /api/flights to retrieve all flights paginated #120 2018-01-06 15:21:21 -06:00
Nabeel Shahzad 2de8d9ed64 Add /api/airlines and /api/airline/{id} #120 2018-01-06 15:13:33 -06:00
Nabeel Shahzad 46a411e27b Cleanup tests to automatically inject proper headers when needed 2018-01-06 12:07:22 -06:00
Nabeel Shahzad 60256ab213 Add route for getting the current hubs 2018-01-05 15:30:35 -06:00
Nabeel Shahzad 927be50d9b A bit more of a rudimentary id generator 2018-01-05 14:56:07 -06:00
Nabeel Shahzad bf493623c7 Change how route is pulled from post and add another validation 2018-01-05 14:46:00 -06:00
Nabeel Shahzad 4ee6830181 Make sure the dpt airport is known before trying to parse the route 2018-01-05 14:33:22 -06:00
Nabeel Shahzad 5719971a13 Remove route parse from prefile 2018-01-05 14:21:45 -06:00
Nabeel Shahzad 2dd5d8cd5b Fix /acars/position route 2018-01-05 13:13:56 -06:00
Nabeel Shahzad 500cbb8e06 Add lookup for aircraft as /fleet/aircraft/{id} #120 2018-01-05 13:00:45 -06:00
Nabeel Shahzad 1ee9041058 Add /api/fleet to get subfleets and all the aircraft #120 2018-01-05 10:45:34 -06:00
Nabeel Shahzad e931310dee Add /api/airports with pagination to return all the airports #120 2018-01-05 10:23:26 -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 0dc1e6e9c4 Remove error status log 2018-01-04 23:16:52 -06:00
Nabeel Shahzad 3273f667dc Updated marked npm package bc of security vulnerability 2018-01-04 23:15:52 -06:00
Nabeel Shahzad 386186459f rounding error in test 2018-01-04 21:59:52 -06:00
Nabeel Shahzad e326eebb77 escape string 2018-01-04 21:55:56 -06:00
Nabeel Shahzad fe7278c3b7 see if var names are replaced 2018-01-04 21:52:55 -06:00
Nabeel Shahzad 0e046bcf48 Add travis webhook for new build 2018-01-04 21:45:45 -06:00
Nabeel Shahzad da19152a1e fix broken add rank 2018-01-04 21:37:46 -06:00
Nabeel Shahzad dd629b2af8 Make sure arr_airport and dep_airport are included in PIREP prefile response #120 2018-01-04 21:21:51 -06:00
Nabeel Shahzad c43eef6be2 Add some extra logging for the airport hub save 2018-01-04 21:07:23 -06:00
Nabeel Shahzad db3c60987e Change tests to use generated user 2018-01-04 21:05:26 -06:00
Nabeel Shahzad 265fb235f2 Deny user API access if they're not ACTIVE #119 2018-01-04 20:50:57 -06:00
Nabeel Shahzad 6db436b908 Fix rounding in the field tests 2018-01-04 20:19:49 -06:00
Nabeel Shahzad 9ad6434b38 Fix test with rounding for lat/lon equivalency 2018-01-04 20:16:29 -06:00
Nabeel Shahzad 591c3e7b8b Change /acars/logs data format; /cancel to DELETE request 2018-01-04 20:08:22 -06:00
Nabeel Shahzad b29a07afd3 Split out the saveRoute() fn so it's only during a manual filing, not ACARS 2018-01-04 19:39:41 -06:00
Nabeel Shahzad b0231ff2a9 Remove RestHelper Facade 2018-01-04 19:34:10 -06:00
Nabeel Shahzad ab89fada83 Added supporting Resources and Helpers 2018-01-04 19:33:47 -06:00
Nabeel Shahzad b62fa7757c Overhaul of ACARS/PIREP APIs 2018-01-04 19:33:23 -06:00
Nabeel Shahzad f4e3964f9d Update marked.js due to security vulnerability 2018-01-04 18:08:37 -06:00
Nabeel Shahzad 4c41a1dded use -exec rm in travis 2018-01-04 15:37:28 -06:00
Nabeel Shahzad ee08398aed move -mindepth options 2018-01-04 15:22:32 -06:00
Nabeel Shahzad 69f242811b move version generation so it doesnt recreate some of the cached files 2018-01-04 15:17:55 -06:00
Nabeel Shahzad 15b5290f73 cleanup session options 2018-01-04 15:12:26 -06:00
Nabeel Shahzad 1a9607dacd fix ignore files 2018-01-04 15:08:32 -06:00
Nabeel Shahzad 5ba20b5bb3 add back accidentally deleted cache dirs 2018-01-04 15:03:09 -06:00
Nabeel Shahzad f3f9e3043d grr not all files/directories cleaning 2018-01-04 14:58:01 -06:00
Nabeel Shahzad 93f36ca530 reverse the make clean to clear out any leftovers 2018-01-04 14:48:06 -06:00
Nabeel Shahzad d15e44d5b6 Explicitly output version number in travis output bc I'm paranoid 2018-01-04 14:02:25 -06:00
Nabeel Shahzad 29fc8c6046 Make sure the env.php file and other dev files are being removed 2018-01-04 13:58:38 -06:00
Nabeel Shahzad 2a270086ad Force a clean in case caches are being included 2018-01-04 13:55:07 -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