Nabeel S
bbec276da8
#355 Calculate distance button ( #366 )
...
* #355 Calculate distance button in add/edit Flight page
* Styling
* Move add/edit flight logic out of controller and into service layer
* Styling
* Formatting
* Run styleci against modules dir
* Styleci config
* Style fixes in /modules
2019-08-26 12:32:46 -04:00
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 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
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
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 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 Shahzad
f6465bea58
Add error logging around metar parsing call
2019-08-07 13:25:40 -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
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
71f5d33af7
Formatting in FlightExporter
2019-07-23 09:42:31 -04:00
Nabeel Shahzad
62a10224a0
Account for fuel in the finance calculations #313
2019-07-23 08:41:20 -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
567ff91de0
Add pilot ID change fields to the admin screen
2019-07-17 09:48:20 -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
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
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
75eaec2f11
phpcs standards
2019-05-12 12:08:31 -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
6816c77845
Cleanup array_merge call
2019-04-07 22:27:09 -05:00
Kevin Susanto
f46e5090ae
Fix SettingsController saving boolean value as 'on'
2018-09-04 16:11:51 +08:00
Nabeel Shahzad
1c1c0d55f4
Force truth state on pilot acceptance value #269
2018-09-02 10:47:37 -04: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
9596d88b48
Apply fixes from StyleCI
2018-08-26 16:40:04 +00: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
c40a8c893d
Readd bids.disable_flight_on_bid, fixes tests
2018-07-24 15:58:11 -05:00
Nabeel Shahzad
0ce86e9e44
Rewrite add/remove bids code w additional tests
2018-07-24 14:50:50 -05:00
Nabeel Shahzad
28f10eaf41
Validator fix for airport import/export
2018-07-13 07:45:29 -05:00
Nabeel Shahzad
f640381978
Export extra fields for airports
2018-07-12 22:21:39 -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
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
59b99497a7
Route sorting
2018-05-28 18:15:51 -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
Nabeel Shahzad
3e96b195a6
Add short timeout to HTTP calls by default; cache METAR lookups
2018-05-14 11:22:20 -05:00
Nabeel Shahzad
bc7fccfb95
Cleanup the cancelled PIREP logic
2018-05-11 12:08:55 -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
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
Nabeel Shahzad
5dff563c75
Fixes for API and live map
2018-05-02 15:14:18 -05:00
Nabeel Shahzad
89f067807b
comment out the flight dupe check on import
2018-04-25 12:05:12 -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
cff7e2c4da
some cleanup as-per phpstan
2018-04-23 08:46:28 -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
052813ba4a
Fixes in how METARs are parsed
2018-04-04 09:04:14 -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
0f98e729ce
Save file asset
2018-04-02 17:34:58 -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
cfd0853d79
Convert expense type to char, translations for ExpenseType
2018-04-01 22:26:20 -05:00
Nabeel Shahzad
793b3e7134
change ref_class to ref_model
2018-04-01 14:32:01 -05:00
Nabeel Shahzad
46f9b3d9b9
Typo #96
2018-03-30 22:36:01 -05:00
Nabeel Shahzad
1275d7ebc4
Set user on ON_LEAVE automatically after days in settings() #96
2018-03-30 22:28:19 -05:00
Nabeel Shahzad
9eb8ed1804
fix aircraft status field type in model
2018-03-30 21:45:11 -05:00
Nabeel Shahzad
217da07007
Fix column headers
2018-03-30 20:57:30 -05:00
Nabeel Shahzad
70e5ccda6f
Add IATA and ZFW to aircraft import/export and tables
2018-03-30 20:21:18 -05:00
Nabeel Shahzad
1cbfdbdac5
don't attempt to convert flight type in flight exporter
2018-03-30 18:08:03 -05:00
Nabeel Shahzad
63544088cd
Add validation to importers to fix invalid/empty columns #222
2018-03-30 17:27:29 -05:00
Nabeel Shahzad
bd30b1f900
Check for departure airport restrictions #221
2018-03-30 11:08:53 -05:00
Nabeel Shahzad
08d3578d38
Add cost_block_hour tests; extra logging
2018-03-29 14:55: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
0bf1286c3a
Fix error in flight importer
2018-03-29 11:47:37 -05:00
Nabeel Shahzad
33daaf4a35
Add an InternalError type that piggybacks ValidationError
2018-03-23 17:29:54 -05:00
Nabeel Shahzad
c81fc5f25b
only output airline icao in subfleet export
2018-03-23 16:38:56 -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
1161106d9c
Fix airport field row being inserted and check against airport ID
2018-03-23 12:27:28 -05:00
Nabeel Shahzad
182cb2d33b
Change flight_number field to uint
2018-03-22 23:11:59 -05:00
Nabeel Shahzad
29b84f9281
Reverse the iata/icao columns for airport import
2018-03-22 22:21: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
8b53ca2fdc
Fix types and codes import
2018-03-22 19:59: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
78e70fec3b
Fix directory creation path
2018-03-22 12:48:27 -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
b9beb6c804
Add importers in console and admin for flights/aircraft/subfleets and airport #194
2018-03-20 19:17:11 -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