Alexandre Flament
d648001688
[mod] preferences: a tooltip is shown when the mouse is over the engine names
4 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
4 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
4 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.
4 years ago
Alexandre Flament
86912e2272
[mod] oscar: get bootstrap and typeahead from NPM
4 years ago
Alexandre Flament
44407353ef
[mod] oscar: get leaflet and jquery from NPM
...
easy to upgrade (package.json)
4 years ago
Alexandre Flament
c7133efb12
[mod] oscar: move compiled files to the src directory
4 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
4 years ago
Alexandre Flament
2f3d5ec2af
[mod] oscar: upgrade npm dependencies
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
Marc Abonce Seguin
7e82817925
wait for img to load before hiding infobox toggle
4 years ago
Marc Abonce Seguin
0601f2bb48
add toggle to resize infobox
4 years ago
Adam Tauber
3227695b0b
[fix] indicate visually active tab programmatically on the page Preferences - #350
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
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
Noémi Ványi
d7d89369cb
add disable all and allow all engines button to Oscar preferences
4 years ago
Adam Tauber
9a2f26d915
[enh] submit search on suggestion select - closes #807
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
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
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
34835b77e2
[fix] Close #640 : remove MapQuest maps. Add in comment maps.wikimedia.org maps, see https://www.mediawiki.org/wiki/Maps
8 years ago
Cqoicebordel
f7b052c354
Allow autocompleter to work in a sub folder of the domain name.
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
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
8151585918
[fix] static file paths
10 years ago
Adam Tauber
9f12605f7e
[enh] themes static content refactor
10 years ago