whoogle-search/app
Angel Mario d6d7110e22
Add option to disable changing config from client (#295)
* Add option to disable changing of configuration

Introduces a test to ensure the correct response code is found when
attempting to update the config when disabled, and ensure default config
is unchanged when posting a new config dict.

Attempting to update the config using the API when disabled now returns
a 403 code + redirect.

Co-authored-by: Ben Busby <benbusby@protonmail.com>
2021-04-27 10:36:03 -04:00
..
models Separate interface language from search language in env vars 2021-04-26 11:38:55 -04:00
static Remove gap between input and result types 2021-04-22 16:24:43 -04:00
templates Add option to disable changing config from client (#295) 2021-04-27 10:36:03 -04:00
utils Revert heroku app https upgrade fix 2021-04-05 11:00:56 -04:00
__init__.py Add option to disable changing config from client (#295) 2021-04-27 10:36:03 -04:00
__main__.py Swap out Flask's default web server for Waitress (#32) 2020-05-12 17:14:55 -06:00
filter.py Expand custom css theming support 2021-04-09 11:00:02 -04:00
request.py Hotfix: Send generic "Mozilla" in user agent 2021-04-08 09:43:41 -04:00
routes.py Add option to disable changing config from client (#295) 2021-04-27 10:36:03 -04:00