0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 18:04:12 +01:00
gitea/public/vendor/plugins/pdfjs/web/images
Michael Lustfield a915a09e4f Moved vendored js/css into public/vendor and documented sources (#1484) (#2241)
* Cleaning up public/ and documenting js/css libs.

This commit mostly addresses #1484 by moving vendor'ed plugins into a
vendor/ directory and documenting their upstream source and license in
vendor/librejs.html.

This also proves gitea is using only open source js/css libraries which
helps toward reaching #1524.

* Removing unused css file.

The version of this file in use is located at:
  vendor/plugins/highlight/github.css

* Cleaned up librejs.html and added javascript header

A SafeJS function was added to templates/helper.go to allow keeping
comments inside of javascript.

A javascript comment was added in the header of templates/base/head.tmpl
to mark all non-inline source as free.

The librejs.html file was updated to meet the current librejs spec. I
have now verified that the librejs plugin detects most of the scripts
included in gitea and suspect the non-free detections are the result of
a bug in the plugin. I believe this commit is enough to meet the C0.0
requirement of #1534.

* Updating SafeJS function per lint suggestion

* Added VERSIONS file, per request
2017-08-23 16:58:05 +02:00
..
annotation-check.svg Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
annotation-comment.svg Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
annotation-help.svg Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
annotation-insert.svg Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
annotation-key.svg Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
annotation-newparagraph.svg Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
annotation-noicon.svg Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
annotation-note.svg Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
annotation-paragraph.svg Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
findbarButton-next-rtl.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
findbarButton-next-rtl@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
findbarButton-next.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
findbarButton-next@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
findbarButton-previous-rtl.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
findbarButton-previous-rtl@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
findbarButton-previous.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
findbarButton-previous@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
grab.cur Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
grabbing.cur Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
loading-icon.gif Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
loading-small.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
loading-small@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-documentProperties.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-documentProperties@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-firstPage.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-firstPage@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-handTool.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-handTool@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-lastPage.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-lastPage@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-rotateCcw.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-rotateCcw@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-rotateCw.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
secondaryToolbarButton-rotateCw@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
shadow.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
texture.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-bookmark.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-bookmark@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-download.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-download@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-menuArrows.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-menuArrows@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-openFile.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-openFile@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-pageDown-rtl.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-pageDown-rtl@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-pageDown.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-pageDown@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-pageUp-rtl.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-pageUp-rtl@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-pageUp.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-pageUp@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-presentationMode.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-presentationMode@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-print.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-print@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-search.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-search@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-secondaryToolbarToggle-rtl.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-secondaryToolbarToggle-rtl@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-secondaryToolbarToggle.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-secondaryToolbarToggle@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-sidebarToggle-rtl.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-sidebarToggle-rtl@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-sidebarToggle.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-sidebarToggle@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-viewAttachments.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-viewAttachments@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-viewOutline-rtl.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-viewOutline-rtl@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-viewOutline.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-viewOutline@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-viewThumbnail.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-viewThumbnail@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-zoomIn.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-zoomIn@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-zoomOut.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
toolbarButton-zoomOut@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
treeitem-collapsed-rtl.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
treeitem-collapsed-rtl@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
treeitem-collapsed.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
treeitem-collapsed@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
treeitem-expanded.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
treeitem-expanded@2x.png Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00