Commit Graph

541 Commits (222112bb72c043574dacfc4c6cb60202b087da00)

Author SHA1 Message Date
Markus Heiser 73d73dcf9b [static] make /stats more CSP compliant- make themes.all
Based on commits

- 0507e185 [fix] bar graph and rename CSS class engine-scores -> engine-score
- 3e9ad7ae [fix] make /stats more CSP compliant - github issue form
- 34859d0e [fix] make /stats more CSP compliant - oscar theme
- 0a6c4884 [fix] make /stats more CSP compliant - simple theme
- cdfb4b7f [fix] make /stats more CSP compliant - bar graph
- 965817f2 [fix] simple theme - generate missing sourceMap file

this patch is generated by::

     make themes.all

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser 0507e185a5 [fix] bar graph and rename CSS class engine-scores -> engine-score
- drop #main_stats selector in stats.less
- 'engine-score' exists before this PR.
- untabify searx/static/themes/__common__/less/stats.less

for details see comment at: d93bec7638..1204e4f07e (r633571496)

Suggested-by: @dalf in commit 1204e4f0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser 3e9ad7ae0c [fix] make /stats more CSP compliant - github issue form
Hide textarea from github issue form::

    ./__common__/new_issue.html:6:    <textarea name="body" style="display: none;">{{- '' -}}

BTW: fix indentation.

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser 0a6c488417 [fix] make /stats more CSP compliant - simple theme
Replace simple theme's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/simple/less/stats.less`` ::

    ./simple/stats.html:26:  <table style="max-width: 1280px; margin: 0 auto 0 0;">
    ./simple/stats.html:28:  <th scope="col" style="width:20rem;">{{ th_sort('name', _("Engine name")) }}</th>
    ./simple/stats.html:29:  <th scope="col" style="width:7rem; text-align: right;">{{ th_sort('score', _('Scores')) }}</th>
    ./simple/stats.html:32:  <th scope="col" style="text-align: right;">{{ th_sort('reliability', _('Reliability')) }}</th>
    ./simple/stats.html:37:  <td style="text-align: right;">
    ./simple/stats.html:90:  <td style="text-align: right;"> {{ engine_reliabilities.get(engine_stat.name, {}).get('reliablity') }}</td>
    ./simple/stats.html:106: <table style="max-width: 1280px; margin: 1rem; border: 1px solid gray;">
    ./simple/stats.html:107: <tbody style="padding-top: 1rem;">
    ./simple/stats.html:110: <th scope="row" style="width: 10rem">{{ _('Exception') }}</th><td>{{ error.exception_classname }}</td>
    ./simple/stats.html:112: <th scope="row" style="width: 10rem">{{ _('Message') }}</th><td>{{ error.log_message }}</td>
    ./simple/stats.html:114: <th scope="row" style="width: 10rem">{{ _('Percentage') }}</th><td style="width: 10rem">{{ error.percentage }}</td>
    ./simple/stats.html:119: <span style="border-right: 1px solid gray; padding: 0 1rem 0 0; margin: 0 0 0 0.5rem;">{{ param }}</span>
    ./simple/stats.html:136: <th scope="col" style="width: 10rem">{{ _('Failed test') }}</th>

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser cdfb4b7ff9 [fix] make /stats more CSP compliant - bar graph
Replace bar graph's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/__common__/less/stats.less`` ::

    ./simple/stats.html:49: <span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./simple/stats.html:57: <span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./simple/stats.html:58: <span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"></span>{{- "" -}}
    ./oscar/stats.html:50:  <span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./oscar/stats.html:58:  <span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./oscar/stats.html:59:  <span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"></span>{{- "" -}}

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser 965817f294 [fix] simple theme - generate missing sourceMap file
C&P from searx/static/themes/oscar/gruntfile.js

Suggested-by: @dalf in commit 1204e4f0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser 93594a7b42 [less] update grunt-contrib-less v3.3.0
Upgraded [v3.3.0] otherwise::

`  width: calc(100% - 5rem);`

becomes `width: 95%` once compiled by less version 1.4.1.

[v3.3.0] https://github.com/gruntjs/grunt-contrib-less/releases/tag/v3.0.0

