config: pdfopt workaround

* Adds a workaround for missing pdfopt in Ghostscript 9.0.7+, as suggested at:
http://invenio-software.org/ticket/1560
See also: http://invenio-software.org/ticket/1561

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
static: silog addition (REMOVE)
comments: notes and PDF preview features

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: first commit

* Adds front- and back-end skeletons;

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: JSON models

* Uses JSONAlchemy and MongoDB.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: functioning add/ view actions

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: additions and fixes

* JSONAlchemy namespace;
* AJAX form submission;
* Tweaks annotations menu tabs;
* Requires login for adding annotations;
* Uses Invenio global configuration.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: file attachments and other fixes

* Attach file form with backend skeleton;
* Explicit creation date JSON field;
* Simple public/ private view permissions;
* "Contextified" Jinja2 macros.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
previewer: pdftk addition

* Moves the PDF previewer demo from comments to previewer module.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotation: annotations rename

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotations: fixes

* Module rename fixes.

* Removes strange instantiation in annotations.js.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>