[PR #2241] [MERGED] Added vendor dir for js/css libs; Documented sources (#1484) #16302

Closed
opened 2025-11-02 12:07:08 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2241
Author: @MTecknology
Created: 7/31/2017
Status: Merged
Merged: 8/23/2017
Merged by: @bkcsoft

Base: masterHead: master


📝 Commits (6)

  • 9f357b5 Cleaning up public/ and documenting js/css libs.
  • 0a4d60f Removing unused css file.
  • bc79f43 Cleaned up librejs.html and added javascript header
  • fd101eb Merge branch 'master' into master
  • d711a83 Updating SafeJS function per lint suggestion
  • 926cb40 Added VERSIONS file, per request

📊 Changes

1339 files changed (+813 additions, -126 deletions)

View changed files

📝 Makefile (+2 -2)
📝 modules/templates/helper.go (+6 -0)
public/assets/librejs/librejs.html (+0 -84)
public/css/github.min.css (+0 -1)
public/css/themes/github/LICENSE (+21 -0)
📝 public/js/index.js (+1 -1)
public/vendor/VERSIONS (+60 -0)
public/vendor/assets/font-awesome/LICENSE (+97 -0)
public/vendor/assets/font-awesome/css/LICENSE (+7 -0)
📝 public/vendor/assets/font-awesome/css/font-awesome.min.css (+0 -0)
📝 public/vendor/assets/font-awesome/fonts/FontAwesome.otf (+0 -0)
public/vendor/assets/font-awesome/fonts/LICENSE (+97 -0)
📝 public/vendor/assets/font-awesome/fonts/fontawesome-webfont.eot (+0 -0)
📝 public/vendor/assets/font-awesome/fonts/fontawesome-webfont.svg (+0 -0)
📝 public/vendor/assets/font-awesome/fonts/fontawesome-webfont.ttf (+0 -0)
📝 public/vendor/assets/font-awesome/fonts/fontawesome-webfont.woff (+0 -0)
📝 public/vendor/assets/font-awesome/fonts/fontawesome-webfont.woff2 (+0 -0)
public/vendor/assets/octicons/LICENSE (+21 -0)
📝 public/vendor/assets/octicons/octicons.eot (+0 -0)
📝 public/vendor/assets/octicons/octicons.min.css (+0 -0)

...and 80 more files

📄 Description

This PR resolves #1484 and moves vendor'ed javascript (and other) libraries to public/vendor/. It also moves the documentation to vendor/librejs.html and includes documentation for both js and non-js libs.

With this commit, it is easy to prove only free/open-source libraries are being used by gitea, which helps meet GNU ethical repository criteria (#1524).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2241 **Author:** [@MTecknology](https://github.com/MTecknology) **Created:** 7/31/2017 **Status:** ✅ Merged **Merged:** 8/23/2017 **Merged by:** [@bkcsoft](https://github.com/bkcsoft) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (6) - [`9f357b5`](https://github.com/go-gitea/gitea/commit/9f357b5622393792980ad18237e7d80a7707484f) Cleaning up public/ and documenting js/css libs. - [`0a4d60f`](https://github.com/go-gitea/gitea/commit/0a4d60f4f8a31c8240c663ba708b01ae19b2cd31) Removing unused css file. - [`bc79f43`](https://github.com/go-gitea/gitea/commit/bc79f4304927a70c2af68c186de0efa7e9ac2715) Cleaned up librejs.html and added javascript header - [`fd101eb`](https://github.com/go-gitea/gitea/commit/fd101eb4967b916252d86a78fcaa610a4820e830) Merge branch 'master' into master - [`d711a83`](https://github.com/go-gitea/gitea/commit/d711a83c498290d5b8c6fffe2f777fc911edbc4c) Updating SafeJS function per lint suggestion - [`926cb40`](https://github.com/go-gitea/gitea/commit/926cb40203569545940cde0deb20aefc6897a34e) Added VERSIONS file, per request ### 📊 Changes **1339 files changed** (+813 additions, -126 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+2 -2) 📝 `modules/templates/helper.go` (+6 -0) ➖ `public/assets/librejs/librejs.html` (+0 -84) ➖ `public/css/github.min.css` (+0 -1) ➕ `public/css/themes/github/LICENSE` (+21 -0) 📝 `public/js/index.js` (+1 -1) ➕ `public/vendor/VERSIONS` (+60 -0) ➕ `public/vendor/assets/font-awesome/LICENSE` (+97 -0) ➕ `public/vendor/assets/font-awesome/css/LICENSE` (+7 -0) 📝 `public/vendor/assets/font-awesome/css/font-awesome.min.css` (+0 -0) 📝 `public/vendor/assets/font-awesome/fonts/FontAwesome.otf` (+0 -0) ➕ `public/vendor/assets/font-awesome/fonts/LICENSE` (+97 -0) 📝 `public/vendor/assets/font-awesome/fonts/fontawesome-webfont.eot` (+0 -0) 📝 `public/vendor/assets/font-awesome/fonts/fontawesome-webfont.svg` (+0 -0) 📝 `public/vendor/assets/font-awesome/fonts/fontawesome-webfont.ttf` (+0 -0) 📝 `public/vendor/assets/font-awesome/fonts/fontawesome-webfont.woff` (+0 -0) 📝 `public/vendor/assets/font-awesome/fonts/fontawesome-webfont.woff2` (+0 -0) ➕ `public/vendor/assets/octicons/LICENSE` (+21 -0) 📝 `public/vendor/assets/octicons/octicons.eot` (+0 -0) 📝 `public/vendor/assets/octicons/octicons.min.css` (+0 -0) _...and 80 more files_ </details> ### 📄 Description This PR resolves #1484 and moves vendor'ed javascript (and other) libraries to public/vendor/. It also moves the documentation to vendor/librejs.html and includes documentation for both js and non-js libs. With this commit, it is easy to prove only free/open-source libraries are being used by gitea, which helps meet GNU ethical repository criteria (#1524). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:07:08 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16302