Commit Graph

141 Commits

Author SHA1 Message Date
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
Samer Albahra
d19f121559 Fix spacing issue 2018-05-20 16:07:40 -05:00
Samer Albahra
9f32feee42 Remove debugging code 2018-05-20 16:06:00 -05:00
Samer Albahra
22d7fa5892 Add OpenWeatherMap and set it as the default when no key is provided 2018-05-20 16:04:00 -05:00
Samer Albahra
f69fef232a Update timezone lookup to use offline method instead of Google API 2018-05-19 09:53:22 -05:00
Rui Wang
bf538ab085 fix the conditional operator for precip calculation to avoid NaN issue 2016-06-08 09:48:35 -04:00
Samer Albahra
9baf984fd2 Update all dependencies 2016-06-04 01:54:55 -05:00
Samer Albahra
58e5db163c Correctly clamp precipitation value to 0 when negative 2016-06-04 01:40:29 -05:00
Samer Albahra
9c827ded59 Merge pull request #5 from PeteBa/zimm2
Added ability to set reference weather conditions (Temp, Rain, Humidity) to the Zimmerman adjustment method
2016-03-12 15:34:05 -08:00
Peter Basham
9b12b2b29e Minor changes to pass automated npm test 2016-03-11 19:26:07 +00:00
Peter Basham
0b145bf936 Minor change to explicitly declare variables and pass lint tests 2016-03-11 18:35:39 +00:00