Nabeel Shahzad
baccf7e3ad
Fix the flight time not showing closes #199
2018-02-27 13:37:29 -06:00
Nabeel Shahzad
97764866f2
Rename user_bids table to bids
2018-02-27 13:25:32 -06:00
Nabeel Shahzad
c89926399b
Delete a bid by either the bid_id or the flight_id
2018-02-27 13:14:58 -06:00
Nabeel Shahzad
a38b4e063b
Return the flight object with the bid
2018-02-27 13:11:48 -06:00
Nabeel Shahzad
18aa573a16
remove extra libs
2018-02-26 20:30:50 -06:00
Nabeel Shahzad
d61ade4482
move currency to config file; change units to their own group in settings
2018-02-26 20:23:48 -06:00
Nabeel Shahzad
cdd5fc749c
Add the acars and manual payrates in the rank/subfleet forms
2018-02-26 19:14:10 -06:00
Nabeel Shahzad
f6ec647eb6
Add base payrate field for ranks
2018-02-26 17:56:30 -06:00
Nabeel Shahzad
4a73a5a6b3
Add table/models and admin for expenses #136
2018-02-26 15:16:12 -06:00
Nabeel Shahzad
3bbcd2a20d
fix pirep ids in sample; rename navs to flight reports
2018-02-24 16:05:00 -06:00
Nabeel Shahzad
d0b3b27975
Remove the flight_id column from the pireps table
2018-02-24 15:51:04 -06:00
Nabeel Shahzad
7345dd8076
change some of the sample data
2018-02-24 15:47:43 -06:00
Nabeel Shahzad
2e57f84657
Add sample data for pirep fares #125
2018-02-24 15:45:43 -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
910c0e0eab
Convert aircraft active to more detailed status #134
2018-02-23 16:37:10 -06:00
Nabeel Shahzad
709aec83e2
Add multiplier to factory #134
2018-02-23 16:07:53 -06:00
Nabeel Shahzad
db94f5b405
Add a ground_handling_multiplier to the subfleet table #134
2018-02-23 16:00:14 -06:00
Nabeel Shahzad
4142d5d28a
Add ground_handling_cost to airport #134
2018-02-23 15:48:50 -06:00
Nabeel Shahzad
b8b4fe7a8a
Add percentages as part of sample data #125
2018-02-23 15:34:14 -06:00
Nabeel Shahzad
d5aef6fb87
Allow setting percent for fare overrides against base fare #125
2018-02-23 15:12:09 -06:00
Nabeel Shahzad
b2d91ba4c9
Show how pirep was filed in list/edit
2018-02-22 15:29:25 -06:00
Nabeel Shahzad
53b0bbd936
Convert errors into HttpException calls
2018-02-22 15:15:00 -06:00
Nabeel Shahzad
3748ab77d2
Fix aircraft active/inactive states
2018-02-22 14:59:09 -06:00
Nabeel Shahzad
ad5f36f85e
Cleanup frontend user bid add/remove to use the API, script and html cleanup #172
2018-02-22 11:34:57 -06:00
Nabeel Shahzad
6dfab75f08
Add api routes to get/add/remove bids for a user #172
2018-02-22 10:44:15 -06:00
Nabeel Shahzad
487b7480af
Refactor how errors are handled
2018-02-22 10:14:12 -06:00
Nabeel Shahzad
5d2ef3a9d3
Fix wrong Exception being thrown
2018-02-22 09:41:23 -06:00
Nabeel Shahzad
abf47274a1
Cleanup some class names; move acars data into separate seed file
2018-02-22 09:31:07 -06:00
Nabeel Shahzad
3abf38ab93
Return string if not multi-value; add delete_previous flag #194
2018-02-21 21:42:47 -06:00
Nabeel Shahzad
9ed370693d
First pass at csv column parsing for kvp as values #194
2018-02-21 21:38:35 -06:00
Nabeel Shahzad
964ea904a1
Make sure the subfleet type field doesn't have spaces
2018-02-21 20:18:50 -06:00
Nabeel Shahzad
1a54aadc19
Make sure the subfleet name doesn't have spaces
2018-02-21 20:16:49 -06:00
Nabeel Shahzad
7872a6a442
Remove debug stuff in xml converter
2018-02-21 15:25:58 -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
77055991af
Get the correct ordering for flight route on map
2018-02-21 15:15:12 -06:00
Nabeel Shahzad
a18c00ee95
Convert sequelpro xml to yaml for import
2018-02-21 15:02:24 -06:00
Nabeel Shahzad
ea09a18956
Fixed formatting of almost every file
2018-02-20 22:33:09 -06:00
Nabeel Shahzad
c5b6ca53fa
Redirect subfleet create to edit page
2018-02-20 21:55:01 -06:00
Nabeel Shahzad
14d04604cb
Add ranks from the subfleet edit page closes #160
2018-02-20 21:53:50 -06:00
Nabeel Shahzad
bac829b425
Shrink decimal field sizes as they're overly large
2018-02-20 15:57:31 -06:00
Nabeel Shahzad
7185f6cedf
Restrict max number in factory, might be hitting 32 bit limit in tests
2018-02-20 15:41:05 -06:00
Nabeel Shahzad
8386951511
Rename toInt to toNumber
2018-02-20 15:32:49 -06:00
Nabeel Shahzad
b9e88527dd
Unit conversion fixes #193
2018-02-20 14:23:02 -06:00
Nabeel Shahzad
aeacd80bcb
Check aircraft permissions in PIREP update/file
2018-02-20 14:14:20 -06:00
Nabeel Shahzad
653711fa96
Change volume units to be in lbs/kg closes #193
2018-02-20 14:07:33 -06:00
Nabeel Shahzad
4e43223f3a
Refuse pirep prefile is user not allowed to use aircraft #170
2018-02-20 12:59:49 -06:00
Nabeel Shahzad
8393ae2851
Add /flight/:id/route resource, returns all route info that's in the navaid database closes #183
2018-02-20 12:06:52 -06:00
Nabeel Shahzad
fdf18cf533
Remove raw_data field from pireps closes #188
2018-02-20 11:17:34 -06:00
Nabeel Shahzad
5ee8c1e779
level not required in prefile; distance required in file
2018-02-20 11:12:50 -06:00
Nabeel Shahzad
ad4259625c
Add flight time to flight create/edit form
2018-02-19 13:33:26 -06:00
Nabeel Shahzad
3d55fc09f7
Add options field on setting data import
2018-02-19 11:19:18 -06:00
Nabeel Shahzad
3d9d17d9b9
Add call to get user's PIREPs #192
2018-02-19 10:35:49 -06:00
Nabeel Shahzad
5c58dfe1ae
generate a hex code for an aircraft on creation #33
2018-02-12 20:58:23 -06:00
Nabeel Shahzad
2678514077
API: Only show active airlines
2018-02-12 12:05:10 -06:00
Nabeel Shahzad
ee71f4a1c8
Remove tail_number field from aircraft
2018-02-12 11:03:25 -06:00
Nabeel Shahzad
62506a26a1
set country on the airline, in admin and installer #191
2018-02-12 10:51:04 -06:00
Nabeel Shahzad
61dc0a046d
Fix rank image field
2018-02-12 10:26:27 -06:00
Nabeel Shahzad
c817d1ae4b
Installer fixes
2018-02-12 09:47:12 -06:00
Nabeel Shahzad
2f8a69b774
Undo casting time types to Time object #189
2018-02-11 20:50:48 -06:00
Nabeel Shahzad
61af5fe226
Cleanup column types and assign Time class to fields #189
2018-02-11 20:38:56 -06:00
Nabeel Shahzad
fd4407a798
Move internal unit definitions to config file #189
2018-02-11 20:19:02 -06:00
Nabeel Shahzad
4eef254688
set nautical miles as the default mass unit #189
2018-02-11 19:58:07 -06:00
Nabeel Shahzad
d5c2d25c74
finally fixed serialization of conversions #189
2018-02-10 22:49:08 -06:00
Nabeel Shahzad
0700c96901
fix serialization of converter classes #189
2018-02-10 22:30:42 -06:00
Nabeel Shahzad
9b9a20b437
set default storage unit #189
2018-02-10 22:18:07 -06:00
Nabeel Shahzad
f14a9e3ba1
implements ArrayAccess for casting to type #189
2018-02-10 22:04:30 -06:00
Nabeel Shahzad
cb02a7c15e
add Time support class #189
2018-02-10 21:36:13 -06:00
Nabeel Shahzad
a8e06c6cc6
base conversion classes for units #189
2018-02-10 21:16:32 -06:00
Nabeel Shahzad
3aa01aaa18
tests check the data object in return #186
2018-02-10 18:17:38 -06:00
Nabeel Shahzad
04d44d9bd7
Add SKIN_NAME to error message pages #187
2018-02-10 17:58:11 -06:00
Nabeel Shahzad
762544ea6f
don't change rank if it's not auto promoted #168
2018-02-10 17:53:25 -06:00
Nabeel Shahzad
2a289e0468
pirep route wrap the data object #186
2018-02-10 17:48:51 -06:00
Nabeel Shahzad
21e13b6b92
make sure resources return the data object #186
2018-02-10 17:34:46 -06:00
Nabeel Shahzad
5a89b4f194
write the route if it hasn't been set by acars #184
2018-02-10 16:10:19 -06:00
Nabeel Shahzad
7a6b228d8f
make planned_distance optional #185
2018-02-10 16:02:15 -06:00
Nabeel Shahzad
fbd73b0717
make planned_distance optional #185
2018-02-10 16:00:43 -06:00
Nabeel Shahzad
7a527f2ed3
Set access modifier on all enums (php 7.1)
2018-02-10 14:06:25 -06:00
Nabeel Shahzad
e6290c3396
set pirep source to acars #177
2018-02-10 13:41:24 -06:00
Nabeel Shahzad
8acb9291fe
hide all cancelled pireps #180
2018-02-10 13:25:40 -06:00
Nabeel Shahzad
3ded06390c
ignore cancelled pireps in dupe check #179
2018-02-10 13:12:12 -06:00
Nabeel Shahzad
936bceba5d
Add --reset-db flag to phpvms:dev-install command #176
2018-02-09 17:16:52 -06:00
Nabeel Shahzad
d94294e3f6
Added new phpvms:dev-install command #176
2018-02-09 17:11:55 -06:00
Nabeel Shahzad
80cd80a5cf
Change the filtering to operate without being in the service layer #174
2018-02-09 15:42:37 -06:00
Nabeel Shahzad
17f1085ffb
Filter out flights depending on the only_flights_from_current setting #174
2018-02-09 15:36:13 -06:00
Nabeel Shahzad
9b55a9691f
Setting which filters out aircraft not at the departure airport #171
2018-02-09 15:07:34 -06:00
Nabeel Shahzad
13b4a3854b
move filterSubfleets() to FlightService class #170
2018-02-09 14:36:36 -06:00
Nabeel Shahzad
f6b2102e48
fix bug where aircraft restrictions aren't respected in flight calls #170
2018-02-09 14:26:14 -06:00
Nabeel Shahzad
71189e4f2d
Change most APIs to require API key #173
2018-02-09 13:20:35 -06:00
Nabeel Shahzad
041cef91de
Refactor how settings are added to generate the offsets and order
2018-02-09 12:57:00 -06:00
Nabeel Shahzad
b5dbde84c4
Fix rank image link field to be string
2018-02-06 14:09:20 -06:00
Nabeel Shahzad
e69d9f4c38
Add pirep fields to the API response; add tests for setting/getting them
2018-02-06 13:59:40 -06:00
Nabeel Shahzad
de0c71cb06
Set fields to pireps in prefile/update calls
2018-02-06 13:46:23 -06:00
Nabeel Shahzad
cf286986e2
change variable name
2018-02-06 13:13:00 -06:00
Nabeel Shahzad
7d8dc2a4d4
Cleanup factories and seed data for airport timezone column change
2018-02-06 13:11:42 -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
ac0058e951
Some more attribute cleanup
2018-02-06 12:01:55 -06:00
Nabeel Shahzad
56bf277fe0
Add shorthands for timezone to tz
2018-02-06 11:02:40 -06:00
Nabeel Shahzad
1cc999a4f9
Change Airport tz field to timezone
2018-02-06 10:59:31 -06:00
Nabeel Shahzad
c6b1a475e9
Add timezone aliases
2018-02-06 10:33:39 -06:00
Nabeel Shahzad
8d76e16220
Add the validation error fields in the templates
2018-02-06 10:18:22 -06:00
Nabeel Shahzad
995d53df3e
Set slug properly on pirep field and fix validation
2018-02-06 10:02:34 -06:00
Nabeel Shahzad
87b5ad390f
Make sure all the Flight fields are included
2018-02-04 12:39:51 -06:00
Nabeel Shahzad
a4947fca79
Cleanup error handler; re-add the validation error messages
2018-02-04 11:53:02 -06:00
Nabeel Shahzad
b4908f482e
Add a reference to the skin name in the templates to make it easier to create and modify skins
2018-02-03 18:18:09 -06:00
Nabeel Shahzad
512d8a2172
Read the version base from the install for the deployment
2018-02-03 13:16:37 -06:00
Nabeel Shahzad
533e5a8973
Cleanup l5-repository deps and update to latest
2018-02-01 16:46:37 -06:00
Nabeel Shahzad
83d17ab2dd
Shrink landing rate field size
2018-01-30 12:40:04 -06:00
Nabeel Shahzad
f8cac4643e
Add country list to user page
2018-01-30 12:39:24 -06:00
Nabeel Shahzad
1e33c4c9ae
Add country flag in admin user list
2018-01-30 12:37:51 -06:00
Nabeel Shahzad
cda541dad3
cleanup code
2018-01-30 12:34:46 -06:00
Nabeel Shahzad
00382c6a04
fix transfer time field #129
2018-01-30 12:34:35 -06:00
Nabeel Shahzad
ad90d1bccf
add transfer time fields in user table #129
2018-01-30 12:31:59 -06:00
Nabeel Shahzad
ec5478a766
Add /pireps/id/acars/events endpoint
2018-01-30 12:06:46 -06:00
Nabeel Shahzad
c8ac739820
Add a /api/pirep/{id}/update call
2018-01-30 11:36:22 -06:00
Nabeel Shahzad
9a426f79f9
Add fuel_used column to PIREPs table
2018-01-30 11:27:39 -06:00
Nabeel Shahzad
7300cdddf4
fuel cost field type adjustment
2018-01-30 11:25:06 -06:00
Nabeel Shahzad
af4c9cd973
Cleanup some PIREP fields
2018-01-30 11:15:07 -06:00
Nabeel Shahzad
0fbd8e5d68
Fix distance field types
2018-01-30 11:09:59 -06:00
Nabeel Shahzad
29c0f3cdaf
Add zfw and block_fuel to factory
2018-01-30 11:07:48 -06:00
Nabeel Shahzad
4f59e466a2
Change fuel_used to block_fuel
2018-01-30 11:05:14 -06:00
Nabeel Shahzad
6498ba1d16
add zfw field to aircraft
2018-01-30 10:04:50 -06:00
Nabeel Shahzad
351f777488
Set flight type in admin
2018-01-29 20:51:00 -06:00
Nabeel Shahzad
906a8ef5fe
Fix tests and extend the source_name field
2018-01-29 20:30:29 -06:00
Nabeel Shahzad
a5f51f6264
Add first pass of pirep import; additional fields in flight/pirep tables #114
2018-01-29 18:14:55 -06:00
Nabeel Shahzad
5c164e2cf6
Add distance to PIREP factory
2018-01-29 16:29:51 -06:00
Nabeel Shahzad
2b2aaefe2c
Cast distance fields
2018-01-29 16:29:02 -06:00
Nabeel Shahzad
c55b55726e
Add distance and planned_distance to PIREP api
2018-01-29 16:27:55 -06:00
Nabeel Shahzad
23dbbc788f
Create database with utf8 info
2018-01-29 16:02:15 -06:00
Nabeel Shahzad
cc40b7580a
Shorten log length in tests #156
2018-01-29 15:09:29 -06:00
Nabeel Shahzad
9f92f45293
Remove dead code #156
2018-01-29 13:19:03 -06:00
Nabeel Shahzad
f660af5c3b
Add config.php at root; include configuration overhaul and then fixes to the installer #156
2018-01-29 13:16:39 -06:00
Nabeel Shahzad
b1759d9276
read a config.php file from root #156
2018-01-28 21:05:02 -06:00
Servetas George
78724e981c
Awards Administration
2018-01-28 21:19:35 +02:00
Nabeel Shahzad
e57f0cb234
Add /acars/event as alias to /acars/log, and accept event as log line
2018-01-28 12:02:41 -06:00
Nabeel Shahzad
653ff2a104
Major refactoring and cleanup of ACARS/Pirep API
2018-01-28 11:12:13 -06:00
Nabeel Shahzad
77d0d2bcd0
Add comments to the PIREP endpoint
2018-01-24 16:22:49 -06:00
Nabeel Shahzad
8caabb9153
Write http errors for API to log
2018-01-24 14:14:47 -06:00
Nabeel Shahzad
9dc963ad29
some better logging
2018-01-24 13:38:06 -06:00
Nabeel Shahzad
cd61c999e7
Cleanup default value field migrations; flight fields
2018-01-23 21:58:13 -06:00
Nabeel Shahzad
9964eb63fb
Add pirep comments and subfleets fares #118
2018-01-23 21:40:34 -06:00
Nabeel Shahzad
f9efa81bb4
Refactoring of PIREP submission and field code #146
2018-01-23 15:48:30 -06:00
Nabeel Shahzad
341424ad7e
Fix flight edit and active/inactive flags #150
2018-01-23 13:23:32 -06:00
Nabeel Shahzad
edb72e462f
Add stricter validation around ACARS/PIREP API updates #149
2018-01-23 11:46:26 -06:00
Nabeel Shahzad
3c78b5f1e2
Simplify list to associative array conversion #148
2018-01-21 13:59:51 -05:00
Nabeel Shahzad
33cbceaa92
Add some more truth states to test
2018-01-21 13:52:55 -05:00
Nabeel Shahzad
f09b3b888a
Cast the required field properly and add helper #146
2018-01-21 13:43:32 -05: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
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
3a02a77eba
Add pilots list page; fix gravatar display and pilot profile #82
2018-01-19 17:07:31 -05:00
Nabeel Shahzad
f58b01f3ea
fix ACARS replay
2018-01-19 16:12:08 -05:00
Nabeel Shahzad
36c904d98d
safer casting for boolean values
2018-01-19 16:02:49 -05:00
Nabeel Shahzad
7c70bb0971
add setting to disable user aircraft rank restriction #138
2018-01-19 12:46:30 -05:00
Nabeel Shahzad
333f866232
include build date in version number #141
2018-01-19 12:08:43 -05:00
Nabeel Shahzad
6e12c00725
add mysql/db version to posted analytics
2018-01-18 22:59:09 -05:00
Nabeel Shahzad
7e09cf6c28
Add enums for the custom analytics fields
2018-01-18 22:32:50 -05:00
Nabeel Shahzad
e3bce1cd69
Track hours on aircraft #73
2018-01-11 22:00:39 -06:00
Nabeel Shahzad
fe4f39a5dc
Cleanup Controller inheritance
2018-01-11 21:35:03 -06:00
Nabeel Shahzad
4fb8a1aaf9
Add helper for the skin view
2018-01-11 21:21:33 -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
4f4137abf2
force no wrapping on the user fleet list #35
2018-01-10 19:00:38 -06:00
Nabeel Shahzad
bf4e164e0d
Add calls and API to get user's fleet, determined by rank #35
2018-01-10 18:40:01 -06:00
Nabeel Shahzad
8aacd844b3
Merge branch 'master' of github.com:nabeelio/phpvms
2018-01-10 16:27:04 -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
dce9723979
Set airport and landing time of aircraft after pirep accept #112
2018-01-10 12:39:13 -06:00
Nabeel Shahzad
7e71b46e02
Enable ATTR_EMULATE_PREPARES for MariaDB specifically #132
2018-01-09 23:05:52 -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
78912f2f31
Allow user to set country
2018-01-09 19:08:16 -06:00
Nabeel Shahzad
44550330b4
Expand the subfleets type column
2018-01-09 16:40:00 -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
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
bb59dc1ef9
Convert recent pilots/pireps to widgets #127
2018-01-08 19:53:55 -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
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
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
94c0eb8502
Create wrapper around versioning library to update on builds
2018-01-06 17:00:47 -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
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
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
0bb4ca78f5
Fix links on admin dashboard
2018-01-04 08:14:39 -06:00
Nabeel Shahzad
64734af419
Fix broken test/Airport model in boot
2018-01-03 22:28:17 -06:00
Nabeel Shahzad
676a310432
Add relationship to pull ACARS log messages
2018-01-03 22:19:06 -06:00
Nabeel Shahzad
8810f03c29
Add separate ACARS route to post log messages to the ACARS table
2018-01-03 22:16:18 -06:00
Nabeel Shahzad
81650f5c34
Added AcarsType::LOG
2018-01-03 22:10:56 -06:00
Nabeel Shahzad
fe4e200983
Trim ICAO/IATA names, clean up model fields
2018-01-03 22:04:51 -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
da1b3b16ee
Add various units to settings
2018-01-03 21:35:03 -06:00
Nabeel Shahzad
61ea069481
Change setting name for pilot flight restriction; some cosmetics
2018-01-03 20:56:46 -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
f58f4fdc39
Fix the mapping logic in the importer; do some more cleanup there
2018-01-03 18:36:08 -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
fce6c987fd
Add some stats info for airlines and the stats table #108
2018-01-03 12:58:38 -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
4a5c11fc34
Add a DELETED state for PIREPs
2018-01-03 10:30:12 -06:00
Nabeel Shahzad
6f9e4d725b
Add a PIREP cancel route via API #109
2018-01-03 10:25:55 -06:00
Nabeel Shahzad
162057f940
Filter out cancelled PIREPs
2018-01-03 09:54:32 -06:00
Nabeel Shahzad
8744a8b17b
Add a CANCELLED state for PIREPs
2018-01-03 09:49:32 -06:00
Nabeel Shahzad
2bcfe76289
Add user email unique to CreateUserRequest only
2018-01-02 23:20:36 -06:00
web541
e3bd4fb169
Remove unique email entry
2018-01-03 16:15:48 +11:00
Nabeel Shahzad
497229039e
Assign the first airline found to the newly created subfleet #114
2018-01-02 21:16:35 -06:00
Nabeel Shahzad
a6ddecf159
Basic import logic and scaffolding #114
2018-01-02 21:00:46 -06:00
Nabeel Shahzad
da9d47513f
Add sessions table for if DB is the session driver
2018-01-02 19:47:56 -06:00
Nabeel Shahzad
da4093b75f
add sessions table migration for DB session driver
2018-01-02 18:23:21 -06:00
Nabeel Shahzad
6d2f705b40
fix api auth problem
2018-01-02 14:37:52 -06:00
Nabeel Shahzad
7700bd6683
Add tests for the duplicate PIREP via prefile/API
2018-01-02 14:31:00 -06:00
Nabeel Shahzad
9c319e73f9
Check whether a duplicate PIREP has been submitted
2018-01-02 13:17:22 -06:00
Nabeel Shahzad
b0907504b6
Updates to settings code for creating the ID and setting the order
2018-01-02 11:42:26 -06:00
Nabeel Shahzad
93786835af
get the generated IDs from the middle of the sha1 hash
2018-01-02 11:23:38 -06:00
Nabeel Shahzad
080e8842ac
generate nav point name
2018-01-02 11:19:11 -06:00
Nabeel Shahzad
003fafa670
use generated user in tests
2018-01-02 11:12:53 -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
37cdde845d
Add order column to ACARS table for the order of the route points
2018-01-02 09:40:42 -06:00
Nabeel Shahzad
9150694051
Wrong Collection class import
2018-01-01 19:04:27 -06:00
Nabeel Shahzad
78af2fd637
cleanup of geojson and route map code
2018-01-01 19:02:22 -06:00
Nabeel Shahzad
dd400806ee
Refer to URL via resource()
2018-01-01 16:26:02 -06:00
Nabeel Shahzad
5cf0bbaa65
Clean up the GeoJSON generation code
2018-01-01 16:01:01 -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
fc52bdf166
Restrict relationship to FLIGHT_PATH #102
2018-01-01 10:38:45 -06:00
Nabeel Shahzad
078e26df57
Add AcarsType column and enum; save flight updates as FLIGHT_PATH #102
2018-01-01 10:30:31 -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
820f5dbbd6
trap errors in mailer
2017-12-31 23:26:10 -06:00
Nabeel Shahzad
2f56baf7ff
check if there's a mail host active before trying to send
2017-12-31 23:15:12 -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
e8108597c4
remove log message
2017-12-31 12:56:17 -06:00
Nabeel Shahzad
24ca00a325
formatting
2017-12-31 12:55:29 -06:00
Nabeel Shahzad
2458c67880
increase the api key length
2017-12-31 12:53:37 -06:00
Nabeel Shahzad
2c53f091b9
installer fixes; user's name
2017-12-31 12:09:23 -06:00
Nabeel Shahzad
e73440d081
format settings key
2017-12-31 11:19:18 -06:00
Nabeel Shahzad
948338d2b6
Change setting table ID to string, handle the converison of . to _
2017-12-31 11:09:56 -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
d943d9bbff
Force flight number to be unique
2017-12-30 20:31:18 -06:00
Nabeel Shahzad
2323330444
Add a setting for the admin email and set an initial value after the install
2017-12-30 20:27:12 -06:00
Nabeel Shahzad
7180bfb111
cleanup validation rules
2017-12-30 14:37:10 -06:00
Nabeel Shahzad
2ddc613c81
add acars table to uuid table list
2017-12-30 14:13:47 -06:00
Nabeel Shahzad
c4cbffd9ea
Fix API key substr
2017-12-30 13:41:34 -06:00
Nabeel Shahzad
5e5a9e10de
add status/state to user API response
2017-12-30 13:39:23 -06:00
Nabeel Shahzad
5e32bcc52d
Change header from Authorization to X-API-KEY to avoid Apache issues
2017-12-30 13:31:11 -06:00
Nabeel Shahzad
caac722a72
update check for api key
2017-12-30 13:02:22 -06:00
Nabeel Shahzad
87867746aa
cleanup creation templates
2017-12-30 12:53:16 -06:00
Nabeel Shahzad
af09f5f977
limit api key to 12 chars
2017-12-30 12:50:18 -06:00
Nabeel Shahzad
c4573b02a8
Fix auth header check
2017-12-30 12:40:36 -06:00
Nabeel Shahzad
3bbc32e235
allow the API key to be settable
2017-12-30 12:15:26 -06:00
Nabeel Shahzad
aba90ea2d9
add some more details on api key error
2017-12-30 11:58:34 -06:00
Nabeel Shahzad
2bfaa9e584
quick api test command
2017-12-30 11:56:38 -06:00
Nabeel Shahzad
4a1d7c59fb
added settings page in admin #93
2017-12-30 10:38:18 -06:00
Nabeel Shahzad
fcec39fe0f
output cleanup
2017-12-30 09:35:38 -06:00
Nabeel Shahzad
9ec1273141
ModelNotFound exception handled #92
2017-12-30 09:09:22 -06:00
Nabeel Shahzad
2ee655b9d1
show error messages in json for API calls #92
2017-12-30 09:03:45 -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
7cd4bf5ffb
Add user setup to installer
2017-12-29 16:56:46 -06:00
Nabeel Shahzad
7ab810780f
change command name
2017-12-29 10:30:12 -06:00
Nabeel Shahzad
5ec99167e8
Cleanup of some console commands
2017-12-29 10:23:42 -06:00
Nabeel Shahzad
a5c5518a12
Add middleware to set Content-type to application/json on all API requests
2017-12-28 22:50:07 -06:00
Nabeel Shahzad
d04c11f660
Add api/status call with vms and php versions
2017-12-28 22:49:47 -06:00
Nabeel Shahzad
77d89a2192
remove superfluous packages
2017-12-28 18:00:35 -06:00
Nabeel Shahzad
e65edc5709
Fix error if there are no points in the ACARS route
2017-12-28 16:09:49 -06:00
Nabeel Shahzad
e2ab6445d2
flight follow if one is selected in map; don't draw full map
2017-12-28 16:00:43 -06:00
Nabeel Shahzad
5a6bc1a7ba
draw route when you click on a flight
2017-12-28 14:59:42 -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
10985a7d97
Cleanup some of the geojson code
2017-12-27 20:52:37 -06:00
Nabeel Shahzad
edca0644ff
Add acars map page and show in-progress flights
2017-12-27 16:47:22 -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
81d349d78d
show all flights in admin/active by default
2017-12-26 14:14:04 -06:00
Nabeel Shahzad
70f1a6ee02
sort airports in drop down
2017-12-26 14:07:41 -06:00
Nabeel Shahzad
6fd3fbe6cd
sort airport list in admin
2017-12-26 14:05:43 -06:00
Nabeel Shahzad
0defa86f51
Add KBWI/KIAH to dev seeder airports
2017-12-26 14:04:37 -06:00
Nabeel Shahzad
32f96a1a42
send ACARS updates on replay
2017-12-25 19:23:58 -06:00
Nabeel Shahzad
9916444ca2
change field to in acars table
2017-12-25 18:22:46 -06:00
Nabeel Shahzad
f29a9cfdc5
some acars/tables fixes
2017-12-25 18:10:24 -06:00
Nabeel Shahzad
3bd97b4d37
add PIREP pre-file and ACARS updates; removing caching from ACARS/Pirep/User repositories; adjust PirepState enum values; add additional columns
2017-12-25 15:19:34 -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
0bb2dabb8c
update profile/change password and profile cosmetic changes
2017-12-24 12:12:26 -06:00
Nabeel Shahzad
38b225f37e
styles updates
2017-12-24 12:10:51 -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
c42b920903
fix time output bug
2017-12-23 11:17:16 -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
b382ad77eb
Pilot changed event fixed for new airport
2017-12-22 16:55:47 -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
7103278bb8
Woops, re-add user state check
2017-12-22 13:54:25 -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
74316218bc
Add some event listeners and experiment with browser testing
2017-12-22 12:00:57 -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
8d1281d6e3
Fix Navdata import
2017-12-20 19:12:11 -06:00
Nabeel Shahzad
17093e9fe9
Import navigation data from Navigraph files
2017-12-20 16:34:52 -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
0375bb420f
Major refactoring for PIREP statuses and states to accomodate ACARS/route data
2017-12-19 20:19:36 -06:00
Nabeel Shahzad
f2131093c4
Simple PIREP overview page (map not working atm)
2017-12-19 15:19:06 -06:00
Nabeel Shahzad
45d12c82ba
Fix in drop db sql
2017-12-17 17:01:05 -06:00
Nabeel Shahzad
ddd92c8b37
Changes for shared hosting and numerous installer fixes
2017-12-17 16:58:53 -06:00
Nabeel Shahzad
0fdafdec0f
Fix drop database command
2017-12-17 12:44:23 -06:00
Nabeel Shahzad
b2475720f2
Add command class
2017-12-16 22:19:17 -06:00
Nabeel Shahzad
7d414ce017
Replace the Application loader to facilitate moving the public/ dir to the root
2017-12-16 22:02:45 -06:00
Nabeel Shahzad
ff2ec20e37
remove the project files
2017-12-16 12:12:26 -06:00
Nabeel Shahzad
5bc8dab6f8
Add check to see that we're installed, and remove the .env that's created
2017-12-16 12:01:21 -06:00
Nabeel Shahzad
5bedbba2a7
use laratrust to replace entrust #78
2017-12-15 12:36:13 -06:00
Nabeel Shahzad
88e9acf9d9
rename migration to make room for moving the roles tables
2017-12-15 11:43:49 -06:00
Nabeel Shahzad
b97b47cd8c
Add some error state pages and installer fixes
2017-12-15 11:22:46 -06:00
Nabeel Shahzad
aed09c2bf5
Add explicit pilot states
2017-12-14 23:51:57 -06:00
Nabeel Shahzad
4fb66b5118
Fix sqlite3 path on windows
2017-12-14 22:34:16 -06:00
Nabeel Shahzad
9d2ee0e7df
More installer fixes, creation and seeding works
2017-12-14 21:59:54 -06:00
Nabeel Shahzad
a7318b851b
Set some defaults for the cache and queue drivers in the installer
2017-12-14 17:12:42 -06:00
Nabeel Shahzad
277a5f2d33
Rewrite installer without 3rd party installer lib.
2017-12-14 16:38:29 -06:00
Nabeel Shahzad
e5793ec38c
fix method call for time to string
2017-12-14 11:50:47 -06:00
Nabeel Shahzad
aa57ab515f
Reorganized folders to try to clean up the root folder a bit
2017-12-14 10:38:10 -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
da5523e972
test for multiple bids on same flight with block setting enabled
2017-12-12 17:26:27 -06:00
Nabeel Shahzad
5428f4387a
Cleanup settings() call and log messages
2017-12-12 17:09:26 -06:00
Nabeel Shahzad
248a8d1488
Add more API resources; user bid management and tests #35 #36
2017-12-12 16:58:27 -06:00
Nabeel Shahzad
5b25a464ba
Rename the PilotService to UserService
2017-12-12 14:48:03 -06:00
Nabeel Shahzad
a5cf130176
add a has_bid column to the flights table
2017-12-12 13:59:05 -06:00
Nabeel Shahzad
d634778ed2
Cleaning up database fields, fix types and columns
2017-12-12 13:26:08 -06:00
Nabeel Shahzad
e05976a982
Add additional settings; Use pilot id length from setting
2017-12-12 12:43:58 -06:00
Nabeel Shahzad
de582f617c
Rename UserFlight to UserBid to match functionality
2017-12-12 11:49:35 -06:00
Nabeel Shahzad
373f45c86c
Convert flight transformer to the native Laravel resource object
2017-12-12 07:25:11 -06:00
Nabeel Shahzad
8854c28d64
fix api namespace name #36
2017-12-11 22:15:31 -06:00
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