summaryrefslogtreecommitdiff
path: root/searx/static
AgeCommit message (Collapse)Author
2025-01-20[mod] add swipe events to the image gallery (gesture control)Markus Heiser
Adds [1] to the searxng.min.js and horizontal swipe events to the image gallery. [1] https://www.npmjs.com/package/swiped-events Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-20[build] /staticMarkus Heiser
2025-01-20[feat] image results: dismiss image viewer on back button press on mobile ↵Bnyro
devices
2025-01-16[build] /staticMarkus Heiser
2025-01-16[fix] gallery view overlaps category barMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/4190 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-16[fix] theme simple: image viewer hides autocomplete suggestionsMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/3509 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-16[fix] broken mobile view (from #4154)Markus Heiser
Related: - https://github.com/searxng/searxng/pull/4154#issuecomment-2591881963 Closes: https://github.com/searxng/searxng/issues/4187 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-16[fix] build workflows of the themesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-14[build] /staticBnyro
2025-01-14[chore] stylelint: fix reported errorsBnyro
2025-01-14[upd] stylelint: use less-compatible configuration and update rulesBnyro
2025-01-14[fix] issues reported by sytlelintMarkus Heiser
"Unexpected vendor-prefixed": -webkit-transform & -ms-transform [3] -webkit-animation [2] @-webkit-keyframes [1] [1] https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes [2] https://developer.mozilla.org/en-US/docs/Web/CSS/animation [3] https://developer.mozilla.org/en-US/docs/Web/CSS/transform Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-14[upd] migrate .eslintrc.json to eslint.config.mjsMarkus Heiser
The migration was done by the following steps, firts prepare the node enviroment an open a bash in this environment:: $ make clean nvm.nodejs ... $ ./manage nvm.bash $ which npx searxng/.nvm/versions/node/v23.5.0/bin/npx In this environment the migration command from [1] is started:: $ npx @eslint/migrate-config .eslintrc.json Need to install the following packages: @eslint/migrate-config@1.3.5 Migrating .eslintrc.json Wrote new config to ./eslint.config.mjs You will need to install the following packages to use the new config: - globals - @eslint/js - @eslint/eslintrc You can install them using the following command: npm install globals @eslint/js @eslint/eslintrc -D The following messages were generated during migration: - The 'node' environment is used, so switching sourceType to 'commonjs'. [1] https://eslint.org/docs/latest/use/configure/migration-guide#migrate-your-config-file Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-14[upd] update npm dependencies (package.json) and .tool-versionsMarkus Heiser
To avoid issue like [1], versions from now on are pinned in:: searx/static/themes/simple/package-lock.json To test nodejs v23 or newer is needed (will be installed by nvm). To drop a possibly existing installation:: $ make clean Install nodejs in nvm:: $ make nvm.nodejs INFO: install (update) NVM at searxng/.nvm ... Now using node v23.5.0 (npm v10.9.2) Creating default alias: default -> v23.5 (-> v23.5.0) INFO: Node.js is installed at searxng/.nvm/versions/node/v23.5.0/bin/node INFO: Node.js is version v23.5.0 INFO: npm is installed at searxng/.nvm/versions/node/v23.5.0/bin/npm INFO: npm is version 10.9.2 INFO: NVM is installed at searxng/.nvm To test npm checks and builds: $ make static.build.commit Related: [1] https://github.com/searxng/searxng/issues/4143 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-16[build] /staticMarkus Heiser
2024-12-16[refactor] webapp.py: reuse get_client_settings() method to unify preference ↵Bnyro
handling before render
2024-12-16[build] /staticBnyro
2024-12-16[fix] settings: javascript crash when entering due to missing search formBnyro
2024-12-01[build] /staticMarkus Heiser
2024-12-01[fix] if image load fails on client side, show default imageMarkus Heiser
BTW: change icon color from red to gray Closes: - https://github.com/searxng/searxng/issues/4066 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-01[build] /staticBnyro
2024-12-01[feat] search: add url formatting preferenceBnyro
2024-11-29[build] /staticBnyro
2024-11-29[chore] search.js: remove leftovers from shift to multiselect categories PRBnyro
2024-11-29[build] /staticBnyro
2024-11-29[feat] search: shift/ctrl click a category to select multiple categoriesBnyro
2024-11-25[build] /staticBnyro
2024-11-25[mod] add CSS (LESS) to xsl style to view rss in browserMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-25[refactor] <type> element isn't a part of the RSS 2.0 spec [1]Markus Heiser
[1] https://cyber.harvard.edu/rss/rss.html Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-25[feat] rss: add xsl style to view rss in browserBnyro
2024-11-24[build] /staticBnyro
2024-11-24[chore] *: fix typos detected by typos-cliBnyro
2024-10-26[build] /staticMarkus Heiser
2024-10-26[mod] shrink new favicons in search resultsJJ
2024-10-16[build] /staticmrpaulblack
2024-10-16[fix] simple theme: unset width for images on mobile layoutmrpaulblack
* fix fallout from 2fbedc4316b4e8a8bce8bb9506f59aa61e1a2666 -> similar to 14fb187548a58144c5cd13c9292fcc52f5a025c5 * change: set image height to 10rem -> this is in my opinion more sensible size for mobile
2024-10-15[build] /staticMarkus Heiser
2024-10-15[fix] stretching pics in "pic search"Markus Heiser
Issue is described in: - https://github.com/searxng/searxng/issues/3915 The issue was caused bei merge of PR: - https://github.com/searxng/searxng/pull/3895 Solution: - Unset `width` for objects of class `.result-images`. Tested by `make run` and query a list of results, containing `.result` and `.result-images` objects: !images !go bäder :de Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Closes: https://github.com/searxng/searxng/issues/3915
2024-10-12[build] /staticMarkus Heiser
2024-10-12[fix] simple theme: fix deformed result itemMarkus Heiser
Setting ``box-sizing: border-box;`` [1] and ``width`` to fix deformed results reported in [2]. [1] https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing [2] https://github.com/searxng/searxng/issues/3892 Closes: #3892 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05[build] /staticMarkus Heiser
2024-10-05[mod] favicons: simplify RTL in template & CSSMarkus Heiser
Comes from a sughgestion in: - https://github.com/searxng/searxng/pull/3727#issuecomment-2388998803 Suggested-by: Bnyro <bnyro@tutanota.com> Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05[mod] UI: add favicon's border- and background color to the definitonsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05[mod] Revision of the favicon solutionMarkus Heiser
All favicons implementations have been documented and moved to the Python package: searx.favicons There is a configuration (based on Pydantic) for the favicons and all its components: searx.favicons.config A solution for caching favicons has been implemented: searx.favicon.cache If the favicon is already in the cache, the returned URL is a data URL [1] (something like `data:image/png;base64,...`). By generating a data url from the FaviconCache, additional HTTP roundtripps via the favicon_proxy are saved: favicons.proxy.favicon_url The favicon proxy service now sets a HTTP header "Cache-Control: max-age=...": favicons.proxy.favicon_proxy The resolvers now also provide the mime type (data, mime): searx.favicon.resolvers [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05[feat] add favicons to result urlsBrock Vojkovic
2024-10-03[build] /staticMarkus Heiser
2024-10-03[refactor] simple theme: *.less - replace hardcoded colorsBnyro
Closes: https://github.com/searxng/searxng/issues/3842
2024-10-03[build] /staticBnyro
2024-10-03[feat] simple theme: pure black theme styleBnyro
2024-09-03[build] /staticBnyro
Co-authored-by: GenericMale <genericmale00@gmail.com>