Changeset d1f2b44


Ignore:
Timestamp:
Nov 26, 2005 4:51:16 PM (15 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
453ecc4
Parents:
70c4560
git-author:
jrandom <jrandom> (11/26/05 16:51:16)
git-committer:
zzz <zzz@…> (11/26/05 16:51:16)
Message:

2005-11-26 jrandom

  • Update the sorting in Syndie to consider children 'newer' than parents, even if they have the same message ID (duh)
  • Cleaned up some nav links in Syndie (good idea gloin, spaetz!)
  • Added a bunch of tooltips to Syndie's fields (thanks polecat!)
  • Force support for nonvalidating XML in Jetty (so we can handle GCJ/etc better)
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • apps/syndie/java/src/net/i2p/syndie/ThreadNodeImpl.java

    r70c4560 rd1f2b44  
    6262            ThreadNodeImpl node = (ThreadNodeImpl)_children.get(i);
    6363            node.summarizeThread();
    64             if (node.getMostRecentPostDate() > _mostRecentPostDate) {
     64            // >= so we can give reasonable order when a child is a reply to a parent
     65            // (since the child must have been posted after the parent)
     66            if (node.getMostRecentPostDate() >= _mostRecentPostDate) {
    6567                _mostRecentPostDate = node.getMostRecentPostDate();
    6668                _mostRecentPostAuthor = node.getMostRecentPostAuthor();
  • apps/syndie/java/src/net/i2p/syndie/sml/ThreadedHTMLRenderer.java

    r70c4560 rd1f2b44  
    296296                out.write(" <td colspan=\"3\">\n");
    297297                out.write(" <input type=\"submit\" value=\"Preview...\" name=\"Post\" />\n");
    298                 out.write(" Tags: <input type=\"text\" size=\"10\" name=\"" + PostServlet.PARAM_TAGS + "\" />\n");
    299                 out.write(" in a new thread? <input type=\"checkbox\" name=\"" + PostServlet.PARAM_IN_NEW_THREAD + "\" value=\"true\" />\n");
    300                 out.write(" refuse replies? <input type=\"checkbox\" name=\"" + PostServlet.PARAM_REFUSE_REPLIES + "\" value=\"true\" />\n");
     298                out.write(" Tags: <input type=\"text\" size=\"10\" name=\"" + PostServlet.PARAM_TAGS + "\" title=\"Optional tags to categorize your response\" />\n");
     299                out.write(" in a new thread? <input type=\"checkbox\" name=\"" + PostServlet.PARAM_IN_NEW_THREAD + "\" value=\"true\" title=\"If true, this will fork a new top level thread\" />\n");
     300                out.write(" refuse replies? <input type=\"checkbox\" name=\"" + PostServlet.PARAM_REFUSE_REPLIES + "\" value=\"true\" title=\"If true, only you will be able to reply to the post\" />\n");
    301301                out.write(" attachment: <input type=\"file\" name=\"entryfile0\" />\n");
    302302                out.write(" </td>\n</tr>\n</form>\n");
  • apps/syndie/java/src/net/i2p/syndie/web/AddressesServlet.java

    r70c4560 rd1f2b44  
    104104            writeAuthActionFields(out);
    105105            out.write("<tr><td colspan=\"3\">");
    106             out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (pn.getIsPublic() ? " checked=\"true\" " : "") + " />\n");
    107             out.write("Name: <input type=\"hidden\" name=\"" + PARAM_NAME + "\" value=\"" + pn.getName() + "\" />" + pn.getName() + " ");
    108             out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + pn.getLocation() + "\" /> ");
     106            out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (pn.getIsPublic() ? " checked=\"true\" " : "")
     107                      + " title=\"If checked, this name can be shared with one click when posting\" />\n");
     108            out.write("Name: <input type=\"hidden\" name=\"" + PARAM_NAME + "\" value=\"" + pn.getName()
     109                      + "\" title=\"Short, locally unique 'pet name' for the author\" />" + pn.getName() + " ");
     110            out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + pn.getLocation()
     111                      + "\" title=\"Blog hash for the author\" /> ");
    109112            if (pn.isMember(FilteredThreadIndex.GROUP_FAVORITE))
    110                 out.write("Favorite? <input type=\"checkbox\" name=\"" + PARAM_FAVORITE + "\" checked=\"true\" value=\"true\" /> ");
     113                out.write("Favorite? <input type=\"checkbox\" name=\"" + PARAM_FAVORITE
     114                          + "\" checked=\"true\" value=\"true\" title=\"If true, their posts are highlighted\" /> ");
    111115            else
    112                 out.write("Favorite? <input type=\"checkbox\" name=\"" + PARAM_FAVORITE + "\" value=\"true\" /> ");
     116                out.write("Favorite? <input type=\"checkbox\" name=\"" + PARAM_FAVORITE
     117                          + "\" value=\"true\" title=\"If true, their posts are highlighted\" /> ");
    113118           
    114119            if (pn.isMember(FilteredThreadIndex.GROUP_IGNORE)) {
    115                 out.write("Ignored? <input type=\"checkbox\" name=\"" + PARAM_IGNORE + "\" checked=\"true\" value=\"true\" /> ");
     120                out.write("Ignored? <input type=\"checkbox\" name=\"" + PARAM_IGNORE
     121                          + "\" checked=\"true\" value=\"true\" title=\"If true, their threads are hidden\" /> ");
    116122            } else {
    117                 out.write("Ignored? <input type=\"checkbox\" name=\"" + PARAM_IGNORE + "\" value=\"true\" /> ");
     123                out.write("Ignored? <input type=\"checkbox\" name=\"" + PARAM_IGNORE
     124                          + "\" value=\"true\" title=\"If true, their threads are hidden\" /> ");
    118125                out.write("<a href=\"" + getControlTarget() + "?" + ThreadedHTMLRenderer.PARAM_AUTHOR + '='
    119126                          + pn.getLocation() + "\" title=\"View threads by the given author\">View posts</a> ");
     
    131138        out.write("<input type=\"hidden\" name=\"" + PARAM_NET + "\" value=\"" + NET_SYNDIE + "\" />");
    132139        out.write("<tr><td colspan=\"3\">");
    133         out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (newName.getIsPublic() ? " checked=\"true\" " : "") + " />\n");
    134         out.write("Name: <input type=\"text\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + newName.getName() + "\" /> ");
    135         out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + newName.getLocation() + "\" /> ");
     140        out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (newName.getIsPublic() ? " checked=\"true\" " : "")
     141                  + " title=\"If checked, this name can be shared with one click when posting\" />\n");
     142        out.write("Name: <input type=\"text\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + newName.getName()
     143                  + "\" title=\"Short, locally unique 'pet name' for the author\" /> ");
     144        out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + newName.getLocation()
     145                  + "\"  title=\"Blog hash for the author\" /> ");
    136146        if (newName.isMember(FilteredThreadIndex.GROUP_FAVORITE))
    137             out.write("Favorite? <input type=\"checkbox\" name=\"" + PARAM_FAVORITE + "\" checked=\"true\" value=\"true\" /> ");
     147            out.write("Favorite? <input type=\"checkbox\" name=\"" + PARAM_FAVORITE
     148                      + "\" checked=\"true\" value=\"true\" title=\"If true, their posts are highlighted\" /> ");
    138149        else
    139             out.write("Favorite? <input type=\"checkbox\" name=\"" + PARAM_FAVORITE + "\" value=\"true\" /> ");
     150            out.write("Favorite? <input type=\"checkbox\" name=\"" + PARAM_FAVORITE
     151                      + "\" value=\"true\" title=\"If true, their posts are highlighted\" /> ");
    140152
    141153        if (newName.isMember(FilteredThreadIndex.GROUP_IGNORE)) {
    142             out.write("Ignored? <input type=\"checkbox\" name=\"" + PARAM_IGNORE + "\" checked=\"true\" value=\"true\" /> ");
     154            out.write("Ignored? <input type=\"checkbox\" name=\"" + PARAM_IGNORE
     155                      + "\" checked=\"true\" value=\"true\" title=\"If true, their threads are hidden\" /> ");
    143156        } else {
    144             out.write("Ignored? <input type=\"checkbox\" name=\"" + PARAM_IGNORE + "\" value=\"true\" /> ");
     157            out.write("Ignored? <input type=\"checkbox\" name=\"" + PARAM_IGNORE
     158                      + "\" value=\"true\" title=\"If true, their threads are hidden\" /> ");
    145159        }
    146160
     
    168182            out.write("<input type=\"hidden\" name=\"" + PARAM_NET + "\" value=\"" + NET_SYNDIE + "\" />");
    169183            out.write("<tr><td colspan=\"3\">");
    170             out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (pn.getIsPublic() ? " checked=\"true\" " : "") + " />\n");
    171             out.write("Name: <input type=\"hidden\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + pn.getName() + "\" />" + pn.getName() + " ");
    172             out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"20\" value=\"" + pn.getLocation() + "\" /> ");
     184            out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (pn.getIsPublic() ? " checked=\"true\" " : "")
     185                      + " title=\"If checked, this name can be shared with one click when posting\" />\n");
     186            out.write("Name: <input type=\"hidden\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + pn.getName()
     187                      + "\" title=\"Short, locally unique 'pet name' for the remote archive\" />" + pn.getName() + " ");
     188            out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"20\" value=\"" + pn.getLocation()
     189                      + "\" title=\"URL to the remote archive's archive/archive.txt\" /> ");
    173190            if (BlogManager.instance().authorizeRemote(user)) {
    174 
    175191                if (BlogManager.instance().syndicationScheduled(pn.getLocation()))
    176                     out.write("Syndicate? <input type=\"checkbox\" name=\"" + PARAM_SYNDICATE + "\" checked=\"true\" value=\"true\" />");
     192                    out.write("Syndicate? <input type=\"checkbox\" name=\"" + PARAM_SYNDICATE
     193                              + "\" checked=\"true\" value=\"true\" title=\"If true, periodically pull down posts they have\" />");
    177194                else
    178                     out.write("Syndicate? <input type=\"checkbox\" name=\"" + PARAM_SYNDICATE + "\" value=\"true\" />");
     195                    out.write("Syndicate? <input type=\"checkbox\" name=\"" + PARAM_SYNDICATE
     196                              + "\" value=\"true\" title=\"If true, periodically pull down posts they have\" />");
    179197
    180198                out.write("<a href=\"" + getSyndicateLink(user, pn.getLocation())
    181199                          + "\" title=\"Synchronize manually with the peer\">Sync manually</a> ");
     200            } else {
     201                out.write("You are not <a href=\"admin.jsp\">authorized</a> to syndicate with the archive ");
    182202            }
    183203            out.write("<input type=\"submit\" name=\"" + PARAM_ACTION + "\" value=\"" + ACTION_DELETE_ARCHIVE + "\" /> ");
     
    192212        out.write("<input type=\"hidden\" name=\"" + PARAM_NET + "\" value=\"" + NET_SYNDIE + "\" />");
    193213        out.write("<tr><td colspan=\"3\">");
    194         out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (newName.getIsPublic() ? " checked=\"true\" " : "") + " />\n");
    195         out.write("Name: <input type=\"text\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + newName.getName() + "\" /> ");
    196         out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"20\" value=\"" + newName.getLocation() + "\" /> ");
     214        out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (newName.getIsPublic() ? " checked=\"true\" " : "")
     215                  + " title=\"If checked, this name can be shared with one click when posting\" />\n");
     216        out.write("Name: <input type=\"text\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + newName.getName()
     217                  + "\" title=\"Short, locally unique 'pet name' for the remote archive\" /> ");
     218        out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"20\" value=\"" + newName.getLocation()
     219                  + "\" title=\"URL to the remote archive's archive/archive.txt\" /> ");
    197220        if (BlogManager.instance().authorizeRemote(user)) {
    198221            if (BlogManager.instance().syndicationScheduled(newName.getLocation()))
    199                 out.write("Syndicate? <input type=\"checkbox\" name=\"" + PARAM_SYNDICATE + "\" checked=\"true\" value=\"true\" />");
     222                out.write("Syndicate? <input type=\"checkbox\" name=\"" + PARAM_SYNDICATE
     223                          + "\" checked=\"true\" value=\"true\" title=\"If true, periodically pull down posts they have\" />");
    200224            else
    201                 out.write("Syndicate? <input type=\"checkbox\" name=\"" + PARAM_SYNDICATE + "\" value=\"true\" />");
     225                out.write("Syndicate? <input type=\"checkbox\" name=\"" + PARAM_SYNDICATE
     226                          + "\" value=\"true\" title=\"If true, periodically pull down posts they have\" />");
    202227        }
    203228
     
    226251            out.write("<input type=\"hidden\" name=\"" + PARAM_NET + "\" value=\"" + NET_I2P + "\" />");
    227252            out.write("<tr><td colspan=\"3\">");
    228             out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (pn.getIsPublic() ? " checked=\"true\" " : "") + " />\n");
    229             out.write("Name: <input type=\"hidden\" name=\"" + PARAM_NAME + "\" value=\"" + pn.getName() + "\" />" + pn.getName() + " ");
    230             out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + pn.getLocation() + "\" /> ");
     253            out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (pn.getIsPublic() ? " checked=\"true\" " : "")
     254                      + " title=\"If checked, this name can be shared with one click when posting\" />\n");
     255            out.write("Name: <input type=\"hidden\" name=\"" + PARAM_NAME + "\" value=\"" + pn.getName()
     256                      + "\" title=\"Short, locally unique 'pet name' for the I2Phex peer\" />" + pn.getName() + " ");
     257            out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + pn.getLocation()
     258                      + "\" title=\"I2P destination of the I2Phex peer\" /> ");
    231259           
    232260            out.write("<input type=\"submit\" name=\"" + PARAM_ACTION + "\" value=\"" + ACTION_DELETE_PEER + "\" /> ");
     
    241269        out.write("<input type=\"hidden\" name=\"" + PARAM_NET + "\" value=\"" + NET_I2P + "\" />");
    242270        out.write("<tr><td colspan=\"3\">");
    243         out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (newName.getIsPublic() ? " checked=\"true\" " : "") + " />\n");
    244         out.write("Name: <input type=\"text\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + newName.getName() + "\" /> ");
    245         out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + newName.getLocation() + "\" /> ");
     271        out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (newName.getIsPublic() ? " checked=\"true\" " : "")
     272                  + " title=\"If checked, this name can be shared with one click when posting\" />\n");
     273        out.write("Name: <input type=\"text\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + newName.getName()
     274                  + "\" title=\"Short, locally unique 'pet name' for the I2Phex peer\" /> ");
     275        out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + newName.getLocation()
     276                  + "\" title=\"I2P destination of the I2Phex peer\" /> ");
    246277
    247278        out.write("<input type=\"submit\" name=\"" + PARAM_ACTION + "\" value=\"" + ACTION_ADD_PEER + "\" /> ");
     
    268299            out.write("<input type=\"hidden\" name=\"" + PARAM_NET + "\" value=\"" + NET_I2P + "\" />");
    269300            out.write("<tr><td colspan=\"3\">");
    270             out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (pn.getIsPublic() ? " checked=\"true\" " : "") + " />\n");
    271             out.write("Name: <input type=\"hidden\" name=\"" + PARAM_NAME + "\" value=\"" + pn.getName() + "\" />" + pn.getName() + " ");
    272             out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + pn.getLocation() + "\" /> ");
     301            out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (pn.getIsPublic() ? " checked=\"true\" " : "")
     302                      + " title=\"If checked, this name can be shared with one click when posting\" />\n");
     303            out.write("Name: <input type=\"hidden\" name=\"" + PARAM_NAME + "\" value=\"" + pn.getName()
     304                      + "\" title=\"Short, locally unique 'pet name' for the eepsite\" />" + pn.getName() + " ");
     305            out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + pn.getLocation()
     306                      + "\" title=\"I2P destination of the eepsite\" /> ");
    273307           
    274308            out.write("<input type=\"submit\" name=\"" + PARAM_ACTION + "\" value=\"" + ACTION_DELETE_EEPSITE + "\" /> ");
     
    283317        out.write("<input type=\"hidden\" name=\"" + PARAM_NET + "\" value=\"" + NET_I2P + "\" />");
    284318        out.write("<tr><td colspan=\"3\">");
    285         out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (newName.getIsPublic() ? " checked=\"true\" " : "") + " />\n");
    286         out.write("Name: <input type=\"text\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + newName.getName() + "\" /> ");
    287         out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + newName.getLocation() + "\" /> ");
     319        out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (newName.getIsPublic() ? " checked=\"true\" " : "")
     320                  + " title=\"If checked, this name can be shared with one click when posting\" />\n");
     321        out.write("Name: <input type=\"text\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + newName.getName()
     322                  + "\" title=\"Short, locally unique 'pet name' for the eepsite\" /> ");
     323        out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + newName.getLocation()
     324                  + "\" title=\"I2P destination of the eepsite\" /> ");
    288325
    289326        out.write("<input type=\"submit\" name=\"" + PARAM_ACTION + "\" value=\"" + ACTION_ADD_EEPSITE + "\" /> ");
     
    308345            writeAuthActionFields(out);
    309346            out.write("<tr><td colspan=\"3\">");
    310             out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (pn.getIsPublic() ? " checked=\"true\" " : "") + " />\n");
    311             out.write("Network: <input type=\"text\" name=\"" + PARAM_NET + "\" value=\"" + pn.getNetwork() + "\" /> ");
    312             out.write("Protocol: <input type=\"text\" name=\"" + PARAM_PROTO + "\" value=\"" + pn.getProtocol() + "\" /> ");
    313             out.write("Name: <input type=\"hidden\" name=\"" + PARAM_NAME + "\" value=\"" + pn.getName() + "\" />" + pn.getName() +" ");
    314             out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + pn.getLocation() + "\" /> ");
     347            out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (pn.getIsPublic() ? " checked=\"true\" " : "")
     348                      + " title=\"If checked, this name can be shared with one click when posting\" />\n");
     349            out.write("Network: <input type=\"text\" name=\"" + PARAM_NET + "\" value=\"" + pn.getNetwork()
     350                      + "\" title=\"What network is this on - i2p, tor, internet, freenet, etc\" /> ");
     351            out.write("Protocol: <input type=\"text\" name=\"" + PARAM_PROTO + "\" value=\"" + pn.getProtocol()
     352                      + "\" title=\"How do we access/interact with this resource\" /> ");
     353            out.write("Name: <input type=\"hidden\" name=\"" + PARAM_NAME + "\" value=\"" + pn.getName()
     354                      + "\" title=\"Short, locally unique 'pet name' for the location\" />" + pn.getName() +" ");
     355            out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + pn.getLocation()
     356                      + "\" title=\"URL\" /> ");
    315357           
    316358            out.write("<input type=\"submit\" name=\"" + PARAM_ACTION + "\" value=\"" + ACTION_DELETE_OTHER + "\" /> ");
     
    324366       
    325367        out.write("<tr><td colspan=\"3\">");
    326         out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (newName.getIsPublic() ? " checked=\"true\" " : "") + " />\n");
    327         out.write("Network: <input type=\"text\" name=\"" + PARAM_NET + "\" value=\"" + newName.getNetwork() + "\" /> ");
    328         out.write("Protocol: <input type=\"text\" name=\"" + PARAM_PROTO + "\" value=\"" + newName.getProtocol() + "\" /> ");
    329         out.write("Name: <input type=\"text\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + newName.getName() + "\" /> ");
    330         out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + newName.getLocation() + "\" /> ");
     368        out.write("<input type=\"checkbox\" name=\"" + PARAM_IS_PUBLIC + "\" value=\"true\" " + (newName.getIsPublic() ? " checked=\"true\" " : "")
     369                  + " title=\"If checked, this name can be shared with one click when posting\" />\n");
     370        out.write("Network: <input type=\"text\" name=\"" + PARAM_NET + "\" value=\"" + newName.getNetwork()
     371                  + "\" title=\"What network is this on - i2p, tor, internet, freenet, etc\" /> ");
     372        out.write("Protocol: <input type=\"text\" name=\"" + PARAM_PROTO + "\" value=\"" + newName.getProtocol()
     373                  + "\" title=\"How do we access/interact with this resource\" /> ");
     374        out.write("Name: <input type=\"text\" name=\"" + PARAM_NAME + "\" size=\"10\" value=\"" + newName.getName()
     375                  + "\" title=\"Short, locally unique 'pet name' for the location\" /> ");
     376        out.write("Location: <input type=\"text\" name=\"" + PARAM_LOC + "\" size=\"3\" value=\"" + newName.getLocation()
     377                  + "\" title=\"URL\" /> ");
    331378
    332379        out.write("<input type=\"submit\" name=\"" + PARAM_ACTION + "\" value=\"" + ACTION_ADD_OTHER + "\" /> ");
  • apps/syndie/java/src/net/i2p/syndie/web/BaseServlet.java

    r70c4560 rd1f2b44  
    495495        out.write("<tr class=\"topNav\"><td colspan=\"3\" nowrap=\"true\"><span class=\"topNav_user\">\n");
    496496        out.write("<!-- nav bar begin -->\n");
     497        out.write("<a href=\"threads.jsp\" title=\"Syndie home\">Home</a> ");
    497498        if (user.getAuthenticated() && (user.getBlog() != null) ) {
    498499            out.write("Logged in as <a href=\"" + getProfileLink(req, user.getBlog()) + "\" title=\"Edit your profile\">");
     
    505506            out.write("<form action=\"" + req.getRequestURI() + "\" method=\"POST\">\n");
    506507            writeAuthActionFields(out);
    507             out.write("Login: <input type=\"text\" name=\"login\" />\n");
    508             out.write("Password: <input type=\"password\" name=\"password\" />\n");
     508            out.write("Login: <input type=\"text\" name=\"login\" title=\"Login name for your Syndie account\" />\n");
     509            out.write("Password: <input type=\"password\" name=\"password\" title=\"Password to get into your Syndie account\" />\n");
    509510            out.write("<input type=\"submit\" name=\"action\" value=\"Login\" /></form>\n");
    510511        }
     
    595596        out.write("</select>\n");
    596597       
    597         out.write("Tags: <input type=\"text\" name=\"" + ThreadedHTMLRenderer.PARAM_TAGS + "\" size=\"10\" value=\"" + tags + "\" />\n");
     598        out.write("Tags: <input type=\"text\" name=\"" + ThreadedHTMLRenderer.PARAM_TAGS + "\" size=\"10\" value=\"" + tags
     599                  + "\" title=\"Threads are filtered to include only ones with posts containing these tags\" />\n");
    598600
    599601        out.write("<input type=\"submit\" name=\"action\" value=\"Go\" />\n");
    600         out.write("</td><td class=\"controlBarRight\" width=\"1%\"><a href=\"#threads\" title=\"Jump to the thread navigation\">Threads</a></td>\n");
     602        out.write("</td><td class=\"controlBarRight\" width=\"1%\">");
     603       
     604        if ( (req.getParameter(ThreadedHTMLRenderer.PARAM_VIEW_POST) != null) ||
     605             (req.getParameter(ThreadedHTMLRenderer.PARAM_VIEW_THREAD) != null) )
     606            out.write("<a href=\"#threads\" title=\"Jump to the thread navigation\">Threads</a>");
     607        out.write("</td>\n");
    601608        out.write("<!-- control bar end -->\n");
    602609        out.write("</tr>\n");
  • apps/syndie/java/src/net/i2p/syndie/web/PostServlet.java

    r70c4560 rd1f2b44  
    212212        out.write("<span class=\"b_postField\">Post subject:</span> ");
    213213        out.write("<input type=\"text\" class=\"b_postSubject\" size=\"80\" name=\"" + PARAM_SUBJECT
    214                   + "\" value=\"" + HTMLRenderer.sanitizeTagParam(subject) + "\" /><br />\n");
     214                  + "\" value=\"" + HTMLRenderer.sanitizeTagParam(subject) + "\" title=\"One line summary\" /><br />\n");
    215215        out.write("<span class=\"b_postField\">Post content (in raw <a href=\"smlref.jsp\" target=\"_blank\">SML</a>, no headers):</span><br />\n");
    216216        out.write("<textarea class=\"b_postText\" rows=\"6\" cols=\"80\" name=\"" + PARAM_TEXT + "\">" + getParam(req, PARAM_TEXT) + "</textarea><br />\n");
    217217        out.write("<span class=\"b_postField\">SML post headers:</span><br />\n");
    218         out.write("<textarea class=\"b_postHeaders\" rows=\"3\" cols=\"80\" name=\"" + PARAM_HEADERS + "\">" + getParam(req, PARAM_HEADERS) + "</textarea><br />\n");
     218        out.write("<textarea class=\"b_postHeaders\" rows=\"2\" cols=\"80\" name=\"" + PARAM_HEADERS + "\" title=\"Most people can leave this empty\" >" + getParam(req, PARAM_HEADERS) + "</textarea><br />\n");
    219219       
    220220        if ( (parentURI != null) && (parentURI.trim().length() > 0) )
    221221            out.write("<input type=\"hidden\" name=\"" + PARAM_PARENT + "\" value=\"" + parentURI + "\" />\n");
    222222
    223         out.write(" Tags: <input type=\"text\" size=\"10\" name=\"" + PARAM_TAGS + "\" value=\"" + getParam(req, PARAM_TAGS) + "\" /><br />\n");
     223        out.write(" Tags: <input type=\"text\" size=\"10\" name=\"" + PARAM_TAGS + "\" value=\"" + getParam(req, PARAM_TAGS) + "\" title=\"Optional tags to categorize your response\" /><br />\n");
    224224       
    225225        boolean inNewThread = getInNewThread(req);
     
    227227
    228228        out.write("In a new thread? <input type=\"checkbox\" value=\"true\" name=\"" + PARAM_IN_NEW_THREAD +
    229                   (inNewThread ? "\" checked=\"true\" " : "\" " ) + " /><br />\n");
     229                  (inNewThread ? "\" checked=\"true\" " : "\" " )
     230                  + " title=\"If true, this will fork a new top level thread\" /><br />\n");
    230231        out.write("Refuse replies? <input type=\"checkbox\" value=\"true\" name=\"" + PARAM_REFUSE_REPLIES +
    231                   (refuseReplies ? "\" checked=\"true\" " : "\" " ) + " /><br />\n");
     232                  (refuseReplies ? "\" checked=\"true\" " : "\" " )
     233                  + " title=\"If true, only you will be able to reply to the post\" /><br />\n");
    232234       
    233235        out.write("<span class=\"b_postField\">Include public names?</span> ");
    234236        out.write("<input class=\"b_postNames\" type=\"checkbox\" name=\"" + PARAM_INCLUDENAMES
    235                   + "\" value=\"true\" /><br />\n");
     237                  + "\" value=\"true\" title=\"If true, everything marked 'public' in your addressbook is shared\" /><br />\n");
    236238       
    237239        out.write(ATTACHMENT_FIELDS);
  • apps/syndie/java/src/net/i2p/syndie/web/RemoteArchiveBean.java

    r70c4560 rd1f2b44  
    363363            if (notModified) {
    364364                _statusMessages.add("Archive unchanged since last fetch.");
     365                _statusMessages.add("If you want to force a refetch, make a trivial modification to the URL, such as adding a \"?\"");
    365366            } else {
    366367                try {
  • apps/syndie/java/src/net/i2p/syndie/web/SyndicateServlet.java

    r70c4560 rd1f2b44  
    112112        out.write("</select>\n");
    113113        out.write("<span class=\"b_remoteChooserField\">Proxy</span>\n");
    114         out.write("<input class=\"b_remoteChooserHost\" type=\"text\" size=\"10\" name=\"proxyhost\" value=\"");
     114        out.write("<input class=\"b_remoteChooserHost\" type=\"text\" size=\"12\" name=\"proxyhost\" value=\"");
    115115        out.write(BlogManager.instance().getDefaultProxyHost());
    116         out.write("\" />\n");
     116        out.write("\" title=\"hostname that your HTTP proxy is on, or blank for no proxy\" />\n");
    117117        out.write("<input class=\"b_remoteChooserPort\" type=\"text\" size=\"4\" name=\"proxyport\" value=\"");
    118118        out.write(BlogManager.instance().getDefaultProxyPort());
    119         out.write("\" /><br />\n");
     119        out.write("\" title=\"port number that your HTTP proxy is on, or blank for no proxy\" /><br />\n");
    120120        out.write("<span class=\"b_remoteChooserField\">Bookmarked archives:</span>\n");
    121121        out.write("<select class=\"b_remoteChooserPN\" name=\"" + PARAM_PETNAME + "\">");
     
    137137        if (reqLoc != null)
    138138            out.write(reqLoc);
    139         out.write("\" />\n");
     139        out.write("\" title=\"full URL to the remote location, to be sent to your HTTP proxy\" />\n");
    140140        out.write("<input class=\"b_remoteChooserContinue\" type=\"submit\" name=\"action\" value=\"Continue...\" /><br />\n");
    141141        out.write("</span>\n");
  • apps/syndie/java/src/net/i2p/syndie/web/ViewThreadedServlet.java

    r70c4560 rd1f2b44  
    291291           
    292292            out.write("</a>\n");
    293             out.write(" <a href=\"");
    294             out.write(getViewThreadLink(req, node, user));
    295             out.write("\" title=\"View all posts in the thread\">full thread</a>\n");
    296         } else {
    297             out.write("<a href=\"");
    298             out.write(getViewPostLink(req, node, user, false));
    299             out.write("\" title=\"View the post\">view post</a>\n");
    300         }
     293        }
     294        out.write(" <a href=\"");
     295        out.write(getViewThreadLink(req, node, user));
     296        out.write("\" title=\"View all posts in the thread\">full thread</a>\n");
    301297        out.write("</span>");
    302298        out.write("</td></tr>\n");
  • apps/syndie/jsp/about.html

    r70c4560 rd1f2b44  
    2121almost always around on the <a href="http://forum.i2p.net/viewtopic.php?t=952">#i2p irc
    2222channel</a>.</p>
     23
     24<p>One FAQ which might keep people from getting more posts into their Syndie
     25node regards cookies.  If you get "internal errors" when using the <a
     26href="syndicate.jsp">syndicate form</a>, you probably have cookies disabled.
     27Syndie needs cookies to help maintain state, and while its good practice to
     28disable cookies in general, you should be able to tell your web browser to make
     29an exception and allow cookies to "localhost" (or wherever your Syndie instance
     30is).  Further FAQs should be found
     31<a href="threads.jsp?tags=syndie.faq">within syndie</a></p>
    2332</body></html>
  • history.txt

    r70c4560 rd1f2b44  
    1 $Id: history.txt,v 1.331 2005/11/26 04:16:25 jrandom Exp $
     1$Id: history.txt,v 1.332 2005/11/26 06:39:33 jrandom Exp $
     2
     32005-11-26  jrandom
     4    * Update the sorting in Syndie to consider children 'newer' than parents,
     5      even if they have the same message ID (duh)
     6    * Cleaned up some nav links in Syndie (good idea gloin, spaetz!)
     7    * Added a bunch of tooltips to Syndie's fields (thanks polecat!)
     8    * Force support for nonvalidating XML in Jetty (so we can handle GCJ/etc
     9      better)
    210
    3112005-11-26  jrandom
  • installer/resources/wrapper.config

    r70c4560 rd1f2b44  
    5252wrapper.java.additional.2=-Dorg.mortbay.http.Version.paranoid=true
    5353wrapper.java.additional.3=-Dorg.mortbay.util.FileResource.checkAliases=false
     54wrapper.java.additional.4=-Dorg.mortbay.xml.XmlParser.NotValidating=true
    5455
    5556# Initial Java Heap Size (in MB)
  • router/java/src/net/i2p/router/RouterVersion.java

    r70c4560 rd1f2b44  
    1616 */
    1717public class RouterVersion {
    18     public final static String ID = "$Revision: 1.299 $ $Date: 2005/11/26 04:16:13 $";
     18    public final static String ID = "$Revision: 1.300 $ $Date: 2005/11/26 06:39:32 $";
    1919    public final static String VERSION = "0.6.1.5";
    20     public final static long BUILD = 10;
     20    public final static long BUILD = 11;
    2121    public static void main(String args[]) {
    2222        System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
Note: See TracChangeset for help on using the changeset viewer.