Commit Graph
100 Commits
Author SHA1 Message Date
Alexandre Flament 7e695c6644 Merge pull request #1478 from dalf/submit_bug_workflow
Engine error log: Submit a new issue button: ask the user to check if there are some existing issues.
2022-07-08 20:24:00 +02:00
Alexandre Flament f90aed7ef9 locales.py: add support for Papiamento 2022-07-08 10:00:20 +02:00
Alexandre Flament be3ecf6e31 [build] /static 2022-07-08 09:04:57 +02:00
Alexandre Flament eb489c45ea Submit GH bug: ask the user to do some checks before submitting a new issue 2022-07-08 09:04:57 +02:00
Alexandre Flament df837d8b1b Merge pull request #1428 from return42/fix-center_aligment
fix typo and document preference 'center_alignment' in the 'ui' section
2022-07-07 09:43:12 +02:00
Alexandre Flament e524358426 Merge pull request #1470 from searxng/dependabot/pip/lxml-4.9.1
Bump lxml from 4.9.0 to 4.9.1
2022-07-07 08:16:34 +02:00
Alexandre Flament 6716c6b0c3 openstreetmap engine: return the localized named.
For example: display "Tokyo" instead of "東京都" when the language is English.
2022-07-02 16:51:25 +02:00
Alexandre Flament 7f30ac37e9 map.html: display the intended text for the links instead of the URL
For example display "Tokyo (en)" instead of https://en.wikipedia.org/wiki/Tokyo
2022-07-02 16:51:25 +02:00
Alexandre Flament 578b2a8183 fix searxng_extra/update/update*.py scripts
call searx.locales.locales_initialize before using LOCALE_NAMES

Related to https://github.com/searxng/searxng/pull/1306
2022-07-02 12:16:00 +02:00
Alexandre Flament f8f239fe1f Donation link: default value to searxng.org, can be hidden or custom
Add a new setting: general.donation_url

By default the value is https://docs.searxng.org/donate.html

When the value is false, the link is hidden

When the value is true, the link goes to the infopage donation,
the administrator can create a custom page.
2022-07-02 11:29:21 +02:00
Alexandre Flament da416511b5 Merge pull request #1402 from dalf/update-top-links
Update top links
2022-07-02 10:56:16 +02:00
Alexandre Flament bcded7686e [build] /static 2022-07-02 10:05:43 +02:00
Alexandre Flament e3e5d2bd22 Theme: all top right icons have labels including "Preferences" 2022-07-02 10:04:35 +02:00
Alexandre Flament 5672f5ad2a Merge pull request #1385 from searxng/dependabot/pip/master/splinter-0.18.1
Bump splinter from 0.18.0 to 0.18.1
2022-07-01 14:10:44 +02:00
Alexandre Flament 1489df1e3f Merge pull request #1384 from searxng/dependabot/pip/master/black-22.6.0
Bump black from 22.3.0 to 22.6.0
2022-07-01 14:05:02 +02:00
Alexandre Flament 107006515e Merge pull request #1380 from dalf/move_donation_link
Move donation link
2022-06-29 22:16:42 +02:00
Alexandre FlamentandÉmilien Devos 1617ef1e41 Update searx/infopage/en/donate.md
Co-authored-by: Émilien Devos <contact@emiliendevos.be>
2022-06-29 21:03:01 +02:00
Alexandre FlamentandÉmilien Devos 8c7235d5db Update docs/donate.rst
Co-authored-by: Émilien Devos <contact@emiliendevos.be>
2022-06-29 21:02:46 +02:00
Alexandre FlamentandÉmilien Devos c5cd513367 Update README.rst
Co-authored-by: Émilien Devos <contact@emiliendevos.be>
2022-06-29 21:02:40 +02:00
Alexandre Flament 3c95af0380 Merge pull request #1369 from dalf/links-help-donate
Theme : add links to a donation page and the about page.
2022-06-28 20:30:09 +02:00
Alexandre Flament 0801f9a24e Add donate.md 2022-06-28 10:59:36 +02:00
Alexandre Flament e5cc3e36ad Update data-update.yml
See #1271
2022-06-27 15:01:23 +02:00
Alexandre Flament 86f14fd066 [build] /static 2022-06-25 20:32:04 +02:00
Alexandre Flament 6e2b5f3d5a Theme: add Help and Donate links in all pages
Close https://github.com/searxng/searxng/issues/931
2022-06-25 20:31:40 +02:00
Alexandre Flament 4bedd7465c Merge pull request #1346 from dalf/theme-dependencies-upgrade
Theme: dependencies upgrade
2022-06-25 19:27:42 +02:00
Alexandre Flament 593d7ca618 Merge pull request #1367 from searxng/translations_update
Update translations
2022-06-25 17:53:26 +02:00
Alexandre Flament 2315b8f28b Node: update to node 16.15.1 2022-06-25 14:07:39 +02:00
Alexandre Flament 0f3e98ace4 Theme: upgrade dependencies & minor update of the grunt scripts
Remove webfont grunt script
Update clean grunt script
2022-06-25 13:59:37 +02:00
Alexandre Flament 4a26771d65 Merge pull request #1360 from searxng/dependabot/pip/master/selenium-4.3.0
Bump selenium from 4.2.0 to 4.3.0
2022-06-25 13:53:16 +02:00
Alexandre Flament 189df7db4e Merge pull request #1287 from dalf/style-center-2nd
Theme: add a preference to center the results (Oscar) (2nd edition)
2022-06-18 12:34:57 +02:00
Alexandre Flament 0539e38309 Workaround: index.html: remove image preload
Related to https://github.com/searxng/searxng/issues/1326

