Sandbox assets w/scripts, resize nicely (#187).

- Add endpoint for rendering asset content in minimal html doc.
- storybase_asset.HtmlAsset.render_html wraps any asset with a script
	in an iframe with src pointing to bare asset endpoint.
- Add tests for storybase_asset.HtmlAsset.has_script
- Handle iframe-wrapped asset loading and resizing in both builder
	and viewer.
- Unify fix for issue #469 via more general methods in
	storybase.views.
Sandbox assets w/scripts, resize nicely (#187).

- Add endpoint for rendering asset content in minimal html doc.
- storybase_asset.HtmlAsset.render_html wraps any asset with a script
in an iframe with src pointing to bare asset endpoint.
- Add tests for storybase_asset.HtmlAsset.has_script
- Handle iframe-wrapped asset loading and resizing in both builder
and viewer.
- Unify fix for issue #469 via more general methods in
storybase.views.
- Don't resize container figure element with hard pixel value.
- Bind resize behavior to window resize event. I'm not really sure how
this was working before. The resize event on 'figure img' selectors
was not firing.
- Add removal of window event binding via ViewerApp.remove method. I
don't think this will be called as currently configured, but added for
completeness.
Fix for merge conflict with origin (#187)
Sandbox assets w/scripts, resize nicely (#187).

- Add endpoint for rendering asset content in minimal html doc.
- storybase_asset.HtmlAsset.render_html wraps any asset with a script
in an iframe with src pointing to bare asset endpoint.
- Add tests for storybase_asset.HtmlAsset.has_script
- Handle iframe-wrapped asset loading and resizing in both builder
and viewer.
- Unify fix for issue #469 via more general methods in
storybase.views.
- Don't resize container figure element with hard pixel value.
- Bind resize behavior to window resize event. I'm not really sure how
this was working before. The resize event on 'figure img' selectors
was not firing.
- Add removal of window event binding via ViewerApp.remove method. I
don't think this will be called as currently configured, but added for
completeness.
Fix merge conflict from origin (#187).
Remove imagesloaded plugin (#187).
Make share widget popup scalable (#545).

- Resizable via browser-supplied textarea.
- Provides some border for widget on IE8 which doesn't support
box-shadow. Also looks nice on other platforms.
Make messages color darker (#533).

Use medium-gray gray value for ul.messages rather than light-gray.
Difficult to be certain that this change won't make some other use
of ul.messages unreadable, but a brief search didn't turn up anything
obvious, and the change in value is smallish.
Make viewer header sticky (#772).

Make viewer header position:fixed when scrollTop is not 0. Handle
offset for body when this happens via padding-top. This is all
handled in JS rather than partly in CSS and partly in JS.
Cross-tested against issue #684; works ok.
Fix editing of uploaded image assets in builder

Allow editing asset types that are backed by the ``LocalImageAsset``
Django model when no new image file is specified.

This is particularly important when editing chart assets, since
one might want to update the asset after attribution after the
model has been created.

Update ``AssetResource.get_object_class`` to return the model class
of ``bundle.obj`` when updating an existing model. This returns the
correct class, even when an identifying bundle field is missing,
avoiding the "You must specify an image, body, or url" error when
updating an existing model instance, but not changing the ``image``
field.

On the front end, remove undefined/empty ``image`` attributes
before updating the Backbone ``Asset`` model so that the existing
value of the ``image`` field will not be clobbered by a null value.

Addresses #794
Merge branch '187-embedded-chart-in-builder' of https://github.com/patternleaf/atlas

Addresses #187
Merge pull request #796 from patternleaf/545-sharing-widget-resize

Make share widget popup scalable (#545).
Update changelog for #187, #545 fixes
Merge branch 'develop' of github.com:PitonFoundation/atlas into develop
Move caption into asset edit form (#765).

Uncomment line in static/js/models.js to include caption in asset
editing form. Remove special-case code for editing captions
in-place.
Remove dependency on jeditable plugin (#765).

Update readme, builder template, and spec runner. Remove plugin
files.
Don't defer every src load in builder (#800).

The deferSrcLoad method takes "selector" as option key, rather than
"assetSelector". It was therefore selecting the default "*[src]".
Cross-checked against #187 test cases.
Merge pull request #802 from patternleaf/800-images-deferred

Don't defer every src load in builder (#800).
Render non-oEmbed ExternalAssets using img tag

When no oEmbed provider is available for a given URL, we assume
the URL points directly to a file.  Based on any file in the URL
try to guess the mime type and if it's an image type that can be
displayed in most browsers, output an ``img`` tag with the ``src``
attribute set to the asset's URL.

Addresses #803
Fix poorly-merged event declaration (#804).

A merge reintroduced an event declaration in the viewer for a
function which no longer exists. Take that out.