summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-05[enh] group engines in preference tabsMartin Fischer
2022-01-05[enh] add more categoriesMartin Fischer
2022-01-05[fix] debug console (pdb) in a session started by `make run`Markus Heiser
Commit c7f27404 moves the `python -m searx.webapp` process to the background. A background job can't open a simple python-debugger (pdb) console. This patch moves all processes to the background except the searx.webapp. Insert a break point somewhere in the webapp application:: import pdb pdb.set_trace() And start a debug session by:: make run and test you break point. To test that the entire 'make run' stops in the case of an error in the themes.live [1] background process try: make LIVE_THEME=typo-theme-name run [1] https://github.com/searxng/searxng/pull/664#discussion_r776419585 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-04Merge pull request #664 from return42/themes.liveMarkus Heiser
[mod] manage: add themes.live command (rebuild on modification)
2022-01-04[fix] links in comments - https://docs.searxng.org/Markus Heiser
fixed links from https://searxng.github.io/searxng/ to https://docs.searxng.org/
2022-01-03[enh] add redis connector searx/shared/redisdb.pyMarkus Heiser
Add a redis connector, the default DB connector is a socket at:: unix:///usr/local/searxng-redis/run/redis.sock?db=0 To set up a redis instance simply use:: $ ./manage redis.build $ sudo -H ./manage redis.install A hint for developers: To get access rights to this instance, your developer account needs to be added to the *searxng-redis* group:: $ sudo -H ./manage redis.addgrp "${USER}" # don't forget to logout & login to get member of group Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-03Merge pull request #687 from dalf/fix-685Martin Fischer
[fix] disabling all engines in a category makes the bang search in general
2022-01-03[fix] disabling all engines in a category makes the bang search in generalAlexandre Flament
with this commit, there is no result
2022-01-03Merge pull request #680 from JamesClonk/masterAlexandre Flament
fix minor typo
2022-01-03[mod] test.shell: add utils/lib_redis.sh to shellcheck procedureMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-03[mod] script to build & install a redis instanceMarkus Heiser
A script to build & install a simple & isolated redis service, dedicated to SearXNG and connected via Unix socket. $ ./manage redis.help redis.: devpkg : install essential packages to compile redis build : build redis binaries at /800GBPCIex4/share/SearXNG/dist/redis/6.2.6/amd64 install : create user (searxng-redis) and install systemd service (searxng-redis) remove : delete user (searxng-redis) and remove service (searxng-redis) shell : start bash interpreter from user searxng-redis src : clone redis source code to <path> and checkput 6.2.6 useradd : create user (searxng-redis) at /usr/local/searxng-redis userdel : delete user (searxng-redis) addgrp : add <user> to group (searxng-redis) rmgrp : remove <user> from group (searxng-redis) Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-03Merge pull request #684 from return42/fix-makefileMarkus Heiser
[fix] Makefile: mixed tab & space indentation
2022-01-03[fix] Makefile: mixed tab & space indentationMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-03Merge pull request #666 from return42/mod-docMarkus Heiser
[docs] move searxng_extra/ stuff to the developer section.
2022-01-03[docs] move searxng_extra/ stuff to the developer section.Markus Heiser
Stuff in folder searxng_extra/ is not suitable for normal users and should only be used by developers. The script searxng_extra/standalone_searx.py must not give the impression that it improves privacy. [1] [1] https://github.com/searxng/searxng/pull/651#issuecomment-1001389726 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-03[enh] introduce categories_as_tabsMartin Fischer
Previously all categories were displayed as search engine tabs. This commit changes that so that only the categories listed under categories_as_tabs in settings.yml are displayed. This lets us introduce more categories without cluttering up the UI. Categories not displayed as tabs can still be searched with !bangs.
2022-01-03[doc] engine tables: show engines in all categoriesMartin Fischer
Previously the documentation grouped the engines by their first category so e.g. YouTube and Invidious were only shown in the in the videos section but not in the music section. This commit fixes this by iterating over searx.engines.categories, which also has the added benefit that the sections are now in the same order as the tabs in the user interface.
2022-01-03[doc] engine-table: stop sorting by DisabledMartin Fischer
It's only the default value for disabled it's not that important, since users can easily toggle it anytime in the engine preferences.
2022-01-03[enh] settings.yml: allow granular overwrites for aboutMartin Fischer
2022-01-03[fix] bang syntax for categories with spacesMartin Fischer
2022-01-02fix minor typoFabio Berchtold
2022-01-02Merge pull request #610 from return42/img-load-errorAlexandre Flament
[fix] simple theme: hide the image if img load fails
2022-01-02Merge pull request #613 from return42/pylint-bing-imagesAlexandre Flament
[pylint] Bing (Images) engine
2022-01-02reference docs.searxng.orgAlexandre Flament
2022-01-01Merge pull request #672 from searxng/update_data_update_languages.pyMarkus Heiser
Update searx.data - update_languages.py
2022-01-01Update searx.data - update_languages.pyMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-01[fix] update_languages.py: generate code that passes CIMarkus Heiser
File searx/languages.py, created by update_languages.py has to pass quality check from CI:: make format.python Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-01Merge pull request #676 from return42/fix-bing-langMarkus Heiser
Fix issues on running update_languages.py
2022-01-01[fix] update_languages.py: no excption on unknown locale & languageMarkus Heiser
Fix exception handling of unknown locales and languages:: ERROR: ca_ES_valencia --> [Errno 2] No such file or directory: 'local/py3/lib/python3.8/site-packages/babel/locale-data/ca_ES_valencia.dat' ERROR: languages['fil-PH'] --> {'name': None, 'english_name': None} ERROR: languages['nb-NO'] --> {'name': None, 'english_name': None} Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-01[fix] bing engines: fetch_supported_languagesMarkus Heiser
The Request to and the Response from https://www.bing.com/account/general has been changed. [1] https://github.com/searxng/searxng/pull/672#discussion_r777104919 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-01Merge pull request #670 from searxng/update_data_update_firefox_version.pyAlexandre Flament
Update searx.data - update_firefox_version.py
2022-01-01Merge pull request #671 from searxng/update_data_update_ahmia_blacklist.pyMarkus Heiser
Update searx.data - update_ahmia_blacklist.py
2022-01-01Merge pull request #673 from searxng/update_data_update_currencies.pyMarkus Heiser
Update searx.data - update_currencies.py
2022-01-01Merge pull request #674 from searxng/update_data_update_wikidata_units.pyMarkus Heiser
Update searx.data - update_wikidata_units.py
2022-01-01Update searx.data - update_wikidata_units.pydalf
2022-01-01Update searx.data - update_currencies.pydalf
2022-01-01Update searx.data - update_ahmia_blacklist.pydalf
2022-01-01Update searx.data - update_firefox_version.pydalf
2021-12-31Merge pull request #667 from searxng/dependabot/pip/master/pygments-2.11.0Markus Heiser
Bump pygments from 2.10.0 to 2.11.0
2021-12-31[build] /staticMarkus Heiser
2021-12-31make pygments.lessMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-31Merge pull request #668 from searxng/translations_updateMarkus Heiser
Update translations
2021-12-31[translations] update from Weblatesearxng-bot
055a6080 - 2021-12-28 - Markus Heiser <markus.heiser@darmarit.de> d028dfd7 - 2021-12-26 - Gert-dev <gert+github@disroot.org> d2f3b998 - 2021-12-24 - Markus Heiser <markus.heiser@darmarit.de> 1b882f56 - 2021-12-29 - VaiTon <eyadlorenzo@gmail.com> f8e524a3 - 2021-12-27 - Markus Heiser <markus.heiser@darmarit.de> 70eafa9c - 2021-12-26 - Frederik From <frederikfrom@pm.me> 7eb20cec - 2021-12-28 - Markus Heiser <markus.heiser@darmarit.de> 3cb754a4 - 2021-12-25 - Markus Heiser <markus.heiser@darmarit.de>
2021-12-31Bump pygments from 2.10.0 to 2.11.0dependabot[bot]
Bumps [pygments](https://github.com/pygments/pygments) from 2.10.0 to 2.11.0. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.10.0...2.11.0) --- updated-dependencies: - dependency-name: pygments dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-12-29[mod] live build of a theme: LIVE_THEME=simple make runMarkus Heiser
Environment variable to get live builds while modifying CSS & JS of a theme:: LIVE_THEME=simple make run Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-29[fix] remove leftover from 59f4c792Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-29[mod] manage: add themes.live command (rebuild on modification)Markus Heiser
To have a live build while editing the HTML client of a theme. The first argument of the command is the theme name: ./manage themes.live simple Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-29[build] /staticMarkus Heiser
2021-12-29[fix] simple theme: hide the image if img load failsMarkus Heiser
Add event listener to query selector:: '#urls img.image' From the user point of view, I think it is better to hide the image: img_load_error.svg is helplful in the image category because it still allows to select the image. IMO, in the news category, the fact there is a missing image won't help to choose the links. From a developer point of view, the place holder is signal that may be the engine needs to be updated (at least give a look). The browser console should show the same information too, but it requires some additional steps. [1] [1] https://github.com/searxng/searxng/pull/610#issuecomment-997640132 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-29Merge pull request #663 from dalf/mod_secret_keyMarkus Heiser
changes about the secret_key