1. 07 Mar, 2019 2 commits
    • Robert Knight's avatar
      Replace Angular $http service with `window.fetch` in OAuthClient · 11ac0e25
      Robert Knight authored
      As part of the migration away from AngularJS, replace `$http` with
      `fetch` in the OAuthClient class which handles interactions with h's
      OAuth endpoints.
      
      For testing use the fetch-mock library that is already used in h's
      frontend tests. The current version (v7) has dependencies that are
      written in ES6 and not transpiled, and so don't work in PhantomJS [1]. As a
      workaround, use v6 of the library for the time being.
      
      This is part of #974.
      
      [1] We _do_ transpile our own code from ES6 -> ES5 but that transform is
          not applied to dependencies.
      11ac0e25
    • Robert Knight's avatar
      Add `window.fetch` polyfill for older browsers · cdc6a27f
      Robert Knight authored
      Also improve the documentation on how to add a new polyfill in future.
      cdc6a27f
  2. 05 Mar, 2019 8 commits
  3. 04 Mar, 2019 5 commits
  4. 01 Mar, 2019 3 commits
    • Robert Knight's avatar
      Only build client before publishing, not when running `yarn install` · 54ed311c
      Robert Knight authored
      Change the behavior where a production build of the client was triggered
      whenever `yarn install` was run. Instead only create a prod build when
      bumping the version or before publishing.
      
      This mostly makes local development more convenient as it avoids
      unnecessarily rebuilding the client after installing dependencies. It
      will also speed up Travis builds slightly as Travis always runs `yarn install`.
      
      Some Jenkins builds will be a little faster. Jenkins runs `make test`
      directly, which only runs `yarn install` if dependencies have changed
      since the last build. We may decide in future that Jenkins builds should always
      do a prod build as part of the testing process. Currently the prod build
      happens as part of the QA release step.
      
      This commit also changes the version and publishing lifecycle scripts to
      run the same commands. Previously they ran different commands without an
      obvious reason for doing so.
      54ed311c
    • Robert Knight's avatar
      Merge pull request #968 from hypothesis/fix-default-logo · d35bc102
      Robert Knight authored
      Fix default logo rendering
      d35bc102
    • Hannah Stepanek's avatar
      Add logo.svg and render it as default logo · f928fb25
      Hannah Stepanek authored
      The previous default rendering was broken because it was not escaping
      the svg correctly so the svg is now wrapped in encodeURIComponent.
      f928fb25
  5. 28 Feb, 2019 6 commits
  6. 27 Feb, 2019 4 commits
  7. 25 Feb, 2019 4 commits
  8. 22 Feb, 2019 7 commits
  9. 21 Feb, 2019 1 commit