URL for the logo is referenced twice:
* in index.html for preloading: it contains the hash for cache busting (when static_use_hash: true)
* in searxng.min.css: to actually display the image. The URL doesn't contain the hash.

So the image preload actually loads twice the same image.

This commit removed the image preloading.
This is workaround: the real fix is to be able to use the URL with the hash in the CSS.
2022-06-18 09:04:13 +02:00
Alexandre Flament e6c3000909 [build] /static 2022-06-18 08:58:06 +02:00
Alexandre Flament 8a85d1b0c7 Theme: add a preference to center the results (Oscar) (2nd edition)
related to
* #1169
* #1281
* #1286
2022-06-18 08:54:24 +02:00
Alexandre Flament 43b8b64866 Merge pull request #1328 from return42/yaml-strict
[fix] test.yamllint: return non-zero exit code on warnings
2022-06-18 08:53:07 +02:00
Alexandre Flament b41a685eb1 Merge pull request #1336 from searxng/dependabot/pip/master/splinter-0.18.0
Bump splinter from 0.17.0 to 0.18.0
2022-06-18 08:37:25 +02:00
Alexandre Flament 1945039017 Merge pull request #1344 from dalf/fix-sys-modules-iterator
Fix: use sys.modules.copy() to avoid RuntimeError
2022-06-18 08:26:46 +02:00
Alexandre Flament 5bcbec9b06 Fix: use sys.modules.copy() to avoid RuntimeError
use sys.modules.copy() to avoid "RuntimeError: dictionary changed size during iteration"
see https://github.com/python/cpython/issues/89516
and https://docs.python.org/3.10/library/sys.html#sys.modules

close https://github.com/searxng/searxng/issues/1342
2022-06-18 07:39:46 +02:00
Alexandre Flament a7b0b2ecbf Merge pull request #1329 from samsaptidev/feature/privacypolicy_url
Add privacypolicy_url option
2022-06-18 07:26:40 +02:00
Alexandre Flament 3ade7ffc26 [build] /static 2022-06-13 21:38:07 +02:00
Alexandre Flament fe1683c9c6 UX fix: when the user clicks on the search input, don't move the cursor at the end
Related to https://github.com/searxng/searxng/pull/1153#issuecomment-1154247988
2022-06-13 21:35:14 +02:00
Alexandre Flament ee3f230d93 Autocomplete: don't suggest the current query.
Example of minor issue before this commit:
the autocompletion can suggest "Test" if the query is "Test".
2022-06-12 11:21:24 +02:00
Alexandre Flament 2455f1d06a Merge pull request #1308 from allendema/add-yep-com-json
[enh] Add yep.com via json_engine
2022-06-12 11:09:04 +02:00
Alexandre Flament a029ebff01 Merge pull request #1311 from dalf/wikidata-optmization
Wikidata optmizations
2022-06-11 18:36:26 +02:00
Alexandre Flament cd2dd5dd55 Wikidata engine: ignore dummy entities
Close #641
2022-06-11 11:09:21 +02:00
Alexandre Flament d068b67a71 Wikidata engine: minor change of the SPARQL request
The engine can be slow especially when the query won't return any answer.
See https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/MWAPI#Find_articles_in_Wikipedia_speaking_about_cheese_and_see_which_Wikibase_items_they_correspond_to

