Émilien (perso)
bafb92e646
reword join the searxng community
2024-10-12 11:08:00 +02:00
dependabot[bot]
1b8db63b33
[upd] pypi: Bump pydantic from 2.8.2 to 2.9.2
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.8.2 to 2.9.2.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.8.2...v2.9.2 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 18:39:35 +02:00
searxng-bot
5a32ee410b
[l10n] update translations from Weblate
...
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>
2024-10-11 18:33:17 +02:00
Allen
81aaca8f44
[mod] use quad9 dns for connectivity checks when lxc
...
https://www.quad9.net/about/
https://bgp.tools/as/42#whois
2024-10-10 07:05:46 +02:00
Markus Heiser
f1f0dfd231
Revert "[fix] docker: alpine - install apk py3-pydantic-core"
...
This reverts commit 5332d3a0b8
.
2024-10-07 13:18:54 +02:00
Markus Heiser
5332d3a0b8
[fix] docker: alpine - install apk py3-pydantic-core
...
Alpine Linux uses musl libc (instead of glibc). However, there is no pre-build
of the pydantic-core python package for musl lib on armv7. Alternatively this
patch installs py3-pydantic-core from Alpine packages [1]
[1] https://pkgs.alpinelinux.org/package/edge/community/armv7/py3-pydantic-core
- closes: https://github.com/searxng/searxng/issues/3887
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-06 11:59:57 +02:00
Markus Heiser
f00fa76eda
[build] /static
2024-10-05 08:18:28 +02:00
Markus Heiser
a631f77401
[mod] favicons: simplify RTL in template & CSS
...
Comes from a sughgestion in:
- https://github.com/searxng/searxng/pull/3727#issuecomment-2388998803
Suggested-by: Bnyro <bnyro@tutanota.com>
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
Markus Heiser
a7d02d4101
[doc] documentation of the favicons infrastructure
...
Run ``make docs.live`` and visit http://0.0.0.0:8000/admin/searx.favicons.html
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
Markus Heiser
5ded9ada82
[mod] UI: add favicon's border- and background color to the definitons
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
Markus Heiser
7ab577a1fb
[mod] Revision of the favicon solution
...
All favicons implementations have been documented and moved to the Python
package:
searx.favicons
There is a configuration (based on Pydantic) for the favicons and all its
components:
searx.favicons.config
A solution for caching favicons has been implemented:
searx.favicon.cache
If the favicon is already in the cache, the returned URL is a data URL [1]
(something like `data:image/png;base64,...`). By generating a data url from
the FaviconCache, additional HTTP roundtripps via the favicon_proxy are saved:
favicons.proxy.favicon_url
The favicon proxy service now sets a HTTP header "Cache-Control: max-age=...":
favicons.proxy.favicon_proxy
The resolvers now also provide the mime type (data, mime):
searx.favicon.resolvers
[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
Markus Heiser
c49a2707c1
[mod] sqlitedb: access to SQLite databases a little more convenient.
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
Brock Vojkovic
e17d7632d0
[feat] add favicons to result urls
2024-10-05 08:18:28 +02:00
searxng-bot
3e747d0491
[l10n] update translations from Weblate
...
b59b0d937
- 2024-10-04 - ghose <ghose@users.noreply.translate.codeberg.org>
770781548
- 2024-10-04 - return42 <return42@users.noreply.translate.codeberg.org>
0d5f72f8c
- 2024-10-04 - return42 <return42@users.noreply.translate.codeberg.org>
b14fd01b1
- 2024-10-04 - return42 <return42@users.noreply.translate.codeberg.org>
e457a6b1c
- 2024-10-03 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
328b93af4
- 2024-10-03 - Fjuro <fjuro@alius.cz>
2024-10-04 09:18:26 +02:00
Grant Lanham
44a06190bb
[refactor] unit tests to utilize paramaterized and break down monolithic tests
...
- for tests which perform the same arrange/act/assert pattern but with different
data, the data portion has been moved to the ``paramaterized.expand`` fields
- for monolithic tests which performed multiple arrange/act/asserts,
they have been broken up into different unit tests.
- when possible, change generic assert statements to more concise
asserts (i.e. ``assertIsNone``)
This work ultimately is focused on creating smaller and more concise tests.
While paramaterized may make adding new configurations for existing tests
easier, that is just a beneficial side effect. The main benefit is that smaller
tests are easier to reason about, meaning they are easier to debug when they
start failing. This improves the developer experience in debugging what went
wrong when refactoring the project.
Total number of tests went from 192 -> 259; or, broke apart larger tests into 69
more concise ones.
2024-10-03 13:20:32 +02:00
dependabot[bot]
042c7190e6
[upd] pypi: Bump sphinx-autobuild from 2021.3.14 to 2024.10.3
...
Bumps [sphinx-autobuild](https://github.com/sphinx-doc/sphinx-autobuild ) from 2021.3.14 to 2024.10.3.
- [Release notes](https://github.com/sphinx-doc/sphinx-autobuild/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx-autobuild/blob/main/NEWS.rst )
- [Commits](https://github.com/sphinx-doc/sphinx-autobuild/compare/2021.03.14...2024.10.03 )
---
updated-dependencies:
- dependency-name: sphinx-autobuild
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-03 13:18:03 +02:00
Markus Heiser
2fd6730d4f
[mod] py3.8 EOL / upgrade to actions/setup-python@v5
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-03 13:05:43 +02:00
Markus Heiser
e7a4d7d7c3
[doc] slightly improve documentation of SQL engines
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-03 13:04:06 +02:00
Grant Lanham
2a29e16d25
[feat] implement mariadb engine
2024-10-03 13:04:06 +02:00
Markus Heiser
d48f04e809
[build] /static
2024-10-03 11:05:46 +02:00
Bnyro
421c131707
[refactor] simple theme: *.less - replace hardcoded colors
...
Closes: https://github.com/searxng/searxng/issues/3842
2024-10-03 11:05:46 +02:00
Bnyro
b42ce34ca8
[build] /static
2024-10-03 10:53:17 +02:00
Bnyro
e4b2823abd
[feat] simple theme: pure black theme style
2024-10-03 10:53:17 +02:00
Austin-Olacsi
cbf1e90979
add get_embeded_stream_url to searx.utils
2024-10-03 07:10:53 +02:00
Markus Heiser
f07ab6deb0
[data] update searx.data - update_engine_traits.py
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-29 14:29:22 +02:00
0xhtml
0a0fb450b5
[enh] engine: stract - add language/region support
2024-09-29 14:29:22 +02:00
return42
b5009b8610
[data] update searx.data - update_engine_descriptions.py
2024-09-29 13:17:43 +02:00
return42
d6b04d3ba1
[data] update searx.data - update_engine_traits.py
2024-09-29 13:17:06 +02:00
return42
bc6ee05422
[data] update searx.data - update_currencies.py
2024-09-29 13:16:45 +02:00
return42
a4558dda47
[data] update searx.data - update_firefox_version.py
2024-09-29 13:16:25 +02:00
return42
eb31eaaba0
[data] update searx.data - update_ahmia_blacklist.py
2024-09-29 13:15:57 +02:00
return42
609ead9ffe
[data] update searx.data - update_wikidata_units.py
2024-09-29 13:14:53 +02:00
dependabot[bot]
f95a5effcc
[upd] pypi: Bump selenium from 4.24.0 to 4.25.0
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.24.0 to 4.25.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.24.0...selenium-4.25.0 )
---
updated-dependencies:
- dependency-name: selenium
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-28 08:50:35 +02:00
searxng-bot
9bae26a106
[l10n] update translations from Weblate
...
7f8a5a94e
- 2024-09-24 - abhabongse <abhabongse@users.noreply.translate.codeberg.org>
d69f2d929
- 2024-09-23 - kratos <kratos@users.noreply.translate.codeberg.org>
f7f0c0f94
- 2024-09-23 - kratos <kratos@users.noreply.translate.codeberg.org>
52bea48dc
- 2024-09-23 - AndersNordh <AndersNordh@users.noreply.translate.codeberg.org>
fe6659955
- 2024-09-22 - tentsbet <tentsbet@users.noreply.translate.codeberg.org>
69a05cbae
- 2024-09-22 - Linerly <Linerly@users.noreply.translate.codeberg.org>
2024-09-28 08:49:10 +02:00
dependabot[bot]
940da05f03
[upd] pypi: Bump linuxdoc from 20240509 to 20240924
...
Bumps [linuxdoc](https://github.com/return42/linuxdoc ) from 20240509 to 20240924.
- [Changelog](https://github.com/return42/linuxdoc/blob/master/CHANGELOG )
- [Commits](https://github.com/return42/linuxdoc/commits )
---
updated-dependencies:
- dependency-name: linuxdoc
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-28 08:38:22 +02:00
Grant Lanham
6a3375be37
[fix] use get accessor to pull desc from bing_images
2024-09-26 07:26:51 +02:00
Zhijie He
6be56aee11
add Cloudflare AI Gateway engine
...
add Cloudflare AI Gateway engine
add settings for Cloudflare AI Gateway engine
set utf8 encode for data, fix non english char cause 500 error
format json data
fixed indentation and config format error
fix line-length limitation in CI
reformatted code for CI
reformatted code for CI
limit system prompts to less 120 chars
cleanup unused variable & format code
2024-09-23 07:02:10 +02:00
Grant Lanham
14241e7dac
Add paramaterized with example of refactor
...
reduce test name size
fix imports
2024-09-22 08:03:02 +02:00
searxng-bot
ea16c82d78
[l10n] update translations from Weblate
...
7174f090f
- 2024-09-15 - MPBDev <MPBDev@users.noreply.translate.codeberg.org>
c7c76552e
- 2024-09-14 - return42 <return42@users.noreply.translate.codeberg.org>
9b9ec6361
- 2024-09-14 - kny5 <kny5@users.noreply.translate.codeberg.org>
af19df705
- 2024-09-14 - return42 <return42@users.noreply.translate.codeberg.org>
cc658f945
- 2024-09-15 - Fjuro <fjuro@alius.cz>
15a59fda5
- 2024-09-14 - return42 <return42@users.noreply.translate.codeberg.org>
2024-09-22 07:32:01 +02:00
dwitterer
915cf9b7af
Update own-instance.rst
...
Implemented the suggested changes.
2024-09-22 07:28:32 +02:00
dwitterer
ba4942ea51
Update own-instance.rst
...
Improved English grammar and punctuation for professionalism.
2024-09-22 07:28:32 +02:00
Markus
0b3724651e
[fix] simple template: drop useless `aria-labelledby
` attributes
...
This patch removes the ``aria-labelledby`` attributes for which there is no tag
with the corresponding ID.
Reported-by: @glanham-jr https://github.com/searxng/searxng/issues/3793#issuecomment-2351689483
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21 15:23:21 +02:00
Markus
5ad0214bd4
[fix] simple template: macro checkbox_onoff_reversed
...
In its previous implementation, the macro ``checkbox_onoff_reversed`` always
created an ``aria-labelledby`` attribute, even if there was no descriptive tag
with the generated ID (used as the value of the ``aria-labelledby``).
Before this patch, the Nu-HTML-Checker [1] reported 255 issues of this type::
The aria-labelledby attribute must point to an element in the same document. (255)
[1] https://validator.w3.org/nu/
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21 15:23:21 +02:00
Markus
8b8d830fd3
[fix] simple template: add ID to elements used for aria-labelledby
...
The ``aria-labelledby`` [1] attribute identifies the element that labels the
element it is applied to. The templates ``infinite_scroll.html`` and
``search_on_category_select.html`` define a ``aria-labelledby`` at the <input>
tag but miss the id in the <div> with the description.
[1] https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21 15:23:21 +02:00
Markus
67fcf3cc67
[fix] Removes `/>
` ending tags for void HTML elements
...
continuation of commit: 0b832f19b
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-21 15:23:21 +02:00
Markus Heiser
d026486ce3
[fix] scripts: elimination of limitations on dedicated distributions
...
The restriction of shell scripts to certain distributions is only required for
certain actions such as the installation of a SearXNG instance. The maintenance
scripts and build processes were previously also restricted to these specific
distributions. With this patch, the build processes (such as the build of
online documentation) can now also be executed on all Linux distributions.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-09-19 09:35:54 +02:00
Grant Lanham
0b832f19bf
[fix] Removes `/>
` ending tags for void HTML elements
...
Removes ``/>`` ending tags for void elements [1] and replaces them with ``>``.
Part of the larger cleanup to cleanup invalid HTML throughout the codebase [2].
[1] https://html.spec.whatwg.org/multipage/syntax.html#void-elements
[2] https://github.com/searxng/searxng/issues/3793
2024-09-15 15:19:51 +02:00
Markus
28dc623785
[fix] drop engine alexandria.org
...
The origin alexandria.org is broken:
https://www.alexandria.org/?c=&r=&a=0&q=foo
returns "504 Gateway Time-out"
- Closes: https://github.com/searxng/searxng/issues/3786
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-15 14:45:48 +02:00
Markus
3630e464b3
[fix] drop engine gpodder
...
gpodder is ultra slow on search terms like foo
https://gpodder.net/search.json?q=foo
takes up to a minute to return an empty json response.
- Closes: https://github.com/searxng/searxng/issues/3785
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-15 14:45:38 +02:00
Markus
d3a795c7e7
[fix] engine: qwant - detect captchaUrl and raise SearxEngineCaptchaException
...
So far a CAPTCHA was not recognized in the response of the qwant engine and a
SearxEngineAPIException was raised by mistake. With this patch a CAPTCHA
redirect is recognized and the correct SearxEngineCaptchaException is raised.
Closes: https://github.com/searxng/searxng/issues/3806
Signed-off-by: Markus <markus@venom.fritz.box>
2024-09-15 14:45:23 +02:00