Commit graph

8101 commits

Author SHA1 Message Date
Markus Heiser
1a8ff10e30 [mod] redislib - optimize LUA script registration.
Instead of register the LUA script on each call, the LUA script is registered
once and the `Script` object is cached in global storage.

[1] https://github.com/searxng/searxng/pull/1047#discussion_r884143305

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-05-30 11:21:09 +02:00
Markus Heiser
4b185f0e11 [mod] plugins/limiter.py - use searx.redislib.incr_sliding_window
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-05-30 11:10:30 +02:00
Markus Heiser
08876df7c2 [mod] collection of redis functions and lua scripts (initial)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-05-30 11:10:30 +02:00
Paul Braeuning
51ba817e06
Merge pull request #1254 from tiekoetter/add-petalsearch
[engine] petal search
2022-05-29 22:54:54 +02:00
Léon Tiekötter
167f635924
[engine] petal search news
Add Petal Search News to SearXNG via XPath
2022-05-29 22:49:41 +02:00
Léon Tiekötter
f09e8abd76
[engine] petal search
Add Petal Search to SearXNG via XPath
2022-05-29 22:23:30 +02:00
Markus Heiser
38403ee515
Merge pull request #1211 from return42/rm-gh-issue
[fix] remove .github/ISSUE_TEMPLATE/discuss.md
2022-05-29 14:50:01 +02:00
Alexandre Flament
ffffe304ba
Merge pull request #1250 from tiekoetter/fix-mojeek-xpath
[fix] mojeek engine: xpath
2022-05-29 10:51:50 +02:00
Léon Tiekötter
7c8903c809
[fix] mojeek engine: xpath 2022-05-28 18:09:25 +02:00
Markus Heiser
e93385e6de
Merge pull request #1249 from Linerly/english-infopage
Capitalize website names in search-syntax.md, in the English infopage
2022-05-28 16:50:55 +02:00
Markus Heiser
12d808e75d
Merge pull request #1248 from Linerly/indonesian-infopage
Update Indonesian infopages
2022-05-28 16:48:37 +02:00
Linerly
c2f7b1136e
Capitalize website names 2022-05-28 14:41:53 +00:00
Linerly
979c42f044
Replace link 2022-05-28 14:38:14 +00:00
Linerly
2871900651
Capitalize website names 2022-05-28 14:34:58 +00:00
Linerly
db26b9b13b
Replace English links to Indonesian links 2022-05-28 14:33:10 +00:00
Markus Heiser
967ce01daa
Merge pull request #1245 from return42/translate-de
[translation] add DE translation of the info pages
2022-05-28 14:58:06 +02:00
Markus Heiser
22d8971bc9 [translation] add DE translation of about.md and search-syntax.md
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-05-28 14:28:51 +02:00
Markus Heiser
7686739f56
Merge pull request #1242 from Linerly/indonesian-infopage
Add Indonesian translations of about.md and search-syntax.md
2022-05-28 12:06:00 +02:00
Alexandre Flament
ac5fbaec1b
Merge pull request #1243 from searxng/translations_update
Update translations
2022-05-27 11:24:52 +02:00
searxng-bot
69886253d6 [translations] update from Weblate
00f6ec8e - 2022-05-27 - Tony <papetouses@gmail.com>
76553d1e - 2022-05-22 - Markus Heiser <markus.heiser@darmarit.de>
897c7b0a - 2022-05-22 - Markus Heiser <markus.heiser@darmarit.de>
bed737a1 - 2022-05-23 - Markus Heiser <markus.heiser@darmarit.de>
9a0227e5 - 2022-05-26 - Markus Heiser <markus.heiser@darmarit.de>
f8598b81 - 2022-05-24 - 358k <358k@protonmail.com>
a181f9e3 - 2022-05-26 - Markus Heiser <markus.heiser@darmarit.de>
1c0c6941 - 2022-05-26 - Markus Heiser <markus.heiser@darmarit.de>
5b707d4d - 2022-05-26 - smallaxe80 <smallaxe1980@gmail.com>
2022-05-27 07:19:13 +00:00
Linerly
f3134e0869 Add Indonesian translations of about.md and search-syntax.md 2022-05-27 10:06:44 +07:00
Alexandre Flament
8660306118
Merge pull request #1240 from allendema/brave-results
[fix] [new] Brave - Update xpath
2022-05-26 20:17:42 +02:00
Allen
13f4dcafc1
[fix] [new] Brave - Update xpath
Last merge request was messed up with git.
2022-05-26 18:44:11 +02:00
Alexandre Flament
fddbc5ed00
Merge pull request #1235 from dalf/bing_false_ddg_true
disable Bing by default, enable ddg by default
2022-05-24 23:38:09 +02:00
Alexandre Flament
c24864a9ad Enable duckduckgo by default
see https://github.com/searxng/searxng/pull/1219#discussion_r879543174
2022-05-24 23:33:12 +02:00
Alexandre Flament
cea7b71d14 Disable the bing engine
see
* https://github.com/searxng/searxng/discussions/1209
* https://github.com/searxng/searxng/issues/941
* https://github.com/searxng/searxng/pull/1219
2022-05-24 23:33:08 +02:00
Alexandre Flament
d694b339c5
Merge pull request #1214 from dalf/update_template_image
Template images.html: always use JS to lazy load the full size images
2022-05-24 23:14:47 +02:00
Alexandre Flament
61535a4c20
Merge pull request #1217 from searxng/translations_update
Update translations
2022-05-20 09:44:00 +02:00
Alexandre Flament
8f6e25bf13
Merge pull request #1216 from searxng/dependabot/pip/master/certifi-2022.5.18.1
Bump certifi from 2021.10.8 to 2022.5.18.1
2022-05-20 09:41:55 +02:00
Alexandre Flament
df92f69ed0
Merge pull request #1215 from searxng/dependabot/pip/master/pylint-2.13.9
Bump pylint from 2.13.8 to 2.13.9
2022-05-20 09:40:42 +02:00
searxng-bot
1911d63186 [translations] update from Weblate
fffd40d4 - 2022-05-17 - Orwell Not <neteheste@gmail.com>
ae4b92e4 - 2022-05-16 - Linerly <linerly@protonmail.com>
946e5e9c - 2022-05-18 - Markus Heiser <markus.heiser@darmarit.de>
c758b17b - 2022-05-16 - tents <remendne@pentrens.jp>
0a73f5ad - 2022-05-19 - Anthony ocic <drake@zmmapperz.net>
36c8c1a2 - 2022-05-15 - Alexandre Flament <alex@al-f.net>
42fec22c - 2022-05-16 - Markus Heiser <markus.heiser@darmarit.de>
43d1f4ed - 2022-05-17 - Orwell Not <neteheste@gmail.com>
2022-05-20 07:19:10 +00:00
dependabot[bot]
f4b6506f96
Bump certifi from 2021.10.8 to 2022.5.18.1
Bumps [certifi](https://github.com/certifi/python-certifi) from 2021.10.8 to 2022.5.18.1.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2021.10.08...2022.05.18.1)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 07:04:54 +00:00
dependabot[bot]
18529c3f89
Bump pylint from 2.13.8 to 2.13.9
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.13.8 to 2.13.9.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.13.8...v2.13.9)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 07:04:51 +00:00
Alexandre FLAMENT
0063427309 Template images.html: lazy by JS the full size image
Remove lazy loading by browser / width / height:
JS is required to display this HTML fragment anyway.

