Martin Fischer
83f8a8fc6d
[refactor] remove pointless tuple
2022-01-06 14:21:15 +01:00
Martin Fischer
bb06758a7b
[refactor] add type hints & remove Setting._post_init
...
Previously the Setting classes used a horrible _post_init
hack that prevented proper type checking.
2022-01-06 14:21:14 +01:00
Martin Fischer
160f3e022e
Merge pull request #683 from return42/fix-doc
...
Document & Pylint scripts in searxng_extra/update
2022-01-05 19:46:00 +01:00
Martin Fischer
a7199bc085
Merge pull request #694 from return42/fix-c7f27404
...
[fix] debug console (pdb) in a session started by `make run`
2022-01-05 18:40:46 +01:00
Martin Fischer
a4c2cfb837
[enh] change categories_as_tabs from a list to a dict
...
The tab icon names are currently hard coded in the templates.
This commit lets us introduce an icon property in the future, e.g:
categories_as_tabs:
general:
icon: search-outline
2022-01-05 11:03:44 +01:00
Martin Fischer
b38036d519
[fix] stop setting superfluous cookies for "non tab categories"
2022-01-05 11:03:44 +01:00
Martin Fischer
3dd534e5c0
[refactor] make group_engines_in_tab more readable
2022-01-05 11:03:44 +01:00
Martin Fischer
d01e8aa8cc
[mod] introduce searx.engines.Engine for type hinting
2022-01-05 11:03:44 +01:00
Martin Fischer
3f76c9c96c
[enh] enable English dictionaries by default
...
These dictionaries are no longer part of the general category,
so they're no longer queried by default -> we can enable them
by default without degrading general query performance.
2022-01-05 11:03:44 +01:00
Martin Fischer
abe53946d4
[enh] display help text for "Other" engines tab in preferences
2022-01-05 11:03:44 +01:00
Martin Fischer
6f07d51b62
[mod] improve variable name
2022-01-05 11:03:44 +01:00
Martin Fischer
1e195f5b95
[mod] move group_engines_in_tab to searx.webutils
2022-01-05 11:03:44 +01:00
Martin Fischer
5d74bf3820
[enh] move dictionaries, Erowid & IMDb out of general category
...
The general category is the category that is searched by default.
From a privacy standpoint it doesn't make sense to send all general
queries to specialized search engines that cannot deal with those
queries anyway.
2022-01-05 11:03:44 +01:00
Martin Fischer
ab90e2ac49
[enh] show categories not in any tab category in "Other" preferences tab
...
Previously we didn't have a good place to put search engines that don't
fit into any of the tab categories. This commit automatically puts
search engines that don't belong to any tab category in an "other"
category, that is only displayed in the user preferences (and not above
search results).
2022-01-05 11:03:44 +01:00
Martin Fischer
4ac6b5d32d
[build] /static
2022-01-05 11:03:44 +01:00
Martin Fischer
a12cb6a807
[simple] improve styling of subcategory table headers in preferences
2022-01-05 11:03:44 +01:00
Martin Fischer
20a5e43e35
[enh] display language of engines in preferences
2022-01-05 11:03:44 +01:00
Martin Fischer
31e206361f
[enh] group engines in preference tabs
2022-01-05 11:03:44 +01:00
Martin Fischer
b02f762687
[enh] add more categories
2022-01-05 11:00:11 +01:00
Martin Fischer
8eb3167fba
Merge pull request #687 from dalf/fix-685
...
[fix] disabling all engines in a category makes the bang search in general
2022-01-03 20:42:05 +01:00
Martin Fischer
8e9ad1ccc2
[enh] introduce categories_as_tabs
...
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 07:01:49 +01:00
Martin Fischer
02e9bdf755
[doc] engine tables: show engines in all categories
...
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 07:01:49 +01:00
Martin Fischer
d8af94b721
[doc] engine-table: stop sorting by Disabled
...
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 07:01:49 +01:00
Martin Fischer
df34b1ddcf
[enh] settings.yml: allow granular overwrites for about
2022-01-03 07:01:49 +01:00
Martin Fischer
8a0810cedc
[fix] bang syntax for categories with spaces
2022-01-03 07:01:49 +01:00
Martin Fischer
19339067c6
[del] remove geektimes (redirects to habrahabr)
2021-12-22 13:20:56 +01:00
Martin Fischer
fb037e7a83
[del] remove whaleslide (website is down)
...
Closes #639 .
2021-12-22 13:19:27 +01:00
Martin Fischer
ca7f1a2da6
[doc] engine-table: link module documentation if it exists
2021-12-21 21:06:17 +01:00
Martin Fischer
42d70e15ad
[doc] engine-table: rename Engine column to Module & link
2021-12-21 15:46:43 +01:00
Martin Fischer
33983809e4
[doc] say how many engines are supported / enabled
2021-12-21 13:00:31 +01:00
Martin Fischer
e28c6bda35
[doc] introduce about.language and sort engines by it
2021-12-21 09:58:51 +01:00
Martin Fischer
df0d0ecaab
[doc] engine-table: sort by Disabled and Name
2021-12-20 23:57:06 +01:00
Martin Fischer
1fb1cca519
[doc] fix about.website for hoogle
2021-12-20 12:12:09 +01:00
Martin Fischer
1615ec4a2b
[doc] engine-table: group engines by first category
2021-12-20 11:17:52 +01:00
Martin Fischer
26b0ecddcf
[doc] engine-table: merge Engine type column
2021-12-20 11:06:42 +01:00
Martin Fischer
292faf213c
[doc] engine-table: remove Display errors column (always true)
2021-12-20 10:52:21 +01:00
Martin Fischer
0d5a356f23
[doc] engine-table: format shortcut as inline code
2021-12-20 10:49:32 +01:00
Martin Fischer
625ebf9cef
[doc] engine-table: group columns logically
2021-12-20 10:49:29 +01:00
Martin Fischer
966296b866
[doc] engine-table: expand cryptic abbreviations
2021-12-20 10:07:39 +01:00
Martin Fischer
24e1e41244
[doc] engine-table: remove duplicate Disabled column
2021-12-20 09:48:27 +01:00
Martin Fischer
39799ee74b
[doc] engine-table: link about.website
2021-12-20 09:48:20 +01:00
Martin Fischer
06beffdf31
[doc] add about.website for wiby
2021-12-20 07:59:51 +01:00