Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 5, 2008
  1. @pudge

    Fix missing variable

    pudge authored
Commits on Dec 3, 2008
  1. @jamiemccarthy
Commits on Nov 25, 2008
  1. @tvroom
  2. @jamiemccarthy

    Tagbox change for increased hose comments: metamod view only

    jamiemccarthy authored
    Tagboxes now allot for a large percentage of comments to be
    in the hose.  For now, comments will only be visible in the
    metamod hose view.  The regular user and admin popularity of
    comments will always be -50 (color: black).
Commits on Sep 12, 2008
  1. @jamiemccarthy

    Minor tag fixes plus comment down-scoring

    jamiemccarthy authored
    Got rid of some unnecessary warnings;  fixed a crash due to malformed
    SQL; better logging;  and dramatically decreased the color level
    in which comments appear (5=blue, 2+=indigo, rest violet).
Commits on Sep 11, 2008
  1. @jamiemccarthy

    More CSR tagbox logging

    jamiemccarthy authored
Commits on Sep 4, 2008
  1. @jamiemccarthy

    tagbox_fheditorpop_needypercent

    jamiemccarthy authored
    Allow editors to not see some of the comments in the hose
  2. @jamiemccarthy

    Tagbox bugfixes

    jamiemccarthy authored
    info_log/debug_log log accurately now.  getTagboxTags includes tagname
    for each tag.  forceFeederRecalc uses valid SQL.  constrain_score call
    doesn't crash.  FireHoseScores doesn't crash.  Clouts added.
  3. @jamiemccarthy

    Slash::Tagbox refactoring nearing completion

    jamiemccarthy authored
    Removed the tagbox_userkeyregexes table, and 3 columns from tagboxes
    table, replaced with class methods which S::T subclasses may override.
    {nodid},{nixid} in all S::T objects.
    
    tagbox.pl now runs more quickly and efficiently.  A code comment
    in tagbox.pl and slashd has thoughts on future multiprocessing
    changes.  Modernized tagbox.pl logging.
    
    Removed some unnecessary 'use's.  getTagboxTags() now filters tags
    at each step, for a (possibly dramatic in some cases) speed
    improvement.  Tagbox filtering in _do_filter_foo submethods.  API
    changes to be OOP-appropriate for addFeederInfo(), forceFeederRecalc()
    and other (now-) methods.
    
    The API and subclasses' calls of it is still a little rough.
  4. @jamiemccarthy

    Get database class inheritance working properly, esp. for plugins/tag…

    jamiemccarthy authored
    …boxes
    
    new(), isInstalled() and init() have never worked properly due mostly
    to mishandled multiple inheritance.  This sets classes up correctly,
    notably adding Slash::Plugin as a viable base class for most plugin
    database classes (rewriting many common ones to do that), also adding
    Slash::Tagbox as the base class for all tagboxes (and adding some
    convenience methods to simplify tag processing).
    
    It is believed that old code not changed to use the new base classes
    will work the same as before.
    
    As of this commit, this code should be considered beta -- it's not
    ready for production, in particular I'm pretty sure tagboxes don't
    run due to a getTagboxes() bug.
Commits on Aug 1, 2008
  1. @jamiemccarthy
  2. @jamiemccarthy

    Comment neediness fixes

    jamiemccarthy authored
    Allow metanod/metanix to adjust comment neediness, as well as nod/nix.
    Also tweak the algorithm a little so agreement means less-needy and
    controversy means more.
Commits on Jul 9, 2008
  1. @jamiemccarthy

    Insert some needy comments into the hose

    jamiemccarthy authored
    Based on vars, a certain fraction of comments with a minimum level
    of neediness will be inserted into the hose once their neediness
    crosses that threshold (so they can be metamoderated).  Also, all
    comments inserted into the hose get their popularity and editorpop
    scores immediately recalculated.
Commits on Jul 1, 2008
  1. @jamiemccarthy

    Minor bugfixes

    jamiemccarthy authored
    These tagboxes' isInstalled() was not defaulting to true; fixed.
  2. @jamiemccarthy

    Minor bugfix

    jamiemccarthy authored
  3. @jamiemccarthy

    Nosy tagboxes, getGlobjTargets, feederlog_largerows

    jamiemccarthy authored
    (1) Tagboxes can now (via tagboxes.nosy_gtids column) request that
    new entries in the tagboxlog_feeder table be created when new globjs
    of any of a list of types are created.  These new entries will have
    all NULLs for tagid, tdid, tuid, and simply indicate that the globj
    has been created.  (2) getGlobjTargets() is now an optimized way to
    retrieve [gtid,target_id] data for multiple targets, instead of
    calling getGlobjTarget() multiple times.  (3) The new var
    tags_feederlog_largerows indicates a size beyond which the
    tagboxlog_feeder table is considered "large," and its size will be
    reduced with run() until it is below that size before more additions
    will be accepted.
Commits on Jun 25, 2008
  1. @jamiemccarthy

    tagboxes/CommentScoreReason write neediness to firehose

    jamiemccarthy authored
    "neediness" was being written into comments.f3;  now write it
    also into firehose.neediness.
Commits on Jun 18, 2008
  1. @jamiemccarthy

    Typofix

    jamiemccarthy authored
Commits on Jun 17, 2008
  1. @jamiemccarthy

    Neediness comment scoring

    jamiemccarthy authored
    tagboxes/CommentScoreReason now scores comments for "neediness" --
    how much a moderated comment needs to have its moderations reviewed,
    by admins or high-clout users.
Commits on May 2, 2008
  1. @pudge
Commits on Oct 9, 2007
  1. @jamiemccarthy

    New isInstalled() method for all subclasses of Slash::DB::Utility (an…

    jamiemccarthy authored
    …d also
    
    of Slash::DB), which basically means all database access classes whose
    cached objects are retrieved by getObject().  isInstalled() provides a
    straightforward way to determine whether a class is installed, and this
    allows less checking code on the caller's part and more accurate
    determination of whether to emit a warning on getObject()'s part.
Commits on Sep 28, 2007
  1. @jamiemccarthy

    Include clid in tagboxes

    jamiemccarthy authored
Commits on Feb 22, 2007
  1. @jamiemccarthy
Commits on Feb 21, 2007
  1. @jamiemccarthy
Commits on Nov 20, 2006
  1. @jamiemccarthy

    Replicate existing comment score/reason setting code. This tagbox will

    jamiemccarthy authored
    at this time (11/20/2006) not work with any sites other than Slashdot.
Something went wrong with that request. Please try again.