diff --git a/README.md b/README.md index d32a782cc..57bdd8a85 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # YaCy [![Gitter](https://badges.gitter.im/yacy/yacy_search_server.svg)](https://gitter.im/yacy/yacy_search_server?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/yacy/yacy_search_server.svg?branch=master)](https://travis-ci.com/yacy/yacy_search_server) +[![Install Link](https://img.shields.io/badge/install-stable-blue.svg)](https://yacy.net/download_installation/) [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) @@ -46,12 +47,13 @@ The (GPLv2+) source code used to build YaCy is distributed with the package (in - [Homepage](https://yacy.net) - [International Forum](https://community.searchlab.eu) +- [English wiki](https://wiki.yacy.net/index.php/En:Start) - [German wiki](https://wiki.yacy.net/index.php/De:Start) - [Esperanto wiki](https://wiki.yacy.net/index.php/Eo:Start) - [French wiki](https://wiki.yacy.net/index.php/Fr:Start) - [Spanish wiki](https://wiki.yacy.net/index.php/Es:Start) - [Russian wiki](https://wiki.yacy.net/index.php/Ru:Start) -- [Video tutorials in English](https://yacy.net/en/Tutorials.html) and [video tutorials in German](https://yacy.net/de/Lehrfilme.html) +- [Video tutorials](https://www.youtube.com/@YaCyTutorials/videos) All these have (YaCy) search functionality combining all these locations into one search result. diff --git a/htroot/Crawler_p.html b/htroot/Crawler_p.html index 3d0b8fcda..79a0319c0 100644 --- a/htroot/Crawler_p.html +++ b/htroot/Crawler_p.html @@ -293,7 +293,7 @@ window.setInterval("setTableSize()", 1000);
-:: +::
diff --git a/source/net/yacy/htroot/NetworkPicture.java b/source/net/yacy/htroot/NetworkPicture.java index 52b177f43..2f45d1e40 100644 --- a/source/net/yacy/htroot/NetworkPicture.java +++ b/source/net/yacy/htroot/NetworkPicture.java @@ -99,22 +99,8 @@ public class NetworkPicture { } //too small values lead to an error, too big to huge CPU/memory consumption, resulting in possible DOS. - if ( width < 320 ) { - width = 320; - } - if ( width > 1920 ) { - width = 1920; - } - if ( height < 240 ) { - height = 240; - } - if ( height > 1280 ) { - height = 1280; - } - if ( !authorized ) { - width = Math.min(1280, width); - height = Math.min(1280, height); - } + width = Math.min(2048, Math.max(320, width)); + height = Math.min(1280, Math.max(240, height)); if ( passiveLimit > 1000000 ) { passiveLimit = 1000000; }