Commit Graph

11981 Commits

Author SHA1 Message Date
luc
8da20718aa Created a class to test ViewImage rendering against multiple image
files.
2015-10-23 15:49:07 +02:00
luc
ec04d27473 Corrected APNG test suite link name. 2015-10-23 14:12:00 +02:00
luc
cbb84ba073 Detailed javadoc. 2015-10-23 13:57:24 +02:00
luc
70111876d2 Filled ViewImageTest.html with all remaining IANA image file formats.
Added some links to test suites and specifications.
2015-10-23 12:27:52 +02:00
luc
a156fd65d0 Patch to manage render or load errors is still needed after highlight.js
version upgrade.
Updated patch for better behavior consistency between browsers.
2015-10-22 00:36:34 +02:00
luc
37e28e0dd3 - Keep aspect ratio of images rendered directly by browser such as gif
and svg.
- Corrected quadratic rendering of landscape images with height smaller
than maxHeight
2015-10-21 02:49:51 +02:00
luc
e2d00585e2 Display full size preview using ViewImage Servlet. 2015-10-20 01:17:37 +02:00
luc
74b0283d57 Added image preview error management. 2015-10-20 01:15:02 +02:00
luc
5902ce032e Corrected NullPointerException case when ImageIO reader is not found for
image format.
2015-10-19 14:11:26 +02:00
luc
d6522fa4a2 Integrated haraldk/TwelveMonkeys library to first add TIF image format
support.
2015-10-15 10:06:51 +02:00
luc
e093fb228d Created a generic ViewImage performance render test. 2015-10-15 09:18:24 +02:00
luc
3ad564e2e4 Created a ViewImage rendering performance measurement test. 2015-10-14 10:17:09 +02:00
luc
62e07a26a0 Refactoring : split into sub-functions to make it understanding and
performance measurement easier.
2015-10-14 10:15:00 +02:00
luc
b3f044072e Updated table headers and SVG file url for case sensitive OS. 2015-10-14 10:13:37 +02:00
luc
ff963cbe23 Merge branch 'master' of https://github.com/yacy/yacy_search_server 2015-10-13 08:55:18 +02:00
reger
c9937973e3 unescape MultiProtocolURL getAttributes() return values.
use getAttributes() to get query parameters as clear text (w/o url encoding)
use getSearchpartMap() to get in internal format (url encoded)