Suggested-by: @dalf in commit 1204e4f0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser 8291804082 [static] make themes.all - from commit 9e8171e38
Based on commit 9e8171e38 this patch is generated by::

     make themes.all

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser 70cc196e2d [fix] new_issue.html: drop inline style attributes (CSP conformance)
Inline styles are blocked by default with Content Security Policy (CSP).  Move
the inline styles from 'new_issue.html' to::

    searx/static/themes/__common__/less/new_issue.less

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser 7f2dc530b2 [fix] simple theme - remove no longer used stats.less file
File searx/static/themes/simple/less/stats.less is not used (imported) in any
other less file.  I can't say when it's usage was dropped or if it has ever been
used.  ATM this file is without any usage.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser 54d57c8296 [fix] grunt/less/development: oscar light & dark logicodev mixes CSS
closes: https://github.com/searxng/searxng/issues/39

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser 6b92e8c6fd [upd] ./manage pyenv.cmd searx_extra/update/update_pygments.py
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament 7032f7521c [mod] /stats: simple theme implementation 3 years ago
Alexandre Flament 09e7ecdce2 [mod] /stats : add reliability column and sort by column links 3 years ago
Alexandre Flament 65c29081cc [mod] update /stats 3 years ago
Alexandre Flament baff1cbbab fix issues from review 3 years ago
Alexandre Flament 7cfd8d900a [mod] oscar: /preferences , engines tab: report engine times
* display the median time instead of the average.
* add a "Reliability" column (sum up the metrics and the checker results).
* the "selected language", "SafeSearch", "Time range" values are displayed as "broken" when the checker tests fail.
3 years ago
Alexandre Flament 92db0227b1 Merge remote-tracking branch 'dalf/oscar-images' 3 years ago
Markus Heiser 062d589f86 [fix] xpath expressions to grap all items from bandcamp's response
I also found some items missing a thumbnail and I used text_extract for content
and title, to remove unneeded whitespaces.

BTW: added bandcamp's favicon

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament 7a0fbdecc4 [enh] oscar: image thumbnail layout
Adjust thumbnail sizes to fill the container width
3 years ago
Marc Abonce Seguin 419b907a0b fix dark "expand" button from infobox 3 years ago
Alexandre Flament d648001688 [mod] preferences: a tooltip is shown when the mouse is over the engine names 3 years ago
Alexandre Flament 6bd01bf81f [mod] oscar: fix the sourcemap URL in *.min.css
Close https://github.com/searx/searx/issues/2670

Note: clean-css contains a bug:
* a multiline comment or URL adds "$stdin" to the sourcemap (see src/less/logicodev/search.less)
* in this case when the user opens the devtools, the browser fails to load this "https://.../$stdin" URL
* it is not a problem and the error appears only when the user actively tries to debug the CSS.
* seems related to https://github.com/jakubpawlowicz/clean-css/issues/593
3 years ago
Alexandre Flament 6553c79029 [mod] replace /translations.js by embedded JSON
In webapp.py, there is a new function "get_translations" lists available translations

Close #2064
3 years ago
Alexandre Flament 32cd0d31b3 [mod] upgrade pygments
add searx_extra/update/update_pygments.py to update the css style of the oscar and simple themes.
3 years ago
Alexandre Flament cb04d42806 [mod] oscar: update README.rst 3 years ago
Alexandre Flament 86912e2272 [mod] oscar: get bootstrap and typeahead from NPM 3 years ago
Alexandre Flament 44407353ef [mod] oscar: get leaflet and jquery from NPM
easy to upgrade (package.json)
3 years ago
Alexandre Flament c7133efb12 [mod] oscar: move compiled files to the src directory 3 years ago
Alexandre Flament eda3b513ac [mod] oscar: remove polyfills for Internet Explorer 3 years ago
Alexandre Flament 1268910274 [mod] oscar: remove unused images 3 years ago
Alexandre Flament bdb41bea7b [mod] theme: remove require-2.1.15.min.js
See https://github.com/requirejs/requirejs/issues/1816

requirejs loads one file: leaflet.

