Changeset a2ba9bb


Ignore:
Timestamp:
Feb 10, 2014 2:22:43 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
36b2547
Parents:
f6d9a69
Message:
  • Checklist updates
  • Console:
    • Don't reset graph settings when clicking restart or shutdown on graphs page
    • Don't recommend guest login on trac, it's disabled
    • Catch and remove corrupt jrb file (ticket #1186)
    • Always set default language on /configui
  • Readme: Update links
  • Transports: Reduce target connection count again to reduce

tunnel reject rate further

Files:
12 edited

Legend:

Unmodified
Added
Removed
  • INSTALL-headless.txt

    rf6d9a69 ra2ba9bb  
    1313
    1414If you're having trouble, swing by http://forum.i2p/, check the
    15 website at http://www.i2p2.de/, or get on irc://irc.freenode.net/#i2p
     15website at https://geti2p.net/, or get on irc://irc.freenode.net/#i2p
    1616
    1717I2P will create and store files and configuration data in the user directory
  • README.txt

    rf6d9a69 ra2ba9bb  
    1616
    1717        Run 'ant' with no arguments to see other build options.
    18         See INSTALL.txt or http://www.i2p2.de/download.html for installation instructions.
     18        See INSTALL.txt or https://geti2p.net/download for installation instructions.
    1919
    2020Documentation:
    21         http://www.i2p2.de/how
     21        https://geti2p.net/how
    2222        API: run 'ant javadoc' then start at build/javadoc/index.html
    2323
    2424Latest release:
    25         http://www.i2p2.de/download
     25        https://geti2p.net/download
    2626
    2727To get development branch from source control:
    28         http://www.i2p2.de/newdevelopers
     28        https://geti2p.net/newdevelopers
    2929
    3030FAQ:
    31         http://www.i2p2.de/faq
     31        https://geti2p.net/faq
    3232
    3333Need help?
  • apps/routerconsole/java/src/net/i2p/router/web/ConfigUIHelper.java

    rf6d9a69 ra2ba9bb  
    104104    /** todo sort by translated string */
    105105    public String getLangSettings() {
    106         StringBuilder buf = new StringBuilder(512);
    107         String current = Messages.getLanguage(_context);
     106        String clang = Messages.getLanguage(_context);
     107        String current = clang;
    108108        String country = Messages.getCountry(_context);
    109109        if (country != null && country.length() > 0)
    110110            current += '_' + country;
     111        // find best match
     112        boolean found = false;
     113        for (int i = 0; i < langs.length; i++) {
     114            if (langs[i][0].equals(current)) {
     115                found = true;
     116                break;
     117            }
     118        }
     119        if (!found) {
     120            if (country != null && country.length() > 0) {
     121                current = clang;
     122                for (int i = 0; i < langs.length; i++) {
     123                    if (langs[i][0].equals(current)) {
     124                        found = true;
     125                        break;
     126                    }
     127                }
     128            }
     129            if (!found)
     130                current = "en";
     131        }
     132        StringBuilder buf = new StringBuilder(512);
    111133        for (int i = 0; i < langs.length; i++) {
    112134            // we use "lang" so it is set automagically in CSSHelper
  • apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java

    rf6d9a69 ra2ba9bb  
    352352            _out.write("<br><h3>" + _("Configure Graph Display") + " [<a href=\"configstats\">" + _("Select Stats") + "</a>]</h3>");
    353353            _out.write("<form action=\"graphs\" method=\"POST\">\n" +
    354                        "<input type=\"hidden\" name=\"action\" value=\"foo\">\n" +
     354                       "<input type=\"hidden\" name=\"action\" value=\"save\">\n" +
    355355                       "<input type=\"hidden\" name=\"nonce\" value=\"" + nonce + "\" >\n");
    356356            _out.write(_("Periods") + ": <input size=\"5\" style=\"text-align: right;\" type=\"text\" name=\"periodCount\" value=\"" + _periodCount + "\"><br>\n");
     
    381381                _out.write(" checked=\"checked\"");
    382382            _out.write(">" +
    383                        "<hr><div class=\"formaction\"><input type=\"submit\" class=\"acceot\" value=\"" + _("Save settings and redraw graphs") + "\"></div></form>");
     383                       "<hr><div class=\"formaction\"><input type=\"submit\" class=\"accept\" value=\"" + _("Save settings and redraw graphs") + "\"></div></form>");
    384384        } catch (IOException ioe) {
    385385            ioe.printStackTrace();
     
    414414    @Override
    415415    protected void processForm() {
    416         saveSettings();
     416        if ("save".equals(_action))
     417            saveSettings();
    417418    }
    418419
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryListener.java

    rf6d9a69 ra2ba9bb  
    7979                //System.out.println("Add " + val + " over " + eventCount + " for " + _name
    8080                //                   + " [" + names[0] + ", " + names[1] + "]");
     81            } catch (IllegalArgumentException iae) {
     82                // ticket #1186
     83                // apparently a corrupt file, thrown from update()
     84                _log.error("Error adding", iae);
     85                String path = _isPersistent ? _db.getPath() : null;
     86                stopListening();
     87                if (path != null)
     88                    (new File(path)).delete();
    8189            } catch (IOException ioe) {
    8290                _log.error("Error adding", ioe);
     91                stopListening();
    8392            } catch (RrdException re) {
    8493                // this can happen after the time slews backwards, so don't make it an error
  • apps/routerconsole/jsp/error500.jsp

    rf6d9a69 ra2ba9bb  
    3232          "<a href=\"http://trac.i2p2.i2p/newticket\">trac.i2p2.i2p</a>",
    3333          "<a href=\"https://trac.i2p2.de/newticket\">trac.i2p2.de</a>")%>
     34<!--
    3435<%=intl._("You may use the username \"guest\" and password \"guest\" if you do not wish to register.")%>
     36-->
    3537<p><%=intl._("Please include this information in bug reports")%>:
    3638</p></div><div class="sorry" id="warning2">
  • apps/routerconsole/jsp/logs.jsp

    rf6d9a69 ra2ba9bb  
    1818          "<a href=\"http://trac.i2p2.i2p/newticket\">trac.i2p2.i2p</a>",
    1919          "<a href=\"https://trac.i2p2.de/newticket\">trac.i2p2.de</a>")%>
     20<!--
    2021<%=intl._("You may use the username \"guest\" and password \"guest\" if you do not wish to register.")%>
     22-->
    2123<p><i><%=intl._("Please include this information in bug reports")%>:</i>
    2224 <p>
  • history.txt

    rf6d9a69 ra2ba9bb  
     12014-02-10 zzz
     2 * Console:
     3   - Don't reset graph settings when clicking restart or shutdown on graphs page
     4   - Don't recommend guest login on trac, it's disabled
     5   - Catch and remove corrupt jrb file (ticket #1186)
     6   - Always set default language on /configui
     7 * Transports: Reduce target connection count again to reduce
     8               tunnel reject rate further
     9
    110* 2014-02-08 0.9.11 released
    211
  • installer/resources/checklist.txt

    rf6d9a69 ra2ba9bb  
    7474        All in-network update hosts
    7575        PPA maintainer
    76         Google code maintainer
    7776        news.xml maintainer
     77        backup news.xml maintainer
    7878
    7979Website files to change:
    80         Sync with mtn.i2p2.i2p
     80        Sync with mtn.i2p-projekt.i2p
    8181        hosts.txt if it changed (copy from i2p.i2p mtn branch)
    8282        i2p2www/__init__.py (release number)
     
    8484        i2p2www/static/news/news.xml
    8585        New release announcement - see i2p2www/blog/README for instructions
    86         Sync with mtn.i2p2.i2p
     86        Sync with mtn.i2p-projekt.i2p
    8787
    8888Announce on:
  • router/java/src/net/i2p/router/RouterVersion.java

    rf6d9a69 ra2ba9bb  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 0;
     21    public final static long BUILD = 1;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/transport/ntcp/EventPumper.java

    rf6d9a69 ra2ba9bb  
    212212
    213213                        // Increase allowed idle time if we are well under allowed connections, otherwise decrease
    214                         if (_transport.haveCapacity(45))
     214                        if (_transport.haveCapacity(33))
    215215                            _expireIdleWriteTime = Math.min(_expireIdleWriteTime + 1000, MAX_EXPIRE_IDLE_TIME);
    216216                        else
  • router/java/src/net/i2p/router/transport/udp/UDPTransport.java

    rf6d9a69 ra2ba9bb  
    28472847        public void timeReached() {
    28482848            // Increase allowed idle time if we are well under allowed connections, otherwise decrease
    2849             if (haveCapacity(45)) {
     2849            if (haveCapacity(33)) {
    28502850                long inc;
    28512851                // don't adjust too quickly if we are looping fast
Note: See TracChangeset for help on using the changeset viewer.