Issue 181: Asks before switching from detail view if an unsaved not-empty reply is open.
Issue #181: Asks before switching from detail view if an unsaved not-empty reply is open.
Merge branch '181-alert-for-unsaved-dialog-in-detail-view' of https://github.com/gergely-ujvari/h into 181-alert-for-unsaved-dialog-in-detail-view
Added fix for issue #181 to handle well multiple opened editors.
Issue #181 -Extended close-confirm functionality to newly created annotations too.
Issue #26: Added handle (for the toolbar) to resize the tool
Improved cross-browser compatibility.
Merge pull request #214 from gergely-ujvari/26-add-handle-to-left-edge-of-the-sidebar-to-resize-it

26 add handle to left edge of the sidebar to resize it
manage an XSRF-TOKEN cookie

AngularJS expects a JavaScript-readable cookie named 'XSRF-TOKEN'
to contain the cross site request forgery token. Since Pyramid
stores this in the session, introduce a custom session factory
which uses `pyramid_beaker` but transparently manages this extra
cookie so that it always matches the value in the session. Add a
subscriber so that POST requests are automatically updated with
the value Angular sends in the request headers.

This makes passing the token in a hidden field of the forms
obsolete when AngularJS is present.
add angularjs and legalese
angular deform module

Expose deform as an AngularJS service so that it can be injected.
Create a deform directive which creates data bindings for forms
serialized by deform.
stub angular services module
angular directives module with navTabs directive

Add a directives module. For now it has one directive, 'navTabs',
which automatically focuses the first input element when switching
tabs.
convert the annotator into an angular app
rename hypothesis.coffee -> controllers.coffee
add forms and schemas modules

These modules serve two purposes. One is to split up the schemas
and the forms, decoupling the two, so that the schemas can be used
independently and everything is resolved through interfaces. The
other is to reduce boilerplate in controllers by calculating form
ids with a metaclass.
add an invalid form message
clean up interfaces.py
fixup schemas/forms
remove api.token in favor of stub OAuth provider