summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* peach: add `/about` sectionsiddharth ravikumar2022-06-185-2/+167
| | | | Initial version.
* README.md: update main sectionsiddharth ravikumar2022-06-182-2/+2
|
* version: bump to version 0.5.1v0.5.1siddharth ravikumar2022-06-181-1/+1
|
* weather: update `NewWeather`siddharth ravikumar2022-06-183-1/+7
| | | | Add handling to skip duplicate alerts.
* version: bump to version 0.5.0v0.5.0siddharth ravikumar2022-06-181-1/+1
|
* templates/weather.tmpl: add alerts sectionsiddharth ravikumar2022-06-183-2/+85
| | | | Initial version.
* weather: update `Alert`siddharth ravikumar2022-06-181-5/+4
| | | | Change type of `Description` and `Instruction` to `[]string`.
* weather: update `NewWeather`siddharth ravikumar2022-06-181-0/+22
| | | | Add alerts.
* nws: update `GetForecastBundle`siddharth ravikumar2022-06-181-0/+6
| | | | Add alerts to the bundle.
* nws: update `GetAlerts`siddharth ravikumar2022-06-182-23/+53
| | | | Implement caching.
* nws: update `TestAlerts`siddharth ravikumar2022-06-181-3/+73
|
* README.md: update main sectionsiddharth ravikumar2022-06-181-3/+0
|
* README.md: update main sectionsiddharth ravikumar2022-06-182-2/+5
|
* nws: add `GetAlerts`siddharth ravikumar2022-06-162-0/+77
|
* Makefile: add `vet`siddharth ravikumar2022-06-121-1/+5
|
* README.md: update build requirementssiddharth ravikumar2022-06-121-1/+1
|
* version: bump to version 0.4.4v0.4.4siddharth ravikumar2022-06-121-1/+1
|
* go.mod: bump to go 1.18siddharth ravikumar2022-06-121-1/+1
|
* version: bump to version 0.4.3v0.4.3siddharth ravikumar2022-06-121-1/+1
|
* Dockerfile: bump to golang version 1.18.3siddharth ravikumar2022-06-121-1/+1
|
* peach: move around `serveStaticFile`siddharth ravikumar2022-06-121-11/+11
|
* peach: update default handlersiddharth ravikumar2022-06-121-30/+32
| | | | Move it into its own function.
* search: update `Search`siddharth ravikumar2022-06-122-12/+14
| | | | Add `Enabled`. Determines whether search is enabled or not.
* search: move search stuff to its own packagesiddharth ravikumar2022-06-122-44/+58
|
* weather: update `Weather`siddharth ravikumar2022-06-122-0/+6
| | | | | Add `SearchEnabled` field. Used to determined weather to render a link to the search or not.
* weather: update NewWeathersiddharth ravikumar2022-06-122-22/+19
| | | | | Change arguments to just `lat`, `lng`. Make this function call NWS directly.
* move "weather" stuff to its own packagesiddharth ravikumar2022-06-122-95/+108
|
* version: bump to version 0.4.2v0.4.2siddharth ravikumar2022-06-071-1/+1
|
* static: peach.css: update .bd-timeline-container classsiddharth ravikumar2022-06-072-1/+8
| | | | Add left-right padding for smaller screens.
* main: update `showWeather`siddharth ravikumar2022-06-071-17/+6
| | | | Use `nws.GetForecastBundle`.
* nws: `CacheWeather` -> `GetForecastBundle`siddharth ravikumar2022-06-073-6/+40
|
* version: bump to version 0.4.1v0.4.1siddharth ravikumar2022-06-071-1/+1
|
* photon: update `Geocode`siddharth ravikumar2022-06-072-1/+2
| | | | Include villages in the search result.
* version: bump to version 0.4.0v0.4.0siddharth ravikumar2022-06-071-1/+1
|
* nws: test: fix `TestNWSGetWrapper`siddharth ravikumar2022-06-071-3/+13
|
* photon: update `Geocode`siddharth ravikumar2022-06-071-0/+2
| | | | Cache weather for each matching location.
* nws: add `CacheWeather`siddharth ravikumar2022-06-071-0/+9
|
* nws: implement caching for all endpointssiddharth ravikumar2022-06-071-18/+77
|
* cache: update `Get`siddharth ravikumar2022-06-061-3/+1
| | | | Don't remove the item from the store if it is expired.
* cache: update `item`siddharth ravikumar2022-06-062-14/+15
| | | | Change type of value to `[]byte`.
* add `cache` packagesiddharth ravikumar2022-06-064-2/+128
| | | | A simple key-value store.
* client: update `buildHeaders`siddharth ravikumar2022-06-061-1/+1
| | | | Update `User-agent`.
* photon: fix type in docsiddharth ravikumar2022-06-062-2/+2
|
* version: bump to version 0.3.0v0.3.0siddharth ravikumar2022-06-061-1/+1
|
* update .dockerignoresiddharth ravikumar2022-06-061-1/+1
|
* update .dockerignoresiddharth ravikumar2022-06-061-2/+1
|
* photon: update Geocodesiddharth ravikumar2022-06-061-0/+1
| | | | Include towns in the search result.
* peach: add `/version` endpointsiddharth ravikumar2022-06-052-1/+5
|
* add .dockerignoresiddharth ravikumar2022-06-051-0/+10
|
* static/font/RobotoFlex-Regular.ttf -> static/font/roboto-flex.ttfsiddharth ravikumar2022-06-053-2/+2
|