| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old XML API will be discontinued next month and is already returning
errors occasionally (apparently to nudge lazy devs like me to update their
code :D).
We're also doing a much better job at caching now, as suggested by the API
documentation.
We're not yet showing a weather icon, I still have to figure out how to do
this now (apparently the weather icons are a separate API / actually just a
tag.gz archive that the weather API references?), but at least we're not
panic()ing any more in the request handlers due to the unexpected error
responses :/.
See https://developer.yr.no/doc/GettingStarted/ for an intorduction to the
new API.
|
|
|
|
|
|
|
|
|
| |
The new --template-dir= flag allows the user to optionally specify the
directory where the templates are located. It will default to the old way
of using $GOPATH to find the template directory in the source directory of
startpage. Being able to use --template-dir= can be especially useful, if
you want to launch startpage when $GOPATH is not (yet) defined (e.g. when
using systemd to bring up startpage).
|
| |
|
| |
|
|
|
|
|
|
| |
We now don't immediately reload the reddit background image, as this delays
the initial page load quite a bit. Instead we trigger an XHR request on
page load to update the background image.
|
|
|
|
|
|
|
|
|
|
| |
We're now using json as a config format instead of our weird own format.
The weather icon is now optional, simply don't define WeatherPlace in your
config.
You can now specify which subreddit to get background images from. The
default is still /r/EarthPorn.
|
| |
|
| |
|
|
|
|
| |
it's actually much simpler than I thought!
|
| |
|
|
|
|
|
|
| |
If, for some reasons, startpage could not gather new data before, nil
data would have been stored, leaving the startpage mostly blank and
useless.
|
| |
|
| |
|
|
|
|
| |
Also some CSS cleanup
|
| |
|
| |
|
|
|