Update api.rst
Update api.rst
Update PDF plugin

... to 18d8f72a (typed-packaging branch),
which brings support for the PDF.js version
shiping with FF35.
Updated content security policy.

Modified the content security policy to allow getting MathJax resources from cdn.mathjax.org and downloading KaTex fonts for rendering math.
Merge pull request #1779 from hypothesis/update-CSP-chrome

Updated content security policy.
Merge pull request #1775 from hypothesis/update-pdfjs-support

Update PDF plugin
Try installing ICU plugin on Travis
Raise a error if the ICU plugin is not installed

This plugin is required by ElasticSearch and provides installation
instructions when required. This was causing issues for new contributors
who missed this part of the README.
Postpone the scanning

... to the point when the panel is already ready.

Hopefully, this makes the sidebar connect and appear sooner.

We can't delay in any further, because setting the
visible highlights (which happens in the next line)
will trigger a bucket bar (a.k.a. heatmap) refresh,
and the heatmap uses information produced by the scanning.
Merge pull request #1783 from hypothesis/delay-scanning

Postpone the scanning
Further clean out h/__init__.py

It's useful to put these app-level things, like the root factory,
favicon and status check routes, outside the package root so that
the package can be included into other applications without messing
with their setup.

It also means that if h includes some other package that sets a
different root factory, it gets overridden by the one provided here.
rename actuallyShowFrame -> showFrame

O_O
Set root factory in extension

Needed after 85a04435f19f2dfce854db44bae301d66a37a242
Remove an unused event

The original commit that introduced this (by @csillag) does not at
all describe why it was added. Nothing in this project listens
for it.
Move /api/search -> /api/annotations

These are saner semantics. The index should be the index, and accept
queries. There is no need for an explicit search endpoint.
Allow data: URIs for fonts in Chrome CSP
Load pyramid_multiauth before pyramid_basemodel

Here's a thing I think I broke somehow with recent commits shuffling
about the __init__.py and app.py modules.

We must make sure pyramid_basemodel is loaded after the modules that
set up the models.

In our case, the local auth models need to be loaded.
Put the API behind a feature flag
Disable the API when building the extension

It's not necessary at all to load this module when all that is needed
is to bundle some assets and pages together.
Merge pull request #1785 from hypothesis/unused-annotator-ready-event

Remove an unused event