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