]> git.etc.gen.nz Git - whoisi.git/log
whoisi.git
16 years ago2008-10-18 Christopher Blizzard <blizzard@0xdeadbeef.com>
blizzard [Sun, 19 Oct 2008 02:28:05 +0000 (02:28 +0000)]
2008-10-18  Christopher Blizzard  <blizzard@0xdeadbeef.com>

        * services/command/feedparse.py (FeedUpdateDatabaseCommand.stupidEntryAlreadyThere):
        Since all feeds now generate display_cache data we can use it for
        stupid entires.  Like, say, for old vimeo entries before they had
        a guid.

git-svn-id: svn://trac.whoisi.com/whoisi/trunk@10 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c

16 years ago2008-10-18 Christopher Blizzard <blizzard@0xdeadbeef.com>
blizzard [Sun, 19 Oct 2008 00:48:23 +0000 (00:48 +0000)]
2008-10-18  Christopher Blizzard  <blizzard@0xdeadbeef.com>

        * whoisi/templates/vimeo-widget.mak: Widget to render vimeo
        content in person and follow pages.

        * whoisi/templates/follow.mak: Add vimeo to the types we know how
        to render

        * whoisi/templates/unseen.mak: Add vimeo to the types we know how
        to render.

        * whoisi/templates/person-widget.mak: Add vimeo to the types we
        know how to render.

        * whoisi/utils/sites.py (site_value): Put vimeo before youtube in
        the order in which we render sites.

        * whoisi/controllers.py (Root.getDisplayDepth): Add vimeo display
        depth so we render the right number of items in various contexts.
        (Root.rendersite): If the site type if vimeo, use the vimeo
        template for rendering.

        * whoisi/static/images/sites/vimeo-favicon.png: Icon for vimeo
        items.

        * tests/nose/test_newsite.py (TestNewSite.test_vimeo): Code to
        test the vimeo url detection code.

        * services/command/vimeo.py (Vimeo): Class for vimeo url detection
        and selecting a preferred feed.

        * services/command/newsite.py (NewSiteTryURL.getPreferredFeed): If
        the url is a vimeo url, pick the perferred feed from the list of
        feeds left over from scraping the HTML.
        (NewSiteTryURL.getFeedType): If the url is a vimeo url set the
        site type to "vimeo."

git-svn-id: svn://trac.whoisi.com/whoisi/trunk@9 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c

16 years ago2008-10-18 Christopher Blizzard <blizzard@0xdeadbeef.com>
blizzard [Sun, 19 Oct 2008 00:33:21 +0000 (00:33 +0000)]
2008-10-18  Christopher Blizzard  <blizzard@0xdeadbeef.com>

        * whoisi/templates/youtube-widget.mak: Show 3 videos on one line.

        * services/command/youtube.py: Add license header.

git-svn-id: svn://trac.whoisi.com/whoisi/trunk@8 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c

16 years ago2008-10-18 Christopher Blizzard <blizzard@0xdeadbeef.com>
blizzard [Sat, 18 Oct 2008 06:11:55 +0000 (06:11 +0000)]
2008-10-18  Christopher Blizzard  <blizzard@0xdeadbeef.com>

        * utils/convert-flickr-ids.py: Script to fix all of the !#@&*#^@*
        flickr ids in the database.  Flickr uses different IDs for Atom
        and RSS2 feeds!

git-svn-id: svn://trac.whoisi.com/whoisi/trunk@7 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c

16 years ago2008-10-17 Christopher Blizzard <blizzard@0xdeadbeef.com>
blizzard [Sat, 18 Oct 2008 04:08:37 +0000 (04:08 +0000)]
2008-10-17  Christopher Blizzard  <blizzard@0xdeadbeef.com>

        * feed-parse-service (FeedParseProtocol.runCommand): Someone get
        me a brown paper bag.  Always set display_cache in the output to
        something.

git-svn-id: svn://trac.whoisi.com/whoisi/trunk@6 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c

