summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-15Merge pull request #503 from return42/fix-svgMarkus Heiser
[fix] ] Optimize SVG for WEB usage / CSP 'style-src self'
2021-11-15[build] /staticMarkus Heiser
2021-11-15[fix] Optimize SVG for WEB usage / CSP 'style-src self'Markus Heiser
- Replace grunt-contrib-htmlmin by grunt-image [1]. - Activate svgo's [2] convertStyleToAttrs to make the HTML inline SVGs compoliant to the CSP policy [3]:: Content-Security-Policy: style-src self; [1] https://www.npmjs.com/package/grunt-image [2] https://github.com/svg/svgo [3] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src Closes: https://github.com/searxng/searxng/issues/502 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13Merge pull request #496 from dalf/simple-pref-tokensMarkus Heiser
Simple theme: add "Engine tokens" field.
2021-11-13[build] /staticMarkus Heiser
2021-11-13[theme] add border radius to engine token inputMrPaulBlack
2021-11-13[fix] simple theme: /preferences: add tokens fieldAlexandre Flament
include changes to display input text field in the preferences
2021-11-13Merge pull request #501 from return42/fix-simpleAlexandre Flament
[fix] delete trailing whitespace
2021-11-13[fix] delete trailing whitespaceMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13Merge pull request #500 from return42/variousMarkus Heiser
Various marginal fixes and improvements
2021-11-13[fix] delete trailing whitespaceMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13[mod] settings.yml - polish up comments about pluginsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13[fix] manage help - add description of test.yamllintMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13Merge pull request #499 from dalf/fix-autocompletion-startpageMarkus Heiser
[fix] startpage autocompletion
2021-11-13[fix] startpage autocompletionAlexandre Flament
2021-11-13Merge pull request #488 from MrPaulBlack/category-iconsAlexandre Flament
[simple theme] add icons to category and drop webfont
2021-11-13[build] /staticMrPaulBlack
2021-11-13[simple theme] update to ion icons 5 and drop webfontMrPaulBlack
* update from ionicons-npm to ionicons ver.5 * drop the webfont built by grunt for icons * built icons.html template for inlining icons with jinja2 into html * update icon to use mostly the outline version * add icons to categories and do not display them on mobile to save space * remove all legacy ion icon font files from simple theme * icons.html is added in this commit since make statc.build.restore requires git to know the file already * cleanup error-dialog
2021-11-13Merge pull request #494 from ↵Markus Heiser
searxng/dependabot/pip/master/pallets-sphinx-themes-2.0.2 Bump pallets-sphinx-themes from 2.0.1 to 2.0.2
2021-11-13Bump pallets-sphinx-themes from 2.0.1 to 2.0.2dependabot[bot]
Bumps [pallets-sphinx-themes](https://github.com/pallets/pallets-sphinx-themes) from 2.0.1 to 2.0.2. - [Release notes](https://github.com/pallets/pallets-sphinx-themes/releases) - [Changelog](https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/pallets-sphinx-themes/compare/2.0.1...2.0.2) --- updated-dependencies: - dependency-name: pallets-sphinx-themes dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-11-13Merge pull request #493 from searxng/dependabot/pip/master/sphinx-4.3.0Markus Heiser
Bump sphinx from 4.2.0 to 4.3.0
2021-11-13Merge pull request #473 from return42/searxng-wordmarkMarkus Heiser
[simple theme] SearXNG wordmark & favicon
2021-11-13[build] /staticMarkus Heiser
2021-11-13[simple theme] SearXNG wordmark (plain SVG)Markus Heiser
Remove XML namespaces from Incscape [1]:: xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" [1] https://wiki.inkscape.org/wiki/PlainSVG Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13[simple theme] replace old searx logo by searxng-wordmark.min.svgMarkus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/pull/473#issuecomment-962476683 Suggested-by: @MrPaulBlack https://github.com/searxng/searxng/pull/473#issuecomment-962579826 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13[simple theme] create favicon.png from src/svg/searxng-wordmark.svgMarkus Heiser
new bash function convert_if_newer() / usage:: convert_if_newer <origfile> <outfile> [<options>, ...] convert_if_newer "path/to/origin.svg" "path/to/converted.png" -transparent white -resize 64x64 Run's ImageMagik' convert comand to generate <outfile> from <origfile>, if <origfile> is newer than <outfile>. The command line is to convert is:: convert <origfile> [<options>, ...] <outfile> PNG 'searx/static/themes/simple/img/favicon.png' has been created by:: $ make themes.simple CONVERT searx/static/themes/simple/src/svg/searxng-wordmark.svg -transparent white -resize 64x64 searx/static/themes/simple/img/favicon.png ... Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13[enh] minify searxng-wordmark.svg (HTMLMinifier)Markus Heiser
Command:: ./node_modules/.bin/html-minifier \ --remove-comments \ --collapse-whitespace \ src/svg/searxng-wordmark.svg \ -o ../../../templates/__common__/searxng-wordmark.min.svg - html-minifier: https://github.com/kangax/html-minifier - onilne: https://kangax.github.io/html-minifier - grunt: https://www.npmjs.com/package/grunt-contrib-htmlmin - grunt-contrib-htmlmin: https://github.com/gruntjs/grunt-contrib-htmlmin - npm: https://www.npmjs.com/package/html-minifier To test, rebuild your node environment:: make node.env Alternatives: - pretty-data: https://github.com/vkiryukhin/pretty-data - grunt: https://www.npmjs.com/package/grunt-xmlmin - grunt-xmlming: https://github.com/dtrunk90/grunt-xmlmin - npm: https://www.npmjs.com/package/grunt-xmlmin - minify-xml: https://github.com/kristian/minify-xml - no grunt package available - npm: https://www.npmjs.com/package/minify-xml src/svg/searxng-wordmark.svg': '../../../templates/__common__/searxng-wordmark.min.svg' Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13[simple theme] SearXNG wordmark (SVG)Markus Heiser
Related-to: - https://github.com/searxng/searxng/pull/430#issuecomment-951967239 - https://github.com/searxng/searxng/pull/378 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13Merge pull request #487 from MrPaulBlack/simple-theme-improvementsPaul Braeuning
[simple theme] minor css fixes
2021-11-13[build] /staticMrPaulBlack
2021-11-13[simple theme] minor css fixesMrPaulBlack
* remove hover effect from vim help modal * remove bold font weight from active item in prefenreces tab bar * remove margin from answer box to unify with rest of result page
2021-11-12Merge pull request #491 from MrPaulBlack/fix-mobile-result-scalingPaul Braeuning
[fix] mobile result scaling in simple theme
2021-11-12Bump sphinx from 4.2.0 to 4.3.0dependabot[bot]
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.2.0 to 4.3.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.2.0...v4.3.0) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12Merge pull request #495 from searxng/dependabot/pip/master/jinja2-3.0.3Alexandre Flament
Bump jinja2 from 3.0.2 to 3.0.3
2021-11-12Merge pull request #492 from searxng/dependabot/pip/master/twine-3.6.0Alexandre Flament
Bump twine from 3.5.0 to 3.6.0
2021-11-12Bump jinja2 from 3.0.2 to 3.0.3dependabot[bot]
Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.2 to 3.0.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.0.2...3.0.3) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12Bump twine from 3.5.0 to 3.6.0dependabot[bot]
Bumps [twine](https://github.com/pypa/twine) from 3.5.0 to 3.6.0. - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/twine/compare/3.5.0...3.6.0) --- updated-dependencies: - dependency-name: twine dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-11-11[build] /staticMrPaulBlack
2021-11-11[fix] scaling of result page on small screens by @ZetaTomMrPaulBlack
* thanks to https://github.com/ZetaTom for the fix! * set the width of the input#q element to 100% of the 1fr space of the grid layout * change the viewport meta tag to th recommended value (see: https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag#viewport_basics) * add a new @ultra-small-phone width of 20rem; when a device is smaller than that the search logo does not get displayed on the result page anymore
2021-11-06Merge pull request #486 from dalf/simple-mobile-pref-accessAlexandre Flament
Simple theme: mobile layout: allow access to the preferences
2021-11-06[build] /staticAlexandre Flament
2021-11-06[enh] simple theme: mobile layout: allow access to the preferencesAlexandre Flament
when there is no query, reduce the width of the query field, to display the preference button on the right.
2021-11-06Merge pull request #483 from dalf/fix-docker-lxmlAlexandre Flament
[fix] Dockerfile image
2021-11-05[fix] Dockerfile imageAlexandre Flament
ignore existing wheels, rebuild all of them fix an issue the lxml wheel for the muslc
2021-11-05Merge pull request #481 from dalf/simple-fix-hotkeysAlexandre Flament
Simple themes: fixes in keyboard.js
2021-11-05[build] /staticAlexandre Flament
2021-11-05[fix] simple theme: image detail: click on the URL to the HTML page worksAlexandre Flament
Before this commit, the default click event on an image result is prevented, this include clicks inside the detail. This commit makes sure the click happends outside the detail to prevent the default event.
2021-11-05[fix] simple theme: various about the hotkeys helpAlexandre Flament
* dark mode: #555 border (same as infoboxes and other borders) * remove a call to console.log * center the dialog without using the style attribute.
2021-11-05[fix] simple theme: disable hotkeys when they are not enabled in the preferencesAlexandre Flament
2021-11-05Merge pull request #480 from dalf/searxng-simple-themeAlexandre Flament
SearXNG brand: remove searx from searx*.js file names.