Related to #1290
2022-06-11 10:50:11 +02:00
Alexandre Flament ea0cddba0b Merge pull request #1047 from return42/redis-lib
Add a redis library to generalize DB functions we need in SearXNG.
2022-06-06 10:59:11 +02:00
Alexandre Flament 06217ef184 [build] /static 2022-06-05 23:06:19 +02:00
Alexandre Flament 9723cef99a Revert "Theme: add a preference to center the results (Oscar)"
This reverts commit 4237f5fd50.
2022-06-05 23:03:26 +02:00
Alexandre Flament 1b4180df66 Merge pull request #1271 from searxng/data-update-28th
data-update.yml: updated on the 28th of the month
2022-06-05 21:54:42 +02:00
Alexandre Flament f8f6b95d8f Merge pull request #1281 from dalf/style-center
Theme: add a preference to center the results
2022-06-05 21:39:58 +02:00
Alexandre Flament 2c62360e6e [build] /static 2022-06-05 20:00:11 +02:00
Alexandre Flament 4237f5fd50 Theme: add a preference to center the results (Oscar)
related to #1169
2022-06-05 19:59:49 +02:00
Alexandre Flament 52d3d2fb42 data-update.yml: updated on the 28th of the month
Administrators of public instances are incentivised to update their instances on the 1st of the month.

