[commits] Horde branch master updated. e877d76fc9ab9dff82849ba30e73e145d9ecd14b
Michael J. Rubinsky
mrubinsk at horde.org
Sat Aug 13 05:10:52 UTC 2016
The branch "master" has been updated.
The following is a summary of the commits.
from: c9b4f5304f134508cfa94ef2b42b834e5193acf4
4dbe21d Pass the database handle if we are using Metar weather driver.
6ffc72e Don't fatal out if we don't pass a http_client object for Metar weather.
302416d Allow locally sourced METAR and TAF data.
cc7119e Look up the station data in the NOAA database.
c399725 Fix conversion.
53447ad Throw exception if we don't have a valid path.
0054641 Use mb, not mm for Metric units, like the other weather drivers.
2228f0c Round these values.
c99a100 Generate some sensible text for the conditions property.
b652410 Add test.
5840f23 This property really should be 'conditions', like in the Period class.
e877d76 Don't require an icon to view current conditions.
Summary: http://github.com/horde/horde/compare/c9b4f5304f134508cfa94ef2b42b834e5193acf4...e877d76fc9ab9dff82849ba30e73e145d9ecd14b
-----------------------------------------------------------------------
commit 4dbe21d480505d0479f6c686ce5151962cd696a5
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Fri Aug 12 16:45:55 2016 -0400
Pass the database handle if we are using Metar weather driver.
Most likely, Metar would never be used as the Horde-wide weather
provider, but provide this just in case.
framework/Core/lib/Horde/Core/Factory/Weather.php | 3 +++
1 file changed, 3 insertions(+)
http://github.com/horde/horde/commit/4dbe21d480505d0479f6c686ce5151962cd696a5
-----------------------------------------------------------------------
commit 6ffc72eff276fc56a0eacd1b96294c99ad4d20b2
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Fri Aug 12 16:46:32 2016 -0400
Don't fatal out if we don't pass a http_client object for Metar weather.
If we pass local paths, we can omit the http_client object.
framework/Service_Weather/lib/Horde/Service/Weather/Metar.php | 8 ++++++++
1 file changed, 8 insertions(+)
http://github.com/horde/horde/commit/6ffc72eff276fc56a0eacd1b96294c99ad4d20b2
-----------------------------------------------------------------------
commit 302416dab791df2a01aa05d52df8aee2f9efe6f4
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Fri Aug 12 16:47:17 2016 -0400
Allow locally sourced METAR and TAF data.
Especially helpful for people that either have, or have access to
their own weather data reporting hardware.
.../lib/Horde/Service/Weather/Metar.php | 47 ++++++++++++++++++----
1 file changed, 40 insertions(+), 7 deletions(-)
http://github.com/horde/horde/commit/302416dab791df2a01aa05d52df8aee2f9efe6f4
-----------------------------------------------------------------------
commit cc7119e94448aef2eb4bb4d7c3cc7e6f79d6dfe4
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Fri Aug 12 16:48:10 2016 -0400
Look up the station data in the NOAA database.
.../lib/Horde/Service/Weather/Metar.php | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/cc7119e94448aef2eb4bb4d7c3cc7e6f79d6dfe4
-----------------------------------------------------------------------
commit c3997250fa4457626cca05cfdb6d8e6723943b69
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Sat Aug 13 00:50:17 2016 -0400
Fix conversion.
framework/Service_Weather/lib/Horde/Service/Weather.php | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
http://github.com/horde/horde/commit/c3997250fa4457626cca05cfdb6d8e6723943b69
-----------------------------------------------------------------------
commit 53447ad8223546f128376d65235ba267cab0779f
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Sat Aug 13 00:50:53 2016 -0400
Throw exception if we don't have a valid path.
framework/Service_Weather/lib/Horde/Service/Weather/Metar.php | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
http://github.com/horde/horde/commit/53447ad8223546f128376d65235ba267cab0779f
-----------------------------------------------------------------------
commit 0054641c058e2c3b97949995dce2122523742e89
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Sat Aug 13 00:51:11 2016 -0400
Use mb, not mm for Metric units, like the other weather drivers.
framework/Service_Weather/lib/Horde/Service/Weather/Parser/Base.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://github.com/horde/horde/commit/0054641c058e2c3b97949995dce2122523742e89
-----------------------------------------------------------------------
commit 2228f0cd6facd11e50428f8581efddd26a4cd642
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Sat Aug 13 00:51:56 2016 -0400
Round these values.
.../lib/Horde/Service/Weather/Parser/Metar.php | 35 ++++++++++++----------
.../lib/Horde/Service/Weather/Parser/Taf.php | 12 ++++----
2 files changed, 26 insertions(+), 21 deletions(-)
http://github.com/horde/horde/commit/2228f0cd6facd11e50428f8581efddd26a4cd642
-----------------------------------------------------------------------
commit c99a1004f251db61e28f52014c4fd607d424b546
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Sat Aug 13 01:00:07 2016 -0400
Generate some sensible text for the conditions property.
.../lib/Horde/Service/Weather/Current/Metar.php | 34 ++++++++++++++++++--
.../lib/Horde/Service/Weather/Period/Taf.php | 36 +++++++++++++++++++++-
2 files changed, 66 insertions(+), 4 deletions(-)
http://github.com/horde/horde/commit/c99a1004f251db61e28f52014c4fd607d424b546
-----------------------------------------------------------------------
commit b652410b6b0fffb67828f59dd2f7b3dc2371cb5d
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Sat Aug 13 01:00:51 2016 -0400
Add test.
.../test/Horde/Service/Weather/MetarTest.php | 104 +++++++++++++++++++++
.../Horde/Service/Weather/fixtures/metar/KPHL.TXT | 2 +
.../Horde/Service/Weather/fixtures/taf/KSAW.TXT | 10 ++
3 files changed, 116 insertions(+)
create mode 100644 framework/Service_Weather/test/Horde/Service/Weather/MetarTest.php
create mode 100644 framework/Service_Weather/test/Horde/Service/Weather/fixtures/metar/KPHL.TXT
create mode 100644 framework/Service_Weather/test/Horde/Service/Weather/fixtures/taf/KSAW.TXT
http://github.com/horde/horde/commit/b652410b6b0fffb67828f59dd2f7b3dc2371cb5d
-----------------------------------------------------------------------
commit 5840f238572ad652ba35813c68ab60aea0d7c6ab
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Sat Aug 13 01:08:36 2016 -0400
This property really should be 'conditions', like in the Period class.
Keep both for BC.
framework/Service_Weather/lib/Horde/Service/Weather/Current/Base.php | 3 ++-
framework/Service_Weather/lib/Horde/Service/Weather/Current/Metar.php | 1 +
framework/Service_Weather/lib/Horde/Service/Weather/Current/Owm.php | 1 +
.../lib/Horde/Service/Weather/Current/WeatherUnderground.php | 1 +
framework/Service_Weather/lib/Horde/Service/Weather/Current/Wwo.php | 1 +
5 files changed, 6 insertions(+), 1 deletion(-)
http://github.com/horde/horde/commit/5840f238572ad652ba35813c68ab60aea0d7c6ab
-----------------------------------------------------------------------
commit e877d76fc9ab9dff82849ba30e73e145d9ecd14b
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Sat Aug 13 01:09:08 2016 -0400
Don't require an icon to view current conditions.
horde/templates/block/weather_content.html.php | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/e877d76fc9ab9dff82849ba30e73e145d9ecd14b
More information about the commits
mailing list