Commit Graph

5655 Commits

Author SHA1 Message Date
reger
3630fcc458 adjust messages_p servlet to standard header.getPathInfo, too
(replacing non standard http header)
2016-11-20 04:02:28 +01:00
reger
bad8f87998 remove old/obsolete clear text "adminAccount" credential entry from init
and setConfig (.,empty) from servlets/code
2016-11-20 00:20:47 +01:00
reger
20c9b0138e let User servlet detect static admin with (newer) md5 encoded pwd
(complete a old todo)
2016-11-19 01:02:05 +01:00
reger
b449b0b660 remove login request directly after logout,
and add logout from servlet container
make logout button red
2016-11-18 02:39:53 +01:00
luccioman
fd22d8c08b Upgraded Bootstrap to 3.3.7 and upgraded its related js dependencies.
Upgraded the following JavaScript libraries dependencies :
 - bootstrap-switch to 3.3.2
 - html5shiv to 3.7.3 and switched to minified version
 - typeahead to 0.10.5
 - jQuery to 1.12.4

Removed unused bootstratp-rtl.css and bootstrap-rtl.min.css.

Tested non regressions on the following systems :
 - Debian Jessie : 
  - Firefox 45.4.0

 - MS Windows 10 :
  - Chrome 54.0.2840.99 
  - Firefox 50.0
  - Edge
  - Emulated IE 11, 10 and 9
2016-11-17 14:17:08 +01:00
luccioman
0806de8fdc Ensure file input stream are closed in both normal and error cases. 2016-11-16 15:13:58 +01:00
luccioman
f72c99474e Network Access servlet : render pure relative HTML links.
For better YaCy integration behind reverse proxy with subfolder.

Tested on Debian Jessie with an apache2 reverse proxy.

See related mantis issues http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
2016-11-14 20:17:35 +01:00
reger
d631fbc019 make more use of the new ServletRequest interface methodes
getScheme, getServerPort (in QuickCrawlLink_p & YaCyDefaultServlet)
2016-11-14 03:01:15 +01:00
reger
395f2e8946 Make ServletRequest implement the standardized HttpServletRequest interface,
to make all readily available information from the original ServletRequest
available to YaCy servlets (without converting data to internal structures).
The implementation of the common interface allows easier integration of
YaCy servlets with the servlet standard (e.g. shared login service with
the servlet container etc.)
2016-11-14 01:37:16 +01:00
luccioman
62f75417ef Updated Pattern JavaDoc links to current minimum (1.7) JDK version. 2016-11-14 00:18:40 +01:00
luccioman
ca4c38a5ba Updated links to external Java and Solr docs to currently used versions. 2016-11-13 23:34:27 +01:00
reger
f45945cada increase use of header const for custom "EXT" header 2016-11-13 01:39:14 +01:00
luccioman
6a0b218ae5 Absolute URLs in yacysearch.* : ensure no downgrade from https to http
Also removed unnecessary use of deprecated Seed.getIP().
2016-11-12 23:29:25 +01:00
reger
17fc09036e fix cutoff text in button and adjust formatting 2016-11-12 21:58:06 +01:00
luccioman
812abfc868 Converted one more set of URLs to pure relative ones.
Easier YaCy peer configuration behind a reverse proxy subfolder : no
need for the reverse proxy to rewrite HTML links or URLs in css files.

Tested on Debian Jessie with an apache2 reverse proxy.

See related mantis issues http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
2016-11-12 15:54:35 +01:00
luccioman
74fec066f4 Converted more URLs to pure relative ones.
Easier YaCy peer configuration behind a reverse proxy subfolder : no
need for the reverse proxy to rewrite HTML links or URLs in css files.

Tested on Debian Jessie with an apache2 reverse proxy.

