1. 15 Oct, 2015 3 commits
    • 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
  2. 14 Oct, 2015 7 commits
  3. 13 Oct, 2015 13 commits
  4. 12 Oct, 2015 3 commits
  5. 09 Oct, 2015 11 commits
  6. 08 Oct, 2015 3 commits