Alexandre Flament and Markus Heiser
f88dec444b
[mod] update README.rst / differences to searx
...
* add "Differences to searx" section
* normalize some reST markup & trailing whitespace
* Use `===` and `----` to markup chapters & sections (like we use in other
documentations).
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de >
Co-authored-by: Alexandre Flament <alex@al-f.net >
2022-01-17 09:34:42 +01:00
Alexandre Flament
0c036ae294
Merge pull request #750 from dalf/simple-rtl
...
Simple theme: implement RTL
2022-01-16 20:29:34 +01:00
Alexandre Flament
e07417848f
Merge pull request #695 from return42/fix-sp
...
[fix] startpage engine / modified API
2022-01-16 20:27:36 +01:00
Alexandre Flament
468619abcb
[build] /static
2022-01-16 18:52:46 +01:00
Alexandre Flament
d000288ad0
[enh] simple theme: RTL support
...
* mirror all inline SVGs so that direction SVGs display correctly on RTL
* set the bold list element in info box to RTL so the colon gets displayed on the right side
* set correct .ltr function for the left border on the search button in #q
* move text to the right in autocomplete
* move search form in lign with result article on RTL
* add the correct padding for img thumbnails in categories like music on RTL
* apply RTL to result table for map results
* align text in tables part of /preferences on RTL
* move burger menu on index page to the left on RTL
* fix positioning of drop down arrow on select boxes on RTL
* align result URL on the right (written LTR)
* align vim hotkeys help on the left since it is not translated
* image detail:
* labels (author, format, URL, etc...) are written on the right,
values are on the left.
* URL are written LTR and overflow on the right
2022-01-16 18:51:11 +01:00
Alexandre Flament
2084d7b1ed
[mod] simple theme: change stylelint configuration
...
* disable declaration-empty-line-before
https://stylelint.io/user-guide/rules/list/declaration-empty-line-before/
this change allows to mix CSS declarations and LESS mixins without empty lines:
#something {
display: flex;
.ltr-left(60rem); // no mandatory empty line before this one
}
* disable no-invalid-position-at-import-rule
https://stylelint.io/user-guide/rules/list/no-invalid-position-at-import-rule/
this change allows to declare some mixins and then import another .less file:
for example:
.ltr-left(@offset) {
left: @offset;
}
@import "style.less";
2022-01-16 18:50:19 +01:00
Alexandre Flament
f9271d595f
[fix] startpage: workaround to use the startpage network
...
workaround for the issue #762
2022-01-15 22:56:34 +01:00
Alexandre Flament
32874dbf7f
Merge pull request #742 from return42/mysql
...
[mod] engine mysql_server: make port configurable
2022-01-15 21:35:34 +01:00
Alexandre Flament
687bdef410
Merge pull request #740 from return42/fix-bang
...
[fix] get_bang_url: handle ambiguous !!bangs without error
2022-01-12 22:00:18 +01:00
Alexandre Flament
94736d7465
Merge pull request #745 from return42/hot-fix
...
[hotfix] interim fix to get docker-build of CI without issues
2022-01-12 10:04:12 +01:00
Alexandre Flament
df52ee711b
Merge pull request #700 from dalf/update-gh-workflow
...
[mod] GitHub workflow: use cache
2022-01-06 18:21:46 +01:00
Alexandre Flament
93c6829b27
Merge pull request #699 from dalf/uwsgi
...
[mod] adjust dockerfiles/uwsgi.ini
2022-01-06 09:50:41 +01:00
Alexandre Flament
03189d60f4
Merge pull request #697 from searxng/remove-nl-be
...
Delete searx/translations/nl_BE
2022-01-06 09:26:12 +01:00
Alexandre Flament
aedd6279b3
Merge pull request #634 from not-my-profile/powered-by
...
Introduce `categories_as_tabs` & group engines in tabs
2022-01-06 09:22:02 +01:00
Alexandre Flament
55ae74d725
[mod] adjust dockerfiles/uwsgi.ini
2022-01-05 21:06:25 +01:00
Alexandre Flament
1f7059e040
[mod] GitHub workflow: use cache
2022-01-05 20:59:59 +01:00
Alexandre Flament
40684f6b5e
Delete searx/translations/nl_BE
...
See https://github.com/searxng/searxng/issues/540
2022-01-05 20:36:24 +01:00
Alexandre Flament
9004e84b6e
Merge pull request #596 from dalf/upgrade-httpx
...
Upgrade httpx
2022-01-05 19:13:48 +01:00
Alexandre Flament
d3ecadd3f8
Merge pull request #679 from dalf/brand-searxng
...
searxng.org: update setup.py & settings.yml
2022-01-05 19:07:53 +01:00
Alexandre Flament
2134703b4b
[enh] settings.yml: implement general.enable_metrics
...
* allow not to record metrics (response time, etc...)
* this commit doesn't change the UI. If the metrics are disabled
/stats and /stats/errors will return empty response.
in /preferences, the columns response time and reliability will be empty.
2022-01-05 19:03:04 +01:00
Alexandre Flament
e64c3deab7
[mod] upgrade httpx 0.21.2
...
httpx 0.21.2 and httpcore 0.14.4 fix multiple issues:
* https://github.com/encode/httpx/releases/tag/0.21.2
* https://github.com/encode/httpcore/releases/tag/0.14.4
so most of the workarounds in searx.network have been removed.
2022-01-05 18:46:00 +01:00
Alexandre Flament
41ae5aea2b
[fix] disabling all engines in a category makes the bang search in general
...
with this commit, there is no result
2022-01-03 20:23:46 +01:00
Alexandre Flament
8e99c11c95
Merge pull request #680 from JamesClonk/master
...
fix minor typo
2022-01-03 18:25:54 +01:00
Alexandre Flament
458b7fb72d
Merge pull request #610 from return42/img-load-error
...
[fix] simple theme: hide the image if img load fails
2022-01-02 22:34:15 +01:00
Alexandre Flament
d83aa2b0d2
Merge pull request #613 from return42/pylint-bing-images
...
[pylint] Bing (Images) engine
2022-01-02 22:00:55 +01:00
Alexandre Flament
76cbfbbdda
reference docs.searxng.org
2022-01-02 21:18:29 +01:00
Alexandre Flament
6b49f32d3e
Merge pull request #670 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2022-01-01 12:16:50 +01:00
Alexandre Flament
7d4834ac4d
[mod] webutils.py: remove dead code
...
secret_key can't be bytes (see settings_default.py)
2021-12-28 10:14:38 +01:00
Alexandre Flament
d784870209
[fix] use hmac.compare_digest instead of ==
...
see https://docs.python.org/3/library/hmac.html#hmac.HMAC.hexdigest
2021-12-28 08:36:31 +01:00
Alexandre Flament
c6922ae7c5
Merge pull request #619 from dalf/apply-black
...
Apply black
2021-12-27 19:11:01 +01:00
Alexandre Flament
3c77412d33
[mod] replace pycodestyle by black
...
"make test.black" checks for the code style
"make format.python" format the python code
2021-12-27 08:58:59 +01:00
Alexandre Flament
9215d4cde7
[fix] python searxng_extra/standalone_searx.py --help
...
The scripts loads the engine and then parse the arguments.
After that the engines are initialized.
Before this commit, with "--help", the HTTP clients are closed before
the engine initialization threads. When these init threads try to send
an HTTP request, an exception is raised.
2021-12-26 23:09:10 +01:00
Alexandre Flament
811837d109
[remove] searxng_extra/google_search.py
...
remove deprecated script
2021-12-26 23:08:25 +01:00
Alexandre Flament
7bef2cc8dc
Merge pull request #548 from searxng/dependabot/pip/master/selenium-4.1.0
...
Bump selenium from 3.141.0 to 4.1.0
2021-12-24 10:05:20 +01:00
Alexandre Flament
81abc5f4c2
[fix] ./manage: upgrade geckodriver when GECKODRIVER_VERSION change
2021-12-24 09:14:15 +01:00
Alexandre Flament
6300b0b4b2
Merge pull request #655 from searxng/translations_update
...
Update translations
2021-12-24 08:42:02 +01:00
Alexandre Flament
19f6f6b157
Merge pull request #650 from dalf/fix-pr-646
...
[fix] PR #646
2021-12-24 08:02:35 +01:00
Alexandre Flament
34b820a87d
[fix] PR #646
2021-12-23 22:08:45 +01:00
Alexandre Flament
69747d5cb3
Merge pull request #646 from return42/drop-py36
...
[ci] drop Python 3.6
2021-12-23 10:33:23 +01:00
Alexandre Flament
5ca1ec411e
Merge pull request #624 from return42/upd-description
...
[upd] engine_descriptions.json
2021-12-20 23:36:34 +01:00
Alexandre Flament
21c509d59e
Merge pull request #626 from searxng/readme-add-irc-link
...
README.rst: add IRC #searxng
2021-12-20 23:28:49 +01:00
Alexandre Flament
e206a61145
README.rst: add IRC #searxng
2021-12-20 23:26:02 +01:00
Alexandre Flament
b5d4cac7e1
Merge pull request #615 from return42/pylint-reddit
...
[pylint] Reddit engine
2021-12-19 11:32:32 +01:00
Alexandre Flament
2713ac6c0b
Merge pull request #612 from dalf/revert-pr-483
...
[mod] Dockerfile: use binary from pypi
2021-12-18 15:16:40 +01:00
Alexandre Flament
4bd78a7ef0
[mod] Dockerfile: use binary from pypi
...
lxml doesn't raise any exception
2021-12-18 14:07:29 +01:00
Alexandre Flament
4da1e0026c
Merge pull request #609 from return42/fix-bing-news
...
[fix] engine bing-news: replace the http:// by https://
2021-12-18 00:01:40 +01:00
Alexandre Flament
f6b1264b5f
Merge pull request #584 from return42/drop-css-vendor
...
[mod] simple-theme: remove vendor CSS
2021-12-17 12:14:19 +01:00
Alexandre Flament
5c710e1285
Merge pull request #608 from return42/fix-translation-commit
...
[fix] weblate: separate commit description from commit body
2021-12-17 11:59:38 +01:00
Alexandre Flament
56e6d19b48
update_firefox_version.py: update user agent signature
...
The user agent from Windows is
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox#windows
2021-12-16 23:10:39 +01:00
Alexandre Flament
6bb6f7ffc1
Merge pull request #602 from return42/fix-600
...
[fix] move engines gpodder and AZlyrics into category music
2021-12-16 18:18:16 +01:00
Alexandre Flament
9e636afe9c
Merge pull request #604 from return42/disable-mvw
...
[fix] engine: MediathekViewWeb (mvw) disable by default
2021-12-16 18:18:01 +01:00
Alexandre Flament
da1f970eb5
Merge pull request #601 from searxng/add-matrix-contact
...
README.rst: add contact information
2021-12-14 22:21:20 +01:00
Alexandre Flament
4dc7d955be
README.rst: add contact information
2021-12-14 22:20:46 +01:00
Alexandre Flament
5c7167cd5a
Merge pull request #599 from searxng/dependabot/pip/lxml-4.6.5
...
Bump lxml from 4.6.4 to 4.6.5
2021-12-13 21:48:19 +01:00
Alexandre Flament
3d378e4d08
Merge pull request #597 from searxng/docker-upgrade-baseimage
...
Dockerfile: use alpine 3.15
2021-12-12 11:05:26 +01:00
Alexandre Flament
ff4958075e
Merge pull request #598 from searxng/translations_update
...
Update translations
2021-12-11 19:16:00 +01:00
Alexandre Flament
f9c9284f48
Dockerfile: use alpine 3.15
...
Use Python 3.9.7-r4 (previously 3.9.5-r2)
2021-12-11 17:06:23 +01:00
Alexandre Flament
2a262df0bb
Merge pull request #582 from return42/fix-autocomplete-csp
...
[fix] simple theme: make autocomplete-js CSP compliant
2021-12-08 20:28:35 +01:00
Alexandre Flament
24c7d6300e
Merge pull request #588 from dalf/fix-imdb
...
[fix] imdb: don't crash when there is no result
2021-12-06 23:28:35 +01:00
Alexandre Flament
1a6207574e
[fix] gigablast engine
...
fetch extra params after 3000 seconds
2021-12-06 22:55:15 +01:00
Alexandre Flament
fbc2a6ab4b
[del] remove yggtorrent
...
yggtorrent is behind cloudflare now
close #580
2021-12-06 21:59:51 +01:00
Alexandre Flament
037cb7dd3d
[fix] imdb: don't crash when there is no result
2021-12-06 21:49:18 +01:00
Alexandre Flament
e4a2d354aa
Merge pull request #581 from return42/fix-source-map
...
[fix] simple theme: make LESS sources available on non build hosts
2021-12-05 11:01:40 +01:00
Alexandre Flament
33e2599b82
Merge pull request #574 from return42/fix-lib_static
...
[mod] make static.build.commit more robust
2021-12-04 10:06:57 +01:00
Alexandre Flament
b0774c7e37
Merge pull request #578 from searxng/translations_update
...
Update translations
2021-12-03 09:02:46 +01:00
Alexandre Flament
58a6738dec
Merge pull request #575 from return42/fix-source-map
...
[fix] simple theme: make JS sources available on non build hosts
2021-12-03 08:25:11 +01:00
Alexandre Flament
ae49b5224c
Merge pull request #566 from dalf/simple-theme-smaller-build
...
[mod] simple theme: smaller build
2021-12-01 20:30:58 +01:00
Alexandre Flament
eb7ccb7e79
README.rst: add translation status
...
Related to https://github.com/searxng/searxng/issues/540
2021-12-01 00:08:44 +01:00
Alexandre Flament
28b22a0f98
[mod] simple theme: smaller build
...
remove:
* searx/static/themes/simple/js/searxng.head.js
* searx/static/themes/simple/js/searxng.js
* searx/static/themes/simple/css/searxng-rtl.css
* searx/static/themes/simple/css/searxng.css
These files are never used.
About the js files: the .map files references the sources instead of the concated version.
2021-11-30 23:04:37 +01:00
Alexandre Flament
632ae7d175
Merge pull request #562 from return42/fix-img-alt
...
[simple] ImageLayout.watch: `img_load_error.svg` if img load fails
2021-11-30 20:21:03 +01:00
Alexandre Flament
3700094f3a
Merge pull request #557 from return42/fix-autocomplete
...
[fix] route /autocompleter: escape `<` and `>` in the simple theme
2021-11-29 16:58:15 +01:00
Alexandre Flament
59f4c792b4
[mod] simple theme: use sharp instead of convert to create .png from .svg
...
define a custom grunt task, since grunt-sharp is too old (it can't be installed).
in gruntfile.js, the image tasks are moved at the end the build chain.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-11-28 20:05:37 +01:00
Alexandre Flament
0d41f26a20
[fix] searx.results: fix pylint issue "useless-with-lock"
...
Replace "with threading.Lock():" by "with self._lock"
2021-11-26 08:46:43 +01:00
Alexandre Flament
da1d502cf7
Merge pull request #550 from searxng/translations_update
...
Update translations
2021-11-26 08:26:51 +01:00
Alexandre Flament
328473befd
Merge pull request #547 from return42/fix-442
...
[fix] google & google video engines
2021-11-26 08:25:38 +01:00
Alexandre Flament
42c1a938f0
Merge pull request #485 from dalf/pref_query_in_title
...
[mod] new preference: query_in_title
2021-11-24 13:10:27 +01:00
Alexandre Flament
c4caa52989
fix PR #535
...
Use the "empty_element" CSS class.
2021-11-23 18:59:50 +01:00
Alexandre Flament
e612b81f41
[fix] simple theme: fix modal dialog
2021-11-23 12:35:37 +01:00
Alexandre Flament
02cccdf876
Merge pull request #533 from return42/fix-532
...
[fix] google images: @href index 0 not found
2021-11-21 21:26:20 +01:00
Alexandre Flament
d7eb373371
[fix] npm engine: don't ignore the first result
...
"from" parameter start at 0
2021-11-20 08:22:48 +01:00
Alexandre Flament
bc0cf9e83e
Merge pull request #521 from dalf/simple-theme-style-pref
...
Simple theme: allow the user to choose auto, light, dark style
2021-11-19 17:14:35 +01:00
Alexandre Flament
ec5a82fccd
[enh] simple theme: add "simple-style" preferences
2021-11-19 16:45:50 +01:00
Alexandre Flament
f6bfc8f461
Merge pull request #509 from mrpaulblack/library-of-genesis-category
...
[engines] move library of genesis from general to files category
2021-11-19 12:45:56 +01:00
Alexandre Flament
55737a219b
Merge pull request #518 from dalf/fix-simple-image-detail
...
[fix] simple theme: fix image detail layout on mobile
2021-11-19 11:19:44 +01:00
Alexandre Flament
ef2556770b
[build] /static
2021-11-19 10:45:12 +01:00
Alexandre Flament
48d2dcbb20
[fix] simple theme: adjust image detail height
...
when on the top of the page, the image is just below the search fields.
this commit slightly aligh the top of the image detail with the bottom
of the search fields.
2021-11-19 10:43:01 +01:00
Alexandre Flament
0400b8ca5d
[fix] simple theme: fix layout image detail on mobile
...
the width of #main_results #results.image-detail-open.only_template_images
was set to 59.25rem. On mobile, the images overflowed on right side of
the viewport, which creates a horizontal scroll.
This commit set the value to min(98%, 59.25rem) whatever the max-width is.
2021-11-19 10:32:42 +01:00
Alexandre Flament
dfbbc3b471
[fix] simple theme: /preferences: add tokens field
...
include changes to display input text field in the preferences
2021-11-13 17:12:28 +01:00
Alexandre Flament
cf15652e4b
Merge pull request #501 from return42/fix-simple
...
[fix] delete trailing whitespace
2021-11-13 16:04:51 +01:00
Alexandre Flament
3c3599c9e6
[fix] startpage autocompletion
2021-11-13 13:26:47 +01:00
Alexandre Flament
7a9dda51d2
Merge pull request #488 from MrPaulBlack/category-icons
...
[simple theme] add icons to category and drop webfont
2021-11-13 12:19:08 +01:00
Alexandre Flament
e030b543fb
Merge pull request #495 from searxng/dependabot/pip/master/jinja2-3.0.3
...
Bump jinja2 from 3.0.2 to 3.0.3
2021-11-12 09:22:37 +01:00
Alexandre Flament
93b831c11d
Merge pull request #492 from searxng/dependabot/pip/master/twine-3.6.0
...
Bump twine from 3.5.0 to 3.6.0
2021-11-12 09:19:48 +01:00
Alexandre Flament
80fb77476f
[mod] new preference: query_in_title
...
* disable by default
* settings.yml: ui.query_in_title
* in /preferences: privacy tab
when enabled, the result page's title contains the user query.
previously:
* oscar theme: the query was always included
* simple theme: the query was included with the GET method
2021-11-08 21:40:53 +01:00
Alexandre Flament
90acb342d3
Merge pull request #486 from dalf/simple-mobile-pref-access
...
Simple theme: mobile layout: allow access to the preferences
2021-11-06 22:27:07 +01:00
Alexandre Flament
67ab4d4165
[build] /static
2021-11-06 21:14:12 +01:00
Alexandre Flament
ddc2346a06
[enh] simple theme: mobile layout: allow access to the preferences
...
when there is no query, reduce the width of the query field,
to display the preference button on the right.
2021-11-06 21:13:41 +01:00
Alexandre Flament
1ccf296a55
Merge pull request #483 from dalf/fix-docker-lxml
...
[fix] Dockerfile image
2021-11-06 06:20:15 +01:00
Alexandre Flament
dc39f9c960
[fix] Dockerfile image
...
ignore existing wheels, rebuild all of them
fix an issue the lxml wheel for the muslc
2021-11-05 20:05:26 +01:00
Alexandre Flament
082d55e6c5
Merge pull request #481 from dalf/simple-fix-hotkeys
...
Simple themes: fixes in keyboard.js
2021-11-05 15:29:48 +01:00