fix for http://mantis.tokeek.de/view.php?id=606
2015-10-13 02:43:18 +02:00
reger
10b0eb106f fix link target on iframe list in CrawlProfileEditor 2015-10-11 06:06:40 +02:00
reger
78e8c6f3e5 refactor special handling (static override) of SUPPORTED_EXTENSIONS/MIME_TYPES
not used for genericImageParser
2015-10-11 01:23:52 +02:00
reger
d54c5d310a add links with image extension not automatically to image links.
With the wide spread use e.g. of Wikimedia the url file extension of links with image extension often point to html.
2015-10-10 23:49:58 +02:00
luc
f5746b5490 Added ico and bmp sample pictures 2015-10-06 20:48:09 +02:00
luc
baede48161 Added JPEG 2000 and FITS samples 2015-10-06 09:53:09 +02:00
luc
7c9d80c5d0 Added image formats and informations for each format. 2015-10-06 09:51:47 +02:00
luc
073ef730af Merge branch 'master' of https://github.com/yacy/yacy_search_server.git 2015-10-06 08:23:32 +02:00
reger
5744342fec handle image preview for url w empty file extension
fix of commit 688f7b2a5c
2015-10-06 04:13:04 +02:00
luc
82dd004260 Merge branch 'master' of https://github.com/yacy/yacy_search_server.git 2015-10-05 09:06:28 +02:00
reger
851e8f6c8a check jpeg file signature in genericImageParser
to fail early without further object allocation if source is not a jpeg.
2015-10-05 01:58:31 +02:00
reger
fb75fea446 use recrawljob w/o sort results by date
This is a workaround for existing index (not fully reindexed) since intro of schema with docvalues
to prevent solr exception causing recrawljob to fail with
org.apache.solr.core.SolrCore java.lang.IllegalStateException: unexpected docvalues type NONE for field 'load_date_dt' (expected=NUMERIC). Use UninvertingReader or index with docvalues.
2015-10-04 05:43:40 +02:00
reger
43c27aa550 upd to solr/lucene 5.3.1 2015-10-03 23:20:33 +02:00
reger
fd5a1dc297 upd to poi-3.13 2015-10-03 21:43:41 +02:00
luc
0ae9297ca5 Created a html test page to check ViewImage rendering with different
file formats.
2015-10-02 12:41:30 +02:00
luc
136e8f6fbd Merge branch 'master' of https://github.com/yacy/yacy_search_server.git 2015-10-02 11:02:27 +02:00
reger
688f7b2a5c allow/display svg images in image results previews
svg is not supported by awt but by most browser. Image content is delivered as received (without size adjustment)
2015-10-02 01:48:48 +02:00
reger
d5330391de remove some unused var allocation in parser 2015-10-01 23:11:58 +02:00
Michael Peter Christen
3d7dd9d3aa follow-up to latest commit: also flush the search cache if all crawls
had been terminated.
2015-10-01 13:21:28 +02:00
Michael Peter Christen
225200194a every time a crawl is started, the user expects a different search
result behaviour. This requires that the search cache is flushed for
each crawl start. TODO: this should also be done if a crawl is
terminated.
2015-10-01 13:18:44 +02:00
Michael Peter Christen
c737ff235d in case that the include_string contains several entries including
1-char tokens and also more-than-1-char tokens, then remove the 1-char
tokens to prevent that we are to strict. This will make it possible to
be a bit more fuzzy in the search where it is appropriate.
2015-10-01 13:09:33 +02:00
Michael Peter Christen
8e555d79a3 add also 1-character tokens to the token list because that could be also
searched for. A full-string search for a filename may fail if those
1-char tokens are omitted
2015-10-01 13:03:22 +02:00
luc
eb7989b17b Merge branch 'master' of https://github.com/yacy/yacy_search_server.git 2015-09-30 08:43:58 +02:00
reger
7c82cd4415 add a end condition to svgParser for wrong content
(if parser choosen just by file extension)
2015-09-29 22:57:33 +02:00
luc
82f4f221e9 Merge branch 'master' of https://github.com/yacy/yacy_search_server.git 2015-09-28 09:47:11 +02:00
reger
b92d81b073 remove double caching of inputstream in ViewImage 2015-09-27 03:24:28 +02:00
reger
c7c5e2dff9 fix old/obsolete solr dependency to stax
delete obsolete jar
2015-09-27 00:17:42 +02:00
reger
beed1c417e Add report profile with OWASP Dependency-Check to maven pom 2015-09-26 19:58:15 +02:00
reger
356d4d1301 remove rdfParser from init (current function identical with genericParser) 2015-09-26 17:30:34 +02:00
reger
c647d899e3 add svgParser to parse metadate from svg images
Reads document level included title and description and skips the graphic content to save bandwidth.
svg metadata element is not interpreted
- remove rdfParser from init (current function identical with genericParser)
2015-09-26 17:27:33 +02:00
reger
bad34804fe optimize parseInt for <img> tag attribute parsing
Performance better as using Numberformat.parse or parseInt(substring())
2015-09-26 15:42:23 +02:00
Michael Peter Christen
3c31bf845f fix for latest merge 2015-09-24 13:53:54 +02:00
Michael Peter Christen
6ebc2451a9 Merge pull request #14 from luccioman/master
Translator refactoring : no more regular expression processing
2015-09-24 13:50:23 +02:00
luc
8615556dd5 Merge branch 'master' of https://github.com/yacy/yacy_search_server.git 2015-09-24 09:28:57 +02:00
reger
2f51baff4f check for loading error (includs unsupported formats)
to prevent blank thumbnail display in image search because of not handled source which don't load on click.
Now the cross icon indicates the problem (inlcuding not supported format)
2015-09-24 01:58:19 +02:00