Nabeel Shahzad
1f50d2b7f7
check for empty route
2018-08-04 11:47:56 -05:00
Nabeel Shahzad
0ce86e9e44
Rewrite add/remove bids code w additional tests
2018-07-24 14:50:50 -05:00
Nabeel Shahzad
0af85a3fff
Only show flights if they're also marked as visible
2018-07-12 22:29:50 -05:00
Nabeel Shahzad
4ca58ed754
Extra logging for cron and add flight visible field
2018-07-12 22:23:45 -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
81ecb5673f
Merge branch 'dev' of https://github.com/nabeelio/phpvms into dev
2018-07-05 14:07:56 -05:00
Nabeel Shahzad
7c414e5419
(API) Delete the PIREP route before it's posted again
2018-07-05 14:07:54 -05:00
Nabeel Shahzad
a083f9c671
Fix PIREP submission and field slug problems on PIREP edit
2018-05-30 14:00:20 -05:00
Nabeel Shahzad
d76b264238
Fix saving PIREPs as draft
2018-05-29 11:04:28 -05:00
Nabeel Shahzad
59b99497a7
Route sorting
2018-05-28 18:15:51 -05:00
Nabeel Shahzad
17cece598b
Fix typos and missing lang
2018-05-21 12:05:22 -05:00
lordwilbur
ba8a819c7d
- fixed an error on finance in admin panel
...
- flight ident now use this format: VA IATA(if empty ICAO) + Flight Number + - + Flight Code (without C) + - + Flight Leg (without L)
- added function __trans_choice in helpers.php for translation
- fixed error in flight edit/insert panel not showing/inserting Tuesday in days
- fixed an error occurring when metar retrieved is empty
- edited now-ui-kit.css to align login fields correctly
- added /public/assets/frontend/js/core/jquery-3.3.1.min.js to fix a missed resource error in authentication pages
- added translations file for en and it locales
- translated all the frontend templates
2018-05-21 09:53:08 -05:00
lordwilbur
1c0c7e0012
removed $flights variable
2018-05-19 09:05:24 +02:00
lordwilbur
e026a8d333
corrected code and replicated in Api/FlightController.php
2018-05-19 02:37:11 +02:00
lordwilbur
650d9884b0
removed tabs
...
added setting
corrected code
2018-05-19 02:03:06 +02:00
lordwilbur
993513c22b
flights filtered per va
2018-05-19 00:28:34 +02:00
Nabeel Shahzad
3e96b195a6
Add short timeout to HTTP calls by default; cache METAR lookups
2018-05-14 11:22:20 -05:00
Nabeel Shahzad
c8a9ebd26d
Data cleanup; set flight ident in response
2018-05-13 16:59:35 -05:00
Nabeel Shahzad
3f1bb26ee5
Fix PIREPs not showing in admin
2018-05-11 13:43:33 -05:00
Nabeel Shahzad
bc7fccfb95
Cleanup the cancelled PIREP logic
2018-05-11 12:08:55 -05:00
Nabeel Shahzad
605bf477ad
More date casting on API
2018-05-10 15:28:42 -05:00
Nabeel Shahzad
df88cb141a
Allow draft for PIREPs, separate out the save/submit and delete functionality
2018-05-10 10:35:10 -05:00
Nabeel Shahzad
42c6a11780
Don't show in progress PIREPs in admin and order the map data
2018-05-09 17:58:51 -05:00
Nabeel Shahzad
4fa024045d
refactorings of pirep/acars api calls; separate field calls
2018-05-09 12:45:24 -05:00
Nabeel Shahzad
bd7bd7e802
Cleanup of sample data and date/time parsing
2018-05-08 20:59:19 -05:00
Nabeel Shahzad
0cd7b3b71f
live map updates
2018-05-04 13:59:47 -05:00
Nabeel Shahzad
23f1a8225a
update livemap to use rivets.js bindings for data updates
2018-05-03 15:07:16 -05:00
José Bustos
d768b9cc0e
Avatar field on database
...
corrected the path to user avatar based on get avatar attribute on user model
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
b1209712d1
Added isset verification on avatar index at array, to put nullable validator.
2018-05-02 18:59:57 -05:00
Jose Miguel Bustos Espinoza
31d0683592
Added avatar upload method into resource controller
2018-05-02 18:59:57 -05:00
Nabeel Shahzad
5dff563c75
Fixes for API and live map
2018-05-02 15:14:18 -05:00
Nabeel Shahzad
3a81e2ec27
Fix block_off/on_time and fix the metar date parsing
2018-05-01 22:52:31 -05:00
Nabeel Shahzad
b96f1cd7c4
api fixes/updates
2018-05-01 20:58:05 -05:00
Nabeel Shahzad
73ffc9cf44
Fix flight type parameter
2018-04-30 17:29:50 -05:00
Nabeel Shahzad
5cd9c608a7
Add score to model and fields
2018-04-25 11:56:05 -05:00
Nabeel Shahzad
531e86f5e7
Fix flight duplicate detection in add/edit/import; fix active checkbox
2018-04-25 11:53:32 -05:00
Nabeel Shahzad
2c2b569c6c
Fix setting the subfleet pay
2018-04-23 10:36:11 -05:00
Nabeel Shahzad
0965465601
add whereNotInOrder() to repository
2018-04-16 16:33:41 -05:00
Nabeel Shahzad
775900bb14
Filter out draft PIREPs
2018-04-15 12:37:04 -05:00
Nabeel Shahzad
395642f69c
Add /api/news route
2018-04-11 20:01:41 -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
c102a0d858
Refactor all of the unit conversion code
2018-04-07 20:52:12 -05:00
Nabeel Shahzad
e27f6f1b14
Add addtl fields to pirep - block_off and block_on times, calculate block_off time if not there
2018-04-04 13:03:10 -05:00
Nabeel Shahzad
9ff3c1ab10
remove single entry for pagination testing
2018-04-03 22:45:45 -05:00
Nabeel Shahzad
6fb66a1d80
Fixing some styling on the frontend
2018-04-03 19:21:42 -05:00
Nabeel Shahzad
99555539a7
Fix timezone/country not being saved on register #223
2018-04-03 09:43:32 -05:00
Nabeel Shahzad
3dba586f83
Add downloads page
2018-04-02 18:37:41 -05:00
Nabeel Shahzad
36a7886668
Add laravel-medialibrary for avatars
2018-04-02 17:49:04 -05:00
Nabeel Shahzad
0f98e729ce
Save file asset
2018-04-02 17:34:58 -05:00
Nabeel Shahzad
ccfa904300
change file controller name
2018-04-02 13:42:24 -05:00
Nabeel Shahzad
9e1e0142e9
Route downloads through controller; file IDs as hash to prevent guessing; download count; download list on airport page
2018-04-02 12:55:37 -05:00
Nabeel Shahzad
3ddee56359
Add description field for files
2018-04-02 11:46:33 -05:00
Nabeel Shahzad
026a83591d
Fixes to file uploading; include disk name, remove clunky redirect code
2018-04-02 11:04:32 -05:00
Nabeel Shahzad
bb73af3806
Add weather to the dashboard for the current airport
2018-04-02 06:47:05 -05:00
Nabeel Shahzad
eb06c07fdb
Update PIREP statuses
2018-04-01 20:37:10 -05:00
Nabeel Shahzad
0f521c3af9
Change PIREP states to follow AIDX guidelines
2018-04-01 20:18:12 -05:00
Nabeel Shahzad
e358b8706f
Backend for file uploads attached to any generic model, initially on aircraft and airports #226
2018-04-01 18:02:12 -05:00
Nabeel Shahzad
793b3e7134
change ref_class to ref_model
2018-04-01 14:32:01 -05:00
Nabeel Shahzad
2c726f6c52
Fix error with days input missing from flight create/edit
2018-03-30 18:25:27 -05:00
Nabeel Shahzad
bd30b1f900
Check for departure airport restrictions #221
2018-03-30 11:08:53 -05:00
Nabeel Shahzad
7fbcfa391b
block on/off times in FormRequest check
2018-03-29 14:12:25 -05:00
Nabeel Shahzad
cf43685740
Add/implement subfleet cost_block_hour and block_time for PIREP API
2018-03-29 13:42:16 -05:00
Nabeel Shahzad
504b33ba2a
Add AirspaceMap widget; airport overview page
2018-03-27 11:40:37 -05:00
Nabeel Shahzad
99142f9fec
Fixed merge
2018-03-26 09:35:01 -05:00
Nabeel Shahzad
46e956475a
Fix comments
2018-03-26 09:33:45 -05:00
Nabeel Shahzad
0671742703
Load subfleet page first, can add aircraft from there #217
2018-03-23 20:30:31 -05:00
Nabeel Shahzad
1eb7e5d59a
Fix issue with flight fields not adding correctly
2018-03-23 20:29:37 -05:00
Nabeel Shahzad
f5c492bb7e
Sort aircraft by registration
2018-03-23 16:41:09 -05:00
Nabeel Shahzad
eb64f268d3
Fix flight field bugs
2018-03-23 15:02:26 -05:00
Nabeel Shahzad
f8f5a71564
Move subfleet add/remove to fleet service for a flight
2018-03-23 14:10:18 -05:00
Nabeel Shahzad
c6f423087d
fix failed to error
2018-03-23 10:37:34 -05:00
Nabeel Shahzad
49dfa7fc17
Sort flights by flight_number
2018-03-22 22:50:41 -05:00
Nabeel Shahzad
28a44631fc
add field values to flight api
2018-03-22 22:48:54 -05:00
Nabeel Shahzad
7105e82922
Add days of week to flights table; add to import/export for flights
2018-03-22 21:21:35 -05:00
Nabeel Shahzad
112a72ac6f
Subfleet exporter #194
2018-03-22 17:59:10 -05:00
Nabeel Shahzad
46d8fb125a
Add fare import/exporter #194
2018-03-22 17:48:57 -05:00
Nabeel Shahzad
a44204b185
Import/export expenses #194
2018-03-22 17:17:37 -05:00
Nabeel Shahzad
4e3a9fd9ea
Export airports
2018-03-22 13:04:13 -05:00
Nabeel Shahzad
d4f79b1331
Add aircraft export
2018-03-22 12:55:56 -05:00
Nabeel Shahzad
fbfd71adcf
Cleanup Exporter; use firstOrCreate for any missing data we can infer/setup defaults for
2018-03-22 12:43:58 -05:00
Nabeel Shahzad
9657e8bd40
Rename import/export, fix tests with parser
2018-03-21 19:12:36 -05:00
Nabeel Shahzad
276b93fc57
Export flights to CSV in admin #194
2018-03-21 17:07:30 -05:00
Nabeel Shahzad
95a7365fee
remove unique on update #214
2018-03-21 12:35:06 -05:00
Nabeel Shahzad
b9beb6c804
Add importers in console and admin for flights/aircraft/subfleets and airport #194
2018-03-20 19:17:11 -05:00
Nabeel Shahzad
25a299fb74
Add flight fields for templated fields on edit flight #213
2018-03-20 13:47:47 -05:00
Nabeel Shahzad
485c6e86bb
add separate flight_fields table and move over to flight_field_values
2018-03-20 13:06:06 -05:00
Nabeel Shahzad
4e59bd0442
view flight bids in flights screen #203
2018-03-20 11:28:06 -05:00
Nabeel Shahzad
ccf56ddec1
Fix formatting and interfaces in nearly every file
2018-03-19 20:50:40 -05:00
Nabeel Shahzad
6b002f24a8
Store full datetime in post_date; recalculate finances on every pirep
2018-03-17 22:20:08 -05:00
Nabeel Shahzad
e9baf4acb5
Add/edit the award class in Admin #155
2018-03-17 12:17:38 -05:00
Nabeel Shahzad
a21e2dd412
Clean up Award controller in admin #155
2018-03-17 11:39:51 -05:00
Nabeel Shahzad
45a22e26be
Merge #154 Awards into dev
2018-03-17 00:03:17 -05:00
Nabeel Shahzad
d34de098e5
Add separate redirect config after registration
2018-03-16 11:42:01 -05:00
Nabeel Shahzad
428d016e26
Customize redirect after login
2018-03-16 11:41:18 -05:00
Nabeel Shahzad
15d483b332
Add config to change redirect after login
2018-03-16 11:40:09 -05:00
Nabeel Shahzad
92bb56e344
Add recaptcha implementation #212
2018-03-16 11:38:06 -05:00
Nabeel Shahzad
afd7aebe20
Allow the fares to be submitted via API for ACARS #125
2018-03-14 10:34:41 -05:00
Nabeel Shahzad
bff80c2dc7
Change user bid to POST
2018-03-13 01:26:27 -05:00
Nabeel Shahzad
a3264c1cd1
re-enable csrf token for forms
2018-03-12 10:33:46 -05:00
Nabeel Shahzad
98ebd5e358
Remove the skin_view() call from base Controller class
2018-03-11 18:03:15 -05:00
Nabeel Shahzad
f05e37767f
Update skinning with more flexible theme module
2018-03-11 18:00:42 -05:00
Nabeel Shahzad
03c15473b9
remove with()
2018-03-11 17:22:25 -05:00
Nabeel Shahzad
4f8f82f69f
find proper rank when assigning subfleet
2018-03-09 13:03:43 -06:00
Nabeel Shahzad
dc2570a408
Rename the PirepService class
2018-03-06 17:36:06 -06:00
Nabeel Shahzad
a325470b8f
Aircraft can have its own expenses #130
2018-03-06 17:32:56 -06:00
Nabeel Shahzad
453ca5b180
Cleanup the transaction memos
2018-03-06 06:17:45 -06:00
Nabeel Shahzad
9d3953f3ac
Refactor expenses; move finance service classes; add daily/monthly skeletons #130 #136
2018-03-05 22:49:42 -06:00
Nabeel Shahzad
db10ebf807
Add expenses on airports as well #130 #136
2018-03-05 22:10:00 -06:00
Nabeel Shahzad
88a8fd2bbd
Remove subfleet_expenses and combine into main expenses table; select expense type on subfleet #130 #136
2018-03-05 21:24:49 -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
8b163348a2
Cleanup comments
2018-03-05 14:19:14 -06:00
Nabeel Shahzad
53e4bf533f
Add finance controller; morphable expense type so they can be applied to any model #130
2018-03-05 14:18:54 -06:00
Nabeel Shahzad
a7a70ce423
Added refresh finances button to transactions list #130
2018-03-05 13:07:10 -06:00
Nabeel Shahzad
96e8fbfa78
Add subfleet specific expenses, fixed bug for pirep fares #130 #136
2018-03-05 12:21:38 -06:00
Nabeel Shahzad
2df09c533b
show transactions in pirep
2018-03-02 16:09:48 -06:00
Nabeel Shahzad
2c52a2f7e6
Post fares/expenses on PIREP to Airline journal #130
2018-03-01 16:20:13 -06:00
Nabeel Shahzad
448a9846c9
Implement airport hub restriction closes #104
2018-02-28 15:37:24 -06:00
Nabeel Shahzad
208b6e73dc
Don't overwrite pagination counts, let it default to the config #162
2018-02-28 15:06:57 -06:00
Nabeel Shahzad
3aa4b8a410
Cleanup and move subfleet/rank settings to FleetService class
2018-02-27 14:12:03 -06:00
Nabeel Shahzad
f0977b48e5
alt_airports missing in flight create
2018-02-27 13:38:11 -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
cdd5fc749c
Add the acars and manual payrates in the rank/subfleet forms
2018-02-26 19:14:10 -06:00
Nabeel Shahzad
4a73a5a6b3
Add table/models and admin for expenses #136
2018-02-26 15:16:12 -06:00
Nabeel Shahzad
d0b3b27975
Remove the flight_id column from the pireps table
2018-02-24 15:51:04 -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
b8b4fe7a8a
Add percentages as part of sample data #125
2018-02-23 15:34:14 -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
5d2ef3a9d3
Fix wrong Exception being thrown
2018-02-22 09:41:23 -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
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
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
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
3d9d17d9b9
Add call to get user's PIREPs #192
2018-02-19 10:35:49 -06:00
Nabeel Shahzad
2678514077
API: Only show active airlines
2018-02-12 12:05:10 -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
61af5fe226
Cleanup column types and assign Time class to fields #189
2018-02-11 20:38:56 -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
f14a9e3ba1
implements ArrayAccess for casting to type #189
2018-02-10 22:04:30 -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
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
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
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
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
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
531c7ddba3
Set hours to read-only once they've changed away from PENDING #167
2018-02-06 12:58:48 -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
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
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
4f59e466a2
Change fuel_used to block_fuel
2018-01-30 11:05:14 -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
c55b55726e
Add distance and planned_distance to PIREP api
2018-01-29 16:27:55 -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
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
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
f09b3b888a
Cast the required field properly and add helper #146
2018-01-21 13:43:32 -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
7c70bb0971
add setting to disable user aircraft rank restriction #138
2018-01-19 12:46:30 -05: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
78912f2f31
Allow user to set country
2018-01-09 19:08:16 -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
bb59dc1ef9
Convert recent pilots/pireps to widgets #127
2018-01-08 19:53:55 -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
247310b4e7
Cleanup user edit page and show their pireps; log last IP address #110
2018-01-07 15:09:22 -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
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
bf493623c7
Change how route is pulled from post and add another validation
2018-01-05 14:46:00 -06:00
Nabeel Shahzad
5719971a13
Remove route parse from prefile
2018-01-05 14:21:45 -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
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
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
8810f03c29
Add separate ACARS route to post log messages to the ACARS table
2018-01-03 22:16:18 -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
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
be6e5e8dec
admin can add comments to PIREPs #70
2018-01-03 15:27:56 -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
2bcfe76289
Add user email unique to CreateUserRequest only
2018-01-02 23:20:36 -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
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