- Attach all HTTP handlers to a new `Handlers{}` struct.
- Remove all `handle*` function prefixes.
- Remove awkward, repetitive `app = c.Get("app").(*App)` from all handlers
and instead, simply access it from `h.app` from `Handlers{}`
Originally proposed in #2292.
- Switch away from GitHub releases API to a statically hosted custom
JSON message to include richer data.
- Instead of checking 24 hours post-boot, check 15 mins later post boot
and then every 24 hours.
- Add provision for messages to display on the admin dashboard to
communicate important / urgent announcements.
(Fingers crossed, this never has to be used!)
This commit disables the automatic upe check thappens immediately
on boot, giving users an opportunity disable it from the settings UI
before any remote requests are initiated. Tupdate checks happen
every 24 houfter boot.
Ref: #326
- A check for new versions on the GitHub releases pages happens
once every 24 hours. When a new version is available, a notice
is displayed on the admin UI.