Commit Graph
100 Commits
Author SHA1 Message Date
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
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