Cqoicebordel
8ea749d6ec
Kickass' unit test
2015-01-30 21:02:17 +01:00
Cqoicebordel
52a57ee045
Replace every bunch of whitespaces with only one space in HTML text
2015-01-30 21:00:49 +01:00
Cqoicebordel
a3d444ab85
BTDigg's unit test
2015-01-30 19:52:44 +01:00
Cqoicebordel
5761d6f0ab
Bing news engine corrections
...
XPath *never* return None.
(I found the HTML report of coverage)
2015-01-29 21:19:59 +01:00
Cqoicebordel
efde2c21c8
Bing news' unit test
...
I have no idea why coverage tell 97% and 2 misses in branches. If anyone has an idea...
2015-01-29 20:56:57 +01:00
Cqoicebordel
dad0434f34
Bing images' unit test
2015-01-29 20:15:52 +01:00
Cqoicebordel
d495704551
Deviant Art's unit test
2015-01-29 01:13:33 +01:00
Cqoicebordel
1d255061c7
Digg's unit test
2015-01-29 00:26:12 +01:00
Cqoicebordel
92368a4107
Dailymotion's unit test
2015-01-27 23:20:57 +01:00
Cqoicebordel
3282e62ff9
Searchcode engines corrections
2015-01-27 22:39:25 +01:00
Cqoicebordel
0f81aa8410
Searchcode doc's test unit
2015-01-27 22:38:56 +01:00
Cqoicebordel
eca5de73a7
Searchcode code's test unit
2015-01-27 22:37:11 +01:00
Cqoicebordel
cfe81d741c
A bit of utils unit tests
2015-01-27 20:03:33 +01:00
Cqoicebordel
4dba3739fb
Youtube's unit test
2015-01-26 18:24:08 +01:00
Cqoicebordel
8f040e30ad
Flickr's test unit
2015-01-26 17:36:10 +01:00
Cqoicebordel
192f255e13
Mixcloud's unit test
2015-01-25 22:33:02 +01:00
Cqoicebordel
0f52cc7542
Deezer's unit test
2015-01-25 22:12:34 +01:00
Cqoicebordel
525af2a031
Add bing in the test units
2015-01-25 20:14:37 +01:00
Cqoicebordel
44c9216c49
Sanitize extract_text
2015-01-25 20:04:44 +01:00
Cqoicebordel
cbe3c8be85
Change the cookie in bing_news to use the english interface
...
But still uses the language to set the market, and so provide relevant results to the language.
Fix #198
2015-01-22 22:46:34 +01:00
Cqoicebordel
032f9bb1c9
Revert some wrong merge to allow torrents links to be visible
2015-01-21 18:03:11 +01:00
Cqoicebordel
85dcfa2c7d
BTDigg and Mixcloud engines
2015-01-21 18:02:29 +01:00
Cqoicebordel
816a2c5cbe
Move cookies in render()
2015-01-20 16:29:54 +01:00
Cqoicebordel
393d24ba50
Flake8
2015-01-19 22:26:48 +01:00
Cqoicebordel
4d0aeae567
Thanks @pointhi !
2015-01-19 22:17:12 +01:00
Cqoicebordel
cd179bbdbb
Modify theme Courgette to add colors
...
Two colors are needed so I use a space in the cookie and a split in jinja to "encode" and "decode" them.
We should enforce that each theme if they must use a cookie, prefix its name with the name of the theme.
The color proposed here are based on bootstrap. We could use others.
2015-01-19 22:07:19 +01:00
Cqoicebordel
71ae75d73e
Extract color
2015-01-19 22:04:53 +01:00
Cqoicebordel
9b2187b261
Change theme to allow the logo to be text instead of image
2015-01-19 21:24:46 +01:00
Cqoicebordel
1a24fd9c52
Add cookies to every requests
2015-01-19 21:23:22 +01:00
Cqoicebordel
b01b95194e
Allow non specific cookies
2015-01-19 20:16:06 +01:00
Cqoicebordel
bc2d5bf88c
Add '?' bang to the autocompleter
2015-01-19 19:47:32 +01:00
Cqoicebordel
4ea03de11d
Copy all the folders of 'static'
...
Copy the new generic themes folders, with js, font, and css
2015-01-17 20:16:34 +01:00
Cqoicebordel
d910744efe
Test its existence before using thumbnail_src
...
Thanks @pointhi !
2015-01-17 19:49:21 +01:00
Cqoicebordel
2c15546518
Tiny forgots
2015-01-17 19:28:11 +01:00
Cqoicebordel
4238812a51
Flake8
2015-01-17 19:24:35 +01:00
Cqoicebordel
cb4a3fe598
Add thumbnails in images results
...
- Modify engines to create/fetch an URL for the thumbnails
- Modify themes to show thumbnails instead of full images.
In Courgette, the result is not very beautiful. Should we change it ?
2015-01-17 19:21:09 +01:00
Cqoicebordel
2fc1de54da
Lots of courgette modification
2015-01-16 00:56:54 +01:00
Cqoicebordel
14447a0761
Modify courgette theme and less it.
2015-01-16 00:55:28 +01:00
Cqoicebordel
4f14f6cd26
New icons for Courgette
2015-01-16 00:29:11 +01:00
Cqoicebordel
b4b666e703
Flake8
2015-01-15 20:27:30 +01:00
Cqoicebordel
fa0330f0ff
Fix startpage
...
Fix issue with unicode caracters in startpage : we shouldn't urlencode them if we are using POST.
Should fix #169 . @dimqua can you confirm ?
2015-01-15 20:18:40 +01:00
Cqoicebordel
389fc3b8b2
Few fixes
...
- Whitespaces
- Change a few <p> in <span>
- Add RSS to allow browser detection
- A few UIUX changes
- Add a few more allowed translations
2015-01-15 01:48:46 +01:00
Cqoicebordel
08df681b48
Tweaks of color and theme
2015-01-15 01:46:01 +01:00
Cqoicebordel
ceb650a01f
Add lots of icons
2015-01-15 01:00:48 +01:00
Cqoicebordel
824208491a
Scientific accuracy
2015-01-12 13:08:32 +01:00
Cqoicebordel
3002725e2d
Few more translations
2015-01-12 11:04:54 +01:00
Cqoicebordel
e32cb59ad6
W3C fix
2015-01-11 19:45:17 +01:00
Cqoicebordel
6ca81f649d
Fix RSS link
...
Fix page number, urlencoded request and encoded &
2015-01-11 19:34:50 +01:00
Cqoicebordel
c59d0c200e
Fix torrent W3C+UX
...
Puts links to torrents and magnets in tool bar
Fixes a lot of W3C errors
2015-01-11 19:34:11 +01:00
Cqoicebordel
a723936ad4
Updated translations without fuzzy translations
2015-01-05 20:56:48 +01:00
Cqoicebordel
5e26ce63be
Don't create fuzzy translation
2015-01-05 20:55:56 +01:00
Cqoicebordel
cacdb064db
Updated translations
2015-01-05 20:26:49 +01:00
Cqoicebordel
67bd68b5e5
Put media above result content
...
Mimick more closely usual video viewer (video above, details below)
2015-01-05 20:25:47 +01:00
Cqoicebordel
0ca04be55d
Remove print
2015-01-05 20:24:33 +01:00
Cqoicebordel
b918cd2b8e
Whitespace correction
2015-01-05 02:09:11 +01:00
Cqoicebordel
4a195e0b28
Integrated media in results + Deezer Engine
...
New "embedded" item for the results, allow to give an iframe to display the media directly in the results.
Note that the attributes src of the iframes are not set, but instead data-src is set, allowing to only load the iframe when clicked.
Deezer engine based on public API (no key).
2015-01-05 02:04:23 +01:00
Cqoicebordel
3aa3a4633f
Few fixes on Vimeo
...
Change URL from https to http
Change way of handling text xpath
2015-01-03 23:55:50 +01:00
Cqoicebordel
4450ed5503
Digg correction
...
Return no result instead of crashing if no result
2015-01-03 23:54:02 +01:00
Cqoicebordel
96c4d52eef
Add non exclusif bang
...
Allow to perform a search while adding an engine (or a category) without adding it "officially" to the request.
'?' is used to add an engine without modifying anything else to the request. For example, you can perform a search in the 'general' category, and if you add '?tw' the result from Twitter will be added to the originals results.
2015-01-03 02:31:23 +01:00
Cqoicebordel
5d977056f7
Flake8 and Twitter corrections
...
Lots of Flake8 corrections
Maybe we should change the rule to allow lines of 120 chars. It seems more usable.
Big twitter correction : now it outputs the words in right order...
2014-12-29 21:31:04 +01:00
Cqoicebordel
576fdef440
Google Play Store
...
Add Google play store apps, movies and music (sound -> gps)
2014-12-28 23:23:31 +01:00
Cqoicebordel
e7e2981536
Digg + Twitter corrections
...
Digg engines, with thumbnails
Add pubdate for twitter
2014-12-28 22:57:59 +01:00
Cqoicebordel
10e4f6f316
Add language support
...
Allow the user to select a language. It must be written in english, and capitalized, ie : English, French, German, Hungarian...
2014-12-23 01:51:07 +01:00
Cqoicebordel
2ea55b1c64
Add language support
...
Allow the user to select a language. It must be written in english, and capitalized, ie : English, French, German, Hungarian... (reverted from commit 829948b85d )
2014-12-23 01:45:39 +01:00
Cqoicebordel
829948b85d
Add language support
...
Allow the user to select a language. It must be written in english, and capitalized, ie : English, French, German, Hungarian...
2014-12-23 01:41:25 +01:00
Cqoicebordel
550232fc21
SubtitleSeeker Engine
...
Add the subtitleseeker engine.
2014-12-22 01:00:16 +01:00
Cqoicebordel
56399cf1ea
Add 500px and Searchcode engines
...
Allow to search for images on 500px. It doesn't use the official API, but the page result. Less stable, but less API key to possess...
Two engines were necessary for Searchcode because there are to search mode : search for documentation or search for code example. Both use open APIs.
2014-12-20 07:07:32 +01:00
Cqoicebordel
2fe3323449
Add double clic on categories
...
Allow to double clic on any category to activate or deactivate all categories.
2014-12-19 06:11:46 +01:00
Cqoicebordel
2ab621c0e3
Some more path issues
2014-12-19 05:05:12 +01:00
Cqoicebordel
83d6f36659
Final commit on favicons
...
Definitely remove engine array
Change every themes to accomodate that change
Tweak of video template of oscar to add link on video thumbnail
2014-12-18 16:26:32 +01:00
Cqoicebordel
06b59c7210
[fix] Show map on result in Oscar
...
Allow to find the leafleet js when searx is not installed at the root of the web server.
2014-12-18 15:51:09 +01:00
Cqoicebordel
17fd4ea4e7
Merge remote-tracking branch 'origin/Flickr-engine' into Flickr-engine
...
Conflicts:
searx/engines/flickr.py
searx/settings.yml
2014-12-16 20:44:11 +01:00
Cqoicebordel
930f724ec6
Add an No Api Flickr Engine
...
It uses the webpage json infos to build the results
Let the user choose the engine in setting.yml. Noapi active by default
+ little corrections on Flickr engine
2014-12-16 20:40:03 +01:00
Cqoicebordel
0059d08f13
Rework Flickr Engine
...
Everything was redone to use the API. It needs an API key, but it's worth it.
Everything works. Title, Image, Content, URL
The API allow lots of things. Thumbnails and date will be easy to add when it will be implemented in Searx.
Fix asciimoo/searx#126
2014-12-15 04:06:42 +01:00
Cqoicebordel
cfdcbdd9b5
Rework Flickr Engine
...
Everything was redone to use the API. It needs an API key, but it's worth it.
Everything works. Title, Image, Content, URL
The API allow lots of things. Thumbnails and date will be easy to add when it will be implemented in Searx.
Fix asciimoo/searx#126
2014-12-15 03:21:25 +01:00
Cqoicebordel
e623ee593a
Add icons and badge for the themes
...
Add kickass in engine list
Add content for the result from kickass
2014-12-14 23:27:27 +01:00
Cqoicebordel
e71b665fd5
Load the list of icons only once
2014-12-13 21:37:28 +01:00
Cqoicebordel
b2f5f65595
Correct test case
...
Add the alt in favicon
2014-12-13 20:30:19 +01:00
Cqoicebordel
53a9af39ef
Use the new way of finding the favicon
2014-12-12 19:16:29 +01:00
Cqoicebordel
f3f544d5b5
Use the new way of finding the favicon
2014-12-12 19:15:30 +01:00
Cqoicebordel
002b812cc6
Use the new way of finding the favicon
2014-12-12 19:14:30 +01:00
Cqoicebordel
3ffe6014ed
Use the new way of finding the favicon
2014-12-12 19:13:40 +01:00
Cqoicebordel
3b88adf8b6
Use the new way of finding an icon
2014-12-12 19:12:37 +01:00
Cqoicebordel
0bfc793194
Add a variable with all the icons of the theme
...
Add for the template a list of available icons in the current theme.
2014-12-12 19:09:02 +01:00
Cqoicebordel
8fb6ea1bf1
Add title and alt on image in infobox
2014-12-10 18:27:08 +01:00
Cqoicebordel
5104552937
Multiple HTML corrections
...
Alt on favicon
No <p> in <p>
Correct alt and title on img
2014-12-10 18:21:41 +01:00
Cqoicebordel
94ea67547a
HTML and usability corrections
...
Put the result URL at the top, like in other results template
Put the magnet link on the same line as the stats (peer/seed).
2014-12-10 18:20:20 +01:00
Cqoicebordel
3e05570b32
Alt on favicon
2014-12-10 18:17:47 +01:00
Cqoicebordel
2bb820c281
Correct alt and title
2014-12-10 18:17:10 +01:00
Cqoicebordel
8708e5fc56
Alt on favicons
2014-12-10 18:16:32 +01:00
Cqoicebordel
149e19c68a
Correct HTML entities and link
2014-12-10 18:15:39 +01:00
Cqoicebordel
a809fd1bbb
Multiple HTML corrections
...
Alt on favicon
Width of image should be 400 and not 400px
Correct alt+title on image
No <p> contains <p>
2014-12-10 18:14:29 +01:00
Cqoicebordel
eef05c3ddc
Alt on favicon
2014-12-10 18:11:59 +01:00
Cqoicebordel
b043237c61
Correct alt and title
2014-12-10 18:11:20 +01:00
Cqoicebordel
74000c739d
Alt on favicon
2014-12-10 18:10:19 +01:00
Cqoicebordel
18f772615b
HTML Entities + Use the right template
...
Courgette was using the wrong template. I assume it was a mistake.
2014-12-10 18:09:21 +01:00
Cqoicebordel
978b476024
Add KickAss engine
2014-12-09 19:21:35 +01:00
Cqoicebordel
15a4c10c99
First pass at Kickass Engine
...
Parse and return results correctly. Pages numbers taken care of.
Not done, and maybe to do :
- 'content' : I don't know what it could be. Maybe votes ?
- 'categories' : the results are not filtered by categories, because I don't see how to do it properly : there are too much categories on Kickass. Is 'video' only movies, or also tv show or porn ? So for now, the category is 'all'.
- Favicon/icon : may be a good idea.
2014-12-09 19:19:39 +01:00
Cqoicebordel
7937218be6
Use human readable date
...
For DoB and DoD, wikipedia use a non standard ISO format, not easily readable.
Now the date is displayed in an human readable form, using the language setting as locale if available. If not, it uses the default locale.
2014-12-09 02:36:53 +01:00
Cqoicebordel
b973081134
[fix] Google image with special chars
...
It seems like Google image is doing a double urlencode on the url of the images. So we need to unquote once before sending to the browser the urls.
It solves the 404 we could see with some image with specials chars in url.
Exemple https://searx.laquadrature.net/?q=etes&pageno=1&category_images (there are two of those in the list)
2014-12-08 21:12:50 +01:00