This commit:
* removes requirejs
* load leaflet using <script src...> HTML tag in searx/templates/oscar/base.html
3 years ago
Alexandre Flament 2f3d5ec2af [mod] oscar: upgrade npm dependencies 3 years ago
Alexandre Flament 9bc1856e2b [mod] themes: remove legacy, courgette and pix-art themes 4 years ago
Alexandre Flament f1e016e9ea [mod] oscar theme: added option into gruntfile.js for generate sourceMap
Credits go to @mrwormo  (see PR #2308 )
4 years ago
GazoilKerozen 1b700738eb
[fix] fix the reset button in the oscar theme (#2306)
Rely on javascript instead of type="clear"

Close #2009
4 years ago
Noémi Ványi 4a36a3044d
Add recoll engine (#2325)
recoll is a local search engine based on Xapian:
http://www.lesbonscomptes.com/recoll/

By itself recoll does not offer web or API access,
this can be achieved using recoll-webui:
https://framagit.org/medoc92/recollwebui.git

This engine uses a custom 'files' result template

set `base_url` to the location where recoll-webui can be reached
set `dl_prefix` to a location where the file hierarchy as indexed by recoll can be reached
set `search_dir` to the part of the indexed file hierarchy to be searched, use an empty string to search the entire search domain
4 years ago
Marc Abonce Seguin 8d71420b45 [mod] separate index and search routes
This makes it easier to separately handle search and index requests
from a web server or from a reverse proxy.

If a request to index contains a query, a permanent redirect HTTP response
is returned. This should give some level of backwards compatibility
for users that have set a searx instance in their browser's search bar.
4 years ago
Alexandre Flament c23401e9fa [fix] simple theme: fix autocomplete
AJAX requests send the X-Requested-With HTTP header,
so searx.webapp.autocompleter returns the results with the expected data format.

Related to #2127
Close #2203
4 years ago
Marc Abonce Seguin 7e82817925 wait for img to load before hiding infobox toggle 4 years ago
Marc Abonce Seguin a2430154b9
fix selects in preferences so they look consistent (#2150) 4 years ago
Marc Abonce Seguin 0601f2bb48 add toggle to resize infobox 4 years ago
Marc Abonce Seguin 57bad502a6 add visually-hidden css class to pointhi style 4 years ago
Marc Abonce Seguin 74270a3fc2 add class for infobox's official url 4 years ago
Marc Abonce Seguin 001eb047cd set max-height on infobox's images 4 years ago
Noémi Ványi 74013c212a Revert "[enh] new plugin to open results on new browser tabs"
This reverts commit ab6a7601cb.

Closes #2037
4 years ago
Adam Tauber 164e4725f3 [mod] add dedicated directory to external plugins with gitignore file 4 years ago
Adam Tauber 3227695b0b [fix] indicate visually active tab programmatically on the page Preferences - #350 4 years ago
Noémi Ványi 223114c575 [fix] refine contrast ratios of texts and borders - #350 4 years ago
Markus Heiser f14a7add31 Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme 4 years ago
Adam Tauber cc164abdfc [fix] make "Advanced settings" openable and usable with keyboard - #350 4 years ago
Adam Tauber a984afd6a3 [enh] make checkboxes in preferences accessible using keyboard - #350 4 years ago
Adam Tauber cc84566e0a [enh] add visually hidden but accessible css class - #350 4 years ago
Markus Heiser ca1c3bd15d
Merge branch 'master' into csp-oscar-theme 4 years ago
Noémi Ványi 4ec2fab583 Consider HTTP request when running search categories on select is enabled
Closes #1138
4 years ago
Markus Heiser cc721b5d86 Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme 4 years ago
Adam Tauber 4ca0d8cb0f [enh] add translatable strings to javascript - closes #461 4 years ago
Markus Heiser e088b95e74 Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme 4 years ago
Adam Tauber 43f7b84a59 [fix] do not stretch images - fixes #1262 4 years ago
Markus Heiser d065b9e4fb
Merge branch 'master' into csp-oscar-theme 4 years ago
Adam Tauber c6ca468df2 [fix] wrap long lines in infoboxes - fixes #1652 4 years ago
Markus Heiser 434e452d54 Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme 4 years ago
Adam Tauber 08fdfc73fb [fix] do not autocomplete for pressing enter when mouse is on the completion list - fixes #340 4 years ago
Adam Tauber 47cddcab8b [mod] reduce the gap between results 4 years ago
Adam Tauber bab5efeac9 [enh] update npm dependency versions 4 years ago
Adam Tauber f47e6fc0f8 [enh] build css after less file changes 4 years ago
Adam Tauber ceedab6aed
Merge pull request #983 from ahangarha/patch-1
Update results.less
4 years ago
Markus Heiser a3431d59d3 Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme 4 years ago
Noémi Ványi d7d89369cb add disable all and allow all engines button to Oscar preferences 4 years ago
Markus Heiser c9f9e7da52 [build] rebuild of the oscar theme, build from ad208378
the CSS files has been build by:

    $ make themes.oscar

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser ad208378bb [fix] oscar theme, remove inline style attributes (CSP compliants)
Inline styles are blocked by default with Content Security Policy (CSP).  Move
the rest of inline styles to CSS and correct the HTML template of the oscar
preference page.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser 6846402d73 .gitignore: make package-lock.json visible
Even if we do not versioning them right now.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser d471ec86dd Makefile: add target node.env - download & install npm dependencies
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser 757ebb5d9f [fix] brands: add variables from build env to grunt process
We have some variables in the build environment which are also needed in the
grunt process when building themes.  Theses variables are relavant if one
creates a fork with its own branding.  We treat these variables under the term
'brands'.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Adam Tauber 9a2f26d915 [enh] submit search on suggestion select - closes #807 4 years ago
Adam Tauber 65cae85735 [fix] load new page with infinite scroll if there is no scrollbar - fixes #759 4 years ago
Markus Heiser e64ff38217
Merge branch 'master' into fix-infinite-scroll 4 years ago
Nick Espig 0ae86cd168
Fix not jumping to results loaded by infinite scroll
Infinite scroll adds a `hr` tag to split up the sections loaded by it.
The vim bindings `j` and `k`, which jump to the next and previous result
respectively, search for a **direct** sibling with the class `result`.
With the `hr` between results a direct sibling cannot be found. To fix
this we remove the restriction of it having to be a direct sibling.
5 years ago
Dalf 0e7b6c9a03 [mod] infinite scroll: XHR requests are sent with the header "Accept: text/html".
Fix https://github.com/searx/searx-docker/issues/16
5 years ago
Markus Heiser 2a5c39e33c theme: oscar - tidy up trailing whitespaces and tab usage
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 56b7e05721 themes: remove CR from newlines
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>
5 years ago
Noémi Ványi a6f20caf32 add initial support for offline engines && command engine 5 years ago
Dalf 6fbba63c83 oscar and simple themes: no inline script (allow A+ Content-Security-Policy) 5 years ago
Frank de Lange e4e8e6da4c Add image format and source information to display (#1567)
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.
5 years ago
cy8aer 4dc792e1e2 [enh] add invidious engine. (#1657)
closes #1372
5 years ago
Nick Espig 06979fa082
Load next page shortly before hitting the bottom
This improves the user experience by loading in the next entries shortly before him getting to the bottom. It makes the scrolling more smooth without a break in between.

It also fixes an error on my browser that scrolling never hits the defined number. When I debugged it I hit `.scrolltop` of 1092.5 and the `doc.height - win.height` of 1093, so the condition was never true.
5 years ago
dalf 965eebd12b simple theme : remove unused files 6 years ago
Adam Tauber 666982bd35
Merge pull request #1244 from Venca24/master
[UI] new youtube icon for oscar theme
6 years ago
Alex 3ba0d0516e simple theme update
- 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
6 years ago
Author Name 7635ebb126 Min width 50 px to oscar theme category. #1158 6 years ago
rinpatch 7a036579b2 Hide buttons when infinite scrolling is enabled 6 years ago
Venca24 3867b9fba2 [UI] new youtube icon for oscar theme 6 years ago
Richard Nespithal 0314349b08
Fix Vim mode on Firefox
Firefox automatically opens a built-in quick search when user
starts typing without selected input and the Vim shortcuts
are not triggered
6 years ago
Adam Tauber 0fe6042cc9 [mod] add bottom margin to results - closes #1176 6 years ago
Adam Tauber a173c5b4e2 [enh] build oscar css 7 years ago
Matthew Olmsted c61e1a8165
Preserve image aspect ratio in results
Noticed that images are often distorted in the results due to a hard minimum height.  This keeps the 4-per-row image results consistent in row height without distorting wider images.
7 years ago
Noémi Ványi 0cb8a849da dark background for answers && no background for highlight 7 years ago
Adam Tauber df0b8ee527
Merge pull request #1109 from dalf/simple_magnet_svg
simple theme : magnet.svg is replaced by a home made version
7 years ago
Adam Tauber 46fb0d860e [enh] add dark version of oscar/logicodev 7 years ago
Alexandre Flament cc69b1cd87 simple theme : replace magnet.svg with a home made version 7 years ago
Noémi Ványi 31005f3121 use `change` function just like in case of language selection
The previous version did not work in Chrome browser.

Closes #1102
7 years ago
Dalf 9babe06a0e [mod] simple theme: add the license to different files. 7 years ago
Noémi Ványi 47ee15f5ce preferences: make supported/not supported labels
Also, Time range support display was missing from RTL locales.
Now it is fixed.

Closes #558
7 years ago
Alexandre Flament 57dc6b625f [fix] travis build : various fix about grunt builds 7 years ago
Alexandre Flament 10a24bdc2c [enh] add simple theme (WIP) 7 years ago
Mostafa Ahangarha b142e88391 Update results.less
More gap between search results increase the readability. Currently, the result page is just filled with text.
7 years ago
marc 80460be8f6 [fix] wrap suggestions inside suggestion box
long suggestions now wrap around the box instead of going overboard.
7 years ago
Alexandre Flament e4d46d21c7 [mod] oscar theme: use tinypng.com to reduce logos and favicon 7 years ago
Alexandre Flament e9785a69c7 [mod] reduce png and gif image sizes using optipng and gifsicle tools. 7 years ago
Adam Tauber ee1d44caf9 [mod] darker green url in logicodev 8 years ago
Adam Tauber 4906ac5192 [fix] add padding to pointhi theme's navbar - closes #841 8 years ago
Noémi Ványi d88950c25f [fix] darker green for result urls 8 years ago
Noémi Ványi d635b5fd4d [enh] make navbar smaller 8 years ago
Noémi Ványi 8354bd0c60 [enh] make result url green 8 years ago
Adam Tauber 30695265c2 [enh] search input design mods according to #226 8 years ago
jcherqui d98705bd06 Add 1337x icon 8 years ago
Noémi Ványi e8319fa2cb Revert "Merge pull request #793 from kvch/pics-modal"
This reverts commit bff41987a4, reversing
changes made to d08108be62.
8 years ago
Noémi Ványi 8af29d9797 Revert "Merge pull request #799 from kvch/modal-arrows"
This reverts commit 79ceb13577, reversing
changes made to eaa0fb8102.
8 years ago
Noémi Ványi d18d09a98b [fix] change modal glyphicon arrows to image icons 8 years ago
Noémi Ványi 1710043eb7 remove unnecessary media query && generated files 8 years ago
Noémi Ványi 420ef433ae add img pagination support of infinite scroll 8 years ago
Noémi Ványi 2ec6034c85 add modal window for pointhi style 8 years ago
Noémi Ványi 1157cefb1e add generated css of modal window 8 years ago
Noemi Vanyi 5fa6af648d add own pics modal window 8 years ago
marc a11230819f automatic search when language is selected 8 years ago
Adam Tauber 7986d4cf41 [fix] correct path for autoscroll on non-root urls
closes #758
8 years ago
Adam Tauber 142cd87095 [fix] menu style in pointhi oscar theme 8 years ago
Adam Tauber 9782633054 [fix] menu without js - closes #747 8 years ago
Adam Tauber bee7b497a3 [mod] rename "default" theme to "legacy" 8 years ago
Adam Tauber b816752719 [enh] more compact image results ++ fixed modal links 8 years ago
Adam Tauber 3a1b6fa818 [fix] replace modal-content class to prevent remote content load
details: http://stackoverflow.com/questions/18378720/bootstrap-3-with-remote-modal
8 years ago
Adam Tauber 94b5f2ca77 [fix] result url wrap - closes #652 8 years ago
Adam Tauber 959497e26b [fix] remove trailing whitespaces 8 years ago
David A Roberts 678b9e994a [enh] infinite scroll
resolves #649
8 years ago
Adam Tauber 975bd5beb5 [fix] oscar grunt css build 8 years ago
Noémi Ványi e7f93f4f12 set type of cursor to pointer in advanced search 8 years ago
Noemi Vanyi c59ef83353 redesign toggle button of engines && plugins 8 years ago
Adam Tauber bf92aa3fdd [fix] wrap categories on small screens ++ some code formatting - closes #647 8 years ago
Noemi Vanyi 90e74fbb28 search on filter select 8 years ago
Noemi Vanyi 713d30400b add advanced settings to pointhi style 8 years ago
Noemi Vanyi 074521fd8a follow up changes in search_category_on_select 8 years ago
Noemi Vanyi 2e8ab34d76 add advanced settings for logicodev style 8 years ago
Adam Tauber 3a9c3fbd68 Merge pull request #644 from dalf/logicodev_fix
[fix] close #637 : the search box doesn't overlap the menu.
8 years ago
Alexandre Flament e655e44133 [fix] close #637 : the search box doesn't overlap the menu. 8 years ago
Alexandre Flament 34835b77e2 [fix] Close #640 : remove MapQuest maps. Add in comment maps.wikimedia.org maps, see https://www.mediawiki.org/wiki/Maps 8 years ago
Noemi Vanyi c428f2d980 [fix] remove unecessary capitalize of name of instance 8 years ago
Adam Tauber 5924abd483 [fix] mobile navbar errors - closes #596 8 years ago
Adam Tauber 1ee2a3d25d [mod] more compact logicodev skin 8 years ago
Adam Tauber 7013c3dc0d [fix] logo responsivity ++ preferences button hover 8 years ago
Adam Tauber f496dc353d [enh] oscar theme redesign added
The original code made by @logico-dev (#559)
8 years ago
Kirill Isakov c12e41a80f Fix result selection for top & bottom scrolling 8 years ago
Kirill Isakov 7b48a66350 Add auto page scrolling to selected result 8 years ago
Kirill Isakov 0d6625e070 Add search result navigation support 8 years ago
Kirill Isakov 1faf1b645b Set vim-hotkeys help panels to same height 8 years ago
Kirill Isakov 3246541bdc [WIP] Add vim-hotkeys plugin 8 years ago
a01200356 4267b11a45 [fix] apply changes in infobox's styles
changes were made for wolframalpha infobox:

    - wrap text inside infobox.
      for example, there's a hill in New Zealand called
      Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu
      (don't blame me, blame the Kiwis)
      and now it doesn't break the infobox.

    - add an optional image field for infobox's attributes.
      (doesn't affect ddg infobox at all)

    - table is now always split in half.
      needed so that images stay inside infobox.
      (max-width doesn't work for inline elements, it's the table
      that has to set the width.

if you don't like how the table width looks now in ddg/wiki's infobox,
i can change that code so that the style only applies when using
wolframalpha.
8 years ago
Adam Tauber 4e5af8d87b [mod] move plugin static files to static/plugins 9 years ago
Adam Tauber ab6a7601cb [enh] new plugin to open results on new browser tabs 9 years ago
Adam Tauber 5eabba2da1 [mod] list all engines of a result 9 years ago
Niklas Haas 7144c94e26
[fix] reduce server traffic by optimizing images
Simply running ‘optipng’ on every PNG image reduces the overall size of
them by 10% on average.
9 years ago
Adam Tauber e19eeeefa0 [fix] do not submit form if there is no search query - fixes #341 9 years ago
Adam Tauber f79f6713b0 [fix] do not use category select js if there is no search query field on the page 9 years ago
Adam Tauber 952473d297 Merge pull request #246 from Cqoicebordel/pix-arts
New theme !
9 years ago
Adam Tauber 973c97c85b [enh] new plugin: search on category select (currently only in oscar theme)
TODO
purge mootools from default/courgette and integrate jquery ++ this theme
9 years ago
Cqoicebordel 5c63f2a80a A bit of cleanup 10 years ago
Cqoicebordel af100afb98 Change font 10 years ago
Cqoicebordel e181041f11 Ajax loading + Tweaks of CSS 10 years ago
Cqoicebordel f7b052c354 Allow autocompleter to work in a sub folder of the domain name. 10 years ago
Cqoicebordel d740e7384a New Theme, Pix-art.
First commit
10 years ago
Cqoicebordel d4ba97d00d Engine table in preference page in Courgette text-aligned to the right in RTL 10 years ago
Adam Tauber df9cf9d09b Merge branch 'rtl' of github.com:Cqoicebordel/searx 10 years ago
Cqoicebordel 71ae75d73e Extract color 10 years ago
Cqoicebordel 9b2187b261 Change theme to allow the logo to be text instead of image 10 years ago
Thomas Pointhuber 9c94b1a00a [update] bootstrap.min.css 10 years ago
Thomas Pointhuber 1f00ce8527 Revert: [enh] add new bootstrap-themes to oscar-template 10 years ago
Thomas Pointhuber 7366a0e141 [fix] add wordwrap to fix style issues 10 years ago
Thomas Pointhuber 096ffd0659 [enh] add new bootstrap-themes to oscar-template 10 years ago
Cqoicebordel 14447a0761 Modify courgette theme and less it. 10 years ago
Cqoicebordel 4f14f6cd26 New icons for Courgette 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 c5599e3c7c Merge pull request #174 from pointhi/nojs_fix
add no javascript support to oscar-template
10 years ago
Thomas Pointhuber 5bfaabeb6b [enh] add nojs support into oscar-template 10 years ago
Cqoicebordel 08df681b48 Tweaks of color and theme 10 years ago
Cqoicebordel ceb650a01f Add lots of icons 10 years ago
Adam Tauber 410dbc573b [enh] static content generalization 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
Cqoicebordel b918cd2b8e Whitespace correction 10 years ago
Cqoicebordel 4a195e0b28 Integrated media in results + Deezer Engine
New "embedded" item for the results, allow to give an iframe to display the media directly in the results.
Note that the attributes src of the iframes are not set, but instead data-src is set, allowing to only load the iframe when clicked.

Deezer engine based on public API (no key).
10 years ago
Adam Tauber 20c4de8f06 [fix] filename strip 10 years ago
Adam Tauber 8151585918 [fix] static file paths 10 years ago
Adam Tauber 9f12605f7e [enh] themes static content refactor 10 years ago
Thomas Pointhuber 67698ad29a [enh] add new favicons to oscar template 10 years ago
Thomas Pointhuber a7adcacd04 [enh] add new marker-icons for map
fetched from https://github.com/pointhi/leaflet-color-markers
10 years ago
Thomas Pointhuber a0293d6196 [enh] move favicons into own directory 10 years ago
Thomas Pointhuber d810763107 [enh] remove repeating codeparts inside the oscar template 10 years ago
Thomas Pointhuber 7b44fd47a7 [enh] improve grunt-file for oscar_template 10 years ago
Thomas Pointhuber 7adb17452d [enh] add result_templates/code.html 10 years ago
Cqoicebordel 2fe3323449 Add double clic on categories
Allow to double clic on any category to activate or deactivate all categories.
10 years ago
Cqoicebordel 2ab621c0e3 Some more path issues 10 years ago
Cqoicebordel 06b59c7210 [fix] Show map on result in Oscar
Allow to find the leafleet js when searx is not installed at the root of the web server.
10 years ago
Thomas Pointhuber 7895e4f7a7 [enh][oscar_template] replace kickass icon 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
Adam Tauber 45734ee5f4 Merge pull request #136 from pointhi/template_oscar_fix
[oscar_template] split up js-files, FIX #132
10 years ago
Thomas Pointhuber e687f5c290 [enh][oscar_template] split js-files and compile them together 10 years ago
Adam Tauber 91384c1f31 Merge pull request #130 from pointhi/template_oscar_fix
[fix][template_oscar] make overpass-api call over https and add better error-message
10 years ago
Thomas Pointhuber 08f4b7f506 [fix][template_oscar] make overpass-api call over https
and add better error message if ajax-call fail
10 years ago
Thomas LEBEAU 3ed43cf31a responsive theme courgette 10 years ago
Adam Tauber 075a5fe898 Merge pull request #127 from pointhi/template_oscar_map
Template oscar, add map support
10 years ago
Thomas Pointhuber 4b75d41f86 [enh][oscar_template] loading map informations from overpass-api 10 years ago
Adam Tauber 1a81c20d73 [fix] sidebar overflow 10 years ago
Adam Tauber 6b31f55c90 [fix] suggestions display 10 years ago
Adam Tauber b8efd1214f [enh] category select warning message 10 years ago
Adam Tauber cb15a21681 [fix] syggestions max width 10 years ago
Adam Tauber 0d80d5d3b4 Merge pull request #105 from pointhi/template_oscar
new template: oscar
10 years ago
Thomas Pointhuber 3b7b106684 [enh] template_oscar: add layer to leaflet map 10 years ago
Thomas Pointhuber c38917bb2a [enh] template_oscar: show addressdata if possible 10 years ago
Thomas Pointhuber 2e7723a6c1 [enh] oscar_template: improve result visualisation
* highlight parts of result
* add link to archiv.to
* fix little bugs
* add little icons
* change style of "show map" button
10 years ago
Thomas Pointhuber b2c976a5a3 [enh] template_oscar: maxZoom if fitting bounds 10 years ago
Thomas Pointhuber 740594a4b7 [enh] oscar_template: initial osm-map support for map results
* TODO: remove leaflet.min.css if not required
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
dalf a71b326d9e [mod] default template modifications
- more smartphone friendly
- more text browser friendly
- next button always on the right
- in case of small screen supporting touch event, categories are displayed on one line with a scroll
10 years ago
dalf be4d219ae7 [mod] use pngcrush to reduce the size of png files 10 years ago
dalf 400279182e [fix] no horizontal scrolling on small screen
[fix] small images in the results aren't not "zoomed"
10 years ago
Thomas Pointhuber c36c935b03 oscar template: add infobox 10 years ago
Thomas Pointhuber 517e57b996 oscar template: improve result icons 10 years ago
Thomas Pointhuber 55b9b10d2e oscar template: include typeahead.css into bootstrap.min.css 10 years ago
Thomas Pointhuber f4457da0a1 oscar template: using less to generate oscar.min.css 10 years ago
Thomas Pointhuber 841f1eedfc oscar template: generate bootstrap.min.css from source 10 years ago
Thomas Pointhuber 14b0604bc0 oscar template: implement autocompleter 10 years ago
Thomas Pointhuber 4b7164f04a oscar template: remove unused css file 10 years ago
Thomas Pointhuber dc2c136220 oscar template: little style improvements 10 years ago
Thomas Pointhuber 47d1caed61 oscar template: add forgoten github icon 10 years ago
Thomas Pointhuber b91b77e335 oscar template: improve result page
* add paging support
* add suggestion panel
* add links panel
10 years ago
Thomas Pointhuber f3b565e17e oscar template: implement first version of results page
* implement results page
* improve search form template
* implement all result_templates
* fix youtube engine
10 years ago
Thomas Pointhuber a538bed745 oscar template: implement search input, index page,... 10 years ago
Thomas Pointhuber 25919de608 oscar template: make the categories clickable 10 years ago
Thomas Pointhuber afcfa04e30 oscar template: improve style for check and uncheck of engines 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
Adam Tauber c58e5a236a [fix] preferences button display 10 years ago
Adam Tauber 5d7b63223f [mod] sidebar positioning 10 years ago
Dalf 6bfd566353 [enh] add infoboxes and answers 10 years ago
Adam Tauber 00e5262834 [enh] archive.org link added to results 10 years ago
Thomas LEBEAU 75853bd0b5 [courgette_theme] add autocomplete theme 10 years ago
Thomas LEBEAU 195ff7522e optim img bg 10 years ago
Thomas LEBEAU 1188907c4f remove artichaut.css 10 years ago
Thomas LEBEAU a28cfd4887 [new] theme courgette 10 years ago
Adam Tauber 6fb9eb8e47 [mod] select autocomplete results with mouse click 10 years ago
Adam Tauber d290c1b9ac [enh] github ribbon to landingpage 10 years ago
Matej Cotman 08eaffe245 add multi theming support 10 years ago
Adam Tauber 66f87f8117 [mod] right sidebar 10 years ago