Changeset 19fcb9e


Ignore:
Timestamp:
Jul 11, 2017 3:08:52 AM (3 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
123c0de
Parents:
281534b
Message:

Comments

Location:
apps/i2psnark/java/src/org/klomp/snark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/ExtensionHandler.java

    r281534b r19fcb9e  
    478478                     String owner = m.get("owner").getString();
    479479                     String text = m.get("text").getString();
     480                     // 0-5 range for rating is enforced by Comment constructor
    480481                     int rating = m.get("like").getInt();
    481482                     long time = now - (Math.max(0, m.get("timestamp").getInt()) * 1000L);
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    r281534b r19fcb9e  
    11871187            boolean ratings = req.getParameter("ratings") != null;
    11881188            boolean comments = req.getParameter("comments") != null;
     1189            // commentsName is filtered in SnarkManager.updateConfig()
    11891190            String commentsName = req.getParameter("nofilter_commentsName");
    11901191            _manager.updateConfig(dataDir, filesPublic, autoStart, smartSort, refreshDel, startupDel, pageSize,
     
    25562557            boolean isKnownOpen = _manager.util().isKnownOpenTracker(t.announceURL);
    25572558            boolean isOpen = isKnownOpen || openTrackers.contains(t.announceURL);
    2558             // TODO: either disable all checkboxes in this section, or disable all checkboxes that cannot be configured, leaving only user-configured tracker checkboxes active
    2559             // Currently checked but fixed checkboxes are not marked as disabled, preventing styling by disabled status
    25602559            buf.append("<tr class=\"knownTracker\"><td><input type=\"checkbox\" class=\"optbox\" id=\"").append(name).append("\" name=\"delete_")
    25612560               .append(name).append("\" title=\"").append(_t("Mark tracker for deletion")).append("\">" +
Note: See TracChangeset for help on using the changeset viewer.