Commit Graph

70 Commits (2de007138ca1820e865c574cc13429d5da3f019f)

Author SHA1 Message Date
Noémi Ványi 1b10abfc92 minor fixes of doi resolver
Closes #1047
7 years ago
jibe-b 575159b194 [enh] oa_doi_rewrite plugin broadens doai_rewrite 7 years ago
Adam Tauber 8901b7bddb [fix] pep8 7 years ago
Adam Tauber 5f758b2d39 [mod] compress saved preferences in url 7 years ago
Adam Tauber 38d6ba4066 [enh] generate search url of saved preferences 7 years ago
Adam Tauber 52e615dede [enh] py3 compatibility 7 years ago
marc fd65c12921 make search language handling less strict
languages.py can change, so users may query on a language that is not
on the list anymore, even if it is still recognized by a few engines.

also made no and nb the same because they seem to return the same,
though most engines will only support one or the other.
7 years ago
Adam Tauber fa26afafd8 [fix] handle missing mapsettings 7 years ago
marc e0c270bd72 tests for language support in engines 8 years ago
marc 93233c786a Refactor search language preference. 8 years ago
marc 727c287856 [fix] backwards compatibility with old language cookies 8 years ago
Noémi Ványi 299c882304 search: make language configurable from settings.yml 8 years ago
Noémi Ványi 12c369e858 preferences: refactor to check consistently input values 8 years ago
Adam Tauber 96f182d75d [fix] allow empty autocomplete setting
closes #756
closes #761
8 years ago
Adam Tauber b4b0231617 [fix] links in new tabs without js ++ noopener bug fix - closes #674 8 years ago
stepshal cd9b494cb5 Fix quantity of blank lines after code object. 8 years ago
Adam Tauber 237d251d14 [fix] save unknown preferences parameters to cookies
Without this courgette color selector can not work
8 years ago
YuLun Shih 7364455d1f Fix 'set' object does not support indexing 8 years ago
Adam Tauber bb6dae1e42 [fix] user data check 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