Commit Graph

367 Commits

Author SHA1 Message Date
Nabeel Shahzad
2fca28993e don't cache for now #36 2017-12-11 22:10:48 -06:00
Nabeel Shahzad
0f18e60fd9 #36 Add authentication for API; generate API key 2017-12-11 22:05:22 -06:00
Nabeel Shahzad
3c41089a8a Force default timezone to UTC; move helpers.php 2017-12-10 08:47:03 -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
fa4be69774 Cache the api calls to vacentral and make the iata field optional 2017-12-07 17:44:05 -06:00
Nabeel Shahzad
ddb8a6f5e9 Airport lookup from vaCentral API; changes to Airports tables 2017-12-07 17:22:15 -06:00
Nabeel Shahzad
49c08ec1f1 set default string length for migrations 2017-12-07 14:06:12 -06:00
Nabeel Shahzad
6c860691d6 Update CacheableRepository interface for PHP 7.2 2017-12-06 22:48:42 -06:00
Nabeel Shahzad
a2bd4ff180 cleanup makefile a bit 2017-12-06 17:31:20 -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
7b88802d7b call the .exe versions if on Windows 2017-12-05 14:59:31 -06:00
Nabeel Shahzad
dc5b8a4569 lock in more package versions 2017-12-04 17:39:45 -06:00
Nabeel Shahzad
9c1a8f8251 Flight search on frontend 2017-12-04 14:21:46 -06:00
Nabeel Shahzad
879d2ba564 #1 work around not working in travis-ci 2017-12-04 12:51:46 -06:00
Nabeel Shahzad
2ec85d08ff #1 workaround right now for improper file path 2017-12-04 12:49:30 -06:00
Nabeel Shahzad
8d4f1efd52 cleaned searching for flights, specific fields in admin 2017-12-04 12:05:31 -06:00
Nabeel Shahzad
e032fd2dbf cleanup searchCriteria generation for flights 2017-12-04 10:59:25 -06:00
Nabeel Shahzad
6bb0a52d81 Pagination on the pireps/flights on the front-end 2017-12-04 10:34:01 -06:00
Nabeel Shahzad
5593d01035 Edit user PIREP 2017-12-03 15:29:34 -06:00
Nabeel Shahzad
d7ed195628 time formatting and tests 2017-12-03 14:34:32 -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
ddcb3c632f Add different PIREP and User events 2017-12-02 10:55:17 -06:00
Nabeel Shahzad
68039f6a5a add missing listener files 2017-12-02 10:26:25 -06:00
Nabeel Shahzad
df2b092d60 sample event listener and scaffolding for a module 2017-12-02 09:19:58 -06:00
Nabeel Shahzad
58a8d2cdbe cleanup aircraft controller 2017-12-02 08:29:53 -06:00
Nabeel Shahzad
ca6c5cbc0a add frontend/admin links dynamically from module service provider 2017-12-01 17:21:48 -06:00
Nabeel Shahzad
6a8e224546 Fix the call to parent 2017-12-01 14:35:59 -06:00
Nabeel Shahzad
786c4be726 type hints on some fields 2017-12-01 11:27:32 -06:00
Nabeel Shahzad
622e099b97 add recent() call to BaseRepository 2017-12-01 11:25:58 -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
4d29389614 point to the correct BaseRepository 2017-11-22 11:55:08 -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
d48a02dd32 add back findWithoutFail 2017-10-31 21:29:40 -04:00
Riccardo Bello
e085c671aa Fix on registration error. 2017-09-30 11:10:56 +02:00
Nabeel Shahzad
feca30c4cb composer update == bad 2017-09-07 15:40:30 -05:00
Nabeel Shahzad
1502e0193f fix tests, finally. i hope. cleanup before laravel 5.5 update 2017-09-07 15:35:17 -05:00
Nabeel Shahzad
c233bc4f36 admin styling updates/fixes 2017-08-24 13:37:54 -05:00
Nabeel Shahzad
4c61e6eafc fix repository base classes 2017-08-24 13:03:10 -05:00
Nabeel Shahzad
aba0ed2065 use hashid vs uuid for pirep fields 2017-08-24 10:51:47 -05:00
Nabeel Shahzad
0d29369e54 #21 file PIREP; populate custom fields and set correct status 2017-08-23 14:19:05 -05:00
Nabeel Shahzad
2c41144c61 look in skin folder for error files 2017-08-23 09:23:48 -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
f739cd0a67 #21 PIREP submit form first pass 2017-08-16 18:18:47 -05:00
Nabeel Shahzad
6b20ea6f16 set days of week using bitwise operators 2017-08-16 08:29:05 -05:00
Nabeel Shahzad
beba08f651 add/set ICAO and logo for airlines 2017-08-16 08:11:39 -05:00
Nabeel Shahzad
c45d0541ef #35 rest api additions for pireps 2017-08-14 23:36:49 -05:00
Nabeel Shahzad
69cb55582c damn you travis. fixed multiple define 2017-08-14 18:41:55 -05:00
Nabeel Shahzad
bc94772ce2 intitial work on rest api 2017-08-14 18:26:20 -05:00
Nabeel Shahzad
82c1d3ff56 fix base class on airport controller 2017-08-13 22:22:14 -05:00
Nabeel Shahzad
5665936b6a I don't know how this file ended up there 2017-08-12 12:35:35 -05:00
Nabeel Shahzad
b817760276 move traits into their own namespace 2017-08-12 12:24:00 -05:00
Kyle
afc3e7643d Corrected Uuid Trait Errors 2017-08-12 16:47:44 +00:00
Kyle
738cd15db4 Code Improvements 2017-08-12 16:47:44 +00:00
Kyle
70dfea96c8 My bad, my editor didn't pull the latest file on User.php 2017-08-12 16:47:44 +00:00
Kyle
5b83ca3e9b Register form and functionally 2017-08-12 16:47:44 +00:00
Nabeel Shahzad
3f61b82b11 this should fix the build and shut travis up 2017-08-10 18:29:02 -05:00
Nabeel Shahzad
f46f87567c some sample users and gravatar lookup 2017-08-10 18:21:24 -05:00
Nabeel Shahzad
bf410c4f99 card style new pilots on homepage 2017-08-10 01:00:08 -05:00
Nabeel Shahzad
eb3fa9b4cb styling cleanup 2017-08-10 00:08:38 -05:00
Nabeel Shahzad
807ac69ae9 #21 list user's pireps 2017-08-08 20:34:36 -05:00
Nabeel Shahzad
6e3f293fcb style and updates to the dashboard 2017-08-04 20:17:04 -05:00
Nabeel Shahzad
021083f58e #21 filing scaffolding 2017-08-04 10:04:00 -05:00
Nabeel Shahzad
9d53c0103f #57 user can save flights 2017-08-03 21:02:02 -05:00
Nabeel Shahzad
1e19f463bd layout updates 2017-08-02 23:07:36 -05:00
Nabeel Shahzad
61cb8a75a7 #57 scaffolding for flight search 2017-08-02 15:29:04 -05:00
Nabeel Shahzad
07ce5e9a1a #57 skeleton for flights page 2017-08-02 15:12:26 -05:00
Nabeel Shahzad
e4e23dd8a6 new dashboard and profile pages with new design 2017-08-02 13:13:08 -05:00
Nabeel Shahzad
1953c4dcb5 add a pirep_comments table 2017-08-02 10:17:54 -05:00
Nabeel Shahzad
3f69c412b3 Move all front-end templates into a skin folder; override some view calls to accomodate 2017-08-01 18:40:05 -05:00
Nabeel Shahzad
3a77e442ea add pirep events model 2017-07-23 13:07:41 -05:00
Nabeel Shahzad
9986f5df33 add airline reference to PIREP 2017-07-23 09:45:33 -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
e7d559ecb3 ignore reset 2017-07-22 17:28:47 -05:00
Nabeel Shahzad
fc6253b46f #21 adjust the pirep view/edit form 2017-07-13 22:09:38 -05:00
Nabeel Shahzad
0de8033c88 #1 some more installer scaffolding 2017-07-13 17:52:08 -05:00
Nabeel Shahzad
e596db592a #1 initial installer scaffolding via artisan 2017-07-13 15:59:38 -05:00
Nabeel Shahzad
c40cd3da53 travis - cleanup database creation/migration for tests 2017-07-13 15:43:56 -05:00
Nabeel Shahzad
9935052726 fuu travis(x2) 2017-07-13 13:59:45 -05:00
Nabeel Shahzad
9b573709e9 Cleanup of database reset and cleanup 2017-07-13 13:45:59 -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
Nabeel Shahzad
4f2f08af62 #48 Model/relationships for custom flight fields 2017-07-10 19:06:06 -05:00
Nabeel Shahzad
b5dd700044 Adjust columns in migrations and give lens to strings and custom flight fields #48 2017-07-10 18:54:51 -05:00
Tim
45793d3b2f Merge branch 'master' into dev 2017-07-08 15:12:20 +02:00
Tim
650341e7c8 Update Airline.php 2017-07-08 15:09:58 +02:00
Nabeel Shahzad
06367d149d Merge branch 'master' into patch-2 2017-07-08 08:04:43 -05:00
Tim
aece7809fa Active checkbox changed to integer 2017-07-08 11:25:09 +02: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
Tim
06f481a262 Fix adding of airport
Fix the adding of airport. It will now save the lat & Long and allow to put decimals in rather than just a rounded number
2017-07-07 23:15:03 +02:00
Tim
acd5da56ce Change flight number to integer 2017-07-07 22:41:02 +02:00
Nabeel Shahzad
e47b4628a0 read in a local.conf.php in the root for overrides 2017-07-05 23:05:17 -05:00
Nabeel Shahzad
10baaab646 #41 inline editing of fuel prices 2017-07-05 18:48:32 -05:00
Nabeel Shahzad
d44d374218 #41 add fuel prices to the airports table 2017-07-05 13:25:40 -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
870eefb83d #21 Some more fixes for PIREPs 2017-07-04 13:57:08 -05:00
Nabeel Shahzad
77b164a64c #21 base code for accepting/rejecting PIREPs 2017-07-04 01:05:37 -05:00
Nabeel Shahzad
fecadcfb41 utils facade 2017-07-03 22:53:49 -05:00
Nabeel Shahzad
9b6f9e9586 #21 basic listings/model configs 2017-07-02 21:25:48 -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
0821258a2d #21 FK wiring 2017-06-29 15:50:16 -05:00
Nabeel Shahzad
fc1220178b #21 PIREP scaffolding 2017-06-28 19:57:22 -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
fe1100e57f #34 remove users from uuid 2017-06-24 13:30:13 -05:00
Nabeel Shahzad
7cde58f6f6 DatabaseService cleanup 2017-06-24 13:23:30 -05:00
Nabeel Shahzad
79942894d1 #34 Generate UUID on seeder/models 2017-06-24 13:20:39 -05:00
Nabeel Shahzad
ba57cef0a7 #34 Generate UUID on seeder/models 2017-06-24 13:20:24 -05:00
Nabeel Shahzad
2aa7cc66d5 #30 #19 change PDO mode and the seeder from yaml to a service for mass importing 2017-06-24 12:59:07 -05:00
Nabeel Shahzad
3736e530bf #32 moved fares to subfleets 2017-06-24 11:09:27 -05:00
Nabeel Shahzad
ca74afacd8 formatting 2017-06-23 17:38:32 -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
PHP-Mods
6bbb37061b reset the example data in config/mail.php 2017-06-22 13:32:36 +03:00
Nabeel Shahzad
5b920151b8 #23 add rankings 2017-06-21 20:18:01 -05:00
PHP-Mods
7e54db4fd4 updated logout to url 2017-06-22 00:24:19 +03:00
Nabeel Shahzad
cb631292b9 #23 refactoring for ranks 2017-06-21 13:44:30 -05:00
Nabeel Shahzad
b5c41626c5 #23 initial scaffolding for rankings 2017-06-21 12:10:25 -05:00
Nabeel Shahzad
381a713882 more schema adjustments to tighten up column types and constraints 2017-06-21 11:40:08 -05:00
Nabeel Shahzad
8dd29476c0 some cleanup of routes 2017-06-21 09:22:59 -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
94d0e15080 redirect to login page on 403 2017-06-20 11:49:44 -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
6ef83084d1 some test changes 2017-06-19 11:30:39 -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
6b3bfe0908 Fix unittests 2017-06-13 19:53:02 -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
3a2ed60274 add pjax support 2017-06-11 18:20:43 -05:00
Nabeel Shahzad
38d8371e0b fixed admin route prefix problem and invalid validations 2017-06-11 15:37:57 -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
c542d85366 include entrust and some seed data for admin role/user 2017-06-10 20:10:31 -05:00
Nabeel Shahzad
64aeb0343b code styling 2017-06-10 18:41:35 -05:00
Nabeel Shahzad
bf910e4549 set fare classes on aircraft w/ overrides (no admin ui yet) 2017-06-10 18:27:19 -05:00
Nabeel Shahzad
bacc372985 fares & aircraft fares 2017-06-10 01:50:00 -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
8831f875ef user info 2017-06-09 14:47:02 -05:00
Nabeel Shahzad
c8284972c2 added some user scaffolding 2017-06-08 20:56:57 -05:00
Nabeel Shahzad
fa6a8d0f22 updated composer for phpvms vs laravel 2017-06-08 20:54:40 -05:00
Nabeel Shahzad
0cb98f1920 rename 'enabled' to 'active' 2017-06-08 20:46:50 -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
Nabeel Shahzad
106d6a6798 laravel base files 2017-06-08 13:28:26 -05:00