Commits on Oct 9, 2008
  1. No need for introtext there

    pudge committed Oct 9, 2008
  2. update

    pudge committed Oct 9, 2008
  3. Fix broken introtext stuff

    pudge committed Oct 9, 2008
  4. Safari tag img underline fix

    Vlad Kulchytskyy committed Oct 9, 2008
  5. Fix linkComment stuff srsly

    pudge committed Oct 9, 2008
  6. Fix linkComment for realsies

    pudge committed Oct 9, 2008
  7. Fix URLs

    pudge committed Oct 9, 2008
  8. Need $().tag_ui__tags() function but it is not yet integrated; until …

    …then we will hand-code it
    committed Oct 9, 2008
  9. Journal introtext fixes

    pudge committed Oct 9, 2008
  10. Fix API call

    Is key() not get_key()
    pudge committed Oct 9, 2008
  11. Journal things

    Add "introtext" column
    Properly populate tags for all Journal Firehose entries
    Update journal/firehose import script
    pudge committed Oct 9, 2008
  12. Dynamic ad updates

    pudge committed Oct 9, 2008
  13. Misc. thingys

    pudge committed Oct 9, 2008
  14. Drop timer

    pudge committed Oct 9, 2008
  15. No closures in .pl's

    pudge committed Oct 9, 2008
  16. Add email for cross-site users

    pudge committed Oct 9, 2008
  17. Change slashbox widths

    tvroom committed Oct 9, 2008
  18. prefs_messages;ajax;default: Added admin options for Console display

    display;remarks;default: Made story titles links, removed the '[Edit]' link, and increased
    the number of characters in the title's display.
    Christopher Brown committed Oct 9, 2008
  19. Fixing positioning of tag collased for unregisted users

    Vlad Kulchytskyy committed Oct 9, 2008
  20. Fixing tag widget running into "READ MORE"

    Vlad Kulchytskyy committed Oct 6, 2008
  21. Making tags colour on .head #fff

    Vlad Kulchytskyy committed Oct 3, 2008
  22. Floating slashbox ad: deal with updates, no screen pinning, speed up …

    After a demo, Rob asked me to remove pinning to the screen; logic simplified accordingly.
    Added 'articlesMoved' event to #firehoselist; trigger it in almost all the places needed.
    Bind fix_ad_position() to this event.  Ads cannot be detached from their articles, so
    removed detach from the interface.  Similarly, only 300x300 will be supported, so no more
    Patrick McGarry notes that we may want to remove an ad if its article gets collapsed high
    enough in the firehose that the ad (pinned to the bottom of your slashboxes) no longer
    has any overlap with it.  To allow for this case and others, added events on the ad
    container itself; clients use Slash.Firehose.floating_slashbox_ad.bind/unbind as they
    would for any event.
    Under the assumption that firehose articles are displayed in order from top to bottom, we
    can improve the logic for finding the on-screen subset.  Previous code looked at every
    element, and calculated every value from scratch at each step.  With this commit, I
    search testing the minimal values until I find the first on-screen article in the list;
    then continue calculating _only_ the article tops until I find the first article below
    the screen.  I then break out of the list.  So I may examine very few elements.  The code
    could be faster for large lists where you are looking near the end of the list on screen
    by doing a binary search instead of linear.  For lists of smaller than a few hundred
    articles, binary search would probably be overkill.
    committed Oct 8, 2008
Commits on Oct 8, 2008
  1. Floating Slashbox Ad for the firehose

    This commit adds the package Slash.Firehose.floating_slashbox_ad, and two extra methods
    to Slash.Firehose itself: choose_article_for_next_ad(), and articles_on_screen().
    Use it like this:
    	// Let's make a short-cut.
    	var floating_ad = Slash.Firehose.floating_slashbox_ad;
    	if ( ! floating_ad.is_visible() ) {
    		var $article = Slash.Firehose.choose_article_for_next_ad();
    		... get an iframe (or other ad content) from the ad server ...
    		floating_ad(ad_content, $article);
    The ad will be top-aligned with the article, but pinned to the bounds of the window
    and the empty space in the slashboxes column.  When the attached article is off-screen,
    the ad will be hidden.  If the attached article is scrolled back on-screen, the ad will
    be re-shown.
    If no article is provided (or if you call floating_ad.detach()), then the ad is not
    constrained by an article.  Setting an ad, as above, automatically clears the
    current ad; but you can do this manually as well: floating_ad.remove().  The ad position
    is 300px x 300px, unless you call floating_ad.set_size(new_height, new_width).  The
    new height must be an integer number of pixels, but the new width can be symbolic, e.g.,
    '100%'.  You can recover the article to which the current ad is attached with
    Slash.Firehose.articles_on_screen() returns a jQuery selection of all the articles that
    are currently visible and intersect the window bounds (even by 1px).  choose_article_for_next_ad()
    calls articles_on_screen() and then randomly selects an element from the returned list.
    Probably want to add code to the slashbox machinery to ensure the sentinel introduced here
    remains last in the list.
    committed Oct 8, 2008
Commits on Oct 7, 2008
Commits on Oct 6, 2008
Commits on Oct 4, 2008
  1. Despam typofix

    jamiemccarthy committed Oct 4, 2008
Commits on Oct 3, 2008