1. 02 Jul, 2014 3 commits
    • Ujvari Gergely's avatar
      ES Query type for streamer backend · 012d9cfa
      Ujvari Gergely authored
      ES Query_type is introduced as an option for our stream filter.
      This way the streaming backend can generate our regular,
      query_string and match query.
      
      Our uri field will use match query for perfomance improvement
      012d9cfa
    • Ujvari Gergely's avatar
      Remove clause parser · d20872b3
      Ujvari Gergely authored
      d20872b3
    • Ujvari Gergely's avatar
      Update uri mapping · 64a3b4f1
      Ujvari Gergely authored
      To move away from ES query_string, new mapping for the uri fields
      should be introduced.
      
      For the index_analyzer we use the pattern_capture filter to be
      able to split the uri field to our desire.
      64a3b4f1
  2. 01 Jul, 2014 1 commit
  3. 30 Jun, 2014 1 commit
    • Randall Leeds's avatar
      Small reset tweak in auth controller · 529b5f53
      Randall Leeds authored
      It's clearer if the form clears itself through a reset rather than
      waiting for it to happen later. This has the advantage of getting
      the password out of reachable memory sooner.
      
      Extending the scope rather than erasing its keys and replacing it
      with the base scope means the Auth controller can clear the form
      fields without clearing the session data in the scope.
      529b5f53
  4. 28 Jun, 2014 4 commits
    • Randall Leeds's avatar
      Merge pull request #1278 from hypothesis/1214-and-1266-auth-regressions · 37acc1c6
      Randall Leeds authored
      Fix regressions in auth errors and state resume
      37acc1c6
    • Randall Leeds's avatar
      Refactor the reset event slightly · 00d98163
      Randall Leeds authored
      Refactor the reset scope event for quicker app startup and stop
      using the reserved prefix that angular uses.
      
      - Rename $reset to reset
      - At the App controller, invoke the initialization code immediately
        rather than broadcasting an event. Every component should start
        by initializing itself rather than waiting for an event to be
        broadcast.
      00d98163
    • Randall Leeds's avatar
      Fix regressions in auth errors and state resume · baf9906d
      Randall Leeds authored
      Fix two recent regressions with authentication. The first is the lack
      of form error reporting. The second is the issue that ongoing highlight
      mode switches and edits don't proceed after login.
      
      - Unify all the interceptors related to sessioning. The interceptor for
        flash messages, csrf, and extracting the model from the session view
        responses is now all in session.coffee. This is better because it
        means other requests that don't return data in the same format aren't
        processed by these interceptors. It also makes it clearer which data
        the interceptors are processing; the CSRF interceptor may have been
        broken because the flash interceptor was discarding the data outside
        the model object.
      - The CSRF interceptor was also not returning a rejected promise on
        errors. This mistake caused the errors not to be propagated to the
        Auth form controller. Fix #1266.
      - The interaction between the Auth controller, session model changes,
        and scope resets is improved. The timeouts on the auth sheet are
        fixed so that they don't lose the ongoing mode switches and edits
        when the sheet is closed. Fix #1214.
      baf9906d
    • Randall Leeds's avatar
      Merge pull request #1274 from hypothesis/travis-timeouts · bf74c788
      Randall Leeds authored
      Re-jig the integration tests 
      bf74c788
  5. 27 Jun, 2014 3 commits
  6. 25 Jun, 2014 1 commit
  7. 24 Jun, 2014 5 commits
  8. 18 Jun, 2014 2 commits
  9. 17 Jun, 2014 2 commits
    • Randall Leeds's avatar
      Remove _annotator_mapsrc directory · 3b4fe339
      Randall Leeds authored
      It's not reasonable to be shipping this here. We should be including
      the source in the source map files or even including the source map
      inline in the source map comment. The Annotator master branch does
      this. For now, I'm putting the pressure on here. No source maps until
      we get off this damn fork.
      3b4fe339
    • Randall Leeds's avatar
      Update to typed-anchors@5c36e53 · 4dae28ce
      Randall Leeds authored
      Fix #1265
      4dae28ce
  10. 14 Jun, 2014 1 commit
  11. 12 Jun, 2014 2 commits
  12. 11 Jun, 2014 1 commit
    • Ujvari Gergely's avatar
      Handle spaces in tags · a5016d5b
      Ujvari Gergely authored
      The tag-it library is now configured to allow spaces.
      However by default the window.open() function converts
      the space characters in the query part of the uri to +
      The streamsearch controller is now handling this conversion too.
      
      Fixes #1254
      a5016d5b
  13. 05 Jun, 2014 5 commits
  14. 04 Jun, 2014 1 commit
    • Randall Leeds's avatar
      Clean up streamer and base URI usage · 5bfb0834
      Randall Leeds authored
      Factor out a socket factory into a service and send the client ID only
      before the first message. Configure the client ID and this service in a
      new module, h.socket. Fix the base URI to end in a slash and to be the
      root URL of the server.
      5bfb0834
  15. 03 Jun, 2014 4 commits
  16. 30 May, 2014 2 commits
  17. 29 May, 2014 2 commits