Commit Graph

12630 Commits

Author SHA1 Message Date
reger
47391678e7 TranslationNews: take out limitation to send only one text per translated file
(to avoid need of repeated publish button hits)
2016-09-04 01:00:28 +02:00
reger
cc2d9dd3f1 reactivate the use of included-in-topwords boost in postRanking
+ changed the postRanking to add one score only if word appears more as one time.
+ getTopics() unused code block rem'd (save performace)-> routine needs rework !
2016-09-04 00:09:45 +02:00
reger
6801673a07 apply postranking media search boost only on media queries 2016-09-03 03:37:40 +02:00
reger
7c0f1106a6 upd master.lng for RankingSolr_p.html (add Filter Query txt) 2016-09-01 20:33:28 +02:00
reger
de663be48b skip resolving of host "<unknown>" in hello servlet 2016-08-31 02:36:59 +02:00
reger
4386e84b55 correct NewPool rentention calculation
(was still clearing everything after one day)
2016-08-31 02:24:30 +02:00
reger
e0354a9cf9 master.lng: add language names (ConfigBasic.html) 2016-08-30 02:01:17 +02:00
reger
ec8dd95014 fix deactivation of Russian Thesaurus 2016-08-30 01:34:32 +02:00
Burkhard
4b6f41375a Merge pull request #69 from Stepanov-Sergey/master
to add Russian synonyms
2016-08-30 01:10:36 +02:00
reger
5e72d37f0a TransNews_p: add ad-hoc translation of target file on positive vote (additon to local translation)
+ errmsg on language=default
2016-08-30 00:06:42 +02:00
reger
02129a04dd upd master.lng (add TransNews_p.html) 2016-08-29 22:10:21 +02:00
reger
8c46cb8e80 -fix Supporter log line (instead of System.out)
-TransNews_p.html del debugging text left-over
2016-08-29 02:36:55 +02:00
reger
9462a32244 Added news service for easy, community driven UI translation support.
New or modified translation (via /Translator_p.html) can be shared/distributed
via the YaCy internal news service. Remote peers can see and vote on the
translation via the new http://localhost:8090/TransNews_p.html servlet.
A positive vote will add the received translation to the local translation
list and post a voting message to the news service.
(at this no processing of received votings is implemented)

+ fixed the msg service retention time check (NewsPool.automaticProcessP)
2016-08-29 02:15:06 +02:00
reger
290ca9e914 make error msg part of html (allowing translation) instead of hardcoded text 2016-08-29 01:27:09 +02:00
reger
f8d6543a23 Rename class CreateTranslationMaster to TranslationManager and add
additional routines and the capability to handle translation maps internally 
(to reduce complexity of handling translation maps for calling servelets)
2016-08-28 23:08:03 +02:00
Sergey Stepanov
a9d0c64505 to add Russian synonyms
requires health checks
2016-08-28 23:54:06 +03:00
Sergey Stepanov
f0317d6715 to add Russian synonyms
requires health checks
2016-08-28 23:46:05 +03:00
reger
19b4509d54 speed-up reading of xlif language file, by using xmlparser (stax) instead of jaxb
making xliff-core-1.2-1.1.jar obsolete
2016-08-28 02:55:42 +02:00
reger
5ab8afd4d8 rem some more untranslated text in language files
(to proper display in translation editor)
2016-08-28 02:19:29 +02:00
Sergey Stepanov
58cd891147 yacy_search_server from yacy/master
merge
2016-08-26 20:21:47 +03:00
Michael Peter Christen
e1fac86f53 Merge branch 'master' of https://github.com/yacy/yacy_search_server.git 2016-08-26 14:51:43 +02:00
Michael Peter Christen
a9316ceff6 force browser-caching of favicons from search results 2016-08-26 14:51:32 +02:00
Orbiter
e5955ac745 Merge pull request #42 from otteresk/master
improve plotting to make better use of y range
2016-08-26 12:15:39 +02:00
Orbiter
503312ca43 Merge pull request #61 from luccioman/heroku_experiments
Deploy YaCy on Heroku
2016-08-26 11:57:41 +02:00
Orbiter
722ab0973f Merge pull request #68 from luccioman/dist_macOS
Fixed packaging for YaCy 1.90 on MacOS
2016-08-26 11:49:26 +02:00
galix
3380531a2f Fixed packaging for YaCy 1.90 on MacOS 2016-08-24 16:11:52 +02:00
reger
d3d2df7087 Translator_p handle lang "browser" like "default" 2016-08-23 03:37:32 +02:00
reger
33bf35d90f missing file for prev commint "Introduction of additional language setting browser" 2016-08-23 00:13:20 +02:00
reger
16e8ed3f01 Introduce additional language setting "browser/Browser Language" for UI internationalization.
If language is set to "browser" the client/user browser language is used to choose from
available translation.
simply: one users browser speaks English -> YaCy responds in English, other users browser speaks French -> YaCy responds in French.

