Nabeel Shahzad
94ba5d8680
Disable the requests throttler
2019-08-22 12:45:15 -04:00
Nabeel Shahzad
3d6a29795b
Carry headers through the handler
2019-08-22 12:26:46 -04:00
Nabeel Shahzad
dd2b297cc5
Carry headers when rethrowing errors to REST
2019-08-22 12:12:44 -04:00
Nabeel Shahzad
7fdaf62ef5
Add 'status' field to error response
2019-08-21 08:19:49 -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 Shahzad
91a5eb535d
Add abstract class for route finding mechanism
2019-08-20 08:48:45 -04:00
Nabeel Shahzad
b6189bab7e
Remove the table prefix on importer
2019-08-10 21:12:18 -04:00
Nabeel S
dc51897314
Additional logging for the stats recalculation ( #358 )
...
* Additional logging for the stats recalculation
* style fix
2019-08-10 20:42:35 -04:00
Nabeel S
c1103afe8f
Add missing expiry time for PIREP API ( #356 )
2019-08-09 22:49:25 -04:00
Nabeel Shahzad
39fbdcb787
Add the airline back into seed data
2019-08-09 13:57:56 -04:00
Nabeel S
47be7507f0
Fix/metar reading ( #354 )
...
* Account for empty ICAO; added tests
* Fix null returns
* Fix typo in volume units display
* Add version field for bug report template
* Some more changes to the bug report template
2019-08-08 17:41:53 -04:00
Nabeel S
5cafebe4d6
Fix/metar reading ( #353 )
...
* Fix reading of the METAR information for AviationWeather. Fix the DI
* StyleCI fixes
2019-08-08 14:52:34 -04:00
Nabeel Shahzad
becf6c95f0
StyleCI fixes
2019-08-08 13:44:18 -04:00
Nabeel Shahzad
380c9d13b6
Error handling around reset install; clear cache
2019-08-08 13:42:43 -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
ff6ba4c29a
Remove ext-cal from requirements list ( #349 )
...
* Remove ext-cal from requirements list
* Fix the travis phpunit config
2019-08-08 12:50:32 -04:00
Nabeel Shahzad
f6465bea58
Add error logging around metar parsing call
2019-08-07 13:25:40 -04:00
Nabeel S
5cce1b3040
Multiple ticket crash fixes ( #347 )
...
* Fix for initial seed data not being run during install closes #346
* StyleCI keepin' me honest
* Tooltips for ranks
2019-08-07 12:32:49 -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
092b9fc9dc
Add step fields to enable decimal points on fields #342 ( #343 )
...
* Add step fields to enable decimal points on fields #342
* Update js-yaml version due to vulnerability scan
* Don't seed dev files when env == local
* Fix
* Fix to be static
* Add visibilty keyword
2019-08-06 15:54:21 -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
9f3ba05880
Issue/329 refactor seeding ( #337 )
...
* Fix Contracts class names
* Refactoring of the file seeds so it's not a mess
* StyleCI fixes
2019-08-05 08:27:53 -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
224cfaf603
Remove debugging that stops execution
2019-07-23 10:17:51 -04:00
Nabeel Shahzad
71f5d33af7
Formatting in FlightExporter
2019-07-23 09:42:31 -04:00
Nabeel Shahzad
70f470d64e
Formatting
2019-07-23 09:08:05 -04:00
Nabeel Shahzad
fcc6295a77
Remove unused/dead code
2019-07-23 09:00:39 -04:00
Nabeel Shahzad
c5007f2928
Formatting
2019-07-23 08:43:40 -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
c6547ac7fc
Style fix
2019-07-18 09:55:10 -04:00
Nabeel Shahzad
748601064c
Fix Validator import
2019-07-18 09:54:03 -04:00
Nabeel Shahzad
a9c5be1c70
Add opcache option; change detection during install for cache driver
2019-07-18 09:26:33 -04:00
Nabeel Shahzad
9475a737f0
Change exporter to use utf-8 close #282
2019-07-17 13:36:16 -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
ec81a6d157
Fix errors in the METAR parsing for clouds; display error for pressure units
2019-07-17 08:57:45 -04:00
Nabeel Shahzad
80560ec20c
Formatting
2019-07-16 14:06:13 -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
ed91ddb5a8
Formatting again
2019-07-15 15:19:22 -04:00
Nabeel Shahzad
08a2be165c
Formatting
2019-07-15 15:18:49 -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
54347c6706
Set default for read_only to false
2019-06-20 23:24:08 -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
fb9c1c3681
Check for calendar extension in installer
2019-06-19 13:02:06 -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
dbd7c5e90b
Style fixes
2019-05-12 17:49:58 -05:00
Nabeel Shahzad
d65b74d7a0
Formatting
2019-05-12 17:37:22 -05:00
Nabeel Shahzad
88957f4071
Add php-cs-fixer to build
2019-05-12 13:26:44 -05:00
Nabeel Shahzad
75eaec2f11
phpcs standards
2019-05-12 12:08:31 -05:00
Nabeel Shahzad
7f0fb16dc3
Update to Laravel 5.8
2019-05-12 10:10:31 -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
2b45b9fd70
Fix the searchable fields
2019-05-10 16:24:34 -05:00
Nabeel Shahzad
5b061ba636
Add greater than/less than search options #297
2019-05-10 16:03:04 -05:00
Nabeel Shahzad
3a6e3e0e24
Style fixes
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
ec662243d8
Style fixes
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
29a578ea6a
Move the MigrationService to the main package
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
8d8857e552
Turn closure into static
2019-04-07 22:27:10 -05:00
Nabeel Shahzad
6816c77845
Cleanup array_merge call
2019-04-07 22:27:09 -05:00
Nabeel Shahzad
2f2eb2e5b2
Mark ID as fillable for ACARS
2019-04-07 22:27:09 -05:00
Nabeel Shahzad
d2257095da
Remove block_time from seed file
2019-04-07 22:27:09 -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
Kevin
075d4b3069
Add missing php extension
2018-09-21 06:46:44 +08:00
Nabeel Shahzad
f8b21c99e2
Use ClassMapGenerator from composer, symfony 4.x removed theirs
2018-09-20 14:08: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
146fe05bdc
Remove return nulls
2018-09-08 11:40:03 -05:00
Nabeel Shahzad
daffd1017f
Add alt airport to pirep tables
2018-09-08 11:38:30 -05:00
Kevin Susanto
bac6396b19
Fix styleci checking
2018-09-05 09:27:16 +08: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
Nabeel Shahzad
646987764f
Styleci annoying
2018-09-02 15:10:43 -04:00
Nabeel Shahzad
ebac18ebef
Make sure created ICAO in factory is unique otherwise tests fail
2018-09-02 15:07:54 -04:00
Nabeel Shahzad
f2f0873b2e
Merge branch 'dev' of github.com:nabeelio/phpvms into dev
2018-09-02 14:52:21 -04:00
Nabeel Shahzad
f14f7c1a5e
Move the settings into a yml seed file and sync during install/update
2018-09-02 13:18:32 -04:00
Nabeel Shahzad
fbe3804658
Merge pull request #270 from nkevins/fix_search_flight_restriction
...
Fix flight search restriction
2018-09-02 11:04:41 -05:00
Nabeel Shahzad
1c1c0d55f4
Force truth state on pilot acceptance value #269
2018-09-02 10:47:37 -04:00
Kevin
20d8a2d0a7
Fix flight search restriction
2018-09-02 22:20:52 +08:00
Nabeel Shahzad
19a206f4ac
Apply fixes from StyleCI
2018-09-02 03:31:16 +00:00
Nabeel Shahzad
8171d681a6
Fix METAR parsing for runway visibility
2018-09-01 16:58:38 -04:00
Kevin
75ef658d8f
Fix metar parsing issue
2018-08-29 07:27:53 +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
Kevin
36d91265d3
Adding newline at end of file
2018-08-25 01:14:35 +08:00
Kevin
796053cfa5
Implement cron to remove expired bids
2018-08-25 01:07:14 +08:00
Kevin
a62c938099
Update attrSet initializer to empty string
2018-08-24 23:39:08 +08:00
Kevin
a9536064d3
Fix timezone list HTML Escaped
2018-08-24 23:16:23 +08:00
Nabeel Shahzad
543026da18
Nav data import fixed - thanks Kevin S!
2018-08-23 09:27:54 -05:00
Nabeel Shahzad
e77488c66a
Fix CronWeekly console task to actually read Weekly
2018-08-23 08:26:39 -05:00
Nabeel Shahzad
66a9b361cb
Cosmetics
2018-08-20 09:48:39 -05:00
Nabeel Shahzad
89baf34824
Initial user stats recalculation #254
2018-08-20 09:42:54 -05: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
c40a8c893d
Readd bids.disable_flight_on_bid, fixes tests
2018-07-24 15:58:11 -05:00
Nabeel Shahzad
b2cc818b7a
Extra logging about cron
2018-07-24 14:58:12 -05:00
Nabeel Shahzad
0ce86e9e44
Rewrite add/remove bids code w additional tests
2018-07-24 14:50:50 -05:00
Nabeel Shahzad
68b00f776a
Translation fixes
2018-07-15 15:06:25 -05:00
Nabeel Shahzad
28f10eaf41
Validator fix for airport import/export
2018-07-13 07:45:29 -05:00
Nabeel Shahzad
26061deced
Fix flight visibility for day
2018-07-13 07:43:27 -05:00
Nabeel Shahzad
4596ddae58
Undo null check for flight
2018-07-12 22:40:39 -05:00
Nabeel Shahzad
91b1fd5dca
Add "visible" field to factory
2018-07-12 22:36:13 -05:00
Nabeel Shahzad
1b51bc8c04
Log error
2018-07-12 22:32:56 -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
f640381978
Export extra fields for airports
2018-07-12 22:21:39 -05:00
Nabeel Shahzad
761c845300
Clean up some comments
2018-07-12 21:47:27 -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
5b227c3a60
fix log
2018-06-21 09:53:14 -05:00
Nabeel Shahzad
316bc14526
Composer update
2018-06-20 11:39:28 -05:00
Nabeel Shahzad
9bc3a67c9a
Move some database calls into a support class
2018-06-20 11:18:30 -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
a515921143
Add opt-in as part of GDPR #244
2018-05-24 22:17:41 -05:00
Nabeel Shahzad
019cf9b4fb
Set IDs to unique ints so tests don't occasionally fail
2018-05-21 12:23:26 -05:00
Nabeel Shahzad
17cece598b
Fix typos and missing lang
2018-05-21 12:05:22 -05:00
Nabeel Shahzad
8179611cac
Remove unneeded migratoin
2018-05-21 12:00:14 -05:00
Nabeel Shahzad
0a7f002217
More organizing for translations
2018-05-21 11:55:40 -05:00
Nabeel Shahzad
2b074ee894
Move widgets/home
2018-05-21 09:58:31 -05:00
lordwilbur
06f8322eeb
- 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:57:34 -05:00
lordwilbur
1c84dd1e44
changed Flight model to match update of route_leg column in db.
2018-05-21 09:57:10 -05:00
lordwilbur
a346b0df2e
frontend translation + other stuff
2018-05-21 09:54:18 -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
da0a7cbe81
Add ACARS live time/coords/default zoom into admin settings
2018-05-16 10:54:01 -05: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
9332f64284
Cleanup admin pirep form and read-only state
2018-05-11 13:53:24 -05:00
Nabeel Shahzad
3f1bb26ee5
Fix PIREPs not showing in admin
2018-05-11 13:43:33 -05:00
Nabeel Shahzad
9ca8825868
Merge branch 'dev' of https://github.com/nabeelio/phpvms into dev
2018-05-11 13:05:37 -05:00
Nabeel Shahzad
b8424f712d
Acars log ordering
2018-05-11 13:05:34 -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
5230fc9600
change artisan calls
2018-05-10 10:22:45 -05:00
Nabeel Shahzad
62aa825c0f
Use artisan for the reload-db dev command
2018-05-10 10:17:41 -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
7d2d932f50
remove field block_time
2018-05-08 21:26:57 -05:00
Nabeel Shahzad
bd7bd7e802
Cleanup of sample data and date/time parsing
2018-05-08 20:59:19 -05:00
Nabeel Shahzad
4fc30ec4bc
Allow the created_at/updated_at fields to be edited
2018-05-08 17:30:44 -05:00
Nabeel Shahzad
00458ee754
unit test airport id length fix
2018-05-07 15:11:59 -05:00
Nabeel Shahzad
f593c7d92f
Fix some more table column sizes
2018-05-07 14:07:41 -05:00
Nabeel Shahzad
feeb4946d1
Add some indexes and tests for airports
2018-05-07 14:07:41 -05:00
Nabeel Shahzad
0cd7b3b71f
live map updates
2018-05-04 13:59:47 -05:00
Nabeel Shahzad
f8965f1785
Fix tests for new datatypes
2018-05-03 15:36:26 -05:00
Nabeel Shahzad
23f1a8225a
update livemap to use rivets.js bindings for data updates
2018-05-03 15:07:16 -05:00
Nabeel Shahzad
cbb5182cea
Add distance/fuel fields to ACARS tables
2018-05-03 15:06:50 -05:00
Nabeel Shahzad
ff8f29be24
Update dev tools to add incremental inserts
2018-05-03 15:06:28 -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
José Bustos
ec273d2928
Add getAvatarAttribute()
...
refactoring other methods this will work
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
Jose Miguel Bustos Espinoza
41f4c76006
Remote getAvatarAttribue() beacuse it cause conflict with final avatar path.
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
6701ce8c1a
comment out superfluous debug statements
2018-05-01 22:53:41 -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
50abda71cb
Fix if submitted_at blank
2018-04-30 17:51:18 -05:00
Nabeel Shahzad
73ffc9cf44
Fix flight type parameter
2018-04-30 17:29:50 -05:00
Nabeel Shahzad
7decac105f
Add another sample flight/airports for testing
2018-04-29 11:29:31 -05:00
Nabeel Shahzad
89f067807b
comment out the flight dupe check on import
2018-04-25 12:05:12 -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
fe5400a3bb
Add extra fields needed for internal active flags
2018-04-24 12:52:11 -05:00
Nabeel Shahzad
2c2b569c6c
Fix setting the subfleet pay
2018-04-23 10:36:11 -05:00
Nabeel Shahzad
6c83b539c8
Merge branch 'dev' of github.com:nabeelio/phpvms into dev
2018-04-23 10:25:11 -05:00
Nabeel Shahzad
cff7e2c4da
some cleanup as-per phpstan
2018-04-23 08:46:28 -05:00
Nabeel Shahzad
ea32353890
Fix flight on days deactivation test
2018-04-16 16:46:51 -05:00
Nabeel Shahzad
0965465601
add whereNotInOrder() to repository
2018-04-16 16:33:41 -05:00
Nabeel Shahzad
2319a8c9f4
Added more flight phases from ADREP
2018-04-16 09:33:45 -05:00
Nabeel Shahzad
63c5d69e10
Some fixes to trends parsing
2018-04-15 14:14:40 -05:00
Nabeel Shahzad
775900bb14
Filter out draft PIREPs
2018-04-15 12:37:04 -05:00
Nabeel Shahzad
9d3d284df7
Check start/end/days of week in cron and active/deactivate flights accordingly
2018-04-12 16:12:32 -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
e1c8174b3f
More styling fixes in admin/flight add/edit form
2018-04-09 19:32:38 -05:00
Nabeel Shahzad
86d28aafd6
added a few columns for scheduling, styling in admin
2018-04-08 20:51:27 -05:00
Nabeel Shahzad
f842e86885
styling fixes
2018-04-08 16:00:22 -05:00
Nabeel Shahzad
c102a0d858
Refactor all of the unit conversion code
2018-04-07 20:52:12 -05:00
Nabeel Shahzad
eae5989845
Replace METAR data with custom class
2018-04-07 09:05:06 -05:00
Nabeel Shahzad
078f8038e4
quick comment over the ClassLoader
2018-04-06 17:23:55 -05:00
Nabeel Shahzad
d5fba47dc6
Move migration base class entirely into the interface
2018-04-06 17:21:10 -05:00
Nabeel Shahzad
3e89a53fc1
Move cron scripts to root namespace
2018-04-06 17:14:01 -05:00
Nabeel Shahzad
7179910bc6
Backend state for saving PIREP as a draft
2018-04-06 17:12:35 -05:00
Nabeel Shahzad
42264eb180
More refactoring of metar parser
2018-04-04 23:37:10 -05:00
Nabeel Shahzad
a31b704203
add metar lib and adding some modifications
2018-04-04 20:59:52 -05:00
Nabeel Shahzad
129c551fa0
Reorganized PIREP page
2018-04-04 17:42:43 -05:00
Nabeel Shahzad
d8dad44e43
Add compositional interface for METAR parser class
2018-04-04 17:14:46 -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
052813ba4a
Fixes in how METARs are parsed
2018-04-04 09:04:14 -05:00
Nabeel Shahzad
7a3a2f3e9a
Remove the url generator
2018-04-04 08:46:46 -05:00
Nabeel Shahzad
9ff3c1ab10
remove single entry for pagination testing
2018-04-03 22:45:45 -05:00
Nabeel Shahzad
a0422899a5
redesigning the pirep page a bit
2018-04-03 22:44:11 -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
04d63ca931
Remove medialibrary stuff
2018-04-03 08:16:39 -05:00
Nabeel Shahzad
2351dbe717
Move caching into Metar base class, clean up of caller in the widget
2018-04-02 22:44:31 -05:00
Nabeel Shahzad
717118cfb4
Add METAR interface and use local library for decoding
2018-04-02 22:35:25 -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
bbfad3a0ef
Allow uploads for top level airline
2018-04-02 11:08:38 -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
c000034cab
Some changes to WX template layout and cache the API call out #61
2018-04-02 07:06:00 -05:00
Nabeel Shahzad
f84ff8de92
Add a column for the user avatar #226
2018-04-02 06:47:31 -05:00
Nabeel Shahzad
bb73af3806
Add weather to the dashboard for the current airport
2018-04-02 06:47:05 -05:00
Nabeel Shahzad
cfd0853d79
Convert expense type to char, translations for ExpenseType
2018-04-01 22:26:20 -05:00
Nabeel Shahzad
2a01a935c0
Add enums to language strings file
2018-04-01 21:44:04 -05:00
Nabeel Shahzad
02fa97504e
Rename Off-block to Departed
2018-04-01 20:47:44 -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
0bed38c78b
Add airport overview page and links to it #225
2018-03-31 15:57:30 -05:00