whoogle-search/app
Ben Busby 23402e27e1
Check for updates using 24 hour time delta
Rather than only checking for an available update on app init, the check
for updates now performs the check once every 24 hours on the first
request sent after that period.

This also now catches the requests.exceptions.ConnectionError that is
thrown if the app is initialized without an active internet connection.

Fixes #649
2022-02-14 12:19:02 -07:00
..
models Use consistent header for all result types (#535) 2022-02-07 10:47:25 -07:00
static Use consistent header for all result types (#535) 2022-02-07 10:47:25 -07:00
templates Check for updates using 24 hour time delta 2022-02-14 12:19:02 -07:00
utils Check for updates using 24 hour time delta 2022-02-14 12:19:02 -07:00
__init__.py Check for updates using 24 hour time delta 2022-02-14 12:19:02 -07:00
__main__.py Swap out Flask's default web server for Waitress (#32) 2020-05-12 17:14:55 -06:00
filter.py Fix `collapse_sections` for `MINIMAL_MODE` (#654) 2022-02-11 14:44:08 -07:00
request.py Catch invalid XML in suggestion response 2021-12-28 11:38:18 -07:00
routes.py Check for updates using 24 hour time delta 2022-02-14 12:19:02 -07:00