summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cache: make it concurrency safesiddharth ravikumar2022-12-262-0/+58
|
* Makefile: update `peach` and `test` targetssiddharth ravikumar2022-12-261-2/+2
| | | | Build and test with `-race` flag on.
* Dockerfile: update base image to 1.19.4siddharth ravikumar2022-12-261-1/+1
|
* go.mod: upgrade to go 1.19siddharth ravikumar2022-12-262-1/+2
|
* version: bump to version 0.10.1v0.10.1siddharth ravikumar2022-08-131-1/+1
|
* time: update `Duration`siddharth ravikumar2022-08-132-6/+31
| | | | Add handling for parsing days.
* templates: update weather.tmplsiddharth ravikumar2022-08-131-0/+2
| | | | Show humidity only if it has a non-zero value.
* weather: update `humidity`siddharth ravikumar2022-08-132-11/+10
| | | | | - Change return type to just (int). - Add check to skip a value if it's < 1.
* version: bump to version 0.10.0v0.10.0siddharth ravikumar2022-08-071-1/+1
|
* templates: update weather.tmplsiddharth ravikumar2022-08-073-11/+33
| | | | Add humidity.
* weather: update `NewWeather`siddharth ravikumar2022-08-071-0/+8
| | | | Add humidity.
* weather: add `humidity`siddharth ravikumar2022-08-071-0/+17
|
* nws: update `GetForecastBundle`siddharth ravikumar2022-08-071-0/+7
| | | | Add `ForecastGrid` to the `ForecastBundle`.
* time: add `IsCurrent`siddharth ravikumar2022-08-062-1/+62
|
* time: update `Duration`siddharth ravikumar2022-08-062-21/+26
| | | | Return `time.Duration` instead of seconds as `int`.
* time: `durationToSeconds` -> `Duration`siddharth ravikumar2022-07-212-7/+7
|
* add `time` packagesiddharth ravikumar2022-07-203-1/+113
|
* nws: add `GetForecastGridData`siddharth ravikumar2022-07-133-1/+104
|
* version: bump to version 0.9.0v0.9.0siddharth ravikumar2022-07-021-1/+1
|
* nws: update `GetForecastHourly`siddharth ravikumar2022-07-022-24/+47
| | | | Change return error type to `nws.Error`
* nws: update `GetForecast`siddharth ravikumar2022-07-022-20/+34
| | | | Change return error type to `nws.Error`
* nws: update `Points`siddharth ravikumar2022-07-023-21/+30
| | | | Change return error type to `nws.Error`
* version: bump to version 0.8.3v0.8.3siddharth ravikumar2022-06-241-1/+1
|
* nws: update `GetForecastHourly`siddharth ravikumar2022-06-241-1/+16
| | | | Add handling to error out when weather data returned by NWS is stale.
* client: update `buildHeaders`siddharth ravikumar2022-06-243-1/+9
| | | | Add `Accept` header.
* version: bump to version 0.8.2v0.8.2siddharth ravikumar2022-06-231-1/+1
|
* client: update `buildHeaders`siddharth ravikumar2022-06-233-2/+28
| | | | Add Cache-Control header
* version: bump to version 0.8.1v0.8.1siddharth ravikumar2022-06-211-1/+1
|
* static/logo: change logo file namessiddharth ravikumar2022-06-2112-12/+12
|
* static/logo/peach.rkt: update logosiddharth ravikumar2022-06-2111-9/+9
|
* templates/weather.tmpl: update alerts sectionsiddharth ravikumar2022-06-211-0/+2
| | | | Don't render instruction block if `{{ .Instruction }}` is empty.
* templates/about.tmpl: update terms and privacysiddharth ravikumar2022-06-211-13/+1
|
* templates/head.tmpl: change theme-colorsiddharth ravikumar2022-06-212-2/+2
|
* version: bump to version 0.8.0v0.8.0siddharth ravikumar2022-06-191-1/+1
|
* static/peach.css: update footersiddharth ravikumar2022-06-192-1/+2
|
* peach: update `showMeta`siddharth ravikumar2022-06-192-21/+8
|
* templates/head.tmpl: add `description` and `theme-color` meta elementssiddharth ravikumar2022-06-191-0/+2
|
* templates/footer.tmpl: add width and height attrs for peach imgsiddharth ravikumar2022-06-191-1/+2
|
* static/logo: remove peach.pngsiddharth ravikumar2022-06-191-0/+0
|
* peach: update `peachFS`siddharth ravikumar2022-06-191-1/+1
|
* templates/about.tmpl: use footer.tmplsiddharth ravikumar2022-06-191-9/+1
|
* templates: update footer.tmplsiddharth ravikumar2022-06-192-2/+2
|
* templates/weather.tmpl: use footer.tmplsiddharth ravikumar2022-06-191-9/+1
|
* templates: add footer.tmplsiddharth ravikumar2022-06-191-0/+9
|
* templates/search.tmpl: use head.tmplsiddharth ravikumar2022-06-191-6/+1
|
* templates/weather.tmpl: use head.tmplsiddharth ravikumar2022-06-191-6/+1
|
* templates/about.tmpl: use head.tmplsiddharth ravikumar2022-06-192-6/+3
|
* templates: add head.tmplsiddharth ravikumar2022-06-191-0/+16
|
* static/logo: peach.rkt: remove smaller logo sizessiddharth ravikumar2022-06-195-2/+2
|
* static/logo: peack.rkt: make logos in different sizessiddharth ravikumar2022-06-1913-2/+4
|