Commit Graph
100 Commits
Author SHA1 Message Date
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
Alexandre Flament 2366345429 [build] /static 2022-03-19 20:51:51 +01:00
Alexandre Flament 84340f56ec simple theme: JS version: the reset button clear the text
The <input type="reset"> introduced in the PR 894, restores the default value.
It works in the index page, but it doesn't work in the /search page:
the reset button restore the initial query.

This PR:
* fix the JS version: the reset button clear the text
* keep the clear button in the / page
* hide the clear button in the /search page
2022-03-19 20:49:37 +01:00
Alexandre Flament 8d83787318 settings.yml: allow to base_url with the SEARXNG_BASE_URL env variable
Related to https://github.com/searxng/searxng-docker/pull/12
2022-03-19 20:20:13 +01:00
Alexandre Flament 378b29be2f fix startpage: update XPath in _fetch_supported_languages 2022-03-19 14:16:37 +01:00
Alexandre Flament 12d3fe3214 docker: log to stdout
previously the log (only the exceptions) were log
into /var/log/uwsgi/uwsgi.log

this is disturbing for the admins:
* they see an internal error on HTTP port
* no log where they are expected (docker logs)

this commit fixes this issue
2022-03-19 13:47:45 +01:00
Alexandre Flament b692035120 Merge pull request #894 from dalf/simple-aria-1
[enh] simple: basic ARIA fixes
2022-03-19 12:00:03 +01:00
Alexandre Flament 26d47fe587 Merge pull request #975 from return42/fix-723
[fix] remove unmaintained searx/templates/simple/simple.spec.txt
2022-03-17 19:41:23 +01:00
Alexandre Flament dbe3eaabc9 Info: code refactoring & bug fixes 2022-03-16 22:26:36 +01:00
Alexandre Flament bb19c7eccf Sphinx doc: rename "User documentation" to "User Information" 2022-03-16 22:26:36 +01:00
Alexandre Flament 1157462ff9 Various change on PR 930 2022-03-13 22:22:02 +01:00
Alexandre Flament 6c7dca52e7 Merge pull request #946 from searxng/readme-link-screenshots
README.rst: add a link to the screenshots
2022-03-11 21:20:03 +01:00
Alexandre Flament ff04fc565d README.rst: add a link to the screenshots 2022-03-11 06:54:21 +00:00
Alexandre Flament d597f36e07 [fix] simple: the clear button works without javascript
related to #928
2022-03-08 19:37:21 +00:00
Alexandre Flament a250ddadb9 [enh] simple: basic ARIA fixes 2022-03-08 19:37:21 +00:00
Alexandre Flament 740e3bc90f Merge pull request #932 from dalf/static-file-hash
static files: add a hash as a query
2022-03-05 12:03:44 +01:00
Alexandre Flament 5583336440 [docker] change static-expires to one year 2022-03-05 10:52:34 +00:00
Alexandre Flament 1c7d8815fb [mod] URL for the static file contains the sha1
* allow to cache the static file forever
* avoid bugs when the static files are updated but not reloaded
2022-03-05 10:50:48 +00:00
Alexandre Flament 927aa71133 Merge pull request #943 from dalf/fix-874
[simple] switch to tablet layout when the screen width is stictly below 1280px
2022-03-04 16:44:37 +01:00
Alexandre Flament 3d9e48b84e [simple] checkboxes can get the focusable
Do note that checkboxes in the engine tab are displayed reversed.
See: https://github.com/searxng/searxng/blob/3408d061aab9abc6168fec9bbc6deab71b236dac/searx/templates/simple/preferences.html#L313
A checkbox for an engine is checked when the engine is disabled.
2022-03-02 18:56:08 +00:00
Alexandre Flament cddc623786 Merge pull request #929 from dalf/simple-fix-nojs-categories
[fix] simple: categories: use media query detect touch screen
2022-02-28 23:08:52 +01:00
Alexandre Flament 2e1d4fac5d [build] /static 2022-02-27 19:49:44 +01:00
Alexandre Flament 56bb1443c4 [fix] simple: display "Click on the magnifier..." only the mouse over the categories 2022-02-27 19:48:21 +01:00
Alexandre Flament e435806505 [fix] simple: detect touch screen using media query
related to https://github.com/searxng/searxng/issues/928
2022-02-27 19:26:52 +01:00
Alexandre Flament afde954df8 Merge pull request #689 from mrpaulblack/images-flexbox
[simple theme] use flexbox instead of js for positioning images
2022-02-27 10:36:55 +01:00
Alexandre Flament 8230603f48 Merge pull request #916 from dalf/pref_infinite_scroll2
Convert the infinite_scroll plugin as a preference (second version)
2022-02-21 12:49:04 +01:00
Alexandre Flament 1832ec742a [build] /static 2022-02-20 22:58:51 +01:00
Alexandre FlamentandMarkus Heiser 56e34947a6 [mod] infinite_scroll as preference
* oscar theme: code from searx/plugins/infinite_scroll.py
* simple theme: new implementation

