Commit Graph

550 Commits (master)

Author SHA1 Message Date
Adam Tauber 58a630308a [fix] convert query to string to produce valid filename for csv output 4 years ago
Adam Tauber 018b681841 [fix] add answers, suggestions, corrections to csv output
fixes #1888
4 years ago
Adam Tauber 9bc24080bf [fix] add answers, suggestions, corrections to rss output
fixes #1888
4 years ago
Marc Abonce Seguin 51e78211de monkey patch babel get_translations to support Occitan 4 years ago
Marc Abonce Seguin c0006cadf7 fix default locale and language issues 4 years ago
Markus Heiser 7c79eb9b1b Merge commit 'refs/pull/1621/head' of https://github.com/asciimoo/searx
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Noémi Ványi 99435381a8 [enh] introduce private engines
This PR adds a new setting to engines named `tokens`.
It expects a list of tokens which lets searx validate
if the request should be accepted or not.
4 years ago
Nicolas Gelot b8b13372c8 Fix deprecated werkzeug import
Close: #1830
Signed-off-by: Nicolas Gelot <nicolas.gelot@e.email>
4 years ago
Adam Tauber 8e3bd3fcbd [mod] add py2 deprecation warning to webapp 4 years ago
Marc Abonce Seguin 495ae59b31 hide suggestions box if empty
This bug happens only in python3
because map returns an iterator.
5 years ago
Adam Tauber 731e34299d
Merge pull request #1744 from dalf/optimizations
[mod] speed optimization
5 years ago
lorddavidiii 5e5ff0cbf8 webapp.py: use html.escape if cgi.escape is not available
- cgi.escape was removed in python 3.8
- also use html.escape in framalibre.py
5 years ago
Dalf 85b3723345 [mod] speed optimization
compile XPath only once
avoid redundant call to urlparse
get_locale(webapp.py): avoid useless call to request.accept_languages.best_match
5 years ago
Marc Abonce Seguin b0f89ed477 [fix] preserve bangs in corrections 5 years ago
Noémi Ványi a6f20caf32 add initial support for offline engines && command engine 5 years ago
Alexandre Flament 72029d27de
[enh] Add timeout limit per request (#1640)
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
5 years ago
Marc Abonce Seguin 59b1370824 [fix] small fixes in preferences view's text 5 years ago
Dalf 2fab23ab9a [fix] fix the debug message "starting webserver on ip:port"
was "port:ip"
5 years ago
Alexandre Flament 554a21e1d0
[enh] Add Server-Timing header (#1637)
Server Timing specification: https://www.w3.org/TR/server-timing/

In the browser Dev Tools, focus on the main request, there are the responses per engine in the Timing tab.
5 years ago
Dalf c7220b40ea Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly. 5 years ago
Marc Abonce Seguin 6626f01365 [fix] preserve bangs in suggestions and corrections 5 years ago
Marc Abonce Seguin 40272b0044 [fix] never pass bangs to autocomplete suggestions 5 years ago
Nicolas Gelot 373a66be30 Fix locale and search language
Locale and search language was always defined with english value.

This patch inits the locale on `pre_request` in order to define the
default value of locale and language preferences.

Plus the `best_match` function provided by flask babel library did not
work as expected. So the function `match_language` provided
by searx is used to detect that the language from Accepted-Language
header can be used in searx project.
5 years ago
Nicolas Gelot a818d3241d Remove get local from request.args
args parameters are merged in form in pre_request, so
this patch removes that useless operation.
5 years ago
rachmadaniHaryono 535fff109f fix: dev: python3 dict keys jsonify 5 years ago
Venca24 e8734b37c9 [FIX] image_proxify 5 years ago
Noémi Ványi b63d645a52 Revert "remove 'all' option from search languages"
This reverts commit 4d1770398a.
5 years ago
Marc Abonce Seguin 772c048d01 refactor engine's search language handling
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.
6 years ago
Adam Tauber b9d4c0523e [fix] get doi_rewriters from settings - fixes #1245 6 years ago
Adam Tauber b70ce84eb6 [enh] update translations - add taiwanese and filipino 6 years ago
Adam Tauber 49b845051f
Merge pull request #973 from MarcAbonce/languages
Remove 'all' option from search languages
7 years ago
marc 4d1770398a remove 'all' option from search languages 7 years ago
Adam Tauber e060aedc16 [enh] make custom oscar option configurable from url 7 years ago
Adam Tauber f65f90bf3c [fix] autocompleter py3 compatibility - fixes #1088 7 years ago
yujunqiang ed1c78d923 fix bug: TypeError: set(['bing', 'google']) is not JSON serializable, when curl 'http://127.0.0.1:8888/?q=xxxxxxxx&categories=general&format=json' 7 years ago
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 5f758b2d39 [mod] compress saved preferences in url 7 years ago
Noémi Ványi e73cb14889 fix hmac python3 compatibility 7 years ago
misnyo ae99f9070c [fix] static path fixed in templates and webapp, line endings fixed 7 years ago
Adam Tauber f2b13a7de0 [enh] allow default empty values for normal and result proxies 7 years ago
Noémi Ványi 243d3e4298 show engine errors in infobox && add new error alert 7 years ago
Adam Tauber 38d6ba4066 [enh] generate search url of saved preferences 7 years ago
Adam Tauber 6d76d9b202 [fix] load engines if debug mode is enabled using uwsgi 7 years ago
Alexandre Flament 87f673336f [fix] rss feed : the jinja template was not found when the rss feed returns an valid feed including an error. 7 years ago
Alexandre Flament 9c91ab33f8 [mod] settings.yml can be /etc/searx/settings.yml
The exact order is
* first from SEARX_SETTINGS_PATH,
* if not found then from searx code base,
* if not found then from /etc/searx/settings.yml
* if not found an exception stops searx loading
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
Alexandre Flament 181c12ae04 [mod] upgrade requirements.txt 7 years ago
Alexandre Flament e67dfaaac7 Merge branch 'master' into flask_perimeter 7 years ago
Alexandre Flament 15eef0ebdb [enh] validate input and raise an exception inside search.py. The exception message is output in json and rss format. 7 years ago
Alexandre Flament 7fdfeca3a4 [mod] add a __common__ template that can't be selected but that provides a common place for shared templates.
What has been moved into this template :
* opensearch*.xml is always the same whatever the themes.
* the text inside */about.html
7 years ago
David A Roberts 1d30141c20 [enh] show spelling corrections 7 years ago
Alexandre Flament 7a16aca346 Merge branch 'master' into flask_perimeter 7 years ago
Dalf 06bea82935 [mod] /config API : add language_support, paging, safesearch, supported_languages, time_range_support, timeout fields. 8 years ago
Alexandre Flament 84a2c97a65 [mod] searx uses flask framework only in webapp.py. Make migration to another framework easier. 8 years ago
Adam Tauber 7388067f15 [fix] load engines with uwsgi too 8 years ago
Adam Tauber 8bff42f049 Merge branch 'master' into languages 8 years ago
Adam Tauber 68cbf0448f [fix] do not reload engines twice if started with debug mode 8 years ago
Adam Tauber a605377c40 [enh] explicit engine init 8 years ago
Adam Tauber 14f58bdaec [fix] robot tests ++ set default value for server http protocol version 8 years ago
Adam Tauber a98bbefbcf [enh] configurable listening http protocol version 8 years ago
marc f62ce21f50 [mod] fetch supported languages for several engines
utils/fetch_languages.py gets languages supported by each engine and
generates engines_languages.json with each engine's supported language.
8 years ago
marc 149802c569 [enh] add supported_languages on engines and auto-generate languages.py 8 years ago
Adam Tauber a764ebb4b1 [enh] extend json response with suggestions, infoboxes and answers 8 years ago
Alexandre Flament e48f07a367 Merge branch 'master' into searchpy2 8 years ago
Adam Tauber d80fb2c8e8 [enh] central handling of empty result titles 8 years ago
Adam Tauber ef2ef7974a [enh] central html escaping of results 8 years ago
Adam Tauber 971ed0abd1 [enh] add quick answer functionality with an example answerer 8 years ago
Adam Tauber 827f9e41ca [fix] gettext requires request.preferences 8 years ago
Adam Tauber a757c2f005 [fix] remove unused imports 8 years ago
Adam Tauber 832cf37a97 [enh] display errors
also tried flask's flash feature but flask creates session cookies if it
isn't flushed. Avoiding session cookies to preserve privacy
8 years ago
Adam Tauber 94196c4b6c [enh] show traceback of search errors 8 years ago
Alexandre Flament 01e2648e93 Simplify search.py, basically updated PR #518
The timeouts in settings.yml is about the total time (not only the HTTP request but also the prepare the request and parsing the response)
It was more or less the case before since the threaded_requests function ignores the thread after the timeout even the HTTP request is ended.

New / changed stats :
* page_load_time : record the HTTP request time
* page_load_count: the number of HTTP request
* engine_time : the execution total time of an engine
* engine_time_count : the number of "engine_time" measure

The avg response times in the preferences are the engine response time (engine_load_time / engine_load_count)

To sum up :
* Search.search() filters the engines that can't process the request
* Search.search() call search_multiple_requests function
* search_multiple_requests creates one thread per engine, each thread runs the search_one_request function
* search_one_request calls the request function, make the HTTP request, calls the response function, extends the result_container
* search_multiple_requests waits for the the thread to finish (or timeout)
8 years ago
Alexandre Flament 58a6c045c8 [mod] replace references request.request_data (GET or POST parameters) by request.form (based on merge of POST and GET parameters) 8 years ago
dalf 67e11c42b9 Clean up the architecture
Purposes :
- isolate the plugins calls
- distinction between parsing the web request and running the search (Search class). To be able to test code easily, to run searx code outside a web server, to filter the search query parameters with plugins more easily, etc...

Details :
- request.request_data contains request.form or request.args (initialize inside pre_request() function)
- Query class is renamed RawTextQuery
- SearchQuery class defines all search parameters
- get_search_query_from_webapp create a SearchQuery instance (basically the previous Search.__init__ code)
- Search class and SearchWithPlugins class takes a SearchQuery instance as class constructor parameter
- SearchWithPlugins class inherites from Search class, and run plugins
- A dedicated function search_with_plugins executes plugins to have a well define locals() (which is used by the plugins code).
- All plugins code is executed inside the try...except block (webapp.py, index function)
- advanced_search HTTP parameter value stays in webapp.py (it is only part of UI)
- multiple calls to result_container.get_ordered_results() doesn't compute the order multiple time (note : this method was call only once before)
- paging value is stored in the result_container class (compute in the extend method)
- test about engine.suspend_end_time is done during search method call (instead of __init__)
- check that the format parameter value is one of these : html, rss, json, rss (before the html value was assumed but some text formatting wasn't not done)
8 years ago
Adam Tauber 6243639f01 [mod] do not proxify images if image proxy is not set 8 years ago
Noémi Ványi 6334fca11c add version info to config endpoint 8 years ago
Adam Tauber 1b9045ed89 [enh] use morty proxy for image proxification too if it is configured 8 years ago
Adam Tauber a67a4bf2c0 [enh] allow morty proxy without hmac key 8 years ago
Adam Tauber 574d9d40d2 Merge pull request #697 from Eig8phei/http1.1
serve pages with HTTP/1.1
8 years ago
dalf 3e7554422b [mod] the environment variable SEARX_DEBUG can override the general.debug value in settings.yml 8 years ago
Alexandre Flament a88768efd8 Merge branch 'master' into http1.1 8 years ago
Adam Tauber d5c0dcd18a [fix] unicode url proxiing 8 years ago
Adam Tauber 1be6e72d51 [enh] add result proxy support - #707 8 years ago
Adam Tauber 19a6ca0b68 [enh] use HMAC for image proxy url verification 8 years ago
Adam Tauber dceb903114 [mod] disallow search results for robots 8 years ago
Eig8phei f90eb428c6 serve pages with HTTP/1.1 8 years ago
Adam Tauber 8d4dd3c515 [fix] 404 HTTP status on not found pages - closes #681 8 years ago
Adam Tauber fa5bc3a563 [fix] use threading to recover after incomplete request crashes - closes #651 #662 8 years ago
Adam Tauber da4f1c2512 [mod] truncate result content in html - closes #224 8 years ago
Adam Tauber b4b0231617 [fix] links in new tabs without js ++ noopener bug fix - closes #674 8 years ago
Noemi Vanyi 0056c4035e add custom 404 page 8 years ago
Noemi Vanyi 16a8641649 advanced-search: panel is visible when checked before 8 years ago
Noemi Vanyi 93c0c49e9a add time range search with yahoo 8 years ago
Adam Tauber 21c5fb1c45 [fix] pep8 8 years ago
Adam Tauber 5b5478bbd9 [fix] compute the order of results only once per search 8 years ago
Adam Tauber 485da54961 [mod][fix] use the average of results number ++ do not display smaller result number than the actual result count - closes #600 8 years ago
stepshal cd9b494cb5 Fix quantity of blank lines after code object. 8 years ago
Adam Tauber fbbb307f2e [enh] add engine shortcut to config api 8 years ago
Adam Tauber 257e52954a [enh][fix] update to latest dependencies ++ fix tests & travis test runner
WARNING: dependency changes
8 years ago
Adam Tauber 2f7752b410 [enh] display number of results 8 years ago
Noemi Vanyi d43d9727a3 [enh] add server_settings call - closes #566 8 years ago
Adam Tauber 27218b85fa [fix] missing import 8 years ago
Adam Tauber bd361e60d8 Revert "use ngettext for plurals" 8 years ago
Dmitry Mikhirev 6d1d8a8f8d use ngettext 8 years ago
Noemi Vanyi adb1169fa3 add description to a var that seems to be unused 8 years ago
Noemi Vanyi 7daf98933d follow up blocked_engines renaming in templates 8 years ago
Noemi Vanyi 5867e97966 more follow ups in new preferences 8 years ago
Noemi Vanyi 8c4db08443 rename blocked engines to diabled engines 8 years ago
Noemi Vanyi 006841c4ff minor grammar fix in error message 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 fff9460238 Merge pull request #522 from jibe-b/master
add BASE engine in category "Science"
8 years ago
a01200356 94cb3a7f11 [enh] multilingual autocomplete
implemented for wikipedia, qwant and google
8 years ago
jibe-b 092e15cc1d [enh] Add BASE engine in category Science. Basic and advanced search. 8 years ago
Adam Tauber 0f518e489e [fix] csv results filename encoding 8 years ago
Adam Tauber bc81eda64b [fix] opensearch image issue - closes #507 8 years ago
Adam Tauber 0fbd705259 [enh] settings option to change instance name - closes #450 8 years ago
Thomas Pointhuber 8bc0f04f4b [fix] typo 8 years ago
Adam Tauber fab698003f [mod] move wolframalpha to "science" category 8 years ago
Adam Tauber 29dfd9679b [fix] use base_url in http redirects - closes #451 9 years ago
Adam Tauber b6c3cb0bdd [enh][mod] result handling refactor
Several changes has been made:
 - Parallel result merge
 - Scoring algorithm slightly changed (see result_score())
 - Proper Thread locking on global data manipulation
9 years ago
Adam Tauber 3a8eafcc6b [fix] cookie parameter type 9 years ago
Adam Tauber 43cd8e0c41 [enh] default settings option to safe_search - #396 9 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 ff322d3373 [fix] debug message parameter 9 years ago
Adam Tauber 6ef7c3276c [fix] reverse proxy non-root url fix 9 years ago
Thomas Pointhuber 0978f10887 [fix] do not hide categorie inside preferences if there is no engine activated 9 years ago
Alexandre Flament d4d2dd9cb3 [enh] oscar theme: display engine response times in the preferences 9 years ago
Adam Tauber 18e7d60702 Merge pull request #298 from dalf/ssl
[fix] SSL : SNI support
9 years ago
Alexandre Flament 187617498a Log an error if the ndg-httpsclient, pyopenssl and pyasn1 packages are not installed.
See #298
9 years ago
Adam Tauber 1f0e6ce65b Merge pull request #297 from dalf/proxies
[enh] Implement http proxies for outgoing requests. (see #236)
9 years ago
Adam Tauber 952473d297 Merge pull request #246 from Cqoicebordel/pix-arts
New theme !
9 years ago
Alexandre Flament 83e48fa89b flake8 fix 9 years ago
Alexandre Flament cde37be4f5 [enh] basic support for http proxy (see #236) 9 years ago
Adam Tauber d2a636f75d [mod] https rewrite pluginification 9 years ago
Adam Tauber dd84814b68 [enh] plugins: client side dependency support 9 years ago
Adam Tauber f59daa4a4b [fix] do not escape empty result content - closes #291 9 years ago
Adam Tauber b2e026dde2 [mod] remove image proxy requests from the connection pool 9 years ago
Adam Tauber 6f73f4e7a4 [fix] ordered categories in preferences - closes #258 9 years ago
Adam Tauber 1184f45ca5 [enh] reset default preferences 9 years ago
Luc Didry 7004de6aa7 Fixes #271
The opensearch method is now the method set in the preferences.

As before, POST by default and GET for Chrome/Chromium which doesn't
handle POST
9 years ago
Adam Tauber 22c4195c89 [fix] request args 9 years ago
Adam Tauber 37c58fd9ca [enh] plugin preferences - server-side ++ oscar theme 9 years ago
Adam Tauber 88aee611f7 [mod] merge GET, POST vars 9 years ago
Adam Tauber cae22bfc76 [enh] per user plugin switch 9 years ago
Adam Tauber 00cc4dcbf4 [enh] plugin support basics ++ self ip plugin 9 years ago
Adam Tauber d1b12f9016 [mod] search return value 9 years ago
Cqoicebordel d740e7384a New Theme, Pix-art.
First commit
9 years ago
Cqoicebordel bbb5e23551 Remove whitespace caused by Jinja commands
Adding this conf change will remove every newline created by a Jinja command (`{% %}`). It can save a bit of bandwidth.
9 years ago
Cqoicebordel b5cbbcede4 LTR the about page correctly 9 years ago
Adam Tauber e43f61069a [fix] category name i18n - closes #221 9 years ago
Adam Tauber df9cf9d09b Merge branch 'rtl' of github.com:Cqoicebordel/searx 9 years ago
Adam Tauber c711212662 [fix] image proxify utf urls 9 years ago
Thomas Pointhuber 832ea60e3d [fix] pep8, tests 9 years ago
Thomas Pointhuber e7de9674b1 [enh] add safesearch functionality
2 = strict
1 = moderate
0 = none
9 years ago
Adam Tauber 91f7c031d5 [fix] handle proxied https scheme with uwsgi 9 years ago
Adam Tauber 1de781a143 [enh] category specific engine deactivation - closes #205 9 years ago
Thomas Pointhuber 14079ea2b0 [fix] codec can't encode character inside image_proxify 9 years ago
Thomas Pointhuber 38302ef58b [fix] hash error if url is including non ascii characters 9 years ago
Adam Tauber b19e681cce [enh] default disabled engines - closes #109 9 years ago
Adam Tauber 8de97dac03 [mod] pretty url separation 9 years ago
Adam Tauber bac98a02cb [mod] reduce cookie expirity time - fixes #204 9 years ago
Adam Tauber 78081baa8f [enh] always enable inner autocompletition (server side only) 9 years ago
Adam Tauber 10891bdeab Merge pull request #192 from dalf/connection-pool
[enh] improve response time. close #100
9 years ago
dalf d07cfd9089 [enh] use one single http connection pool : improve response time. close #100 9 years ago
Cqoicebordel 816a2c5cbe Move cookies in render() 10 years ago
Cqoicebordel 393d24ba50 Flake8 10 years ago
Cqoicebordel 1a24fd9c52 Add cookies to every requests 10 years ago
Cqoicebordel b01b95194e Allow non specific cookies 10 years ago
Adam Tauber 8cd7617054 [fix] opensearch xml mimetype - #184 10 years ago
dalf 1d51512152 Proxify most of images references
Create hash only when necessary
10 years ago
dalf b6d27aca59 [enh] image-proxy : handle ETag and date related headers, add hash to URL 10 years ago
Adam Tauber 08c2e263f5 [enh] configurable default interface locale - #177 10 years ago
Adam Tauber 9ca50676eb [fix] pep8 10 years ago
Adam Tauber f3d7af33fd [enh] image proxy config from preferences 10 years ago
Adam Tauber 01143f48c5 [enh] image proxification 10 years ago
Adam Tauber 60eb831966 [enh] image proxy base 10 years ago
Adam Tauber fe5ff51377 [mod] pygments dependency warning 10 years ago
Adam Tauber a61a96d975 [enh] log highlighter errors 10 years ago
Adam Tauber a04fafd419 Merge branch 'code_results' of https://github.com/pointhi/searx into pointhi-code_results
Conflicts:
	searx/static/themes/default/css/style.css
	searx/static/themes/oscar/css/oscar.min.css
	searx/templates/oscar/result_templates/torrent.html
10 years ago
Adam Tauber 8ef709ea1f Merge pull request #170 from pointhi/little_fixes
Little fixes, add searx-autocompletion, more informations about torrents
10 years ago
Thomas Pointhuber c19b0899a4 [fix] little autocompleter fix 10 years ago
Thomas Pointhuber 4e2dae30f0 [enh] add autocompletion for searx-specific strings 10 years ago
Adam Tauber aff33ea896 [fix] autocompleter error handling 10 years ago
Adam Tauber 39c3f5658e [fix] endless logging recursion 10 years ago
Thomas Pointhuber 400b54191c Merge branch 'master' of https://github.com/asciimoo/searx into code_results
Conflicts:
	searx/engines/searchcode_code.py
	searx/engines/searchcode_doc.py
	searx/static/oscar/js/searx.min.js
	searx/templates/oscar/result_templates/default.html
	searx/templates/oscar/result_templates/images.html
	searx/templates/oscar/result_templates/map.html
	searx/templates/oscar/result_templates/torrent.html
	searx/templates/oscar/result_templates/videos.html
10 years ago
Adam Tauber 299a80a1eb [enh] using the logger 10 years ago
Adam Tauber 798bef77f9 [fix] static content paths 10 years ago
Adam Tauber 2f9a386c0d [enh] better result template handling 10 years ago
Adam Tauber 9f12605f7e [enh] themes static content refactor 10 years ago
Thomas Pointhuber a0293d6196 [enh] move favicons into own directory 10 years ago
Adam Tauber ada01cb367 Merge branch 'Detect-favicons' of https://github.com/Cqoicebordel/searx into Cqoicebordel-Detect-favicons
Conflicts:
	searx/templates/courgette/result_templates/default.html
	searx/templates/courgette/result_templates/map.html
	searx/templates/courgette/result_templates/videos.html
	searx/templates/default/result_templates/default.html
	searx/templates/default/result_templates/map.html
	searx/templates/default/result_templates/videos.html
	searx/webapp.py
10 years ago
Thomas Pointhuber af8dac93a8 [enh] fix pep8, improve syntax highlighting 10 years ago
Thomas Pointhuber 7adb17452d [enh] add result_templates/code.html 10 years ago
Adam Tauber f141773814 [mod][fix] https rewrite refactor ++ fixes 10 years ago
Cqoicebordel 83d6f36659 Final commit on favicons
Definitely remove engine array
Change every themes to accomodate that change
Tweak of video template of oscar to add link on video thumbnail
10 years ago
Cqoicebordel e623ee593a Add icons and badge for the themes
Add kickass in engine list
Add content for the result from kickass
10 years ago
Cqoicebordel e71b665fd5 Load the list of icons only once 10 years ago
Cqoicebordel 0bfc793194 Add a variable with all the icons of the theme
Add for the template a list of available icons in the current theme.
10 years ago
Adam Tauber 41aca9a068 [fix] autocomplete x-suggestion 10 years ago
Cqoicebordel c2e88339f7 Add pubdate
Add pubdate with a good format, against publishedDate.
10 years ago
Adam Tauber d959cb1c05 [enh] gevent/grequests changed to the built-in threading lib 10 years ago
Adam Tauber cfdfca0d41 [fix] whitespace remove 10 years ago
Thomas Pointhuber aba65369d2 [enh] make version of searx readable 10 years ago
Thomas Pointhuber 0e1035eac1 Merge https://github.com/asciimoo/searx into template_oscar
Conflicts:
	searx/translations/de/LC_MESSAGES/messages.po
	searx/translations/en/LC_MESSAGES/messages.po
	searx/translations/es/LC_MESSAGES/messages.po
	searx/translations/fr/LC_MESSAGES/messages.po
	searx/translations/hu/LC_MESSAGES/messages.po
	searx/translations/it/LC_MESSAGES/messages.po
	searx/translations/nl/LC_MESSAGES/messages.po
	searx/webapp.py
10 years ago
Adam Tauber 5740cfbf1c [fix] pep8 part II. 10 years ago
Adam Tauber 20400c40c3 Merge pull request #97 from pointhi/https
Implementing https rewrite support
10 years ago
Thomas Pointhuber bb126da0fb improve https rewrite code 10 years ago
Thomas Pointhuber 0616d26feb improve https rewriting 10 years ago
Thomas Pointhuber 9b9f097adb Implementing https rewrite support #71
* parsing XML-Files which contain target, exclusions and rules
* convert regex if required (is a little hack, probably does not work
for all rules)
* check if target rule apply for http url, and use the rules to rewrite
it
* add pice of code, to check if domain name has not changed during
rewrite (should be rewritten, using publicsuffix instead of little hack)
10 years ago
Adam Tauber 4da795895d [fix] default template handling 10 years ago
Thomas Pointhuber 517e57b996 oscar template: improve result icons 10 years ago
Thomas Pointhuber c21a907cac initial commit of the new template 'oscar'
* base.html mostly implemented
* stats.html implemented
* about.html implemented
* most of preferences.html implemented
* using bootstrap.js
10 years ago
dalf 829c758970 Merge remote-tracking branch 'upstream/master' 10 years ago
Thomas Pointhuber 510aba5e66 implement query parser and use it inside autocompletion 10 years ago
Dalf 6bfd566353 [enh] add infoboxes and answers 10 years ago
Adam Tauber c23db1b2bf [enh] more flexible category selection 10 years ago
Adam Tauber ed925cf561 [fix] query escaped in all htmls, invalid todo removed 10 years ago
Adam Tauber 22a3cf7ac7 [enh] HTTP GET theme select 10 years ago
Adam Tauber 11f5684b9f [fix] unused globals removed II. 10 years ago
Adam Tauber b0ba367a1a [enh][mod] search refactor 10 years ago
Adam Tauber cebf5868b3 [fix] pep8 10 years ago
Adam Tauber 8a7daed507 Merge pull request #74 from posativ/patch/application-alias
add application as alias
10 years ago
Martin Zimmermann cbdc1e1e76 fix gevent's monkey patch position 10 years ago
Martin Zimmermann 7d5c131349 add application as alias 10 years ago
Adam Tauber 96c8b20a04 [enh] https rewrite basics 10 years ago
Matej Cotman 08eaffe245 add multi theming support 10 years ago
Adam Tauber a41c1392f0 [fix] using different opensearch url to fix chrome POST request bug 10 years ago
Adam Tauber 44d3af9fb2 Merge pull request #61 from matejc/optional_search_get
Optional search get
10 years ago
Adam Tauber 8e2d996e27 [fix] autocomplete encoding 10 years ago
Matej Cotman 32e98967b7 add optional request with GET method for search and results pages 10 years ago
Adam Tauber 879bac8adb [fix] opensearch autocomplete 10 years ago
Adam Tauber 41dd4d9ba3 [enh] autocompleter server side part 10 years ago
Thomas Pointhuber a76525d1f3 add client var to all render pages 10 years ago
Thomas Pointhuber 71c6124f7b fix little bug to allow webapp.py without client var 10 years ago
Thomas Pointhuber c8cf95aa56 deactivate autocompleter by default 10 years ago
Thomas Pointhuber cc7f3cb617 initial implemention of autocompletion in opensearch.xml 10 years ago
Thomas Pointhuber 8abf4ab993 adding initial code for backend-part of autocompleter
including test-code
10 years ago
Adam Tauber f104553af4 [mod][fix] cookie expiration ++ pep8 compatibility 10 years ago
Adam Tauber 018a14431b Merge pull request #57 from pointhi/results
improving publishDate extraction and output of it
10 years ago
Thomas Pointhuber fd86bf8189 fix bug, to display publishDate with timezone without error 10 years ago
Adam Tauber 06b9238786 [fix] #38 10 years ago
Thomas Pointhuber 6f49bd8f08 adding publish date to video-results and rss-feed 10 years ago
Adam Tauber b735093564 [fix] pep8 10 years ago
Thomas Pointhuber d54ef01898 simplify publish Date formating 10 years ago
Thomas Pointhuber ef2b1b7515 fix little bug 10 years ago
Thomas Pointhuber 794165d19c improve published Date output 10 years ago