Noémi Ványi
223114c575
[fix] refine contrast ratios of texts and borders - #350
2020-07-02 16:24:58 +02:00
Markus Heiser
f14a7add31
Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme
2020-06-30 15:37:39 +02:00
Adam Tauber
c7b75fc818
[fix] rewrite overflow:none as none is an invalid property - $350
2020-06-28 20:44:33 +02:00
Adam Tauber
b51d4ec041
[fix] add aria labels to result links - #350
2020-06-28 20:41:42 +02:00
Noémi Ványi
02c6710564
Make Oscar theme scalable
2020-06-27 16:41:26 +02:00
Adam Tauber
969b4340fd
[fix] add label/info to Time range search and Language - #350
2020-06-25 19:50:26 +02:00
Adam Tauber
cc164abdfc
[fix] make "Advanced settings" openable and usable with keyboard - #350
2020-06-25 19:50:26 +02:00
Adam Tauber
ec48447361
[fix] change lang attribute of the html to match the current locale - #350
2020-06-25 19:50:26 +02:00
Adam Tauber
6ab569f558
[fix] connect selects and inputs programmatically on the preferences page - #350
2020-06-25 19:50:26 +02:00
Adam Tauber
fce2d49651
[fix] use scope attribute to describe properties in the engine preferences table
2020-06-25 19:50:26 +02:00
Adam Tauber
5ca5286912
[fix] indicate too high max time by e.g. icon not only by colour
2020-06-25 19:50:26 +02:00
Adam Tauber
d418b593bb
[fix] do not use h1 element for the logo
2020-06-25 19:50:26 +02:00
Adam Tauber
01ee3a6edd
[fix] remove redundant alt texts from images in Videos, Social Media and Music results - #350
2020-06-25 19:50:26 +02:00
Adam Tauber
a984afd6a3
[enh] make checkboxes in preferences accessible using keyboard - #350
2020-06-23 21:45:57 +02:00
Adam Tauber
2ff6214a4d
[fix] remove alt text which doesnt add extra info - #350
2020-06-23 21:45:57 +02:00
Markus Heiser
cc721b5d86
Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme
2020-06-16 10:17:03 +02:00
Adam Tauber
4ca0d8cb0f
[enh] add translatable strings to javascript - closes #461
2020-06-15 18:31:14 +02:00
Markus Heiser
e088b95e74
Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme
2020-06-10 07:25:44 +02:00
Adam Tauber
29960aa1d9
[enh] add official site link to the top of the infobox - closes #1644
2020-06-09 23:49:13 +02:00
Adam Tauber
6c06286251
[enh] add length and author details to youtube videos
...
closes #775
2020-06-09 20:31:51 +02:00
Adam Tauber
2c6531b233
[enh] add routing directions to osm search - closes #254
2020-06-09 17:18:44 +02:00
Markus Heiser
d065b9e4fb
Merge branch 'master' into csp-oscar-theme
2020-06-09 08:28:53 +00:00
Adam Tauber
785f0938fd
[fix] add link to wikidata entities in infobox - fixes #1097
2020-06-09 01:31:57 +02:00
Adam Tauber
d5e146251f
[enh] add subscribe link to rss results - closes #468
2020-06-09 01:05:15 +02:00
Adam Tauber
f0819e8826
[enh] add engine names to results as classes - closes #670
2020-06-09 00:31:52 +02:00
Markus Heiser
434e452d54
Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme
2020-06-04 23:18:22 +02:00
Adam Tauber
de1b08a941
[enh] add unique class for each endpoint - closes #1133
2020-06-04 19:21:15 +02:00
Markus Heiser
a3431d59d3
Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme
2020-06-01 09:18:51 +02:00
Adam Tauber
19e32dc686
Merge pull request #1978 from kvch/fix-rtl-in-oscar
...
Fix Farsi language in Oscar && adjust tables with RTL
2020-05-31 23:45:14 +02:00
Noémi Ványi
a3e15a3df6
Fix Farsi language in Oscar && adjust tables with RTL
2020-05-31 23:44:34 +02:00
Noémi Ványi
d7d89369cb
add disable all and allow all engines button to Oscar preferences
2020-05-31 23:39:21 +02:00
resynth1943
e84cdb66ae
Add autofocus to all search inputs
2020-05-27 13:49:00 +01:00
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>
2020-05-15 10:16:49 +02:00
Markus Heiser
3381471933
brands: add ISSUE_URL
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-25 17:48:34 +01:00
Markus Heiser
04c687403e
[fix] brands: add variables from build env to jinja templating
...
We have some variables in the build environment which are also needed in the
templating process. 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>
2020-03-25 11:49:33 +01:00
Adam Tauber
2621c24cc7
[enh] add clear search button to oscar theme - fixes #454
2020-03-23 12:41:02 +01:00
Dalf
88f9ac58f4
[mod] move public instance list to https://searx.space
2020-02-14 13:48:44 +01:00
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.
2020-02-08 11:47:39 +01:00
Vipul
6a5aae6530
[Fix] oscar: no HTML escaping prior to output
...
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-22 02:27:45 +00:00
Vipul
36ca2dcc56
[Fix] oscar: move info box at top of the page
...
In low width devices like mobile, tablet etc, info box is present at
bottom of the page.
This change addresses the issue by rearranging column grids for low
width devices and move side bar at top of the page. See
- https://getbootstrap.com/docs/3.3/css/#grid-column-ordering .
- and Searx issue tracker (issue#1777), for more information.
Effect: Along with Info, Suggestion and Link boxes also move to top of
the page.
Resolves : #1777
2019-12-22 02:27:42 +00:00
Markus Heiser
a3b5f3230c
theme: oscar - remove dust (comes from PR #1671 implementation)
...
was inadvertently included in the commit [1]
[1] f34ac58752 (diff-0243d1c24e9981002156cc87cc10bd53R103)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10 18:33:36 +01:00
Markus Heiser
f373169c84
theme: oscar - add accesskey to input tags
...
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-10 18:20:51 +01:00
Markus Heiser
57c6fa6e63
theme: oscar - fix auto-submit on language seletion
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10 18:16:45 +01:00
Markus Heiser
2a5c39e33c
theme: oscar - tidy up trailing whitespaces and tab usage
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10 18:10:33 +01:00
Markus Heiser
9988cdcbc5
Merge branch 'master' of https://github.com/asciimoo/searx into dos2unix
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10 17:35:23 +01:00
Dalf
f34ac58752
[mod] tidy oscar HTML output
2019-12-10 10:58:30 +01:00
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>
2019-12-08 15:33:46 +01:00
Marc Abonce Seguin
9299355570
add seedpeer again
2019-11-24 22:01:44 -07:00
Mathieu Brunot
e9d90d06a9
Merge branch 'master' into feature/accessibility
2019-10-29 23:53:08 +01:00
Marc Abonce Seguin
b0f89ed477
[fix] preserve bangs in corrections
2019-10-22 21:41:50 -07:00
Mathieu Brunot
a51b2b6c20
Merge branch 'master' into feature/accessibility
2019-10-16 19:30:02 +02:00
Noémi Ványi
a6f20caf32
add initial support for offline engines && command engine
2019-10-16 15:52:48 +02:00
mathieu.brunot
4d17d453bf
♿ Add aria labels for oscar buttons
...
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2019-10-14 01:36:11 +02:00
Dalf
6fbba63c83
oscar and simple themes: no inline script (allow A+ Content-Security-Policy)
2019-08-06 12:14:11 +02:00
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.
2019-08-06 09:31:24 +02:00
Dalf
ba80a0ba38
[fix] fix paging for the oscar theme after PR #1640
2019-08-02 20:04:37 +02:00
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
2019-08-02 13:50:51 +02:00
volth
eb182df132
[mod] restore btdigg engine as btdig.com ( #1515 )
2019-07-25 08:40:48 +02:00
Dalf
c7220b40ea
Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly.
2019-07-17 09:05:29 +02:00
Marc Abonce Seguin
6626f01365
[fix] preserve bangs in suggestions and corrections
2019-07-01 19:52:34 -05:00
Noémi Ványi
b63d645a52
Revert "remove 'all' option from search languages"
...
This reverts commit 4d1770398a
.
2019-01-07 21:19:00 +01:00
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.
2018-03-27 00:08:03 -06:00
pofilo
348fab25ba
[UI] fix custom-select in oscar
2018-03-05 18:51:44 +01:00
Noémi Ványi
4f4dcdf38f
add links to footers of oscar and simple themes
...
Links:
* Source code
* Issue tracker
* List of public instances
Closes #1071
2017-12-12 22:02:23 +01:00
Adam Tauber
49b845051f
Merge pull request #973 from MarcAbonce/languages
...
Remove 'all' option from search languages
2017-12-06 14:34:26 +01:00
marc
4d1770398a
remove 'all' option from search languages
2017-12-06 01:20:15 -06:00
Adam Tauber
e060aedc16
[enh] make custom oscar option configurable from url
2017-12-05 22:30:20 +01:00
Adam Tauber
46fb0d860e
[enh] add dark version of oscar/logicodev
2017-12-05 22:05:19 +01:00
Noémi Ványi
1b10abfc92
minor fixes of doi resolver
...
Closes #1047
2017-11-01 17:02:38 +01:00
jibe-b
575159b194
[enh] oa_doi_rewrite plugin broadens doai_rewrite
2017-11-01 14:22:26 +01:00
Adam Tauber
5f758b2d39
[mod] compress saved preferences in url
2017-10-26 00:06:03 +02:00
Hypolite Petovan
904a8e7e3f
Remove extra / in url_for parameter for oscar theme
...
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-18 23:44:11 -04:00
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
2017-10-06 22:08:24 +02:00
misnyo
ae99f9070c
[fix] static path fixed in templates and webapp, line endings fixed
2017-09-08 20:33:14 +02:00
Alexandre Flament
10a24bdc2c
[enh] add simple theme (WIP)
2017-08-06 16:04:21 +02:00
Noémi Ványi
bdd9528c6b
show engine errors when no result is returned at all
2017-07-15 17:59:50 +02:00
Noémi Ványi
243d3e4298
show engine errors in infobox && add new error alert
2017-07-12 16:29:11 +02:00
Adam Tauber
38d6ba4066
[enh] generate search url of saved preferences
2017-07-10 12:50:13 +02:00
Adam Tauber
52e615dede
[enh] py3 compatibility
2017-05-15 12:02:30 +02:00
Noémi Ványi
247534be76
[fix] pageno param of search reqs in form
2017-02-10 19:43:27 +01:00
Adam Tauber
b3974fc880
[fix] do not show glyph icons if noscript is enabled - #838
2017-01-27 01:19:49 +01:00
Noémi Ványi
d635b5fd4d
[enh] make navbar smaller
2017-01-26 23:52:00 +01:00
Noémi Ványi
508d0f063e
[enh] make number of results less prominent
2017-01-26 23:44:21 +01:00
Noémi Ványi
8354bd0c60
[enh] make result url green
2017-01-26 23:33:12 +01:00
Adam Tauber
04306bad89
[fix] whitespace
2017-01-26 21:18:10 +01:00
Adam Tauber
30695265c2
[enh] search input design mods according to #226
2017-01-26 21:12:41 +01:00
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
2017-01-20 15:40:38 +01:00
David A Roberts
1d30141c20
[enh] show spelling corrections
2017-01-16 13:31:16 +10:00
Adam Tauber
14b96b8824
[enh] propagate all search properties to the results page's components
2017-01-05 15:24:45 +01:00
Noémi Ványi
e8319fa2cb
Revert "Merge pull request #793 from kvch/pics-modal"
...
This reverts commit bff41987a4
, reversing
changes made to d08108be62
.
2017-01-03 22:04:09 +01:00
Noémi Ványi
8af29d9797
Revert "Merge pull request #799 from kvch/modal-arrows"
...
This reverts commit 79ceb13577
, reversing
changes made to eaa0fb8102
.
2017-01-03 22:03:59 +01:00
Noémi Ványi
d18d09a98b
[fix] change modal glyphicon arrows to image icons
2016-12-30 14:59:46 +01:00
Noémi Ványi
d82f64238f
fix opening of result on new tab
2016-12-29 23:40:23 +01:00
Noemi Vanyi
5fa6af648d
add own pics modal window
2016-12-29 23:40:23 +01:00
marc
896c0c3734
revert language support column in preferences
2016-12-29 01:56:04 -06:00
Adam Tauber
116521192e
[mod] display supported languages in preferences engine view
2016-12-28 21:01:19 +01:00
marc
f30d5e8793
[fix] supported languages column in preferences page
2016-12-16 22:17:41 -06:00
marc
4a1ff56389
minor fixes in utils/fetch_languages.py
2016-12-16 22:14:14 -06:00
marc
a11230819f
automatic search when language is selected
2016-12-13 19:32:00 -06:00
marc
149802c569
[enh] add supported_languages on engines and auto-generate languages.py
2016-12-13 19:32:00 -06:00