Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | peach: add `/about` section | siddharth ravikumar | 2022-06-18 | 5 | -2/+167 | |
| | | | | Initial version. | |||||
* | README.md: update main section | siddharth ravikumar | 2022-06-18 | 2 | -2/+2 | |
| | ||||||
* | version: bump to version 0.5.1v0.5.1 | siddharth ravikumar | 2022-06-18 | 1 | -1/+1 | |
| | ||||||
* | weather: update `NewWeather` | siddharth ravikumar | 2022-06-18 | 3 | -1/+7 | |
| | | | | Add handling to skip duplicate alerts. | |||||
* | version: bump to version 0.5.0v0.5.0 | siddharth ravikumar | 2022-06-18 | 1 | -1/+1 | |
| | ||||||
* | templates/weather.tmpl: add alerts section | siddharth ravikumar | 2022-06-18 | 3 | -2/+85 | |
| | | | | Initial version. | |||||
* | weather: update `Alert` | siddharth ravikumar | 2022-06-18 | 1 | -5/+4 | |
| | | | | Change type of `Description` and `Instruction` to `[]string`. | |||||
* | weather: update `NewWeather` | siddharth ravikumar | 2022-06-18 | 1 | -0/+22 | |
| | | | | Add alerts. | |||||
* | nws: update `GetForecastBundle` | siddharth ravikumar | 2022-06-18 | 1 | -0/+6 | |
| | | | | Add alerts to the bundle. | |||||
* | nws: update `GetAlerts` | siddharth ravikumar | 2022-06-18 | 2 | -23/+53 | |
| | | | | Implement caching. | |||||
* | nws: update `TestAlerts` | siddharth ravikumar | 2022-06-18 | 1 | -3/+73 | |
| | ||||||
* | README.md: update main section | siddharth ravikumar | 2022-06-18 | 1 | -3/+0 | |
| | ||||||
* | README.md: update main section | siddharth ravikumar | 2022-06-18 | 2 | -2/+5 | |
| | ||||||
* | nws: add `GetAlerts` | siddharth ravikumar | 2022-06-16 | 2 | -0/+77 | |
| | ||||||
* | Makefile: add `vet` | siddharth ravikumar | 2022-06-12 | 1 | -1/+5 | |
| | ||||||
* | README.md: update build requirements | siddharth ravikumar | 2022-06-12 | 1 | -1/+1 | |
| | ||||||
* | version: bump to version 0.4.4v0.4.4 | siddharth ravikumar | 2022-06-12 | 1 | -1/+1 | |
| | ||||||
* | 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 | |
| |