summaryrefslogtreecommitdiffstats
path: root/public/assets
Commit message (Collapse)AuthorAgeFilesLines
* Moved vendored js/css into `public/vendor` and documented sources (#1484) ↵Michael Lustfield2017-08-2326-1513/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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
* Fix FOUC on Firefox (#1728)Sondre Nilsen2017-05-311-0/+9
| | | | | | | | | Firefox users will experience a flash of unstyled content on loading various pages, this patch will fix this issue using Filament Groups loadCSS library to asynchronously load the CSS responsible for the FOUC. Will fix #1698. Signed-off-by: Sondre Nilsen <nilsen.sondre@gmail.com>
* Fix static files permission under public/ (#1675)Peter Dave Hello2017-05-056-0/+0
|
* Generate swagger json (#1402)Antoine GIRARD2017-05-0212-0/+310
| | | | | | | - Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
* Add LibreJS support (#1201)Sandro Santilli2017-03-121-0/+75
| | | | | See See https://www.gnu.org/software/librejs/ Closes #1200
* Upgrade octicon to 4.3.0Unknwon2016-07-1611-414/+430
|
* Upgrade frontend assetsUnknwon2016-07-0712-18/+48
|
* Update frontend resourcesUnknwon2016-03-076-1/+3
|
* Fix chmod for several files in conf/locale/ and public/Florian Kaiser2016-02-187-0/+0
|
* Update and reorganize front-end resourcesUnknwon2016-01-3012-0/+1071