1. 27 May, 2014 4 commits
    • csillag's avatar
      Set the default sort to , as requested in #1231. · b17d4dce
      csillag authored
      b17d4dce
    • csillag's avatar
      Implement location sort. · 5fc45562
      csillag authored
      The only way to get information about the location of the annotations
      in the document is to request this information from the highlights.
      
      This information can't be read out from the selectors, because anchoring
      can place them *anywhere* in the document.
      
      They also can't be read from the anchors, because anchors can contain
      any kind of description; there is no mapping to any uniform coordinate
      system.
      
      The only way to get this information is to ask the hights for
      the coordinates, after they have been rendered.
      
      So this must be done after the second-phase of anchoring; after the
      rendering of the highlights in the DOM.
      
      So now we query this info from the highlights (upon rendering
      in the host fram), and then store it back into the targets,
      which are then sent back to the sidebar, so that this information
      is available for sorting.
      
      Fixes #1217.
      5fc45562
    • csillag's avatar
      Don't try to show annotations with null IDs in the sidebar · eb42da74
      csillag authored
      When an annotation has not been saved yet, it does not have
      a real ID. In these cases, it does not make sense to try to
      send the empty ID over the RPC channel to try to display the
      (yet) non-exisitent annotation card in the sidebar.
      
      There is already some filtering for this on the other side,
      but I think it makes sense to filter out invalid element
      as soon as possible.
      eb42da74
    • Randall Leeds's avatar
      Remove unused dark-noise CSS · 53bb07a8
      Randall Leeds authored
      53bb07a8
  2. 26 May, 2014 1 commit
  3. 24 May, 2014 1 commit
  4. 23 May, 2014 3 commits
  5. 22 May, 2014 7 commits
  6. 21 May, 2014 2 commits
  7. 20 May, 2014 5 commits
  8. 16 May, 2014 2 commits
  9. 15 May, 2014 8 commits
  10. 12 May, 2014 2 commits
  11. 11 May, 2014 2 commits
  12. 09 May, 2014 3 commits
    • Randall Leeds's avatar
      f84dcc04
    • Randall Leeds's avatar
      Merge pull request #1186 from hypothesis/horus-overhaul · a45b9e69
      Randall Leeds authored
      Overhaul horus view handling
      a45b9e69
    • Randall Leeds's avatar
      Overhaul horus view handling · 68518bea
      Randall Leeds authored
      Refactor the views module to limit code exposure to horus.
      
      - Implement a view mapper that acts on the horus class-based form
        views to coerce the result to a dictionary. This mapper pulls most
        of the request and response munging away from the horus view logic
        overrides, which are left as simple subclasses. Page views for horus
        now fire login/logout events and work around eventray/horus#43 for
        password resets.
      - Improve error reporting by showing flash messages only for colander
        errors, letting horus handle the rest. Remove corresponding hack in
        client-side flash handling.
      68518bea