Nabeel S
6018a6dcaa
Add Contract interface for airport lookup functionality ( #365 )
...
* Add Contract interface for airport lookup functionality
* style ci fixes
2019-08-22 14:32:49 -04:00
Nabeel Shahzad
94ba5d8680
Disable the requests throttler
2019-08-22 12:45:15 -04:00
Nabeel S
182aabf426
Refactor error handling internally to follow RFC7807 ( #362 )
...
* Refactor error handling internally to follow RFC7807
* style fixes
2019-08-21 08:17:44 -04:00
Nabeel S
c1103afe8f
Add missing expiry time for PIREP API ( #356 )
2019-08-09 22:49:25 -04:00
Nabeel S
a08c9db284
Add setting to include transfer hours in calculations ( #350 )
...
* Add setting to include transfer hours in calculations
* Add some extra tests to check versions
* A couple of more version test cases
2019-08-08 12:50:43 -04:00
Nabeel S
e12188b7d3
Issue/327 versioning ( #345 )
...
* Switch to semver format
* Rewrite new version check to use Github Releases and cron
* Styling
* Remove v from in front of version
* New version check test fix
* Uncomment test case
2019-08-06 17:48:00 -04:00
Nabeel S
753804b71b
Issue fixes ( #341 )
...
* Better error handling around ACARS position updates
* Add step for decimals on fuel block/used fields closes #340
* Styling
* Rename AcarsController to LiveMapController; update JS dependencies
2019-08-05 13:07:22 -04:00
Nabeel S
95147e31bf
Fix issue where user stats aren't incremented on PIREP auto accept ( #335 )
...
* Fix issue where user stats aren't incremented on PIREP auto accept
* Formatting
2019-08-01 15:23:59 -04:00
Nabeel Shahzad
63485d5a0f
Make hours and minutes fields required
2019-08-01 13:15:33 -04:00
Nabeel Shahzad
aa57997ff5
PIREP fields not showing up and blocking PIREP submission
2019-08-01 13:13:11 -04:00
Nabeel Shahzad
62a10224a0
Account for fuel in the finance calculations #313
2019-07-23 08:41:20 -04:00
Nabeel Shahzad
b2cf7acfb6
Middleware to detect is update is pending; move Routes into HTTP
2019-07-18 10:51:05 -04:00
Nabeel Shahzad
bb15119bf0
Append rules for Create/Update
2019-07-17 11:00:30 -04:00
Nabeel Shahzad
95ae3aacb3
Unique email check
2019-07-17 10:59:11 -04:00
Nabeel Shahzad
567ff91de0
Add pilot ID change fields to the admin screen
2019-07-17 09:48:20 -04:00
Nabeel Shahzad
3e1d9080df
Backend changes separating id from pilot_id
2019-07-16 13:54:14 -04:00
Nabeel Shahzad
dd946d4cdd
Reorder imports
2019-07-15 15:51:35 -04:00
Nabeel Shahzad
a720f12e0b
Rename Interfaces to Contracts to better match Laravel conventions
2019-07-15 15:44:31 -04:00
Nabeel Shahzad
c04bfb78c6
Formatting
2019-07-15 15:17:51 -04:00
Nabeel Shahzad
06d8f11ca3
Cleanup SI Unit classes and interface for REST responses; fixes to a few METAR parsing issues
2019-07-15 15:14:40 -04:00
Nabeel Shahzad
b169337fb6
Styling
2019-06-20 23:19:35 -04:00
Nabeel Shahzad
b28ace970c
Add interface to additional roles/permissions
2019-06-20 16:52:37 -04:00
Nabeel Shahzad
a176ed2dae
Apply fixes from StyleCI
2019-06-18 22:58:09 +00:00
Nabeel Shahzad
e1bdef98d6
Keep uploaded avatar images within the same aspect ratio #309
2019-05-13 07:52:07 -05:00
Nabeel Shahzad
2ca1f33e68
Formatting
2019-05-12 18:05:36 -05:00
Nabeel Shahzad
88957f4071
Add php-cs-fixer to build
2019-05-12 13:26:44 -05:00
Nabeel Shahzad
82f6dfbece
Fix not found debug() call
2019-05-11 17:39:58 -05:00
Nabeel Shahzad
1ec866d4dc
Style fixes
2019-05-11 11:38:56 -05:00
Nabeel Shahzad
7fce5421b4
Reset the criterea before a new search
2019-05-11 11:37:06 -05:00
Nabeel Shahzad
099600cf4c
Fix the PHP Docker image
2019-05-10 19:46:50 -05:00
Nabeel Shahzad
4dd3fc5244
Show if there are database errors
2019-05-10 19:31:11 -05:00
Nabeel Shahzad
5b061ba636
Add greater than/less than search options #297
2019-05-10 16:03:04 -05:00
Nabeel Shahzad
6f7735afa7
Formatting
2018-10-25 18:10:37 -05:00
Nabeel Shahzad
3aef1a0aae
Merge branch 'dev' of github.com:nabeelio/phpvms into dev
2018-10-25 17:56:03 -05:00
Nabeel Shahzad
cd327502d9
API: Call submit() for the PIREP
2018-10-08 09:01:35 -05:00
Nabeel Shahzad
3911d95107
Set the currect aircraft location #277
2018-09-21 22:40:30 -04:00
Nabeel Shahzad
61c7a3d54d
Merge pull request #280 from nkevins/expired_flight_cleaning
...
Hide expired live flight from live map and remove from DB
2018-09-20 18:44:42 -05:00
Nabeel Shahzad
2e0cc10ded
Move redirect configs into phpvms config
2018-09-20 13:55:08 -05:00
Nabeel Shahzad
bbce735e31
Fix ordering for styleci
2018-09-20 13:55:07 -05:00
Nabeel Shahzad
262aad2d7a
Add the Laravel 5.7 email verification
2018-09-20 13:55:07 -05:00
Kevin
d40c9ba91f
Hide expired live flight from live map and remove from DB
2018-09-21 02:27:39 +08:00
Nabeel Shahzad
ab5480fdc9
Add explicit TOC accepted checkbox #244
2018-09-20 11:14:18 -05:00
Nabeel Shahzad
d04565919b
Allow admin to set a user's airport to be anywhere
2018-09-08 14:07:31 -05:00
Nabeel Shahzad
daffd1017f
Add alt airport to pirep tables
2018-09-08 11:38:30 -05:00
Kevin
b73182f830
Capturing pilot transfer hours
2018-09-05 08:09:33 +08:00
Nabeel Shahzad
ec873f2b82
Merge pull request #273 from nkevins/fix_repo_saving
...
Fix SettingsController saving boolean value as 'on'
2018-09-04 17:35:40 -04:00
Kevin
f7ae027156
Optimize query with eager loading
2018-09-04 20:02:16 +08:00
Kevin Susanto
f46e5090ae
Fix SettingsController saving boolean value as 'on'
2018-09-04 16:11:51 +08:00
Kevin
5992dad5a3
Hide inactive pilot from pilot list page
2018-09-03 08:12:11 +08:00
Kevin
20d8a2d0a7
Fix flight search restriction
2018-09-02 22:20:52 +08:00
Nabeel Shahzad
3c32f2d89d
Apply fixes from StyleCI
2018-08-26 18:51:47 +00:00
Nabeel Shahzad
e95b3eb366
Code cleanup from inspection results
2018-08-26 13:50:08 -05:00
Nabeel Shahzad
0f3424f41e
Fix datetime parser
2018-08-26 12:25:51 -05:00
Nabeel Shahzad
9596d88b48
Apply fixes from StyleCI
2018-08-26 16:40:04 +00:00
Kevin
7b8e20f348
Enable eager loading
2018-08-26 21:43:47 +08:00
Nabeel Shahzad
5ee053cace
Fix PIREP field error on file
2018-08-20 09:20:03 -05:00
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