Co-authored-by: Markus Heiser <markus.heiser@darmarIT.de>
2022-02-20 22:58:51 +01:00
Alexandre Flament 883e9c1ddd Merge pull request #885 from return42/mod-simple
[mod] simple theme: define a '.show-content-button'
2022-02-19 16:07:05 +01:00
Alexandre Flament ace5401632 Merge pull request #900 from return42/fix-883
[fix] bandcamp: fix itemtype (album|track) and exceptions
2022-02-19 13:42:53 +01:00
Alexandre Flament 29182eb1c9 Merge pull request #899 from dalf/limiter_update
[limiter] update
2022-02-18 22:17:26 +01:00
Alexandre Flament bf2a2ed48f Merge pull request #882 from return42/fix-873
[fix] replace embedded HTML by data_src
2022-02-18 20:55:40 +01:00
Alexandre Flament 12b5f9e561 Merge pull request #905 from searxng/dependabot/pip/master/flask-2.0.3
Bump flask from 2.0.2 to 2.0.3
2022-02-18 11:54:42 +01:00
Alexandre Flament 4a669247ed Merge pull request #902 from searxng/dependabot/pip/master/lxml-4.8.0
Bump lxml from 4.7.1 to 4.8.0
2022-02-18 11:54:29 +01:00
Alexandre Flament bcd71e0998 Merge pull request #901 from searxng/dependabot/pip/master/redis-4.1.4
Bump redis from 4.1.3 to 4.1.4
2022-02-18 08:37:40 +01:00
Alexandre Flament eb25f06d8b Merge pull request #907 from searxng/translations_update
Update translations
2022-02-18 08:36:14 +01:00
Alexandre Flament d1b7debac6 [limiter] update 2022-02-17 20:27:02 +01:00
Alexandre Flament 288e3086d2 Merge pull request #896 from return42/fi-peertube
[fix] replace peer.tube by peertube.biz
2022-02-15 13:04:07 +01:00
Alexandre Flament a4942213a1 Merge pull request #892 from dalf/limiter-update
plugin limiter: check only /image_proxy and /search
2022-02-12 18:17:05 +01:00
Alexandre Flament b99ccd7c02 plugin limiter: check only /image_proxy and /search
also adjust the number of req/time
2022-02-12 15:57:07 +01:00
Alexandre Flament 8aba858057 Merge pull request #877 from return42/fix-876
[fix] docker generated new settings.yml does not work
2022-02-11 22:44:22 +01:00
Alexandre Flament 782c81ec17 Merge pull request #884 from return42/disable-deezer
[mod] disable deezer engine by default
2022-02-11 22:39:18 +01:00
Alexandre Flament 9e4ef7a6ce Merge pull request #889 from searxng/dependabot/pip/master/mistletoe-0.8.2
Bump mistletoe from 0.8.1 to 0.8.2
2022-02-11 22:38:49 +01:00
Alexandre Flament ab94e49385 Merge pull request #890 from searxng/dependabot/pip/master/redis-4.1.3
Bump redis from 4.1.2 to 4.1.3
2022-02-11 22:27:10 +01:00
Alexandre Flament 10e6881ca8 Merge pull request #867 from return42/fix-base_url_rand
[fix] invidious engine: store random base_url in param
2022-02-05 09:03:20 +01:00
Alexandre Flament bf987bb608 Merge pull request #848 from not-my-profile/help-route
Introduce `/help` route
2022-02-05 08:52:19 +01:00
Alexandre Flament ad3a46a268 Merge pull request #864 from searxng/dependabot/pip/master/twine-3.8.0
Bump twine from 3.7.1 to 3.8.0
2022-02-04 09:28:29 +01:00
Alexandre Flament 7a89c5bfe8 Merge pull request #866 from searxng/translations_update
Update translations
2022-02-04 09:20:55 +01:00
Alexandre Flament 9fae80facb Merge pull request #618 from dalf/limiter
[enh] limiter plugin
2022-02-02 09:24:34 +01:00
Alexandre FlamentandMarkus Heiser f79b0fce06 [enh] limiter plugin
can replace filtron:
* rate limite the number of request per IP and per (IP, User-Agent)
* block some bots

use Redis
data stored in Redis never contains the IP addresses, only HMAC using the secret_key

Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-02 09:15:59 +01:00
Alexandre Flament 2d5929cc59 [mod] searx.utils: more typing 2022-01-30 22:14:12 +01:00
Alexandre Flament ebd3013a1a [mod] tineye engine: minor changes
* remove "disable: false" in settings.yml
* use the json() method from httpx.Response (faster character encoding detection)
2022-01-30 20:49:22 +01:00
Alexandre Flament 0eacc46ee3 [mod] add documentation about searx.utils
This module is a toolbox for the engines.
Is should be documented.

In addition, searx/utils.py is checked by pylint.
2022-01-29 22:49:42 +01:00
Alexandre Flament f240a67bd7 Merge pull request #842 from HLFH/master
Fix setup.py help folder
2022-01-29 15:46:11 +01:00
Alexandre Flament 068155df88 [build] /static 2022-01-29 14:44:05 +01:00
Alexandre Flament dc4caa5a39 [fix] simple theme: /preferences: cookies table is LTR
close #827
2022-01-29 14:42:12 +01:00
Alexandre Flament f3f61df6a0 [mod] remove deprecate code
remove code to support Python 3.5 and Python 3.6
2022-01-29 08:54:12 +01:00