Noémi Ványi
d7d89369cb
add disable all and allow all engines button to Oscar preferences
4 years ago
resynth1943
e84cdb66ae
Add autofocus to all search inputs
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
3381471933
brands: add ISSUE_URL
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
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>
4 years ago
Adam Tauber
2621c24cc7
[enh] add clear search button to oscar theme - fixes #454
4 years ago
Dalf
88f9ac58f4
[mod] move public instance list to https://searx.space
5 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.
5 years ago
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
5 years ago
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
5 years ago
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>
5 years ago
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>
5 years ago
Markus Heiser
57c6fa6e63
theme: oscar - fix auto-submit on language seletion
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
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
9988cdcbc5
Merge branch 'master' of https://github.com/asciimoo/searx into dos2unix
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Dalf
f34ac58752
[mod] tidy oscar HTML output
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
Marc Abonce Seguin
9299355570
add seedpeer again
5 years ago
Mathieu Brunot
e9d90d06a9
Merge branch 'master' into feature/accessibility
5 years ago
Marc Abonce Seguin
b0f89ed477
[fix] preserve bangs in corrections
5 years ago
Mathieu Brunot
a51b2b6c20
Merge branch 'master' into feature/accessibility
5 years ago
Noémi Ványi
a6f20caf32
add initial support for offline engines && command engine
5 years ago
mathieu.brunot
4d17d453bf
♿ Add aria labels for oscar buttons
...
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
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
Dalf
ba80a0ba38
[fix] fix paging for the oscar theme after PR #1640
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
volth
eb182df132
[mod] restore btdigg engine as btdig.com ( #1515 )
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
Noémi Ványi
b63d645a52
Revert "remove 'all' option from search languages"
...
This reverts commit 4d1770398a
.
6 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
pofilo
348fab25ba
[UI] fix custom-select in oscar
7 years ago
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
7 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
46fb0d860e
[enh] add dark version of oscar/logicodev
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
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.
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
misnyo
ae99f9070c
[fix] static path fixed in templates and webapp, line endings fixed
7 years ago
Alexandre Flament
10a24bdc2c
[enh] add simple theme (WIP)
7 years ago
Noémi Ványi
bdd9528c6b
show engine errors when no result is returned at all
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
52e615dede
[enh] py3 compatibility
7 years ago
Noémi Ványi
247534be76
[fix] pageno param of search reqs in form
8 years ago
Adam Tauber
b3974fc880
[fix] do not show glyph icons if noscript is enabled - #838
8 years ago
Noémi Ványi
d635b5fd4d
[enh] make navbar smaller
8 years ago
Noémi Ványi
508d0f063e
[enh] make number of results less prominent
8 years ago
Noémi Ványi
8354bd0c60
[enh] make result url green
8 years ago
Adam Tauber
04306bad89
[fix] whitespace
8 years ago
Adam Tauber
30695265c2
[enh] search input design mods according to #226
8 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
8 years ago
David A Roberts
1d30141c20
[enh] show spelling corrections
8 years ago
Adam Tauber
14b96b8824
[enh] propagate all search properties to the results page's components
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
d82f64238f
fix opening of result on new tab
8 years ago
Noemi Vanyi
5fa6af648d
add own pics modal window
8 years ago
marc
896c0c3734
revert language support column in preferences
8 years ago
Adam Tauber
116521192e
[mod] display supported languages in preferences engine view
8 years ago
marc
f30d5e8793
[fix] supported languages column in preferences page
8 years ago
marc
4a1ff56389
minor fixes in utils/fetch_languages.py
8 years ago
marc
a11230819f
automatic search when language is selected
8 years ago
marc
149802c569
[enh] add supported_languages on engines and auto-generate languages.py
8 years ago
Noémi Ványi
2fc1091b7f
add "Last year" option to time range selection
8 years ago
Adam Tauber
7e1f27e459
[enh] add author to image result content
8 years ago
Adam Tauber
39f5035e13
[fix] query escaping in rss/opensearch output
8 years ago
Adam Tauber
28f12ef5a0
[fix] proper escaping of the search query in templates
8 years ago
Adam Tauber
971ed0abd1
[enh] add quick answer functionality with an example answerer
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
9782633054
[fix] menu without js - closes #747
8 years ago
Noémi Ványi
e3d748ded4
show time range support in preferences
8 years ago
Noémi Ványi
db8c2ebc3f
[fix] images modal with infinite scroll
8 years ago
Adam Tauber
760cb3c5af
Merge pull request #734 from dalf/seeks_url
...
[fix] seeks URLS, close #731
8 years ago
Adam Tauber
1be6e72d51
[enh] add result proxy support - #707
8 years ago
dalf
cae84e71a5
[fix] seeks URLS, close #731
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
465d47283f
[fix] 404 page localization #2
8 years ago
Adam Tauber
c2f4d4449d
[fix] 404 page localization
8 years ago
Adam Tauber
b4b0231617
[fix] links in new tabs without js ++ noopener bug fix - closes #674
8 years ago
Adam Tauber
3043c404e4
Merge pull request #671 from kvch/custom-404
...
Custom 404 message - fixes #317
8 years ago
Noemi Vanyi
0056c4035e
add custom 404 page
8 years ago
Noémi Ványi
4bd44cd98f
uncapitalize searx in templates
8 years ago
Adam Tauber
f1262ffa9e
Merge pull request #588 from a01200356/wikidata
...
[enh] More data from Wikidata
8 years ago
Noemi Vanyi
c59ef83353
redesign toggle button of engines && plugins
8 years ago
marc
a0a1284998
wikidata refactor and more attributes (see issue #560 )
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
16a8641649
advanced-search: panel is visible when checked before
8 years ago
Noemi Vanyi
128b5245ab
time range selection as dropdown
8 years ago
Noemi Vanyi
e046c0d7ae
add time range strings to be translated
8 years ago
Noemi Vanyi
cddc9d3792
add 'Advanced settings' to strings to be translated
8 years ago
Noemi Vanyi
2e8ab34d76
add advanced settings for logicodev style
8 years ago
Harry Wood
cd072676e9
moving a comma
8 years ago
Adam Tauber
a7260ac497
[fix] do not replace image href urls - closes #594
...
These lines were added to fix a js image load issue (#535 ) what i cannot reproduce.
Hopefully we don't see it again
8 years ago
Adam Tauber
8ee32d5372
[fix] hide number of results if 0
8 years ago
Adam Tauber
2f7752b410
[enh] display number of results
8 years ago
Adam Tauber
36c8977390
[fix] rtl result template
8 years ago
Adam Tauber
0c9c063141
[fix] result url block selection
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
Thomas Pointhuber
1833a8b1b8
[fix] use old system if there is no img_src
8 years ago
Thomas Pointhuber
63d68c8e0f
[enh] add img_src to default result template
8 years ago
a01200356
6dca14e95d
[enh] multilingual duckduckgo_definitions
8 years ago
a01200356
8d335dbdae
[enh] wikipedia infobox
...
creates simple multilingual infobox using wikipedia's api
8 years ago
Adam Tauber
11c2262055
Merge pull request #536 from kvch/general-minor-refactors
...
General minor refactors
8 years ago
Adam Tauber
d27f7a1b07
[fix] clear image link if javascript enabled - closes #535
8 years ago
Noemi Vanyi
7daf98933d
follow up blocked_engines renaming in templates
8 years ago
Adam Tauber
e893d94185
[fix] docs url mod to prevent http redirect
9 years ago
Adam Tauber
6130f9a59f
Merge pull request #473 from GreenLunar/patch-2
...
Update link to documentation page
9 years ago
Thomas Pointhuber
9a94b36593
[fix] translate plugin name and description in template
9 years ago
Adam Tauber
bc81eda64b
[fix] opensearch image issue - closes #507
9 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.
9 years ago
Adam Tauber
0fbd705259
[enh] settings option to change instance name - closes #450
9 years ago
GreenLunar
e01ef3bee1
Update link to documentation page
9 years ago
GreenLunar
9a5aba393d
Update description
9 years ago
Adam Tauber
5eabba2da1
[mod] list all engines of a result
9 years ago
Luc Didry
57e618edf7
Add Image on opensearch
9 years ago
Thomas Pointhuber
a8b75ca47b
[enh] oscar template: using table instead of container-fluid to show cookies
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
01bebc0c30
[enh] prettier search url display
9 years ago
Adam Tauber
41e00e65a5
Merge branch 'oscar-cookies' of https://github.com/Cqoicebordel/searx into Cqoicebordel-oscar-cookies
...
Conflicts:
searx/templates/oscar/preferences.html
9 years ago
Adam Tauber
5c5ff19ec1
[fix] indentation
9 years ago
Alexandre Flament
ada5993f61
[fix] #264 : implementation using Referrer Policy (Editor’s Draft, 3 March 2015)
...
see http://w3c.github.io/webappsec/specs/referrer-policy/
9 years ago
Alexandre Flament
77b2fbb61e
[enh] implements #264 : add rel="noreferrer" to external links
9 years ago
Adam Tauber
dd84814b68
[enh] plugins: client side dependency support
9 years ago
Adam Tauber
6f73f4e7a4
[fix] ordered categories in preferences - closes #258
10 years ago
Adam Tauber
1184f45ca5
[enh] reset default preferences
10 years ago
Adam Tauber
37c58fd9ca
[enh] plugin preferences - server-side ++ oscar theme
10 years ago
Adam Tauber
359dfc5ebb
[mod] checkbox macro
10 years ago
Adam Tauber
8d1d4819ae
[fix] whitespace remove and proper no-result warning display
10 years ago
Cqoicebordel
6ee35145ca
New Tab in preferences in Oscar to view Cookies
...
This tab only purpose is to allow to see what searx is storing on the user's computer.
At a later time, we could implement a way to delete those cookies.
10 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.
10 years ago
Cqoicebordel
77ba28cf50
Some RTL fixes
...
- Pull the suggestions to the right in oscar
- Add `‎` to a few places to print good url
- Always LTR code display
- Order pref label and info in pref for mobile view
And add `sort` for ui languages and languages to find them more easily.
10 years ago
Cqoicebordel
b5cbbcede4
LTR the about page correctly
10 years ago
Cqoicebordel
f4bdcc067f
Real fix for preferences in RTL *and* in LTR
10 years ago
Cqoicebordel
cec3ea77d5
Maps data must be LTR in RTL
10 years ago
Cqoicebordel
a4ae775e0f
Preferences in the right order in RTL
10 years ago
Cqoicebordel
3f4d0053ee
Import result_footer_rtl in video so it doesn't crash...
10 years ago
Adam Tauber
df9cf9d09b
Merge branch 'rtl' of github.com:Cqoicebordel/searx
10 years ago
Thomas Pointhuber
e7de9674b1
[enh] add safesearch functionality
...
2 = strict
1 = moderate
0 = none
10 years ago
Adam Tauber
1de781a143
[enh] category specific engine deactivation - closes #205
10 years ago