summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* version: bump to version 0.2.1v0.2.1siddharth ravikumar2022-06-051-1/+1
|
* peach: update peachFSsiddharth ravikumar2022-06-051-1/+1
| | | | Don't include un-minified css
* static/peach.css: update commentssiddharth ravikumar2022-06-052-11/+8
|
* templates/weather.tmpl: use minified csssiddharth ravikumar2022-06-051-2/+2
|
* templates/search.tmpl: use minified csssiddharth ravikumar2022-06-051-2/+2
|
* static: add peach.min.csssiddharth ravikumar2022-06-051-0/+1
|
* Makefile: add CSS targetsiddharth ravikumar2022-06-051-1/+5
|
* bin: add minifysiddharth ravikumar2022-06-052-1/+7
|
* bin: add Makefilesiddharth ravikumar2022-06-051-0/+12
|
* Makefile: remove image and image-pushsiddharth ravikumar2022-06-051-8/+0
|
* static/peach.css: tabs -> spacessiddharth ravikumar2022-06-051-2/+2
|
* version: bump to version 0.2.0v0.2.0siddharth ravikumar2022-06-051-1/+1
|
* nws: update `Points`siddharth ravikumar2022-06-052-21/+5
| | | | Use `nws.get` for hitting the NWS points endpoint.
* nws: update GetForecastHourlysiddharth ravikumar2022-06-052-22/+6
| | | | Use `nws.get` for hitting the NWS forecast hourly endpoint.
* nws: update GetForecastsiddharth ravikumar2022-06-051-20/+4
| | | | Use `nws.get` for hitting the NWS forecast endpoint.
* nws: add getsiddharth ravikumar2022-06-052-1/+146
| | | | A thin HTTP GET wrapper for hitting NWS API endpoints.
* README.md: link to peach sitesiddharth ravikumar2022-06-041-1/+3
|
* README.md: update buildingsiddharth ravikumar2022-06-041-1/+1
|
* README.md: update buildingsiddharth ravikumar2022-06-041-0/+7
|