Commit Graph

12644 Commits

Author SHA1 Message Date
reger
e310ec5f70 fix posInText ranking calculation to score 0 on no position info
+ fix Word posInText calc in Tokenizer to start with 1
+ test case
2016-09-06 00:05:59 +02:00
luccioman
d14a9ee918 Merge pull request #72 from luccioman/dist_macOS
YaCy Mac OS bundle : store data in the right place
2016-09-05 23:36:25 +02:00
luccioman
74f9927ddc Merge remote-tracking branch 'origin/master' into dist_macOS 2016-09-05 22:42:17 +02:00
reger
51c077f493 adjust the getTopics() and getTopicNavigator() to current useage
- move the maxcount limit restriction completely to getTopicNavigator (as there not used in getTopics)
- let search servlet use getTopics by default (w/o RWI connected check, as of now, Topics are available w/o any additional index interaction)
2016-09-05 00:07:01 +02:00
reger
39dd244693 fix ConcurrentScoreMap.set() calculation of totalCount()
+ test case
2016-09-04 22:18:07 +02:00
reger
ebf818ad95 log a error on aborted news publish (due to duplicate news.id)
+ change printed err msg to log entry in PeerAction.processPeerArrival
2016-09-04 06:42:48 +02:00
reger
f34b493ab6 fix fr.lng (missing quotes)
broke sentence appart to reduce inclusion of coding tags in translation
2016-09-04 03:05:25 +02:00
reger
a2777903d6 include translation news service in status submenue
+ display translation proposal news only for current language (in TransNews servlet)
2016-09-04 02:29:04 +02:00
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
luccioman
39ea28adfd Merged master to dist_macOS branch. 2016-09-03 15:22:57 +02:00
luccioman
8255e91c99 Fixed serverClassLoader.findClass method
htroot is a supposed to be a subfolder of appPath and not of dataPath,
as assumed in other places where htroot is loaded. This issue was not
visible when dataPath and appPath are equals.
2016-09-03 15:21:02 +02:00
luccioman
421a6e3a95 Fixed options processing for Mac OS
- getopt is BSD style and does not support long options
- fixed typing error inparameter value extracting for all platforms
2016-09-03 14:46:58 +02:00
reger
6801673a07 apply postranking media search boost only on media queries 2016-09-03 03:37:40 +02:00
luccioman
24b8741292 Fix for startup option
- Var initialization
- Declaration in getopt
2016-09-02 11:55:46 +02:00
luccioman
1dc4306058 Fixed indentation for better readability. 2016-09-02 11:23:02 +02:00
luccioman
f3f478448b Explicitely set YaCy data folder when starting in MacOS bundle 2016-09-02 11:22:39 +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