Adam Tauber
ea3eda2640
[doc] update authors file
...
We would like to thank him for all of his work and we would like to wish
him good luck in his future endeavors.
2021-04-05 19:00:06 +02:00
Noémi Ványi
647c3fb4a5
Merge pull request #2725 from 3nprob/optimize-docker-build
...
Reduce redundant docker build steps
2021-04-05 18:55:30 +02:00
Alexandre Flament
7089526723
Merge pull request #2656 from return42/fix-url_for
...
[fix] url_for(..., _external=True) in templates
2021-04-05 14:50:39 +02:00
Markus Heiser
87e4c47621
[fix] url_for(..., _external=True) in templates
...
The `url_for` function in the template context is not the one from Flask, it is
the one from `webapp`. The `webapp.url_for_theme` is different from its
namesake of Flask and has it quirks, when called with argument `_external=True`.
The `webapp.url_for_theme` can't handle absolute URLs since it pokes a leading
'/', here is the snippet of the old code::
url = url_for(endpoint, **values)
if settings['server']['base_url']:
if url.startswith('/'):
url = url[1:]
url = urljoin(settings['server']['base_url'], url)
Next drawback of (Flask's) `_external=True` is, that it will not return the HTTP
scheme when searx (the Flask app) listens on http and is proxied by a https
server.
To get the right scheme `HTTP_X_SCHEME` is needed by Flask (werkzeug). Since
this is not provided in every environment (e.g. behind Apache mod_wsgi or the
HTTP header is not fully set for some other reasons) it is recommended to
get *script_name*, *server* and *scheme* from the configured `base_url`. If
`base_url` is specified, then these values from are given preference over any
Flask's generics.
BTW this patch normalize to use `url_for` in the `opensearch.xml` and drop the
need of `host` and `urljoin` in template's context.
Signed-off-by: Markus Heiser <markus@darmarit.de>
2021-04-05 14:34:45 +02:00
3nprob
3c6c827330
Reduce redundant docker build steps
2021-04-05 15:51:34 +09:00
Noémi Ványi
ba90c5a2e0
Merge pull request #2718 from return42/fix-publishedDate
...
[fix] publishedDate: don't try to get date from empty string or None
2021-04-04 23:00:22 +02:00
Noémi Ványi
0c68f2ee5f
Merge pull request #2707 from return42/fix-doi-default
...
[fix] default_doi_resolver in preferences
2021-04-04 22:56:23 +02:00
Markus Heiser
ebfd0eb2b7
[fix] default_doi_resolver in preferences
...
Instead of a hard-coded `oadoi.org` default, use the default value from
`settings.yml`.
Fix an issue in the themes: The replacement 'current_doi_resolver' contains the
doi_resolver_url, not the name of the DOI resolver. Compare return value of::
searx.plugins.oa_doi_rewrite.get_doi_resolver(...)
Fix a typo in `get_doi_resolver(..)`: suggested by @kvch:
*L32 should set doi_resolver not doi_resolvers*
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-04 13:36:33 +02:00
Markus Heiser
c12826c6d5
[fix] publishedDate: don't try to get date from empty string or None
...
Signed-off-by: Markus Heiser <markus@darmarit.de>
2021-04-04 13:16:38 +02:00
Noémi Ványi
76a5305ee2
Merge pull request #2685 from searx/dependabot/pip/master/sphinx-3.5.3
...
Bump sphinx from 3.5.2 to 3.5.3
2021-04-03 23:49:21 +02:00
dependabot[bot]
ebcab04f73
Bump sphinx from 3.5.2 to 3.5.3
...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES )
- [Commits](https://github.com/sphinx-doc/sphinx/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-03 21:41:10 +00:00
Noémi Ványi
e5c2218e35
Merge pull request #2666 from searx/dependabot/pip/master/sphinx-autobuild-2021.3.14
...
Bump sphinx-autobuild from 2020.9.1 to 2021.3.14
2021-04-03 23:40:46 +02:00
dependabot[bot]
882158f11b
Bump sphinx-autobuild from 2020.9.1 to 2021.3.14
...
Bumps [sphinx-autobuild](https://github.com/executablebooks/sphinx-autobuild ) from 2020.9.1 to 2021.3.14.
- [Release notes](https://github.com/executablebooks/sphinx-autobuild/releases )
- [Changelog](https://github.com/executablebooks/sphinx-autobuild/blob/main/NEWS.rst )
- [Commits](https://github.com/executablebooks/sphinx-autobuild/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-03 21:28:05 +00:00
Noémi Ványi
504de506e8
Merge pull request #2715 from searx/dependabot/pip/master/sphinxcontrib-programoutput-0.17
...
Bump sphinxcontrib-programoutput from 0.16 to 0.17
2021-04-03 23:27:38 +02:00
Noémi Ványi
de877dcd12
Merge pull request #2714 from searx/dependabot/pip/master/pylint-2.7.4
...
Bump pylint from 2.7.2 to 2.7.4
2021-04-03 23:27:20 +02:00
dependabot[bot]
dcef60e3c6
Bump pylint from 2.7.2 to 2.7.4
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.7.2 to 2.7.4.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.2...pylint-2.7.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-03 21:16:26 +00:00
dependabot[bot]
0e1c5e1e11
Bump sphinxcontrib-programoutput from 0.16 to 0.17
...
Bumps [sphinxcontrib-programoutput](https://github.com/NextThought/sphinxcontrib-programoutput ) from 0.16 to 0.17.
- [Release notes](https://github.com/NextThought/sphinxcontrib-programoutput/releases )
- [Changelog](https://github.com/NextThought/sphinxcontrib-programoutput/blob/master/CHANGES.rst )
- [Commits](https://github.com/NextThought/sphinxcontrib-programoutput/compare/0.16...0.17 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-03 21:16:20 +00:00
Noémi Ványi
7612e5d9fd
Merge pull request #2712 from searx/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2021-04-03 23:15:43 +02:00
Noémi Ványi
985e8b28fe
Merge pull request #2710 from searx/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2021-04-03 23:02:44 +02:00
Noémi Ványi
feb2d81874
Merge pull request #2709 from searx/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2021-04-03 23:02:26 +02:00
Noémi Ványi
9a962c5369
Merge pull request #2711 from searx/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2021-04-03 23:01:43 +02:00
Noémi Ványi
5ca34ac571
Merge pull request #2713 from searx/update_data_update_languages.py
...
Update searx.data - update_languages.py
2021-04-03 23:01:00 +02:00
Alexandre Flament
ac0fdc3b96
Merge pull request #2702 from MarcAbonce/fix-dark-infobox
...
Fix dark "expand" button from infobox
2021-04-02 10:38:11 +02:00
dalf
c0668d248e
Update searx.data - update_languages.py
2021-04-01 07:00:46 +00:00
dalf
ad74c42aa1
Update searx.data - update_firefox_version.py
2021-04-01 07:00:39 +00:00
dalf
23dc7ef6d1
Update searx.data - update_wikidata_units.py
2021-04-01 07:00:37 +00:00
dalf
eb5cd7a543
Update searx.data - update_ahmia_blacklist.py
2021-04-01 07:00:33 +00:00
dalf
f804f54ca3
Update searx.data - update_currencies.py
2021-04-01 07:00:29 +00:00
Marc Abonce Seguin
419b907a0b
fix dark "expand" button from infobox
2021-03-28 21:54:37 -07:00
Adam Tauber
ae122ea943
[enh] release v1.0.0
2021-03-27 20:30:08 +01:00
Adam Tauber
defcaec544
[doc] add new contributors to the authors file
...
new contributors:
- @cyclaero
- @thezeroalpha
- @Tobi823
- @archiecodes
- @BBaoVanC
- @datagram1
- @lucky13820
- @jhigginbotham
- @xenrox
- @OliveiraHermogenes
2021-03-27 19:38:24 +01:00
Adam Tauber
15f2385a7b
[enh] update translations from transifex
2021-03-27 19:10:54 +01:00
Alexandre Flament
bb316d2698
Merge pull request #2682 from dalf/fix-checker
...
[fix] checker: various bug fixes
2021-03-27 17:44:29 +01:00
Alexandre Flament
725a69616b
Merge pull request #2681 from dalf/fix-wikipedia-title
...
[fix] wikipedia: remove HTML from the title
2021-03-27 17:43:36 +01:00
Noémi Ványi
9bb312c505
Remove duplicated key from dict in Semantic Scholar
2021-03-27 16:58:32 +01:00
Noémi Ványi
f596f5767b
fix Semantic Scholar engine
2021-03-27 16:54:01 +01:00
Adam Tauber
28286cf3f2
[fix] update seznam engine to be compatible with the new website
2021-03-27 15:29:04 +01:00
Alexandre Flament
672ac91f3e
Merge pull request #2684 from searx/dependabot/pip/master/linuxdoc-20210324
...
Bump linuxdoc from 20210110 to 20210324
2021-03-26 13:21:05 +01:00
dependabot[bot]
52a81ebc67
Bump linuxdoc from 20210110 to 20210324
...
Bumps [linuxdoc](https://github.com/return42/linuxdoc ) from 20210110 to 20210324.
- [Release notes](https://github.com/return42/linuxdoc/releases )
- [Commits](https://github.com/return42/linuxdoc/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-26 08:13:11 +00:00
Alexandre Flament
e27e0c4843
Merge pull request #2683 from searx/dependabot/pip/master/lxml-4.6.3
...
Bump lxml from 4.6.2 to 4.6.3
2021-03-26 08:11:53 +01:00
dependabot[bot]
4e6ca87e2c
Bump lxml from 4.6.2 to 4.6.3
...
Bumps [lxml](https://github.com/lxml/lxml ) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.2...lxml-4.6.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-26 06:45:14 +00:00
Alexandre Flament
ae0b621ec8
[mod] Dockerfile: remove protobuff dependency
...
See https://github.com/searx/searx/pull/2481
2021-03-25 17:09:28 +01:00
Alexandre Flament
0b45afd4d7
[fix] checker: various bug fixes
...
* initialize engine_data (youtube engine)
* don't crash if an engine don't set result['url']
2021-03-25 09:37:37 +01:00
Alexandre Flament
fcfcf662ff
[fix] wikipedia: remove HTML from the title
...
fr.wikipedia.org (and it seems not other wikipedia websites),
adds HTML to api_result['displayTitle'].
(Search for '!wp :fr Braid' for example)
The commit uses api_result['title']
2021-03-25 08:31:39 +01:00
Adam Tauber
06b754ad67
[mod] increase lobste.rs engine timeout to avoid timeouts most of the time
2021-03-25 01:22:36 +01:00
Adam Tauber
0ba71c3644
[fix] make ina engine compatible with the new response json
2021-03-25 01:20:41 +01:00
Adam Tauber
6255b33c9d
[fix] rewrite hoogle to use html/xpath instead of json
...
the json response has been changed and it contains html chunks which is
not compatible with our json engine, so we have to switch to html/xpath
parsing
2021-03-25 01:13:24 +01:00
Adam Tauber
45f0e1a859
[fix] update geektimes.ru url - it redirects to habr.com
2021-03-25 01:02:19 +01:00
Adam Tauber
50ba2b9e87
[fix] update google play movies xpath
2021-03-25 00:55:53 +01:00
Adam Tauber
88657fe9c2
[fix] update google play apps xpath
2021-03-25 00:55:43 +01:00