16 years ago2008-10-17 Christopher Blizzard <blizzard@0xdeadbeef.com>
blizzard [Sat, 18 Oct 2008 03:51:30 +0000 (03:51 +0000)]
2008-10-17  Christopher Blizzard  <blizzard@0xdeadbeef.com>

        * whoisi/utils/sites.py (site_value): Add youtube to the ordering
        of sites in a profile.

        * whoisi/utils/youtube.py (youtube_get_user): Returns a user for a
        standard videos.rss-style youtube feed.

        * whoisi/templates/unseen.mak: Add support for youtube.

        * whoisi/templates/follow.mak: Add support for youtube.

        * whoisi/templates/person-widget.mak: Add support for youtube.

        * whoisi/templates/picasa-widget.mak: Support the thumb/JSON
        format in display_cache.

        * whoisi/templates/youtube-widget.mak (else): Widget for
        displaying youtube.

        * whoisi/controllers.py (Root.getDisplayDepth): Add support for
        youtube.
        (Root.rendersite): Add support for youtube.

        * whoisi/static/images/sites/youtube-favicon.png: Icon for youtube.

        * utils/convert-display-cache.py: Convert display cache for
        picasa, not flickr.

        * utils/convert-flickr-feeds.py: Script that converts flickr feeds
        from atom to rss2 in the db.

        * feed-parse-service (FeedParseProtocol.runCommand): Set the thumb
        property in the display_cache if media_thumbnail is set.

        * lib/feedparser.py: Patch to detect thumbnails.

        * tests/nose/test_newsite.py (TestNewSite.test_youtube): New tests
        for detecting youtube urls.  Also somewhat future-proofed for
        eventual user detection.

        * smoketest.txt: Test a youtube url.

        * patches/README: Readme for new thumbnail patch.

        * patches/feedparser-thumbnail.patch: Patch that adds support for
        the media:thumbnail property to feedparser.  Taken from an
        upstream bug.

        * services/command/controller.py (PreviewSiteManager.__init__):
        Don't call FlickrPreviewThumbnails anymore - we get it directly
        from the feed now.

        * services/command/newsite.py (NewSiteTryURL.getFeedType): If it's
        a youtube url, set the type.

        * services/command/flickr.py (Flickr.getPreferredFeed): We now use
        the rss2 feed instead of the atom feed - it contains a thumbnail
        url.

        * services/command/picasa.py (Picasa.photoFeedForUser): Make
        picasa work like flickr - set a "thumb" object as a JSON object in
        the database row instead of just a raw url.

        * services/command/youtube.py (Youtube): Class that supports the
        current site model for detecting youtube feeds.  It's also
        future-proofed to support urls and usernames at some point.

        * services/master/database.py (DatabaseManager.__init__): Disable
        flickr scan on startup.  New support for images doesn't require us
        to do it anymore.  Yay!

        * services/master/newsite.py (NewSite.normalize): Placeholder for
        eventual normalization for youtube.  Doesn't do anything right
        now.

git-svn-id: svn://trac.whoisi.com/whoisi/trunk@5 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c

16 years agoAdd a pile of files to svn:ignore.
blizzard [Wed, 8 Oct 2008 00:29:21 +0000 (00:29 +0000)]
Add a pile of files to svn:ignore.

git-svn-id: svn://trac.whoisi.com/whoisi/trunk@4 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c

16 years ago2008-10-07 Christopher Blizzard <blizzard@0xdeadbeef.com>
blizzard [Wed, 8 Oct 2008 00:28:03 +0000 (00:28 +0000)]
2008-10-07  Christopher Blizzard  <blizzard@0xdeadbeef.com>

        * services/command/controller.py (ProtoManager.start): Remove dead
        code after return.

        * tests/twisted/network/test_newsite.py (TestNewSite.confirmRelativeLinksReddit):
        Reddit urls keep changing.  Include a www now.

git-svn-id: svn://trac.whoisi.com/whoisi/trunk@3 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c

16 years ago2008-09-30 Christopher Blizzard <blizzard@0xdeadbeef.com>
blizzard [Tue, 30 Sep 2008 23:47:06 +0000 (23:47 +0000)]
2008-09-30  Christopher Blizzard  <blizzard@0xdeadbeef.com>

        * tests/nose/test_newsite.py (TestNewSite.test_delicious): Add
        test cases for new style delicious urls.

        * services/command/delicious.py (Delicious.isDelicious): Add
        support for new-style delicious urls.

git-svn-id: svn://trac.whoisi.com/whoisi/trunk@2 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c

16 years agoinitial import from other repo
apache [Sat, 20 Sep 2008 03:53:32 +0000 (03:53 +0000)]
initial import from other repo

git-svn-id: svn://trac.whoisi.com/whoisi/trunk@1 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c