1. 19 Oct, 2015 1 commit
  2. 16 Oct, 2015 6 commits
  3. 15 Oct, 2015 5 commits
    • Robert Knight's avatar
      Merge pull request #2619 from hypothesis/explicit-settings-for-websocket · 4490b70c
      Robert Knight authored
      Explicit settings for websocket
      4490b70c
    • Nick Stenning's avatar
      Use websocket URL provided in settings · 8334e2f7
      Nick Stenning authored
      Rather than constructing a URL from hard-coded defaults in the streamer
      service, we pass the websocket URL from the backend in the settings
      object and use this when opening the websocket.
      8334e2f7
    • Nick Stenning's avatar
      Load API URL from a settings object, not a <link> tag · c1d03a03
      Nick Stenning authored
      The approach of embedding a link tag in the app.html doesn't really give
      us a great deal of flexibility. URLs within the application, perhaps as
      a result, tend to be created either from baseURI or from the API URL,
      called `serviceUrl` in the code.
      
      This commit leaves the <base> tag alone, but:
      
      - replaces the serviceUrl <link> tag with a settings object,
        `window.hypothesis.settings` which is inlined into app.html.
      - replaces the serviceUrl angular service with a generic settings
        service.
      - renames serviceUrl to apiUrl, to make its purpose more obvious.
      c1d03a03
    • Nick Stenning's avatar
      Merge pull request #2616 from robertknight/t90-top_bar_refactor · a3f7a2cc
      Nick Stenning authored
      T90 top bar refactor
      a3f7a2cc
    • Robert Knight's avatar
      Extract top bar component into own directive · 6f907ad2
      Robert Knight authored
      In preparation for implementing the new top-bar
      design, extract it into its own directive.
      
       * Refactor the 'persona' filter into a simple
         function that returns a {username, provider}
         object which IMO makes for more straightforward
         code.
      
         Several of the test cases which deal with inputs
         not in that form were removed.
      
         If account IDs are not guaranteed to be in
         the 'acct:<username>@<provider>' form then
         we should be explicit about what is accepted
         and what is returned.
      
      T-90
      6f907ad2
  4. 14 Oct, 2015 7 commits
  5. 13 Oct, 2015 13 commits
  6. 12 Oct, 2015 3 commits
  7. 09 Oct, 2015 5 commits
    • Robert Knight's avatar
      Merge pull request #2605 from hypothesis/remove-streamer-flag · 6d1eccd9
      Robert Knight authored
      Remove the 'streamer' feature flag
      6d1eccd9
    • Robert Knight's avatar
      Let the annotation post button resize to fit its content · 35af9e63
      Robert Knight authored
      Remove the fixed width from the annotation post button
      and let the dropdown menu's width adjust to fit its
      content rather than being the same width as the button.
      
      To avoid the menu disappearing into the left edge of
      the sidebar, the menu has been re-aligned so that
      it is centered underneath the button's dropdown arrow.
      
       * Simplify the styling used to hide the dropdown menu
         to use just the visibility property instead of
         setting pointer events to none, applying a rotation transform
         _and_ setting opacity to 0.
      
         I'm unclear why the combination of a transform, pointer events
         and opacity was used originally but the dropdown menus
         continue to work with the simplified styling.
      
      T-112
      35af9e63
    • Nick Stenning's avatar
      Remove flash on submitting forgot password form · 8a46ae38
      Nick Stenning authored
      Rather than flashing a message to check the user's email, display a
      persistent message on the reset password form if the code has not been
      prefilled.
      8a46ae38
    • Nick Stenning's avatar
      Remove client-side auth/registration form code · 943ad869
      Nick Stenning authored
      This commit removes all of the client-side code for handling the
      following forms:
      
      - registration
      - forgot password
      - reset password
      
      The login form remains, as it is of course very convenient to be able to
      log into Hypothesis from the sidebar.
      943ad869
    • Nick Stenning's avatar
      Remove unused $scope.shouldShowThread · ebd343dc
      Nick Stenning authored
      The code that depended on this scope variable was moved into the
      ThreadController in 0e2bd59. It is no longer referenced anywhere.
      ebd343dc