Permalink
Commits on Jan 31, 2018
Commits on Jan 30, 2018
  1. fix enacted_by_day time span

    JoshData committed Jan 30, 2018
  2. rewrite explanatory text on misonduct page ahead of landing the exten…

    JoshData committed Jan 30, 2018
    …ded database back to 1789 today
Commits on Jan 27, 2018
  1. recommend the right memcached configuration url

    JoshData committed Jan 27, 2018
    We've been using the old pure-Python memcached library in production. The new one might be faster but also errors when values exceed the max value size, which is helpful for diagnosing cache problems.
  2. bill prognosis was not being cached because the value was over memcac…

    JoshData committed Jan 27, 2018
    …hed limits
    
    So every request for a prognosis, especially in bill search results, was hitting the hard disk
    for each bill.
    
    To stay within the 1 MB value limit, we only cache the prognosis number for each bill,
    not the explanatory text. The explanatory text is only used on bill pages, so we keep
    going to disk for those pages.
  3. bill-related db optmizations

    JoshData committed Jan 27, 2018
    One was missing an index. Bulk load search results.
Commits on Jan 26, 2018
  1. enable django_debug_toolbar

    JoshData committed Jan 26, 2018
Commits on Jan 23, 2018
  1. re-start the pop up that prompts users to follow us on social media, …

    JoshData committed Jan 23, 2018
    …and add more things they should do to get started on govtrack
  2. press hits

    JoshData committed Jan 23, 2018
  3. tweaks

    JoshData committed Jan 23, 2018
Commits on Jan 20, 2018
  1. bill history improvements

    JoshData committed Jan 20, 2018
    * show vote details for cloture votes
    * hide 'Considered by House Committee on Rules'
    * merge entries for 'Text Published' for 'Reported in House/Senate' status with 'Reported by ...' enties with committee report links in cases where there isn't a REPORTED status change, e.g. if the report comes after the ordered reported date or when there's a report in the second chamber
Commits on Jan 19, 2018
  1. add a link for admins on vote pages to edit the vote instance itself …

    JoshData committed Jan 19, 2018
    …in case of incorrect titles
  2. also replace the vote page leaderboard ad with a right column square …

    JoshData committed Jan 19, 2018
    …when there's a vote summary (I previously did the case of a bill summary)
  3. more vote page tweaks

    JoshData committed Jan 19, 2018
Commits on Jan 17, 2018
  1. move computation of trending feeds out of template context processors…

    JoshData committed Jan 13, 2018
    … and into the only view where it is displayed
    
    It was cached, but the times where there's a cache miss -- expecially on site startup -- might be expensive.
  2. remove dead code loading all recent tracked events

    JoshData committed Jan 13, 2018
    It was in template_context_processors so it was executing on every page load, and even though it was cached (assuming the cache was working), it probably slowed down site startup times as every process made the query before the first one successfully cached the result.
  3. misc tweaks

    JoshData committed Jan 13, 2018
  4. re-do party colors starting with new hue values from democrats.org an…

    JoshData committed Jan 17, 2018
    …d gop.com and matching perceptual lightness
  5. add a square ad to the right of vote summaries

    JoshData committed Jan 17, 2018
    Also it's nice to have a less wide text run.
Commits on Jan 12, 2018
  1. press hit

    JoshData committed Jan 12, 2018
Commits on Jan 10, 2018
Commits on Jan 9, 2018
  1. fix Sen. Tina Smith's next election year because it's a special elect…

    JoshData committed Jan 9, 2018
    …ion since she was appointed