Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | go.mod: bump to go 1.18 | siddharth ravikumar | 2022-06-12 | 1 | -1/+1 | |
| | ||||||
* | version: bump to version 0.4.3v0.4.3 | siddharth ravikumar | 2022-06-12 | 1 | -1/+1 | |
| | ||||||
* | Dockerfile: bump to golang version 1.18.3 | siddharth ravikumar | 2022-06-12 | 1 | -1/+1 | |
| | ||||||
* | peach: move around `serveStaticFile` | siddharth ravikumar | 2022-06-12 | 1 | -11/+11 | |
| | ||||||
* | peach: update default handler | siddharth ravikumar | 2022-06-12 | 1 | -30/+32 | |
| | | | | Move it into its own function. | |||||
* | search: update `Search` | siddharth ravikumar | 2022-06-12 | 2 | -12/+14 | |
| | | | | Add `Enabled`. Determines whether search is enabled or not. | |||||
* | search: move search stuff to its own package | siddharth ravikumar | 2022-06-12 | 2 | -44/+58 | |
| | ||||||
* | weather: update `Weather` | siddharth ravikumar | 2022-06-12 | 2 | -0/+6 | |
| | | | | | Add `SearchEnabled` field. Used to determined weather to render a link to the search or not. | |||||
* | weather: update NewWeather | siddharth ravikumar | 2022-06-12 | 2 | -22/+19 | |
| | | | | | Change arguments to just `lat`, `lng`. Make this function call NWS directly. | |||||
* | move "weather" stuff to its own package | siddharth ravikumar | 2022-06-12 | 2 | -95/+108 | |
| | ||||||
* | version: bump to version 0.4.2v0.4.2 | siddharth ravikumar | 2022-06-07 | 1 | -1/+1 | |
| | ||||||
* | static: peach.css: update .bd-timeline-container class | siddharth ravikumar | 2022-06-07 | 2 | -1/+8 | |
| | | | | Add left-right padding for smaller screens. | |||||
* | main: update `showWeather` | siddharth ravikumar | 2022-06-07 | 1 | -17/+6 | |
| | | | | Use `nws.GetForecastBundle`. | |||||
* | nws: `CacheWeather` -> `GetForecastBundle` | siddharth ravikumar | 2022-06-07 | 3 | -6/+40 | |
| | ||||||
* | version: bump to version 0.4.1v0.4.1 | siddharth ravikumar | 2022-06-07 | 1 | -1/+1 | |
| | ||||||
* | photon: update `Geocode` | siddharth ravikumar | 2022-06-07 | 2 | -1/+2 | |
| | | | | Include villages in the search result. | |||||
* | version: bump to version 0.4.0v0.4.0 | siddharth ravikumar | 2022-06-07 | 1 | -1/+1 | |
| | ||||||
* | nws: test: fix `TestNWSGetWrapper` | siddharth ravikumar | 2022-06-07 | 1 | -3/+13 | |
| | ||||||
* | photon: update `Geocode` | siddharth ravikumar | 2022-06-07 | 1 | -0/+2 | |
| | | | | Cache weather for each matching location. | |||||
* | nws: add `CacheWeather` | siddharth ravikumar | 2022-06-07 | 1 | -0/+9 | |
| | ||||||
* | nws: implement caching for all endpoints | siddharth ravikumar | 2022-06-07 | 1 | -18/+77 | |
| | ||||||
* | cache: update `Get` | siddharth ravikumar | 2022-06-06 | 1 | -3/+1 | |
| | | | | Don't remove the item from the store if it is expired. | |||||
* | cache: update `item` | siddharth ravikumar | 2022-06-06 | 2 | -14/+15 | |
| | | | | Change type of value to `[]byte`. | |||||
* | add `cache` package | siddharth ravikumar | 2022-06-06 | 4 | -2/+128 | |
| | | | | A simple key-value store. | |||||
* | client: update `buildHeaders` | siddharth ravikumar | 2022-06-06 | 1 | -1/+1 | |
| | | | | Update `User-agent`. | |||||
* | photon: fix type in doc | siddharth ravikumar | 2022-06-06 | 2 | -2/+2 | |
| | ||||||
* | version: bump to version 0.3.0v0.3.0 | siddharth ravikumar | 2022-06-06 | 1 | -1/+1 | |
| | ||||||
* | update .dockerignore | siddharth ravikumar | 2022-06-06 | 1 | -1/+1 | |
| | ||||||
* | update .dockerignore | siddharth ravikumar | 2022-06-06 | 1 | -2/+1 | |
| | ||||||
* | photon: update Geocode | siddharth ravikumar | 2022-06-06 | 1 | -0/+1 | |
| | | | | Include towns in the search result. | |||||
* | peach: add `/version` endpoint | siddharth ravikumar | 2022-06-05 | 2 | -1/+5 | |
| | ||||||
* | add .dockerignore | siddharth ravikumar | 2022-06-05 | 1 | -0/+10 | |
| | ||||||
* | static/font/RobotoFlex-Regular.ttf -> static/font/roboto-flex.ttf | siddharth ravikumar | 2022-06-05 | 3 | -2/+2 | |
| | ||||||
* | version: bump to version 0.2.1v0.2.1 | siddharth ravikumar | 2022-06-05 | 1 | -1/+1 | |
| | ||||||
* | peach: update peachFS | siddharth ravikumar | 2022-06-05 | 1 | -1/+1 | |
| | | | | Don't include un-minified css | |||||
* | static/peach.css: update comments | siddharth ravikumar | 2022-06-05 | 2 | -11/+8 | |
| | ||||||
* | templates/weather.tmpl: use minified css | siddharth ravikumar | 2022-06-05 | 1 | -2/+2 | |
| | ||||||
* | templates/search.tmpl: use minified css | siddharth ravikumar | 2022-06-05 | 1 | -2/+2 | |
| | ||||||
* | static: add peach.min.css | siddharth ravikumar | 2022-06-05 | 1 | -0/+1 | |
| | ||||||
* | Makefile: add CSS target | siddharth ravikumar | 2022-06-05 | 1 | -1/+5 | |
| | ||||||
* | bin: add minify | siddharth ravikumar | 2022-06-05 | 2 | -1/+7 | |
| | ||||||
* | bin: add Makefile | siddharth ravikumar | 2022-06-05 | 1 | -0/+12 | |
| | ||||||
* | Makefile: remove image and image-push | siddharth ravikumar | 2022-06-05 | 1 | -8/+0 | |
| | ||||||
* | static/peach.css: tabs -> spaces | siddharth ravikumar | 2022-06-05 | 1 | -2/+2 | |
| | ||||||
* | version: bump to version 0.2.0v0.2.0 | siddharth ravikumar | 2022-06-05 | 1 | -1/+1 | |
| | ||||||
* | nws: update `Points` | siddharth ravikumar | 2022-06-05 | 2 | -21/+5 | |
| | | | | Use `nws.get` for hitting the NWS points endpoint. | |||||
* | nws: update GetForecastHourly | siddharth ravikumar | 2022-06-05 | 2 | -22/+6 | |
| | | | | Use `nws.get` for hitting the NWS forecast hourly endpoint. | |||||
* | nws: update GetForecast | siddharth ravikumar | 2022-06-05 | 1 | -20/+4 | |
| | | | | Use `nws.get` for hitting the NWS forecast endpoint. | |||||
* | nws: add get | siddharth ravikumar | 2022-06-05 | 2 | -1/+146 | |
| | | | | A thin HTTP GET wrapper for hitting NWS API endpoints. | |||||
* | README.md: link to peach site | siddharth ravikumar | 2022-06-04 | 1 | -1/+3 | |
| |