1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
gitea/templates/repo
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
..
diff Missing signed commit display translation (#2134) 2017-07-10 09:46:06 +08:00
editor repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032) 2017-06-22 23:30:47 +08:00
issue Fix search by issue type (#1914) 2017-06-15 05:09:03 +02:00
pulls resolved #310: hide fork to self (#323) 2016-12-01 18:51:50 +08:00
release Attach to release (#673) 2017-01-15 22:57:00 +08:00
settings fix webhook link 2017-08-11 03:45:54 +02:00
wiki Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
bare.tmpl Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
branch_dropdown.tmpl More tweaks to repo top panel (#2267) 2017-08-13 19:49:38 -03:00
commits_table.tmpl Show commit status icon in commits table (#1688) 2017-05-07 22:40:31 +08:00
commits.tmpl Use whole button as link 2017-03-27 12:46:46 +02:00
create.tmpl Dropped link to Gogs docs from template 2016-11-07 14:49:25 +01:00
forks.tmpl #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
graph.tmpl Make issue in commit graph "clickable" (#1392) 2017-03-30 18:05:38 +08:00
header.tmpl EnableUnit() -> UnitEnabled() (#2242) 2017-08-02 11:46:54 +03:00
home.tmpl More tweaks to repo top panel (#2267) 2017-08-13 19:49:38 -03:00
migrate.tmpl Add notice that LFS mirroring is not supported (#1251) 2017-03-16 19:33:22 +08:00
user_cards.tmpl Added rel="noopener" to target="_blank" hrefs (#327) 2016-12-02 09:12:16 +08:00
view_file.tmpl Moved vendored js/css into public/vendor and documented sources (#1484) (#2241) 2017-08-23 16:58:05 +02:00
view_list.tmpl Remove sha1 hash display in repository table and add latest commit GPG check (#1678) 2017-05-05 15:15:36 +08:00
watchers.tmpl #1692 APIs: Users Followers 2015-12-21 04:24:11 -08:00