Changeset b10b0e8f


Ignore:
Timestamp:
Aug 11, 2009 4:22:43 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e5eea47
Parents:
631a367b
Message:

client/server icon selection, history for triple prop, -11

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java

    r631a367b rb10b0e8f  
    1414import net.i2p.data.DataHelper;
    1515import net.i2p.data.Destination;
     16import net.i2p.data.Hash;
    1617import net.i2p.data.LeaseSet;
    1718import net.i2p.data.RouterAddress;
     
    347348            Destination client = (Destination)iter.next();
    348349            String name = getName(client);
     350            Hash h = client.calculateHash();
    349351           
    350             buf.append("<tr><td align=\"right\"><b><img src=\"/themes/console/images/server.png\" alt=\"Server\" title=\"Server/client\"></td>");
    351             buf.append("<td align=\"left\"><a href=\"tunnels.jsp#").append(client.calculateHash().toBase64().substring(0,4));
     352            buf.append("<tr><td align=\"right\"><b><img src=\"/themes/console/images/");
     353            if (_context.clientManager().shouldPublishLeaseSet(h))
     354                buf.append("server.png\" alt=\"Server\" title=\"Server\" />");
     355            else
     356                buf.append("client.png\" alt=\"Client\" title=\"Client\" />");
     357            buf.append("</td><td align=\"left\"><a href=\"tunnels.jsp#").append(h.toBase64().substring(0,4));
    352358            buf.append("\" target=\"_top\" title=\"Show tunnels\">");
    353359            if (name.length() < 16)
     
    356362                buf.append(name.substring(0,15)).append("&hellip;");
    357363            buf.append("</a></td><td align=\right\"><img src=\"/themes/console/images/local_up.png\" alt=\"status\" title=\"status\"></td></tr>\n");
    358             LeaseSet ls = _context.netDb().lookupLeaseSetLocally(client.calculateHash());
     364            LeaseSet ls = _context.netDb().lookupLeaseSetLocally(h);
    359365            if (ls != null) {
    360366                long timeToExpire = ls.getEarliestLeaseDate() - _context.clock().now();
    361367                if (timeToExpire < 0) {
     368                    // red or yellow light
    362369                    buf.append("<tr><td>&nbsp;</td><td align=\"left\"><i>expired ").append(DataHelper.formatDuration(0-timeToExpire));
    363370                    buf.append(" ago</i></td></tr>\n");
     371                } else {
     372                    // green light
    364373                }
    365374            } else {
     375                // yellow light
    366376                buf.append("<tr><td>&nbsp;</td><td align=\"left\"><i>No leases</i></td></tr>\n");
    367377            }
  • history.txt

    r631a367b rb10b0e8f  
     12009-08-11 zzz
     2    * Android:
     3      - Merge in the branch
     4      - Build instructions in the android/ dir
     5      - Rename HMac to I2PHMac to avoid android lib conflicts
     6      - Configurable number of PRNG buffers in AsyncFortunaStandalone
     7        (router.prng.buffers=16) to control memory use - these
     8        are 256KB each.
     9      - Configurable size of the DecayingBloomFilters
     10        (router.decayingBloomFilterM=23) to control memory use - there
     11        are 4 pairs of these (8 total), each 2**(M-3) bytes,
     12        or 8MB total for M=23.
     13      - There's at least two unsolved fatal problems:
     14        1) Most of the routerinfo signature verifications fail,
     15           including our own
     16        2) It randomly dies after a while
     17    * Console:
     18      - Rename the shitlist and the blocklist
     19      - Try to reduce servlet problems on iframe
     20      - Select server or client icon for local dests
     21    * EepHead: New
     22    * Move StatsGenerator from router to routerconsole
     23    * Move the unused AdminManager from router to the apps directory
     24    * NetDb stats: Hide part. tunnel total events, effective next release
     25    * Router: Comment out dead oldconsole code
     26    * Updater:
     27      - Add new unsigned update option, triggered by
     28        last-modified date, using the new EepHead.
     29        Buttons still are not hidden after download complete.
     30      - Make the .sud updater use the temp dir when proxied
     31      - Several cleanups
     32
    1332009-08-11 dr|z3d
    234    * Extensive sidepanel overhaul
  • router/java/src/net/i2p/router/RouterVersion.java

    r631a367b rb10b0e8f  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 10;
     21    public final static long BUILD = 11;
    2222    /** for example "-test" */
    2323    public final static String EXTRA = "";
Note: See TracChangeset for help on using the changeset viewer.