Commit Graph

26 Commits (4887c25e7ff45d082f3406abaec7c08ad29479d3)

Author SHA1 Message Date
Marc Abonce Seguin 8d71420b45 [mod] separate index and search routes
This makes it easier to separately handle search and index requests
from a web server or from a reverse proxy.

If a request to index contains a query, a permanent redirect HTTP response
is returned. This should give some level of backwards compatibility
for users that have set a searx instance in their browser's search bar.
4 years ago
Noémi Ványi 74013c212a Revert "[enh] new plugin to open results on new browser tabs"
This reverts commit ab6a7601cb.

Closes #2037
4 years ago
Adam Tauber 164e4725f3 [mod] add dedicated directory to external plugins with gitignore file 4 years ago
Noémi Ványi 4ec2fab583 Consider HTTP request when running search categories on select is enabled
Closes #1138
4 years ago
Adam Tauber 65cae85735 [fix] load new page with infinite scroll if there is no scrollbar - fixes #759 4 years ago
Markus Heiser e64ff38217
Merge branch 'master' into fix-infinite-scroll 4 years ago
Nick Espig 0ae86cd168
Fix not jumping to results loaded by infinite scroll
Infinite scroll adds a `hr` tag to split up the sections loaded by it.
The vim bindings `j` and `k`, which jump to the next and previous result
respectively, search for a **direct** sibling with the class `result`.
With the `hr` between results a direct sibling cannot be found. To fix
this we remove the restriction of it having to be a direct sibling.
5 years ago
Dalf 0e7b6c9a03 [mod] infinite scroll: XHR requests are sent with the header "Accept: text/html".
Fix https://github.com/searx/searx-docker/issues/16
5 years ago
Nick Espig 06979fa082
Load next page shortly before hitting the bottom
This improves the user experience by loading in the next entries shortly before him getting to the bottom. It makes the scrolling more smooth without a break in between.

It also fixes an error on my browser that scrolling never hits the defined number. When I debugged it I hit `.scrolltop` of 1092.5 and the `doc.height - win.height` of 1093, so the condition was never true.
5 years ago
rinpatch 7a036579b2 Hide buttons when infinite scrolling is enabled 6 years ago
Richard Nespithal 0314349b08
Fix Vim mode on Firefox
Firefox automatically opens a built-in quick search when user
starts typing without selected input and the Vim shortcuts
are not triggered
6 years ago
Noémi Ványi 31005f3121 use `change` function just like in case of language selection
The previous version did not work in Chrome browser.

Closes #1102
7 years ago
Noémi Ványi e8319fa2cb Revert "Merge pull request #793 from kvch/pics-modal"
This reverts commit bff41987a4, reversing
changes made to d08108be62.
8 years ago
Noémi Ványi 420ef433ae add img pagination support of infinite scroll 8 years ago
marc a11230819f automatic search when language is selected 8 years ago
Adam Tauber 7986d4cf41 [fix] correct path for autoscroll on non-root urls
closes #758
8 years ago
David A Roberts 678b9e994a [enh] infinite scroll
resolves #649
8 years ago
Noemi Vanyi 90e74fbb28 search on filter select 8 years ago
Noemi Vanyi 074521fd8a follow up changes in search_category_on_select 8 years ago
Kirill Isakov c12e41a80f Fix result selection for top & bottom scrolling 8 years ago
Kirill Isakov 7b48a66350 Add auto page scrolling to selected result 8 years ago
Kirill Isakov 0d6625e070 Add search result navigation support 8 years ago
Kirill Isakov 1faf1b645b Set vim-hotkeys help panels to same height 8 years ago
Kirill Isakov 3246541bdc [WIP] Add vim-hotkeys plugin 8 years ago
Adam Tauber 4e5af8d87b [mod] move plugin static files to static/plugins 9 years ago
Adam Tauber ab6a7601cb [enh] new plugin to open results on new browser tabs 9 years ago