Simplify the HTML template.
2022-05-18 07:29:31 +00:00
Markus Heiser
6a0183c246 [fix] remove .github/ISSUE_TEMPLATE/discuss.md
In 2021 we did not used github-discussions, see commit message of 272c9d6b.
Theses days we use github-discussions and have a Q&A category in there [1].

[1] https://github.com/searxng/searxng/discussions/categories/q-a

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-05-16 08:05:46 +02:00
Alexandre Flament
f814ac703b
Merge pull request #1202 from julianfairfax/master
Preferences URL in preferences
2022-05-15 20:42:37 +02:00
Julian Fairfax
7d443dfea3 Preferences URL in preferences
Revert translation changes

Auto-save preferences from URL

Preferences URL in preferences

Fix that

Preferences URL in preferences
2022-05-15 20:34:04 +02:00
Alexandre Flament
173c14544e
Merge pull request #1207 from allendema/add-alexandria
[enh] Add alexandria.org engine
2022-05-15 20:28:22 +02:00
Allen
6ef24ffd94
[enh] Add alexandria.org engine
engine: json_engine
official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
2022-05-15 11:10:15 +02:00
Alexandre Flament
de0c4d7cd8
Merge pull request #1197 from searxng/dependabot/pip/master/redis-4.3.1
Bump redis from 4.2.2 to 4.3.1
2022-05-13 17:01:48 +02:00
Alexandre Flament
117fbd61dc
Merge pull request #1198 from searxng/translations_update
Update translations
2022-05-13 16:58:39 +02:00
searxng-bot
6b29cddadb [translations] update from Weblate
2842aa38 - 2022-05-12 - gkkulik <gregorykkulik@gmail.com>
c8fd2dee - 2022-05-08 - Linerly <linerly@protonmail.com>
6336104f - 2022-05-11 - Markus Heiser <markus.heiser@darmarit.de>
2419fe86 - 2022-05-13 - Luka <jovanovic.luka3214@gmail.com>
6ed911eb - 2022-05-11 - Markus Heiser <markus.heiser@darmarit.de>
b6afceca - 2022-05-08 - tents <remendne@pentrens.jp>
a250f349 - 2022-05-11 - Markus Heiser <markus.heiser@darmarit.de>
3506357b - 2022-05-11 - Markus Heiser <markus.heiser@darmarit.de>
dbf772e9 - 2022-05-11 - Mico Hautaluoma <m@mha.fi>
ee7c5036 - 2022-05-11 - Mico Hautaluoma <m@mha.fi>
8411acd2 - 2022-05-09 - Markus Heiser <markus.heiser@darmarit.de>
2022-05-13 07:20:35 +00:00
dependabot[bot]
7caf59a26d
Bump redis from 4.2.2 to 4.3.1
Bumps [redis](https://github.com/redis/redis-py) from 4.2.2 to 4.3.1.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v4.2.2...v4.3.1)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 07:03:49 +00:00
Léon Tiekötter
459b9c1835
Merge pull request #1118 from mrpaulblack/simple-products-template
[simple theme] add products.html result template
2022-05-11 00:13:09 +02:00
mrpaulblack
bc89bb4790 [build] /static 2022-05-11 00:03:42 +02:00
mrpaulblack
392c9c4243 [simple theme] add products.html template 2022-05-11 00:03:21 +02:00
Léon Tiekötter
035a4eaa09
Merge pull request #1194 from mrpaulblack/fix-leaflet-src
[fix] loading of external resources in JS client toolkit
2022-05-10 23:24:24 +02:00
mrpaulblack
58d4086ce1 [build] /static 2022-05-10 23:06:44 +02:00
Paul Braeuning
b47e44a008
Merge pull request #1196 from unixfox/patch-2
Fix typo for the limiter plugin docs
2022-05-10 22:51:03 +02:00
Paul Braeuning
83e2a0ec48
Merge pull request #1195 from unixfox/patch-1
Reflect the real world parameter from settings.yml
2022-05-10 22:50:39 +02:00