1. 08 Mar, 2017 5 commits
  2. 06 Mar, 2017 11 commits
  3. 03 Mar, 2017 1 commit
  4. 02 Mar, 2017 3 commits
  5. 01 Mar, 2017 11 commits
  6. 28 Feb, 2017 5 commits
    • Robert Knight's avatar
      Make boot script load settings from correct config tags (#243) · 68be70df
      Robert Knight authored
      An inconsistency crept in where the annotator code reads settings from
      JSON script tags with a 'js-hypothesis-config' class name but the sidebar app
      reads settings from JSON script tags with a 'js-hypothesis-settings'
      class name. The boot script ended up using 'js-hypothesis-settings'
      which is the default class name specified in `settings.js`.
      
      We should use the same name everywhere, which needs to be
      'js-hypothesis-config' since that is used by the public documentation
      [1].
      
      This commit changes the default class to `js-hypothesis-config` and
      removes the ability to specify alternative class names when calling
      `settings()`.
      
      The extension and service will need to be updated to use the new class
      name.
      
      [1] See docs/config.md
      68be70df
    • Nick Stenning's avatar
      Merge pull request #229 from hypothesis/package-content-server · e743717c
      Nick Stenning authored
      Add an express server which serves the package's contents.
      e743717c
    • Sean Hammond's avatar
      Merge pull request #262 from hypothesis/fix-pdf-quote-anchoring-2 · 5b836627
      Sean Hammond authored
      Fix PDF quote anchoring (Part II)
      5b836627
    • Sean Hammond's avatar
      Support onLogin callbacks from partner sites · 0ca108c0
      Sean Hammond authored
      When the client is embedded in a partner site and a login button in the
      client is clicked, call the JavaScript onLogin function that was
      provided to us by the partner via the window.hypothesisConfig function.
      
      When not embedded in a partner site, just prompt for a first-party login
      as normal.
      
      Note that this means that if the client is embedded in a partner site
      with no onLogin callback in window.hypothesisConfig, then nothing will
      happen when the login button in the client is clicked.
      0ca108c0
    • Sean Hammond's avatar
      Separate bridge events by direction · 473fa634
      Sean Hammond authored
      Separate bridge events sent from sidebar to annotator and from annotator
      to sidebar into two separate sections in the source code. Just to make
      documentation of the events clearer.
      473fa634
  7. 27 Feb, 2017 4 commits