[commits] Horde branch master updated. 9201d5b51d40ef0ab60db23e97df134a729cb0c4
Michael J. Rubinsky
mrubinsk at horde.org
Mon Nov 7 19:01:49 UTC 2011
The branch "master" has been updated.
The following is a summary of the commits.
from: 66c4cd9fbb1c825186443f42c6890496bd81be29
c0e92d0 Simplify.
5707190 Allow client code access to the period's detail level.
ebba718 This is not an array..it's a switch block
ff9d790 parse error
c1b4f31 Use the client's IP, not the server's for obtaining weather location.
26454cf More tweaking of Service_Weather interfaces:
06e71a7 Add mostly-working Google Weather API driver.
9201d5b update filelist
-----------------------------------------------------------------------
commit c0e92d079f3458e59c100b951b8a473d75fc18d9
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Nov 7 10:28:24 2011 -0500
Simplify.
No need for these methods after all.
.../lib/Horde/Service/Weather/WeatherUnderground.php | 112 ++---
1 files changed, 35 insertions(+), 77 deletions(-)
http://git.horde.org/horde-git/-/commit/c0e92d079f3458e59c100b951b8a473d75fc18d9
-----------------------------------------------------------------------
commit 5707190600a0c3081676ed2e61a6aa49f63378c8
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Nov 7 10:35:06 2011 -0500
Allow client code access to the period's detail level.
.../Service_Weather/lib/Horde/Service/Weather/Period/Base.php | 12 +++++
.../lib/Horde/Service/Weather/Period/WeatherUnderground.php | 2 +
2 files changed, 14 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/5707190600a0c3081676ed2e61a6aa49f63378c8
-----------------------------------------------------------------------
commit ebba7181cbc9d9969b00b0ed9aa58f65a6371970
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Nov 7 10:38:12 2011 -0500
This is not an array..it's a switch block
.../lib/Horde/Service/Weather/Period/WeatherUnderground.php | 8 +++-
1 files changed, 6 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/ebba7181cbc9d9969b00b0ed9aa58f65a6371970
-----------------------------------------------------------------------
commit ff9d79002f6eaa6a7d08fbf38f2ea1a31611f3f5
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Nov 7 10:38:46 2011 -0500
parse error
.../Service_Weather/lib/Horde/Service/Weather/Period/Base.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/ff9d79002f6eaa6a7d08fbf38f2ea1a31611f3f5
-----------------------------------------------------------------------
commit c1b4f3168da9a0e3388c116000a96648a58e7af5
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Nov 7 10:39:24 2011 -0500
Use the client's IP, not the server's for obtaining weather location.
timeobjects/lib/Driver/Weather.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/c1b4f3168da9a0e3388c116000a96648a58e7af5
-----------------------------------------------------------------------
commit 26454cf3177b62d57ce65662b257c01d9442e1a2
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Nov 7 13:52:34 2011 -0500
More tweaking of Service_Weather interfaces:
* Set the units used once, let the various classes manage it from there
* Pass references to parent objects (so Periods get reference to Forecast
and Forecast gets reference to the primary driver.
* Directly return a proper icon filename instead of having client code
worry about mapping it.
* Don't throw exception for non-existent station properties, return empty string instead.
framework/Service_Weather/lib/Horde/Service/Weather/Base.php | 2 +
.../Service_Weather/lib/Horde/Service/Weather/Forecast/Base.php | 32 ++++-
.../lib/Horde/Service/Weather/Forecast/WeatherUnderground.php | 9 +-
.../Service_Weather/lib/Horde/Service/Weather/Period/Base.php | 15 ++-
.../lib/Horde/Service/Weather/Period/WeatherUnderground.php | 18 ++-
framework/Service_Weather/lib/Horde/Service/Weather/Station.php | 2 +-
.../lib/Horde/Service/Weather/WeatherUnderground.php | 15 +--
7 files changed, 73 insertions(+), 20 deletions(-)
http://git.horde.org/horde-git/-/commit/26454cf3177b62d57ce65662b257c01d9442e1a2
-----------------------------------------------------------------------
commit 06e71a7fca33d4db703a0dc2897463fde172135d
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Nov 7 13:58:49 2011 -0500
Add mostly-working Google Weather API driver.
This is a non-official and non-documented API. Use it accordingly.
.../Service_Weather/lib/Horde/Service/Weather/Current/Google.php | 68 +
.../Service_Weather/lib/Horde/Service/Weather/Forecast/Google.php | 65 +
framework/Service_Weather/lib/Horde/Service/Weather/Google.php | 301 +++++
.../Service_Weather/lib/Horde/Service/Weather/Period/Google.php | 110 ++
4 files changed, 544 insertions(+), 0 deletions(-)
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Current/Google.php
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Forecast/Google.php
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Google.php
create mode 100644 framework/Service_Weather/lib/Horde/Service/Weather/Period/Google.php
http://git.horde.org/horde-git/-/commit/06e71a7fca33d4db703a0dc2897463fde172135d
-----------------------------------------------------------------------
commit 9201d5b51d40ef0ab60db23e97df134a729cb0c4
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date: Mon Nov 7 14:01:11 2011 -0500
update filelist
framework/Service_Weather/package.xml | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/9201d5b51d40ef0ab60db23e97df134a729cb0c4
More information about the commits
mailing list