Commit Graph

2130 Commits

Author SHA1 Message Date
Adam Tauber 149b08a062 Merge pull request #534 from kvch/preferences-refactor
new preferences handling
2016-04-09 17:33:06 +02:00
Noemi Vanyi f0fd9ad628 add unit && robot tests 2016-04-09 01:09:26 +02:00
Noemi Vanyi fe691a0988 new preferences handling
Preferences class was introduced in order to handle user preferences. Right now
it parses cookies and the form in preferences. Also it can retrieve settings
based on the name of the setting.

ATTENTION
Please note that engine preferences are handled differently from now on. So it
introduces incompatible changes. Every user who has saved preferences should reset and
save his/her settings again.

This change was needed, because everytime a default disabled engine was
added saved user preferences would broke. Now engine setting tracking is
fixed.
2016-04-09 01:08:44 +02:00
Adam Tauber 9331fc28a8 [fix] broken google images parsing 2016-04-07 08:07:17 +02:00
Guilhem Bonnefille 2733a92383 Fix query encoding 2016-04-05 13:31:49 +02:00
Guilhem Bonnefille b0d42e8cf9 Add myself as author
As requested by the contribution guide:
https://asciimoo.github.io/searx/dev/contribution_guide.html
2016-04-05 13:30:59 +02:00
Guilhem Bonnefille bb29a910f2 Fix pep8 about too long lines
Code is refactored and example data are truncated.
2016-04-04 13:38:57 +02:00
Guilhem Bonnefille f26f0dab2e Fix pep8 E302
Cf. http://legacy.python.org/dev/peps/pep-0008/#blank-lines
2016-04-04 13:38:22 +02:00
Guilhem Bonnefille f2d1a530fb Add ubuntu-fr wiki with new doku engine 2016-04-03 22:05:03 +02:00
Guilhem Bonnefille cf09b500f3 Add support for dokuwiki engine 2016-04-03 22:03:41 +02:00
Adam Tauber 5cbe4c5332 [fix] try to decode url - closes #527 2016-03-30 15:47:49 +02:00
Kirill Isakov d0001f10e6 Add searx user agent to Reddit engine request to comply with API usage terms 2016-03-30 17:30:46 +06:00
Adam Tauber fff9460238 Merge pull request #522 from jibe-b/master
add BASE engine in category "Science"
2016-03-30 11:09:22 +02:00
Adam Tauber 26c818193d Merge pull request #528 from a01200356/autocomplete
[enh] multilingual autocomplete
2016-03-30 11:07:45 +02:00
a01200356 94cb3a7f11 [enh] multilingual autocomplete
implemented for wikipedia, qwant and google
2016-03-29 19:10:13 -06:00
jibe-b 0b90cd42e2 minor update 2016-03-29 16:18:46 +02:00
jibe-b 092e15cc1d [enh] Add BASE engine in category Science. Basic and advanced search. 2016-03-29 16:17:17 +02:00
Kirill Isakov 0bfbdff234 Add Habrahabr & Geektimes search engines 2016-03-28 22:33:56 +06:00
Kirill Isakov 5b3c9f06eb Add BitBucket & GitLab search engines 2016-03-28 20:08:34 +06:00
Kirill Isakov bacc9a3df1 Add paging support to XPath & Erowid engines 2016-03-28 19:15:03 +06:00
Kirill Isakov e202c6fbec Fix PEP8 warnings for Nyaa.py 2016-03-27 05:23:17 +06:00
Kirill Isakov a8832574fa Shorten content field for very long Reddit search results 2016-03-27 05:09:04 +06:00
Kirill Isakov 80813c3e05 Add Erowid search engine 2016-03-27 04:29:23 +06:00
Kirill Isakov c1d456b136 Add F-Droid search engine 2016-03-27 03:50:44 +06:00
Kirill Isakov 547b8a8765 Add Tokyo Toshokan search engine 2016-03-27 00:49:57 +06:00
Adam Tauber 71de593a5b [fix] bing images page change 2016-03-26 02:07:52 +01:00
Kirill Isakov 7fbc12ee4e Add Torrentz.eu search engine 2016-03-26 05:28:58 +06:00
Adam Tauber 6d55642ab4 [fix] no more redirect ++ explicitly specify search language to avoid googles ip based heuristics 2016-03-25 18:38:02 +01:00
Kirill Isakov d026a97e42 Add Reddit search engine 2016-03-25 19:30:32 +06:00
Adam Tauber ba16f213b0 Merge pull request #525 from ukwt/master
Add Arch Linux Wiki search engine
2016-03-24 21:36:13 +01:00
Kirill Isakov 8b7dc2acb9 Remove content field from ArchWiki results; reformat code in archlinux.py
Content field in Arch Wiki search results is of no real use, more often
than not it contains no usable information and includes too many markup
tags which make the text unreadable. It is safe to remove it.
2016-03-25 00:38:48 +06:00
Kirill Isakov e5677ae6b6 Add Nyaa.se search engine 2016-03-25 00:24:37 +06:00
Kirill Isakov d748b8419a Add Arch Linux Wiki search engine 2016-03-24 01:57:27 +06:00
Adam Tauber 24ea39d046 Merge pull request #523 from a01200356/master
[fix] duckduckgo's xpaths changed
2016-03-22 11:12:50 +01:00
a01200356 a5238ce8d1 [fix] install npm packages locally on .travis.yml
for some reason installing grunt globally caused travis test to fail.
2016-03-21 21:46:37 -06:00
a01200356 751c9a346e [fix] duckduckgo's xpaths changed
test_duckduckgo modified to reflect changes in duckduckgo's html
2016-03-21 20:19:13 -06:00
Adam Tauber dbf4f83231 [fix] manage.sh return with actions exit status 2016-03-17 21:43:31 +01:00
Adam Tauber 1d5afa4ccc [fix] posix compatibility 2016-03-17 21:31:45 +01:00
Adam Tauber 0f518e489e [fix] csv results filename encoding 2016-03-16 10:43:28 +01:00
Adam Tauber e893d94185 [fix] docs url mod to prevent http redirect 2016-03-04 14:55:06 +01:00
Adam Tauber 6130f9a59f Merge pull request #473 from GreenLunar/patch-2
Update link to documentation page
2016-03-04 14:52:23 +01:00
Adam Tauber fee556c990 Merge pull request #517 from pointhi/manage-improvement
[fix] improve argument parsing of manage.sh
2016-03-02 22:08:28 +01:00
Thomas Pointhuber ceb70ccb5d [fix] improve argument parsing of manage.sh 2016-03-02 18:41:19 +01:00
Adam Tauber 667f7fde39 Merge pull request #516 from pointhi/translation-fix
Translation fix
2016-03-02 17:21:22 +01:00
Thomas Pointhuber 9a94b36593 [fix] translate plugin name and description in template 2016-03-02 17:16:46 +01:00
Thomas Pointhuber b8d1081756 [enh] reorder locales by alphabet, add english lanuage name in brackets 2016-03-02 16:41:56 +01:00
Thomas Pointhuber 2a1ddede5d [enh] update translation and add new languages
add new languages:
* bg
* el_GR
* eo
* pt_BR
2016-03-02 14:52:15 +01:00
Adam Tauber 474e574066 Merge pull request #515 from dalf/qwant
[enh] autocompletion : add qwant
2016-03-02 14:34:25 +01:00
Alexandre Flament 6ab91515df [enh] autocompletion : add qwant 2016-03-02 19:54:06 +08:00
Adam Tauber bc81eda64b [fix] opensearch image issue - closes #507 2016-03-02 11:52:11 +01:00