summaryrefslogtreecommitdiff
path: root/searx
AgeCommit message (Collapse)Author
2024-11-24[feat] metrics: support for open metricsBnyro
2024-11-24[build] /staticBnyro
2024-11-24[chore] *: fix typos detected by typos-cliBnyro
2024-11-24[feat] engine: add adobe stock video and audio enginesMarkus Heiser
The engine has been revised; there is now the option ``adobe_content_types`` with which it is possible to configure engines for video and audio from the adobe stock. BTW this patch adds documentation to the engine. To test all three engines in one use a search term like:: !asi !asv !asa sound Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-24[feat] engine: add adobe stock photosBnyro
2024-11-23[clean] Internet Archive Scholar search API no longer existsMarkus Heiser
Engine was added in #2733 but the API does no longer exists. Related: - https://github.com/searxng/searxng/issues/4038 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-23[fix] engine Library of Congress: fix API URL loc.gov -> www.loc.govMarkus Heiser
Avoid HTTP 404 and redirects. Requests to the JSON/YAML API use the base url [1] https://www.loc.gov/{endpoint}/?fo=json [1] https://www.loc.gov/apis/json-and-yaml/requests/ Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-23[log] warning with URL in case of 'raise_for_httperror'Markus Heiser
In order to be able to implement error handling, it is necessary to know which URL triggered the exception / the URL has not yet been logged. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-22[l10n] update translations from Weblatesearxng-bot
6581d89b3 - 2024-11-21 - return42 <return42@users.noreply.translate.codeberg.org> a342903eb - 2024-11-21 - return42 <return42@users.noreply.translate.codeberg.org> 61d3236b9 - 2024-11-21 - return42 <return42@users.noreply.translate.codeberg.org> cd03e8cc5 - 2024-11-21 - return42 <return42@users.noreply.translate.codeberg.org> a2399e23a - 2024-11-20 - tentsbet <tentsbet@users.noreply.translate.codeberg.org> 9a5bcc06d - 2024-11-17 - cherrad <cherrad@users.noreply.translate.codeberg.org> 4364e5ef8 - 2024-11-16 - DiamondBrain113 <DiamondBrain113@users.noreply.translate.codeberg.org> e3a127ec8 - 2024-11-15 - KinoCineaste <KinoCineaste@users.noreply.translate.codeberg.org>
2024-11-17[fix] engine: duckduckgo - don't quote query stringMarkus Heiser
The query string send to DDG must not be qouted. The query string was URL-qouted in #4011, but the URL-qouted query string result in unexpected *URL decoded* and other garbish results as reported in #4019 and #4020. To test compare the results of a query like:: !ddg Häuser und Straßen :de !ddg Häuser und Straßen :all !ddg 房屋和街道 :all !ddg 房屋和街道 :zh Closed: - [#4019] https://github.com/searxng/searxng/issues/4019 - [#4020] https://github.com/searxng/searxng/issues/4020 Related: - [#4011] https://github.com/searxng/searxng/pull/4011 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-15[l10n] update translations from Weblatesearxng-bot
0216898a3 - 2024-11-14 - KhietVo <KhietVo@users.noreply.translate.codeberg.org> 3293db4c8 - 2024-11-14 - return42 <return42@users.noreply.translate.codeberg.org> 574e0d683 - 2024-11-13 - lrnz2 <lrnz2@users.noreply.translate.codeberg.org> a32d9d158 - 2024-11-08 - Aadniz <Aadniz@users.noreply.translate.codeberg.org>
2024-11-14[fix] engine: duckduckgo - only uses first word of the search termsNicolas Dato
during the revision in PR #3955 the query string was accidentally converted into a list of words, further the query must be quoted before POSTed in the ``data`` field, see ``urllib.parse.quote_plus`` [1] [1] https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote_plus Closed: #4009 Co-Authored-by: @return42
2024-11-10[fix] settings.yml - enabled_plugins: document to reflect default settingsLeo Liu
Remove 'Autodetect search language', which is no longer valid, from settings, and add 'Unit converter plugin', which is now default enabled, to settings.
2024-11-10Fix scheduler.luaLeo Liu
2024-11-08[l10n] update translations from Weblatesearxng-bot
8d90a7e6d - 2024-11-06 - sahussawud <sahussawud@users.noreply.translate.codeberg.org> 41ee8bb0d - 2024-11-02 - laaknor <laaknor@users.noreply.translate.codeberg.org> c1a30afab - 2024-11-02 - return42 <return42@users.noreply.translate.codeberg.org> 627ab7a8e - 2024-11-01 - zarlin <zarlin@users.noreply.translate.codeberg.org>
2024-11-01[fix] annas archive: crash when no thumbnail, differing results, pagingBnyro
2024-11-01[l10n] update translations from Weblatesearxng-bot
a4cdaaa26 - 2024-10-30 - Juno Takano <jutty@users.noreply.translate.codeberg.org> 46bad3a79 - 2024-10-29 - saltsnorter <saltsnorter@users.noreply.translate.codeberg.org> 6a4096da9 - 2024-10-27 - Eryk Michalak <gnu.ewm@protonmail.com> 64815d956 - 2024-10-28 - ljansen <ljansen@users.noreply.translate.codeberg.org> 851ae554d - 2024-10-26 - return42 <return42@users.noreply.translate.codeberg.org> 24f16d5e3 - 2024-10-26 - return42 <return42@users.noreply.translate.codeberg.org> 8278d1cb9 - 2024-10-26 - Atul_Eterno <Atul_Eterno@users.noreply.translate.codeberg.org>
2024-10-31[fix] google: display every result when keyword is contained in content fielduply23333
2024-10-29[fix] favicons: msgspec.ValidationError: Expected `Path`, got `str` - at ↵Markus Heiser
`$.favicons.cache.db_url` Closes: https://github.com/searxng/searxng/issues/3975 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-29[refactor] engine: duckduckgo - https://html.duckduckgo.com/htmlMarkus Heiser
The entire source code of the duckduckgo engine has been reengineered and purified. 1. DDG used the URL https://html.duckduckgo.com/html for no-JS requests whose response is also easier to parse than the previous https://lite.duckduckgo.com/lite/ URL 2. the bot detection of DDG has so far caused problems and often led to a CAPTCHA, this can be circumvented using `'Sec-Fetch-Mode'] = “navigate”` Closes: https://github.com/searxng/searxng/issues/3927 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-29[refactor] replace pydantic by msgspecMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-29[data] update searx.data - update_firefox_version.pyreturn42
2024-10-29[data] update searx.data - update_ahmia_blacklist.pyreturn42
2024-10-29[data] update searx.data - update_currencies.pyreturn42
2024-10-29[data] update searx.data - update_wikidata_units.pyreturn42
2024-10-29[data] update searx.data - update_engine_traits.pyreturn42
2024-10-29[data] update searx.data - update_engine_descriptions.pyreturn42
2024-10-28[fix] calculator: use locale from UI (not from selected language)Markus Heiser
Closes: https://github.com/searxng/searxng/issues/3956 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-28[fix] limiter: don't hard code settings folder to /etc/searxngMarkus Heiser
The location of the local settings depends on environment ``SEARXNG_SETTINGS_PATH`` and can be different from ``/etc/searxng``. Issue was reported on Matrix [1]. To get the location function ``searx.settings_loader.get_user_cfg_folder()`` should be used. [1] https://matrix.to/#/!vxScbLNEAmRvOraXBn:matrix.org/$_eLS0JpE9oVEWsiGJkqJnWcFWEeZClIMGDK6cWv_Q4g?via=matrix.org&via=tchncs.de&via=envs.net Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-26[fix] add missing tomli to the requirements.txtMarkus Heiser
Package ``tomli`` is needed for py < 3.11, BTW remove the no longer needed pytomlpp package. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-26[build] /staticMarkus Heiser
2024-10-26[mod] shrink new favicons in search resultsJJ
2024-10-26[l10n] update translations from Weblatesearxng-bot
21c063bf1 - 2024-10-20 - Priit Jõerüüt <jrtcdbrg@users.noreply.translate.codeberg.org>
2024-10-23[fix] favicons: don't hard code settings folder to /etc/searxngMarkus Heiser
The location of the local settings depends on environment ``SEARXNG_SETTINGS_PATH`` and can be different from ``/etc/searxng``. Issue was reported on Matrix [1]. To get the location function ``searx.settings_loader.get_user_cfg_folder()`` should be used. [1] https://matrix.to/#/!vxScbLNEAmRvOraXBn:matrix.org/$5xNMYvONGB-mPt2B3ttoL27QncRFhkjGkO-TISdmP08?via=matrix.org&via=tchncs.de&via=envs.net Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-19[fix] engine: duckduckgo - CAPTCHA detectionMarkus Heiser
The previous implementation could not distinguish a CAPTCHA response from an ordinary result list. In the previous implementation a CAPTCHA was taken as a result list where no items are in. DDG does not block IPs. Instead, a CAPTCHA wall is placed in front of request on a dubious request. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-19[l10n] update translations from Weblatesearxng-bot
17f8bce27 - 2024-10-17 - hemie143 <hemie143@users.noreply.translate.codeberg.org> fbeb82816 - 2024-10-15 - return42 <return42@users.noreply.translate.codeberg.org> eacea331b - 2024-10-15 - return42 <return42@users.noreply.translate.codeberg.org> 36156687e - 2024-10-15 - return42 <return42@users.noreply.translate.codeberg.org> 61cb3375d - 2024-10-15 - return42 <return42@users.noreply.translate.codeberg.org> 2b3c92d37 - 2024-10-13 - Pedro_Tresp <Pedro_Tresp@users.noreply.translate.codeberg.org> d4febbf8a - 2024-10-12 - stoychevww <stoychevww@users.noreply.translate.codeberg.org>
2024-10-16[build] /staticmrpaulblack
2024-10-16[fix] simple theme: unset width for images on mobile layoutmrpaulblack
* fix fallout from 2fbedc4316b4e8a8bce8bb9506f59aa61e1a2666 -> similar to 14fb187548a58144c5cd13c9292fcc52f5a025c5 * change: set image height to 10rem -> this is in my opinion more sensible size for mobile
2024-10-15[build] /staticMarkus Heiser
2024-10-15[fix] stretching pics in "pic search"Markus Heiser
Issue is described in: - https://github.com/searxng/searxng/issues/3915 The issue was caused bei merge of PR: - https://github.com/searxng/searxng/pull/3895 Solution: - Unset `width` for objects of class `.result-images`. Tested by `make run` and query a list of results, containing `.result` and `.result-images` objects: !images !go bäder :de Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Closes: https://github.com/searxng/searxng/issues/3915
2024-10-15[fix] online_currency.py: if more alternatives, use the last in the listMarkus Heiser
If there are more than one ISO 4217 numeric codes [1] for a currency use the last one in the list of alternatives [2]. [1] https://en.wikipedia.org/wiki/ISO_4217#Active_codes_(list_one) [2] https://en.wikipedia.org/wiki/ISO_4217#Historical_codes Closes: https://github.com/searxng/searxng/issues/3713 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-15[upd] pypi: Bump pylint from 3.2.7 to 3.3.1dependabot[bot]
Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.2.7 to 3.3.1. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.7...v3.3.1) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-10-15[feat] engine: support for openlibraryBnyro
2024-10-15[fix] float operations in calculator pluginGrant Lanham
This patch adds an additional *isinstance* check within the ast parser to check for float along with int, fixing the underlying issue. Co-Authored: Markus Heiser <markus.heiser@darmarit.de>
2024-10-15[data] update searx.data - update_engine_traits.pyMarkus Heiser
Patches generated by:: make data.traits Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-15[enh] engine: mojeek - add language support0xhtml
Improve region and language detection / all locale Testing has shown the following behaviour for the different default and empty values of Mojeeks parameters: | param | idx | value | behaviour | | -------- | --- | ------ | ------------------------- | | region | 0 | '' | detect region based on IP | | region | 1 | 'none' | all regions | | language | 0 | '' | all languages |
2024-10-14[mod] engine gitea: compatible with modern gitea or forgejoSnoweuph
Without this patch the Gitea Search Engine is only partially compatible with modern gitea or forgejo: - Fixing some JSON Fields - Using Repository Avatar when Available To Verify My results you can look at the Modern API doc and results, its available on all Gitea and Forgejo instance by Default. Heres an Search API result of Mine: - https://git.euph.dev/api/v1/repos/search?q=ccna
2024-10-12[build] /staticMarkus Heiser
2024-10-12[fix] simple theme: fix deformed result itemMarkus Heiser
Setting ``box-sizing: border-box;`` [1] and ``width`` to fix deformed results reported in [2]. [1] https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing [2] https://github.com/searxng/searxng/issues/3892 Closes: #3892 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-11[l10n] update translations from Weblatesearxng-bot
83a8d6627 - 2024-10-10 - Outbreak2096 <Outbreak2096@users.noreply.translate.codeberg.org> c4474a60b - 2024-10-10 - return42 <return42@users.noreply.translate.codeberg.org> a632dff03 - 2024-10-09 - bobolau <bobolau@users.noreply.translate.codeberg.org> e8944e486 - 2024-10-08 - elek <elek@users.noreply.translate.codeberg.org> 2bd9c1229 - 2024-10-07 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org> 5cb441b60 - 2024-10-07 - return42 <return42@users.noreply.translate.codeberg.org> aba724c87 - 2024-10-07 - return42 <return42@users.noreply.translate.codeberg.org> 92bea9f03 - 2024-10-08 - Linerly <Linerly@users.noreply.translate.codeberg.org> f574a3a3f - 2024-10-08 - ghose <ghose@users.noreply.translate.codeberg.org> 4845ea7e2 - 2024-10-08 - Ricky-Tigg <Ricky-Tigg@users.noreply.translate.codeberg.org> 7d0b4d0d9 - 2024-10-07 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org> 6431436b2 - 2024-10-07 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org> 30e671f30 - 2024-10-07 - Fabio_Perri <Fabio_Perri@users.noreply.translate.codeberg.org> 6629d15cb - 2024-10-07 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org> a3b4d53cc - 2024-10-05 - 0ko <0ko@users.noreply.translate.codeberg.org> 1763b224e - 2024-10-05 - Atul_Eterno <Atul_Eterno@users.noreply.translate.codeberg.org> 0ea2b49a8 - 2024-10-06 - return42 <return42@users.noreply.translate.codeberg.org> 837324445 - 2024-10-05 - Fjuro <fjuro@alius.cz> eec53d3b1 - 2024-10-05 - SomeTr <SomeTr@users.noreply.translate.codeberg.org> 4cd76e531 - 2024-10-05 - Priit Jõerüüt <jrtcdbrg@users.noreply.translate.codeberg.org>