With this commit, the data are up to date by the 1st of the next month.
2022-06-02 21:18:58 +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
Alexandre Flament ac5fbaec1b Merge pull request #1243 from searxng/translations_update
Update translations
2022-05-27 11:24:52 +02: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
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
Alexandre Flament f814ac703b Merge pull request #1202 from julianfairfax/master
Preferences URL in preferences
2022-05-15 20:42:37 +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
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
Alexandre Flament 85c1c14fd7 Merge pull request #1186 from dalf/theme_remove_common
Theme: remove __common__ directories
2022-05-08 10:45:45 +02:00
Alexandre Flament 1e45dbbae9 [build] /static 2022-05-07 19:43:20 +02:00
Alexandre Flament 9b3efa6d8a theme: remove __common__ 2022-05-07 19:40:48 +02:00
Alexandre Flament 6db568bf69 Merge pull request #1185 from return42/fix-1142
[fix] format.python: regexp argument '--include' in BLACK_TARGETS
2022-05-07 19:34:23 +02:00
Alexandre Flament 30756d5cfc Merge pull request #1091 from return42/client-settings
[mod] client_settings: pass settings from server to JS client
2022-05-07 18:05:31 +02:00
Alexandre Flament 9e97a6d4ea Merge pull request #1183 from return42/build-1137
[build] /static
2022-05-07 17:44:33 +02:00
Alexandre Flament 476559a728 Merge pull request #1145 from tiekoetter/libgen
[fix] library genesis engine: xpath and url
2022-04-29 12:40:53 +02:00
Alexandre Flament d502e7d403 Merge pull request #1144 from allendema/brave-pagination
[enh] Add pagination to Brave
2022-04-24 22:44:55 +02:00
Alexandre Flament ca1a5f9d27 Merge pull request #1013 from return42/test-pybabel
[mod] add test.pybabel to cover issues in translation tasks
2022-04-23 10:58:36 +02:00
Alexandre Flament e22dc2ba36 Merge pull request #1099 from dalf/update_engine_descriptions
Update engine descriptions
2022-04-17 11:37:36 +02:00
Alexandre Flament bbf13a4657 Merge pull request #1101 from allendema/pass-cookies-from-settings
[enh] Allow passing headers/cookies from settings.yml
2022-04-17 11:37:07 +02:00
Alexandre Flament 52298d676d Merge pull request #1102 from allendema/ebay-domains
[mod] Pass desired ebay domain in settings
2022-04-17 10:55:29 +02:00
Alexandre Flament 7bf9e12db9 Update searx.data - update_engine_descriptions.py 2022-04-16 13:17:39 +02:00
Alexandre Flament ec59a1580c GitHub monthly data update: add engine descriptions 2022-04-16 13:16:27 +02:00
Alexandre Flament c474616642 Merge pull request #1071 from return42/fix-lang-dailymotion
[fix] dailymotion engine: filter by language & country
2022-04-16 11:54:49 +02:00
Alexandre Flament 4224607c62 searx.utils.html_to_text: replace <br/> by a space 2022-04-16 09:45:57 +02:00
Alexandre Flament 1a82e79b50 dailymotion: send valid value for the language parameter 2022-04-16 09:27:34 +02:00
Alexandre Flament ab9a4b7328 Merge pull request #1090 from vfosnar/master
[enh] add seznam autocomplete
2022-04-15 17:50:32 +02:00
Alexandre Flament ab522b4388 Merge pull request #1092 from searxng/dependabot/pip/master/setproctitle-1.2.3
Bump setproctitle from 1.2.2 to 1.2.3
2022-04-15 17:24:16 +02:00
Alexandre Flament 27f8fa6fe0 Merge pull request #1048 from Linerly/patch-1
Improve the about page
2022-04-09 20:30:49 +02:00
Alexandre Flament 592cea0e5e Merge pull request #1030 from austinhuang0131/master
(feat) add jisho.org
2022-04-09 18:57:20 +02:00
Alexandre Flament 74c7aee9ec jisho : code refactoring 2022-04-09 18:01:57 +02:00
Alexandre Flament e764427153 Merge branch 'master' into switch-md-parser 2022-04-09 15:24:11 +02:00
Alexandre Flament fcb626dedd Merge pull request #1056 from capric98/master
Unquote path on result page.
2022-04-05 07:59:18 +02:00
Alexandre Flament 765504ceca Merge pull request #1031 from dalf/fix-bing-_fetch_supported_languages
Fix bing  fetch supported languages
2022-04-02 08:23:58 +02:00
Alexandre Flament d1334beb4f Merge pull request #1023 from austinhuang0131/master
[fix] return correct plugin path
2022-03-29 21:27:16 +02:00
Alexandre Flament 0379856712 Merge pull request #967 from return42/language-filter
[mod] add flags to the languages filter
2022-03-28 21:36:20 +02:00
Alexandre Flament dec04c0ed6 Merge pull request #999 from return42/fix-doc-settings2
[docs] document settings.yml: search.languages
2022-03-26 17:09:07 +01:00
Alexandre Flament b44a29a5a2 Merge pull request #1004 from MontyQI/search_url
Search_url only if method is POST
2022-03-26 17:08:50 +01:00
Alexandre Flament 1ee5cfb01c Merge pull request #1000 from return42/fix-703
[fix] add sphinx-notfound-page
2022-03-26 13:42:44 +01:00
Alexandre Flament 6eae697c73 simple theme: upgrade some of dependencies
* less-plugin-clean-css: no updated version.
  @wikipedia/less-plugin-clean-css might be an alternative.

* stylelint & stylelint-config-standard
  the new versions require configuration and source code changes
2022-03-20 18:10:24 +01:00
Alexandre Flament b25f118d64 Merge pull request #990 from dalf/searxng_base_url
settings.yml: allow to base_url with the SEARXNG_BASE_URL env variable
2022-03-20 09:15:15 +01:00
Alexandre Flament 96605d4330 Merge pull request #991 from dalf/fix-894
Fix 894
2022-03-19 21:20:29 +01:00