Commit Graph

151 Commits

Author SHA1 Message Date
Samer Albahra
d6749482b0 Update packages 2019-04-28 11:19:59 -05:00
Samer Albahra
3984a31d09 Fix npm audit issues 2019-04-11 00:04:24 +03:00
Samer Albahra
e92be3a001 Average the min/max temp for current temp (instead of using day value) 2019-04-10 01:32:25 +03:00
Samer Albahra
0145ee4bef Fix OWM always returning preciption in mm 2019-04-10 01:27:56 +03:00
Samer Albahra
bd7b522e8a Fix forecast bug 2019-03-04 16:18:16 -06:00
Samer Albahra
bdeb5c4579 Zero index the forecast data 2019-03-04 16:17:23 -06:00
Samer Albahra
de4ce48e39 Use daily forcecast data instead of hourly 2019-03-04 16:07:46 -06:00
Samer Albahra
b063bd37e5 Fix list check 2019-03-03 16:17:46 -06:00
Samer Albahra
5fab1adc98 Handle when no list data is provided in OWM reply 2019-03-03 16:13:20 -06:00
Samer Albahra
a1486b91e0 Add forecast data 2019-03-01 13:45:11 -06:00
Samer Albahra
3437d9e888 Add preflight endpoint 2019-03-01 00:29:15 -06:00
Samer Albahra
aa5b6fb9ba Add CORS to weather endpoint 2019-03-01 00:25:46 -06:00
Samer Albahra
b0a4da885b Merge pull request #10 from OpenSprinkler/add-weather-endpoint
Add weather endpoint
2019-02-28 23:46:51 -06:00
Samer Albahra
3e926f66a0 Fix mocha tests 2019-02-28 23:43:07 -06:00
Samer Albahra
3439f805e2 Attempt fix of build 2019-02-28 23:31:12 -06:00
Samer Albahra
f1eb400b93 Fix lint issues 2019-02-28 23:25:07 -06:00
Samer Albahra
b51ea21d4e Remove unused code 2019-02-28 09:17:30 -06:00
Samer Albahra
7b5939739f Add endpoint for getting weather data 2019-02-28 09:16:23 -06:00
Samer Albahra
3ec31ae6e3 Encode the API key when passed 2019-01-10 13:35:00 -06:00
Samer Albahra
5d7b5651a5 Average out the incoming data from OpenWeatherMaps 2018-08-28 00:14:27 -05:00
Samer Albahra
c0c13c053e Update package.json 2018-08-17 05:44:05 -05:00
Samer Albahra
551267db80 Update version to 1.0.0 2018-07-23 00:13:33 -05:00
Samer Albahra
341966ccff Fix code coverage not exiting 2018-07-23 00:09:12 -05:00
Samer Albahra
57f904e8f7 Fix unit testing not exiting 2018-07-23 00:04:44 -05:00
Samer Albahra
35b4d782ab Fix unit test 2018-07-23 00:01:48 -05:00
Samer Albahra
bf194c2ea1 Add node version to travis config 2018-07-22 23:57:48 -05:00
Samer Albahra
d4bacc1da0 Update developer dependencies 2018-07-22 20:03:51 -05:00
Samer Albahra
fdcc52ed86 Update dotenv dependency 2018-07-22 20:02:28 -05:00
Samer Albahra
2dd2a3f152 Remove unneeded config 2018-07-22 19:52:34 -05:00
Samer Albahra
f5c1e65b71 More cleanup 2018-07-22 19:33:57 -05:00
Samer Albahra
fc8b777328 Remove unused EB config 2018-07-22 19:32:55 -05:00
Samer Albahra
616a0bda6f Fix unit tests and remove unused code 2018-07-22 19:31:38 -05:00
Samer Albahra
1fa985e941 Clean up unused code/tests 2018-07-22 18:43:22 -05:00
Samer Albahra
14ed3bdc4e Remove dead code 2018-07-22 13:04:56 -05:00
Samer Albahra
31e8dd93ef Merge pull request #7 from OpenSprinkler/feature/add-openweather-map-support
Add OpenWeatherMap and set it as the default when no key is provided
2018-05-24 09:46:25 -05:00
Samer Albahra
6d8c355869 Handle no valid data states 2018-05-24 08:20:19 -05:00
Samer Albahra
e76ae423a9 Remove debugging code 2018-05-21 21:03:09 -05:00
Samer Albahra
9246551230 Fix bug handling unresolved locations 2018-05-21 21:00:39 -05:00
Samer Albahra
7699a0a6c8 Additional fix for preciption data input 2018-05-21 20:54:40 -05:00
Samer Albahra
25d1b1ee0b Fix bug interpretting precipitation data from OpenWeatherMap 2018-05-21 20:52:18 -05:00
Samer Albahra
aba1aee4e8 Remove Codecov references 2018-05-21 20:45:11 -05:00
Samer Albahra
222401d03f Update package-lock.json 2018-05-21 20:41:28 -05:00
Samer Albahra
a75c73aee3 Merge branch 'master' into feature/add-openweather-map-support 2018-05-21 20:40:46 -05:00
Samer Albahra
ce95005557 Merge pull request #6 from OpenSprinkler/bug/remove-google-timezone-api-dependency
Update timezone lookup to use offline method instead of Google API
2018-05-21 20:38:57 -05:00
Samer Albahra
f0780c2906 Fix missing precip data from OWM 2018-05-20 17:58:40 -05:00
Samer Albahra
10bcbfe835 Parse the float correctly instead of using as string 2018-05-20 17:09:40 -05:00
Samer Albahra
4637ac0fbe Fix the comment 2018-05-20 17:07:30 -05:00
Samer Albahra
b332eaaf14 Improve request to OWM 2018-05-20 17:06:23 -05:00
Samer Albahra
aa266d5d8b Fix missing precip data from OpenWeatherMap 2018-05-20 17:00:25 -05:00
Samer Albahra
e938f57c3c Fix issue retrieving timezone data for OpenWeather Map 2018-05-20 16:27:08 -05:00