1. 16 Oct, 2015 3 commits
  2. 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
  3. 14 Oct, 2015 7 commits
  4. 13 Oct, 2015 13 commits
  5. 12 Oct, 2015 3 commits
  6. 09 Oct, 2015 9 commits