mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
use peeraddress for link in remote crawl list
to make link work without enabled proxy upd pom for Jetty (missing in last commit)
This commit is contained in:
parent
fe5d4e6c7b
commit
ac61a39828
|
@ -52,7 +52,7 @@
|
|||
</tr>
|
||||
#{list}#
|
||||
<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#">
|
||||
<td><a href="http://www.#[fullname]#.yacy">#[shortname]#</a></td>
|
||||
<td><a href="http://#[peeraddress]#">#[shortname]#</a></td>
|
||||
<td align="right">#[RCount]#</td>
|
||||
<td align="right">#[version]#</td>
|
||||
<td align="right">#[ppm]#</td>
|
||||
|
|
|
@ -114,8 +114,9 @@ public class RemoteCrawl_p {
|
|||
prop.put(STR_TABLE_LIST + conCount + "_dark", ((dark) ? 1 : 0) ); dark=!dark;
|
||||
String shortname = seed.get(Seed.NAME, "deadlink");
|
||||
if (shortname.length() > 20) shortname = shortname.substring(0, 20) + "...";
|
||||
final String peeradr = seed.getPublicAddress(seed.getIPs().iterator().next());
|
||||
prop.putHTML(STR_TABLE_LIST + conCount + "_shortname", shortname);
|
||||
prop.putHTML(STR_TABLE_LIST + conCount + "_fullname", seed.get(Seed.NAME, "deadlink"));
|
||||
prop.putHTML(STR_TABLE_LIST + conCount + "_peeraddress", peeradr);
|
||||
prop.put(STR_TABLE_LIST + conCount + "_age", seed.getAge());
|
||||
String[] yv = yacyVersion.combined2prettyVersion(seed.get(Seed.VERSION, "0.1"), shortname);
|
||||
prop.putHTML(STR_TABLE_LIST + conCount + "_version", yv[0] + "/" + yv[1]);
|
||||
|
|
26
pom.xml
26
pom.xml
|
@ -549,67 +549,67 @@
|
|||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-server</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-servlet</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-servlets</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-webapp</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-util</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-xml</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-http</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-security</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-io</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-continuation</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-jmx</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-proxy</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-deploy</artifactId>
|
||||
<version>9.2.4.v20141103</version>
|
||||
<version>9.2.6.v20141205</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bitlet</groupId>
|
||||
|
|
Loading…
Reference in New Issue
Block a user