summaryrefslogtreecommitdiff
path: root/searx/templates
AgeCommit message (Collapse)Author
2019-12-24[Fix] oscar: no HTML escaping prior to outputVipul
When results are fetched from any programming related documentation site (like git-scm.com, docs.python.org etc), content in Info box is shown as raw HTML code. This change addresses the issue by using "safe" filter feature provided by Django. See, - https://docs.djangoproject.com/en/3.0/ref/templates/builtins/#safe - Searx issue tracker (issue #1649), for more information. Resolves: #1649
2019-12-10theme: oscar - remove dust (comes from PR #1671 implementation)Markus Heiser
was inadvertently included in the commit [1] [1] https://github.com/asciimoo/searx/commit/f34ac58752b3857468d01c79d7bc3409e8b03fe3#diff-0243d1c24e9981002156cc87cc10bd53R103 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10theme: oscar - add accesskey to input tagsMarkus Heiser
l - language field s - search field t - time range field The way to activate the accesskey depends on the browser and its platform [1] [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10theme: oscar - fix auto-submit on language seletionMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10theme: oscar - tidy up trailing whitespaces and tab usageMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10Merge branch 'master' of https://github.com/asciimoo/searx into dos2unixMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10[mod] tidy oscar HTML outputDalf
2019-12-08themes: remove CR from newlinesMarkus Heiser
Adding a CR in some files and in others not, is a good starting point for a DOS+Unix mess we all have already seen in many projects. Patch fixes all files matching (even those comming from grunt's build):: find ./searx -exec file {} \; | grep CR BTW: Same with mixing TAB and SPACE indent styles in one and the same file. So if sources are tuched here in this patch, its also fixed. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-11-24add seedpeer againMarc Abonce Seguin
2019-10-29Merge branch 'master' into feature/accessibilityMathieu Brunot
2019-10-22[fix] preserve bangs in correctionsMarc Abonce Seguin
2019-10-16Merge branch 'master' into feature/accessibilityMathieu Brunot
2019-10-16add initial support for offline engines && command engineNoémi Ványi
2019-10-14:wheelchair: Add aria labels for oscar buttonsmathieu.brunot
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2019-08-06oscar and simple themes: no inline script (allow A+ Content-Security-Policy)Dalf
2019-08-06Add image format and source information to display (#1567)Frank de Lange
Add image format and source information to display - needs changes to engines to actually display something. Displays result.source (website from which the image was taken) and result.img_format (image type and size). Result is styled with result-format and result-source classes. See PR #1566 for an example of an engine which has the necessary changes. Strip <span class="highlight">...</span> in the oscar image template.
2019-08-02[fix] fix paging for the oscar theme after PR #1640Dalf
2019-08-02[enh] Add timeout limit per request (#1640)Alexandre Flament
The new url parameter "timeout_limit" set timeout limit defined in second. Example "timeout_limit=1.5" means the timeout limit is 1.5 seconds. In addition, the query can start with <[number] to set the timeout limit. For number between 0 and 99, the unit is the second : Example: "<30 searx" means the timeout limit is 3 seconds For number above 100, the unit is the millisecond: Example: "<850 searx" means the timeout is 850 milliseconds. In addition, there is a new optional setting: outgoing.max_request_timeout. If not set, the user timeout can't go above searx configuration (as before: the max timeout of selected engine for a query). If the value is set, the user can set a timeout between 0 and max_request_timeout using <[number] or timeout_limit query parameter. Related to #1077 Updated version of PR #1413 from @isj-privacore
2019-07-25[mod] restore btdigg engine as btdig.com (#1515)volth
2019-07-17Suggestions: use RawTextQuery to make the suggestions URLs. Update all ↵Dalf
themes accordingly.
2019-07-01[fix] preserve bangs in suggestions and correctionsMarc Abonce Seguin
2019-04-09use instance_name for page titleb_b
related to #1025
2019-01-07Revert "remove 'all' option from search languages"Noémi Ványi
This reverts commit 4d1770398a6af8902e75c0bd885781584d39e796.
2019-01-07[fix] Remove markup errors in simple template preferences fileÉtienne Deparis
2019-01-07Remove forgotten white spaces in templates/simple/preferences.htmlÉtienne Deparis
2018-08-19Merge pull request #1323 from cy8aer/dsgvoAdam Tauber
Create an include for __common__/aboutextend.html for imprint purposes.
2018-08-14simple theme updateAlex
- npm package update - apply #1226 - implement vim help dialog - display cookies and search URL with preferences - allow to enable / disable Open Access DOI rewrite - add a clear text button on the left of the search button - implement #1011 : the HTML title page is not set when using POST - remove searx/static/themes/simple/img/loader.gif - use full width when only there are only images as result
2018-06-18Create an include for __common__/aboutextend.html for imprint purposes.Thomas Renard
2018-03-27refactor engine's search language handlingMarc Abonce Seguin
Add match_language function in utils to match any user given language code with a list of engine's supported languages. Also add language_aliases dict on each engine to translate standard language codes into the custom codes used by the engine.
2018-03-05[UI] fix custom-select in oscarpofilo
2017-12-12revert changin about to searx docsNoémi Ványi
2017-12-12add links to footers of oscar and simple themesNoémi Ványi
Links: * Source code * Issue tracker * List of public instances Closes #1071
2017-12-08[fix] use proper encoding with both py2/3 - closes #1094Adam Tauber
2017-12-06Merge pull request #973 from MarcAbonce/languagesAdam Tauber
Remove 'all' option from search languages
2017-12-06remove 'all' option from search languagesmarc
2017-12-05[enh] make custom oscar option configurable from urlAdam Tauber
2017-12-05[enh] add dark version of oscar/logicodevAdam Tauber
2017-11-01minor fixes of doi resolverNoémi Ványi
Closes #1047
2017-11-01[enh] oa_doi_rewrite plugin broadens doai_rewritejibe-b
2017-10-26[mod] compress saved preferences in urlAdam Tauber
2017-10-18Remove / in url_for parameter for simple themeHypolite Petovan
Same change as with the oscar theme.
2017-10-18Remove extra / in url_for parameter for oscar themeHypolite Petovan
The `filename` parameter of the `url_for` function doesn't need a leading `/`, or else the resulting URL features a double-slash `//` that throws off searx 0.12.0 with Apache 2.4.25 on Debian, resulting in missing favicons.
2017-10-06preferences: make supported/not supported labelsNoémi Ványi
Also, Time range support display was missing from RTL locales. Now it is fixed. Closes #558
2017-09-08[fix] static path fixed in templates and webapp, line endings fixedmisnyo
2017-08-12[fix] fix no_results.html template of the simple themeAlexandre Flament
2017-08-08[fix] add missing no_results.html template to simple themeAdam Tauber
2017-08-06[enh] add simple theme (WIP)Alexandre Flament
2017-07-15show engine errors when no result is returned at allNoémi Ványi
2017-07-12show engine errors in infobox && add new error alertNoémi Ványi
2017-07-10[enh] generate search url of saved preferencesAdam Tauber