See related mantis issues http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
2016-11-12 10:51:54 +01:00
reger
95a60d177e bring back/fix: search results and logo without external icon 2016-11-10 22:22:37 +01:00
luccioman
7296e3884f Switched even more URLs to pure relative ones.
Thus a YaCy peer can run behind a reverse proxy subfolder without need
for the reverse proxy to rewrite HTML links (a CPU costly operation).

Tested on Debian Jessie with an apache2 reverse proxy.

See related mantis issues http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
2016-11-09 02:40:33 +01:00
reger
042c2868df del abandoned indexcleaner.html, servlet deleted with commit
3bcd9d622b
crawler servlet log warning line on failure in one of multiple urls (instead of exception msg)
indexcontrolrwi skip not needed type conversion on ranking
2016-11-08 23:42:12 +01:00
luccioman
024b811a7b Switched openstreetmap favicon URL to HTTPS.
This avoids mixed content browser error/warning when YaCy is browsed
using HTTPS.
2016-11-08 03:12:43 +01:00
luccioman
84b81c1af0 Switched more URLs to relative ones when possible.
This permits an easier and more flexible reverse proxy configuration.
Some related mantis issues : http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
2016-11-08 03:05:51 +01:00
luccioman
75802dcf00 Removed a use of the deprecated Seed.getIP() 2016-11-08 02:31:38 +01:00
luccioman
7cea57008b Use https URLs to load external js scripts in yacysearch_location.html.
Otherwise when https is enabled on the peer, the browser block active
mixed content from these external sites.
2016-11-04 14:34:52 +01:00
luccioman
734340c128 Fixed errors for Search portal mode or when peer is not reachable.
Same case as reported on issue #87.
2016-11-04 14:31:22 +01:00
luccioman
54d879a9b3 Generate HTML relative (to each peer) links from hosted WikiCode.
When WikiCode inserted in a peer hosted Blog, Wiki, Messages or Profile
contains relative links (images or any content, hosted in DATA/HTDOCS),
it is more reliable to keep these links relative, especially when the
peer is behind any kind of reverse Proxy.
2016-11-04 11:21:20 +01:00
luccioman
3444d947ac Used relative URLs in ConfigPortal preview frames.
This is more reliable when YaCy is behind a reverse proxy.

