Alexandre Flament
dbe3eaabc9
Info: code refactoring & bug fixes
2022-03-16 22:26:36 +01:00
mrpaulblack
a1776ff57d
[build] /static
2022-03-16 21:01:42 +01:00
mrpaulblack
6a8e168e25
[simple theme] use default font and font-size in info page
2022-03-16 21:01:22 +01:00
Markus Heiser
cd92a7eacd
Merge pull request #930 from return42/merge-user-doc2
...
Integrate the user documentation into the application
2022-03-13 23:12:46 +01:00
Alexandre Flament
1157462ff9
Various change on PR 930
2022-03-13 22:22:02 +01:00
Markus Heiser
59100e8525
[fix] add module for backward compatibility
...
cache_property has been added in py3.8 [1]
To support cache_property in py3.7 the implementation from 3.8 has been
copied to compat.py. This code can be cleanup with EOL of py3.7.
[1] https://docs.python.org/3/library/functools.html#functools.cached_property
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-03-12 15:45:28 +01:00
Markus Heiser
8d83e4aeff
[build] /static
2022-03-12 11:36:31 +01:00
Markus Heiser
3633dc5611
[simple] add CSS for /info pages
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-03-12 11:36:31 +01:00
Markus Heiser
b1912607ae
[mod] replace /help by /info pages and include pages in project docs
...
This patch implements a bolierplate to share content from info-pages of the
SearXNG instance (URL /info) with the project documentation (path /docs/user).
The info pages are using Markdown (CommonMark), to include them in the project
documentation (reST) the myst-parser [1] is used in the Sphinx-doc build chain.
If base_url is known (defined in settings.yml) links to the instance are also
inserted into the project documentation::
searxng_extra/docs_prebuild
[1] https://www.sphinx-doc.org/en/master/usage/markdown.html
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-03-12 11:36:31 +01:00
searxng-bot
e475828ed2
[translations] update from Weblate
...
7f5432c9
- 2022-03-11 - Matheus Henrique <niletcode@gmail.com>
1d7a266c
- 2022-03-07 - Markus Heiser <markus.heiser@darmarit.de>
54256fcf
- 2022-03-08 - Dmitry Zakharchenko <dmitz@disroot.org>
5240149c
- 2022-03-08 - Dmitry Zakharchenko <dmitz@disroot.org>
db511b5a
- 2022-03-07 - Deleted User <noreply+256@weblate.org>
114f4399
- 2022-03-04 - Markus Heiser <markus.heiser@darmarit.de>
2022-03-11 07:17:00 +00:00
Markus Heiser
53b5a804e2
[fix] engine mediathekviewweb: replace http links by https
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-03-07 19:49:16 +01:00
Martin Fischer
579334a7d8
[help] move about.md to searx/help/en/
2022-03-07 08:29:00 +01:00
Alexandre Flament
740e3bc90f
Merge pull request #932 from dalf/static-file-hash
...
static files: add a hash as a query
2022-03-05 12:03:44 +01:00
Markus Heiser
20f4538e13
[fix] engine: Semantic Scholar (Science) // rework & fix
...
Closes: https://github.com/searxng/searxng/issues/939
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-03-05 11:53:41 +01:00
Alexandre Flament
1c7d8815fb
[mod] URL for the static file contains the sha1
...
* allow to cache the static file forever
* avoid bugs when the static files are updated but not reloaded
2022-03-05 10:50:48 +00:00
Alexandre FLAMENT
041446d12a
[build] /static
2022-03-04 08:28:58 +00:00
Alexandre FLAMENT
8ffbaa086a
[simple] switch to the tablet layout at 79.75em
...
The previous value was 80em (1280px).
Some desktop screens have this resolution,
and tablet layout takes too much space in this configuration
This PR switch to the table layout for screen width strictly below 1280px.
Close https://github.com/searxng/searxng/issues/874
2022-03-04 08:26:02 +00:00
searxng-bot
ebcf78eaa5
[translations] update from Weblate
...
82b357ae
- 2022-03-02 - Markus Heiser <markus.heiser@darmarit.de>
5aa11c25
- 2022-03-02 - Markus Heiser <markus.heiser@darmarit.de>
c188070f
- 2022-02-25 - OctopusET <sumoon@seoulsaram.org>
9b93e452
- 2022-02-26 - Markus Heiser <markus.heiser@darmarit.de>
2a286e9a
- 2022-02-25 - OctopusET <sumoon@seoulsaram.org>
2022-03-04 07:17:06 +00:00
Alexandre FLAMENT
28bccda78a
[build] /static
2022-03-02 18:56:37 +00:00
Alexandre Flament
3d9e48b84e
[simple] checkboxes can get the focusable
...
Do note that checkboxes in the engine tab are displayed reversed.
See: 3408d061aa/searx/templates/simple/preferences.html (L313)
A checkbox for an engine is checked when the engine is disabled.
2022-03-02 18:56:08 +00:00
Markus Heiser
0ddcc12474
Merge pull request #934 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2022-03-01 07:54:58 +01:00
Markus Heiser
69f84d941f
Merge pull request #935 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2022-03-01 07:53:33 +01:00
Markus Heiser
5508155252
Merge pull request #936 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2022-03-01 07:52:54 +01:00
dalf
f4c6eba227
Update searx.data - update_currencies.py
2022-03-01 06:25:18 +00:00
dalf
6946c4566f
Update searx.data - update_wikidata_units.py
2022-03-01 06:24:57 +00:00
dalf
49bc3971ae
Update searx.data - update_firefox_version.py
2022-03-01 06:24:55 +00:00
dalf
6add9dd6d3
Update searx.data - update_ahmia_blacklist.py
2022-03-01 06:24:53 +00:00
Alexandre Flament
2e1d4fac5d
[build] /static
2022-02-27 19:49:44 +01:00
Alexandre Flament
56bb1443c4
[fix] simple: display "Click on the magnifier..." only the mouse over the categories
2022-02-27 19:48:21 +01:00
Alexandre Flament
e435806505
[fix] simple: detect touch screen using media query
...
related to https://github.com/searxng/searxng/issues/928
2022-02-27 19:26:52 +01:00
mrpaulblack
e2a5dddf8e
[build] /static
2022-02-26 22:32:28 +01:00
mrpaulblack
21e3c40516
[simple theme] replace Image_layout.js with flexbox CS impl.
...
* drop image_layout.js from simple theme
* move image_layout.js to oscar theme and delete common js dir (since its empty now)
* align top position of image detail modal with bottom position of search header
* use flexbox to display images; row height can be set via @results-image-row-height in defenitions.less
* display span title underneath each image with a max width of 12rem
* increase margin and padding around image article on desktop and tablet
* make article height smaller on phone layout (height of 6rem) to display more content on current view
* remove content from result, if the title and content matches
* use a group that cotains the flex image article, if images are mixed with other categories
* fix pylint issues in webapp.py
* use the default.html result template in unit tests (thanks @return42)
2022-02-26 22:31:47 +01:00
Paul Braeuning
3408d061aa
Merge pull request #924 from MontyQI/search-filters
...
Search filters changes
2022-02-26 10:16:06 +01:00
Monty
6d03fa002f
[build] /static
2022-02-26 10:07:07 +01:00
Monty
b850178d26
Search filters changes
...
Better search filters view on mobile.
2022-02-26 10:05:23 +01:00
searxng-bot
338304078b
[translations] update from Weblate
...
3ecf1edf
- 2022-02-21 - Linerly <linerly@protonmail.com>
f6c9465b
- 2022-02-23 - Markus Heiser <markus.heiser@darmarit.de>
988c0c74
- 2022-02-22 - Alexandre Flament <alex@al-f.net>
60fbd734
- 2022-02-22 - Markus Heiser <markus.heiser@darmarit.de>
2022-02-25 07:16:36 +00:00
Markus Heiser
8d937179ab
Merge pull request #913 from return42/add-artwork
...
[mod] add artwork to mixcloud & soundcloud engines
2022-02-21 22:24:40 +01:00
Markus Heiser
96ac99b1f6
[build] /static
2022-02-21 22:16:24 +01:00
Markus Heiser
b08b81b434
[mod] bandcamp & genius: in result set img_src instead thumbnail
...
Suggested-by: @dalf https://github.com/searxng/searxng/pull/900#issuecomment-1046009057
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-21 22:12:07 +01:00
Markus Heiser
bded1ee280
[fix] genius: add player an avoid exceptional programming
...
Add player:
- The players are just playing 30sec from the title. Some of the player will be
blocked because of a cross-origin request and some players will link to apple
when you press the play button.
Avoid exceptions and (and BTW improve results)
- ERROR searx.engines.genius : list index out of range
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-21 22:12:07 +01:00
Léon Tiekötter
de5062c10a
[mod] version formatting
...
Change SearXNG version formatting to YYYY.MM.DD-commit_hash
2022-02-21 21:18:37 +01:00
Alexandre Flament
8230603f48
Merge pull request #916 from dalf/pref_infinite_scroll2
...
Convert the infinite_scroll plugin as a preference (second version)
2022-02-21 12:49:04 +01:00
Alexandre Flament
1832ec742a
[build] /static
2022-02-20 22:58:51 +01:00
Alexandre Flament
56e34947a6
[mod] infinite_scroll as preference
...
* oscar theme: code from searx/plugins/infinite_scroll.py
* simple theme: new implementation
Co-authored-by: Markus Heiser <markus.heiser@darmarIT.de>
2022-02-20 22:58:51 +01:00
Markus Heiser
5ec9eb8030
[mod] switch default theme from oscar to simple
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-20 18:36:41 +01:00
Markus Heiser
36aee70c24
Merge pull request #910 from tiekoetter/fix-909
...
[fix] google images engine: Fix 'scrap_img_by_id' function
2022-02-20 18:29:50 +01:00
Markus Heiser
2921d3cd17
[mod] add artwork to mixcloud & soundcloud engines
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-19 21:59:12 +01:00
Markus Heiser
efd81f9266
[build] /static
2022-02-19 15:13:09 +01:00
Markus Heiser
16d05ca285
[mod] simple theme: define a '.show-content-button'
...
With LESS function '.show-content-button' all the *Show-Media* links becomes
bottons.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-19 15:12:50 +01:00
Markus Heiser
c2d9c93b3b
[fix] image_proxy: allow HTTP redirects
...
Without redirects the load of various images will fail when image_proxy is
enabled [1].
[1] https://github.com/searxng/searxng/pull/910#issuecomment-1045966577
Suggested-by: @dalf [1]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-19 14:34:02 +01:00