Permalink
Commits on Mar 6, 2013
  1. Bump version to 0.8.2

    themoken committed Mar 6, 2013
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Mar 5, 2013
  1. Replace unused feed.keep with used time based keep

    themoken committed Mar 5, 2013
    In addition, I've added feed.keep_unread which will avoid discarding
    items with unread status.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
  2. Convert to time based discard.

    themoken committed Mar 5, 2013
    Items that haven't been seen in one full day are not kept.
    
    This should fix, once and for all, the problem with bouncy Reddit feeds.
    I tracked it for awhile and it appears that items will actually
    disappear from personal reddit RSS feeds and reappear a short time
    later. If an update occurred in the interim, and the items that
    disappeared weren't otherwise protected (i.e. out in a client) they
    could be discarded only to be "rediscovered"
    
    This only appears to happen on the personalized front page RSS feeds and
    not the individual subreddit feeds likely because of the amount of
    contention.
    
    I attempted to fix this in the initial design, and the original Canto
    codebase, by padding out the items to a factor of 2x the number of
    items. This was shortsighted considering that feeds like Reddit where
    you overflow that number in a matter of hours rather than days.
    
    This approach cuts straight to the perception of the problem. Items that
    have disappeared for a full day are by definition old news, and items
    that disappear for a few minutes or a few hours may still be relevant
    (inasmuch as we want to remember we read them).
    
    ... I should've done this ages ago.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Mar 3, 2013
  1. Update README, bin files

    themoken committed Mar 3, 2013
    Make python 3 usage explicit. Also, the daemon is no longer alpha.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
  2. Fix trim failure.

    themoken committed Mar 3, 2013
    Sometimes the database is unavailable, keep the workaround forked process from
    crapping out and missing sys.exit and ending up back in the parent's code.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Feb 20, 2013
  1. Properly stub __init__

    themoken committed Feb 20, 2013
    Signed-off-by: Jack Miller <jack@codezen.org>
  2. Eliminate loop in ad-hoc child handler.

    themoken committed Feb 20, 2013
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Feb 15, 2013
  1. Fix reddit plugin

    themoken committed Feb 15, 2013
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Nov 19, 2012
  1. Fix coalescing one-config arguments

    themoken committed Nov 19, 2012
    If you strip spaces out of a one-config call, you end up with garbage.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Oct 18, 2012
  1. Better handling of interrupt syscall

    themoken committed Oct 18, 2012
    Happens regularly when suspending/resuming, but has no real effect on
    the socket.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Oct 10, 2012
  1. Improper use of error object (rare)

    themoken committed Oct 10, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Sep 28, 2012
  1. First revision of greader plugin

    themoken committed Sep 28, 2012
    - Implement system for plugin internal command issuing
    - Rephrase feed adding to avoid canto-remote shell invocation
    - Some minor improvements
    
    The feed sync is pretty functional, however even without debug logging
    the plugin is still crushing start-up performance and I'm still not
    happy with that.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Sep 27, 2012
  1. Add Google Reader sync plugin [EXPERIMENTAL]

    themoken committed Sep 27, 2012
    This generally works, need to nail down the initial sync and keep it
    from tanking the canto-daemon startup time, but the item identification
    and sync works well once it's up.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
  2. Make remote listfeeds easier to machine parse

    themoken committed Sep 27, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Jul 27, 2012
  1. Fix possible feed forgetfulness.

    themoken committed Jul 27, 2012
    self.items being empty happens all the time, so previously it was
    possible for an initial request to timeout or otherwise fail and causing
    the daemon to stub out the disk, even if previous content was there.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Jul 21, 2012
  1. Add proper versioning.

    themoken committed Jul 21, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Jul 20, 2012
  1. Fix printing unset variable in remote.

    themoken committed Jul 20, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Jul 19, 2012
  1. Allow empty strings to be set by remote config.

    themoken committed Jul 19, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
  2. Better whitespace sensitivity for remote

    themoken committed Jul 19, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
  3. Properly report addfeed errors.

    themoken committed Jul 19, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
  4. Change URLs in manpages

    themoken committed Jul 19, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
  5. Remove extraneous output.

    themoken committed Jul 19, 2012
    We don't need to print the OPML file being imported...
    
    Signed-off-by: Jack Miller <jack@codezen.org>
  6. Stub bugged/empty feeds with no previous items.

    themoken committed Jul 19, 2012
    The feed objects still exist, so we need to be able to count on shelf
    contents existing.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
  7. Add basic manpages for daemon and remote

    themoken committed Jul 19, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Jul 18, 2012
  1. Py3 no longer should need to encode before printing

    themoken committed Jul 18, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Jul 17, 2012
  1. Remove extraneous hook logging.

    themoken committed Jul 17, 2012
    This can actually cripple hook performance depending on the number of
    registered hooks and their string representations ... even though the
    log level is generally too low to actually *use* the string...
    
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on May 13, 2012
  1. Hardent client code for multiple connections.

    themoken committed May 13, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on May 11, 2012
  1. Add Reddit plugin User-Agent

    themoken committed May 11, 2012
    Improve reddit plugin to report a User-Agent other than python's,
    because otherwise it's pegged as a script and somehow deprioritized /
    additionally ratelimited. You get HTTP 429 errors in this case.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
  2. Logging tweak.

    themoken committed May 11, 2012
    Strip NULL from the protocol stuff so that the log files are better
    behaved (i.e. detected as text files by programs like grep).
    
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Mar 5, 2012
  1. Trim unused tag configuration

    themoken committed Mar 5, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Mar 1, 2012
  1. Fix exception formatting.

    themoken committed Mar 1, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Feb 8, 2012
  1. Fix feedparser invocation in remote

    themoken committed Feb 8, 2012
    In particular, the code to grab the name of a feed automatically.
    
    Signed-off-by: Jack Miller <jack@codezen.org>
  2. Fix reddit plugin

    themoken committed Feb 8, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>
Commits on Feb 7, 2012
  1. Update feedparser invocation.

    themoken committed Feb 7, 2012
    Fixes actual fetching with Py3
    
    Signed-off-by: Jack Miller <jack@codezen.org>
  2. Remove ancient alpha info from README

    themoken committed Feb 7, 2012
    Signed-off-by: Jack Miller <jack@codezen.org>