Also updated integration examples to keep the current protocol part
(http or https) in the example address.
2016-11-04 09:35:03 +01:00
luccioman
2da5f339f8 Fixed /News.html and /Wiki.html pages in Search Portal mode (issue #87).
Also fixes theses pages rendering when the peer is not online.

Re-factored code in common with /opensearchdescription.xml and
ConfigPortal.html.
2016-11-03 02:33:36 +01:00
reger
da0f4ee599 include navigator-plugin output data in json and rss/xml output
fix encoding of url for rss
fix unresolved-pattern of url in json & xml for domain navigator
2016-11-01 22:33:20 +01:00
reger
3d1d297308 refactor namespace navigator as part of navigatorplugin map, this allows
the navigator to include counts all matches (rwi+fulltext).
Fixing also unresolved_pattern in navigators title (of the counter)
The use of inurl: query modifier as filter has not been changed keeping
it as soft (unsharp) filter facet.

Upd StringNavigator to prevent empty string form multivalued solr fields,
removed date value conversion (better handled elsewhere, not need here).
2016-11-01 04:38:47 +01:00
reger
c8983805f2 upd IndexControlRWIs servlet, url list table remove unused word distance
column (table lists always refs for one word).
upd master.lng with recent text changes
2016-11-01 02:19:26 +01:00
reger
67f660523b Make navigators underlaying indexfield name accessible in interface
use interface in declaration and extend facet check to include navigator
field.
2016-10-31 18:42:23 +01:00
reger
5eb3ee4e20 Add search navigator interface to allow for additional navigators (plugins)
Prepared the first basic navigators (for authors and collections) for the
list of SearchEvent.navigatorPlugins and adjusted servlet to use these.
- this allows to configure display order of these navigators (by ordering config string)
- eventually allows for additional and/or custom navigators using any
available index field without need for changing servlets
- the Collection navigation has been adjusted to exclude the internal, 
default robot_*  and dht collections from displaying
- rwi results are now also checked for navigatior by the refactored navi's

So far no config options were added to customize or add navigators (may
come later if route of upcoming modularization/plugin system is defined).
2016-10-31 02:17:43 +01:00
reger
4c7e515769 correct Collection navigatior - search servlet modifier parameter
(navigator entries are single collection names, spaces are removed by crawlstart)
preparation: for abstraction of navi's
2016-10-30 05:19:06 +01:00
reger
af39a76bf6 Reduce number of default max. search navigator lines (from 10000)
to 100 + make it configurable
2016-10-29 04:19:46 +02:00
reger
3cc2af8f92 reduce the mix of absolute and relative internal html page links
(prefer relative for same pg or neighbors) to ease proxied access
e.g. http://mantis.tokeek.de/view.php?id=701
2016-10-25 03:02:31 +02:00
reger
3c7220bc7b Refacture rwi reference word position and word distance calculation
used for rwi ranking.
Main changes:  
- introduce a  posintext() to access the stored value. This reduces also mem alloc of position array for WordReferenceRow (index access)
- use the positions() array for joined references on multi-word queries if needed (otherwise allow positions() to be null
- adjust assignments and the min() max() and distance() calculation accordingly
2016-10-23 19:40:02 +02:00
luccioman
db3b9db9c2 Crawl from local file : faster task end when manually terminating crawl. 2016-10-22 09:11:20 +02:00
luccioman
47af33a04c Advanced Crawl from local file : better processing of large files.
Applied strategy : when there is no restriction on domains or
sub-path(s), stack anchor links once discovered by the content scraper
instead of waiting the complete parsing of the file. 

This makes it possible to handle a crawling start file with thousands of
links in a reasonable amount of time.

Performance limitation : even if the crawl start faster with a large
file, the content of the parsed file still is fully loaded in memory.
2016-10-21 13:03:31 +02:00
luccioman
7263d17436 Removed mentions of deprecated LURL-db.
Thanks to LA_FORGE asking about if on YaCy forum (
http://forum.yacy-websuche.de/viewtopic.php?f=5&t=5895 )
2016-10-19 14:56:25 +02:00
luccioman
7717a3d43d Fixed license headers on files created to improve favicon management. 2016-10-14 11:55:49 +02:00
luccioman
6e1959f469 Merge branch 'master' of https://github.com/yacy/yacy_search_server.git
Conflicts:
	htroot/yacysearchitem.java
	source/net/yacy/cora/federate/solr/responsewriter/YJsonResponseWriter.java
	source/net/yacy/search/schema/CollectionConfiguration.java
	source/net/yacy/server/serverObjects.java
2016-10-14 11:29:55 +02:00
luccioman
7136b1ad60 HTML validation : fixed URL encoding of Pictures link. 2016-10-14 09:58:14 +02:00
reger
407563b9f0 add lock symbol to messages UI Trans menu item 2016-10-14 02:36:35 +02:00
luccioman
75bb77f0cb Refactoring : extracted a method to handle authorized action links. 2016-10-12 09:31:42 +02:00
luccioman
c996b04741 HTML validation : fixed URL encoding of search results action links. 2016-10-12 09:16:47 +02:00
luccioman
2b81703828 Refactored search result action links construction.
These are long URLS with common parts : it is valuable to build the
common parts only one time.
2016-10-12 08:45:32 +02:00
luccioman
094aed8664 Merge branch 'master' of https://github.com/yacy/yacy_search_server.git 2016-10-07 11:06:34 +02:00
luccioman
c7402a2f89 Removed invalid empty form action.
A form action URL must not be empty (see
https://www.w3.org/TR/html/sec-forms.html#element-attrdef-form-action ).
No action attribute has the same effect (relaunching the same GET
action) but is valid HTML.
2016-10-07 10:57:31 +02:00
luccioman
37df2e19fd Removed xmlns attribute which no more makes sense in HTML5 pages. 2016-10-07 10:46:20 +02:00
luccioman
94924e288f Added some accessibility improvements to the main interface.
Tested with NVDA screen reader.
2016-10-07 10:44:45 +02:00
luccioman
dd86f7c44e Fixed HTML validation errors and grouped radios options in fieldsets 2016-10-07 10:43:06 +02:00
luccioman
fc0c72c84b Switched to the short HTML Doctype
This pages were already no more XHTML 1.0 because made use of the HTML5
syntax and elements.
Applied current (2016) HTML standard recommended Doctype declaration
(see https://www.w3.org/TR/html/syntax.html#the-doctype ).
2016-10-07 10:42:23 +02:00
reger
7c81160f45 correct blacklist export as text url to blacklists_p.txt
was using servlet for network access and missing network.unit.name
fix for http://mantis.tokeek.de/view.php?id=694
+ prevent unresoved_pattern in yacy/list servlet
2016-10-07 03:03:41 +02:00
luccioman
b5eb7a9217 Removed unnecessary crawlingDomFilterDepth hidden field.
It had incorrect "-UNRESOLVED_PATTERN-" value (see  second part of
mantis 691 http://mantis.tokeek.de/view.php?id=691 )

Note : crawlingDomFilterDepth is apparently unused in current (2016)
YaCy code-base. It was also unnecessary because crawlingDomFilterCheck
hidden field is set to "off".
2016-10-05 13:48:22 +02:00
luccioman
f6d7c6ee1f Fixed Recorded action URLs beginning displayed in /Table_API_p.html
Removed scheme, host and port from URL to avoid dealing with http/https,
external host and port retrieving issues.

What's more, this is consistent with how URL are displayed in
/Tables_p.html?table=api&count=100&reverse=on&search= or
Tables_p.xml?table=api&count=100&search=

This fixes mantis 691 first part
(http://mantis.tokeek.de/view.php?id=691)
2016-10-05 12:20:37 +02:00
luccioman
0065c9b9ea Crawl monitoring : refresh running crawls table
Fix mantis 690 ( http://mantis.tokeek.de/view.php?id=690 ). 
Tested on :
- MS Windows 10 : Edge, Firefox 49, Chrome 53
- Debian Jessie : Firefox ESR 45
2016-10-04 03:56:03 +02:00
luccioman
e1e632ad84 Switched to the short HTML Doctype
This page was already no more XHTML 1.0 as it makes use of the HTML5
<progress> element.
Applied current HTML standard recommended Doctype declaration (see
https://www.w3.org/TR/html/syntax.html#the-doctype ).
2016-10-04 03:56:02 +02:00
luccioman
4d8611e5e7 Tables accessibility : added missing <thead> sections. 2016-10-04 03:56:02 +02:00
luccioman
9fb3142317 Restricted variables scope to function handleStatus() in Crawler.js
Missing 'var' in declaration was unnecessarily giving global scope to
these variables.
2016-10-04 03:56:02 +02:00
reger
e25f2ee88b mention date search parameter in search option help (index.html) 2016-10-02 06:36:34 +02:00
luccioman
60df09fff9 Fixed some HTML validation errors : Illegal character in query
Now encode space characters in URLs query part.
2016-09-30 10:54:53 +02:00
luccioman
a76a46a2e9 Removed invalid rel="[count]" from links in tagcloud.
These are no valid link relationships, and do not appear to be used in
scripting or styling. 
If necessary, a valid alternative could be to add an attribute such as
data-count="[count]"
2016-09-30 09:43:51 +02:00
reger
862f28eaa6 display number of documents/rss-items for label "docs" in load_rss_p servlet
(as replacement for the rarely used "docs" rss-tag for a url to the rss-specification)
2016-09-29 23:59:10 +02:00
luccioman
5027912f30 Fixed <p> spacers : blocks elements such as <div> are not allowed inside 2016-09-29 14:24:15 +02:00
luccioman
abe489a0b5 Removed unnecessary ARIA "form" role on native HTML form elements.
This fixes warnings reported by W3C Nu Html Checker
(https://validator.w3.org/nu/).
2016-09-29 13:42:07 +02:00
luccioman
cca4186044 Fixed HTML validation error : "Stray end tag div" 2016-09-29 11:42:59 +02:00
reger
ada473ced2 fix ConfigBasic servlet parameter name for Japanese _jp->_ja 2016-09-28 16:08:36 +02:00
reger
bac302bfe4 fix NPE in QuickCrawlLink_p if param doesn't contain crawl url 2016-09-24 23:33:21 +02:00
luccioman
b5ba8f9f68 Added alternative text and title to HostBrowser.html image links
For better accessibility
2016-09-23 13:27:46 +02:00
luccioman
4aba491156 Fixed HTML validation errors : duplicate ids. 2016-09-22 16:25:47 +02:00
luccioman
1c139d70d4 Fixed W3C validation error : percent encode '[' and ']' chars in hrefs. 2016-09-22 16:20:13 +02:00
luccioman
b3b75b0498 Accessibility : add a customizable alternative text to YaCy log
Applied W3C recommendations :
https://www.w3.org/TR/html51/semantics-embedded-content.html#a-link-or-button-containing-nothing-but-an-image
and
https://www.w3.org/TR/html51/semantics-embedded-content.html#logos-insignia-flags-or-emblems
2016-09-22 16:08:33 +02:00
luccioman
52e56025f7 Fixed undefined error case in sorttable.js
Occured when a table with class="sortable" has data cells with colspan
attribute greater than 1
2016-09-20 02:44:28 +02:00
luccioman
de5c873e38 Removed unused JavaScript file docs.min.js
This file is used by Bootstrap documentation website
(http://getbootstrap.com/) but is not part of the Bootstrap distribution
and has not be included in a Bootstrap based application.
2016-09-20 00:17:42 +02:00
reger
e51ab8c7aa hack to generate a unique message-id for messages created in the same second
by optionally add a 1 second offset counter to the current time (which is
used as the unique id part)
2016-09-15 02:59:32 +02:00
luccioman
ce536fe90b Fixed remaining OpenSearch link name consistency issues
Hopefully the last complementary fix related to mantis 679
((http://mantis.tokeek.de/view.php?id=679)
2016-09-10 09:33:27 +02:00
reger
40442ca3c8 Add title attribute to Translator_p.html edit fields
(to display complete text hint)
Thank's @luc
2016-09-09 22:42:21 +02:00
luccioman
44b4d3984e OpenSearch short name : made it generic (non internationalized)
This ensure consistency between the index link and the
opensearchdescription, even when switching language after having added
your YaCy peer to the browser engines list.
2016-09-08 17:31:28 +02:00
Michael Peter Christen
5e165a8150 removed unused imports 2016-09-06 18:46:24 +02:00
Michael Peter Christen
c716648c78 enhanced json encoding of strings 2016-09-06 18:45:29 +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
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
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
de663be48b skip resolving of host "<unknown>" in hello servlet 2016-08-31 02:36:59 +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
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
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
reger
d3d2df7087 Translator_p handle lang "browser" like "default" 2016-08-23 03:37:32 +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
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
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
4743ade66a Search comparison : prefer https URLs
Also disabled currently not working URLs.
2016-08-17 16:13:46 +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
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
luccioman
744c9a2615 Opensearch desc : handle https protocol url with default port (443)
This completes modifications made for mantis 669
(http://mantis.tokeek.de/view.php?id=669)
2016-08-12 12:18:26 +02:00
Andreas
1f48d65b66 Merge pull request #7 from yacy/master
Get my fork synced #7
2016-08-09 21:27:57 +02:00
luccioman
480027ec98 Merge remote-tracking branch 'origin/master' into heroku_experiments 2016-07-28 02:29:40 +02:00
reger
fcad2d0744 add uses of config constant INDEX_RECEIVE_ALLOW 2016-07-27 02:16:20 +02:00
luccioman
d6bf90803f Merged from maain master branch. 2016-07-12 09:05:31 +02:00
luccioman
9b9c112263 Handle more propertly local port configuration by system property
And prefixed property with "net.yacy" to avoid ambiguity.
2016-07-12 01:53:01 +02:00
reger
a952787712 adjust opensearchdescription to return url with protocol it was call on
fix http://mantis.tokeek.de/view.php?id=669
2016-07-11 02:33:12 +02:00
reger
360b38d9b6 fix CookieTest_p parameter from ResponseHeader to RequestHeader 2016-07-10 05:44:56 +02:00
luccioman
76cf7dea2d Fixed inconsistent port check on ConfigBasic 2016-07-07 03:13:52 +02:00
luccioman
893a40995a Merge branch 'master' of https://github.com/yacy/yacy_search_server.git 2016-07-04 21:24:40 +02:00
Orbiter
50c5ddf1a1 Merge pull request #56 from luccioman/LibreJS
LibreJS compliance : YaCy JavaScript license information
2016-07-04 21:07:11 +02:00
Orbiter
82f40aefb5 Merge pull request #47 from reelsense/patch-2
Distilled sentence - ConfigNetwork_p
2016-07-04 21:05:59 +02:00
luccioman
6e96c7341a Merge remote-tracking branch 'origin/master'
Conflicts:
	htroot/Load_MediawikiWiki.java
	htroot/Load_PHPBB3.java
	htroot/ViewImage.java
2016-07-03 18:59:00 +02:00
reger
7bac756720 prevent dealing with -UNRESOLVED_PATTERN- eventID parameter in html includes
on first landing on search page
2016-07-01 00:02:10 +02:00
reger
b71a60c04b fix NPE in CrawlMonitorRemoteStart servlet due to missing startURL
+ add a startURL attribute while generating news record for above (in Crawler_p)
2016-06-27 03:12:39 +02:00
Orbiter
5fbe8b8d23 Merge pull request #58 from luccioman/responsive
Make YaCy usable on small screen devices
2016-06-19 22:14:51 +02:00
reger
f1be40eb07 Translator servlet filename drop-down list on "filter untranslated" switch,
filter list to contain only files with not translated items
2016-06-18 17:06:40 +02:00
luccioman
692aab1318 Merge remote-tracking branch 'origin/master' into responsive 2016-06-16 11:53:22 +02:00
reger
a3ac6ca7df add button (Translator servlet) to switch one already translated line in edit mode 2016-06-15 22:32:27 +02:00
luccioman
c2ade2f209 Fixed rendering for many mobile devices. 2016-06-15 09:07:54 +02:00
reger
e952e355a2 have Translator servlet adhoc apply added translation by translating a single file
+ fix NPE in Translator, coming from translation read by TranslatorXliff 
  which allows null content for not translated key's
2016-06-14 22:14:46 +02:00
luccioman
009657791e Merge remote-tracking branch 'origin/master' into LibreJS 2016-06-09 14:44:51 +02:00
luccioman
fbbfeeb313 Added last missing JS licences 2016-06-09 09:32:56 +02:00
luccioman
a73c9327a5 JavaScript License fixes for LibreJS compatibility 2016-06-08 23:16:10 +02:00
luccioman
8b95e5c91f Aplied GNU licensing recommendations. 2016-06-08 09:56:16 +02:00
reger
f86df5c76e add DE translation Translator_p
+ html conform order form/fieldset
2016-06-08 01:51:51 +02:00
luccioman
df74c435be Added license info for jquery.tagsinput.
Also updated some license urls and identifiers to ones recognized by
LibreJS.
2016-06-07 23:00:41 +02:00
luccioman
d4da22d634 Merge branch 'LibreJS' of
https://github.com/luccioman/yacy_search_server.git into LibreJS

Conflicts:
	htroot/jslicense.html
2016-06-07 09:38:00 +02:00
luccioman
f7a4be3c60 Added remaining scripts license information 2016-06-07 09:34:33 +02:00
luccioman
c1cc2d811d Added d3.v3.js license information 2016-06-06 09:44:48 +02:00
luccioman
3f6fefb125 Added license information for YaCy owned js files 2016-06-06 09:20:03 +02:00
reger
5b22c63030 Adjust TranslatorXliff to load default 1st and merge downloaded or modified local translation.
process 1. load default from locales/*.* 
        2. load and merge(overwrite) from DATA/LOCALE/*.* (can be partial translation as it is merged)
- include all entries from DATA/LOCAL to be edited in Translator servlet
  and save just modifications (instead of full list) to DATA/LOCALE

This shall make it easy to share modifications.
2016-06-05 23:01:45 +02:00
reger
786c92f95d disable input field of translated text in Translator_p servlet
As currently only adding missing translation is supported
2016-06-04 23:51:28 +02:00
luccioman
02ecb8de29 Added JavaScript license information
First pass applied for YaCy index and administration first page, checked
with LibreJS 6.0.13.
2016-06-03 22:07:45 +02:00
reger
e46245b819 fix accidental use of Java 8 function in Translator_p
thanks to luccioman
2016-06-03 21:42:14 +02:00
reger
1dcb9c5158 on language file delete, del local editfile too (in ConfigLanguage_p servlet) 2016-06-03 02:46:11 +02:00
reger
a6ba1faa80 introduce a translation edit servlet Translator_p.html YaCy's UI text translation
This is the 1st rudimentary approach to support the translatio utilities.
It allows currently to edit untranslated text and save it in a local translation file
in the DATA/LOCALE directory.
+ refactor Translator (less static's) to leverage on class overrides and support garbage collection for this 1 time routine
+ adjust TranslatorXliff to check for local translations in DATA/LOCALE,
  this includes storing manually downloaded translation files in DATA as well 
  (to keep default untouched)
+ on 1st call of Translator_p a master tanslation file is generated, checking
the supported languages for missing translation text (later this masterfile is planned to part of the distribution, to harmonize translation key text between the languages)
Outlook: the local modifications (possibly as translation fragments instead of complete file) to be shared with maintainer using xlif features.
2016-06-03 01:46:30 +02:00
reger
c7bd040870 correct translation key "About This ...." for simpleheader.template
in de, ja
+ rem obsolete key "Peer Owner Profile" in cn, sk, uk for simpleheader.template
+ hide empty account lines in ViewProfile servlet
2016-05-30 00:53:53 +02:00
reger
f23d8ab47b fix 2 more servlet RuntimeException in intranet mode thrown due to seed.getIP()
returning null in intranet mode (in servlets: ConfigSearchBox, Load_PHPBB3
+remove unused (const &empty;) seed.IPTYPE
2016-05-29 20:35:57 +02:00
reger
19509438d9 fix RuntimeException in ConfigRobotsTxt_p in intranet mode
due to getIP returning null, by removing redundant property setting of "clientname"
which is globally set by template engine
2016-05-27 17:30:17 +02:00
reger
6384b7d82e fix NPE in Load_MediawikiWiki servlet in intranet mode
- in intranet mode getip returns null causing a NPE
  - adjust starturl (which was set to http://localip/repository) which is never the start url for the Mediawiki
+ correct javadoc for seed.getIP()
2016-05-27 03:10:25 +02:00
Michael Peter Christen
bfd4e5f9e5 added hint in status to upgrade to java 1.8 2016-05-25 06:58:51 +02:00
Michael Peter Christen
d52c5b8c4d added column in network table for JRE 2016-05-25 06:47:06 +02:00