[commits] Horde branch master updated. 06fc7b645cc48d72b431f810c0ed0a166fc22074
Michael J. Rubinsky
mrubinsk at horde.org
Tue Aug 9 03:35:25 UTC 2016
The branch "master" has been updated.
The following is a summary of the commits.
from: b0df765e44339c960167160789d1b561d29a7a06
04f4b54 simplify
c945c11 Add METAR/TAF data source support.
c870ed9 not used
375cc54 Fix constant names.
df6b2e0 Simplify
b81293f Use full date string for validity period.
bb1c202 Typo
df9249d Add the time property.
0b8670f Temporary handling of station data.
e254170 Mapping for Taf periods.
d291066 Prevent fataling out if station data is not found.
605ea62 Don't assume we have an icon.
4c73b43 spacing
7816e17 Refactor parser classes out.
3add975 Add methods to be more compatible with old Metar classes.
db2618c Add migration for adding the NOAA METAR database.
08c24ab Allow setting the tablename, phpdoc.
21b2f02 package.xml
9e19a0c Merge branch 'weather'
2884dcd CHANGES
aa119f6 Don't add the qualifier, this property is strictly numeric.
ef30169 Round when converting.
708e051 Fix unit map.
06fc7b6 Don't continue to iterate after match is found.
Summary: http://github.com/horde/horde/compare/b0df765e44339c960167160789d1b561d29a7a06...06fc7b645cc48d72b431f810c0ed0a166fc22074
-----------------------------------------------------------------------
commit 04f4b542dee219b9cb6ded578d791ce7b4ad905d
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 14:07:24 2016 -0400
simplify
framework/Service_Weather/lib/Horde/Service/Weather/Forecast/Owm.php | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/04f4b542dee219b9cb6ded578d791ce7b4ad905d
-----------------------------------------------------------------------
commit c945c1125dcbf65c9de8498bee31dee868cd3261
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 14:08:15 2016 -0400
Add METAR/TAF data source support.
Parsing code ported/refactored from PEAR/Services_Weather_Metar.
Still lots to do, but this gets things started.
.../Service_Weather/lib/Horde/Service/Weather.php | 295 +++++
.../lib/Horde/Service/Weather/Current/Metar.php | 71 ++
.../lib/Horde/Service/Weather/Forecast/Taf.php | 57 +
.../lib/Horde/Service/Weather/Metar.php | 1268 ++++++++++++++++++++
.../lib/Horde/Service/Weather/Period/Taf.php | 85 ++
framework/Service_Weather/package.xml | 12 +-
6 files changed, 1786 insertions(+), 2 deletions(-)
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Current/Metar.php
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Forecast/Taf.php
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Metar.php
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Period/Taf.php
http://github.com/horde/horde/commit/c945c1125dcbf65c9de8498bee31dee868cd3261
-----------------------------------------------------------------------
commit c870ed9ceb51d40ffb7024f9485adc732baf2956
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 15:14:18 2016 -0400
not used
framework/Service_Weather/lib/Horde/Service/Weather/Metar.php | 2 --
1 file changed, 2 deletions(-)
http://github.com/horde/horde/commit/c870ed9ceb51d40ffb7024f9485adc732baf2956
-----------------------------------------------------------------------
commit 375cc543e7674a919a706706ab79ba399a03cddb
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 15:14:45 2016 -0400
Fix constant names.
.../lib/Horde/Service/Weather/Metar.php | 26 +++++++++++-----------
1 file changed, 13 insertions(+), 13 deletions(-)
http://github.com/horde/horde/commit/375cc543e7674a919a706706ab79ba399a03cddb
-----------------------------------------------------------------------
commit df6b2e02c3ad1710a57640ef34b60f6d910a23f0
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 15:15:11 2016 -0400
Simplify
framework/Service_Weather/lib/Horde/Service/Weather/Metar.php | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
http://github.com/horde/horde/commit/df6b2e02c3ad1710a57640ef34b60f6d910a23f0
-----------------------------------------------------------------------
commit b81293f1425d5e455c8f877ede37791464ea3f26
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 15:15:26 2016 -0400
Use full date string for validity period.
Fixes issue where final period could conflict with intial period's
key since the final period often has a validity time equal to the
current block's validity time.
framework/Service_Weather/lib/Horde/Service/Weather/Metar.php | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
http://github.com/horde/horde/commit/b81293f1425d5e455c8f877ede37791464ea3f26
-----------------------------------------------------------------------
commit bb1c2025f87ac72dd53b7d5462dfc41e476187d7
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 16:40:49 2016 -0400
Typo
framework/Service_Weather/lib/Horde/Service/Weather/Current/Metar.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://github.com/horde/horde/commit/bb1c2025f87ac72dd53b7d5462dfc41e476187d7
-----------------------------------------------------------------------
commit df9249df2326b4190b6f1f28794ac0f6db554fa9
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 16:41:07 2016 -0400
Add the time property.
framework/Service_Weather/lib/Horde/Service/Weather/Current/Metar.php | 2 ++
1 file changed, 2 insertions(+)
http://github.com/horde/horde/commit/df9249df2326b4190b6f1f28794ac0f6db554fa9
-----------------------------------------------------------------------
commit 0b8670fa5b89684bd57427f6ac9e1652c14e3b9e
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 16:41:48 2016 -0400
Temporary handling of station data.
Need to still implement DB handle.
.../lib/Horde/Service/Weather/Metar.php | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
http://github.com/horde/horde/commit/0b8670fa5b89684bd57427f6ac9e1652c14e3b9e
-----------------------------------------------------------------------
commit e254170e8f3e30aa03051fa6ec3717c53727800d
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 16:42:42 2016 -0400
Mapping for Taf periods.
Note that it doesn't really make much sense to use this
data source in place of other weather providers since
the data is not structured the same (nor can it be).
.../lib/Horde/Service/Weather/Period/Taf.php | 51 ++++++++++------------
1 file changed, 22 insertions(+), 29 deletions(-)
http://github.com/horde/horde/commit/e254170e8f3e30aa03051fa6ec3717c53727800d
-----------------------------------------------------------------------
commit d291066b9ee14a2a6bc3c30e3247f7dea847ff3a
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 16:43:47 2016 -0400
Prevent fataling out if station data is not found.
framework/Service_Weather/lib/Horde/Service/Weather/Wwo.php | 3 +++
1 file changed, 3 insertions(+)
http://github.com/horde/horde/commit/d291066b9ee14a2a6bc3c30e3247f7dea847ff3a
-----------------------------------------------------------------------
commit 605ea6209c29f62bf8eb47fb4754810680297ac3
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 16:44:28 2016 -0400
Don't assume we have an icon.
horde/templates/block/weather_content.html.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
http://github.com/horde/horde/commit/605ea6209c29f62bf8eb47fb4754810680297ac3
-----------------------------------------------------------------------
commit 4c73b43d13cac3d31fd71ba156fca518073e5dac
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 16:44:45 2016 -0400
spacing
horde/templates/block/weather_content.html.php | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
http://github.com/horde/horde/commit/4c73b43d13cac3d31fd71ba156fca518073e5dac
-----------------------------------------------------------------------
commit 7816e170e4d867f14a0d0fd7f1c0c885743c720b
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 18:35:34 2016 -0400
Refactor parser classes out.
.../lib/Horde/Service/Weather/Current/Metar.php | 1 +
.../lib/Horde/Service/Weather/Metar.php | 1120 +-------------------
.../lib/Horde/Service/Weather/Owm.php | 2 +-
.../lib/Horde/Service/Weather/Parser/Base.php | 210 ++++
.../lib/Horde/Service/Weather/Parser/Metar.php | 564 ++++++++++
.../lib/Horde/Service/Weather/Parser/Taf.php | 453 ++++++++
framework/Service_Weather/package.xml | 8 +
7 files changed, 1247 insertions(+), 1111 deletions(-)
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Parser/Base.php
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Parser/Metar.php
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Parser/Taf.php
http://github.com/horde/horde/commit/7816e170e4d867f14a0d0fd7f1c0c885743c720b
-----------------------------------------------------------------------
commit 3add975717000fbcba181b10cb8241a86a0beb23
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 19:13:16 2016 -0400
Add methods to be more compatible with old Metar classes.
.../lib/Horde/Service/Weather/Current/Metar.php | 12 ++++++++
.../lib/Horde/Service/Weather/Forecast/Taf.php | 11 +++++++
.../lib/Horde/Service/Weather/Metar.php | 36 +++++++++++++++++-----
3 files changed, 52 insertions(+), 7 deletions(-)
http://github.com/horde/horde/commit/3add975717000fbcba181b10cb8241a86a0beb23
-----------------------------------------------------------------------
commit db2618cfc6f6b6ebf2fa4fa07f8c40e2fbd693da
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 22:58:51 2016 -0400
Add migration for adding the NOAA METAR database.
.../Weather/1_horde_service_weather_airports.php | 148 +++++++++++++++++++++
.../migration/Horde/Service/Weather/untitled | 0
2 files changed, 148 insertions(+)
create mode 100644 framework/Service_Weather/migration/Horde/Service/Weather/1_horde_service_weather_airports.php
create mode 100644 framework/Service_Weather/migration/Horde/Service/Weather/untitled
http://github.com/horde/horde/commit/db2618cfc6f6b6ebf2fa4fa07f8c40e2fbd693da
-----------------------------------------------------------------------
commit 08c24ab87570088e4b3abed5dcc31e5fa163d88d
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 22:59:36 2016 -0400
Allow setting the tablename, phpdoc.
.../lib/Horde/Service/Weather/Metar.php | 30 +++++++++++++++++++---
1 file changed, 27 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/08c24ab87570088e4b3abed5dcc31e5fa163d88d
-----------------------------------------------------------------------
commit 21b2f02bc6cf97454fe8453a98443f1e1709b0a4
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 22:59:53 2016 -0400
package.xml
framework/Service_Weather/package.xml | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/21b2f02bc6cf97454fe8453a98443f1e1709b0a4
-----------------------------------------------------------------------
commit 9e19a0c59ab03be338ba6bfa78fd7ee5842fba43
Merge: b0df765 21b2f02
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 23:10:59 2016 -0400
Merge branch 'weather'
.../Service_Weather/lib/Horde/Service/Weather.php | 295 +++++++++++
.../lib/Horde/Service/Weather/Current/Metar.php | 86 ++++
.../lib/Horde/Service/Weather/Forecast/Owm.php | 5 +-
.../lib/Horde/Service/Weather/Forecast/Taf.php | 68 +++
.../lib/Horde/Service/Weather/Metar.php | 234 +++++++++
.../lib/Horde/Service/Weather/Owm.php | 2 +-
.../lib/Horde/Service/Weather/Parser/Base.php | 210 ++++++++
.../lib/Horde/Service/Weather/Parser/Metar.php | 564 +++++++++++++++++++++
.../lib/Horde/Service/Weather/Parser/Taf.php | 453 +++++++++++++++++
.../lib/Horde/Service/Weather/Period/Taf.php | 78 +++
.../lib/Horde/Service/Weather/Wwo.php | 3 +
.../Weather/1_horde_service_weather_airports.php | 148 ++++++
.../migration/Horde/Service/Weather/untitled | 0
framework/Service_Weather/package.xml | 32 +-
horde/templates/block/weather_content.html.php | 30 +-
15 files changed, 2188 insertions(+), 20 deletions(-)
http://github.com/horde/horde/commit/9e19a0c59ab03be338ba6bfa78fd7ee5842fba43
-----------------------------------------------------------------------
commit 2884dcd3b96cb9e96fe2d291cbdaf4e76271a5cf
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 23:13:21 2016 -0400
CHANGES
framework/Service_Weather/package.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
http://github.com/horde/horde/commit/2884dcd3b96cb9e96fe2d291cbdaf4e76271a5cf
-----------------------------------------------------------------------
commit aa119f6870e48846a66ff1bba89339680300960b
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 23:33:40 2016 -0400
Don't add the qualifier, this property is strictly numeric.
framework/Service_Weather/lib/Horde/Service/Weather/Current/Metar.php | 4 ----
1 file changed, 4 deletions(-)
http://github.com/horde/horde/commit/aa119f6870e48846a66ff1bba89339680300960b
-----------------------------------------------------------------------
commit ef30169b6f587030b0913930eb1ab6a0f90d832a
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 23:34:12 2016 -0400
Round when converting.
framework/Service_Weather/lib/Horde/Service/Weather.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://github.com/horde/horde/commit/ef30169b6f587030b0913930eb1ab6a0f90d832a
-----------------------------------------------------------------------
commit 708e051f095c8c1b7c79d03615f6c63d29b97c5e
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 23:34:30 2016 -0400
Fix unit map.
framework/Service_Weather/lib/Horde/Service/Weather/Parser/Base.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://github.com/horde/horde/commit/708e051f095c8c1b7c79d03615f6c63d29b97c5e
-----------------------------------------------------------------------
commit 06fc7b645cc48d72b431f810c0ed0a166fc22074
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 8 23:34:50 2016 -0400
Don't continue to iterate after match is found.
.../Service_Weather/lib/Horde/Service/Weather/Parser/Metar.php | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
http://github.com/horde/horde/commit/06fc7b645cc48d72b431f810c0ed0a166fc22074
More information about the commits
mailing list