Commit Graph

24 Commits (9c25cd99c4b2bbeeb96f0a4efc3b2c21b06e1881)

Author SHA1 Message Date
Noémi Ványi 33e139cae6 Let admins lock user preferences 4 years ago
Noémi Ványi 116f7a6daa Force admins to set secret_key if debug mode is disabled
This commit also enables debug mode for unit tests.
4 years ago
Lynda Lopez b06fc31942
DOI improvements: enable HTTPS, update URL of doai.io (#1718)
- enabling HTTPS for sci-hub.tw by default
- making sci-hub the default DOI resolver as it has the largest collection of scientific articles.
- replaced doai.io with dissem.in, as it redirects to this new domain.

Co-authored-by: Aurora of Earth <auroraofearth@ya.ru>
4 years ago
Markus Heiser 1cae4fa88d preferences.py: implement defaults if unset
Implemnts defaults for:

- search.default_lang, search.autocomplete, search.safe_search,
- ui.default_theme, ui.default_locale
- server.image_proxy

This fixes also:

  https://github.com/asciimoo/searx/pull/1860#issuecomment-590082955

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Vipul f407dd8ef4
Switch to https for some domains 5 years ago
Alexandre Flament 3faaf34e25
Fix ./manage.sh robot_tests (#1633)
doi_resolvers / default_doi_resolver were missing in the settings_robots.yml file, so the test server was not able to start (crash). Since the output wasn't displayed, it was not obvious why the Selenium couldn't connect to searx.
5 years ago
Noémi Ványi b63d645a52 Revert "remove 'all' option from search languages"
This reverts commit 4d1770398a.
6 years ago
marc 4d1770398a remove 'all' option from search languages 7 years ago
Alexandre Flament ee080feaed [mod] the static and templates directories can be defined in the settings.yml 7 years ago
Adam Tauber 52e615dede [enh] py3 compatibility 7 years ago
Adam Tauber 14f58bdaec [fix] robot tests ++ set default value for server http protocol version 8 years ago
Noémi Ványi 299c882304 search: make language configurable from settings.yml 8 years ago
Adam Tauber 812ade82b1 [fix] robot test engine names 8 years ago
Adam Tauber bee7b497a3 [mod] rename "default" theme to "legacy" 8 years ago
Noemi Vanyi fe691a0988 new preferences handling
Preferences class was introduced in order to handle user preferences. Right now
it parses cookies and the form in preferences. Also it can retrieve settings
based on the name of the setting.

ATTENTION
Please note that engine preferences are handled differently from now on. So it
introduces incompatible changes. Every user who has saved preferences should reset and
save his/her settings again.

This change was needed, because everytime a default disabled engine was
added saved user preferences would broke. Now engine setting tracking is
fixed.
8 years ago
Adam Tauber 472a409022 [fix] robot tests 8 years ago
Adam Tauber c1d9cfd9ae [enh] default settings option to autocomplete backend - #396 9 years ago
Adam Tauber 1fcf066a81 [mod] change settings file structure according to #314 9 years ago
Adam Tauber d0830d4edf [enh] add settings option to set listening address - closes #397 9 years ago
Adam Tauber 317bce74dd [fix] robot test config option update 10 years ago
Thomas Pointhuber 6e6dbc1bb4 update settings_robot.yml 10 years ago
Matej Cotman 6624dd51f5 add robot tests 11 years ago
pw3t a01042ae61 [ehn] added ixquick engine, using startpage engine 11 years ago
Matej Cotman dd4662978d fix: robot fw, entry points, some flake8, package searx egg 11 years ago