! To make a translation/language available you have to activate the language once ! 
(or manually use the utility class TranslateAll)
In ConfigBasic.html availabel translations are marked green on setting language=Browser
The client language is determined by http header Accept-Language (checked in DefaultServlet)
2016-08-23 00:04:24 +02:00
reger
3b47a07dd1 change unused servletProperties entry CONNECTION_PROP_CLIENT_REQUEST_HEADER to
use directly HttpServletRequest. This is used to get the http protocol version
in HTTPDProxyHandler.fulfillRequestFromWeb() for error response to client.
- adjust YaCyProxyServlet and UrlProxyServlet accordingly
- use more http_version constants in headerframework and httpdeamon
- equalize servlets (3) use of HeaderFramework.CONNECTION_PROP_HOST to HeaderFramework.HOST
2016-08-21 19:34:44 +02:00
reger
e506479063 skip overhead to resolve "<unknown>" ip
and protect against NPE in yacy/message servlet
2016-08-21 01:22:25 +02:00
reger
036c1dc6ef fix CookieTest_p formatting (output of <br> as text),
change to dataoutput only by servlet, leave formatting to html.
+ removed link to obsolete env/grafics gif
2016-08-20 22:23:47 +02:00
Michael Peter Christen
bf6709d196 fixed missing browser activation in linux 2016-08-19 19:24:15 +02:00
Michael Peter Christen
d8504418b6 enhanced browser-caching of static content 2016-08-19 19:23:51 +02:00
Michael Peter Christen
ed8bc5f79d fix for bug in network page: the network table pages also loaded the
network images, even if they had not been showed.
2016-08-19 17:18:08 +02:00
Michael Peter Christen
079112358c Merge branch 'master' of https://github.com/yacy/yacy_search_server.git 2016-08-19 15:31:09 +02:00
Michael Peter Christen
efeb592661 don't do solr optimization, this create high IO load. We should leave
this task to solr to do that on it's own instead of forcing it.
2016-08-19 15:30:53 +02:00
Burkhard
28a608c3c4 Merge pull request #67 from luccioman/mixedcontent
Fixed HTTPS  mixed content warnings and errors
2016-08-19 02:30:09 +02:00
luccioman
f84e584d74 ConfigPortal : fixed mixed-content security issue with https
We now use the same protocol as the one used to display the config page
: so when using https, the content is not blocked by the browser
detecting mixed-content.
2016-08-17 17:05:40 +02:00
luccioman
adb5c1798b Merge branch 'mixedcontent' of
https://github.com/luccioman/yacy_search_server.git into mixedcontent

Conflicts:
	source/net/yacy/yacy.java
2016-08-17 16:17:11 +02:00
luccioman
4743ade66a Search comparison : prefer https URLs
Also disabled currently not working URLs.
2016-08-17 16:13:46 +02:00
luccioman
46b8836548 Copy image resources contained in donation iframe.
Handle eventual images loading errors.
2016-08-17 15:19:15 +02:00
luccioman
a44bcd322e Copy image resources contained in donation iframe.
Also refactored the related code :
- extracted it in a method
- catch Exception and log it, rather than Throwable which is bad
practice
2016-08-17 15:15:31 +02:00
reger
91ab8a526a add error msg to api/share.html
and skip display of url on nothing uploaded
2016-08-17 03:07:26 +02:00
reger
5bbedad091 use config for path to locales in Translator servlet 2016-08-15 04:13:06 +02:00
reger
22ebca0295 upd to Jetty 9.2.18 2016-08-14 21:25:48 +02:00
reger
4c7a77662a eleminate dependency on file-extension in storeDocument but use supported mime-type
to also support handling of urls w/o corresponding file-extension.
For this refactor use of document.getParserObject() to alway return a Parser (for clean logic)
and define/move the scraperObject as local var of AbstractParser.
Adjust related calls to getParserObject (where actually a scraperObject is wanted).
Addionally skip appending url token to parsed text for dht metadata entries 
(by default returned as result by rwi index).
2016-08-14 03:53:16 +02:00
reger
ebde21079a refactor xlsParser to include Excel file attribute (like author) in parser result doc.
Similar to ppt and doc parser, completing a TODO in xlsParser.
2016-08-13 23:46:36 +02:00
Burkhard
dd9ee1d34c Merge pull request #66 from luccioman/opensearch
Opensearch : fix for default ports and naming consistency
2016-08-13 21:46:00 +02:00
luccioman
c9868209e4 Fixed opensearch ShortName consistency with link in index.html
Fix for mantis 679 (http://mantis.tokeek.de/view.php?id=679)
2016-08-12 12:36:44 +02:00