mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
commit
3b2540d30d
10
.gitignore
vendored
10
.gitignore
vendored
@ -2,9 +2,13 @@
|
||||
/_site
|
||||
/node_modules
|
||||
/.bundle
|
||||
assets/vendor/zeroclipboard/docs
|
||||
assets/vendor/zeroclipboard/src
|
||||
assets/vendor/zeroclipboard/test
|
||||
assets/vendor/clipboard/src
|
||||
assets/vendor/clipboard/test
|
||||
assets/vendor/selectivizr/tests
|
||||
assets/vendor/qtip2/basic
|
||||
/vendor
|
||||
/.sass-cache
|
||||
.ruby-version
|
||||
/tmp
|
||||
Gemfile.lock
|
||||
.jekyll-metadata
|
||||
|
20
.rubocop.yml
Normal file
20
.rubocop.yml
Normal file
@ -0,0 +1,20 @@
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.5
|
||||
Exclude:
|
||||
- _site/**/*
|
||||
- vendor/**/*
|
||||
|
||||
Metrics/BlockLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/LineLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/MethodLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/AbcSize:
|
||||
Enabled: false
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
@ -1 +0,0 @@
|
||||
2.0.0
|
17
.travis.yml
17
.travis.yml
@ -5,7 +5,15 @@ script: "./script/cibuild"
|
||||
#environment
|
||||
language: ruby
|
||||
rvm:
|
||||
- 2.0.0
|
||||
- 2.5.3
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libcurl4-openssl-dev
|
||||
|
||||
before_install:
|
||||
- gem update --system
|
||||
|
||||
branches:
|
||||
only:
|
||||
@ -14,3 +22,10 @@ branches:
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
env:
|
||||
global:
|
||||
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
|
||||
|
||||
sudo: false
|
||||
cache: bundler
|
||||
|
71
CODE_OF_CONDUCT.md
Normal file
71
CODE_OF_CONDUCT.md
Normal file
@ -0,0 +1,71 @@
|
||||
Contributor Covenant Code of Conduct
|
||||
|
||||
Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as
|
||||
contributors and maintainers pledge to making participation in our project and
|
||||
our community a harassment-free experience for everyone, regardless of age, body
|
||||
size, disability, ethnicity, gender identity and expression, level of experience,
|
||||
nationality, personal appearance, race, religion, or sexual identity and
|
||||
orientation.
|
||||
|
||||
Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment
|
||||
include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
* Gracefully accepting constructive criticism
|
||||
* Focusing on what is best for the community
|
||||
* Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or
|
||||
advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or electronic
|
||||
address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable
|
||||
behavior and are expected to take appropriate and fair corrective action in
|
||||
response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or
|
||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||
that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||
permanently any contributor for other behaviors that they deem inappropriate,
|
||||
threatening, offensive, or harmful.
|
||||
|
||||
Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces
|
||||
when an individual is representing the project or its community. Examples of
|
||||
representing a project or community include using an official project e-mail
|
||||
address, posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event. Representation of a project may be
|
||||
further defined and clarified by project maintainers.
|
||||
|
||||
Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project team at opensource+choosealicense.com@github.com. All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good
|
||||
faith may face temporary or permanent repercussions as determined by other
|
||||
members of the project's leadership.
|
||||
|
||||
Attribution
|
||||
|
||||
This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
|
||||
available at http://contributor-covenant.org/version/1/4/
|
@ -2,21 +2,37 @@
|
||||
|
||||
We love Pull Requests! Your contributions help make ChooseALicense.com great.
|
||||
|
||||
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [project's open source license](LICENSE.md).
|
||||
|
||||
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
|
||||
|
||||
## Getting Started
|
||||
|
||||
So you want to contribute to ChooseALicense. Great! We welcome any help we can
|
||||
get. But first, please make sure you understand what
|
||||
[this site is all about](http://choosealicense.com/about).
|
||||
[this site is all about](https://choosealicense.com/about). It’s not a comprehensive list of all possible licenses.
|
||||
|
||||
It’s not a comprehensive list of all possible licenses.
|
||||
## Adding a license
|
||||
|
||||
If you understand the goals of this site and still want to suggest a change,
|
||||
please:
|
||||
Choosealicense.com is intended to demystify license choices, not present or catalog all of them. As such, only a small number are highlighted on the home page or <https://choosealicense.com/licenses>, and there are several requirements for a license to be [cataloged](https://choosealicense.com/appendix/) on the site:
|
||||
|
||||
* Make sure you have a [GitHub account](https://github.com/signup/free)
|
||||
* Submit a ticket for your issue, assuming one does not already exist.
|
||||
* Clearly describe the issue including steps to reproduce when it is a bug.
|
||||
* Make sure you fill in the earliest version that you know has the issue.
|
||||
1. The license must have [an SPDX identifier](https://spdx.org/licenses/). If your license isn't registered with SPDX, please [request that it be added](https://spdx.org/spdx-license-list/request-new-license).
|
||||
2. The license must be listed on one of the following approved lists of licenses:
|
||||
* [List of OSI approved licenses](https://opensource.org/licenses/alphabetical)
|
||||
* [GNU's list of free licenses](https://www.gnu.org/licenses/license-list.en.html) (*note: the license must be listed in one of the three "free" categories*)
|
||||
* [Open Definition's list of conformant licenses](https://opendefinition.org/licenses/) (non-code)
|
||||
3. A [GitHub code search](https://github.com/search?q=MIT+filename%3ALICENSE&type=Code) must reveal at least *1,000* public repositories using the license
|
||||
4. Identification of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that could be detected by [licensee](https://github.com/benbalter/licensee) if it knew about the license
|
||||
|
||||
If your proposed license meets the above criteria, here's a few other things to keep in mind as you propose the license's addition:
|
||||
|
||||
* Is the license already cataloged? See <https://choosealicense.com/appendix/> for a list of all of the licenses known by the site.
|
||||
* Licenses live in the `/_licenses` folder.
|
||||
* The license files should be in the format of `_licenses/[lowercased-spdx-id].txt` (e.g., `_licenses/mit.txt`)
|
||||
* Each license has both [required and optional metadata](https://github.com/github/choosealicense.com#license-metadata) that should be included.
|
||||
* The text of the license should be wrapped to a 78 character width.
|
||||
* The text of the license should match the corresponding text found at https://spdx.org/licenses/
|
||||
* The body of the file should be the text of the license in plain text.
|
||||
|
||||
## Making Changes
|
||||
|
||||
@ -24,12 +40,12 @@ The easiest way to make a change is to simply edit a file from your browser.
|
||||
When you click the edit button, it will fork the repository under your account.
|
||||
Note what issue/issues your patch fixes in the commit message.
|
||||
|
||||
For example, to [change this file](https://github.com/github/choosealicense.com/blob/master/CONTRIBUTING.md),
|
||||
For example, to [change this file](/CONTRIBUTING.md),
|
||||
find it in the GitHub repository. Then click the `Edit` button. Make your
|
||||
changes, type in a commit message, and click the `Propose File Change` button.
|
||||
That’s it!
|
||||
|
||||
For more advanced changes, check out [the bootstrap instructions](https://github.com/github/choosealicense.com#run-it-on-your-machine) in the [project's readme](https://github.com/github/choosealicense.com/blob/master/README.md).
|
||||
For more advanced changes, check out [the bootstrap instructions](https://github.com/github/choosealicense.com#run-it-on-your-machine) in the [project's readme](/README.md).
|
||||
|
||||
## Testing
|
||||
|
||||
|
24
Gemfile
24
Gemfile
@ -1,9 +1,23 @@
|
||||
source "https://rubygems.org"
|
||||
ruby File.read(".ruby-version").strip
|
||||
# frozen_string_literal: true
|
||||
|
||||
gem "github-pages"
|
||||
source 'https://rubygems.org'
|
||||
|
||||
require 'json'
|
||||
require 'open-uri'
|
||||
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
|
||||
|
||||
gem 'github-pages', versions['github-pages']
|
||||
|
||||
group :development do
|
||||
gem 'colored'
|
||||
gem 'fuzzy_match'
|
||||
gem 'terminal-table'
|
||||
end
|
||||
|
||||
group :test do
|
||||
gem "html-proofer"
|
||||
gem "rake"
|
||||
gem 'html-proofer', '~> 3.0'
|
||||
gem 'licensee'
|
||||
gem 'rake'
|
||||
gem 'rspec'
|
||||
gem 'rubocop'
|
||||
end
|
||||
|
81
Gemfile.lock
81
Gemfile.lock
@ -1,81 +0,0 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
RedCloth (4.2.9)
|
||||
blankslate (2.1.2.4)
|
||||
classifier (1.3.4)
|
||||
fast-stemmer (>= 1.0.0)
|
||||
colorator (0.1)
|
||||
colored (1.2)
|
||||
commander (4.1.5)
|
||||
highline (~> 1.6.11)
|
||||
ethon (0.6.2)
|
||||
ffi (>= 1.3.0)
|
||||
mime-types (~> 1.18)
|
||||
fast-stemmer (1.0.2)
|
||||
ffi (1.9.3)
|
||||
github-pages (12)
|
||||
RedCloth (= 4.2.9)
|
||||
jekyll (= 1.4.2)
|
||||
kramdown (= 1.2.0)
|
||||
liquid (= 2.5.4)
|
||||
maruku (= 0.7.0)
|
||||
rdiscount (= 2.1.7)
|
||||
redcarpet (= 2.3.0)
|
||||
highline (1.6.20)
|
||||
html-proofer (0.4.1)
|
||||
colored (~> 1.2)
|
||||
mercenary (~> 0.2.0)
|
||||
nokogiri (~> 1.6.0)
|
||||
typhoeus (~> 0.6.7)
|
||||
jekyll (1.4.2)
|
||||
classifier (~> 1.3)
|
||||
colorator (~> 0.1)
|
||||
commander (~> 4.1.3)
|
||||
liquid (~> 2.5.2)
|
||||
listen (~> 1.3)
|
||||
maruku (~> 0.7.0)
|
||||
pygments.rb (~> 0.5.0)
|
||||
redcarpet (~> 2.3.0)
|
||||
safe_yaml (~> 0.9.7)
|
||||
toml (~> 0.1.0)
|
||||
kramdown (1.2.0)
|
||||
liquid (2.5.4)
|
||||
listen (1.3.1)
|
||||
rb-fsevent (>= 0.9.3)
|
||||
rb-inotify (>= 0.9)
|
||||
rb-kqueue (>= 0.2)
|
||||
maruku (0.7.0)
|
||||
mercenary (0.2.1)
|
||||
mime-types (1.25.1)
|
||||
mini_portile (0.5.2)
|
||||
nokogiri (1.6.1)
|
||||
mini_portile (~> 0.5.0)
|
||||
parslet (1.5.0)
|
||||
blankslate (~> 2.0)
|
||||
posix-spawn (0.3.8)
|
||||
pygments.rb (0.5.4)
|
||||
posix-spawn (~> 0.3.6)
|
||||
yajl-ruby (~> 1.1.0)
|
||||
rake (10.1.1)
|
||||
rb-fsevent (0.9.4)
|
||||
rb-inotify (0.9.3)
|
||||
ffi (>= 0.5.0)
|
||||
rb-kqueue (0.2.0)
|
||||
ffi (>= 0.5.0)
|
||||
rdiscount (2.1.7)
|
||||
redcarpet (2.3.0)
|
||||
safe_yaml (0.9.7)
|
||||
toml (0.1.0)
|
||||
parslet (~> 1.5.0)
|
||||
typhoeus (0.6.7)
|
||||
ethon (~> 0.6.2)
|
||||
yajl-ruby (1.1.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
github-pages
|
||||
html-proofer
|
||||
rake
|
@ -1,4 +1,4 @@
|
||||
Copyright (c) 2014 GitHub, Inc.
|
||||
Copyright (c) 2013-2018 GitHub, Inc. and contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
134
README.md
134
README.md
@ -1,28 +1,18 @@
|
||||
# Choose a License Web Site [![Build Status](https://travis-ci.org/github/choosealicense.com.png?branch=gh-pages)](https://travis-ci.org/github/choosealicense.com)
|
||||
**[ChooseALicense.com](https://choosealicense.com)** aims to provide **accurate**, **non-judgmental**, and **understandable** information about popular **open source licenses** in order to **help people make informed decisions** about the projects they start, maintain, contribute to, and use.
|
||||
|
||||
Like a Choose Your Own Adventure site, but only much less interesting.
|
||||
[![Build Status](https://travis-ci.org/github/choosealicense.com.svg?branch=gh-pages)](https://travis-ci.org/github/choosealicense.com)
|
||||
|
||||
# Intro
|
||||
We catalog [select](CONTRIBUTING.md#adding-a-license) open source licenses with a [Jekyll collection](https://jekyllrb.com/docs/collections/) (in `_licenses`). The catalog is used to render [ChooseALicense.com](https://choosealicense.com) and is regularly vendored into [Licensee](https://github.com/benbalter/licensee), which GitHub uses to provide a [license chooser and license detection](https://help.github.com/articles/adding-a-license-to-a-repository/), a [licenses API](https://developer.github.com/v3/licenses/), and to [display license descriptions and metadata](https://github.com/blog/2335-open-source-license-descriptions-and-metadata).
|
||||
|
||||
A lot of repositories on GitHub.com don't have a license. GitHub provides
|
||||
a license chooser, but if you don't know anything about licenses, how are you
|
||||
supposed to make an informed decision?
|
||||
## Goals
|
||||
|
||||
ChooseALicense.com is designed to help people make an informed decision about
|
||||
licenses.
|
||||
* Be accurate, non-judgmental, and understandable. Our goal is to help you find a license that meets *your* goals.
|
||||
* The homepage should have just enough to help most folks make a decision about what license to use for a project they contribute to.
|
||||
* For the rest, the site will contain additional information about licenses common to specific communities and situations.
|
||||
* Collaborate with and reinforce other licensing best practices and standards projects.
|
||||
* Not comprehensive. Seems like an odd goal, but there are a bajillion licenses out there. We're going to have to filter that down to a small list of those that matter.
|
||||
|
||||
# Immediate Goals
|
||||
|
||||
* Politics Free - Let's just not get into it.
|
||||
* Well designed, but that goes without saying.
|
||||
* The homepage should have just enough to help 99% of folks make a decision.
|
||||
* For the 1%, the site will contain a list of licenses common to specific
|
||||
communities and situations.
|
||||
* Not comprehensive. Seems like an odd goal, but there are a bajillion
|
||||
licenses out there. We're going to have to filter that down to a
|
||||
small list of those that matter.
|
||||
|
||||
# Run It On Your Machine
|
||||
## Run It On Your Machine
|
||||
|
||||
```bash
|
||||
git clone https://github.com/github/choosealicense.com.git
|
||||
@ -30,51 +20,81 @@ cd choosealicense.com
|
||||
script/bootstrap
|
||||
script/server
|
||||
```
|
||||
|
||||
Open `http://localhost:4000` in your favorite browser.
|
||||
|
||||
# Adding a license
|
||||
## Adding a license
|
||||
|
||||
The text of the license should be wrapped to a 78 character width.
|
||||
For information on adding a license, see [the CONTRIBUTING file](https://github.com/github/choosealicense.com/blob/gh-pages/CONTRIBUTING.md#adding-a-license).
|
||||
|
||||
Licenses sit in the `/licenses` folder. Each license has YAML front matter
|
||||
describing the license's properties. The body of the file should be the text
|
||||
of the license in plain text. The available metadata fields are:
|
||||
## License metadata
|
||||
|
||||
* `title` - The name of the license
|
||||
* `layout` - This should be `license`
|
||||
* `permalink` - The absolute URL to the license, beginning with `/licenses/`
|
||||
* `source` - URL to the license source text
|
||||
* `note` - The note field in the sidebar (optional)
|
||||
* `how` - How to use the license, also in the sidebar
|
||||
* `required`, `permitted`, `forbidden` - bulleted list of rules applicable to the license (see below)
|
||||
* `filename` - The filename to be created on GitHub.com when a repository is initialized with this license.
|
||||
Licenses sit in the `/_licenses` folder. Each license has YAML front matter describing the license's properties. The body of the file contains the text of the license in plain text. The available metadata fields are:
|
||||
|
||||
The licenses on choosealicense.com are regularly imported to GitHub.com to be
|
||||
used as the list of licenses available when creating a repository. When we
|
||||
create a repository, we will replace certain strings in the license with
|
||||
variables from the repository. These can be used to create accurate copyright
|
||||
notices. The available variables are:
|
||||
#### Required fields
|
||||
|
||||
* `[fullname]` - The full name or username of the repository owner
|
||||
* `[login]` - The repository owner's username
|
||||
* `[email]` - The repository owner's primary email address
|
||||
* `[project]` - The repository name
|
||||
* `[description]` - The description of the repository
|
||||
* `[year]` - The current year
|
||||
* `title` - The license full name specified by https://spdx.org/licenses/
|
||||
* `spdx-id` - Short identifier specified by https://spdx.org/licenses/
|
||||
* `description` - A human-readable description of the license
|
||||
* `how` - Instructions on how to implement the license
|
||||
* `using` - A list of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by [licensee](https://github.com/benbalter/licensee) in the form of `project_name: license_file_url`
|
||||
* `permissions` - Bulleted list of permission rules
|
||||
* `conditions` - Bulleted list of condition rules
|
||||
* `limitations` - Bulleted list of limitation rules
|
||||
|
||||
# Rules
|
||||
#### Optional fields
|
||||
|
||||
Rules (the license's properties) are stored as a bulleted list within the
|
||||
licenses YAML front matter. A full list of rules can be found in the
|
||||
repository's `_config.yml` file. Each rule has a name e.g.,
|
||||
`include-copyright`, a human-readable label, e.g., `Copyright inclusion`,
|
||||
and a description `Include the original copyright with the code`.
|
||||
To add a new rule, simply add it to `config.yml` and reference it in the
|
||||
appropriate license.
|
||||
* `featured` - Whether the license should be featured on the main page (defaults to false)
|
||||
* `hidden` - Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](https://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
|
||||
* `nickname` - Customary short name if applicable (e.g, GPLv3)
|
||||
* `note` - Additional information about the licenses
|
||||
* `redirect_from` - Relative path(s) to redirect to the license from, to prevent breaking old URLs
|
||||
|
||||
# License
|
||||
### Auto-populated fields
|
||||
|
||||
The content of this project itself is licensed under the
|
||||
[Creative Commons Attribution 3.0 license](http://creativecommons.org/licenses/by/3.0/us/deed.en_US),
|
||||
and the underlying source code used to format and display that content
|
||||
is licensed under the [MIT license](http://opensource.org/licenses/mit-license.php).
|
||||
The licenses on choosealicense.com are regularly imported to GitHub.com to be used as the list of licenses available when creating a repository. When we create a repository, we will replace certain strings in the license with variables from the repository. These can be used to create accurate copyright notices. The available variables are:
|
||||
|
||||
#### Fields
|
||||
|
||||
* `fullname` - The full name or username of the repository owner
|
||||
* `login` - The repository owner's username
|
||||
* `email` - The repository owner's primary email address
|
||||
* `project` - The repository name
|
||||
* `description` - The description of the repository
|
||||
* `year` - The current year
|
||||
* `projecturl` - The repository URL or other project website
|
||||
|
||||
## License properties
|
||||
|
||||
The license properties (rules) are stored as a bulleted list within the licenses YAML front matter. Each rule has a name e.g., `include-copyright`, a human-readable label, e.g., `Copyright inclusion`, and a description `Include the original copyright with the code`. To add a new rule, simply add it to `_data/rules.yml` and reference it in the appropriate license.
|
||||
|
||||
### Rules
|
||||
|
||||
#### Permissions
|
||||
|
||||
* `commercial-use` - This software and derivatives may be used for commercial purposes.
|
||||
* `modifications` - This software may be modified.
|
||||
* `distribution` - This software may be distributed.
|
||||
* `private-use` - This software may be used and modified in private.
|
||||
* `patent-use` - This license provides an express grant of patent rights from contributors.
|
||||
|
||||
#### Conditions
|
||||
|
||||
* `include-copyright` - A copy of the license and copyright notice must be included with the software.
|
||||
* `document-changes` - Changes made to the code must be documented.
|
||||
* `disclose-source` - Source code must be made available when the software is distributed.
|
||||
* `network-use-disclose` - Users who interact with the software via network are given the right to receive a copy of the source code.
|
||||
* `same-license` - Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used.
|
||||
* `same-license--file` - Modifications of existing files must be released under the same license when distributing the software. In some cases a similar or related license may be used.
|
||||
* `same-license--library` - Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used, or this condition may not apply to works that use the software as a library.
|
||||
|
||||
#### Limitations
|
||||
|
||||
* `trademark-use` - This license explicitly states that it does NOT grant trademark rights, even though licenses without such a statement probably do not grant any implicit trademark rights.
|
||||
* `liability` - This license includes a limitation of liability.
|
||||
* `patent-use` - This license explicitly states that it does NOT grant any rights in the patents of contributors.
|
||||
* `warranty` - The license explicitly states that it does NOT provide any warranty.
|
||||
|
||||
## License
|
||||
|
||||
The content of this project itself is licensed under the [Creative Commons Attribution 3.0 Unported license](https://creativecommons.org/licenses/by/3.0/), and the underlying source code used to format and display that content is licensed under the [MIT license](LICENSE.md).
|
||||
|
35
Rakefile
35
Rakefile
@ -1,7 +1,34 @@
|
||||
require "html/proofer"
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'html-proofer'
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
desc 'Run specs'
|
||||
RSpec::Core::RakeTask.new do |t|
|
||||
t.pattern = 'spec/**/*_spec.rb'
|
||||
t.rspec_opts = ['--order', 'rand', '--color']
|
||||
end
|
||||
|
||||
task :test do
|
||||
sh "bundle exec jekyll build --trace"
|
||||
# ignore href="#" for the "Copy to clipboard" button
|
||||
HTML::Proofer.new("./_site").run
|
||||
sh 'bundle exec jekyll build'
|
||||
Rake::Task['spec'].invoke
|
||||
HTMLProofer.check_directory('./_site',
|
||||
check_html: true,
|
||||
validation: { ignore_script_embeds: true },
|
||||
url_swap: { %r{https://choosealicense.com} => '' },
|
||||
hydra: { max_concurrency: 10 },
|
||||
check_img_http: true).run
|
||||
end
|
||||
|
||||
task :approved_licenses do
|
||||
require './spec/spec_helper'
|
||||
approved = approved_licenses
|
||||
approved.select! { |l| spdx_ids.include?(l) }
|
||||
puts "#{approved.count} approved licenses:"
|
||||
puts approved.join(', ')
|
||||
puts "\n"
|
||||
|
||||
potential = approved - (licenses.map { |l| l['id'] })
|
||||
puts "#{potential.count} potential additions:"
|
||||
puts potential.join(', ')
|
||||
end
|
||||
|
95
_config.yml
95
_config.yml
@ -1,67 +1,23 @@
|
||||
---
|
||||
title: ChooseALicense.com
|
||||
title: Choose a License
|
||||
description: Non-judgmental guidance on choosing a license for your open source project
|
||||
relative_permalinks: false
|
||||
markdown: kramdown
|
||||
url: "http://choosealicense.com"
|
||||
url: "https://choosealicense.com"
|
||||
|
||||
rules:
|
||||
collections:
|
||||
licenses:
|
||||
output: true
|
||||
permalink: /licenses/:path/
|
||||
|
||||
required:
|
||||
- description: Include a copy of the license and copyright notice with the code.
|
||||
label: License and copyright notice
|
||||
tag: include-copyright
|
||||
- description: Indicate significant changes made to the code.
|
||||
label: State Changes
|
||||
tag: document-changes
|
||||
- description: Source code must be made available when distributing the software. In the case of LGPL, the source for the library (and not the entire program) must be made available.
|
||||
label: Disclose Source
|
||||
tag: disclose-source
|
||||
- description: The library may be used within a non-open-source application.
|
||||
label: Library usage
|
||||
tag: library-usage
|
||||
- description: You must change the name of the software if you modify it.
|
||||
label: Rename
|
||||
tag: rename
|
||||
|
||||
permitted:
|
||||
- description: This software and derivatives may be used for commercial purposes.
|
||||
label: Commercial Use
|
||||
tag: commercial-use
|
||||
- description: This software may be modified.
|
||||
label: Modification
|
||||
tag: modifications
|
||||
- description: You may distribute this software.
|
||||
label: Distribution
|
||||
tag: distribution
|
||||
- description: You may grant a sublicense to modify and distribute this software to third parties not included in the license.
|
||||
label: Sublicensing
|
||||
tag: sublicense
|
||||
- description: You may use and modify the software without distributing it.
|
||||
label: Private Use
|
||||
tag: private-use
|
||||
- description: This license provides an express grant of patent rights from the contributor to the recipient.
|
||||
label: Patent Grant
|
||||
tag: patent-grant
|
||||
|
||||
forbidden:
|
||||
- description: While this may be implicitly true of all licenses, this license explicitly states that you may NOT use the names, logos, or trademarks of contributors.
|
||||
label: Use Trademark
|
||||
tag: trademark-use
|
||||
- description: Software is provided without warranty and the software author/license owner cannot be held liable for damages.
|
||||
label: Hold Liable
|
||||
tag: no-liability
|
||||
- description: You may not grant a sublicense to modify and distribute this software to third parties not included in the license.
|
||||
label: Sublicensing
|
||||
tag: no-sublicense
|
||||
- description: This software may not be modified.
|
||||
label: Modification
|
||||
tag: modifications
|
||||
- description: You may not distribute this software.
|
||||
label: Distribution
|
||||
tag: distribution
|
||||
- description: You may not grant a sublicense to modify and distribute this software to third parties not included in the license.
|
||||
label: Sublicensing
|
||||
tag: sublicense
|
||||
defaults:
|
||||
-
|
||||
scope:
|
||||
path: ""
|
||||
type: "licenses"
|
||||
values:
|
||||
hidden: true
|
||||
layout: license
|
||||
|
||||
exclude:
|
||||
- app.coffee
|
||||
@ -70,8 +26,25 @@ exclude:
|
||||
- Gemfile
|
||||
- Gemfile.lock
|
||||
- LICENSE.md
|
||||
- licenses.json
|
||||
- Rakefile
|
||||
- README.md
|
||||
- script
|
||||
- bundle
|
||||
- vendor/bundle
|
||||
- test
|
||||
- tests
|
||||
- assets/vendor/selectivizr/tests
|
||||
- assets/vendor/clipboard/test
|
||||
- assets/vendor/*/README.*
|
||||
|
||||
plugins:
|
||||
- jekyll-sitemap
|
||||
- jekyll-redirect-from
|
||||
- jekyll-seo-tag
|
||||
- jekyll-coffeescript
|
||||
- jekyll-github-metadata # For 'Improve this page' links
|
||||
|
||||
sass:
|
||||
style: :compressed
|
||||
|
||||
twitter:
|
||||
username: "@github"
|
||||
|
26
_data/fields.yml
Normal file
26
_data/fields.yml
Normal file
@ -0,0 +1,26 @@
|
||||
# The licenses on choosealicense.com are regularly imported to GitHub.com to
|
||||
# be used as the list of licenses available when creating a repository. When
|
||||
# we create a repository, we will replace certain strings in the license with
|
||||
# variables from the repository. These can be used to create accurate copyright
|
||||
# notices. The available variables are:
|
||||
|
||||
- name: fullname
|
||||
description: The full name or username of the repository owner
|
||||
|
||||
- name: login
|
||||
description: The repository owner's username
|
||||
|
||||
- name: email
|
||||
description: The repository owner's primary email address
|
||||
|
||||
- name: project
|
||||
description: The repository name
|
||||
|
||||
- name: description
|
||||
description: The description of the repository
|
||||
|
||||
- name: year
|
||||
description: The current year
|
||||
|
||||
- name: projecturl
|
||||
description: The repository URL or other project website
|
56
_data/meta.yml
Normal file
56
_data/meta.yml
Normal file
@ -0,0 +1,56 @@
|
||||
# Each license has YAML front matter describing the license's properties.
|
||||
# The available fields are:
|
||||
|
||||
- name: title
|
||||
description: The license full name specified by https://spdx.org/licenses/
|
||||
required: true
|
||||
|
||||
- name: spdx-id
|
||||
description: Short identifier specified by https://spdx.org/licenses/
|
||||
required: true
|
||||
|
||||
- name: description
|
||||
description: A human-readable description of the license
|
||||
required: true
|
||||
|
||||
- name: how
|
||||
description: Instructions on how to implement the license
|
||||
required: true
|
||||
|
||||
- name: conditions
|
||||
description: Bulleted list of required rules
|
||||
required: true
|
||||
|
||||
- name: permissions
|
||||
description: Bulleted list of permitted rules
|
||||
required: true
|
||||
|
||||
- name: limitations
|
||||
description: Bulleted list of limited rules
|
||||
required: true
|
||||
|
||||
- name: using
|
||||
description: 'A list of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by [licensee](https://github.com/benbalter/licensee) in the form of `project_name: license_file_url`'
|
||||
required: true
|
||||
|
||||
# Optional fields
|
||||
|
||||
- name: featured
|
||||
description: Whether the license should be featured on the main page (defaults to false)
|
||||
required: false
|
||||
|
||||
- name: hidden
|
||||
description: Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](https://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
|
||||
required: false
|
||||
|
||||
- name: nickname
|
||||
description: Customary short name if applicable (e.g, GPLv3)
|
||||
required: false
|
||||
|
||||
- name: note
|
||||
description: Additional information about the licenses
|
||||
required: false
|
||||
|
||||
- name: redirect_from
|
||||
description: Relative path(s) to redirect to the license from, to prevent breaking old URLs
|
||||
required: false
|
53
_data/rules.yml
Normal file
53
_data/rules.yml
Normal file
@ -0,0 +1,53 @@
|
||||
permissions:
|
||||
- description: This software and derivatives may be used for commercial purposes.
|
||||
label: Commercial use
|
||||
tag: commercial-use
|
||||
- description: This software may be modified.
|
||||
label: Modification
|
||||
tag: modifications
|
||||
- description: This software may be distributed.
|
||||
label: Distribution
|
||||
tag: distribution
|
||||
- description: This software may be used and modified in private.
|
||||
label: Private use
|
||||
tag: private-use
|
||||
- description: This license provides an express grant of patent rights from contributors.
|
||||
label: Patent use
|
||||
tag: patent-use
|
||||
|
||||
conditions:
|
||||
- description: A copy of the license and copyright notice must be included with the software.
|
||||
label: License and copyright notice
|
||||
tag: include-copyright
|
||||
- description: Changes made to the code must be documented.
|
||||
label: State changes
|
||||
tag: document-changes
|
||||
- description: Source code must be made available when the software is distributed.
|
||||
label: Disclose source
|
||||
tag: disclose-source
|
||||
- description: Users who interact with the software via network are given the right to receive a copy of the source code.
|
||||
label: Network use is distribution
|
||||
tag: network-use-disclose
|
||||
- description: Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used.
|
||||
label: Same license
|
||||
tag: same-license
|
||||
- description: Modifications of existing files must be released under the same license when distributing the software. In some cases a similar or related license may be used.
|
||||
label: Same license (file)
|
||||
tag: same-license--file
|
||||
- description: Modifications must be released under the same license when distributing the software. In some cases a similar or related license may be used, or this condition may not apply to works that use the software as a library.
|
||||
label: Same license (library)
|
||||
tag: same-license--library
|
||||
|
||||
limitations:
|
||||
- description: This license explicitly states that it does NOT grant trademark rights, even though licenses without such a statement probably do not grant any implicit trademark rights.
|
||||
label: Trademark use
|
||||
tag: trademark-use
|
||||
- description: This license includes a limitation of liability.
|
||||
label: Liability
|
||||
tag: liability
|
||||
- description: This license explicitly states that it does NOT grant any rights in the patents of contributors.
|
||||
label: Patent use
|
||||
tag: patent-use
|
||||
- description: The license explicitly states that it does NOT provide any warranty.
|
||||
label: Warranty
|
||||
tag: warranty
|
@ -8,4 +8,32 @@
|
||||
{% endif %}
|
||||
</li>
|
||||
</ol>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"item": {
|
||||
"@id": "{{ site.github.url }}/",
|
||||
"name": "Home"
|
||||
}
|
||||
},{% if page.layout == "license" %}{
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"item": {
|
||||
"@id": "{{ site.github.url }}/licenses",
|
||||
"name": "Licenses"
|
||||
}
|
||||
},{% endif %}{
|
||||
"@type": "ListItem",
|
||||
"position": {% if page.layout == "license" %}3{% else %}2{% endif %},
|
||||
"item": {
|
||||
"@id": "{{ site.github.url }}{{ page.url }}",
|
||||
"name": {{ page.title | jsonify }}
|
||||
}
|
||||
}]
|
||||
}
|
||||
</script>
|
||||
{% endunless %}
|
2
_includes/css/jquery.qtip.min.css
vendored
2
_includes/css/jquery.qtip.min.css
vendored
File diff suppressed because one or more lines are too long
1
_includes/css/normalize.min.css
vendored
1
_includes/css/normalize.min.css
vendored
@ -1 +0,0 @@
|
||||
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
|
172
_includes/css/responsive.css
Normal file
172
_includes/css/responsive.css
Normal file
@ -0,0 +1,172 @@
|
||||
/* iPads (landscape) ----------- */
|
||||
@media only screen and (max-width : 1050px) {
|
||||
.container {
|
||||
width: 100%;
|
||||
padding: 0 20px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.triptych {
|
||||
width: 100%;
|
||||
}
|
||||
.triptych li {
|
||||
width: 33%;
|
||||
margin-left: 0;
|
||||
padding: 0 20px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.triptych h3 {
|
||||
width: auto;
|
||||
padding: 0 30px;
|
||||
}
|
||||
.home h2 {
|
||||
line-height: 30px;
|
||||
padding: 20px 100px;
|
||||
position: relative;
|
||||
}
|
||||
.home h2 span {
|
||||
position: absolute;
|
||||
display: block;
|
||||
float: left;
|
||||
top: 50%;
|
||||
margin-top: -22px;
|
||||
}
|
||||
.home h2 span:first-child {
|
||||
left: 65px;
|
||||
}
|
||||
.home h2 span:last-child {
|
||||
right: 65px;
|
||||
}
|
||||
.sidebar a.button {
|
||||
margin: 14px 0 20px;
|
||||
}
|
||||
.license-body {
|
||||
width: calc(100% - 250px);
|
||||
}
|
||||
}
|
||||
|
||||
/* iPads (portrait) ----------- */
|
||||
@media only screen and (max-width : 800px), (max-device-width : 1050px) and (orientation : portrait) {
|
||||
.triptych h3 {
|
||||
width: auto;
|
||||
padding: 0 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.sidebar {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
.license-body {
|
||||
width: 100%;
|
||||
}
|
||||
.license-rules {
|
||||
border-bottom: none;
|
||||
}
|
||||
.license-details {
|
||||
width: 65%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Smartphones ----------- */
|
||||
@media only screen and (max-width : 680px) {
|
||||
.triptych li {
|
||||
float: none;
|
||||
width: 100%;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.home h2 {
|
||||
padding: 20px 70px;
|
||||
}
|
||||
.home h2 span:first-child {
|
||||
left: 35px;
|
||||
}
|
||||
.home h2 span:last-child {
|
||||
right: 35px;
|
||||
}
|
||||
.license-overview {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.license-overview-heading {
|
||||
float: none;
|
||||
width: 100%;
|
||||
}
|
||||
.license-details {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding-left: 0;
|
||||
}
|
||||
.site-footer {
|
||||
text-align: center;
|
||||
}
|
||||
.site-footer nav, .site-footer p, .with-love {
|
||||
float: none;
|
||||
}
|
||||
.site-footer nav {
|
||||
margin: 0 auto 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Smartphones (landscape) ----------- */
|
||||
@media only screen and (max-width : 481px) {
|
||||
h1 {
|
||||
font-size: 30px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.home h1 {
|
||||
font-size: 33px;
|
||||
}
|
||||
.home h2 {
|
||||
font-size: 17px;
|
||||
line-height: 20px;
|
||||
padding: 20px 45px;
|
||||
}
|
||||
.home h2 span:first-child {
|
||||
left: 0;
|
||||
}
|
||||
.home h2 span:last-child {
|
||||
right: 0;
|
||||
}
|
||||
.home h2 span {
|
||||
margin-top: -16px;
|
||||
}
|
||||
.sidebar {
|
||||
width: 100%;
|
||||
}
|
||||
.license-body {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.license-body pre {
|
||||
font-size: 10px;
|
||||
}
|
||||
.license-rules:not(.license-rules-sidebar) li {
|
||||
margin-right: 5px;
|
||||
font-size: 10px;
|
||||
-webkit-text-size-adjust: none;
|
||||
}
|
||||
.license-rules:not(.license-rules-sidebar) li span {
|
||||
background-size: 44px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
top: 1px;
|
||||
position: relative;
|
||||
}
|
||||
.license-rules:not(.license-rules-sidebar) .license-conditions span {
|
||||
background-position: -34px 0;
|
||||
}
|
||||
.license-rules:not(.license-rules-sidebar) .license-permissions span {
|
||||
background-position: -24px 0px;
|
||||
}
|
||||
.license-rules:not(.license-rules-sidebar) .license-limitations span {
|
||||
background-position: -14px 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Smartphones (portrait) ----------- */
|
||||
@media only screen and (max-width : 321px) {
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
@ -2,31 +2,44 @@
|
||||
<nav>
|
||||
<a href="/about/">About</a>
|
||||
<a href="/terms-of-service/">Terms of Service</a>
|
||||
{% github_edit_link "Help improve this page" %}
|
||||
</nav>
|
||||
<p>
|
||||
If you have questions or issues, it is always best to consult a legal professional.<br>
|
||||
This site is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/">
|
||||
The content of this site is licensed under the <a href="https://creativecommons.org/licenses/by/3.0/">
|
||||
Creative Commons Attribution 3.0 Unported License</a>.
|
||||
</p>
|
||||
<div class="with-love">
|
||||
Demystified with <3 by <a href="http://github.com">GitHub, Inc.</a>
|
||||
Curated with <3 by <a href="https://github.com">GitHub, Inc.</a> and <a href="https://github.com/github/choosealicense.com">You!</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
{% if page.layout == "license" or page.class == "license-types" %}
|
||||
{% if page.collection == "licenses" or page.class == "license-types" %}
|
||||
<script src="/assets/vendor/jquery/jquery.min.js"></script>
|
||||
<script src="/assets/vendor/qtip2/jquery.qtip.min.js"></script>
|
||||
<script src="/assets/vendor/zeroclipboard/ZeroClipboard.min.js"></script>
|
||||
<script src="/assets/js/javascript.js"></script>
|
||||
<script src="/assets/vendor/clipboard/dist/clipboard.min.js"></script>
|
||||
<script>
|
||||
window.annotations = {{ site.data.rules | jsonify }};
|
||||
{% if page.collection == "licenses" %}
|
||||
window.licenses = [
|
||||
{% for license in site.licenses %}
|
||||
{
|
||||
"title": "{{ license.title | escape }}",
|
||||
"spdx_id": "{{ license.spdx-id | escape }}"
|
||||
}{% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
];
|
||||
{% endif %}
|
||||
</script>
|
||||
<script src="/assets/js/app.js"></script>
|
||||
{% endif %}
|
||||
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
!function(L,I,C,e,N,S,E){L.GoogleAnalyticsObject=N,L[N]=L[N]||function(){
|
||||
(L[N].q=L[N].q||[]).push(arguments)},L[N].l=+new Date,S=I.createElement(C),
|
||||
E=I.getElementsByTagName(C)[0],S.src=e,E.parentNode.insertBefore(S,E)
|
||||
}(window,document,"script","//www.google-analytics.com/analytics.js","ga");
|
||||
|
||||
ga('create', 'UA-3769691-24', 'choosealicense.com');
|
||||
ga('send', 'pageview');
|
||||
|
@ -1,19 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<head itemscope itemtype="http://schema.org/WebSite">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{% if page.title %}{{ page.title | markdownify | strip_html | strip_newlines }} - {% endif %}{{ site.title}}</title>
|
||||
{% if page.description %}<meta name="description" content="{{ page.description | strip_html | strip_newlines }}">{% endif %}
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Chivo:900">
|
||||
<link rel="stylesheet" href="/assets/vendor/normalize-css/normalize.css">
|
||||
<link rel="stylesheet" href="/assets/vendor/qtip2/jquery.qtip.min.css">
|
||||
<link rel="stylesheet" href="/assets/css/application.css">
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Chivo:900">
|
||||
<link rel="stylesheet" href="/assets/css/application.css?v={{ site.github.build_revision }}">
|
||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="/assets/vendor/html5shiv/dist/html5shiv.js"></script>
|
||||
<script src="/assets/vendor/selectivizr/selectivizr.js"></script>
|
||||
<![endif]-->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
|
||||
{% seo %}
|
||||
</head>
|
||||
<body class="{{ page.layout }}{% if page.class %} {{ page.class }}{% endif %}">
|
||||
<div class="container">
|
||||
|
@ -1,9 +0,0 @@
|
||||
var annotations = {
|
||||
{% for type_hash in site.rules %}
|
||||
"{{ type_hash[0] }}": {
|
||||
{% for rule_hash in type_hash[1] %}
|
||||
"{{ rule_hash.tag }}" : "{{ rule_hash.description }}"{% if forloop.rindex0 > 0 %},{% endif %}
|
||||
{% endfor %}
|
||||
}{% if forloop.rindex0 > 0 %},{% endif %}
|
||||
{% endfor %}
|
||||
};
|
@ -1,110 +0,0 @@
|
||||
class Choosealicense
|
||||
|
||||
# Checks if Flash is available in the client.
|
||||
flashAvailable: ->
|
||||
if ActiveXObject?
|
||||
!!(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))
|
||||
else
|
||||
!!navigator.mimeTypes["application/x-shockwave-flash"]
|
||||
|
||||
# Selects the content of a given element
|
||||
selectText: (element) ->
|
||||
if document.body.createTextRange
|
||||
range = document.body.createTextRange()
|
||||
range.moveToElementText(element)
|
||||
range.select()
|
||||
else if window.getSelection
|
||||
selection = window.getSelection()
|
||||
range = document.createRange()
|
||||
|
||||
range.selectNodeContents(element)
|
||||
selection.removeAllRanges()
|
||||
selection.addRange(range)
|
||||
|
||||
# Qtip position attributes for tooltips
|
||||
qtip_position:
|
||||
my: "top center"
|
||||
at: "bottom center"
|
||||
|
||||
# Annotation categories as defined in `_config.yml`
|
||||
categories:
|
||||
required: "Required"
|
||||
permitted: "Permitted"
|
||||
forbidden: "Forbidden"
|
||||
|
||||
# fire on document.ready
|
||||
constructor: ->
|
||||
@initTooltips()
|
||||
@initClipboard()
|
||||
@initLicenseVariationNav()
|
||||
|
||||
# Init tooltip action
|
||||
initTooltips: ->
|
||||
|
||||
# Dynamically add annotations as title attribute to rule list items
|
||||
for category, rules of annotations
|
||||
for label, text of rules
|
||||
$(".license-rules ul.license-#{category} li.#{label}").attr "title", text
|
||||
|
||||
# Init tooltips on all rule list items
|
||||
for category, label of @categories
|
||||
$(".license-#{category} li").qtip
|
||||
content:
|
||||
text: false
|
||||
title:
|
||||
text: label
|
||||
position: @qtip_position
|
||||
style:
|
||||
classes: "qtip-shadow qtip-#{category}"
|
||||
|
||||
false
|
||||
|
||||
# Initializes ZeroClipboard
|
||||
initZeroClipboard: ->
|
||||
# Backup the clipboard button's original text.
|
||||
$(".js-clipboard-button").data "clipboard-prompt", $(".js-clipboard-button").text()
|
||||
|
||||
# Hook up copy to clipboard buttons
|
||||
clip = new ZeroClipboard $(".js-clipboard-button"),
|
||||
moviePath: "/assets/vendor/zeroclipboard/ZeroClipboard.swf"
|
||||
clip.on "mouseout", @clipboardMouseout
|
||||
clip.on "complete", @clipboardComplete
|
||||
clip
|
||||
|
||||
# Initializes an alternative way to copy the license for non-flash compatible
|
||||
# browsers
|
||||
initAlternativeClipboard: ->
|
||||
$(".js-clipboard-button").click (e) =>
|
||||
target = "#" + $(e.target).data("clipboard-target")
|
||||
@selectText $(target)[0]
|
||||
|
||||
# if Zero Clipboard is present, bind to button and init
|
||||
initClipboard: ->
|
||||
if ZeroClipboard? && @flashAvailable()
|
||||
@initZeroClipboard()
|
||||
else
|
||||
@initAlternativeClipboard()
|
||||
|
||||
# Callback to restore the clipboard button's original text
|
||||
clipboardMouseout: (client, args) ->
|
||||
@innerText = $(this).data("clipboard-prompt")
|
||||
|
||||
# Post-copy user feedback callback
|
||||
clipboardComplete: (client, args) ->
|
||||
@innerText = "Copied!"
|
||||
|
||||
# Initializes pill navigation for license variations
|
||||
initLicenseVariationNav: ->
|
||||
$(".js-nav-pills a").click (e) ->
|
||||
selectedTab = $(this).data("selected-tab")
|
||||
nav = $(this).closest(".js-nav-pills")
|
||||
nav.find("li").removeClass("active")
|
||||
nav.closest(".js-license-variations").siblings(".js-variation-tab").removeClass("active")
|
||||
|
||||
$(this).parent("li").addClass("active")
|
||||
$("." + selectedTab).addClass("active")
|
||||
|
||||
e.preventDefault()
|
||||
|
||||
$ ->
|
||||
new Choosealicense()
|
@ -1,132 +0,0 @@
|
||||
// Generated by CoffeeScript 1.7.1
|
||||
(function() {
|
||||
var Choosealicense;
|
||||
|
||||
Choosealicense = (function() {
|
||||
Choosealicense.prototype.flashAvailable = function() {
|
||||
if (typeof ActiveXObject !== "undefined" && ActiveXObject !== null) {
|
||||
return !!(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"));
|
||||
} else {
|
||||
return !!navigator.mimeTypes["application/x-shockwave-flash"];
|
||||
}
|
||||
};
|
||||
|
||||
Choosealicense.prototype.selectText = function(element) {
|
||||
var range, selection;
|
||||
if (document.body.createTextRange) {
|
||||
range = document.body.createTextRange();
|
||||
range.moveToElementText(element);
|
||||
return range.select();
|
||||
} else if (window.getSelection) {
|
||||
selection = window.getSelection();
|
||||
range = document.createRange();
|
||||
range.selectNodeContents(element);
|
||||
selection.removeAllRanges();
|
||||
return selection.addRange(range);
|
||||
}
|
||||
};
|
||||
|
||||
Choosealicense.prototype.qtip_position = {
|
||||
my: "top center",
|
||||
at: "bottom center"
|
||||
};
|
||||
|
||||
Choosealicense.prototype.categories = {
|
||||
required: "Required",
|
||||
permitted: "Permitted",
|
||||
forbidden: "Forbidden"
|
||||
};
|
||||
|
||||
function Choosealicense() {
|
||||
this.initTooltips();
|
||||
this.initClipboard();
|
||||
this.initLicenseVariationNav();
|
||||
}
|
||||
|
||||
Choosealicense.prototype.initTooltips = function() {
|
||||
var category, label, rules, text, _ref;
|
||||
for (category in annotations) {
|
||||
rules = annotations[category];
|
||||
for (label in rules) {
|
||||
text = rules[label];
|
||||
$(".license-rules ul.license-" + category + " li." + label).attr("title", text);
|
||||
}
|
||||
}
|
||||
_ref = this.categories;
|
||||
for (category in _ref) {
|
||||
label = _ref[category];
|
||||
$(".license-" + category + " li").qtip({
|
||||
content: {
|
||||
text: false,
|
||||
title: {
|
||||
text: label
|
||||
}
|
||||
},
|
||||
position: this.qtip_position,
|
||||
style: {
|
||||
classes: "qtip-shadow qtip-" + category
|
||||
}
|
||||
});
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
Choosealicense.prototype.initZeroClipboard = function() {
|
||||
var clip;
|
||||
$(".js-clipboard-button").data("clipboard-prompt", $(".js-clipboard-button").text());
|
||||
clip = new ZeroClipboard($(".js-clipboard-button"), {
|
||||
moviePath: "/assets/vendor/zeroclipboard/ZeroClipboard.swf"
|
||||
});
|
||||
clip.on("mouseout", this.clipboardMouseout);
|
||||
clip.on("complete", this.clipboardComplete);
|
||||
return clip;
|
||||
};
|
||||
|
||||
Choosealicense.prototype.initAlternativeClipboard = function() {
|
||||
return $(".js-clipboard-button").click((function(_this) {
|
||||
return function(e) {
|
||||
var target;
|
||||
target = "#" + $(e.target).data("clipboard-target");
|
||||
return _this.selectText($(target)[0]);
|
||||
};
|
||||
})(this));
|
||||
};
|
||||
|
||||
Choosealicense.prototype.initClipboard = function() {
|
||||
if ((typeof ZeroClipboard !== "undefined" && ZeroClipboard !== null) && this.flashAvailable()) {
|
||||
return this.initZeroClipboard();
|
||||
} else {
|
||||
return this.initAlternativeClipboard();
|
||||
}
|
||||
};
|
||||
|
||||
Choosealicense.prototype.clipboardMouseout = function(client, args) {
|
||||
return this.innerText = $(this).data("clipboard-prompt");
|
||||
};
|
||||
|
||||
Choosealicense.prototype.clipboardComplete = function(client, args) {
|
||||
return this.innerText = "Copied!";
|
||||
};
|
||||
|
||||
Choosealicense.prototype.initLicenseVariationNav = function() {
|
||||
return $(".js-nav-pills a").click(function(e) {
|
||||
var nav, selectedTab;
|
||||
selectedTab = $(this).data("selected-tab");
|
||||
nav = $(this).closest(".js-nav-pills");
|
||||
nav.find("li").removeClass("active");
|
||||
nav.closest(".js-license-variations").siblings(".js-variation-tab").removeClass("active");
|
||||
$(this).parent("li").addClass("active");
|
||||
$("." + selectedTab).addClass("active");
|
||||
return e.preventDefault();
|
||||
});
|
||||
};
|
||||
|
||||
return Choosealicense;
|
||||
|
||||
})();
|
||||
|
||||
$(function() {
|
||||
return new Choosealicense();
|
||||
});
|
||||
|
||||
}).call(this);
|
@ -1,29 +1,25 @@
|
||||
<div class="license-family clearfix">
|
||||
<div class="license-family-heading">
|
||||
<h3 class="license-family-name"><a href="{{ page.permalink }}">{% if page.category %}{{ page.category }}{% else %}{{ page.title }}{% endif %}</a></h3>
|
||||
{% assign id = "/licenses/" | append: include.license-id %}
|
||||
{% assign licenses = site.licenses | where:"id", id %}
|
||||
{% for license in licenses %}
|
||||
<div class="license-overview clearfix" id="{{ include.license-id | slugify }}">
|
||||
<div class="license-overview-heading">
|
||||
<h3 class="license-overview-name">
|
||||
<a href="{{ license.url }}">
|
||||
{% if license.nickname %}
|
||||
{{ license.nickname }}
|
||||
{% else %}
|
||||
{{ license.title }}
|
||||
{% endif %}
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<p class="license-family-description">{{ page.description }}</p>
|
||||
<p class="license-overview-description">{{ license.description }}</p>
|
||||
</div>
|
||||
|
||||
<div class="license-details">
|
||||
<div class="license-variations js-license-variations">
|
||||
<!-- always show this div, even w/o variations, for proper spacing -->
|
||||
{% if page.tab-slug %}
|
||||
<ul class="nav-pills js-nav-pills">
|
||||
{% for variation in site.pages %}
|
||||
{% if variation.category and variation.category == page.category %}
|
||||
<li{% if page.tab-slug == variation.tab-slug %} class="active"{% endif %}><a href="#{{ variation.tab-slug }}" data-selected-tab="variation-{{ variation.tab-slug }}">{{ variation.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% for variation in site.pages %}
|
||||
{% if variation.category and variation.category == page.category %}
|
||||
<div {% if variation.tab-slug %}id="{{ variation.tab-slug }}" {% endif %}class="variation-tab {% if variation.tab-slug %}variation-{{ variation.tab-slug }}{% endif %} js-variation-tab{% if page.tab-slug == variation.tab-slug %} active{% endif %}">
|
||||
<table class="license-rules">
|
||||
<tr>
|
||||
{% assign types = "required|permitted|forbidden" | split: "|" %}
|
||||
{% assign types = "permissions|conditions|limitations" | split: "|" %}
|
||||
{% for type in types %}
|
||||
<th class="label">{{ type | capitalize }}</th>
|
||||
{% endfor %}
|
||||
@ -32,10 +28,10 @@
|
||||
{% for type in types %}
|
||||
<td>
|
||||
<ul class="license-{{ type }}">
|
||||
{% assign rules = site.rules[type] | sort: "label" %}
|
||||
{% assign rules = site.data.rules[type] | sort: "label" %}
|
||||
{% for rule_obj in rules %}
|
||||
{% assign req = rule_obj.tag %}
|
||||
{% if variation[type] contains req %}
|
||||
{% if license[type] contains req %}
|
||||
<li class="{{ req }}">
|
||||
<span class="license-sprite"></span>
|
||||
{{ rule_obj.label }}
|
||||
@ -47,9 +43,7 @@
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</table>
|
||||
<p class="small"><a href="{{ variation.permalink }}">View full {{ variation.title }} license »</a></p>
|
||||
<p class="small"><a href="{{ license.url }}">View full {{ license.title }} »</a></p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,53 +1,51 @@
|
||||
<div class="sidebar">
|
||||
|
||||
<a href="#" data-clipboard-target="license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
|
||||
<a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
|
||||
<h3 id="suggest-this-license">Suggest this license</h3>
|
||||
<div class="repository-suggestion">
|
||||
<p>Make a pull request to suggest this license for a project that is <a href="/no-permission/">not licensed</a>. Please be polite: see if a license has already been suggested, try to suggest a license fitting for the project's <a href="/community/">community</a>, and keep your communication with project maintainers friendly.</p>
|
||||
<div class="input-wrapper">
|
||||
<input type="text" data-license-id="{{ page.spdx-id }}" placeholder="Enter GitHub repository URL" id="repository-url" title="status" />
|
||||
<div class="status-indicator"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="how-to-apply">
|
||||
<h5>How to apply this license</h5>
|
||||
<h3>How to apply this license</h3>
|
||||
<p>
|
||||
{{ page.how }}
|
||||
{{ page.how | markdownify | remove: '<p>' | remove: '</p>' }}
|
||||
</p>
|
||||
<div class="note">
|
||||
<h4>Optional steps</h4>
|
||||
{% if page.note %}
|
||||
<p class="note">
|
||||
<strong>Note: </strong> {{ page.note }}
|
||||
<p>
|
||||
{{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% assign xgpl = false %}
|
||||
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
|
||||
<p>Add <strong><code>{{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}</code></strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}-only</code></strong> to disallow future versions){% endif %} to your project's package description, if applicable (e.g., <a href="https://docs.npmjs.com/files/package.json#license">Node.js</a>, <a href="https://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
|
||||
{% if page.spdx-id contains 'GPL-2' %}
|
||||
<p>If you would like your project to adopt the GPL-3.0's cure provision, add the <a href="https://github.com/gplcc/gplcc/blob/master/Project/COMMITMENT">text</a> of the <a href="https://gplcc.github.io/gplcc/">GPL Cooperation Commitment</a> to a file named <code>COMMITMENT</code> in the same directory as your {{ page.spdx-id }} license file.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if page.source %}
|
||||
</div>
|
||||
|
||||
<div class="source">
|
||||
<a href="{{ page.source }}">
|
||||
<a href="https://spdx.org/licenses/{{ page.spdx-id }}.html">
|
||||
<span class="license-sprite"></span>
|
||||
Source
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="license-rules license-rules-sidebar">
|
||||
|
||||
{% assign types = "required|permitted|forbidden" | split: "|" %}
|
||||
{% for type in types %}
|
||||
<h3>{{ type | capitalize }}</h3>
|
||||
<ul class="license-{{ type }}">
|
||||
{% assign rules = site.rules[type] | sort: "label" %}
|
||||
{% for rule_obj in rules %}
|
||||
{% assign req = rule_obj.tag %}
|
||||
{% if page[type] contains req %}
|
||||
<li class="{{ req }}">
|
||||
<span class="license-sprite"></span>
|
||||
{{ rule_obj.label }}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
|
||||
{% if page.using %}
|
||||
<div class="projects-with-license">
|
||||
<h3>Who's using this license?</h3>
|
||||
<ul>
|
||||
{% for using in page.using %}
|
||||
<li><a href="{{ using[1] }}" target="_blank">{{ using[0] }}</a></li>
|
||||
{% for hash in using %}
|
||||
<li><a href="{{ hash[1] }}" target="_blank">{{ hash[0] }}</a></li>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
17
_includes/using-sentence.html
Normal file
17
_includes/using-sentence.html
Normal file
@ -0,0 +1,17 @@
|
||||
{% assign id = "/licenses/" | append: include.license-id %}
|
||||
{% assign licenses = site.licenses | where:"id", id %}
|
||||
{% for license in licenses %}
|
||||
{% assign using = license.using %}
|
||||
{% if using.size > 0 %}
|
||||
{% for used in using limit: 3 %}
|
||||
{% assign last = forloop.last %}
|
||||
{% if last and using.size > 1 %}
|
||||
and
|
||||
{% endif %}
|
||||
{% for hash in used %}
|
||||
<a href="{{ hash[1] }}">{{ hash[0] }}</a>{% if last == false %},{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
use{% if using.size == 1 %}s{% endif %} the {% if license.nickname %}{{ license.nickname }}{% else %}{{ license.title }}{% endif %}.
|
||||
{% endif %}
|
||||
{% endfor %}
|
@ -1,8 +1,52 @@
|
||||
{% include header.html %}
|
||||
|
||||
<div class="clearfix">
|
||||
|
||||
<div class="license-body">
|
||||
|
||||
{% if page.nickname %}
|
||||
<p class="license-nickname">
|
||||
{{ page.nickname }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
{{ page.description }}
|
||||
</p>
|
||||
|
||||
<div class="license-page-details">
|
||||
|
||||
<table class="license-rules">
|
||||
<tr>
|
||||
{% assign types = "permissions|conditions|limitations" | split: "|" %}
|
||||
{% for type in types %}
|
||||
<th class="label">{{ type | capitalize }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
<tr>
|
||||
{% for type in types %}
|
||||
<td>
|
||||
<ul class="license-{{ type }}">
|
||||
{% assign rules = site.data.rules[type] | sort: "label" %}
|
||||
{% for rule_obj in rules %}
|
||||
{% assign req = rule_obj.tag %}
|
||||
{% if page[type] contains req %}
|
||||
<li class="{{ req }}">
|
||||
<span class="license-sprite"></span>
|
||||
{{ rule_obj.label }}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<pre id="license-text">{{ content | replace:"<", "<" | replace:">", ">" }}</pre>
|
||||
|
||||
</div> <!-- /license-body -->
|
||||
|
||||
{% include sidebar.html %}
|
||||
|
198
_licenses/afl-3.0.txt
Normal file
198
_licenses/afl-3.0.txt
Normal file
@ -0,0 +1,198 @@
|
||||
---
|
||||
title: Academic Free License v3.0
|
||||
spdx-id: AFL-3.0
|
||||
|
||||
description: The Academic Free License is a variant of the Open Software License that does not require that the source code of derivative works be disclosed. It contains explicit copyright and patent grants and reserves trademark rights in the author.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Files licensed under AFL 3.0 must also include the notice "Licensed under the Academic Free License version 3.0" adjacent to the copyright notice.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
- patent-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
|
||||
limitations:
|
||||
- trademark-use
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Academic Free License (“AFL”) v. 3.0
|
||||
|
||||
This Academic Free License (the "License") applies to any original work of
|
||||
authorship (the "Original Work") whose owner (the "Licensor") has placed the
|
||||
following licensing notice adjacent to the copyright notice for the Original
|
||||
Work:
|
||||
|
||||
Licensed under the Academic Free License version 3.0
|
||||
|
||||
1) Grant of Copyright License. Licensor grants You a worldwide, royalty-free,
|
||||
non-exclusive, sublicensable license, for the duration of the copyright, to do
|
||||
the following:
|
||||
|
||||
a) to reproduce the Original Work in copies, either alone or as part of a
|
||||
collective work;
|
||||
|
||||
b) to translate, adapt, alter, transform, modify, or arrange the Original
|
||||
Work, thereby creating derivative works ("Derivative Works") based upon
|
||||
the Original Work;
|
||||
|
||||
c) to distribute or communicate copies of the Original Work and
|
||||
Derivative Works to the public, under any license of your choice that
|
||||
does not contradict the terms and conditions, including Licensor’s
|
||||
reserved rights and remedies, in this Academic Free License;
|
||||
d) to perform the Original Work publicly; and
|
||||
e) to display the Original Work publicly.
|
||||
|
||||
2) Grant of Patent License. Licensor grants You a worldwide, royalty-free,
|
||||
non-exclusive, sublicensable license, under patent claims owned or controlled
|
||||
by the Licensor that are embodied in the Original Work as furnished by the
|
||||
Licensor, for the duration of the patents, to make, use, sell, offer for sale,
|
||||
have made, and import the Original Work and Derivative Works.
|
||||
|
||||
3) Grant of Source Code License. The term "Source Code" means the preferred
|
||||
form of the Original Work for making modifications to it and all available
|
||||
documentation describing how to modify the Original Work. Licensor agrees to
|
||||
provide a machine-readable copy of the Source Code of the Original Work along
|
||||
with each copy of the Original Work that Licensor distributes. Licensor
|
||||
reserves the right to satisfy this obligation by placing a machine-readable
|
||||
copy of the Source Code in an information repository reasonably calculated to
|
||||
permit inexpensive and convenient access by You for as long as Licensor
|
||||
continues to distribute the Original Work.
|
||||
|
||||
4) Exclusions From License Grant. Neither the names of Licensor, nor the names
|
||||
of any contributors to the Original Work, nor any of their trademarks or
|
||||
service marks, may be used to endorse or promote products derived from this
|
||||
Original Work without express prior permission of the Licensor. Except as
|
||||
expressly stated herein, nothing in this License grants any license to
|
||||
Licensor’s trademarks, copyrights, patents, trade secrets or any other
|
||||
intellectual property. No patent license is granted to make, use, sell, offer
|
||||
for sale, have made, or import embodiments of any patent claims other than the
|
||||
licensed claims defined in Section 2. No license is granted to the trademarks
|
||||
of Licensor even if such marks are included in the Original Work. Nothing in
|
||||
this License shall be interpreted to prohibit Licensor from licensing under
|
||||
terms different from this License any Original Work that Licensor otherwise
|
||||
would have a right to license.
|
||||
|
||||
5) External Deployment. The term "External Deployment" means the use,
|
||||
distribution, or communication of the Original Work or Derivative Works in any
|
||||
way such that the Original Work or Derivative Works may be used by anyone
|
||||
other than You, whether those works are distributed or communicated to those
|
||||
persons or made available as an application intended for use over a network.
|
||||
As an express condition for the grants of license hereunder, You must treat
|
||||
any External Deployment by You of the Original Work or a Derivative Work as a
|
||||
distribution under section 1(c).
|
||||
|
||||
6) Attribution Rights. You must retain, in the Source Code of any Derivative
|
||||
Works that You create, all copyright, patent, or trademark notices from the
|
||||
Source Code of the Original Work, as well as any notices of licensing and any
|
||||
descriptive text identified therein as an "Attribution Notice." You must cause
|
||||
the Source Code for any Derivative Works that You create to carry a prominent
|
||||
Attribution Notice reasonably calculated to inform recipients that You have
|
||||
modified the Original Work.
|
||||
|
||||
7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that
|
||||
the copyright in and to the Original Work and the patent rights granted herein
|
||||
by Licensor are owned by the Licensor or are sublicensed to You under the
|
||||
terms of this License with the permission of the contributor(s) of those
|
||||
copyrights and patent rights. Except as expressly stated in the immediately
|
||||
preceding sentence, the Original Work is provided under this License on an "AS
|
||||
IS" BASIS and WITHOUT WARRANTY, either express or implied, including, without
|
||||
limitation, the warranties of non-infringement, merchantability or fitness for
|
||||
a particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK
|
||||
IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential part of this
|
||||
License. No license to the Original Work is granted by this License except
|
||||
under this disclaimer.
|
||||
|
||||
8) Limitation of Liability. Under no circumstances and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise, shall the
|
||||
Licensor be liable to anyone for any indirect, special, incidental, or
|
||||
consequential damages of any character arising as a result of this License or
|
||||
the use of the Original Work including, without limitation, damages for loss
|
||||
of goodwill, work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses. This limitation of liability shall not
|
||||
apply to the extent applicable law prohibits such limitation.
|
||||
|
||||
9) Acceptance and Termination. If, at any time, You expressly assented to this
|
||||
License, that assent indicates your clear and irrevocable acceptance of this
|
||||
License and all of its terms and conditions. If You distribute or communicate
|
||||
copies of the Original Work or a Derivative Work, You must make a reasonable
|
||||
effort under the circumstances to obtain the express assent of recipients to
|
||||
the terms of this License. This License conditions your rights to undertake
|
||||
the activities listed in Section 1, including your right to create Derivative
|
||||
Works based upon the Original Work, and doing so without honoring these terms
|
||||
and conditions is prohibited by copyright law and international treaty.
|
||||
Nothing in this License is intended to affect copyright exceptions and
|
||||
limitations (including “fair use” or “fair dealing”). This License shall
|
||||
terminate immediately and You may no longer exercise any of the rights granted
|
||||
to You by this License upon your failure to honor the conditions in Section
|
||||
1(c).
|
||||
|
||||
10) Termination for Patent Action. This License shall terminate automatically
|
||||
and You may no longer exercise any of the rights granted to You by this
|
||||
License as of the date You commence an action, including a cross-claim or
|
||||
counterclaim, against Licensor or any licensee alleging that the Original Work
|
||||
infringes a patent. This termination provision shall not apply for an action
|
||||
alleging patent infringement by combinations of the Original Work with other
|
||||
software or hardware.
|
||||
|
||||
11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this
|
||||
License may be brought only in the courts of a jurisdiction wherein the
|
||||
Licensor resides or in which Licensor conducts its primary business, and under
|
||||
the laws of that jurisdiction excluding its conflict-of-law provisions. The
|
||||
application of the United Nations Convention on Contracts for the
|
||||
International Sale of Goods is expressly excluded. Any use of the Original
|
||||
Work outside the scope of this License or after its termination shall be
|
||||
subject to the requirements and penalties of copyright or patent law in the
|
||||
appropriate jurisdiction. This section shall survive the termination of this
|
||||
License.
|
||||
|
||||
12) Attorneys’ Fees. In any action to enforce the terms of this License or
|
||||
seeking damages relating thereto, the prevailing party shall be entitled to
|
||||
recover its costs and expenses, including, without limitation, reasonable
|
||||
attorneys' fees and costs incurred in connection with such action, including
|
||||
any appeal of such action. This section shall survive the termination of this
|
||||
License.
|
||||
|
||||
13) Miscellaneous. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent necessary
|
||||
to make it enforceable.
|
||||
|
||||
14) Definition of "You" in This License. "You" throughout this License,
|
||||
whether in upper or lower case, means an individual or a legal entity
|
||||
exercising rights under, and complying with all of the terms of, this License.
|
||||
For legal entities, "You" includes any entity that controls, is controlled by,
|
||||
or is under common control with you. For purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the direction or
|
||||
management of such entity, whether by contract or otherwise, or (ii) ownership
|
||||
of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial
|
||||
ownership of such entity.
|
||||
|
||||
15) Right to Use. You may use the Original Work in all ways not otherwise
|
||||
restricted or conditioned by this License or by law, and Licensor promises not
|
||||
to interfere with or be responsible for such uses by You.
|
||||
|
||||
16) Modification of This License. This License is Copyright © 2005 Lawrence
|
||||
Rosen. Permission is granted to copy, distribute, or communicate this License
|
||||
without modification. Nothing in this License permits You to modify this
|
||||
License as applied to the Original Work or to Derivative Works. However, You
|
||||
may modify the text of this License and copy, distribute or communicate your
|
||||
modified version (the "Modified License") and apply it to other original works
|
||||
of authorship subject to the following conditions: (i) You may not indicate in
|
||||
any way that your Modified License is the "Academic Free License" or "AFL" and
|
||||
you may not use those names in the name of your Modified License; (ii) You
|
||||
must replace the notice specified in the first paragraph above with the notice
|
||||
"Licensed under <insert your license name here>" or with a notice of your own
|
||||
that is not confusingly similar to the notice in this License; and (iii) You
|
||||
may not claim that your original works are open source software unless your
|
||||
Modified License has been approved by Open Source Initiative (OSI) and You
|
||||
comply with its license review and certification process.
|
@ -1,37 +1,42 @@
|
||||
---
|
||||
title: Affero GPL
|
||||
category: GPL
|
||||
tab-slug: agpl
|
||||
hide-from-license-list: true
|
||||
layout: license
|
||||
permalink: /licenses/agpl/
|
||||
source: http://www.gnu.org/licenses/agpl-3.0.txt
|
||||
title: GNU Affero General Public License v3.0
|
||||
spdx-id: AGPL-3.0
|
||||
nickname: GNU AGPLv3
|
||||
redirect_from: /licenses/agpl/
|
||||
hidden: false
|
||||
|
||||
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
|
||||
description: Permissions of this strongest copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
required:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
- disclose-source
|
||||
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
|
||||
|
||||
permitted:
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
- no-sublicense
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
- disclose-source
|
||||
- network-use-disclose
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
Version 3, 19 November 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
@ -673,7 +678,7 @@ the "copyright" line and a pointer to where the full notice is found.
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
@ -688,4 +693,4 @@ specific requirements.
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU AGPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
<https://www.gnu.org/licenses/>.
|
@ -1,35 +1,36 @@
|
||||
---
|
||||
title: Apache v2 License
|
||||
category: Apache
|
||||
layout: license
|
||||
permalink: /licenses/apache/
|
||||
|
||||
title: Apache License 2.0
|
||||
spdx-id: Apache-2.0
|
||||
redirect_from: /licenses/apache/
|
||||
featured: true
|
||||
hidden: false
|
||||
|
||||
description: A permissive license that also provides an express grant of patent rights from contributors to users.
|
||||
|
||||
note: The Apache Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice at the very end of the license in the appendix.
|
||||
description: A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
source: http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
note: The Apache Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice at the very end of the license in the appendix.
|
||||
|
||||
required:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
using:
|
||||
- Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE
|
||||
- PDF.js: https://github.com/mozilla/pdf.js/blob/master/LICENSE
|
||||
- Swift: https://github.com/apple/swift/blob/master/LICENSE.txt
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- sublicense
|
||||
- patent-grant
|
||||
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
|
||||
limitations:
|
||||
- trademark-use
|
||||
- no-liability
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
@ -213,7 +214,7 @@ forbidden:
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
@ -221,7 +222,7 @@ forbidden:
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
@ -1,32 +1,35 @@
|
||||
---
|
||||
layout: license
|
||||
title: Artistic License 2.0
|
||||
category: Artistic
|
||||
permalink: /licenses/artistic/
|
||||
source: http://www.perlfoundation.org/attachment/legal/artistic-2_0.txt
|
||||
spdx-id: Artistic-2.0
|
||||
redirect_from: /licenses/artistic/
|
||||
|
||||
description: Heavily favored by the Perl community, the Artistic license requires that modified versions of the software do not prevent users from running the standard version.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code, and copy the text of the license into the file. Do not replace the copyright notice (year, author), which refers to the license itself, not the licensed project.
|
||||
|
||||
required:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
using:
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- sublicense
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- trademark-use
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
The Artistic License 2.0
|
||||
|
||||
Copyright (c) [year] [fullname]
|
||||
Copyright (c) 2000-2006, The Perl Foundation.
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
@ -1,42 +1,45 @@
|
||||
---
|
||||
layout: license
|
||||
title: BSD 2-Clause license
|
||||
category: BSD
|
||||
tab-slug: bsd
|
||||
hide-from-license-list: false
|
||||
permalink: /licenses/bsd/
|
||||
title: BSD 2-Clause "Simplified" License
|
||||
spdx-id: BSD-2-Clause
|
||||
redirect_from: /licenses/bsd/
|
||||
hidden: false
|
||||
|
||||
description: A permissive license that comes in two variants, the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause">BSD 3-Clause</a>. Both have very minute differences to the MIT license.
|
||||
description: A permissive license that comes in two variants, the <a href="/licenses/bsd-2-clause/">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause/">BSD 3-Clause</a>. Both have very minute differences to the MIT license.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
|
||||
|
||||
source: http://opensource.org/licenses/BSD-2-Clause
|
||||
using:
|
||||
- go-redis: https://github.com/go-redis/redis/blob/master/LICENSE
|
||||
- Homebrew: https://github.com/Homebrew/brew/blob/master/LICENSE.txt
|
||||
- Pony: https://github.com/ponylang/ponyc/blob/master/LICENSE
|
||||
|
||||
required:
|
||||
- include-copyright
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- sublicense
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
BSD 2-Clause License
|
||||
|
||||
Copyright (c) [year], [fullname]
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
58
_licenses/bsd-3-clause-clear.txt
Normal file
58
_licenses/bsd-3-clause-clear.txt
Normal file
@ -0,0 +1,58 @@
|
||||
---
|
||||
title: BSD 3-Clause Clear License
|
||||
spdx-id: BSD-3-Clause-Clear
|
||||
|
||||
description: A variant of the <a href="/licenses/bsd-3-clause/">BSD 3-Clause License</a> that explicitly does not grant any patent rights.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- patent-use
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
The Clear BSD License
|
||||
|
||||
Copyright (c) [year] [fullname]
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted (subject to the limitations in the disclaimer
|
||||
below) provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
|
||||
THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
@ -1,45 +1,48 @@
|
||||
---
|
||||
layout: license
|
||||
title: BSD (3-Clause) License
|
||||
category: BSD
|
||||
tab-slug: bsd-3
|
||||
hide-from-license-list: true
|
||||
permalink: /licenses/bsd-3-clause/
|
||||
title: BSD 3-Clause "New" or "Revised" License
|
||||
spdx-id: BSD-3-Clause
|
||||
hidden: false
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace {organization} with the organization, if any, that sponsors this work.
|
||||
description: A permissive license similar to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause License</a>, but with a 3rd clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.
|
||||
|
||||
source: http://opensource.org/licenses/BSD-3-Clause
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
|
||||
|
||||
required:
|
||||
- include-copyright
|
||||
using:
|
||||
- d3: https://github.com/d3/d3/blob/master/LICENSE
|
||||
- LevelDB: https://github.com/google/leveldb/blob/master/LICENSE
|
||||
- Quill: https://github.com/quilljs/quill/blob/develop/LICENSE
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- sublicense
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
- trademark-use
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) [year], [fullname]
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the {organization} nor the names of its
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
50
_licenses/bsl-1.0.txt
Normal file
50
_licenses/bsl-1.0.txt
Normal file
@ -0,0 +1,50 @@
|
||||
---
|
||||
title: Boost Software License 1.0
|
||||
spdx-id: BSL-1.0
|
||||
|
||||
description: A simple permissive license only requiring preservation of copyright and license notices for source (and not binary) distribution. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
note: Boost recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the [Boost Software License FAQ](https://www.boost.org/users/license.html#FAQ).
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
423
_licenses/cc-by-4.0.txt
Normal file
423
_licenses/cc-by-4.0.txt
Normal file
@ -0,0 +1,423 @@
|
||||
---
|
||||
title: Creative Commons Attribution 4.0 International
|
||||
spdx-id: CC-BY-4.0
|
||||
|
||||
description: Permits almost any use subject to providing credit and license notice. Frequently used for media assets and educational materials. The most common license for Open Access scientific publications. Not recommended for software.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. It is also acceptable to solely supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by/4.0/'>canonical URL for the license</a>.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- trademark-use
|
||||
- patent-use
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Attribution 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More_considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution 4.0 International Public License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution 4.0 International Public License ("Public License"). To the
|
||||
extent this Public License may be interpreted as a contract, You are
|
||||
granted the Licensed Rights in consideration of Your acceptance of
|
||||
these terms and conditions, and the Licensor grants You such rights in
|
||||
consideration of benefits the Licensor receives from making the
|
||||
Licensed Material available under these terms and conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Adapter's License means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
d. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
f. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
g. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
h. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
i. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
j. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
k. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part; and
|
||||
|
||||
b. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material (including in modified
|
||||
form), You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
4. If You Share Adapted Material You produce, the Adapter's
|
||||
License You apply must not prevent recipients of the Adapted
|
||||
Material from complying with this Public License.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material; and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public
|
||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||
its public licenses to material it publishes and in those instances
|
||||
will be considered the “Licensor.” The text of the Creative Commons
|
||||
public licenses is dedicated to the public domain under the CC0 Public
|
||||
Domain Dedication. Except for the limited purpose of indicating that
|
||||
material is shared under a Creative Commons public license or as
|
||||
otherwise permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
456
_licenses/cc-by-sa-4.0.txt
Normal file
456
_licenses/cc-by-sa-4.0.txt
Normal file
@ -0,0 +1,456 @@
|
||||
---
|
||||
title: Creative Commons Attribution Share Alike 4.0 International
|
||||
spdx-id: CC-BY-SA-4.0
|
||||
|
||||
description: Similar to <a href='/licenses/cc-by-4.0/'>CC-BY-4.0</a> but requires derivatives be distributed under the same or a similar, <a href="https://creativecommons.org/compatiblelicenses/">compatible</a> license. Frequently used for media assets and educational materials. A previous version is the default license for Wikipedia and other Wikimedia projects. Not recommended for software.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. It is also acceptable to solely supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by-sa/4.0/'>canonical URL for the license</a>.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- trademark-use
|
||||
- patent-use
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Attribution-ShareAlike 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More_considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution-ShareAlike 4.0 International Public
|
||||
License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution-ShareAlike 4.0 International Public License ("Public
|
||||
License"). To the extent this Public License may be interpreted as a
|
||||
contract, You are granted the Licensed Rights in consideration of Your
|
||||
acceptance of these terms and conditions, and the Licensor grants You
|
||||
such rights in consideration of benefits the Licensor receives from
|
||||
making the Licensed Material available under these terms and
|
||||
conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Adapter's License means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. BY-SA Compatible License means a license listed at
|
||||
creativecommons.org/compatiblelicenses, approved by Creative
|
||||
Commons as essentially the equivalent of this Public License.
|
||||
|
||||
d. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
e. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
f. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
g. License Elements means the license attributes listed in the name
|
||||
of a Creative Commons Public License. The License Elements of this
|
||||
Public License are Attribution and ShareAlike.
|
||||
|
||||
h. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
i. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
j. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
k. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
l. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
m. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part; and
|
||||
|
||||
b. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. Additional offer from the Licensor -- Adapted Material.
|
||||
Every recipient of Adapted Material from You
|
||||
automatically receives an offer from the Licensor to
|
||||
exercise the Licensed Rights in the Adapted Material
|
||||
under the conditions of the Adapter's License You apply.
|
||||
|
||||
c. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material (including in modified
|
||||
form), You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
b. ShareAlike.
|
||||
|
||||
In addition to the conditions in Section 3(a), if You Share
|
||||
Adapted Material You produce, the following conditions also apply.
|
||||
|
||||
1. The Adapter's License You apply must be a Creative Commons
|
||||
license with the same License Elements, this version or
|
||||
later, or a BY-SA Compatible License.
|
||||
|
||||
2. You must include the text of, or the URI or hyperlink to, the
|
||||
Adapter's License You apply. You may satisfy this condition
|
||||
in any reasonable manner based on the medium, means, and
|
||||
context in which You Share Adapted Material.
|
||||
|
||||
3. You may not offer or impose any additional or different terms
|
||||
or conditions on, or apply any Effective Technological
|
||||
Measures to, Adapted Material that restrict exercise of the
|
||||
rights granted under the Adapter's License You apply.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material,
|
||||
|
||||
including for purposes of Section 3(b); and
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public
|
||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||
its public licenses to material it publishes and in those instances
|
||||
will be considered the “Licensor.” The text of the Creative Commons
|
||||
public licenses is dedicated to the public domain under the CC0 Public
|
||||
Domain Dedication. Except for the limited purpose of indicating that
|
||||
material is shared under a Creative Commons public license or as
|
||||
otherwise permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
@ -1,31 +1,32 @@
|
||||
---
|
||||
layout: license
|
||||
title: CC0 1.0 Universal
|
||||
category: Public Domain Dedication
|
||||
tab-slug: cc0
|
||||
permalink: /licenses/cc0/
|
||||
class: license-types
|
||||
hide-from-license-list: true
|
||||
filename: LICENSE
|
||||
title: Creative Commons Zero v1.0 Universal
|
||||
spdx-id: CC0-1.0
|
||||
redirect_from: /licenses/cc0/
|
||||
|
||||
source: http://creativecommons.org/publicdomain/zero/1.0/
|
||||
|
||||
description: The <a href="http://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 Public Domain Dedication</a> waives copyright interest in any a work you've created and dedicates it to the world-wide public domain. Use CC0 to opt out of copyright entirely and ensure your work has the widest reach. As with the Unlicense and typical software licenses, CC0 disclaims warranties. CC0 is very similar to the Unlicense.
|
||||
description: The <a href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 Public Domain Dedication</a> waives copyright interest in a work you've created and dedicates it to the world-wide public domain. Use CC0 to opt out of copyright entirely and ensure your work has the widest reach. As with the Unlicense and typical software licenses, CC0 disclaims warranties. CC0 is very similar to the Unlicense.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the CC0 into the file.
|
||||
|
||||
required:
|
||||
note: Creative Commons recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be <a href="https://wiki.creativecommons.org/wiki/CC0_FAQ#May_I_apply_CC0_to_computer_software.3F_If_so.2C_is_there_a_recommended_implementation.3F">found on their website</a>.
|
||||
|
||||
permitted:
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
conditions: []
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- trademark-use
|
||||
- patent-use
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
CC0 1.0 Universal
|
||||
|
||||
Statement of Purpose
|
235
_licenses/ecl-2.0.txt
Normal file
235
_licenses/ecl-2.0.txt
Normal file
@ -0,0 +1,235 @@
|
||||
---
|
||||
title: Educational Community License v2.0
|
||||
spdx-id: ECL-2.0
|
||||
|
||||
description: The Educational Community License version 2.0 ("ECL") consists of the Apache 2.0 license, modified to change the scope of the patent grant in section 3 to be specific to the needs of the education communities using this license.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
note: The Apereo Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice at the very end of the license in the appendix.
|
||||
|
||||
using:
|
||||
- Sakai: https://github.com/sakaiproject/sakai/blob/master/LICENSE
|
||||
- OAE: https://github.com/oaeproject/Hilary/blob/master/LICENSE
|
||||
- Opencast: https://github.com/opencast/opencast/blob/develop/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
|
||||
limitations:
|
||||
- trademark-use
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
Educational Community License
|
||||
|
||||
Version 2.0, April 2007
|
||||
|
||||
http://opensource.org/licenses/ECL-2.0
|
||||
|
||||
The Educational Community License version 2.0 ("ECL") consists of the Apache
|
||||
2.0 license, modified to change the scope of the patent grant in section 3 to
|
||||
be specific to the needs of the education communities using this license. The
|
||||
original Apache 2.0 license can be found at:
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction, and
|
||||
distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by the
|
||||
copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all other
|
||||
entities that control, are controlled by, or are under common control with
|
||||
that entity. For the purposes of this definition, "control" means (i) the
|
||||
power, direct or indirect, to cause the direction or management of such
|
||||
entity, whether by contract or otherwise, or (ii) ownership of fifty percent
|
||||
(50%) or more of the outstanding shares, or (iii) beneficial ownership of such
|
||||
entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
||||
permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation source, and
|
||||
configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical transformation or
|
||||
translation of a Source form, including but not limited to compiled object
|
||||
code, generated documentation, and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or Object form,
|
||||
made available under the License, as indicated by a copyright notice that is
|
||||
included in or attached to the work (an example is provided in the Appendix
|
||||
below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object form, that
|
||||
is based on (or derived from) the Work and for which the editorial revisions,
|
||||
annotations, elaborations, or other modifications represent, as a whole, an
|
||||
original work of authorship. For the purposes of this License, Derivative
|
||||
Works shall not include works that remain separable from, or merely link (or
|
||||
bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including the original
|
||||
version of the Work and any modifications or additions to that Work or
|
||||
Derivative Works thereof, that is intentionally submitted to Licensor for
|
||||
inclusion in the Work by the copyright owner or by an individual or Legal
|
||||
Entity authorized to submit on behalf of the copyright owner. For the purposes
|
||||
of this definition, "submitted" means any form of electronic, verbal, or
|
||||
written communication sent to the Licensor or its representatives, including
|
||||
but not limited to communication on electronic mailing lists, source code
|
||||
control systems, and issue tracking systems that are managed by, or on behalf
|
||||
of, the Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise designated
|
||||
in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
|
||||
of whom a Contribution has been received by Licensor and subsequently
|
||||
incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License.
|
||||
|
||||
Subject to the terms and conditions of this License, each Contributor hereby
|
||||
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
||||
irrevocable copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the Work and
|
||||
such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License.
|
||||
|
||||
Subject to the terms and conditions of this License, each Contributor hereby
|
||||
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
||||
irrevocable (except as stated in this section) patent license to make, have
|
||||
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
|
||||
such license applies only to those patent claims licensable by such
|
||||
Contributor that are necessarily infringed by their Contribution(s) alone or
|
||||
by combination of their Contribution(s) with the Work to which such
|
||||
Contribution(s) was submitted. If You institute patent litigation against any
|
||||
entity (including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
the Work or a Contribution incorporated within the Work constitutes direct or
|
||||
contributory patent infringement, then any patent licenses granted to You
|
||||
under this License for that Work shall terminate as of the date such
|
||||
litigation is filed. Any patent license granted hereby with respect to
|
||||
contributions by an individual employed by an institution or organization is
|
||||
limited to patent claims where the individual that is the author of the Work
|
||||
is also the inventor of the patent claims licensed, and where the organization
|
||||
or institution has the right to grant such license under applicable grant and
|
||||
research funding agreements. No other express or implied licenses are granted.
|
||||
|
||||
4. Redistribution.
|
||||
|
||||
You may reproduce and distribute copies of the Work or Derivative Works
|
||||
thereof in any medium, with or without modifications, and in Source or Object
|
||||
form, provided that You meet the following conditions:
|
||||
|
||||
You must give any other recipients of the Work or Derivative Works a copy of
|
||||
this License; and You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and You must retain, in the Source form of
|
||||
any Derivative Works that You distribute, all copyright, patent, trademark,
|
||||
and attribution notices from the Source form of the Work, excluding those
|
||||
notices that do not pertain to any part of the Derivative Works; and If the
|
||||
Work includes a "NOTICE" text file as part of its distribution, then any
|
||||
Derivative Works that You distribute must include a readable copy of the
|
||||
attribution notices contained within such NOTICE file, excluding those notices
|
||||
that do not pertain to any part of the Derivative Works, in at least one of
|
||||
the following places: within a NOTICE text file distributed as part of the
|
||||
Derivative Works; within the Source form or documentation, if provided along
|
||||
with the Derivative Works; or, within a display generated by the Derivative
|
||||
Works, if and wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and do not modify the
|
||||
License. You may add Your own attribution notices within Derivative Works that
|
||||
You distribute, alongside or as an addendum to the NOTICE text from the Work,
|
||||
provided that such additional attribution notices cannot be construed as
|
||||
modifying the License. You may add Your own copyright statement to Your
|
||||
modifications and may provide additional or different license terms and
|
||||
conditions for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use, reproduction, and
|
||||
distribution of the Work otherwise complies with the conditions stated in this
|
||||
License.
|
||||
|
||||
5. Submission of Contributions.
|
||||
|
||||
Unless You explicitly state otherwise, any Contribution intentionally
|
||||
submitted for inclusion in the Work by You to the Licensor shall be under the
|
||||
terms and conditions of this License, without any additional terms or
|
||||
conditions. Notwithstanding the above, nothing herein shall supersede or
|
||||
modify the terms of any separate license agreement you may have executed with
|
||||
Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks.
|
||||
|
||||
This License does not grant permission to use the trade names, trademarks,
|
||||
service marks, or product names of the Licensor, except as required for
|
||||
reasonable and customary use in describing the origin of the Work and
|
||||
reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty.
|
||||
|
||||
Unless required by applicable law or agreed to in writing, Licensor provides
|
||||
the Work (and each Contributor provides its Contributions) on an "AS IS"
|
||||
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions of TITLE,
|
||||
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You
|
||||
are solely responsible for determining the appropriateness of using or
|
||||
redistributing the Work and assume any risks associated with Your exercise of
|
||||
permissions under this License.
|
||||
|
||||
8. Limitation of Liability.
|
||||
|
||||
In no event and under no legal theory, whether in tort (including negligence),
|
||||
contract, or otherwise, unless required by applicable law (such as deliberate
|
||||
and grossly negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a result of
|
||||
this License or out of the use or inability to use the Work (including but not
|
||||
limited to damages for loss of goodwill, work stoppage, computer failure or
|
||||
malfunction, or any and all other commercial damages or losses), even if such
|
||||
Contributor has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability.
|
||||
|
||||
While redistributing the Work or Derivative Works thereof, You may choose to
|
||||
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
|
||||
other liability obligations and/or rights consistent with this License.
|
||||
However, in accepting such obligations, You may act only on Your own behalf
|
||||
and on Your sole responsibility, not on behalf of any other Contributor, and
|
||||
only if You agree to indemnify, defend, and hold each Contributor harmless for
|
||||
any liability incurred by, or claims asserted against, such Contributor by
|
||||
reason of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Educational Community License to your work
|
||||
|
||||
To apply the Educational Community License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]" replaced with
|
||||
your own identifying information. (Don't include the brackets!) The text
|
||||
should be enclosed in the appropriate comment syntax for the file format. We
|
||||
also recommend that a file or class name and description of purpose be
|
||||
included on the same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner] Licensed under the Educational
|
||||
Community License, Version 2.0 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of the License at
|
||||
|
||||
http://opensource.org/licenses/ECL-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
License for the specific language governing permissions and limitations under
|
||||
the License.
|
@ -1,39 +1,34 @@
|
||||
---
|
||||
layout: license
|
||||
title: Eclipse Public License v1.0
|
||||
category: Eclipse
|
||||
permalink: /licenses/eclipse/
|
||||
title: Eclipse Public License 1.0
|
||||
spdx-id: EPL-1.0
|
||||
|
||||
description: This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones.
|
||||
|
||||
using:
|
||||
The Eclipse Foundation: "http://www.eclipse.org"
|
||||
OpenDaylight: "http://www.opendaylight.org/"
|
||||
Clojure: "http://clojure.org/"
|
||||
JUnit: "http://junit.org/"
|
||||
Ruby: "https://github.com/jruby/jruby"
|
||||
Mondrian: "http://en.wikipedia.org/wiki/Mondrian_OLAP_server"
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
source: http://www.eclipse.org/legal/epl-v10.html
|
||||
using:
|
||||
- Eclipse hawkBit: https://github.com/eclipse/hawkbit/blob/master/LICENSE
|
||||
- JUnit: https://github.com/junit-team/junit4/blob/master/LICENSE-junit.txt
|
||||
- openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
|
||||
|
||||
required:
|
||||
- disclose-source
|
||||
- include-copyright
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- commercial-use
|
||||
- distribution
|
||||
- modifications
|
||||
- sublicense
|
||||
- patent-grant
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
conditions:
|
||||
- disclose-source
|
||||
- include-copyright
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Eclipse Public License - v 1.0
|
||||
|
||||
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
|
||||
@ -43,21 +38,19 @@ CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
|
||||
1. DEFINITIONS
|
||||
|
||||
"Contribution" means:
|
||||
|
||||
a) in the case of the initial Contributor, the initial code and documentation
|
||||
distributed under this Agreement, and
|
||||
a) in the case of the initial Contributor, the initial code and
|
||||
documentation distributed under this Agreement, and
|
||||
b) in the case of each subsequent Contributor:
|
||||
i) changes to the Program, and
|
||||
ii) additions to the Program;
|
||||
|
||||
where such changes and/or additions to the Program originate from and are
|
||||
distributed by that particular Contributor. A Contribution 'originates'
|
||||
from a Contributor if it was added to the Program by such Contributor
|
||||
itself or anyone acting on such Contributor's behalf. Contributions do not
|
||||
include additions to the Program which: (i) are separate modules of
|
||||
software distributed in conjunction with the Program under their own
|
||||
license agreement, and (ii) are not derivative works of the Program.
|
||||
|
||||
distributed by that particular Contributor. A Contribution 'originates' from a
|
||||
Contributor if it was added to the Program by such Contributor itself or
|
||||
anyone acting on such Contributor's behalf. Contributions do not include
|
||||
additions to the Program which: (i) are separate modules of software
|
||||
distributed in conjunction with the Program under their own license agreement,
|
||||
and (ii) are not derivative works of the Program.
|
||||
"Contributor" means any person or entity that distributes the Program.
|
||||
|
||||
"Licensed Patents" mean patent claims licensable by a Contributor which are
|
||||
@ -71,11 +64,13 @@ Agreement.
|
||||
including all Contributors.
|
||||
|
||||
2. GRANT OF RIGHTS
|
||||
|
||||
a) Subject to the terms of this Agreement, each Contributor hereby grants
|
||||
Recipient a non-exclusive, worldwide, royalty-free copyright license to
|
||||
reproduce, prepare derivative works of, publicly display, publicly
|
||||
perform, distribute and sublicense the Contribution of such Contributor,
|
||||
if any, and such derivative works, in source code and object code form.
|
||||
|
||||
b) Subject to the terms of this Agreement, each Contributor hereby grants
|
||||
Recipient a non-exclusive, worldwide, royalty-free patent license under
|
||||
Licensed Patents to make, use, sell, offer to sell, import and otherwise
|
||||
@ -86,56 +81,60 @@ including all Contributors.
|
||||
combination to be covered by the Licensed Patents. The patent license
|
||||
shall not apply to any other combinations which include the Contribution.
|
||||
No hardware per se is licensed hereunder.
|
||||
c) Recipient understands that although each Contributor grants the licenses
|
||||
to its Contributions set forth herein, no assurances are provided by any
|
||||
Contributor that the Program does not infringe the patent or other
|
||||
intellectual property rights of any other entity. Each Contributor
|
||||
disclaims any liability to Recipient for claims brought by any other
|
||||
entity based on infringement of intellectual property rights or
|
||||
|
||||
c) Recipient understands that although each Contributor grants the
|
||||
licenses to its Contributions set forth herein, no assurances are
|
||||
provided by any Contributor that the Program does not infringe the patent
|
||||
or other intellectual property rights of any other entity. Each
|
||||
Contributor disclaims any liability to Recipient for claims brought by
|
||||
any other entity based on infringement of intellectual property rights or
|
||||
otherwise. As a condition to exercising the rights and licenses granted
|
||||
hereunder, each Recipient hereby assumes sole responsibility to secure
|
||||
any other intellectual property rights needed, if any. For example, if a
|
||||
third party patent license is required to allow Recipient to distribute
|
||||
the Program, it is Recipient's responsibility to acquire that license
|
||||
before distributing the Program.
|
||||
|
||||
d) Each Contributor represents that to its knowledge it has sufficient
|
||||
copyright rights in its Contribution, if any, to grant the copyright
|
||||
license set forth in this Agreement.
|
||||
|
||||
3. REQUIREMENTS
|
||||
|
||||
A Contributor may choose to distribute the Program in object code form under
|
||||
its own license agreement, provided that:
|
||||
|
||||
a) it complies with the terms and conditions of this Agreement; and
|
||||
|
||||
b) its license agreement:
|
||||
i) effectively disclaims on behalf of all Contributors all warranties
|
||||
and conditions, express and implied, including warranties or
|
||||
conditions of title and non-infringement, and implied warranties or
|
||||
conditions of merchantability and fitness for a particular purpose;
|
||||
ii) effectively excludes on behalf of all Contributors all liability for
|
||||
damages, including direct, indirect, special, incidental and
|
||||
i) effectively disclaims on behalf of all Contributors all
|
||||
warranties and conditions, express and implied, including warranties
|
||||
or conditions of title and non-infringement, and implied warranties
|
||||
or conditions of merchantability and fitness for a particular
|
||||
purpose;
|
||||
ii) effectively excludes on behalf of all Contributors all liability
|
||||
for damages, including direct, indirect, special, incidental and
|
||||
consequential damages, such as lost profits;
|
||||
iii) states that any provisions which differ from this Agreement are
|
||||
offered by that Contributor alone and not by any other party; and
|
||||
iv) states that source code for the Program is available from such
|
||||
Contributor, and informs licensees how to obtain it in a reasonable
|
||||
manner on or through a medium customarily used for software exchange.
|
||||
manner on or through a medium customarily used for software
|
||||
exchange.
|
||||
|
||||
When the Program is made available in source code form:
|
||||
|
||||
a) it must be made available under this Agreement; and
|
||||
b) a copy of this Agreement must be included with each copy of the Program.
|
||||
Contributors may not remove or alter any copyright notices contained
|
||||
within the Program.
|
||||
|
||||
b) a copy of this Agreement must be included with each copy of the
|
||||
Program.
|
||||
Contributors may not remove or alter any copyright notices contained within
|
||||
the Program.
|
||||
|
||||
Each Contributor must identify itself as the originator of its Contribution,
|
||||
if
|
||||
any, in a manner that reasonably allows subsequent Recipients to identify the
|
||||
originator of the Contribution.
|
||||
if any, in a manner that reasonably allows subsequent Recipients to identify
|
||||
the originator of the Contribution.
|
||||
|
||||
4. COMMERCIAL DISTRIBUTION
|
||||
|
||||
Commercial distributors of software may accept certain responsibilities with
|
||||
respect to end users, business partners and the like. While this license is
|
||||
intended to facilitate the commercial use of the Program, the Contributor who
|
||||
@ -150,12 +149,11 @@ Contributor to the extent caused by the acts or omissions of such Commercial
|
||||
Contributor in connection with its distribution of the Program in a commercial
|
||||
product offering. The obligations in this section do not apply to any claims
|
||||
or Losses relating to any actual or alleged intellectual property
|
||||
infringement. In order to qualify, an Indemnified Contributor must:
|
||||
a) promptly notify the Commercial Contributor in writing of such claim, and
|
||||
b) allow the Commercial Contributor to control, and cooperate with the
|
||||
Commercial Contributor in, the defense and any related settlement
|
||||
negotiations. The Indemnified Contributor may participate in any such claim at
|
||||
its own expense.
|
||||
infringement. In order to qualify, an Indemnified Contributor must: a)
|
||||
promptly notify the Commercial Contributor in writing of such claim, and b)
|
||||
allow the Commercial Contributor to control, and cooperate with the Commercial
|
||||
Contributor in, the defense and any related settlement negotiations. The
|
||||
Indemnified Contributor may participate in any such claim at its own expense.
|
||||
|
||||
For example, a Contributor might include the Program in a commercial product
|
||||
offering, Product X. That Contributor is then a Commercial Contributor. If
|
||||
@ -168,7 +166,6 @@ court requires any other Contributor to pay any damages as a result, the
|
||||
Commercial Contributor must pay those damages.
|
||||
|
||||
5. NO WARRANTY
|
||||
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
|
||||
IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
|
||||
@ -181,7 +178,6 @@ or loss of data, programs or equipment, and unavailability or interruption of
|
||||
operations.
|
||||
|
||||
6. DISCLAIMER OF LIABILITY
|
||||
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
|
||||
CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION
|
||||
@ -235,5 +231,5 @@ Program not expressly granted under this Agreement are reserved.
|
||||
This Agreement is governed by the laws of the State of New York and the
|
||||
intellectual property laws of the United States of America. No party to this
|
||||
Agreement will bring a legal action under this Agreement more than one year
|
||||
after the cause of action arose. Each party waives its rights to a jury trial in
|
||||
any resulting litigation.
|
||||
after the cause of action arose. Each party waives its rights to a jury trial
|
||||
in any resulting litigation.
|
310
_licenses/epl-2.0.txt
Normal file
310
_licenses/epl-2.0.txt
Normal file
@ -0,0 +1,310 @@
|
||||
---
|
||||
title: Eclipse Public License 2.0
|
||||
spdx-id: EPL-2.0
|
||||
redirect_from: /licenses/eclipse/
|
||||
hidden: false
|
||||
|
||||
description: This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
using:
|
||||
- Eclipse Ditto: https://github.com/eclipse/ditto/blob/master/LICENSE
|
||||
- Eclipse SmartHome: https://github.com/eclipse/smarthome/blob/master/LICENSE
|
||||
- SUMO: https://github.com/eclipse/sumo/blob/master/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- distribution
|
||||
- modifications
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- disclose-source
|
||||
- include-copyright
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Eclipse Public License - v 2.0
|
||||
|
||||
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
|
||||
PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
|
||||
OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Contribution" means:
|
||||
|
||||
a) in the case of the initial Contributor, the initial content
|
||||
Distributed under this Agreement, and
|
||||
|
||||
b) in the case of each subsequent Contributor:
|
||||
i) changes to the Program, and
|
||||
ii) additions to the Program;
|
||||
where such changes and/or additions to the Program originate from
|
||||
and are Distributed by that particular Contributor. A Contribution
|
||||
"originates" from a Contributor if it was added to the Program by
|
||||
such Contributor itself or anyone acting on such Contributor's behalf.
|
||||
Contributions do not include changes or additions to the Program that
|
||||
are not Modified Works.
|
||||
|
||||
"Contributor" means any person or entity that Distributes the Program.
|
||||
|
||||
"Licensed Patents" mean patent claims licensable by a Contributor which
|
||||
are necessarily infringed by the use or sale of its Contribution alone
|
||||
or when combined with the Program.
|
||||
|
||||
"Program" means the Contributions Distributed in accordance with this
|
||||
Agreement.
|
||||
|
||||
"Recipient" means anyone who receives the Program under this Agreement
|
||||
or any Secondary License (as applicable), including Contributors.
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source Code or other
|
||||
form, that is based on (or derived from) the Program and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship.
|
||||
|
||||
"Modified Works" shall mean any work in Source Code or other form that
|
||||
results from an addition to, deletion from, or modification of the
|
||||
contents of the Program, including, for purposes of clarity any new file
|
||||
in Source Code form that contains any contents of the Program. Modified
|
||||
Works shall not include works that contain only declarations,
|
||||
interfaces, types, classes, structures, or files of the Program solely
|
||||
in each case in order to link to, bind by name, or subclass the Program
|
||||
or Modified Works thereof.
|
||||
|
||||
"Distribute" means the acts of a) distributing or b) making available
|
||||
in any manner that enables the transfer of a copy.
|
||||
|
||||
"Source Code" means the form of a Program preferred for making
|
||||
modifications, including but not limited to software source code,
|
||||
documentation source, and configuration files.
|
||||
|
||||
"Secondary License" means either the GNU General Public License,
|
||||
Version 2.0, or any later versions of that license, including any
|
||||
exceptions or additional permissions as identified by the initial
|
||||
Contributor.
|
||||
|
||||
2. GRANT OF RIGHTS
|
||||
|
||||
a) Subject to the terms of this Agreement, each Contributor hereby
|
||||
grants Recipient a non-exclusive, worldwide, royalty-free copyright
|
||||
license to reproduce, prepare Derivative Works of, publicly display,
|
||||
publicly perform, Distribute and sublicense the Contribution of such
|
||||
Contributor, if any, and such Derivative Works.
|
||||
|
||||
b) Subject to the terms of this Agreement, each Contributor hereby
|
||||
grants Recipient a non-exclusive, worldwide, royalty-free patent
|
||||
license under Licensed Patents to make, use, sell, offer to sell,
|
||||
import and otherwise transfer the Contribution of such Contributor,
|
||||
if any, in Source Code or other form. This patent license shall
|
||||
apply to the combination of the Contribution and the Program if, at
|
||||
the time the Contribution is added by the Contributor, such addition
|
||||
of the Contribution causes such combination to be covered by the
|
||||
Licensed Patents. The patent license shall not apply to any other
|
||||
combinations which include the Contribution. No hardware per se is
|
||||
licensed hereunder.
|
||||
|
||||
c) Recipient understands that although each Contributor grants the
|
||||
licenses to its Contributions set forth herein, no assurances are
|
||||
provided by any Contributor that the Program does not infringe the
|
||||
patent or other intellectual property rights of any other entity.
|
||||
Each Contributor disclaims any liability to Recipient for claims
|
||||
brought by any other entity based on infringement of intellectual
|
||||
property rights or otherwise. As a condition to exercising the
|
||||
rights and licenses granted hereunder, each Recipient hereby
|
||||
assumes sole responsibility to secure any other intellectual
|
||||
property rights needed, if any. For example, if a third party
|
||||
patent license is required to allow Recipient to Distribute the
|
||||
Program, it is Recipient's responsibility to acquire that license
|
||||
before distributing the Program.
|
||||
|
||||
d) Each Contributor represents that to its knowledge it has
|
||||
sufficient copyright rights in its Contribution, if any, to grant
|
||||
the copyright license set forth in this Agreement.
|
||||
|
||||
e) Notwithstanding the terms of any Secondary License, no
|
||||
Contributor makes additional grants to any Recipient (other than
|
||||
those set forth in this Agreement) as a result of such Recipient's
|
||||
receipt of the Program under the terms of a Secondary License
|
||||
(if permitted under the terms of Section 3).
|
||||
|
||||
3. REQUIREMENTS
|
||||
|
||||
3.1 If a Contributor Distributes the Program in any form, then:
|
||||
|
||||
a) the Program must also be made available as Source Code, in
|
||||
accordance with section 3.2, and the Contributor must accompany
|
||||
the Program with a statement that the Source Code for the Program
|
||||
is available under this Agreement, and informs Recipients how to
|
||||
obtain it in a reasonable manner on or through a medium customarily
|
||||
used for software exchange; and
|
||||
|
||||
b) the Contributor may Distribute the Program under a license
|
||||
different than this Agreement, provided that such license:
|
||||
i) effectively disclaims on behalf of all other Contributors all
|
||||
warranties and conditions, express and implied, including
|
||||
warranties or conditions of title and non-infringement, and
|
||||
implied warranties or conditions of merchantability and fitness
|
||||
for a particular purpose;
|
||||
|
||||
ii) effectively excludes on behalf of all other Contributors all
|
||||
liability for damages, including direct, indirect, special,
|
||||
incidental and consequential damages, such as lost profits;
|
||||
|
||||
iii) does not attempt to limit or alter the recipients' rights
|
||||
in the Source Code under section 3.2; and
|
||||
|
||||
iv) requires any subsequent distribution of the Program by any
|
||||
party to be under a license that satisfies the requirements
|
||||
of this section 3.
|
||||
|
||||
3.2 When the Program is Distributed as Source Code:
|
||||
|
||||
a) it must be made available under this Agreement, or if the
|
||||
Program (i) is combined with other material in a separate file or
|
||||
files made available under a Secondary License, and (ii) the initial
|
||||
Contributor attached to the Source Code the notice described in
|
||||
Exhibit A of this Agreement, then the Program may be made available
|
||||
under the terms of such Secondary Licenses, and
|
||||
|
||||
b) a copy of this Agreement must be included with each copy of
|
||||
the Program.
|
||||
|
||||
3.3 Contributors may not remove or alter any copyright, patent,
|
||||
trademark, attribution notices, disclaimers of warranty, or limitations
|
||||
of liability ("notices") contained within the Program from any copy of
|
||||
the Program which they Distribute, provided that Contributors may add
|
||||
their own appropriate notices.
|
||||
|
||||
4. COMMERCIAL DISTRIBUTION
|
||||
|
||||
Commercial distributors of software may accept certain responsibilities
|
||||
with respect to end users, business partners and the like. While this
|
||||
license is intended to facilitate the commercial use of the Program,
|
||||
the Contributor who includes the Program in a commercial product
|
||||
offering should do so in a manner which does not create potential
|
||||
liability for other Contributors. Therefore, if a Contributor includes
|
||||
the Program in a commercial product offering, such Contributor
|
||||
("Commercial Contributor") hereby agrees to defend and indemnify every
|
||||
other Contributor ("Indemnified Contributor") against any losses,
|
||||
damages and costs (collectively "Losses") arising from claims, lawsuits
|
||||
and other legal actions brought by a third party against the Indemnified
|
||||
Contributor to the extent caused by the acts or omissions of such
|
||||
Commercial Contributor in connection with its distribution of the Program
|
||||
in a commercial product offering. The obligations in this section do not
|
||||
apply to any claims or Losses relating to any actual or alleged
|
||||
intellectual property infringement. In order to qualify, an Indemnified
|
||||
Contributor must: a) promptly notify the Commercial Contributor in
|
||||
writing of such claim, and b) allow the Commercial Contributor to control,
|
||||
and cooperate with the Commercial Contributor in, the defense and any
|
||||
related settlement negotiations. The Indemnified Contributor may
|
||||
participate in any such claim at its own expense.
|
||||
|
||||
For example, a Contributor might include the Program in a commercial
|
||||
product offering, Product X. That Contributor is then a Commercial
|
||||
Contributor. If that Commercial Contributor then makes performance
|
||||
claims, or offers warranties related to Product X, those performance
|
||||
claims and warranties are such Commercial Contributor's responsibility
|
||||
alone. Under this section, the Commercial Contributor would have to
|
||||
defend claims against the other Contributors related to those performance
|
||||
claims and warranties, and if a court requires any other Contributor to
|
||||
pay any damages as a result, the Commercial Contributor must pay
|
||||
those damages.
|
||||
|
||||
5. NO WARRANTY
|
||||
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
|
||||
PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS"
|
||||
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
|
||||
IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
|
||||
TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
|
||||
PURPOSE. Each Recipient is solely responsible for determining the
|
||||
appropriateness of using and distributing the Program and assumes all
|
||||
risks associated with its exercise of rights under this Agreement,
|
||||
including but not limited to the risks and costs of program errors,
|
||||
compliance with applicable laws, damage to or loss of data, programs
|
||||
or equipment, and unavailability or interruption of operations.
|
||||
|
||||
6. DISCLAIMER OF LIABILITY
|
||||
|
||||
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
|
||||
PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
|
||||
SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
|
||||
PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
|
||||
EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
7. GENERAL
|
||||
|
||||
If any provision of this Agreement is invalid or unenforceable under
|
||||
applicable law, it shall not affect the validity or enforceability of
|
||||
the remainder of the terms of this Agreement, and without further
|
||||
action by the parties hereto, such provision shall be reformed to the
|
||||
minimum extent necessary to make such provision valid and enforceable.
|
||||
|
||||
If Recipient institutes patent litigation against any entity
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that the
|
||||
Program itself (excluding combinations of the Program with other software
|
||||
or hardware) infringes such Recipient's patent(s), then such Recipient's
|
||||
rights granted under Section 2(b) shall terminate as of the date such
|
||||
litigation is filed.
|
||||
|
||||
All Recipient's rights under this Agreement shall terminate if it
|
||||
fails to comply with any of the material terms or conditions of this
|
||||
Agreement and does not cure such failure in a reasonable period of
|
||||
time after becoming aware of such noncompliance. If all Recipient's
|
||||
rights under this Agreement terminate, Recipient agrees to cease use
|
||||
and distribution of the Program as soon as reasonably practicable.
|
||||
However, Recipient's obligations under this Agreement and any licenses
|
||||
granted by Recipient relating to the Program shall continue and survive.
|
||||
|
||||
Everyone is permitted to copy and distribute copies of this Agreement,
|
||||
but in order to avoid inconsistency the Agreement is copyrighted and
|
||||
may only be modified in the following manner. The Agreement Steward
|
||||
reserves the right to publish new versions (including revisions) of
|
||||
this Agreement from time to time. No one other than the Agreement
|
||||
Steward has the right to modify this Agreement. The Eclipse Foundation
|
||||
is the initial Agreement Steward. The Eclipse Foundation may assign the
|
||||
responsibility to serve as the Agreement Steward to a suitable separate
|
||||
entity. Each new version of the Agreement will be given a distinguishing
|
||||
version number. The Program (including Contributions) may always be
|
||||
Distributed subject to the version of the Agreement under which it was
|
||||
received. In addition, after a new version of the Agreement is published,
|
||||
Contributor may elect to Distribute the Program (including its
|
||||
Contributions) under the new version.
|
||||
|
||||
Except as expressly stated in Sections 2(a) and 2(b) above, Recipient
|
||||
receives no rights or licenses to the intellectual property of any
|
||||
Contributor under this Agreement, whether expressly, by implication,
|
||||
estoppel or otherwise. All rights in the Program not expressly granted
|
||||
under this Agreement are reserved. Nothing in this Agreement is intended
|
||||
to be enforceable by any entity that is not a Contributor or Recipient.
|
||||
No third-party beneficiary rights are created under this Agreement.
|
||||
|
||||
Exhibit A - Form of Secondary Licenses Notice
|
||||
|
||||
"This Source Code may also be made available under the following
|
||||
Secondary Licenses when the conditions for such availability set forth
|
||||
in the Eclipse Public License, v. 2.0 are satisfied: {name license(s),
|
||||
version(s), and exceptions or additional permissions here}."
|
||||
|
||||
Simply including a copy of this Agreement, including this Exhibit A
|
||||
is not sufficient to license the Source Code under Secondary Licenses.
|
||||
|
||||
If it is not possible or desirable to put the notice in a particular
|
||||
file, then You may include the notice in a location (such as a LICENSE
|
||||
file in a relevant directory) where a recipient would be likely to
|
||||
look for such a notice.
|
||||
|
||||
You may add additional accurate notices of copyright ownership.
|
345
_licenses/eupl-1.1.txt
Normal file
345
_licenses/eupl-1.1.txt
Normal file
@ -0,0 +1,345 @@
|
||||
---
|
||||
title: European Union Public License 1.1
|
||||
spdx-id: EUPL-1.1
|
||||
redirect_from: /licenses/eupl-v1.1/
|
||||
|
||||
description: The “European Union Public Licence” (EUPL) is a copyleft free/open source software license created on the initiative of and approved by the European Commission in 22 official languages of the European Union.
|
||||
|
||||
how: Create a text file (typically named COPYING or LICENCE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
note: The European Commission recommends taking the additional step of adding a [boilerplate notice](https://joinup.ec.europa.eu/sites/default/files/ckeditor_files/files/EUPL%201_1%20Guidelines%20EN%20Joinup.pdf#page=17) to the top of each file.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- disclose-source
|
||||
- document-changes
|
||||
- network-use-disclose
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- trademark-use
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
European Union Public Licence
|
||||
V. 1.1
|
||||
|
||||
|
||||
EUPL © the European Community 2007
|
||||
|
||||
|
||||
This European Union Public Licence (the “EUPL”) applies to the
|
||||
Work or Software (as defined below) which is provided under the terms of this
|
||||
Licence. Any use of the Work, other than as authorised under this Licence is
|
||||
prohibited (to the extent such use is covered by a right of the copyright
|
||||
holder of the Work).
|
||||
|
||||
The Original Work is provided under the terms of this
|
||||
Licence when the Licensor (as defined below) has placed the following notice
|
||||
immediately following the copyright notice for the Original Work:
|
||||
|
||||
Licensed under the EUPL V.1.1
|
||||
|
||||
or has expressed by any other mean his willingness to license under the EUPL.
|
||||
|
||||
|
||||
1. Definitions
|
||||
|
||||
In this Licence, the
|
||||
following terms have the following meaning:
|
||||
|
||||
- The Licence: this Licence.
|
||||
|
||||
- The Original Work or the Software: the software distributed
|
||||
and/or communicated by the Licensor under this Licence, available as Source
|
||||
Code and also as Executable Code as the case may be.
|
||||
|
||||
- Derivative Works:
|
||||
the works or software that could be created by the Licensee, based upon the
|
||||
Original Work or modifications thereof. This Licence does not define the
|
||||
extent of modification or dependence on the Original Work required in order to
|
||||
classify a work as a Derivative Work; this extent is determined by copyright
|
||||
law applicable in the country mentioned in Article 15.
|
||||
|
||||
- The Work: the Original Work and/or its Derivative Works.
|
||||
|
||||
- The Source Code: the human-readable form of the Work which is the most
|
||||
convenient for people to study and modify.
|
||||
|
||||
- The Executable Code: any code which has generally been compiled and which
|
||||
is meant to be interpreted by a computer as a program.
|
||||
|
||||
- The Licensor: the natural or legal person that distributes and/or
|
||||
communicates the Work under the Licence.
|
||||
|
||||
- Contributor(s): any natural or legal person who modifies the Work under the
|
||||
Licence, or otherwise contributes to the creation of a Derivative Work.
|
||||
|
||||
- The Licensee or “You”: any natural or legal person who makes any usage of
|
||||
the Software under the terms of the Licence.
|
||||
|
||||
- Distribution and/or Communication: any act of selling, giving, lending,
|
||||
renting, distributing, communicating, transmitting, or otherwise
|
||||
making available, on-line or off-line, copies of the Work or providing access
|
||||
to its essential functionalities at the disposal of any other natural or legal
|
||||
person.
|
||||
|
||||
|
||||
2. Scope of the rights granted by the Licence
|
||||
|
||||
The Licensor hereby grants You a world-wide, royalty-free, non-exclusive,
|
||||
sub-licensable licence to do the following, for the duration of copyright
|
||||
vested in the Original Work:
|
||||
|
||||
- use the Work in any circumstance and for all usage,
|
||||
- reproduce the Work,
|
||||
- modify the Original Work, and make Derivative Works
|
||||
based upon the Work,
|
||||
- communicate to the public, including the right to make available or display
|
||||
the Work or copies thereof to the public and perform publicly, as the case
|
||||
may be, the Work,
|
||||
- distribute the Work or copies thereof,
|
||||
- lend and rent the Work or copies thereof,
|
||||
- sub-license rights in the Work or copies thereof.
|
||||
|
||||
Those rights can be exercised on any media, supports and formats, whether now
|
||||
known or later invented, as far as the applicable law permits so.
|
||||
|
||||
In the countries where moral rights apply, the Licensor waives his right to
|
||||
exercise his moral right to the extent allowed by law in order to make
|
||||
effective the licence of the economic rights here above listed.
|
||||
|
||||
The Licensor grants to the Licensee royalty-free, non exclusive usage rights
|
||||
to any patents held by the Licensor, to the extent necessary to make use of
|
||||
the rights granted on the Work under this Licence.
|
||||
|
||||
|
||||
3. Communication of the Source Code
|
||||
|
||||
The Licensor may provide the Work either
|
||||
in its Source Code form, or as Executable Code. If the Work is provided as
|
||||
Executable Code, the Licensor provides in addition a machine-readable copy of
|
||||
the Source Code of the Work along with each copy of the Work that the Licensor
|
||||
distributes or indicates, in a notice following the copyright notice attached
|
||||
to the Work, a repository where the Source Code is easily and freely
|
||||
accessible for as long as the Licensor continues to distribute and/or
|
||||
communicate the Work.
|
||||
|
||||
|
||||
4. Limitations on copyright
|
||||
|
||||
Nothing in this Licence is intended to deprive the Licensee of the benefits
|
||||
from any exception or limitation to the exclusive rights of the rights owners
|
||||
in the Original Work or Software, of the exhaustion of those rights or of
|
||||
other applicable limitations thereto.
|
||||
|
||||
|
||||
5. Obligations of the Licensee
|
||||
|
||||
The grant of the rights mentioned above is subject to some restrictions and
|
||||
obligations imposed on the Licensee. Those obligations are the following:
|
||||
|
||||
Attribution right:
|
||||
the Licensee shall keep intact all copyright, patent or trademarks notices and
|
||||
all notices that refer to the Licence and to the disclaimer of warranties. The
|
||||
Licensee must include a copy of such notices and a copy of the Licence with
|
||||
every copy of the Work he/she distributes and/or communicates. The Licensee
|
||||
must cause any Derivative Work to carry prominent notices stating that the
|
||||
Work has been modified and the date of modification.
|
||||
|
||||
Copyleft clause:
|
||||
If the Licensee distributes and/or communicates copies of the Original Works
|
||||
or Derivative Works based upon the Original Work, this Distribution and/or
|
||||
Communication will be done under the terms of this Licence or of a later
|
||||
version of this Licence unless the Original Work is expressly distributed only
|
||||
under this version of the Licence. The Licensee (becoming Licensor) cannot
|
||||
offer or impose any additional terms or conditions on the Work or Derivative
|
||||
Work that alter or restrict the terms of the Licence.
|
||||
|
||||
Compatibility clause:
|
||||
If the Licensee Distributes and/or Communicates Derivative Works or copies
|
||||
thereof based upon both the Original Work and another work licensed under a
|
||||
Compatible Licence, this Distribution and/or Communication can be done under
|
||||
the terms of this Compatible Licence. For the sake of this clause,
|
||||
“Compatible Licence” refers to the licences listed in the appendix
|
||||
attached to this Licence. Should the Licensee’s obligations under the
|
||||
Compatible Licence conflict with his/her obligations under this Licence, the
|
||||
obligations of the Compatible Licence shall prevail.
|
||||
|
||||
Provision of Source Code:
|
||||
When distributing and/or communicating copies of the Work, the Licensee
|
||||
will provide a machine-readable copy of the Source Code or indicate a
|
||||
repository where this Source will be easily and freely available for as long
|
||||
as the Licensee continues to distribute and/or communicate the Work.
|
||||
|
||||
Legal Protection:
|
||||
This Licence does not grant permission to use the trade names,
|
||||
trademarks, service marks, or names of the Licensor, except as required for
|
||||
reasonable and customary use in describing the origin of the Work and
|
||||
reproducing the content of the copyright notice.
|
||||
|
||||
|
||||
6. Chain of Authorship
|
||||
|
||||
The original Licensor warrants that the copyright in the Original Work
|
||||
granted hereunder is owned by him/her or licensed to him/her and
|
||||
that he/she has the power and authority to grant the Licence.
|
||||
|
||||
Each Contributor warrants that the copyright in the modifications he/she
|
||||
brings to the Work are owned by him/her or licensed to him/her and that
|
||||
he/she has the power and authority to grant the Licence.
|
||||
|
||||
Each time You accept the Licence, the original Licensor and subsequent
|
||||
Contributors grant You a licence to their contributions to the Work, under
|
||||
the terms of this Licence.
|
||||
|
||||
|
||||
7. Disclaimer of Warranty
|
||||
|
||||
The Work is a work in progress, which is continuously improved by numerous
|
||||
contributors. It is not a finished work and may therefore contain defects or
|
||||
“bugs” inherent to this type of software development.
|
||||
|
||||
For the above reason, the Work is provided under the Licence on an “as is”
|
||||
basis and without warranties of any kind concerning the Work, including
|
||||
without limitation merchantability, fitness for a particular purpose, absence
|
||||
of defects or errors, accuracy, non-infringement of intellectual property
|
||||
rights other than copyright as stated in Article 6 of this Licence.
|
||||
|
||||
This disclaimer of warranty is an essential part of the Licence and a
|
||||
condition for the grant of any rights to the Work.
|
||||
|
||||
|
||||
8. Disclaimer of Liability
|
||||
|
||||
Except in the cases of wilful misconduct or damages directly caused to
|
||||
natural persons, the Licensor will in no event be liable for any direct or
|
||||
indirect, material or moral, damages of any kind, arising out of the Licence
|
||||
or of the use of the Work, including without limitation,
|
||||
damages for loss of goodwill, work stoppage, computer failure or malfunction,
|
||||
loss of data or any commercial damage, even if the Licensor has been advised
|
||||
of the possibility of such damage. However, the Licensor will be liable under
|
||||
statutory product liability laws as far such laws apply to the Work.
|
||||
|
||||
|
||||
9. Additional agreements
|
||||
|
||||
While distributing the Original Work or Derivative Works, You may choose
|
||||
to conclude an additional agreement to offer, and charge a fee for,
|
||||
acceptance of support, warranty, indemnity, or other liability
|
||||
obligations and/or services consistent with this Licence. However, in
|
||||
accepting such obligations, You may act only on your own behalf and on your
|
||||
sole responsibility, not on behalf of the original Licensor or any other
|
||||
Contributor, and only if You agree to indemnify, defend, and hold each
|
||||
Contributor harmless for any liability incurred by, or claims asserted against
|
||||
such Contributor by the fact You have accepted any such warranty or additional
|
||||
liability.
|
||||
|
||||
|
||||
10. Acceptance of the Licence
|
||||
|
||||
The provisions of this Licence can be accepted by clicking on
|
||||
an icon “I agree” placed under the bottom of a window displaying the text of
|
||||
this Licence or by affirming consent in any other similar way, in accordance
|
||||
with the rules of applicable law. Clicking on that icon indicates your clear
|
||||
and irrevocable acceptance of this Licence and
|
||||
all of its terms and conditions.
|
||||
|
||||
Similarly, you irrevocably accept this Licence and
|
||||
all of its terms and conditions by exercising any rights granted to You
|
||||
by Article 2 of this Licence, such as the use of the Work,
|
||||
the creation by You of a Derivative Work or the Distribution and/or
|
||||
Communication by You of the Work or copies thereof.
|
||||
|
||||
|
||||
11. Information to the public
|
||||
|
||||
In case of any Distribution and/or Communication of the Work by means of
|
||||
electronic communication by You (for example, by offering to download
|
||||
the Work from a remote location) the distribution channel or media (for
|
||||
example, a website) must at least provide to the public the information
|
||||
requested by the applicable law regarding the Licensor, the Licence and the
|
||||
way it may be accessible, concluded, stored and reproduced by the
|
||||
Licensee.
|
||||
|
||||
|
||||
12. Termination of the Licence
|
||||
|
||||
The Licence and the rights granted hereunder will terminate automatically
|
||||
upon any breach by the Licensee of the terms of the Licence.
|
||||
|
||||
Such a termination will not terminate the licences of any person who has
|
||||
received the Work from the Licensee under the Licence, provided such persons
|
||||
remain in full compliance with the Licence.
|
||||
|
||||
|
||||
13. Miscellaneous
|
||||
|
||||
Without prejudice of Article 9 above, the Licence represents the complete
|
||||
agreement between the Parties as to the Work licensed hereunder.
|
||||
|
||||
If any provision of the Licence is invalid or unenforceable under applicable
|
||||
law, this will not affect the validity or enforceability of the Licence as a
|
||||
whole. Such provision will be construed and/or reformed so as necessary
|
||||
to make it valid and enforceable.
|
||||
|
||||
The European Commission may publish other linguistic versions and/or new
|
||||
versions of this Licence, so far this is required and reasonable, without
|
||||
reducing the scope of the rights granted by the Licence.
|
||||
New versions of the Licence will be published with a unique version number.
|
||||
|
||||
All linguistic versions of this Licence, approved by the European Commission,
|
||||
have identical value. Parties can take advantage of the linguistic version
|
||||
of their choice.
|
||||
|
||||
|
||||
14. Jurisdiction
|
||||
|
||||
Any litigation resulting from the interpretation of this License, arising
|
||||
between the European Commission, as a Licensor, and any Licensee,
|
||||
will be subject to the jurisdiction of the Court of Justice of the
|
||||
European Communities, as laid down in article 238 of the Treaty establishing
|
||||
the European Community.
|
||||
|
||||
Any litigation arising between Parties, other than the European Commission,
|
||||
and resulting from the interpretation of this License, will be subject to the
|
||||
exclusive jurisdiction of the competent court where the Licensor resides or
|
||||
conducts its primary business.
|
||||
|
||||
|
||||
15. Applicable Law
|
||||
|
||||
This Licence shall be governed by the law of the European Union country where
|
||||
the Licensor resides or has his registered office.
|
||||
|
||||
This licence shall be governed by the Belgian law if:
|
||||
|
||||
- a litigation arises between the European Commission, as a Licensor, and any
|
||||
Licensee;
|
||||
- the Licensor, other than the European Commission, has no residence or
|
||||
registered office inside a European Union country.
|
||||
|
||||
|
||||
===
|
||||
|
||||
|
||||
Appendix
|
||||
|
||||
|
||||
“Compatible Licences” according to article 5 EUPL are:
|
||||
- GNU General Public License (GNU GPL) v. 2
|
||||
- Open Software License (OSL) v. 2.1, v. 3.0
|
||||
- Common Public License v. 1.0
|
||||
- Eclipse Public License v. 1.0
|
||||
- Cecill v. 2.0
|
308
_licenses/eupl-1.2.txt
Normal file
308
_licenses/eupl-1.2.txt
Normal file
@ -0,0 +1,308 @@
|
||||
---
|
||||
title: European Union Public License 1.2
|
||||
spdx-id: EUPL-1.2
|
||||
|
||||
description: The European Union Public Licence (EUPL) is a copyleft free/open source software license created on the initiative of and approved by the European Commission in 22 official languages of the European Union.
|
||||
|
||||
how: Indicate “Licensed under the EUPL” following the copyright notice of your source code, for example in a README file or directly in a source code file as a comment.
|
||||
|
||||
using:
|
||||
- AethysRotation: https://github.com/SimCMinMax/AethysRotation/blob/master/LICENSE
|
||||
- WildDuck: https://github.com/nodemailer/wildduck/blob/master/LICENSE
|
||||
- ZoneMTA: https://github.com/zone-eu/zone-mta/blob/master/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- disclose-source
|
||||
- document-changes
|
||||
- network-use-disclose
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- trademark-use
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
European Union Public Licence
|
||||
V. 1.2
|
||||
|
||||
EUPL © the European Union 2007, 2016
|
||||
|
||||
This European Union Public Licence (the ‘EUPL’) applies to the Work (as
|
||||
defined below) which is provided under the terms of this Licence. Any use of
|
||||
the Work, other than as authorised under this Licence is prohibited (to the
|
||||
extent such use is covered by a right of the copyright holder of the Work).
|
||||
|
||||
The Work is provided under the terms of this Licence when the Licensor (as
|
||||
defined below) has placed the following notice immediately following the
|
||||
copyright notice for the Work: “Licensed under the EUPL”, or has expressed by
|
||||
any other means his willingness to license under the EUPL.
|
||||
|
||||
1. Definitions
|
||||
|
||||
In this Licence, the following terms have the following meaning:
|
||||
— ‘The Licence’: this Licence.
|
||||
— ‘The Original Work’: the work or software distributed or communicated by the
|
||||
‘Licensor under this Licence, available as Source Code and also as
|
||||
‘Executable Code as the case may be.
|
||||
— ‘Derivative Works’: the works or software that could be created by the
|
||||
‘Licensee, based upon the Original Work or modifications thereof. This
|
||||
‘Licence does not define the extent of modification or dependence on the
|
||||
‘Original Work required in order to classify a work as a Derivative Work;
|
||||
‘this extent is determined by copyright law applicable in the country
|
||||
‘mentioned in Article 15.
|
||||
— ‘The Work’: the Original Work or its Derivative Works.
|
||||
— ‘The Source Code’: the human-readable form of the Work which is the most
|
||||
convenient for people to study and modify.
|
||||
|
||||
— ‘The Executable Code’: any code which has generally been compiled and which
|
||||
is meant to be interpreted by a computer as a program.
|
||||
— ‘The Licensor’: the natural or legal person that distributes or communicates
|
||||
the Work under the Licence.
|
||||
— ‘Contributor(s)’: any natural or legal person who modifies the Work under
|
||||
the Licence, or otherwise contributes to the creation of a Derivative Work.
|
||||
— ‘The Licensee’ or ‘You’: any natural or legal person who makes any usage of
|
||||
the Work under the terms of the Licence.
|
||||
— ‘Distribution’ or ‘Communication’: any act of selling, giving, lending,
|
||||
renting, distributing, communicating, transmitting, or otherwise making
|
||||
available, online or offline, copies of the Work or providing access to its
|
||||
essential functionalities at the disposal of any other natural or legal
|
||||
person.
|
||||
|
||||
2. Scope of the rights granted by the Licence
|
||||
|
||||
The Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
|
||||
sublicensable licence to do the following, for the duration of copyright
|
||||
vested in the Original Work:
|
||||
|
||||
— use the Work in any circumstance and for all usage,
|
||||
— reproduce the Work,
|
||||
— modify the Work, and make Derivative Works based upon the Work,
|
||||
— communicate to the public, including the right to make available or display
|
||||
the Work or copies thereof to the public and perform publicly, as the case
|
||||
may be, the Work,
|
||||
— distribute the Work or copies thereof,
|
||||
— lend and rent the Work or copies thereof,
|
||||
— sublicense rights in the Work or copies thereof.
|
||||
|
||||
Those rights can be exercised on any media, supports and formats, whether now
|
||||
known or later invented, as far as the applicable law permits so.
|
||||
|
||||
In the countries where moral rights apply, the Licensor waives his right to
|
||||
exercise his moral right to the extent allowed by law in order to make
|
||||
effective the licence of the economic rights here above listed.
|
||||
|
||||
The Licensor grants to the Licensee royalty-free, non-exclusive usage rights
|
||||
to any patents held by the Licensor, to the extent necessary to make use of
|
||||
the rights granted on the Work under this Licence.
|
||||
|
||||
3. Communication of the Source Code
|
||||
|
||||
The Licensor may provide the Work either in its Source Code form, or as
|
||||
Executable Code. If the Work is provided as Executable Code, the Licensor
|
||||
provides in addition a machine-readable copy of the Source Code of the Work
|
||||
along with each copy of the Work that the Licensor distributes or indicates,
|
||||
in a notice following the copyright notice attached to the Work, a repository
|
||||
where the Source Code is easily and freely accessible for as long as the
|
||||
Licensor continues to distribute or communicate the Work.
|
||||
|
||||
4. Limitations on copyright
|
||||
|
||||
Nothing in this Licence is intended to deprive the Licensee of the benefits
|
||||
from any exception or limitation to the exclusive rights of the rights owners
|
||||
in the Work, of the exhaustion of those rights or of other applicable
|
||||
limitations thereto.
|
||||
|
||||
5. Obligations of the Licensee
|
||||
|
||||
The grant of the rights mentioned above is subject to some restrictions and
|
||||
obligations imposed on the Licensee. Those obligations are the following:
|
||||
|
||||
Attribution right: The Licensee shall keep intact all copyright, patent or
|
||||
trademarks notices and all notices that refer to the Licence and to the
|
||||
disclaimer of warranties. The Licensee must include a copy of such notices and
|
||||
a copy of the Licence with every copy of the Work he/she distributes or
|
||||
communicates. The Licensee must cause any Derivative Work to carry prominent
|
||||
notices stating that the Work has been modified and the date of modification.
|
||||
|
||||
Copyleft clause: If the Licensee distributes or communicates copies of the
|
||||
Original Works or Derivative Works, this Distribution or Communication will be
|
||||
done under the terms of this Licence or of a later version of this Licence
|
||||
unless the Original Work is expressly distributed only under this version of
|
||||
the Licence — for example by communicating ‘EUPL v. 1.2 only’. The Licensee
|
||||
(becoming Licensor) cannot offer or impose any additional terms or conditions
|
||||
on the Work or Derivative Work that alter or restrict the terms of the
|
||||
Licence.
|
||||
|
||||
Compatibility clause: If the Licensee Distributes or Communicates Derivative
|
||||
Works or copies thereof based upon both the Work and another work licensed
|
||||
under a Compatible Licence, this Distribution or Communication can be done
|
||||
under the terms of this Compatible Licence. For the sake of this clause,
|
||||
‘Compatible Licence’ refers to the licences listed in the appendix attached to
|
||||
this Licence. Should the Licensee's obligations under the Compatible Licence
|
||||
conflict with his/her obligations under this Licence, the obligations of the
|
||||
Compatible Licence shall prevail.
|
||||
|
||||
Provision of Source Code: When distributing or communicating copies of the
|
||||
Work, the Licensee will provide a machine-readable copy of the Source Code or
|
||||
indicate a repository where this Source will be easily and freely available
|
||||
for as long as the Licensee continues to distribute or communicate the Work.
|
||||
|
||||
Legal Protection: This Licence does not grant permission to use the trade
|
||||
names, trademarks, service marks, or names of the Licensor, except as required
|
||||
for reasonable and customary use in describing the origin of the Work and
|
||||
reproducing the content of the copyright notice.
|
||||
|
||||
6. Chain of Authorship
|
||||
|
||||
The original Licensor warrants that the copyright in the Original Work granted
|
||||
hereunder is owned by him/her or licensed to him/her and that he/she has the
|
||||
power and authority to grant the Licence.
|
||||
|
||||
Each Contributor warrants that the copyright in the modifications he/she
|
||||
brings to the Work are owned by him/her or licensed to him/her and that he/she
|
||||
has the power and authority to grant the Licence.
|
||||
|
||||
Each time You accept the Licence, the original Licensor and subsequent
|
||||
Contributors grant You a licence to their contributions to the Work, under the
|
||||
terms of this Licence.
|
||||
|
||||
7. Disclaimer of Warranty
|
||||
|
||||
The Work is a work in progress, which is continuously improved by numerous
|
||||
Contributors. It is not a finished work and may therefore contain defects or
|
||||
‘bugs’ inherent to this type of development.
|
||||
|
||||
For the above reason, the Work is provided under the Licence on an ‘as is’
|
||||
basis and without warranties of any kind concerning the Work, including
|
||||
without limitation merchantability, fitness for a particular purpose, absence
|
||||
of defects or errors, accuracy, non-infringement of intellectual property
|
||||
rights other than copyright as stated in Article 6 of this Licence.
|
||||
|
||||
This disclaimer of warranty is an essential part of the Licence and a
|
||||
condition for the grant of any rights to the Work.
|
||||
|
||||
8. Disclaimer of Liability
|
||||
|
||||
Except in the cases of wilful misconduct or damages directly caused to natural
|
||||
persons, the Licensor will in no event be liable for any direct or indirect,
|
||||
material or moral, damages of any kind, arising out of the Licence or of the
|
||||
use of the Work, including without limitation, damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, loss of data or any commercial
|
||||
damage, even if the Licensor has been advised of the possibility of such
|
||||
damage. However, the Licensor will be liable under statutory product liability
|
||||
laws as far such laws apply to the Work.
|
||||
|
||||
9. Additional agreements
|
||||
|
||||
While distributing the Work, You may choose to conclude an additional
|
||||
agreement, defining obligations or services consistent with this Licence.
|
||||
However, if accepting obligations, You may act only on your own behalf and on
|
||||
your sole responsibility, not on behalf of the original Licensor or any other
|
||||
Contributor, and only if You agree to indemnify, defend, and hold each
|
||||
Contributor harmless for any liability incurred by, or claims asserted against
|
||||
such Contributor by the fact You have accepted any warranty or additional
|
||||
liability.
|
||||
|
||||
10. Acceptance of the Licence
|
||||
|
||||
The provisions of this Licence can be accepted by clicking on an icon ‘I
|
||||
agree’ placed under the bottom of a window displaying the text of this Licence
|
||||
or by affirming consent in any other similar way, in accordance with the rules
|
||||
of applicable law. Clicking on that icon indicates your clear and irrevocable
|
||||
acceptance of this Licence and all of its terms and conditions.
|
||||
|
||||
Similarly, you irrevocably accept this Licence and all of its terms and
|
||||
conditions by exercising any rights granted to You by Article 2 of this
|
||||
Licence, such as the use of the Work, the creation by You of a Derivative Work
|
||||
or the Distribution or Communication by You of the Work or copies thereof.
|
||||
|
||||
11. Information to the public
|
||||
|
||||
In case of any Distribution or Communication of the Work by means of
|
||||
electronic communication by You (for example, by offering to download the Work
|
||||
from a remote location) the distribution channel or media (for example, a
|
||||
website) must at least provide to the public the information requested by the
|
||||
applicable law regarding the Licensor, the Licence and the way it may be
|
||||
accessible, concluded, stored and reproduced by the Licensee.
|
||||
|
||||
12. Termination of the Licence
|
||||
|
||||
The Licence and the rights granted hereunder will terminate automatically upon
|
||||
any breach by the Licensee of the terms of the Licence. Such a termination
|
||||
will not terminate the licences of any person who has received the Work from
|
||||
the Licensee under the Licence, provided such persons remain in full
|
||||
compliance with the Licence.
|
||||
|
||||
13. Miscellaneous
|
||||
|
||||
Without prejudice of Article 9 above, the Licence represents the complete
|
||||
agreement between the Parties as to the Work.
|
||||
|
||||
If any provision of the Licence is invalid or unenforceable under applicable
|
||||
law, this will not affect the validity or enforceability of the Licence as a
|
||||
whole. Such provision will be construed or reformed so as necessary to make it
|
||||
valid and enforceable.
|
||||
|
||||
The European Commission may publish other linguistic versions or new versions
|
||||
of this Licence or updated versions of the Appendix, so far this is required
|
||||
and reasonable, without reducing the scope of the rights granted by the
|
||||
Licence. New versions of the Licence will be published with a unique version
|
||||
number.
|
||||
|
||||
All linguistic versions of this Licence, approved by the European Commission,
|
||||
have identical value. Parties can take advantage of the linguistic version of
|
||||
their choice.
|
||||
|
||||
14. Jurisdiction
|
||||
|
||||
Without prejudice to specific agreement between parties,
|
||||
— any litigation resulting from the interpretation of this License, arising
|
||||
between the European Union institutions, bodies, offices or agencies, as a
|
||||
Licensor, and any Licensee, will be subject to the jurisdiction of the Court
|
||||
of Justice of the European Union, as laid down in article 272 of the Treaty
|
||||
on the Functioning of the European Union,
|
||||
— any litigation arising between other parties and resulting from the
|
||||
interpretation of this License, will be subject to the exclusive
|
||||
jurisdiction of the competent court where the Licensor resides or conducts
|
||||
its primary business.
|
||||
|
||||
15. Applicable Law
|
||||
|
||||
Without prejudice to specific agreement between parties,
|
||||
— this Licence shall be governed by the law of the European Union Member State
|
||||
where the Licensor has his seat, resides or has his registered office,
|
||||
— this licence shall be governed by Belgian law if the Licensor has no seat,
|
||||
residence or registered office inside a European Union Member State.
|
||||
|
||||
Appendix
|
||||
|
||||
‘Compatible Licences’ according to Article 5 EUPL are:
|
||||
— GNU General Public License (GPL) v. 2, v. 3
|
||||
— GNU Affero General Public License (AGPL) v. 3
|
||||
— Open Software License (OSL) v. 2.1, v. 3.0
|
||||
— Eclipse Public License (EPL) v. 1.0
|
||||
— CeCILL v. 2.0, v. 2.1
|
||||
— Mozilla Public Licence (MPL) v. 2
|
||||
— GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
|
||||
— Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for
|
||||
works other than software
|
||||
— European Union Public Licence (EUPL) v. 1.1, v. 1.2
|
||||
— Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or
|
||||
Strong Reciprocity (LiLiQ-R+)
|
||||
|
||||
— The European Commission may update this Appendix to later versions of the
|
||||
above licences without producing a new version of the EUPL, as long as they
|
||||
provide the rights granted in Article 2 of this Licence and protect the
|
||||
covered Source Code from exclusive appropriation.
|
||||
— All other changes or additions to this Appendix require the production of a
|
||||
new EUPL version.
|
@ -1,42 +1,43 @@
|
||||
---
|
||||
title: GPL v2
|
||||
category: GPL
|
||||
tab-slug: gpl-v2
|
||||
hide-from-license-list: false
|
||||
layout: license
|
||||
permalink: /licenses/gpl-v2/
|
||||
source: http://www.gnu.org/licenses/gpl-2.0.txt
|
||||
title: GNU General Public License v2.0
|
||||
spdx-id: GPL-2.0
|
||||
nickname: GNU GPLv2
|
||||
redirect_from: /licenses/gpl-v2/
|
||||
hidden: false
|
||||
|
||||
description: GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GPL, each with different requirements.
|
||||
|
||||
featured: true
|
||||
description: The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GNU GPL, each with different requirements.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
|
||||
|
||||
required:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
- disclose-source
|
||||
using:
|
||||
- AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING
|
||||
- Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt
|
||||
- Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-grant
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
- no-sublicense
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
- disclose-source
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
@ -325,8 +326,8 @@ to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{description}
|
||||
Copyright (C) {year} {fullname}
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -364,7 +365,7 @@ necessary. Here is a sample; alter the names:
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
{signature of Ty Coon}, 1 April 1989
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
@ -1,37 +1,45 @@
|
||||
---
|
||||
title: GPL v3
|
||||
category: GPL
|
||||
tab-slug: gpl-v3
|
||||
hide-from-license-list: true
|
||||
layout: license
|
||||
permalink: /licenses/gpl-v3/
|
||||
source: http://www.gnu.org/licenses/gpl-3.0.txt
|
||||
title: GNU General Public License v3.0
|
||||
spdx-id: GPL-3.0
|
||||
nickname: GNU GPLv3
|
||||
redirect_from: /licenses/gpl-v3/
|
||||
featured: true
|
||||
hidden: false
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
description: Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.
|
||||
|
||||
how: Create a text file in the root of your source code, typically named COPYING (a GNU convention), LICENSE or LICENSE.txt. Then copy the text of the license into that file.
|
||||
|
||||
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
|
||||
|
||||
required:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
- disclose-source
|
||||
using:
|
||||
- Ansible: https://github.com/ansible/ansible/blob/devel/COPYING
|
||||
- Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
|
||||
- GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-grant
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
- no-sublicense
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
- disclose-source
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
@ -661,8 +669,8 @@ to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{one line to give the program's name and a brief idea of what it does.}
|
||||
Copyright (C) {year} {name of author}
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -675,14 +683,14 @@ the "copyright" line and a pointer to where the full notice is found.
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
{project} Copyright (C) {year} {fullname}
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
@ -694,11 +702,11 @@ might be different; for a GUI interface, you would use an "about box".
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
43
_licenses/isc.txt
Normal file
43
_licenses/isc.txt
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
title: ISC License
|
||||
spdx-id: ISC
|
||||
|
||||
description: A permissive license lets people do anything with your code with proper attribution and without warranty. The ISC license is functionally equivalent to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause</a> and <a href="/licenses/mit/">MIT</a> licenses, removing some language that is no longer necessary.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
|
||||
|
||||
using:
|
||||
- Helix: https://github.com/tildeio/helix/blob/master/LICENSE
|
||||
- Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE
|
||||
- OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/master/LICENSE.md
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- distribution
|
||||
- modifications
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
ISC License
|
||||
|
||||
Copyright (c) [year], [fullname]
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
@ -1,32 +1,33 @@
|
||||
---
|
||||
layout: license
|
||||
title: LGPL v2.1
|
||||
category: LGPL
|
||||
tab-slug: lgpl-v2_1
|
||||
permalink: /licenses/lgpl-v2.1/
|
||||
source: http://www.gnu.org/licenses/lgpl-2.1.txt
|
||||
title: GNU Lesser General Public License v2.1
|
||||
spdx-id: LGPL-2.1
|
||||
nickname: GNU LGPLv2.1
|
||||
redirect_from: /licenses/lgpl-v2.1/
|
||||
hidden: false
|
||||
|
||||
description: Primarily used for software libraries, LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. There are two commonly used versions of the LGPL.
|
||||
description: Primarily used for software libraries, the GNU LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. There are two commonly used versions of the GNU LGPL.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
|
||||
|
||||
required:
|
||||
- include-copyright
|
||||
- library-usage
|
||||
- disclose-source
|
||||
using:
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- sublicense
|
||||
- patent-grant
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
conditions:
|
||||
- include-copyright
|
||||
- disclose-source
|
||||
- document-changes
|
||||
- same-license--library
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
@ -38,9 +39,9 @@ forbidden:
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
(This is the first released version of the Lesser GPL. It also counts
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.)
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
@ -502,8 +503,8 @@ safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{description}
|
||||
Copyright (C) {year} {fullname}
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
@ -530,7 +531,7 @@ necessary. Here is a sample; alter the names:
|
||||
library `Frob' (a library for tweaking knobs) written by James Random
|
||||
Hacker.
|
||||
|
||||
{signature of Ty Coon}, 1 April 1990
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
@ -1,39 +1,41 @@
|
||||
---
|
||||
layout: license
|
||||
title: LGPL v3
|
||||
category: LGPL
|
||||
tab-slug: lgpl-v3
|
||||
hide-from-license-list: true
|
||||
permalink: /licenses/lgpl-v3/
|
||||
source: http://www.gnu.org/licenses/lgpl-3.0.txt
|
||||
title: GNU Lesser General Public License v3.0
|
||||
spdx-id: LGPL-3.0
|
||||
nickname: GNU LGPLv3
|
||||
redirect_from: /licenses/lgpl-v3/
|
||||
hidden: false
|
||||
|
||||
description: Version 3 of the LGPL is an additional set of permissions to the <a href="/licenses/gpl-v3">GPL v3 license</a> that requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction.
|
||||
description: Permissions of this copyleft license are conditioned on making available complete source code of licensed works and modifications under the same license or the GNU GPLv3. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work through interfaces provided by the licensed work may be distributed under different terms and without source code for the larger work.
|
||||
|
||||
how: This license is an additional set of permissions to the <a href="/licenses/gpl-v3">GPL v3</a> license. Follow the instructions to apply the GPL v3 license. Then either paste this text to the bottom of that file OR add a separate file (typically named COPYING.lesser or LICENSE.lesser) in the root of your source code and copy the text.
|
||||
how: This license is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3</a> license. Follow the instructions to apply the GNU GPLv3, in the root of your source code. Then add another file named COPYING.LESSER and copy the text.
|
||||
|
||||
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
|
||||
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the <a href="/licenses/gpl-3.0">GNU GPLv3 license</a>. Insert the word “Lesser” before “General” in all three places in the boilerplate notice to make sure that you refer to the GNU LGPLv3 and not the GNU GPLv3.
|
||||
|
||||
required:
|
||||
- include-copyright
|
||||
- library-usage
|
||||
- disclose-source
|
||||
using:
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- sublicense
|
||||
- patent-grant
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
conditions:
|
||||
- include-copyright
|
||||
- disclose-source
|
||||
- document-changes
|
||||
- same-license--library
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
444
_licenses/lppl-1.3c.txt
Normal file
444
_licenses/lppl-1.3c.txt
Normal file
@ -0,0 +1,444 @@
|
||||
---
|
||||
title: LaTeX Project Public License v1.3c
|
||||
spdx-id: LPPL-1.3c
|
||||
|
||||
description: The LaTeX Project Public License (LPPL) is the primary license under which the LaTeX kernel and the base LaTeX packages are distributed.
|
||||
|
||||
how: To use this license, place in each of the components of your work both an explicit copyright notice including your name and the year the work was authored and/or last substantially modified. Include also a statement that the distribution and/or modification of that component is constrained by the conditions in this license.
|
||||
|
||||
note: An example boilerplate and more information about how to use the license can be found at the end of the license.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
- disclose-source
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
The LaTeX Project Public License
|
||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
LPPL Version 1.3c 2008-05-04
|
||||
|
||||
Copyright 1999 2002-2008 LaTeX3 Project
|
||||
Everyone is allowed to distribute verbatim copies of this
|
||||
license document, but modification of it is not allowed.
|
||||
|
||||
|
||||
PREAMBLE
|
||||
========
|
||||
|
||||
The LaTeX Project Public License (LPPL) is the primary license under
|
||||
which the LaTeX kernel and the base LaTeX packages are distributed.
|
||||
|
||||
You may use this license for any work of which you hold the copyright
|
||||
and which you wish to distribute. This license may be particularly
|
||||
suitable if your work is TeX-related (such as a LaTeX package), but
|
||||
it is written in such a way that you can use it even if your work is
|
||||
unrelated to TeX.
|
||||
|
||||
The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
|
||||
below, gives instructions, examples, and recommendations for authors
|
||||
who are considering distributing their works under this license.
|
||||
|
||||
This license gives conditions under which a work may be distributed
|
||||
and modified, as well as conditions under which modified versions of
|
||||
that work may be distributed.
|
||||
|
||||
We, the LaTeX3 Project, believe that the conditions below give you
|
||||
the freedom to make and distribute modified versions of your work
|
||||
that conform with whatever technical specifications you wish while
|
||||
maintaining the availability, integrity, and reliability of
|
||||
that work. If you do not see how to achieve your goal while
|
||||
meeting these conditions, then read the document `cfgguide.tex'
|
||||
and `modguide.tex' in the base LaTeX distribution for suggestions.
|
||||
|
||||
|
||||
DEFINITIONS
|
||||
===========
|
||||
|
||||
In this license document the following terms are used:
|
||||
|
||||
`Work'
|
||||
Any work being distributed under this License.
|
||||
|
||||
`Derived Work'
|
||||
Any work that under any applicable law is derived from the Work.
|
||||
|
||||
`Modification'
|
||||
Any procedure that produces a Derived Work under any applicable
|
||||
law -- for example, the production of a file containing an
|
||||
original file associated with the Work or a significant portion of
|
||||
such a file, either verbatim or with modifications and/or
|
||||
translated into another language.
|
||||
|
||||
`Modify'
|
||||
To apply any procedure that produces a Derived Work under any
|
||||
applicable law.
|
||||
|
||||
`Distribution'
|
||||
Making copies of the Work available from one person to another, in
|
||||
whole or in part. Distribution includes (but is not limited to)
|
||||
making any electronic components of the Work accessible by
|
||||
file transfer protocols such as FTP or HTTP or by shared file
|
||||
systems such as Sun's Network File System (NFS).
|
||||
|
||||
`Compiled Work'
|
||||
A version of the Work that has been processed into a form where it
|
||||
is directly usable on a computer system. This processing may
|
||||
include using installation facilities provided by the Work,
|
||||
transformations of the Work, copying of components of the Work, or
|
||||
other activities. Note that modification of any installation
|
||||
facilities provided by the Work constitutes modification of the Work.
|
||||
|
||||
`Current Maintainer'
|
||||
A person or persons nominated as such within the Work. If there is
|
||||
no such explicit nomination then it is the `Copyright Holder' under
|
||||
any applicable law.
|
||||
|
||||
`Base Interpreter'
|
||||
A program or process that is normally needed for running or
|
||||
interpreting a part or the whole of the Work.
|
||||
|
||||
A Base Interpreter may depend on external components but these
|
||||
are not considered part of the Base Interpreter provided that each
|
||||
external component clearly identifies itself whenever it is used
|
||||
interactively. Unless explicitly specified when applying the
|
||||
license to the Work, the only applicable Base Interpreter is a
|
||||
`LaTeX-Format' or in the case of files belonging to the
|
||||
`LaTeX-format' a program implementing the `TeX language'.
|
||||
|
||||
|
||||
|
||||
CONDITIONS ON DISTRIBUTION AND MODIFICATION
|
||||
===========================================
|
||||
|
||||
1. Activities other than distribution and/or modification of the Work
|
||||
are not covered by this license; they are outside its scope. In
|
||||
particular, the act of running the Work is not restricted and no
|
||||
requirements are made concerning any offers of support for the Work.
|
||||
|
||||
2. You may distribute a complete, unmodified copy of the Work as you
|
||||
received it. Distribution of only part of the Work is considered
|
||||
modification of the Work, and no right to distribute such a Derived
|
||||
Work may be assumed under the terms of this clause.
|
||||
|
||||
3. You may distribute a Compiled Work that has been generated from a
|
||||
complete, unmodified copy of the Work as distributed under Clause 2
|
||||
above, as long as that Compiled Work is distributed in such a way that
|
||||
the recipients may install the Compiled Work on their system exactly
|
||||
as it would have been installed if they generated a Compiled Work
|
||||
directly from the Work.
|
||||
|
||||
4. If you are the Current Maintainer of the Work, you may, without
|
||||
restriction, modify the Work, thus creating a Derived Work. You may
|
||||
also distribute the Derived Work without restriction, including
|
||||
Compiled Works generated from the Derived Work. Derived Works
|
||||
distributed in this manner by the Current Maintainer are considered to
|
||||
be updated versions of the Work.
|
||||
|
||||
5. If you are not the Current Maintainer of the Work, you may modify
|
||||
your copy of the Work, thus creating a Derived Work based on the Work,
|
||||
and compile this Derived Work, thus creating a Compiled Work based on
|
||||
the Derived Work.
|
||||
|
||||
6. If you are not the Current Maintainer of the Work, you may
|
||||
distribute a Derived Work provided the following conditions are met
|
||||
for every component of the Work unless that component clearly states
|
||||
in the copyright notice that it is exempt from that condition. Only
|
||||
the Current Maintainer is allowed to add such statements of exemption
|
||||
to a component of the Work.
|
||||
|
||||
a. If a component of this Derived Work can be a direct replacement
|
||||
for a component of the Work when that component is used with the
|
||||
Base Interpreter, then, wherever this component of the Work
|
||||
identifies itself to the user when used interactively with that
|
||||
Base Interpreter, the replacement component of this Derived Work
|
||||
clearly and unambiguously identifies itself as a modified version
|
||||
of this component to the user when used interactively with that
|
||||
Base Interpreter.
|
||||
|
||||
b. Every component of the Derived Work contains prominent notices
|
||||
detailing the nature of the changes to that component, or a
|
||||
prominent reference to another file that is distributed as part
|
||||
of the Derived Work and that contains a complete and accurate log
|
||||
of the changes.
|
||||
|
||||
c. No information in the Derived Work implies that any persons,
|
||||
including (but not limited to) the authors of the original version
|
||||
of the Work, provide any support, including (but not limited to)
|
||||
the reporting and handling of errors, to recipients of the
|
||||
Derived Work unless those persons have stated explicitly that
|
||||
they do provide such support for the Derived Work.
|
||||
|
||||
d. You distribute at least one of the following with the Derived Work:
|
||||
|
||||
1. A complete, unmodified copy of the Work;
|
||||
if your distribution of a modified component is made by
|
||||
offering access to copy the modified component from a
|
||||
designated place, then offering equivalent access to copy
|
||||
the Work from the same or some similar place meets this
|
||||
condition, even though third parties are not compelled to
|
||||
copy the Work along with the modified component;
|
||||
|
||||
2. Information that is sufficient to obtain a complete,
|
||||
unmodified copy of the Work.
|
||||
|
||||
7. If you are not the Current Maintainer of the Work, you may
|
||||
distribute a Compiled Work generated from a Derived Work, as long as
|
||||
the Derived Work is distributed to all recipients of the Compiled
|
||||
Work, and as long as the conditions of Clause 6, above, are met with
|
||||
regard to the Derived Work.
|
||||
|
||||
8. The conditions above are not intended to prohibit, and hence do not
|
||||
apply to, the modification, by any method, of any component so that it
|
||||
becomes identical to an updated version of that component of the Work as
|
||||
it is distributed by the Current Maintainer under Clause 4, above.
|
||||
|
||||
9. Distribution of the Work or any Derived Work in an alternative
|
||||
format, where the Work or that Derived Work (in whole or in part) is
|
||||
then produced by applying some process to that format, does not relax or
|
||||
nullify any sections of this license as they pertain to the results of
|
||||
applying that process.
|
||||
|
||||
10. a. A Derived Work may be distributed under a different license
|
||||
provided that license itself honors the conditions listed in
|
||||
Clause 6 above, in regard to the Work, though it does not have
|
||||
to honor the rest of the conditions in this license.
|
||||
|
||||
b. If a Derived Work is distributed under a different license, that
|
||||
Derived Work must provide sufficient documentation as part of
|
||||
itself to allow each recipient of that Derived Work to honor the
|
||||
restrictions in Clause 6 above, concerning changes from the Work.
|
||||
|
||||
11. This license places no restrictions on works that are unrelated to
|
||||
the Work, nor does this license place any restrictions on aggregating
|
||||
such works with the Work by any means.
|
||||
|
||||
12. Nothing in this license is intended to, or may be used to, prevent
|
||||
complete compliance by all parties with all applicable laws.
|
||||
|
||||
|
||||
NO WARRANTY
|
||||
===========
|
||||
|
||||
There is no warranty for the Work. Except when otherwise stated in
|
||||
writing, the Copyright Holder provides the Work `as is', without
|
||||
warranty of any kind, either expressed or implied, including, but not
|
||||
limited to, the implied warranties of merchantability and fitness for a
|
||||
particular purpose. The entire risk as to the quality and performance
|
||||
of the Work is with you. Should the Work prove defective, you assume
|
||||
the cost of all necessary servicing, repair, or correction.
|
||||
|
||||
In no event unless required by applicable law or agreed to in writing
|
||||
will The Copyright Holder, or any author named in the components of the
|
||||
Work, or any other party who may distribute and/or modify the Work as
|
||||
permitted above, be liable to you for damages, including any general,
|
||||
special, incidental or consequential damages arising out of any use of
|
||||
the Work or out of inability to use the Work (including, but not limited
|
||||
to, loss of data, data being rendered inaccurate, or losses sustained by
|
||||
anyone as a result of any failure of the Work to operate with any other
|
||||
programs), even if the Copyright Holder or said author or said other
|
||||
party has been advised of the possibility of such damages.
|
||||
|
||||
|
||||
MAINTENANCE OF THE WORK
|
||||
=======================
|
||||
|
||||
The Work has the status `author-maintained' if the Copyright Holder
|
||||
explicitly and prominently states near the primary copyright notice in
|
||||
the Work that the Work can only be maintained by the Copyright Holder
|
||||
or simply that it is `author-maintained'.
|
||||
|
||||
The Work has the status `maintained' if there is a Current Maintainer
|
||||
who has indicated in the Work that they are willing to receive error
|
||||
reports for the Work (for example, by supplying a valid e-mail
|
||||
address). It is not required for the Current Maintainer to acknowledge
|
||||
or act upon these error reports.
|
||||
|
||||
The Work changes from status `maintained' to `unmaintained' if there
|
||||
is no Current Maintainer, or the person stated to be Current
|
||||
Maintainer of the work cannot be reached through the indicated means
|
||||
of communication for a period of six months, and there are no other
|
||||
significant signs of active maintenance.
|
||||
|
||||
You can become the Current Maintainer of the Work by agreement with
|
||||
any existing Current Maintainer to take over this role.
|
||||
|
||||
If the Work is unmaintained, you can become the Current Maintainer of
|
||||
the Work through the following steps:
|
||||
|
||||
1. Make a reasonable attempt to trace the Current Maintainer (and
|
||||
the Copyright Holder, if the two differ) through the means of
|
||||
an Internet or similar search.
|
||||
|
||||
2. If this search is successful, then enquire whether the Work
|
||||
is still maintained.
|
||||
|
||||
a. If it is being maintained, then ask the Current Maintainer
|
||||
to update their communication data within one month.
|
||||
|
||||
b. If the search is unsuccessful or no action to resume active
|
||||
maintenance is taken by the Current Maintainer, then announce
|
||||
within the pertinent community your intention to take over
|
||||
maintenance. (If the Work is a LaTeX work, this could be
|
||||
done, for example, by posting to comp.text.tex.)
|
||||
|
||||
3a. If the Current Maintainer is reachable and agrees to pass
|
||||
maintenance of the Work to you, then this takes effect
|
||||
immediately upon announcement.
|
||||
|
||||
b. If the Current Maintainer is not reachable and the Copyright
|
||||
Holder agrees that maintenance of the Work be passed to you,
|
||||
then this takes effect immediately upon announcement.
|
||||
|
||||
4. If you make an `intention announcement' as described in 2b. above
|
||||
and after three months your intention is challenged neither by
|
||||
the Current Maintainer nor by the Copyright Holder nor by other
|
||||
people, then you may arrange for the Work to be changed so as
|
||||
to name you as the (new) Current Maintainer.
|
||||
|
||||
5. If the previously unreachable Current Maintainer becomes
|
||||
reachable once more within three months of a change completed
|
||||
under the terms of 3b) or 4), then that Current Maintainer must
|
||||
become or remain the Current Maintainer upon request provided
|
||||
they then update their communication data within one month.
|
||||
|
||||
A change in the Current Maintainer does not, of itself, alter the fact
|
||||
that the Work is distributed under the LPPL license.
|
||||
|
||||
If you become the Current Maintainer of the Work, you should
|
||||
immediately provide, within the Work, a prominent and unambiguous
|
||||
statement of your status as Current Maintainer. You should also
|
||||
announce your new status to the same pertinent community as
|
||||
in 2b) above.
|
||||
|
||||
|
||||
WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
|
||||
======================================================
|
||||
|
||||
This section contains important instructions, examples, and
|
||||
recommendations for authors who are considering distributing their
|
||||
works under this license. These authors are addressed as `you' in
|
||||
this section.
|
||||
|
||||
Choosing This License or Another License
|
||||
----------------------------------------
|
||||
|
||||
If for any part of your work you want or need to use *distribution*
|
||||
conditions that differ significantly from those in this license, then
|
||||
do not refer to this license anywhere in your work but, instead,
|
||||
distribute your work under a different license. You may use the text
|
||||
of this license as a model for your own license, but your license
|
||||
should not refer to the LPPL or otherwise give the impression that
|
||||
your work is distributed under the LPPL.
|
||||
|
||||
The document `modguide.tex' in the base LaTeX distribution explains
|
||||
the motivation behind the conditions of this license. It explains,
|
||||
for example, why distributing LaTeX under the GNU General Public
|
||||
License (GPL) was considered inappropriate. Even if your work is
|
||||
unrelated to LaTeX, the discussion in `modguide.tex' may still be
|
||||
relevant, and authors intending to distribute their works under any
|
||||
license are encouraged to read it.
|
||||
|
||||
A Recommendation on Modification Without Distribution
|
||||
-----------------------------------------------------
|
||||
|
||||
It is wise never to modify a component of the Work, even for your own
|
||||
personal use, without also meeting the above conditions for
|
||||
distributing the modified component. While you might intend that such
|
||||
modifications will never be distributed, often this will happen by
|
||||
accident -- you may forget that you have modified that component; or
|
||||
it may not occur to you when allowing others to access the modified
|
||||
version that you are thus distributing it and violating the conditions
|
||||
of this license in ways that could have legal implications and, worse,
|
||||
cause problems for the community. It is therefore usually in your
|
||||
best interest to keep your copy of the Work identical with the public
|
||||
one. Many works provide ways to control the behavior of that work
|
||||
without altering any of its licensed components.
|
||||
|
||||
How to Use This License
|
||||
-----------------------
|
||||
|
||||
To use this license, place in each of the components of your work both
|
||||
an explicit copyright notice including your name and the year the work
|
||||
was authored and/or last substantially modified. Include also a
|
||||
statement that the distribution and/or modification of that
|
||||
component is constrained by the conditions in this license.
|
||||
|
||||
Here is an example of such a notice and statement:
|
||||
|
||||
%% pig.dtx
|
||||
%% Copyright 2005 M. Y. Name
|
||||
%
|
||||
% This work may be distributed and/or modified under the
|
||||
% conditions of the LaTeX Project Public License, either version 1.3
|
||||
% of this license or (at your option) any later version.
|
||||
% The latest version of this license is in
|
||||
% http://www.latex-project.org/lppl.txt
|
||||
% and version 1.3 or later is part of all distributions of LaTeX
|
||||
% version 2005/12/01 or later.
|
||||
%
|
||||
% This work has the LPPL maintenance status `maintained'.
|
||||
%
|
||||
% The Current Maintainer of this work is M. Y. Name.
|
||||
%
|
||||
% This work consists of the files pig.dtx and pig.ins
|
||||
% and the derived file pig.sty.
|
||||
|
||||
Given such a notice and statement in a file, the conditions
|
||||
given in this license document would apply, with the `Work' referring
|
||||
to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
|
||||
generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
|
||||
referring to any `LaTeX-Format', and both `Copyright Holder' and
|
||||
`Current Maintainer' referring to the person `M. Y. Name'.
|
||||
|
||||
If you do not want the Maintenance section of LPPL to apply to your
|
||||
Work, change `maintained' above into `author-maintained'.
|
||||
However, we recommend that you use `maintained', as the Maintenance
|
||||
section was added in order to ensure that your Work remains useful to
|
||||
the community even when you can no longer maintain and support it
|
||||
yourself.
|
||||
|
||||
Derived Works That Are Not Replacements
|
||||
---------------------------------------
|
||||
|
||||
Several clauses of the LPPL specify means to provide reliability and
|
||||
stability for the user community. They therefore concern themselves
|
||||
with the case that a Derived Work is intended to be used as a
|
||||
(compatible or incompatible) replacement of the original Work. If
|
||||
this is not the case (e.g., if a few lines of code are reused for a
|
||||
completely different task), then clauses 6b and 6d shall not apply.
|
||||
|
||||
|
||||
Important Recommendations
|
||||
-------------------------
|
||||
|
||||
Defining What Constitutes the Work
|
||||
|
||||
The LPPL requires that distributions of the Work contain all the
|
||||
files of the Work. It is therefore important that you provide a
|
||||
way for the licensee to determine which files constitute the Work.
|
||||
This could, for example, be achieved by explicitly listing all the
|
||||
files of the Work near the copyright notice of each file or by
|
||||
using a line such as:
|
||||
|
||||
% This work consists of all files listed in manifest.txt.
|
||||
|
||||
in that place. In the absence of an unequivocal list it might be
|
||||
impossible for the licensee to determine what is considered by you
|
||||
to comprise the Work and, in such a case, the licensee would be
|
||||
entitled to make reasonable conjectures as to which files comprise
|
||||
the Work.
|
@ -1,32 +1,34 @@
|
||||
---
|
||||
layout: license
|
||||
title: MIT License
|
||||
category: MIT
|
||||
permalink: /licenses/mit/
|
||||
source: http://opensource.org/licenses/MIT
|
||||
|
||||
spdx-id: MIT
|
||||
featured: true
|
||||
hidden: false
|
||||
|
||||
description: A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.
|
||||
description: A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
|
||||
|
||||
required:
|
||||
- include-copyright
|
||||
using:
|
||||
- Babel: https://github.com/babel/babel/blob/master/LICENSE
|
||||
- .NET Core: https://github.com/dotnet/corefx/blob/master/LICENSE.TXT
|
||||
- Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- sublicense
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
The MIT License (MIT)
|
||||
MIT License
|
||||
|
||||
Copyright (c) [year] [fullname]
|
||||
|
409
_licenses/mpl-2.0.txt
Normal file
409
_licenses/mpl-2.0.txt
Normal file
@ -0,0 +1,409 @@
|
||||
---
|
||||
title: Mozilla Public License 2.0
|
||||
spdx-id: MPL-2.0
|
||||
redirect_from: /licenses/mozilla/
|
||||
hidden: false
|
||||
|
||||
description: Permissions of this weak copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
note: The Mozilla Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license (Exhibit A).
|
||||
|
||||
using:
|
||||
- Servo: https://github.com/servo/servo/blob/master/LICENSE
|
||||
- Syncthing: https://github.com/syncthing/syncthing/blob/master/LICENSE
|
||||
- TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- disclose-source
|
||||
- include-copyright
|
||||
- same-license--file
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- trademark-use
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Mozilla Public License Version 2.0
|
||||
==================================
|
||||
|
||||
1. Definitions
|
||||
--------------
|
||||
|
||||
1.1. "Contributor"
|
||||
means each individual or legal entity that creates, contributes to
|
||||
the creation of, or owns Covered Software.
|
||||
|
||||
1.2. "Contributor Version"
|
||||
means the combination of the Contributions of others (if any) used
|
||||
by a Contributor and that particular Contributor's Contribution.
|
||||
|
||||
1.3. "Contribution"
|
||||
means Covered Software of a particular Contributor.
|
||||
|
||||
1.4. "Covered Software"
|
||||
means Source Code Form to which the initial Contributor has attached
|
||||
the notice in Exhibit A, the Executable Form of such Source Code
|
||||
Form, and Modifications of such Source Code Form, in each case
|
||||
including portions thereof.
|
||||
|
||||
1.5. "Incompatible With Secondary Licenses"
|
||||
means
|
||||
|
||||
(a) that the initial Contributor has attached the notice described
|
||||
in Exhibit B to the Covered Software; or
|
||||
|
||||
(b) that the Covered Software was made available under the terms of
|
||||
version 1.1 or earlier of the License, but not also under the
|
||||
terms of a Secondary License.
|
||||
|
||||
1.6. "Executable Form"
|
||||
means any form of the work other than Source Code Form.
|
||||
|
||||
1.7. "Larger Work"
|
||||
means a work that combines Covered Software with other material, in
|
||||
a separate file or files, that is not Covered Software.
|
||||
|
||||
1.8. "License"
|
||||
means this document.
|
||||
|
||||
1.9. "Licensable"
|
||||
means having the right to grant, to the maximum extent possible,
|
||||
whether at the time of the initial grant or subsequently, any and
|
||||
all of the rights conveyed by this License.
|
||||
|
||||
1.10. "Modifications"
|
||||
means any of the following:
|
||||
|
||||
(a) any file in Source Code Form that results from an addition to,
|
||||
deletion from, or modification of the contents of Covered
|
||||
Software; or
|
||||
|
||||
(b) any new file in Source Code Form that contains any Covered
|
||||
Software.
|
||||
|
||||
1.11. "Patent Claims" of a Contributor
|
||||
means any patent claim(s), including without limitation, method,
|
||||
process, and apparatus claims, in any patent Licensable by such
|
||||
Contributor that would be infringed, but for the grant of the
|
||||
License, by the making, using, selling, offering for sale, having
|
||||
made, import, or transfer of either its Contributions or its
|
||||
Contributor Version.
|
||||
|
||||
1.12. "Secondary License"
|
||||
means either the GNU General Public License, Version 2.0, the GNU
|
||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
||||
Public License, Version 3.0, or any later versions of those
|
||||
licenses.
|
||||
|
||||
1.13. "Source Code Form"
|
||||
means the form of the work preferred for making modifications.
|
||||
|
||||
1.14. "You" (or "Your")
|
||||
means an individual or a legal entity exercising rights under this
|
||||
License. For legal entities, "You" includes any entity that
|
||||
controls, is controlled by, or is under common control with You. For
|
||||
purposes of this definition, "control" means (a) the power, direct
|
||||
or indirect, to cause the direction or management of such entity,
|
||||
whether by contract or otherwise, or (b) ownership of more than
|
||||
fifty percent (50%) of the outstanding shares or beneficial
|
||||
ownership of such entity.
|
||||
|
||||
2. License Grants and Conditions
|
||||
--------------------------------
|
||||
|
||||
2.1. Grants
|
||||
|
||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
||||
non-exclusive license:
|
||||
|
||||
(a) under intellectual property rights (other than patent or trademark)
|
||||
Licensable by such Contributor to use, reproduce, make available,
|
||||
modify, display, perform, distribute, and otherwise exploit its
|
||||
Contributions, either on an unmodified basis, with Modifications, or
|
||||
as part of a Larger Work; and
|
||||
|
||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
||||
for sale, have made, import, and otherwise transfer either its
|
||||
Contributions or its Contributor Version.
|
||||
|
||||
2.2. Effective Date
|
||||
|
||||
The licenses granted in Section 2.1 with respect to any Contribution
|
||||
become effective for each Contribution on the date the Contributor first
|
||||
distributes such Contribution.
|
||||
|
||||
2.3. Limitations on Grant Scope
|
||||
|
||||
The licenses granted in this Section 2 are the only rights granted under
|
||||
this License. No additional rights or licenses will be implied from the
|
||||
distribution or licensing of Covered Software under this License.
|
||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
||||
Contributor:
|
||||
|
||||
(a) for any code that a Contributor has removed from Covered Software;
|
||||
or
|
||||
|
||||
(b) for infringements caused by: (i) Your and any other third party's
|
||||
modifications of Covered Software, or (ii) the combination of its
|
||||
Contributions with other software (except as part of its Contributor
|
||||
Version); or
|
||||
|
||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
||||
its Contributions.
|
||||
|
||||
This License does not grant any rights in the trademarks, service marks,
|
||||
or logos of any Contributor (except as may be necessary to comply with
|
||||
the notice requirements in Section 3.4).
|
||||
|
||||
2.4. Subsequent Licenses
|
||||
|
||||
No Contributor makes additional grants as a result of Your choice to
|
||||
distribute the Covered Software under a subsequent version of this
|
||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
||||
permitted under the terms of Section 3.3).
|
||||
|
||||
2.5. Representation
|
||||
|
||||
Each Contributor represents that the Contributor believes its
|
||||
Contributions are its original creation(s) or it has sufficient rights
|
||||
to grant the rights to its Contributions conveyed by this License.
|
||||
|
||||
2.6. Fair Use
|
||||
|
||||
This License is not intended to limit any rights You have under
|
||||
applicable copyright doctrines of fair use, fair dealing, or other
|
||||
equivalents.
|
||||
|
||||
2.7. Conditions
|
||||
|
||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
||||
in Section 2.1.
|
||||
|
||||
3. Responsibilities
|
||||
-------------------
|
||||
|
||||
3.1. Distribution of Source Form
|
||||
|
||||
All distribution of Covered Software in Source Code Form, including any
|
||||
Modifications that You create or to which You contribute, must be under
|
||||
the terms of this License. You must inform recipients that the Source
|
||||
Code Form of the Covered Software is governed by the terms of this
|
||||
License, and how they can obtain a copy of this License. You may not
|
||||
attempt to alter or restrict the recipients' rights in the Source Code
|
||||
Form.
|
||||
|
||||
3.2. Distribution of Executable Form
|
||||
|
||||
If You distribute Covered Software in Executable Form then:
|
||||
|
||||
(a) such Covered Software must also be made available in Source Code
|
||||
Form, as described in Section 3.1, and You must inform recipients of
|
||||
the Executable Form how they can obtain a copy of such Source Code
|
||||
Form by reasonable means in a timely manner, at a charge no more
|
||||
than the cost of distribution to the recipient; and
|
||||
|
||||
(b) You may distribute such Executable Form under the terms of this
|
||||
License, or sublicense it under different terms, provided that the
|
||||
license for the Executable Form does not attempt to limit or alter
|
||||
the recipients' rights in the Source Code Form under this License.
|
||||
|
||||
3.3. Distribution of a Larger Work
|
||||
|
||||
You may create and distribute a Larger Work under terms of Your choice,
|
||||
provided that You also comply with the requirements of this License for
|
||||
the Covered Software. If the Larger Work is a combination of Covered
|
||||
Software with a work governed by one or more Secondary Licenses, and the
|
||||
Covered Software is not Incompatible With Secondary Licenses, this
|
||||
License permits You to additionally distribute such Covered Software
|
||||
under the terms of such Secondary License(s), so that the recipient of
|
||||
the Larger Work may, at their option, further distribute the Covered
|
||||
Software under the terms of either this License or such Secondary
|
||||
License(s).
|
||||
|
||||
3.4. Notices
|
||||
|
||||
You may not remove or alter the substance of any license notices
|
||||
(including copyright notices, patent notices, disclaimers of warranty,
|
||||
or limitations of liability) contained within the Source Code Form of
|
||||
the Covered Software, except that You may alter any license notices to
|
||||
the extent required to remedy known factual inaccuracies.
|
||||
|
||||
3.5. Application of Additional Terms
|
||||
|
||||
You may choose to offer, and to charge a fee for, warranty, support,
|
||||
indemnity or liability obligations to one or more recipients of Covered
|
||||
Software. However, You may do so only on Your own behalf, and not on
|
||||
behalf of any Contributor. You must make it absolutely clear that any
|
||||
such warranty, support, indemnity, or liability obligation is offered by
|
||||
You alone, and You hereby agree to indemnify every Contributor for any
|
||||
liability incurred by such Contributor as a result of warranty, support,
|
||||
indemnity or liability terms You offer. You may include additional
|
||||
disclaimers of warranty and limitations of liability specific to any
|
||||
jurisdiction.
|
||||
|
||||
4. Inability to Comply Due to Statute or Regulation
|
||||
---------------------------------------------------
|
||||
|
||||
If it is impossible for You to comply with any of the terms of this
|
||||
License with respect to some or all of the Covered Software due to
|
||||
statute, judicial order, or regulation then You must: (a) comply with
|
||||
the terms of this License to the maximum extent possible; and (b)
|
||||
describe the limitations and the code they affect. Such description must
|
||||
be placed in a text file included with all distributions of the Covered
|
||||
Software under this License. Except to the extent prohibited by statute
|
||||
or regulation, such description must be sufficiently detailed for a
|
||||
recipient of ordinary skill to be able to understand it.
|
||||
|
||||
5. Termination
|
||||
--------------
|
||||
|
||||
5.1. The rights granted under this License will terminate automatically
|
||||
if You fail to comply with any of its terms. However, if You become
|
||||
compliant, then the rights granted under this License from a particular
|
||||
Contributor are reinstated (a) provisionally, unless and until such
|
||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
||||
ongoing basis, if such Contributor fails to notify You of the
|
||||
non-compliance by some reasonable means prior to 60 days after You have
|
||||
come back into compliance. Moreover, Your grants from a particular
|
||||
Contributor are reinstated on an ongoing basis if such Contributor
|
||||
notifies You of the non-compliance by some reasonable means, this is the
|
||||
first time You have received notice of non-compliance with this License
|
||||
from such Contributor, and You become compliant prior to 30 days after
|
||||
Your receipt of the notice.
|
||||
|
||||
5.2. If You initiate litigation against any entity by asserting a patent
|
||||
infringement claim (excluding declaratory judgment actions,
|
||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
||||
directly or indirectly infringes any patent, then the rights granted to
|
||||
You by any and all Contributors for the Covered Software under Section
|
||||
2.1 of this License shall terminate.
|
||||
|
||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
||||
end user license agreements (excluding distributors and resellers) which
|
||||
have been validly granted by You or Your distributors under this License
|
||||
prior to termination shall survive termination.
|
||||
|
||||
************************************************************************
|
||||
* *
|
||||
* 6. Disclaimer of Warranty *
|
||||
* ------------------------- *
|
||||
* *
|
||||
* Covered Software is provided under this License on an "as is" *
|
||||
* basis, without warranty of any kind, either expressed, implied, or *
|
||||
* statutory, including, without limitation, warranties that the *
|
||||
* Covered Software is free of defects, merchantable, fit for a *
|
||||
* particular purpose or non-infringing. The entire risk as to the *
|
||||
* quality and performance of the Covered Software is with You. *
|
||||
* Should any Covered Software prove defective in any respect, You *
|
||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
||||
* essential part of this License. No use of any Covered Software is *
|
||||
* authorized under this License except under this disclaimer. *
|
||||
* *
|
||||
************************************************************************
|
||||
|
||||
************************************************************************
|
||||
* *
|
||||
* 7. Limitation of Liability *
|
||||
* -------------------------- *
|
||||
* *
|
||||
* Under no circumstances and under no legal theory, whether tort *
|
||||
* (including negligence), contract, or otherwise, shall any *
|
||||
* Contributor, or anyone who distributes Covered Software as *
|
||||
* permitted above, be liable to You for any direct, indirect, *
|
||||
* special, incidental, or consequential damages of any character *
|
||||
* including, without limitation, damages for lost profits, loss of *
|
||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
||||
* and all other commercial damages or losses, even if such party *
|
||||
* shall have been informed of the possibility of such damages. This *
|
||||
* limitation of liability shall not apply to liability for death or *
|
||||
* personal injury resulting from such party's negligence to the *
|
||||
* extent applicable law prohibits such limitation. Some *
|
||||
* jurisdictions do not allow the exclusion or limitation of *
|
||||
* incidental or consequential damages, so this exclusion and *
|
||||
* limitation may not apply to You. *
|
||||
* *
|
||||
************************************************************************
|
||||
|
||||
8. Litigation
|
||||
-------------
|
||||
|
||||
Any litigation relating to this License may be brought only in the
|
||||
courts of a jurisdiction where the defendant maintains its principal
|
||||
place of business and such litigation shall be governed by laws of that
|
||||
jurisdiction, without reference to its conflict-of-law provisions.
|
||||
Nothing in this Section shall prevent a party's ability to bring
|
||||
cross-claims or counter-claims.
|
||||
|
||||
9. Miscellaneous
|
||||
----------------
|
||||
|
||||
This License represents the complete agreement concerning the subject
|
||||
matter hereof. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent
|
||||
necessary to make it enforceable. Any law or regulation which provides
|
||||
that the language of a contract shall be construed against the drafter
|
||||
shall not be used to construe this License against a Contributor.
|
||||
|
||||
10. Versions of the License
|
||||
---------------------------
|
||||
|
||||
10.1. New Versions
|
||||
|
||||
Mozilla Foundation is the license steward. Except as provided in Section
|
||||
10.3, no one other than the license steward has the right to modify or
|
||||
publish new versions of this License. Each version will be given a
|
||||
distinguishing version number.
|
||||
|
||||
10.2. Effect of New Versions
|
||||
|
||||
You may distribute the Covered Software under the terms of the version
|
||||
of the License under which You originally received the Covered Software,
|
||||
or under the terms of any subsequent version published by the license
|
||||
steward.
|
||||
|
||||
10.3. Modified Versions
|
||||
|
||||
If you create software not governed by this License, and you want to
|
||||
create a new license for such software, you may create and use a
|
||||
modified version of this License if you rename the license and remove
|
||||
any references to the name of the license steward (except to note that
|
||||
such modified license differs from this License).
|
||||
|
||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
||||
Licenses
|
||||
|
||||
If You choose to distribute Source Code Form that is Incompatible With
|
||||
Secondary Licenses under the terms of this version of the License, the
|
||||
notice described in Exhibit B of this License must be attached.
|
||||
|
||||
Exhibit A - Source Code Form License Notice
|
||||
-------------------------------------------
|
||||
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
If it is not possible or desirable to put the notice in a particular
|
||||
file, then You may include the notice in a location (such as a LICENSE
|
||||
file in a relevant directory) where a recipient would be likely to look
|
||||
for such a notice.
|
||||
|
||||
You may add additional accurate notices of copyright ownership.
|
||||
|
||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
||||
---------------------------------------------------------
|
||||
|
||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||
defined by the Mozilla Public License, v. 2.0.
|
78
_licenses/ms-pl.txt
Normal file
78
_licenses/ms-pl.txt
Normal file
@ -0,0 +1,78 @@
|
||||
---
|
||||
title: Microsoft Public License
|
||||
spdx-id: MS-PL
|
||||
|
||||
description: An open source license with a patent grant.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- warranty
|
||||
- trademark-use
|
||||
|
||||
---
|
||||
|
||||
Microsoft Public License (Ms-PL)
|
||||
|
||||
This license governs use of the accompanying software. If you use the
|
||||
software, you accept this license. If you do not accept the license, do not
|
||||
use the software.
|
||||
|
||||
1. Definitions
|
||||
The terms "reproduce," "reproduction," "derivative works," and "distribution"
|
||||
have the same meaning here as under U.S. copyright law. A "contribution" is
|
||||
the original software, or any additions or changes to the software. A
|
||||
"contributor" is any person that distributes its contribution under this
|
||||
license. "Licensed patents" are a contributor's patent claims that read
|
||||
directly on its contribution.
|
||||
|
||||
2. Grant of Rights
|
||||
(A) Copyright Grant- Subject to the terms of this license, including the
|
||||
license conditions and limitations in section 3, each contributor grants
|
||||
you a non-exclusive, worldwide, royalty-free copyright license to
|
||||
reproduce its contribution, prepare derivative works of its contribution,
|
||||
and distribute its contribution or any derivative works that you create.
|
||||
|
||||
(B) Patent Grant- Subject to the terms of this license, including the
|
||||
license conditions and limitations in section 3, each contributor grants
|
||||
you a non-exclusive, worldwide, royalty-free license under its licensed
|
||||
patents to make, have made, use, sell, offer for sale, import, and/or
|
||||
otherwise dispose of its contribution in the software or derivative works
|
||||
of the contribution in the software.
|
||||
|
||||
3. Conditions and Limitations
|
||||
(A) No Trademark License- This license does not grant you rights to use
|
||||
any contributors' name, logo, or trademarks.
|
||||
|
||||
(B) If you bring a patent claim against any contributor over patents that
|
||||
you claim are infringed by the software, your patent license from such
|
||||
contributor to the software ends automatically.
|
||||
|
||||
(C) If you distribute any portion of the software, you must retain all
|
||||
copyright, patent, trademark, and attribution notices that are present in
|
||||
the software.
|
||||
|
||||
(D) If you distribute any portion of the software in source code form,
|
||||
you may do so only under this license by including a complete copy of
|
||||
this license with your distribution. If you distribute any portion of the
|
||||
software in compiled or object code form, you may only do so under a
|
||||
license that complies with this license.
|
||||
|
||||
(E) The software is licensed "as-is." You bear the risk of using it. The
|
||||
contributors give no express warranties, guarantees, or conditions. You
|
||||
may have additional consumer rights under your local laws which this
|
||||
license cannot change. To the extent permitted under your local laws, the
|
||||
contributors exclude the implied warranties of merchantability, fitness
|
||||
for a particular purpose and non-infringement.
|
92
_licenses/ms-rl.txt
Normal file
92
_licenses/ms-rl.txt
Normal file
@ -0,0 +1,92 @@
|
||||
---
|
||||
title: Microsoft Reciprocal License
|
||||
spdx-id: MS-RL
|
||||
|
||||
description: An open source license with a patent grant similar to the <a href="/licenses/ms-pl/">Microsoft Public License</a>, with the additional condition that any source code for any derived file be provided under this license.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- disclose-source
|
||||
- include-copyright
|
||||
- same-license--file
|
||||
|
||||
limitations:
|
||||
- warranty
|
||||
- trademark-use
|
||||
|
||||
---
|
||||
|
||||
Microsoft Reciprocal License (Ms-RL)
|
||||
|
||||
This license governs use of the accompanying software. If you use the
|
||||
software, you accept this license. If you do not accept the license, do not
|
||||
use the software.
|
||||
|
||||
1. Definitions
|
||||
The terms "reproduce," "reproduction," "derivative works," and "distribution"
|
||||
have the same meaning here as under U.S. copyright law.
|
||||
|
||||
A "contribution" is the original software, or any additions or changes to the
|
||||
software.
|
||||
|
||||
A "contributor" is any person that distributes its contribution under this
|
||||
license.
|
||||
|
||||
"Licensed patents" are a contributor's patent claims that read directly on its
|
||||
contribution.
|
||||
|
||||
2. Grant of Rights
|
||||
(A) Copyright Grant- Subject to the terms of this license, including the
|
||||
license conditions and limitations in section 3, each contributor grants
|
||||
you a non-exclusive, worldwide, royalty-free copyright license to
|
||||
reproduce its contribution, prepare derivative works of its contribution,
|
||||
and distribute its contribution or any derivative works that you create.
|
||||
|
||||
(B) Patent Grant- Subject to the terms of this license, including the
|
||||
license conditions and limitations in section 3, each contributor grants
|
||||
you a non-exclusive, worldwide, royalty-free license under its licensed
|
||||
patents to make, have made, use, sell, offer for sale, import, and/or
|
||||
otherwise dispose of its contribution in the software or derivative works
|
||||
of the contribution in the software.
|
||||
|
||||
3. Conditions and Limitations
|
||||
(A) Reciprocal Grants- For any file you distribute that contains code
|
||||
from the software (in source code or binary format), you must provide
|
||||
recipients the source code to that file along with a copy of this
|
||||
license, which license will govern that file. You may license other files
|
||||
that are entirely your own work and do not contain code from the software
|
||||
under any terms you choose.
|
||||
|
||||
(B) No Trademark License- This license does not grant you rights to use
|
||||
any contributors' name, logo, or trademarks.
|
||||
|
||||
(C) If you bring a patent claim against any contributor over patents that
|
||||
you claim are infringed by the software, your patent license from such
|
||||
contributor to the software ends automatically.
|
||||
|
||||
(D) If you distribute any portion of the software, you must retain all
|
||||
copyright, patent, trademark, and attribution notices that are present in
|
||||
the software.
|
||||
|
||||
(E) If you distribute any portion of the software in source code form,
|
||||
you may do so only under this license by including a complete copy of
|
||||
this license with your distribution. If you distribute any portion of the
|
||||
software in compiled or object code form, you may only do so under a
|
||||
license that complies with this license.
|
||||
|
||||
(F) The software is licensed "as-is." You bear the risk of using it. The
|
||||
contributors give no express warranties, guarantees, or conditions. You
|
||||
may have additional consumer rights under your local laws which this
|
||||
license cannot change. To the extent permitted under your local laws, the
|
||||
contributors exclude the implied warranties of merchantability, fitness
|
||||
for a particular purpose and non-infringement.
|
63
_licenses/ncsa.txt
Normal file
63
_licenses/ncsa.txt
Normal file
@ -0,0 +1,63 @@
|
||||
---
|
||||
title: University of Illinois/NCSA Open Source License
|
||||
spdx-id: NCSA
|
||||
nickname: UIUC/NCSA
|
||||
|
||||
description: The University of Illinois/NCSA Open Source License, or UIUC license, is a permissive free software license, based on the <a href="/licenses/mit/">MIT/X11 license</a> and the <a href="/licenses/bsd-3-clause/">BSD 3-clause License</a>. Its conditions include requiring the preservation of copyright and license notices both in source and in binary distributions and the prohibition of using the names of the authors or the project organization to promote or endorse derived products.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
|
||||
|
||||
using:
|
||||
- LLDB: https://github.com/llvm-mirror/lldb/blob/master/LICENSE.TXT
|
||||
- ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
|
||||
- RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
University of Illinois/NCSA Open Source License
|
||||
|
||||
Copyright (c) [year] [fullname]. All rights reserved.
|
||||
|
||||
Developed by: [project]
|
||||
[fullname]
|
||||
[projecturl]
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation files
|
||||
(the "Software"), to deal with the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge,
|
||||
publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimers.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimers in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the names of [fullname], [project] nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this Software without specific prior written permission.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH
|
||||
THE SOFTWARE.
|
121
_licenses/ofl-1.1.txt
Normal file
121
_licenses/ofl-1.1.txt
Normal file
@ -0,0 +1,121 @@
|
||||
---
|
||||
title: SIL Open Font License 1.1
|
||||
spdx-id: OFL-1.1
|
||||
redirect_from: /licenses/ofl/
|
||||
|
||||
description: The Open Font License (OFL) is maintained by SIL International. It attempts to be a compromise between the values of the free software and typeface design communities. It is used for almost all open source font projects, including those by Adobe, Google and Mozilla.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your font source and copy the text of the license into the file. Replace [year] with the current year and [fullname] ([email]) with the name and contact email address of each copyright holder. You may take the additional step of appending a Reserved Font Name notice. This option requires anyone making modifications to change the font's name, and is not ideal for web fonts (which all users will modify by changing formats and subsetting for their own needs.)
|
||||
|
||||
note: This license doesn't require source provision, but recommends it. All files derived from OFL files must remain licensed under the OFL.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- private-use
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Copyright (c) [year] [fullname] ([email])
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION AND CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
208
_licenses/osl-3.0.txt
Normal file
208
_licenses/osl-3.0.txt
Normal file
@ -0,0 +1,208 @@
|
||||
---
|
||||
title: Open Software License 3.0
|
||||
spdx-id: OSL-3.0
|
||||
|
||||
description: OSL 3.0 is a copyleft license that does not require reciprocal licensing on linked works. It also provides an express grant of patent rights from contributors to users, with a termination clause triggered if a user files a patent infringement lawsuit.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Files licensed under OSL 3.0 must also include the notice "Licensed under the Open Software License version 3.0" adjacent to the copyright notice.
|
||||
|
||||
note: OSL 3.0's author has <a href="https://rosenlaw.com/OSL3.0-explained.htm">provided an explanation</a> behind the creation of the license.
|
||||
|
||||
using:
|
||||
- appserver.io: https://github.com/appserver-io/appserver/blob/master/LICENSE.txt
|
||||
- JsonMapper: https://github.com/cweiske/jsonmapper/blob/master/LICENSE
|
||||
- Restyaboard: https://github.com/RestyaPlatform/board/blob/master/LICENSE.txt
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- distribution
|
||||
- modifications
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- disclose-source
|
||||
- document-changes
|
||||
- network-use-disclose
|
||||
- same-license
|
||||
|
||||
limitations:
|
||||
- trademark-use
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Open Software License ("OSL") v 3.0
|
||||
|
||||
This Open Software License (the "License") applies to any original work of
|
||||
authorship (the "Original Work") whose owner (the "Licensor") has placed the
|
||||
following licensing notice adjacent to the copyright notice for the Original
|
||||
Work:
|
||||
|
||||
Licensed under the Open Software License version 3.0
|
||||
|
||||
1) Grant of Copyright License. Licensor grants You a worldwide, royalty-free,
|
||||
non-exclusive, sublicensable license, for the duration of the copyright, to do
|
||||
the following:
|
||||
|
||||
a) to reproduce the Original Work in copies, either alone or as part of a
|
||||
collective work;
|
||||
|
||||
b) to translate, adapt, alter, transform, modify, or arrange the Original
|
||||
Work, thereby creating derivative works ("Derivative Works") based upon the
|
||||
Original Work;
|
||||
|
||||
c) to distribute or communicate copies of the Original Work and Derivative
|
||||
Works to the public, with the proviso that copies of Original Work or
|
||||
Derivative Works that You distribute or communicate shall be licensed under
|
||||
this Open Software License;
|
||||
|
||||
d) to perform the Original Work publicly; and
|
||||
|
||||
e) to display the Original Work publicly.
|
||||
|
||||
2) Grant of Patent License. Licensor grants You a worldwide, royalty-free,
|
||||
non-exclusive, sublicensable license, under patent claims owned or controlled
|
||||
by the Licensor that are embodied in the Original Work as furnished by the
|
||||
Licensor, for the duration of the patents, to make, use, sell, offer for sale,
|
||||
have made, and import the Original Work and Derivative Works.
|
||||
|
||||
3) Grant of Source Code License. The term "Source Code" means the preferred
|
||||
form of the Original Work for making modifications to it and all available
|
||||
documentation describing how to modify the Original Work. Licensor agrees to
|
||||
provide a machine-readable copy of the Source Code of the Original Work along
|
||||
with each copy of the Original Work that Licensor distributes. Licensor
|
||||
reserves the right to satisfy this obligation by placing a machine-readable
|
||||
copy of the Source Code in an information repository reasonably calculated to
|
||||
permit inexpensive and convenient access by You for as long as Licensor
|
||||
continues to distribute the Original Work.
|
||||
|
||||
4) Exclusions From License Grant. Neither the names of Licensor, nor the names
|
||||
of any contributors to the Original Work, nor any of their trademarks or
|
||||
service marks, may be used to endorse or promote products derived from this
|
||||
Original Work without express prior permission of the Licensor. Except as
|
||||
expressly stated herein, nothing in this License grants any license to
|
||||
Licensor's trademarks, copyrights, patents, trade secrets or any other
|
||||
intellectual property. No patent license is granted to make, use, sell, offer
|
||||
for sale, have made, or import embodiments of any patent claims other than the
|
||||
licensed claims defined in Section 2. No license is granted to the trademarks
|
||||
of Licensor even if such marks are included in the Original Work. Nothing in
|
||||
this License shall be interpreted to prohibit Licensor from licensing under
|
||||
terms different from this License any Original Work that Licensor otherwise
|
||||
would have a right to license.
|
||||
|
||||
5) External Deployment. The term "External Deployment" means the use,
|
||||
distribution, or communication of the Original Work or Derivative Works in any
|
||||
way such that the Original Work or Derivative Works may be used by anyone
|
||||
other than You, whether those works are distributed or communicated to those
|
||||
persons or made available as an application intended for use over a network.
|
||||
As an express condition for the grants of license hereunder, You must treat
|
||||
any External Deployment by You of the Original Work or a Derivative Work as a
|
||||
distribution under section 1(c).
|
||||
|
||||
6) Attribution Rights. You must retain, in the Source Code of any Derivative
|
||||
Works that You create, all copyright, patent, or trademark notices from the
|
||||
Source Code of the Original Work, as well as any notices of licensing and any
|
||||
descriptive text identified therein as an "Attribution Notice." You must cause
|
||||
the Source Code for any Derivative Works that You create to carry a prominent
|
||||
Attribution Notice reasonably calculated to inform recipients that You have
|
||||
modified the Original Work.
|
||||
|
||||
7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that
|
||||
the copyright in and to the Original Work and the patent rights granted herein
|
||||
by Licensor are owned by the Licensor or are sublicensed to You under the
|
||||
terms of this License with the permission of the contributor(s) of those
|
||||
copyrights and patent rights. Except as expressly stated in the immediately
|
||||
preceding sentence, the Original Work is provided under this License on an "AS
|
||||
IS" BASIS and WITHOUT WARRANTY, either express or implied, including, without
|
||||
limitation, the warranties of non-infringement, merchantability or fitness for
|
||||
a particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK
|
||||
IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential part of this
|
||||
License. No license to the Original Work is granted by this License except
|
||||
under this disclaimer.
|
||||
|
||||
8) Limitation of Liability. Under no circumstances and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise, shall the
|
||||
Licensor be liable to anyone for any indirect, special, incidental, or
|
||||
consequential damages of any character arising as a result of this License or
|
||||
the use of the Original Work including, without limitation, damages for loss
|
||||
of goodwill, work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses. This limitation of liability shall not
|
||||
apply to the extent applicable law prohibits such limitation.
|
||||
|
||||
9) Acceptance and Termination. If, at any time, You expressly assented to this
|
||||
License, that assent indicates your clear and irrevocable acceptance of this
|
||||
License and all of its terms and conditions. If You distribute or communicate
|
||||
copies of the Original Work or a Derivative Work, You must make a reasonable
|
||||
effort under the circumstances to obtain the express assent of recipients to
|
||||
the terms of this License. This License conditions your rights to undertake
|
||||
the activities listed in Section 1, including your right to create Derivative
|
||||
Works based upon the Original Work, and doing so without honoring these terms
|
||||
and conditions is prohibited by copyright law and international treaty.
|
||||
Nothing in this License is intended to affect copyright exceptions and
|
||||
limitations (including "fair use" or "fair dealing"). This License shall
|
||||
terminate immediately and You may no longer exercise any of the rights granted
|
||||
to You by this License upon your failure to honor the conditions in Section
|
||||
1(c).
|
||||
|
||||
10) Termination for Patent Action. This License shall terminate automatically
|
||||
and You may no longer exercise any of the rights granted to You by this
|
||||
License as of the date You commence an action, including a cross-claim or
|
||||
counterclaim, against Licensor or any licensee alleging that the Original Work
|
||||
infringes a patent. This termination provision shall not apply for an action
|
||||
alleging patent infringement by combinations of the Original Work with other
|
||||
software or hardware.
|
||||
|
||||
11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this
|
||||
License may be brought only in the courts of a jurisdiction wherein the
|
||||
Licensor resides or in which Licensor conducts its primary business, and under
|
||||
the laws of that jurisdiction excluding its conflict-of-law provisions. The
|
||||
application of the United Nations Convention on Contracts for the
|
||||
International Sale of Goods is expressly excluded. Any use of the Original
|
||||
Work outside the scope of this License or after its termination shall be
|
||||
subject to the requirements and penalties of copyright or patent law in the
|
||||
appropriate jurisdiction. This section shall survive the termination of this
|
||||
License.
|
||||
|
||||
12) Attorneys' Fees. In any action to enforce the terms of this License or
|
||||
seeking damages relating thereto, the prevailing party shall be entitled to
|
||||
recover its costs and expenses, including, without limitation, reasonable
|
||||
attorneys' fees and costs incurred in connection with such action, including
|
||||
any appeal of such action. This section shall survive the termination of this
|
||||
License.
|
||||
|
||||
13) Miscellaneous. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent necessary
|
||||
to make it enforceable.
|
||||
|
||||
14) Definition of "You" in This License. "You" throughout this License,
|
||||
whether in upper or lower case, means an individual or a legal entity
|
||||
exercising rights under, and complying with all of the terms of, this License.
|
||||
For legal entities, "You" includes any entity that controls, is controlled by,
|
||||
or is under common control with you. For purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the direction or
|
||||
management of such entity, whether by contract or otherwise, or (ii) ownership
|
||||
of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial
|
||||
ownership of such entity.
|
||||
|
||||
15) Right to Use. You may use the Original Work in all ways not otherwise
|
||||
restricted or conditioned by this License or by law, and Licensor promises not
|
||||
to interfere with or be responsible for such uses by You.
|
||||
|
||||
16) Modification of This License. This License is Copyright © 2005 Lawrence
|
||||
Rosen. Permission is granted to copy, distribute, or communicate this License
|
||||
without modification. Nothing in this License permits You to modify this
|
||||
License as applied to the Original Work or to Derivative Works. However, You
|
||||
may modify the text of this License and copy, distribute or communicate your
|
||||
modified version (the "Modified License") and apply it to other original works
|
||||
of authorship subject to the following conditions: (i) You may not indicate in
|
||||
any way that your Modified License is the "Open Software License" or "OSL" and
|
||||
you may not use those names in the name of your Modified License; (ii) You
|
||||
must replace the notice specified in the first paragraph above with the notice
|
||||
"Licensed under <insert your license name here>" or with a notice of your own
|
||||
that is not confusingly similar to the notice in this License; and (iii) You
|
||||
may not claim that your original works are open source software unless your
|
||||
Modified License has been approved by Open Source Initiative (OSI) and You
|
||||
comply with its license review and certification process.
|
47
_licenses/postgresql.txt
Normal file
47
_licenses/postgresql.txt
Normal file
@ -0,0 +1,47 @@
|
||||
---
|
||||
title: PostgreSQL License
|
||||
spdx-id: PostgreSQL
|
||||
|
||||
description: A very short, BSD-style license, used specifically for PostgreSQL.
|
||||
|
||||
how: To use it, say that it is The PostgreSQL License, and then substitute the copyright year and name of the copyright holder into the body of the license. Then put the license into a prominent file ("COPYRIGHT", "LICENSE" or "COPYING" are common names for this file) in your software distribution.
|
||||
|
||||
using:
|
||||
- pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
|
||||
- pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
|
||||
- .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
PostgreSQL License
|
||||
|
||||
Copyright (c) [year], [fullname]
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose, without fee, and without a written agreement is
|
||||
hereby granted, provided that the above copyright notice and this paragraph
|
||||
and the following two paragraphs appear in all copies.
|
||||
|
||||
IN NO EVENT SHALL [fullname] BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
|
||||
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING
|
||||
OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF [fullname]
|
||||
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
[fullname] SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
|
||||
AND [fullname] HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
|
||||
ENHANCEMENTS, OR MODIFICATIONS.
|
@ -1,30 +1,31 @@
|
||||
---
|
||||
layout: license
|
||||
title: The Unlicense
|
||||
category: Public Domain Dedication
|
||||
tab-slug: unlicense
|
||||
permalink: /licenses/unlicense/
|
||||
class: license-types
|
||||
filename: UNLICENSE
|
||||
spdx-id: Unlicense
|
||||
hidden: false
|
||||
|
||||
source: http://unlicense.org/UNLICENSE
|
||||
|
||||
description: Because copyright is automatic in most countries, <a href="http://unlicense.org">the Unlicense</a> is a template to waive copyright interest in software you've written and dedicate it to the public domain. Use the Unlicense to opt out of copyright entirely. It also includes the no-warranty statement from the MIT/X11 license.
|
||||
description: A license with no conditions whatsoever which dedicates works to the public domain. Unlicensed works, modifications, and larger works may be distributed under different terms and without source code.
|
||||
|
||||
how: Create a text file (typically named UNLICENSE or UNLICENSE.txt) in the root of your source code and copy the text of the license disclaimer into the file.
|
||||
|
||||
required:
|
||||
using:
|
||||
- youtube-dl: https://github.com/rg3/youtube-dl/blob/master/LICENSE
|
||||
- kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
|
||||
- RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
|
||||
|
||||
permitted:
|
||||
permissions:
|
||||
- private-use
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
conditions: []
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
66
_licenses/upl-1.0.txt
Normal file
66
_licenses/upl-1.0.txt
Normal file
@ -0,0 +1,66 @@
|
||||
---
|
||||
title: Universal Permissive License v1.0
|
||||
spdx-id: UPL-1.0
|
||||
|
||||
description: A permissive, OSI and FSF approved, GPL compatible license, expressly allowing attribution with just a copyright notice and a short form link rather than the full text of the license. Includes an express grant of patent rights. Licensed works and modifications may be distributed under different terms and without source code, and the patent grant may also optionally be expanded to larger works to permit use as a contributor license agreement.
|
||||
|
||||
how: Insert the license or a link to it along with a copyright notice into your source file(s), and/or create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license and your copyright notice into the file.
|
||||
|
||||
note: It is recommended to add a link to the license and copyright notice at the top of each source file, example text can be found at https://oss.oracle.com/licenses/upl/.
|
||||
|
||||
using:
|
||||
- WebLogic Kubernetes Operator: https://github.com/oracle/weblogic-kubernetes-operator/blob/master/LICENSE
|
||||
- Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
|
||||
- Oracle Product Boxes for Vagrant: https://github.com/oracle/vagrant-boxes/blob/master/LICENSE
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- patent-use
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
Copyright (c) [year] [fullname]
|
||||
|
||||
The Universal Permissive License (UPL), Version 1.0
|
||||
|
||||
Subject to the condition set forth below, permission is hereby granted to any
|
||||
person obtaining a copy of this software, associate documentation and/or data
|
||||
(collectively the "Software"), free of charge and under any and all copyright
|
||||
rights in the Software, and any and all patent rights owned or freely
|
||||
licensable by each licensor hereunder covering either (i) the unmodified
|
||||
Software as contributed to or provided by such licensor, or (ii) the Larger
|
||||
Works (as defined below), to deal in both
|
||||
|
||||
(a) the Software, and
|
||||
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
|
||||
one is included with the Software (each a “Larger Work” to which the Software
|
||||
is contributed by such licensors),
|
||||
|
||||
without restriction, including without limitation the rights to copy, create
|
||||
derivative works of, display, perform, and distribute the Software and make,
|
||||
use, sell, offer for sale, import, export, have made, and have sold the
|
||||
Software and the Larger Work(s), and to sublicense the foregoing rights on
|
||||
either these or other terms.
|
||||
|
||||
This license is subject to the following condition:
|
||||
The above copyright notice and either this complete permission notice or at
|
||||
a minimum a reference to the UPL must be included in all copies or
|
||||
substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
35
_licenses/wtfpl.txt
Normal file
35
_licenses/wtfpl.txt
Normal file
@ -0,0 +1,35 @@
|
||||
---
|
||||
title: "Do What The F*ck You Want To Public License"
|
||||
spdx-id: WTFPL
|
||||
|
||||
description: The easiest license out there. It gives the user permissions to do whatever they want with your code.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
conditions: []
|
||||
|
||||
limitations: []
|
||||
|
||||
---
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
45
_licenses/zlib.txt
Normal file
45
_licenses/zlib.txt
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: zlib License
|
||||
spdx-id: Zlib
|
||||
|
||||
description: A short permissive license, compatible with GPL. Requires altered source versions to be documented as such.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
|
||||
|
||||
using:
|
||||
|
||||
permissions:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- private-use
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
|
||||
limitations:
|
||||
- liability
|
||||
- warranty
|
||||
|
||||
---
|
||||
|
||||
zlib License
|
||||
|
||||
(C) [year] [fullname]
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
27
about.md
27
about.md
@ -1,33 +1,26 @@
|
||||
---
|
||||
title: About
|
||||
layout: default
|
||||
permalink: /about/
|
||||
title: What's this about?
|
||||
title: "What's this about?"
|
||||
---
|
||||
|
||||
GitHub wants to help developers choose a license for their source code.
|
||||
GitHub wants to help developers choose an open source license for their source code.
|
||||
|
||||
If you already know what you're doing and have a license you prefer to use, that's great! We're not here to change your mind. But if you are bewildered by the large number of OSS license choices, maybe we can help.
|
||||
If you already know what you're doing and have a license you prefer to use, that's great! We're not here to change your mind. But if you are bewildered by the large number of open source license choices, maybe we can help.
|
||||
|
||||
## Not comprehensive
|
||||
|
||||
This site is not a comprehensive directory of open source licenses. We think there are too many options, which adds to the confusion. On the homepage, we break it down into just three licenses. The vast majority of projects will likely be fine choosing from one of these three. Just in case you have specific needs not covered by those three, we also highlight a [few other licenses to consider](/licenses/).
|
||||
This site is not a comprehensive directory of open source licenses. On the [homepage](/), we break it down into just two licenses. The vast majority of projects will likely be fine choosing from one of these two. Just in case you have specific needs not covered by those two, we also highlight a [few other licenses to consider](/licenses/), and have a page about [licenses for non-software projects](/non-software/).
|
||||
|
||||
See our [appendix](/appendix/) for a table of all of the licenses cataloged in the choosealicense.com repository and the links below for *even more licenses* that you **do not** need to learn about when choosing a license for your project.
|
||||
|
||||
### Additional resources
|
||||
|
||||
* [Open Source Initiative](http://opensource.org/licenses/) - comprehensive list of open source licenses
|
||||
* [Comparison of free and open-source software licenses](http://en.wikipedia.org/wiki/Comparison_of_free_and_open-source_software_licenses) on Wikipedia
|
||||
* [License differentiator](http://www.oss-watch.ac.uk/apps/licdiff/) from [OSS Watch](http://www.oss-watch.ac.uk/)
|
||||
* [TLDRLegal](https://tldrlegal.com/)
|
||||
{: .bullets}
|
||||
|
||||
### Tools
|
||||
|
||||
* [gem-licenses](https://github.com/dblock/gem-licenses)
|
||||
* [LicenseFinder](https://github.com/pivotal/LicenseFinder)
|
||||
* [License Maven Plugin](http://mojo.codehaus.org/license-maven-plugin/)
|
||||
* [AddALicense.com](http://www.addalicense.com/)
|
||||
{: .bullets}
|
||||
* Open Source Initiative's FAQ on [Which Open Source license should I choose to release my software under?](https://opensource.org/faq#which-license)
|
||||
* Free Software Foundation's [advice on how to choose a license](https://www.gnu.org/licenses/license-recommendations.en.html)
|
||||
* [The Legal Side of Open Source](https://opensource.guide/legal/), an Open Source Guide covering licensing and related issues
|
||||
|
||||
## Help us improve it
|
||||
|
||||
@ -35,4 +28,4 @@ Choosealicense.com isn't just about open source, the site itself is open source
|
||||
|
||||
## Disclaimer
|
||||
|
||||
We are not lawyers. Well, most of us anyway. It is not the goal of this site to provide legal advice. The goal of this site is to provide a starting point to help you make an informed choice by providing information on popular open source licenses. If you have any questions regarding the right license for your code or any other legal issues relating to it, it's always best to consult with a professional.
|
||||
We are not lawyers. Well, most of us anyway. It is not the goal of this site to provide legal advice. The goal of this site is to provide a starting point to help you make an informed choice by providing information on popular open source licenses. If you have any questions regarding the right license for your code or any other legal issues relating to it, it's up to you to do further research or consult with a professional.
|
||||
|
91
appendix.md
Normal file
91
appendix.md
Normal file
@ -0,0 +1,91 @@
|
||||
---
|
||||
layout: default
|
||||
permalink: /appendix/
|
||||
title: Appendix
|
||||
class: license-types
|
||||
---
|
||||
|
||||
For reference, all licenses described in the choosealicense.com [repository](https://github.com/github/choosealicense.com), in a table.
|
||||
|
||||
If you're here to choose a license, **[start from the home page](/)** to see a few licenses that will work for most cases.
|
||||
|
||||
<table border style="font-size: xx-small">
|
||||
{% assign types = "permissions|conditions|limitations" | split: "|" %}
|
||||
<tr>
|
||||
<th scope="col" style="text-align: center">License</th>
|
||||
{% assign seen_tags = '' %}
|
||||
{% for type in types %}
|
||||
{% assign rules = site.data.rules[type] | sort: "label" %}
|
||||
{% for rule_obj in rules %}
|
||||
{% if seen_tags contains rule_obj.tag or rule_obj.tag contains '--' %}
|
||||
{% continue %}
|
||||
{% endif %}
|
||||
{% capture seen_tags %}{{ seen_tags | append:rule_obj.tag }}{% endcapture %}
|
||||
<th scope="col" style="text-align: center; width:7%"><a href="#{{ rule_obj.tag }}">{{ rule_obj.label }}</a></th>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% assign licenses = site.licenses | sort: "path" %}
|
||||
{% for license in licenses %}
|
||||
<tr style="height: 3em"><th scope="row"><a href="{{ license.id }}">{{ license.title }}</a></th>
|
||||
{% assign seen_tags = '' %}
|
||||
{% for type in types %}
|
||||
{% assign rules = site.data.rules[type] | sort: "label" %}
|
||||
{% for rule_obj in rules %}
|
||||
{% assign req = rule_obj.tag %}
|
||||
{% if seen_tags contains req or rule_obj.tag contains '--' %}
|
||||
{% continue %}
|
||||
{% endif %}
|
||||
{% capture seen_tags %}{{ seen_tags | append:req }}{% endcapture %}
|
||||
{% assign seen_req = false %}
|
||||
{% for t in types %}
|
||||
{% for r in license[t] %}
|
||||
{% if r contains req %}
|
||||
<td class="license-{{ t }}" style="text-align:center">
|
||||
<span class="{{ r }}">
|
||||
<span class="license-sprite {{ r }}"></span>
|
||||
</span>
|
||||
</td>
|
||||
{% assign seen_req = true %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% unless seen_req %}
|
||||
<td></td>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
## Legend
|
||||
|
||||
<p>Open source licenses grant to the public <span class="license-permissions"><span class="license-sprite"></span></span> <b>permissions</b> to do things with licensed works copyright or other "intellectual property" laws might otherwise disallow.</p>
|
||||
|
||||
<p>Most open source licenses' grants of permissions are subject to compliance with <span class="license-conditions"><span class="license-sprite"></span></span> <b>conditions</b>.</p>
|
||||
|
||||
<p>Most open source licenses also have <span class="license-limitations"><span class="license-sprite"></span></span> <b>limitations</b> that usually disclaim warranty and liability and sometimes expressly exclude patent or trademark from licenses' grants.</p>
|
||||
|
||||
<dl>
|
||||
{% assign seen_tags = '' %}
|
||||
{% for type in types %}
|
||||
{% assign rules = site.data.rules[type] | sort: "label" %}
|
||||
{% for rule_obj in rules %}
|
||||
{% assign req = rule_obj.tag %}
|
||||
{% if seen_tags contains req %}
|
||||
{% continue %}
|
||||
{% endif %}
|
||||
<dt id="{{ req }}">{{ rule_obj.label }}</dt>
|
||||
{% capture seen_tags %}{{ seen_tags | append:req }}{% endcapture %}
|
||||
{% for t in types %}
|
||||
{% assign rs = site.data.rules[t] | sort: "label" %}
|
||||
{% for r in rs %}
|
||||
{% if r.tag == req %}
|
||||
<dd class="license-{{t}}"><span class="license-sprite"></span> {{ r.description }}</dd>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</dl>
|
@ -1,5 +1,11 @@
|
||||
---
|
||||
---
|
||||
|
||||
@import "/assets/vendor/normalize-css/normalize.css";
|
||||
@import "/assets/vendor/qtip2/jquery.qtip.min.css";
|
||||
|
||||
body {
|
||||
background-image: url(../img/bg.jpg);
|
||||
background: #fafafa;
|
||||
color: #5c5855;
|
||||
font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
@ -15,17 +21,21 @@ a:hover {
|
||||
}
|
||||
|
||||
h1, h2, h3, h5 {
|
||||
color: #443a33;
|
||||
color: #444;
|
||||
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
|
||||
font-weight: 900;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 40px;
|
||||
font-size: 35px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.license h1 {
|
||||
max-width: 700px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
opacity: 0.8;
|
||||
font-size: 24px;
|
||||
@ -53,7 +63,11 @@ ol, ul { padding: 0; margin: 0; list-style-type: none; }
|
||||
th, td { text-align: left; font-weight: normal; }
|
||||
|
||||
strong {
|
||||
color: #443b34;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
:target {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
.container {
|
||||
@ -66,11 +80,11 @@ strong {
|
||||
}
|
||||
|
||||
.home h1 {
|
||||
font-size: 63px;
|
||||
font-size: 60px;
|
||||
}
|
||||
|
||||
.home h2 {
|
||||
color: #149ad4;
|
||||
color: #687072;
|
||||
font-size: 27px;
|
||||
line-height: 70px;
|
||||
margin-bottom: 45px;
|
||||
@ -79,7 +93,7 @@ strong {
|
||||
}
|
||||
|
||||
.home h2 span {
|
||||
color: #e9e6e2;
|
||||
color: #f1f1f1;
|
||||
font-size: 70px;
|
||||
padding: 0 5px;
|
||||
position: relative;
|
||||
@ -111,6 +125,10 @@ strong {
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
.situations .existing {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.situations .whatever {
|
||||
margin-top: 16px;
|
||||
}
|
||||
@ -129,17 +147,17 @@ strong {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.three-arrows { background-position: 0 0; width: 72px; height: 57px; }
|
||||
.lightbulb { background-position: 0 -57px; width: 43px; height: 72px; }
|
||||
.circular { background-position: 0 -129px; width: 72px; height: 69px; }
|
||||
.three-arrows { background-position: 0 0; width: 72px; height: 56px; }
|
||||
.community { background-position: 0 -57px; width: 72px; height: 56px; }
|
||||
.circular { background-position: 0 -115px; width: 72px; height: 68px; }
|
||||
|
||||
|
||||
.license-family {
|
||||
.license-overview {
|
||||
clear: both;
|
||||
margin-bottom: 50px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.license-family-heading {
|
||||
.license-overview-heading {
|
||||
float: left;
|
||||
width: 35%;
|
||||
}
|
||||
@ -153,25 +171,23 @@ strong {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.license-variations {
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 31px;
|
||||
padding-top: 23px;
|
||||
margin-left: -10px;
|
||||
.license-page-details {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.license-family-name {
|
||||
.license-overview-name {
|
||||
font-size: 28px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.license-family-description {
|
||||
color: #5c5855;
|
||||
.license-overview-description {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.license-rules {
|
||||
border-bottom: solid 1px #d9d7d2;
|
||||
border-bottom: solid 1px #ddd;
|
||||
font-size: 13px;
|
||||
line-height: 1.3;
|
||||
margin-bottom: 12px;
|
||||
@ -197,7 +213,7 @@ strong {
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
border-right: solid 1px #d9d7d2;
|
||||
border-right: solid 1px #ddd;
|
||||
padding-left: 0;
|
||||
width: 280px;
|
||||
}
|
||||
@ -225,7 +241,7 @@ strong {
|
||||
}
|
||||
|
||||
.license-rules li:hover {
|
||||
color: #443a33;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.license-sprite {
|
||||
@ -235,9 +251,9 @@ strong {
|
||||
}
|
||||
|
||||
.sidebar .source span { background-position: 0 0; width: 16px; height: 12px; }
|
||||
.license-forbidden span { background-position: -16px 0; width: 12px; height: 12px; }
|
||||
.license-permitted span { background-position: -28px 0; width: 12px; height: 12px; }
|
||||
.license-required span { background-position: -40px 0; width: 12px; height: 12px; }
|
||||
.license-limitations span { background-position: -16px 0; width: 12px; height: 12px; }
|
||||
.license-permissions span { background-position: -28px 0; width: 12px; height: 12px; }
|
||||
.license-conditions span { background-position: -40px 0; width: 12px; height: 12px; }
|
||||
|
||||
.license-rules-sidebar li {
|
||||
float: none;
|
||||
@ -254,8 +270,7 @@ strong {
|
||||
font-family: Consolas, Monaco, Courier, monospace;
|
||||
font-size: 14px;
|
||||
background-color: #fff;
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
border: 1px solid #e9e6e1;
|
||||
border: 1px solid #eee;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
@ -264,6 +279,10 @@ strong {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.license-nickname {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
float: right;
|
||||
width: 220px;
|
||||
@ -275,30 +294,45 @@ strong {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sidebar .how-to-apply {
|
||||
font-size: 12px;
|
||||
margin-top: -15px;
|
||||
.sidebar input#repository-url {
|
||||
width: 100%;
|
||||
padding: 5px 20px 5px 10px;
|
||||
box-sizing: border-box;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.sidebar .how-to-apply p {
|
||||
line-height: 1.5;
|
||||
.input-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sidebar .how-to-apply p:last-child {
|
||||
margin-bottom: 0;
|
||||
.input-wrapper .status-indicator {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 6px;
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
animation: none;
|
||||
border: 4px solid #ddd;
|
||||
}
|
||||
|
||||
.sidebar .note {
|
||||
font-style: italic;
|
||||
.input-wrapper .status-indicator.fetching {
|
||||
border-right-color: transparent;
|
||||
animation: rotate 0.8s infinite linear;
|
||||
}
|
||||
|
||||
.sidebar .source {
|
||||
margin-top: 4px;
|
||||
margin-bottom: 30px;
|
||||
.input-wrapper .status-indicator.error {
|
||||
border: 4px solid #c6403d;
|
||||
}
|
||||
|
||||
.sidebar .boilerplate {
|
||||
font: 0.7em "Courier new", courier;
|
||||
@keyframes rotate {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.note {
|
||||
color: #687072;
|
||||
}
|
||||
|
||||
.button {
|
||||
@ -310,18 +344,18 @@ strong {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border-color: #ceccc9 #b6b4b1 #a6a4a2 #b6b4b1;
|
||||
border-color: #ccc #bbb #aaa #bbb;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
color: #443b34;
|
||||
color: #444;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px, rgba(255, 255, 255, 0.8) 0 1px 0 0 inset;
|
||||
-moz-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px, rgba(255, 255, 255, 0.8) 0 1px 0 0 inset;
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px, rgba(255, 255, 255, 0.8) 0 1px 0 0 inset;
|
||||
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e7e5e0), color-stop(100%, #d5d3cf));
|
||||
background-image: -webkit-linear-gradient(#e7e5e0, #d5d3cf);
|
||||
background-image: -moz-linear-gradient(#e7e5e0, #d5d3cf);
|
||||
background-image: -o-linear-gradient(#e7e5e0, #d5d3cf);
|
||||
background-image: linear-gradient(#e7e5e0, #d5d3cf);
|
||||
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eee), color-stop(100%, #ddd));
|
||||
background-image: -webkit-linear-gradient(#eee, #ddd);
|
||||
background-image: -moz-linear-gradient(#eee, #ddd);
|
||||
background-image: -o-linear-gradient(#eee, #ddd);
|
||||
background-image: linear-gradient(#eee, #ddd);
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
@ -332,11 +366,11 @@ strong {
|
||||
|
||||
.button:hover {
|
||||
text-decoration: none;
|
||||
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e7e5e0), color-stop(100%, #d0ceca));
|
||||
background-image: -webkit-linear-gradient(#e7e5e0, #d0ceca);
|
||||
background-image: -moz-linear-gradient(#e7e5e0, #d0ceca);
|
||||
background-image: -o-linear-gradient(#e7e5e0, #d0ceca);
|
||||
background-image: linear-gradient(#e7e5e0, #d0ceca);
|
||||
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eee), color-stop(100%, #ccc));
|
||||
background-image: -webkit-linear-gradient(#eee, #ccc);
|
||||
background-image: -moz-linear-gradient(#eee, #ccc);
|
||||
background-image: -o-linear-gradient(#eee, #ccc);
|
||||
background-image: linear-gradient(#eee, #ccc);
|
||||
}
|
||||
|
||||
.projects-with-license li {
|
||||
@ -344,17 +378,17 @@ strong {
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
border-top: 1px solid #e9e6e1;
|
||||
border-top: 1px solid #eee;
|
||||
margin-top: 30px;
|
||||
padding-top: 20px;
|
||||
color: #5c5855;
|
||||
color: #555;
|
||||
font-size: 12px;
|
||||
text-align: left;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.site-footer a {
|
||||
color: #443a33;
|
||||
color: #444;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@ -380,30 +414,6 @@ strong {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
.nav-pills > li {
|
||||
float: left;
|
||||
display: block;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.nav-pills > li > a {
|
||||
padding: 5px 10px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.nav-pills > li.active > a {
|
||||
background-color: #149ad4;
|
||||
color: #f7f4ef;
|
||||
}
|
||||
|
||||
.variation-tab {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.variation-tab.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.small {
|
||||
font-size: 90%;
|
||||
}
|
||||
@ -411,42 +421,48 @@ strong {
|
||||
|
||||
/* Qtip styles */
|
||||
|
||||
.qtip-required,
|
||||
.qtip-permitted,
|
||||
.qtip-forbidden {
|
||||
.qtip-conditions,
|
||||
.qtip-permissions,
|
||||
.qtip-limitations,
|
||||
.qtip-fetching,
|
||||
.qtip-error {
|
||||
font-size: 12px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.qtip-required {
|
||||
.qtip-conditions {
|
||||
background-color: #d0ebf6;
|
||||
border-color: #149ad4;
|
||||
color: #0d648a;
|
||||
}
|
||||
|
||||
.qtip-required .qtip-titlebar {
|
||||
.qtip-conditions .qtip-titlebar {
|
||||
background-color: #149ad4;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.qtip-permitted {
|
||||
.qtip-fetching,
|
||||
.qtip-permissions {
|
||||
background-color: #d8f4d7;
|
||||
border-color: #3dc637;
|
||||
color: #298625;
|
||||
}
|
||||
|
||||
.qtip-permitted .qtip-titlebar {
|
||||
.qtip-fetching .qtip-titlebar,
|
||||
.qtip-permissions .qtip-titlebar {
|
||||
background-color: #3dc637;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.qtip-forbidden {
|
||||
.qtip-error,
|
||||
.qtip-limitations {
|
||||
background-color: #f4d9d8;
|
||||
border-color: #c6403d;
|
||||
color: #812a28;
|
||||
}
|
||||
|
||||
.qtip-forbidden .qtip-titlebar {
|
||||
.qtip-error .qtip-titlebar,
|
||||
.qtip-limitations .qtip-titlebar {
|
||||
background-color: #c6403d;
|
||||
color: #fff;
|
||||
}
|
||||
@ -469,12 +485,12 @@ strong {
|
||||
only screen and (-o-min-device-pixel-ratio: 200/100),
|
||||
only screen and (min-device-pixel-ratio: 2.0) {
|
||||
.three-arrows,
|
||||
.lightbulb,
|
||||
.community,
|
||||
.circular {
|
||||
background-image: url(../img/home-sprite@2x.png);
|
||||
-webkit-background-size: 72px 198px;
|
||||
-moz-background-size: 72px 198px;
|
||||
background-size: 72px 198px;
|
||||
-webkit-background-size: 72px 182px;
|
||||
-moz-background-size: 72px 182px;
|
||||
background-size: 72px 182px;
|
||||
}
|
||||
|
||||
.license-sprite {
|
||||
@ -485,3 +501,5 @@ strong {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
{% include css/responsive.css %}
|
Binary file not shown.
Before Width: | Height: | Size: 9.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 2.8 KiB |
181
assets/js/app.coffee
Normal file
181
assets/js/app.coffee
Normal file
@ -0,0 +1,181 @@
|
||||
---
|
||||
---
|
||||
|
||||
class Choosealicense
|
||||
# Selects the content of a given element
|
||||
selectText: (element) ->
|
||||
if document.body.createTextRange
|
||||
range = document.body.createTextRange()
|
||||
range.moveToElementText(element)
|
||||
range.select()
|
||||
else if window.getSelection
|
||||
selection = window.getSelection()
|
||||
range = document.createRange()
|
||||
|
||||
range.selectNodeContents(element)
|
||||
selection.removeAllRanges()
|
||||
selection.addRange(range)
|
||||
|
||||
# Qtip position attributes for tooltips
|
||||
qtip_position:
|
||||
my: "top center"
|
||||
at: "bottom center"
|
||||
|
||||
# Annotation rule types as defined in `_config.yml`
|
||||
ruletypes:
|
||||
permissions: "Permission"
|
||||
conditions: "Condition"
|
||||
limitations: "Limitation"
|
||||
|
||||
# fire on document.ready
|
||||
constructor: ->
|
||||
@initTooltips()
|
||||
@initClipboard()
|
||||
@initLicenseSuggestion()
|
||||
|
||||
# Init tooltip action
|
||||
initTooltips: ->
|
||||
|
||||
# Dynamically add annotations as title attribute to rule list items
|
||||
for ruletype, rules of window.annotations
|
||||
for rule in rules
|
||||
$(".license-#{ruletype} .#{rule["tag"]}").attr "title", rule["description"]
|
||||
|
||||
# Init tooltips on all rule list items
|
||||
for ruletype, label of @ruletypes
|
||||
$(".license-#{ruletype} li, .license-#{ruletype} .license-sprite").qtip
|
||||
content:
|
||||
text: false
|
||||
title:
|
||||
text: label
|
||||
position: @qtip_position
|
||||
style:
|
||||
classes: "qtip-shadow qtip-#{ruletype}"
|
||||
|
||||
false
|
||||
|
||||
# Initializes Clipboard.js
|
||||
initClipboard: ->
|
||||
# Backup the clipboard button's original text.
|
||||
$(".js-clipboard-button").data "clipboard-prompt", $(".js-clipboard-button").text()
|
||||
|
||||
# Hook up copy to clipboard buttons
|
||||
clip = new Clipboard ".js-clipboard-button"
|
||||
clip.on "mouseout", @clipboardMouseout
|
||||
clip.on "complete", @clipboardComplete
|
||||
|
||||
# Callback to restore the clipboard button's original text
|
||||
clipboardMouseout: (client, args) ->
|
||||
@textContent = $(this).data("clipboard-prompt")
|
||||
|
||||
# Post-copy user feedback callback
|
||||
clipboardComplete: (client, args) ->
|
||||
@textContent = "Copied!"
|
||||
|
||||
# Initializes the repository suggestion feature
|
||||
initLicenseSuggestion: ->
|
||||
inputEl = $("#repository-url")
|
||||
licenseId = inputEl.attr("data-license-id")
|
||||
statusIndicator = $(".status-indicator")
|
||||
new LicenseSuggestion(inputEl, licenseId, statusIndicator)
|
||||
|
||||
class LicenseSuggestion
|
||||
constructor: (@inputEl, @licenseId, @statusIndicator) ->
|
||||
@setupTooltips()
|
||||
@bindEventHandlers()
|
||||
|
||||
# Initializes tooltips on the input element
|
||||
setupTooltips: =>
|
||||
@inputEl.qtip
|
||||
content:
|
||||
text: false
|
||||
title:
|
||||
text: "message"
|
||||
show: false
|
||||
hide: false
|
||||
position:
|
||||
my: "top center"
|
||||
at: "bottom center"
|
||||
style:
|
||||
classes: "qtip-shadow"
|
||||
|
||||
# Main event handlers for user input
|
||||
bindEventHandlers: =>
|
||||
@inputEl.on "input", (event) =>
|
||||
@setStatus ""
|
||||
.on "keyup", (event) =>
|
||||
if event.keyCode == 13 and event.target.value
|
||||
# Validate the user input first
|
||||
try
|
||||
repositoryFullName = @parseUserInput event.target.value
|
||||
catch
|
||||
@setStatus "Error", "Invalid URL."
|
||||
return
|
||||
|
||||
@setStatus "Fetching"
|
||||
@fetchInfoFromGithubAPI repositoryFullName, (err, repositoryInfo=null) =>
|
||||
if (err)
|
||||
@setStatus "Error", err.message
|
||||
return
|
||||
if repositoryInfo.license # The repository already has a license
|
||||
license = repositoryInfo.license
|
||||
@setStatus "Error", @repositoryLicense repositoryFullName, license
|
||||
else # The repository is not licensed
|
||||
licenseUrl = encodeURIComponent "https://github.com/#{repositoryFullName}/community/license/new?template=#{@licenseId}"
|
||||
# Provide the chance to the user log-in, since the URL to suggest a license is restricted
|
||||
window.location.href = "https://github.com/login?return_to=#{licenseUrl}"
|
||||
@setStatus ""
|
||||
@inputEl.val("")
|
||||
|
||||
# Try to extract the repository full name from the user input
|
||||
parseUserInput: (userInput) ->
|
||||
repository = /https?:\/\/github\.com\/(.*?)\/(.+)(\.git)?$/.exec userInput
|
||||
[_, username, project] = repository
|
||||
project = project
|
||||
.split /\/|\.git/
|
||||
.filter (str) -> str
|
||||
.slice 0, 1
|
||||
.join ""
|
||||
return username + '/' + project
|
||||
|
||||
# Displays an indicator and tooltips to the user about the current status
|
||||
setStatus: (status="", message="") =>
|
||||
statusClass = status.toLowerCase()
|
||||
displayQtip = (status, message) =>
|
||||
@inputEl.qtip("api")
|
||||
.set("content.text", message)
|
||||
.set("content.title", status)
|
||||
.set("style.classes", "qtip-shadow qtip-#{statusClass}")
|
||||
.show()
|
||||
|
||||
switch status
|
||||
when "Fetching"
|
||||
@statusIndicator.removeClass('error').addClass(statusClass)
|
||||
when "Error"
|
||||
@statusIndicator.removeClass('fetching').addClass(statusClass)
|
||||
displayQtip status, message
|
||||
else
|
||||
@inputEl.qtip("api").hide()
|
||||
@statusIndicator.removeClass('fetching error')
|
||||
|
||||
# Fetches information about a repository from the Github API
|
||||
fetchInfoFromGithubAPI: (repositoryFullName, callback) ->
|
||||
$.getJSON "https://api.github.com/repos/"+repositoryFullName, (info) ->
|
||||
callback null, info
|
||||
.fail (e) ->
|
||||
if e.status == 404
|
||||
callback new Error "Repository <b>#{repositoryFullName}</b> not found."
|
||||
else
|
||||
callback new Error "Network error when trying to get information about <b>#{repositoryFullName}</b>."
|
||||
|
||||
# Generates a message showing that a repository is already licensed
|
||||
repositoryLicense: (repositoryFullName, license) ->
|
||||
foundLicense = window.licenses.find (lic) -> lic.spdx_id == license.spdx_id
|
||||
if foundLicense # Links the license to its page on this site
|
||||
"The repository <b> #{repositoryFullName}</b> is already licensed under the
|
||||
<a href='/licenses/#{foundLicense.spdx_id.toLowerCase()}'><b>#{foundLicense.title}</b></a>."
|
||||
else
|
||||
"The repository <b> #{repositoryFullName}</b> is already licensed."
|
||||
|
||||
$ ->
|
||||
new Choosealicense()
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
layout: nil
|
||||
---
|
||||
|
||||
{% include js/annotations.js %}
|
||||
{% include js/app.js %}
|
31
assets/vendor/clipboard/.bower.json
vendored
Normal file
31
assets/vendor/clipboard/.bower.json
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
"name": "clipboard",
|
||||
"version": "1.4.3",
|
||||
"description": "Modern copy to clipboard. No Flash. Just 2kb",
|
||||
"license": "MIT",
|
||||
"main": "dist/clipboard.js",
|
||||
"ignore": [
|
||||
"/.*/",
|
||||
"/example/",
|
||||
"/test/",
|
||||
"/.*",
|
||||
"/bower.json",
|
||||
"/karma.conf.js"
|
||||
],
|
||||
"keywords": [
|
||||
"clipboard",
|
||||
"copy",
|
||||
"cut"
|
||||
],
|
||||
"homepage": "https://github.com/zenorocha/clipboard.js",
|
||||
"_release": "1.4.3",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.4.3",
|
||||
"commit": "705e2dbefdf40911ee2fe266a514b982d3edd0b6"
|
||||
},
|
||||
"_source": "git://github.com/zenorocha/clipboard.js.git",
|
||||
"_target": "~1.4.3",
|
||||
"_originalSource": "clipboard",
|
||||
"_direct": true
|
||||
}
|
20
assets/vendor/clipboard/bower.json
vendored
Normal file
20
assets/vendor/clipboard/bower.json
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "clipboard",
|
||||
"version": "1.4.3",
|
||||
"description": "Modern copy to clipboard. No Flash. Just 2kb",
|
||||
"license": "MIT",
|
||||
"main": "dist/clipboard.js",
|
||||
"ignore": [
|
||||
"/.*/",
|
||||
"/example/",
|
||||
"/test/",
|
||||
"/.*",
|
||||
"/bower.json",
|
||||
"/karma.conf.js"
|
||||
],
|
||||
"keywords": [
|
||||
"clipboard",
|
||||
"copy",
|
||||
"cut"
|
||||
]
|
||||
}
|
28
assets/vendor/clipboard/contributing.md
vendored
Normal file
28
assets/vendor/clipboard/contributing.md
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
# Contributing guide
|
||||
|
||||
Want to contribute to Clipboard.js? Awesome!
|
||||
There are many ways you can contribute, see below.
|
||||
|
||||
## Opening issues
|
||||
|
||||
Open an issue to report bugs or to propose new features.
|
||||
|
||||
- Reporting bugs: describe the bug as clearly as you can, including steps to reproduce, what happened and what you were expecting to happen. Also include browser version, OS and other related software's (npm, Node.js, etc) versions when applicable.
|
||||
|
||||
- Proposing features: explain the proposed feature, what it should do, why it is useful, how users should use it. Give us as much info as possible so it will be easier to discuss, access and implement the proposed feature. When you're unsure about a certain aspect of the feature, feel free to leave it open for others to discuss and find an appropriate solution.
|
||||
|
||||
## Proposing pull requests
|
||||
|
||||
Pull requests are very welcome. Note that if you are going to propose drastic changes, be sure to open an issue for discussion first, to make sure that your PR will be accepted before you spend effort coding it.
|
||||
|
||||
Fork the Clipboard.js repository, clone it locally and create a branch for your proposed bug fix or new feature. Avoid working directly on the master branch.
|
||||
|
||||
Implement your bug fix or feature, write tests to cover it and make sure all tests are passing (run a final `npm test` to make sure everything is correct). Then commit your changes, push your bug fix/feature branch to the origin (your forked repo) and open a pull request to the upstream (the repository you originally forked)'s master branch.
|
||||
|
||||
## Documentation
|
||||
|
||||
Documentation is extremely important and takes a fair deal of time and effort to write and keep updated. Please submit any and all improvements you can make to the repository's docs.
|
||||
|
||||
## Known issues
|
||||
If you're using npm@3 you'll probably face some issues related to peerDependencies.
|
||||
https://github.com/npm/npm/issues/9204
|
587
assets/vendor/clipboard/dist/clipboard.js
vendored
Normal file
587
assets/vendor/clipboard/dist/clipboard.js
vendored
Normal file
@ -0,0 +1,587 @@
|
||||
/*!
|
||||
* clipboard.js v1.4.3
|
||||
* https://zenorocha.github.io/clipboard.js
|
||||
*
|
||||
* Licensed MIT © Zeno Rocha
|
||||
*/
|
||||
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Clipboard = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
||||
var matches = require('matches-selector')
|
||||
|
||||
module.exports = function (element, selector, checkYoSelf) {
|
||||
var parent = checkYoSelf ? element : element.parentNode
|
||||
|
||||
while (parent && parent !== document) {
|
||||
if (matches(parent, selector)) return parent;
|
||||
parent = parent.parentNode
|
||||
}
|
||||
}
|
||||
|
||||
},{"matches-selector":2}],2:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Element prototype.
|
||||
*/
|
||||
|
||||
var proto = Element.prototype;
|
||||
|
||||
/**
|
||||
* Vendor function.
|
||||
*/
|
||||
|
||||
var vendor = proto.matchesSelector
|
||||
|| proto.webkitMatchesSelector
|
||||
|| proto.mozMatchesSelector
|
||||
|| proto.msMatchesSelector
|
||||
|| proto.oMatchesSelector;
|
||||
|
||||
/**
|
||||
* Expose `match()`.
|
||||
*/
|
||||
|
||||
module.exports = match;
|
||||
|
||||
/**
|
||||
* Match `el` to `selector`.
|
||||
*
|
||||
* @param {Element} el
|
||||
* @param {String} selector
|
||||
* @return {Boolean}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
function match(el, selector) {
|
||||
if (vendor) return vendor.call(el, selector);
|
||||
var nodes = el.parentNode.querySelectorAll(selector);
|
||||
for (var i = 0; i < nodes.length; ++i) {
|
||||
if (nodes[i] == el) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
},{}],3:[function(require,module,exports){
|
||||
var closest = require('closest');
|
||||
|
||||
/**
|
||||
* Delegate event `type` to `selector`
|
||||
* and invoke `fn(e)`. A callback function
|
||||
* is returned which may be passed to `.unbind()`.
|
||||
*
|
||||
* @param {Element} el
|
||||
* @param {String} selector
|
||||
* @param {String} type
|
||||
* @param {Function} fn
|
||||
* @param {Boolean} capture
|
||||
* @return {Function}
|
||||
*/
|
||||
|
||||
exports.bind = function(el, selector, type, fn, capture){
|
||||
return el.addEventListener(type, function(e){
|
||||
var target = e.target || e.srcElement;
|
||||
e.delegateTarget = closest(target, selector, true, el);
|
||||
if (e.delegateTarget) fn.call(el, e);
|
||||
}, capture);
|
||||
};
|
||||
|
||||
/**
|
||||
* Unbind event `type`'s callback `fn`.
|
||||
*
|
||||
* @param {Element} el
|
||||
* @param {String} type
|
||||
* @param {Function} fn
|
||||
* @param {Boolean} capture
|
||||
*/
|
||||
|
||||
exports.unbind = function(el, type, fn, capture){
|
||||
el.removeEventListener(type, fn, capture);
|
||||
};
|
||||
|
||||
},{"closest":1}],4:[function(require,module,exports){
|
||||
function select(element) {
|
||||
var selection = window.getSelection();
|
||||
|
||||
if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {
|
||||
element.selectionStart = 0;
|
||||
element.selectionEnd = element.value.length;
|
||||
}
|
||||
else {
|
||||
var range = document.createRange();
|
||||
|
||||
range.selectNodeContents(element);
|
||||
selection.removeAllRanges();
|
||||
selection.addRange(range);
|
||||
}
|
||||
|
||||
return selection.toString();
|
||||
}
|
||||
|
||||
module.exports = select;
|
||||
|
||||
},{}],5:[function(require,module,exports){
|
||||
function E () {
|
||||
// Keep this empty so it's easier to inherit from
|
||||
// (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)
|
||||
}
|
||||
|
||||
E.prototype = {
|
||||
on: function (name, callback, ctx) {
|
||||
var e = this.e || (this.e = {});
|
||||
|
||||
(e[name] || (e[name] = [])).push({
|
||||
fn: callback,
|
||||
ctx: ctx
|
||||
});
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
once: function (name, callback, ctx) {
|
||||
var self = this;
|
||||
function listener () {
|
||||
self.off(name, listener);
|
||||
callback.apply(ctx, arguments);
|
||||
};
|
||||
|
||||
listener._ = callback
|
||||
return this.on(name, listener, ctx);
|
||||
},
|
||||
|
||||
emit: function (name) {
|
||||
var data = [].slice.call(arguments, 1);
|
||||
var evtArr = ((this.e || (this.e = {}))[name] || []).slice();
|
||||
var i = 0;
|
||||
var len = evtArr.length;
|
||||
|
||||
for (i; i < len; i++) {
|
||||
evtArr[i].fn.apply(evtArr[i].ctx, data);
|
||||
}
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
off: function (name, callback) {
|
||||
var e = this.e || (this.e = {});
|
||||
var evts = e[name];
|
||||
var liveEvents = [];
|
||||
|
||||
if (evts && callback) {
|
||||
for (var i = 0, len = evts.length; i < len; i++) {
|
||||
if (evts[i].fn !== callback && evts[i].fn._ !== callback)
|
||||
liveEvents.push(evts[i]);
|
||||
}
|
||||
}
|
||||
|
||||
// Remove event from queue to prevent memory leak
|
||||
// Suggested by https://github.com/lazd
|
||||
// Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910
|
||||
|
||||
(liveEvents.length)
|
||||
? e[name] = liveEvents
|
||||
: delete e[name];
|
||||
|
||||
return this;
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = E;
|
||||
|
||||
},{}],6:[function(require,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
|
||||
|
||||
var _select = require('select');
|
||||
|
||||
var _select2 = _interopRequireDefault(_select);
|
||||
|
||||
/**
|
||||
* Inner class which performs selection from either `text` or `target`
|
||||
* properties and then executes copy or cut operations.
|
||||
*/
|
||||
|
||||
var ClipboardAction = (function () {
|
||||
/**
|
||||
* @param {Object} options
|
||||
*/
|
||||
|
||||
function ClipboardAction(options) {
|
||||
_classCallCheck(this, ClipboardAction);
|
||||
|
||||
this.resolveOptions(options);
|
||||
this.initSelection();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines base properties passed from constructor.
|
||||
* @param {Object} options
|
||||
*/
|
||||
|
||||
ClipboardAction.prototype.resolveOptions = function resolveOptions() {
|
||||
var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
|
||||
|
||||
this.action = options.action;
|
||||
this.emitter = options.emitter;
|
||||
this.target = options.target;
|
||||
this.text = options.text;
|
||||
this.trigger = options.trigger;
|
||||
|
||||
this.selectedText = '';
|
||||
};
|
||||
|
||||
/**
|
||||
* Decides which selection strategy is going to be applied based
|
||||
* on the existence of `text` and `target` properties.
|
||||
*/
|
||||
|
||||
ClipboardAction.prototype.initSelection = function initSelection() {
|
||||
if (this.text && this.target) {
|
||||
throw new Error('Multiple attributes declared, use either "target" or "text"');
|
||||
} else if (this.text) {
|
||||
this.selectFake();
|
||||
} else if (this.target) {
|
||||
this.selectTarget();
|
||||
} else {
|
||||
throw new Error('Missing required attributes, use either "target" or "text"');
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Creates a fake textarea element, sets its value from `text` property,
|
||||
* and makes a selection on it.
|
||||
*/
|
||||
|
||||
ClipboardAction.prototype.selectFake = function selectFake() {
|
||||
var _this = this;
|
||||
|
||||
this.removeFake();
|
||||
|
||||
this.fakeHandler = document.body.addEventListener('click', function () {
|
||||
return _this.removeFake();
|
||||
});
|
||||
|
||||
this.fakeElem = document.createElement('textarea');
|
||||
this.fakeElem.style.position = 'absolute';
|
||||
this.fakeElem.style.left = '-9999px';
|
||||
this.fakeElem.style.top = (window.pageYOffset || document.documentElement.scrollTop) + 'px';
|
||||
this.fakeElem.setAttribute('readonly', '');
|
||||
this.fakeElem.value = this.text;
|
||||
|
||||
document.body.appendChild(this.fakeElem);
|
||||
|
||||
this.selectedText = _select2['default'](this.fakeElem);
|
||||
this.copyText();
|
||||
};
|
||||
|
||||
/**
|
||||
* Only removes the fake element after another click event, that way
|
||||
* a user can hit `Ctrl+C` to copy because selection still exists.
|
||||
*/
|
||||
|
||||
ClipboardAction.prototype.removeFake = function removeFake() {
|
||||
if (this.fakeHandler) {
|
||||
document.body.removeEventListener('click');
|
||||
this.fakeHandler = null;
|
||||
}
|
||||
|
||||
if (this.fakeElem) {
|
||||
document.body.removeChild(this.fakeElem);
|
||||
this.fakeElem = null;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Selects the content from element passed on `target` property.
|
||||
*/
|
||||
|
||||
ClipboardAction.prototype.selectTarget = function selectTarget() {
|
||||
this.selectedText = _select2['default'](this.target);
|
||||
this.copyText();
|
||||
};
|
||||
|
||||
/**
|
||||
* Executes the copy operation based on the current selection.
|
||||
*/
|
||||
|
||||
ClipboardAction.prototype.copyText = function copyText() {
|
||||
var succeeded = undefined;
|
||||
|
||||
try {
|
||||
succeeded = document.execCommand(this.action);
|
||||
} catch (err) {
|
||||
succeeded = false;
|
||||
}
|
||||
|
||||
this.handleResult(succeeded);
|
||||
};
|
||||
|
||||
/**
|
||||
* Fires an event based on the copy operation result.
|
||||
* @param {Boolean} succeeded
|
||||
*/
|
||||
|
||||
ClipboardAction.prototype.handleResult = function handleResult(succeeded) {
|
||||
if (succeeded) {
|
||||
this.emitter.emit('success', {
|
||||
action: this.action,
|
||||
text: this.selectedText,
|
||||
trigger: this.trigger,
|
||||
clearSelection: this.clearSelection.bind(this)
|
||||
});
|
||||
} else {
|
||||
this.emitter.emit('error', {
|
||||
action: this.action,
|
||||
trigger: this.trigger,
|
||||
clearSelection: this.clearSelection.bind(this)
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Removes current selection and focus from `target` element.
|
||||
*/
|
||||
|
||||
ClipboardAction.prototype.clearSelection = function clearSelection() {
|
||||
if (this.target) {
|
||||
this.target.blur();
|
||||
}
|
||||
|
||||
window.getSelection().removeAllRanges();
|
||||
};
|
||||
|
||||
/**
|
||||
* Sets the `action` to be performed which can be either 'copy' or 'cut'.
|
||||
* @param {String} action
|
||||
*/
|
||||
|
||||
/**
|
||||
* Destroy lifecycle.
|
||||
*/
|
||||
|
||||
ClipboardAction.prototype.destroy = function destroy() {
|
||||
this.removeFake();
|
||||
};
|
||||
|
||||
_createClass(ClipboardAction, [{
|
||||
key: 'action',
|
||||
set: function set() {
|
||||
var action = arguments.length <= 0 || arguments[0] === undefined ? 'copy' : arguments[0];
|
||||
|
||||
this._action = action;
|
||||
|
||||
if (this._action !== 'copy' && this._action !== 'cut') {
|
||||
throw new Error('Invalid "action" value, use either "copy" or "cut"');
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Gets the `action` property.
|
||||
* @return {String}
|
||||
*/
|
||||
get: function get() {
|
||||
return this._action;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the `target` property using an element
|
||||
* that will be have its content copied.
|
||||
* @param {Element} target
|
||||
*/
|
||||
}, {
|
||||
key: 'target',
|
||||
set: function set(target) {
|
||||
if (target !== undefined) {
|
||||
if (target && typeof target === 'object' && target.nodeType === 1) {
|
||||
this._target = target;
|
||||
} else {
|
||||
throw new Error('Invalid "target" value, use a valid Element');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Gets the `target` property.
|
||||
* @return {String|HTMLElement}
|
||||
*/
|
||||
get: function get() {
|
||||
return this._target;
|
||||
}
|
||||
}]);
|
||||
|
||||
return ClipboardAction;
|
||||
})();
|
||||
|
||||
exports['default'] = ClipboardAction;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"select":4}],7:[function(require,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
||||
|
||||
var _clipboardAction = require('./clipboard-action');
|
||||
|
||||
var _clipboardAction2 = _interopRequireDefault(_clipboardAction);
|
||||
|
||||
var _delegate = require('delegate');
|
||||
|
||||
var _delegate2 = _interopRequireDefault(_delegate);
|
||||
|
||||
var _tinyEmitter = require('tiny-emitter');
|
||||
|
||||
var _tinyEmitter2 = _interopRequireDefault(_tinyEmitter);
|
||||
|
||||
/**
|
||||
* Base class which takes a selector, delegates a click event to it,
|
||||
* and instantiates a new `ClipboardAction` on each click.
|
||||
*/
|
||||
|
||||
var Clipboard = (function (_Emitter) {
|
||||
_inherits(Clipboard, _Emitter);
|
||||
|
||||
/**
|
||||
* @param {String} selector
|
||||
* @param {Object} options
|
||||
*/
|
||||
|
||||
function Clipboard(selector, options) {
|
||||
_classCallCheck(this, Clipboard);
|
||||
|
||||
_Emitter.call(this);
|
||||
|
||||
this.resolveOptions(options);
|
||||
this.delegateClick(selector);
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper function to retrieve attribute value.
|
||||
* @param {String} suffix
|
||||
* @param {Element} element
|
||||
*/
|
||||
|
||||
/**
|
||||
* Defines if attributes would be resolved using internal setter functions
|
||||
* or custom functions that were passed in the constructor.
|
||||
* @param {Object} options
|
||||
*/
|
||||
|
||||
Clipboard.prototype.resolveOptions = function resolveOptions() {
|
||||
var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
|
||||
|
||||
this.action = typeof options.action === 'function' ? options.action : this.defaultAction;
|
||||
this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;
|
||||
this.text = typeof options.text === 'function' ? options.text : this.defaultText;
|
||||
};
|
||||
|
||||
/**
|
||||
* Delegates a click event on the passed selector.
|
||||
* @param {String} selector
|
||||
*/
|
||||
|
||||
Clipboard.prototype.delegateClick = function delegateClick(selector) {
|
||||
var _this = this;
|
||||
|
||||
this.binding = _delegate2['default'].bind(document.body, selector, 'click', function (e) {
|
||||
return _this.onClick(e);
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Undelegates a click event on body.
|
||||
* @param {String} selector
|
||||
*/
|
||||
|
||||
Clipboard.prototype.undelegateClick = function undelegateClick() {
|
||||
_delegate2['default'].unbind(document.body, 'click', this.binding);
|
||||
};
|
||||
|
||||
/**
|
||||
* Defines a new `ClipboardAction` on each click event.
|
||||
* @param {Event} e
|
||||
*/
|
||||
|
||||
Clipboard.prototype.onClick = function onClick(e) {
|
||||
if (this.clipboardAction) {
|
||||
this.clipboardAction = null;
|
||||
}
|
||||
|
||||
this.clipboardAction = new _clipboardAction2['default']({
|
||||
action: this.action(e.delegateTarget),
|
||||
target: this.target(e.delegateTarget),
|
||||
text: this.text(e.delegateTarget),
|
||||
trigger: e.delegateTarget,
|
||||
emitter: this
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Default `action` lookup function.
|
||||
* @param {Element} trigger
|
||||
*/
|
||||
|
||||
Clipboard.prototype.defaultAction = function defaultAction(trigger) {
|
||||
return getAttributeValue('action', trigger);
|
||||
};
|
||||
|
||||
/**
|
||||
* Default `target` lookup function.
|
||||
* @param {Element} trigger
|
||||
*/
|
||||
|
||||
Clipboard.prototype.defaultTarget = function defaultTarget(trigger) {
|
||||
var selector = getAttributeValue('target', trigger);
|
||||
|
||||
if (selector) {
|
||||
return document.querySelector(selector);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Default `text` lookup function.
|
||||
* @param {Element} trigger
|
||||
*/
|
||||
|
||||
Clipboard.prototype.defaultText = function defaultText(trigger) {
|
||||
return getAttributeValue('text', trigger);
|
||||
};
|
||||
|
||||
/**
|
||||
* Destroy lifecycle.
|
||||
*/
|
||||
|
||||
Clipboard.prototype.destroy = function destroy() {
|
||||
this.undelegateClick();
|
||||
|
||||
if (this.clipboardAction) {
|
||||
this.clipboardAction.destroy();
|
||||
this.clipboardAction = null;
|
||||
}
|
||||
};
|
||||
|
||||
return Clipboard;
|
||||
})(_tinyEmitter2['default']);
|
||||
|
||||
function getAttributeValue(suffix, element) {
|
||||
var attribute = 'data-clipboard-' + suffix;
|
||||
|
||||
if (!element.hasAttribute(attribute)) {
|
||||
return;
|
||||
}
|
||||
|
||||
return element.getAttribute(attribute);
|
||||
}
|
||||
|
||||
exports['default'] = Clipboard;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./clipboard-action":6,"delegate":3,"tiny-emitter":5}]},{},[7])(7)
|
||||
});
|
7
assets/vendor/clipboard/dist/clipboard.min.js
vendored
Normal file
7
assets/vendor/clipboard/dist/clipboard.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
12
assets/vendor/clipboard/package.js
vendored
Normal file
12
assets/vendor/clipboard/package.js
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
// Package metadata for Meteor.js.
|
||||
|
||||
Package.describe({
|
||||
name: "zenorocha:clipboard",
|
||||
summary: "Modern copy to clipboard. No Flash. Just 2kb.",
|
||||
version: "1.4.2",
|
||||
git: "https://github.com/zenorocha/clipboard.js"
|
||||
});
|
||||
|
||||
Package.onUse(function(api) {
|
||||
api.addFiles("dist/clipboard.min.js", "client");
|
||||
});
|
53
assets/vendor/clipboard/package.json
vendored
Normal file
53
assets/vendor/clipboard/package.json
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
"name": "clipboard",
|
||||
"version": "1.4.3",
|
||||
"description": "Modern copy to clipboard. No Flash. Just 2kb",
|
||||
"repository": "zenorocha/clipboard.js",
|
||||
"license": "MIT",
|
||||
"main": "dist/clipboard.js",
|
||||
"browser": "src/clipboard.js",
|
||||
"browserify": {
|
||||
"transform": [
|
||||
[
|
||||
"babelify",
|
||||
{
|
||||
"loose": "all"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
"clipboard",
|
||||
"copy",
|
||||
"cut"
|
||||
],
|
||||
"dependencies": {
|
||||
"babelify": "^6.3.0",
|
||||
"browserify": "^11.2.0",
|
||||
"delegate": "^1.0.0",
|
||||
"select": "^1.0.0",
|
||||
"tiny-emitter": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"karma": "^0.13.10",
|
||||
"karma-browserify": "^4.4.0",
|
||||
"karma-chai": "^0.1.0",
|
||||
"karma-mocha": "^0.2.0",
|
||||
"karma-phantomjs-launcher": "^0.2.1",
|
||||
"karma-sinon": "^1.0.4",
|
||||
"mocha": "^2.3.3",
|
||||
"phantomjs-polyfill": "0.0.1",
|
||||
"uglify-js": "^2.4.24",
|
||||
"watchify": "^3.4.0",
|
||||
"bannerify": "Vekat/bannerify#feature-option"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build-debug && npm run build-min",
|
||||
"build-debug": "browserify src/clipboard.js -s Clipboard -p [bannerify --file .banner ] -o dist/clipboard.js",
|
||||
"build-min": "uglifyjs dist/clipboard.js --comments '/!/' -m screw_ie8=true -c screw_ie8=true,unused=false -o dist/clipboard.min.js",
|
||||
"build-watch": "watchify src/clipboard.js -s Clipboard -o dist/clipboard.js -v",
|
||||
"test": "npm run test-browser && npm run test-server",
|
||||
"test-browser": "karma start --single-run",
|
||||
"test-server": "mocha test/module-systems.js"
|
||||
}
|
||||
}
|
183
assets/vendor/clipboard/readme.md
vendored
Normal file
183
assets/vendor/clipboard/readme.md
vendored
Normal file
@ -0,0 +1,183 @@
|
||||
# clipboard.js
|
||||
|
||||
[![Build Status](http://img.shields.io/travis/zenorocha/clipboard.js/master.svg?style=flat)](https://travis-ci.org/zenorocha/clipboard.js)
|
||||
![Killing Flash](https://img.shields.io/badge/killing-flash-brightgreen.svg?style=flat)
|
||||
|
||||
> Modern copy to clipboard. No Flash. Just 2kb
|
||||
|
||||
<a href="http://clipboardjs.com/"><img width="728" src="https://cloud.githubusercontent.com/assets/398893/9983535/5ab0a950-5fb4-11e5-9602-e73c0b661883.jpg" alt="Demo"></a>
|
||||
|
||||
## Why
|
||||
|
||||
Copying text to the clipboard shouldn't be hard. It shouldn't require dozens of steps to configure or hundreds of KBs to load. But most of all, it shouldn't depend on Flash or any bloated framework.
|
||||
|
||||
That's why clipboard.js exists.
|
||||
|
||||
## Install
|
||||
|
||||
You can get it on npm.
|
||||
|
||||
```
|
||||
npm install clipboard --save
|
||||
```
|
||||
|
||||
Or bower, too.
|
||||
|
||||
```
|
||||
bower install clipboard --save
|
||||
```
|
||||
|
||||
If you're not into package management, just [download a ZIP](https://github.com/zenorocha/clipboard.js/archive/master.zip) file.
|
||||
|
||||
## Setup
|
||||
|
||||
First, include the script located on the `dist` folder.
|
||||
|
||||
```html
|
||||
<script src="dist/clipboard.min.js"></script>
|
||||
```
|
||||
|
||||
Or load it from a CDN.
|
||||
|
||||
```html
|
||||
<script src="https://cdn.rawgit.com/zenorocha/clipboard.js/master/dist/clipboard.min.js"></script>
|
||||
```
|
||||
|
||||
Now, you need to instantiate it using a DOM selector. This selector corresponds to the trigger element(s), for example `<button class="btn">`.
|
||||
|
||||
```js
|
||||
new Clipboard('.btn');
|
||||
```
|
||||
|
||||
Internally, we need to fetch all elements that matches with your selector and attach event listeners for each one. But guess what? If you have hundreds of matches, this operation can consume a lot of memory.
|
||||
|
||||
For this reason we use [event delegation](http://stackoverflow.com/questions/1687296/what-is-dom-event-delegation) which replaces multiple event listeners with just a single listener. After all, [#perfmatters](https://twitter.com/hashtag/perfmatters).
|
||||
|
||||
# Usage
|
||||
|
||||
We're living a _declarative renaissance_, that's why we decided to take advantage of [HTML5 data attributes](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes) for better usability.
|
||||
|
||||
### Copy text from another element
|
||||
|
||||
A pretty common use case is to copy content from another element. You can do that by adding a `data-clipboard-target` attribute in your trigger element.
|
||||
|
||||
The value you include on this attribute needs to match another's element selector.
|
||||
|
||||
<a href="http://clipboardjs.com/#example-target"><img width="473" alt="example-2" src="https://cloud.githubusercontent.com/assets/398893/9983467/a4946aaa-5fb1-11e5-9780-f09fcd7ca6c8.png"></a>
|
||||
|
||||
```html
|
||||
<!-- Target -->
|
||||
<input id="foo" value="https://github.com/zenorocha/clipboard.js.git">
|
||||
|
||||
<!-- Trigger -->
|
||||
<button class="btn" data-clipboard-target="#foo">
|
||||
<img src="assets/clippy.svg" alt="Copy to clipboard">
|
||||
</button>
|
||||
```
|
||||
|
||||
### Cut text from another element
|
||||
|
||||
Additionally, you can define a `data-clipboard-action` attribute to specify if you want to either `copy` or `cut` content.
|
||||
|
||||
If you omit this attribute, `copy` will be used by default.
|
||||
|
||||
<a href="http://clipboardjs.com/#example-action"><img width="473" alt="example-3" src="https://cloud.githubusercontent.com/assets/398893/10000358/7df57b9c-6050-11e5-9cd1-fbc51d2fd0a7.png"></a>
|
||||
|
||||
```html
|
||||
<!-- Target -->
|
||||
<textarea id="bar">Mussum ipsum cacilds...</textarea>
|
||||
|
||||
<!-- Trigger -->
|
||||
<button class="btn" data-clipboard-action="cut" data-clipboard-target="#bar">
|
||||
Cut to clipboard
|
||||
</button>
|
||||
```
|
||||
|
||||
As you may expect, the `cut` action only works on `<input>` or `<textarea>` elements.
|
||||
|
||||
### Copy text from attribute
|
||||
|
||||
Truth is, you don't even need another element to copy its content from. You can just include a `data-clipboard-text` attribute in your trigger element.
|
||||
|
||||
<a href="http://clipboardjs.com/#example-text"><img width="147" alt="example-1" src="https://cloud.githubusercontent.com/assets/398893/10000347/6e16cf8c-6050-11e5-9883-1c5681f9ec45.png"></a>
|
||||
|
||||
```html
|
||||
<!-- Trigger -->
|
||||
<button class="btn" data-clipboard-text="Just because you can doesn't mean you should — clipboard.js">
|
||||
Copy to clipboard
|
||||
</button>
|
||||
```
|
||||
|
||||
## Events
|
||||
|
||||
There are cases where you'd like to show some user feedback or capture what has been selected after a copy/cut operation.
|
||||
|
||||
That's why we fire custom events such as `success` and `error` for you to listen and implement your custom logic.
|
||||
|
||||
```js
|
||||
var clipboard = new Clipboard('.btn');
|
||||
|
||||
clipboard.on('success', function(e) {
|
||||
console.info('Action:', e.action);
|
||||
console.info('Text:', e.text);
|
||||
console.info('Trigger:', e.trigger);
|
||||
|
||||
e.clearSelection();
|
||||
});
|
||||
|
||||
clipboard.on('error', function(e) {
|
||||
console.error('Action:', e.action);
|
||||
console.error('Trigger:', e.trigger);
|
||||
});
|
||||
```
|
||||
|
||||
For a live demonstration, open this [site](http://clipboardjs.com/) and just your console :)
|
||||
|
||||
## Advanced Options
|
||||
|
||||
If you don't want to modify your HTML, there's a pretty handy imperative API for you to use. All you need to do is declare a function, do your thing, and return a value.
|
||||
|
||||
For instance, if you want to dynamically set a `target`, you'll need to return a Node.
|
||||
|
||||
```js
|
||||
new Clipboard('.btn', {
|
||||
target: function(trigger) {
|
||||
return trigger.nextElementSibling;
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
If you want to dynamically set a `text`, you'll return a String.
|
||||
|
||||
```js
|
||||
new Clipboard('.btn', {
|
||||
text: function(trigger) {
|
||||
return trigger.getAttribute('aria-label');
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
Also, with are working with single page apps, you may want to manage the lifecycle of the DOM more precisely. Here's how you clean up the events and objects that we create.
|
||||
|
||||
```js
|
||||
var clipboard = new Clipboard('.btn');
|
||||
clipboard.destroy();
|
||||
```
|
||||
|
||||
## Browser Support
|
||||
|
||||
This library relies on both [Selection](https://developer.mozilla.org/en-US/docs/Web/API/Selection) and [execCommand](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand) APIs. The second one is supported in the following browsers.
|
||||
|
||||
| <img src="http://clipboardjs.com/assets/images/chrome.png" width="48px" height="48px" alt="Chrome logo"> | <img src="http://clipboardjs.com/assets/images/firefox.png" width="48px" height="48px" alt="Firefox logo"> | <img src="http://clipboardjs.com/assets/images/ie.png" width="48px" height="48px" alt="Internet Explorer logo"> | <img src="http://clipboardjs.com/assets/images/opera.png" width="48px" height="48px" alt="Opera logo"> | <img src="http://clipboardjs.com/assets/images/safari.png" width="48px" height="48px" alt="Safari logo"> |
|
||||
|:---:|:---:|:---:|:---:|:---:|
|
||||
| 42+ ✔ | 41+ ✔ | 9+ ✔ | 29+ ✔ | Nope ✘ |
|
||||
|
||||
Although copy/cut operations with [execCommand](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand) aren't supported on Safari yet (including mobile), it gracefully degrades because [Selection](https://developer.mozilla.org/en-US/docs/Web/API/Selection) is supported.
|
||||
|
||||
That means you can show a tooltip saying `Copied!` when `success` event is called and `Press Ctrl+C to copy` when `error` event is called because the text is already selected.
|
||||
|
||||
For a live demonstration, open this [site](http://clipboardjs.com) on Safari.
|
||||
|
||||
## License
|
||||
|
||||
[MIT License](http://zenorocha.mit-license.org/) © Zeno Rocha
|
46
assets/vendor/zeroclipboard/.bower.json
vendored
46
assets/vendor/zeroclipboard/.bower.json
vendored
@ -1,46 +0,0 @@
|
||||
{
|
||||
"name": "zeroclipboard",
|
||||
"description": "The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.",
|
||||
"version": "1.3.2",
|
||||
"main": [
|
||||
"./ZeroClipboard.js",
|
||||
"./ZeroClipboard.swf"
|
||||
],
|
||||
"keywords": [
|
||||
"flash",
|
||||
"clipboard",
|
||||
"copy",
|
||||
"cut",
|
||||
"paste",
|
||||
"zclip",
|
||||
"clip",
|
||||
"clippy"
|
||||
],
|
||||
"license": "https://github.com/zeroclipboard/zeroclipboard/blob/master/LICENSE",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jon Rohan",
|
||||
"url": "http://jonrohan.me/"
|
||||
},
|
||||
{
|
||||
"name": "James M. Greene",
|
||||
"email": "james.m.greene@gmail.com",
|
||||
"url": "http://jamesgreene.net/"
|
||||
}
|
||||
],
|
||||
"homepage": "http://zeroclipboard.org/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zeroclipboard/zeroclipboard.git"
|
||||
},
|
||||
"location": "git://github.com/zeroclipboard/zeroclipboard.git",
|
||||
"_release": "1.3.2",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.3.2",
|
||||
"commit": "028ce9abf2f2960fd79e0fae13b3446924be0e8c"
|
||||
},
|
||||
"_source": "git://github.com/zeroclipboard/zeroclipboard.git",
|
||||
"_target": "~1.3.2",
|
||||
"_originalSource": "zeroclipboard"
|
||||
}
|
3
assets/vendor/zeroclipboard/.gitignore
vendored
3
assets/vendor/zeroclipboard/.gitignore
vendored
@ -1,3 +0,0 @@
|
||||
node_modules
|
||||
npm-debug.log
|
||||
bin/*
|
13
assets/vendor/zeroclipboard/.jshintrc
vendored
13
assets/vendor/zeroclipboard/.jshintrc
vendored
@ -1,13 +0,0 @@
|
||||
{
|
||||
"boss": true,
|
||||
"browser": true,
|
||||
"camelcase": true,
|
||||
"eqeqeq": true,
|
||||
"eqnull": true,
|
||||
"es3": true,
|
||||
"es5": false,
|
||||
"indent": 2,
|
||||
"multistr": true,
|
||||
"strict": false,
|
||||
"trailing": true
|
||||
}
|
3
assets/vendor/zeroclipboard/.npmignore
vendored
3
assets/vendor/zeroclipboard/.npmignore
vendored
@ -1,3 +0,0 @@
|
||||
docs/
|
||||
test/
|
||||
.DS_Store
|
5
assets/vendor/zeroclipboard/.travis.yml
vendored
5
assets/vendor/zeroclipboard/.travis.yml
vendored
@ -1,5 +0,0 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "0.10"
|
||||
before_script:
|
||||
- npm install -g grunt-cli
|
25
assets/vendor/zeroclipboard/CONTRIBUTING.md
vendored
25
assets/vendor/zeroclipboard/CONTRIBUTING.md
vendored
@ -1,25 +0,0 @@
|
||||
Contributing
|
||||
==============
|
||||
|
||||
If you find an issue, submitting a pull request is always better than a bug report! Please fork and submit your code fixes.
|
||||
|
||||
If you want to build some new features, we have a [roadmap.md](docs/roadmap.md) of features we want. You can add features you want there, or just code the feature and send a pull request.
|
||||
|
||||
### Cloning
|
||||
|
||||
$ git clone https://github.com/zeroclipboard/zeroclipboard.git
|
||||
$ cd zeroclipboard/
|
||||
$ npm install -g grunt-cli
|
||||
$ npm install
|
||||
$ grunt
|
||||
|
||||
|
||||
### Developing
|
||||
|
||||
$ npm install
|
||||
$ grunt
|
||||
|
||||
|
||||
### Testing
|
||||
|
||||
$ grunt test
|
176
assets/vendor/zeroclipboard/Gruntfile.js
vendored
176
assets/vendor/zeroclipboard/Gruntfile.js
vendored
@ -1,176 +0,0 @@
|
||||
/*jshint -W106 */
|
||||
/*jshint node:true */
|
||||
module.exports = function(grunt) {
|
||||
'use strict';
|
||||
|
||||
// Metadata
|
||||
var pkg = grunt.file.readJSON('package.json');
|
||||
|
||||
// Shared configuration
|
||||
var localPort = 7320; // "ZERO"
|
||||
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
// Task configuration
|
||||
jshint: {
|
||||
options: {
|
||||
jshintrc: '.jshintrc'
|
||||
},
|
||||
Gruntfile: ['Gruntfile.js'],
|
||||
js: ['src/javascript/ZeroClipboard/**/*.js'],
|
||||
test: {
|
||||
options: {
|
||||
jshintrc: 'test/.jshintrc'
|
||||
},
|
||||
src: ['test/*.js']
|
||||
}
|
||||
},
|
||||
clean: {
|
||||
src: ['ZeroClipboard.*'],
|
||||
meta: ['bower.json', 'composer.json', 'LICENSE']
|
||||
},
|
||||
concat: {
|
||||
options: {
|
||||
stripBanners: true,
|
||||
process: {
|
||||
data: pkg
|
||||
}
|
||||
},
|
||||
js: {
|
||||
src: [
|
||||
'src/meta/source-banner.tmpl',
|
||||
'src/javascript/start.js',
|
||||
'src/javascript/ZeroClipboard/state.js',
|
||||
'src/javascript/ZeroClipboard/utils.js',
|
||||
'src/javascript/ZeroClipboard/flash.js',
|
||||
'src/javascript/ZeroClipboard/client.js',
|
||||
'src/javascript/ZeroClipboard/core.js',
|
||||
'src/javascript/ZeroClipboard/dom.js',
|
||||
'src/javascript/ZeroClipboard/event.js',
|
||||
'src/javascript/ZeroClipboard/deprecated.js',
|
||||
'src/javascript/end.js'
|
||||
],
|
||||
dest: 'ZeroClipboard.js'
|
||||
}
|
||||
},
|
||||
uglify: {
|
||||
options: {
|
||||
preserveComments: 'some',
|
||||
report: 'min'
|
||||
},
|
||||
js: {
|
||||
options: {
|
||||
beautify: {
|
||||
beautify: true,
|
||||
// `indent_level` requires jshint -W106
|
||||
indent_level: 2
|
||||
},
|
||||
mangle: false,
|
||||
compress: false
|
||||
},
|
||||
src: ['ZeroClipboard.js'],
|
||||
dest: 'ZeroClipboard.js'
|
||||
},
|
||||
minjs: {
|
||||
src: ['ZeroClipboard.js'],
|
||||
dest: 'ZeroClipboard.min.js'
|
||||
}
|
||||
},
|
||||
mxmlc: {
|
||||
options: {
|
||||
rawConfig: '-static-link-runtime-shared-libraries=true'
|
||||
},
|
||||
swf: {
|
||||
files: {
|
||||
'ZeroClipboard.swf': ['src/flash/ZeroClipboard.as']
|
||||
}
|
||||
}
|
||||
},
|
||||
template: {
|
||||
options: {
|
||||
data: pkg
|
||||
},
|
||||
bower: {
|
||||
files: {
|
||||
'bower.json': ['src/meta/bower.json.tmpl']
|
||||
}
|
||||
},
|
||||
composer: {
|
||||
files: {
|
||||
'composer.json': ['src/meta/composer.json.tmpl']
|
||||
}
|
||||
},
|
||||
LICENSE: {
|
||||
files: {
|
||||
'LICENSE': ['src/meta/LICENSE.tmpl']
|
||||
}
|
||||
}
|
||||
},
|
||||
chmod: {
|
||||
options: {
|
||||
mode: '444'
|
||||
},
|
||||
src: ['ZeroClipboard.*'],
|
||||
meta: ['bower.json', 'composer.json', 'LICENSE']
|
||||
},
|
||||
connect: {
|
||||
server: {
|
||||
options: {
|
||||
port: localPort
|
||||
}
|
||||
}
|
||||
},
|
||||
qunit: {
|
||||
file: ['test/**/*.js.html'],
|
||||
http: {
|
||||
options: {
|
||||
urls: grunt.file.expand(['test/**/*.js.html']).map(function(testPage) {
|
||||
return 'http://localhost:' + localPort + '/' + testPage + '?noglobals=true';
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
options: {
|
||||
spawn: false
|
||||
},
|
||||
Gruntfile: {
|
||||
files: '<%= jshint.Gruntfile %>',
|
||||
tasks: ['jshint:Gruntfile']
|
||||
},
|
||||
js: {
|
||||
files: '<%= jshint.js %>',
|
||||
tasks: ['jshint:js', 'unittest']
|
||||
},
|
||||
test: {
|
||||
files: '<%= jshint.test %>',
|
||||
tasks: ['jshint:test', 'unittest']
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// These plugins provide necessary tasks
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-mxmlc');
|
||||
grunt.loadNpmTasks('grunt-template');
|
||||
grunt.loadNpmTasks('grunt-chmod');
|
||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||
grunt.loadNpmTasks('grunt-contrib-qunit');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
|
||||
|
||||
//
|
||||
// Task aliases and chains
|
||||
//
|
||||
|
||||
grunt.registerTask('unittest', ['connect', 'qunit']);
|
||||
grunt.registerTask('test', ['jshint', 'clean:src', 'concat', 'mxmlc', 'chmod:src', 'unittest']);
|
||||
grunt.registerTask('travis', ['test']);
|
||||
|
||||
// Default task
|
||||
grunt.registerTask('default', ['jshint', 'clean', 'concat', 'uglify', 'mxmlc', 'template', 'chmod', 'unittest']);
|
||||
|
||||
};
|
8
assets/vendor/zeroclipboard/LICENSE
vendored
8
assets/vendor/zeroclipboard/LICENSE
vendored
@ -1,8 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
Copyright (c) 2014 Jon Rohan, James M. Greene
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
71
assets/vendor/zeroclipboard/README.md
vendored
71
assets/vendor/zeroclipboard/README.md
vendored
@ -1,71 +0,0 @@
|
||||
# ZeroClipboard
|
||||
|
||||
The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible [Adobe Flash](http://en.wikipedia.org/wiki/Adobe_Flash) movie and a [JavaScript](http://en.wikipedia.org/wiki/JavaScript) interface. The "Zero" signifies that the library is invisible and the user interface is left entirely up to you.
|
||||
|
||||
|
||||
## Simple Example
|
||||
|
||||
``` html
|
||||
<html>
|
||||
<body>
|
||||
<button id="copy-button" data-clipboard-text="Copy Me!" title="Click to copy me.">Copy to Clipboard</button>
|
||||
<script src="ZeroClipboard.js"></script>
|
||||
<script src="main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
``` js
|
||||
// main.js
|
||||
var client = new ZeroClipboard( document.getElementById("copy-button"), {
|
||||
moviePath: "/path/to/ZeroClipboard.swf"
|
||||
} );
|
||||
|
||||
client.on( "load", function(client) {
|
||||
// alert( "movie is loaded" );
|
||||
|
||||
client.on( "complete", function(client, args) {
|
||||
// `this` is the element that was clicked
|
||||
this.style.display = "none";
|
||||
alert("Copied text to clipboard: " + args.text );
|
||||
} );
|
||||
} );
|
||||
```
|
||||
|
||||
See the [instructions](docs/instructions.md) for more advanced options in using the library on your site.
|
||||
|
||||
Here is a working [test page](http://zeroclipboard.org/#demo) where you can try out ZeroClipboard in your browser.
|
||||
|
||||
|
||||
## Testing ZeroClipboard Locally
|
||||
|
||||
To test the page [demo page](http://zeroclipboard.org/#demo) locally, clone the [website repo](https://github.com/zeroclipboard/zeroclipboard.org).
|
||||
|
||||
|
||||
## Support
|
||||
|
||||
This library is fully compatible with Flash Player 10, which requires that the clipboard copy operation be initiated by a user click event inside the Flash movie. This is achieved by automatically floating the invisible movie on top of a [DOM](http://en.wikipedia.org/wiki/Document_Object_Model) element of your choice. Standard mouse events are even propagated out to your DOM element, so you can still have rollover and mouse down effects.
|
||||
|
||||
Works in IE7+ and all of the evergreen browsers.
|
||||
|
||||
|
||||
## Contributing
|
||||
|
||||
see [CONTRIBUTING.md](CONTRIBUTING.md)
|
||||
|
||||
|
||||
## Releases
|
||||
|
||||
Starting with version [1.1.7](https://github.com/zeroclipboard/zeroclipboard/releases/tag/v1.1.7), ZeroClipboard uses [semantic versioning](http://semver.org/).
|
||||
|
||||
see [releases](https://github.com/zeroclipboard/zeroclipboard/releases)
|
||||
|
||||
|
||||
## Roadmap
|
||||
|
||||
see [roadmap.md](docs/roadmap.md)
|
||||
|
||||
|
||||
## Last Build
|
||||
|
||||
[![Build Status](https://secure.travis-ci.org/zeroclipboard/zeroclipboard.png?branch=master)](https://travis-ci.org/zeroclipboard/zeroclipboard)
|
1010
assets/vendor/zeroclipboard/ZeroClipboard.js
vendored
1010
assets/vendor/zeroclipboard/ZeroClipboard.js
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
BIN
assets/vendor/zeroclipboard/ZeroClipboard.swf
vendored
BIN
assets/vendor/zeroclipboard/ZeroClipboard.swf
vendored
Binary file not shown.
12
assets/vendor/zeroclipboard/bower.json
vendored
12
assets/vendor/zeroclipboard/bower.json
vendored
@ -1,12 +0,0 @@
|
||||
{
|
||||
"name": "zeroclipboard",
|
||||
"description": "The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.",
|
||||
"version": "1.3.2",
|
||||
"main": ["./ZeroClipboard.js", "./ZeroClipboard.swf"],
|
||||
"keywords": ["flash","clipboard","copy","cut","paste","zclip","clip","clippy"],
|
||||
"license": "https://github.com/zeroclipboard/zeroclipboard/blob/master/LICENSE",
|
||||
"authors": [{"name":"Jon Rohan","url":"http://jonrohan.me/"},{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://jamesgreene.net/"}],
|
||||
"homepage": "http://zeroclipboard.org/",
|
||||
"repository": {"type":"git","url":"https://github.com/zeroclipboard/zeroclipboard.git"},
|
||||
"location": "git://github.com/zeroclipboard/zeroclipboard.git"
|
||||
}
|
14
assets/vendor/zeroclipboard/composer.json
vendored
14
assets/vendor/zeroclipboard/composer.json
vendored
@ -1,14 +0,0 @@
|
||||
{
|
||||
"name": "zeroclipboard/zeroclipboard",
|
||||
"description": "The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.",
|
||||
"version": "1.3.2",
|
||||
"type": "library",
|
||||
"keywords": ["flash","clipboard","copy","cut","paste","zclip","clip","clippy"],
|
||||
"license": "MIT",
|
||||
"authors": [{"name":"Jon Rohan","homepage":"http://jonrohan.me/","role":"Developer"},{"name":"James M. Greene","email":"james.m.greene@gmail.com","homepage":"http://jamesgreene.net/","role":"Developer"}],
|
||||
"homepage": "http://zeroclipboard.org/",
|
||||
"support": {
|
||||
"source": "https://github.com/zeroclipboard/zeroclipboard.git",
|
||||
"issues": "https://github.com/zeroclipboard/zeroclipboard/issues"
|
||||
}
|
||||
}
|
31
assets/vendor/zeroclipboard/index.js
vendored
31
assets/vendor/zeroclipboard/index.js
vendored
@ -1,31 +0,0 @@
|
||||
|
||||
/**
|
||||
* Module exports.
|
||||
*/
|
||||
|
||||
exports = module.exports = setup;
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
*/
|
||||
|
||||
var http = require('http');
|
||||
var send = require('send');
|
||||
var root = __dirname;
|
||||
var swf = '/ZeroClipboard.swf';
|
||||
|
||||
function setup () {
|
||||
return http.createServer(onReq);
|
||||
}
|
||||
|
||||
function onReq (req, res) {
|
||||
send(req, swf)
|
||||
.root(root)
|
||||
.on('error', onError)
|
||||
.pipe(res);
|
||||
}
|
||||
|
||||
function onError (err) {
|
||||
res.statusCode = err.status || 500;
|
||||
res.end(err.message);
|
||||
}
|
68
assets/vendor/zeroclipboard/package.json
vendored
68
assets/vendor/zeroclipboard/package.json
vendored
@ -1,68 +0,0 @@
|
||||
{
|
||||
"name": "zeroclipboard",
|
||||
"title": "ZeroClipboard",
|
||||
"version": "1.3.2",
|
||||
"description": "The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.",
|
||||
"keywords": [
|
||||
"flash",
|
||||
"clipboard",
|
||||
"copy",
|
||||
"cut",
|
||||
"paste",
|
||||
"zclip",
|
||||
"clip",
|
||||
"clippy"
|
||||
],
|
||||
"homepage": "http://zeroclipboard.org/",
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/zeroclipboard/zeroclipboard/blob/master/LICENSE"
|
||||
}
|
||||
],
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Jon Rohan",
|
||||
"url": "http://jonrohan.me/"
|
||||
},
|
||||
{
|
||||
"name": "James M. Greene",
|
||||
"email": "james.m.greene@gmail.com",
|
||||
"url": "http://jamesgreene.net/"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zeroclipboard/zeroclipboard.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/zeroclipboard/zeroclipboard/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"send": "0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"qunitjs": "~1.12.0",
|
||||
"qunit-composite": "~1.0.1",
|
||||
"grunt": "~0.4.2",
|
||||
"grunt-contrib-clean": "~0.5.0",
|
||||
"grunt-contrib-jshint": "~0.7.2",
|
||||
"grunt-contrib-connect": "~0.5.0",
|
||||
"grunt-contrib-qunit": "~0.3.0",
|
||||
"grunt-contrib-concat": "~0.3.0",
|
||||
"grunt-contrib-uglify": "~0.2.7",
|
||||
"grunt-chmod": "~1.0.3",
|
||||
"grunt-mxmlc": "~0.2.0",
|
||||
"grunt-template": "~0.2.1",
|
||||
"grunt-contrib-watch": "~0.5.3"
|
||||
},
|
||||
"main": "./ZeroClipboard.js",
|
||||
"component": {
|
||||
"scripts": {
|
||||
"zeroclipboard": "ZeroClipboard.js"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "grunt travis --verbose"
|
||||
}
|
||||
}
|
@ -9,11 +9,11 @@
|
||||
"main": "index.html",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"zeroclipboard": "~1.3.2",
|
||||
"jquery": "~1.11.0",
|
||||
"html5shiv": "~3.7.0",
|
||||
"selectivizr": "~1.0.2",
|
||||
"qtip2": "~2.2.0",
|
||||
"normalize-css": "~3.0.0"
|
||||
"normalize-css": "~3.0.0",
|
||||
"clipboard": "~1.4.3"
|
||||
}
|
||||
}
|
||||
|
24
community.md
Normal file
24
community.md
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
layout: default
|
||||
permalink: /community/
|
||||
redirect_from: /existing/
|
||||
title: Existing projects and communities
|
||||
---
|
||||
|
||||
If you're contributing to or extending an existing project, it's almost always easiest to continue using that project's license. Look for a file called `LICENSE` or `COPYING`, or a notice in the project's `README` to find out what that license is. If you can't find a license, [ask](/no-permission/#for-users).
|
||||
|
||||
Depending on how you're building on an existing project and what its license is, using the existing project's license for your own might not just be the easiest thing to do, but a condition on which your permission to build on the existing project rests: see the "same license" condition of [some licenses](/licenses/).
|
||||
|
||||
Some communities have strong preferences for particular licenses. If you want to participate in one of these, it will be easier to use the preferred license even if you're starting a brand new project with no existing dependencies. Examples:
|
||||
|
||||
{: .bullets}
|
||||
|
||||
* [Apache](https://www.apache.org/licenses/) requires [Apache License 2.0](/licenses/apache-2.0/)
|
||||
* [Cloud Native Computing Foundation](https://github.com/cncf/toc/blob/master/process/project_proposals.adoc) dictates [Apache License 2.0](/licenses/apache-2.0/) by default
|
||||
* [GNU](https://www.gnu.org/licenses/license-recommendations.html) recommends [GNU GPLv3](/licenses/gpl-3.0/) for most programs
|
||||
* [NPM packages](https://libraries.io/search?platforms=NPM) overwhelmingly use the [MIT](/licenses/mit/) or the very similar [ISC](/licenses/isc) licenses
|
||||
* [OpenBSD](https://www.openbsd.org/policy.html) prefers the [ISC License](/licenses/isc/)
|
||||
* [Rust](https://rust-lang-nursery.github.io/api-guidelines/necessities.html#crate-and-its-dependencies-have-a-permissive-license-c-permissive) crates are overwhelmingly licensed under both [MIT](/licenses/mit/) and [Apache License 2.0](/licenses/apache-2.0/)
|
||||
* [WordPress](https://wordpress.org/about/license/) plugins and themes must be [GNU GPLv2](/licenses/gpl-2.0/) (or later)
|
||||
|
||||
Communities come in all shapes and sizes, and more than one might be pertinent (e.g., [your company](https://opensource.guide/legal/#what-does-my-companys-legal-team-need-to-know)). The examples above are *very* well established. If the community you see your project as a part of doesn't have set-in-stone licensing traditions, or you don't see your project as part of any particular community, that's just fine: [make your own choice of an open source license](/).
|
51
index.html
51
index.html
@ -2,51 +2,52 @@
|
||||
layout: default
|
||||
class: home
|
||||
hide_breadcrumbs: true
|
||||
title: Choosing an OSS license doesn't need to be scary
|
||||
description: A site to provide non-judgmental guidance on choosing a license for your open source project
|
||||
title: Choose an open source license
|
||||
permalink: /
|
||||
---
|
||||
|
||||
<p>An open source license protects contributors and users. Businesses and savvy developers won’t touch a project without this protection.</p>
|
||||
|
||||
<h2>
|
||||
<span>{</span>
|
||||
Which of the following best describes your situation?
|
||||
<span>}</span>
|
||||
</h2>
|
||||
<ul class="triptych situations clearfix">
|
||||
<li class="existing">
|
||||
<a href="community/">
|
||||
<span class="triptych-sprite community"></span>
|
||||
<h3>I need to work in a community.</h3>
|
||||
</a>
|
||||
<p>
|
||||
Use the <a href="community/">license preferred by the community</a> you’re contributing to or depending on. Your project will fit right in.
|
||||
</p>
|
||||
<p>
|
||||
If you have a dependency that doesn’t have a license, ask its maintainers to <a href="no-permission/#for-users">add a license</a>.
|
||||
</p>
|
||||
</li>
|
||||
<li class="whatever">
|
||||
<a href="licenses/mit">
|
||||
<a href="licenses/mit/">
|
||||
<span class="triptych-sprite three-arrows"></span>
|
||||
<h3>I want it simple and permissive.</h3>
|
||||
</a>
|
||||
<p>
|
||||
The <a href="licenses/mit">MIT License</a> is a permissive license that is short and to the point. It lets people do anything they want with your code as long as they provide attribution back to you and don't hold you liable.
|
||||
The <a href="licenses/mit/">MIT License</a> is short and to the point. It lets people do almost anything they want with your project, including to make and distribute closed source versions.
|
||||
</p>
|
||||
<p>
|
||||
<strong>jQuery</strong> and <strong>Rails</strong> use the MIT License.
|
||||
</p>
|
||||
</li>
|
||||
<li class="patents">
|
||||
<a href="licenses/apache">
|
||||
<span class="triptych-sprite lightbulb"></span>
|
||||
<h3>I'm concerned about patents.</h3>
|
||||
</a>
|
||||
<p>
|
||||
The <a href="licenses/apache/">Apache License</a> is a permissive license similar to the MIT License, but also provides an express grant of patent rights from contributors to users.
|
||||
</p>
|
||||
<p>
|
||||
<strong>Apache</strong>, <strong>SVN</strong>, and <strong>NuGet</strong> use the Apache License.
|
||||
{% include using-sentence.html license-id="mit" %}
|
||||
</p>
|
||||
</li>
|
||||
<li class="copyleft">
|
||||
<a href="licenses/gpl-v2">
|
||||
<a href="licenses/gpl-3.0/">
|
||||
<span class="triptych-sprite circular"></span>
|
||||
<h3>I care about sharing improvements.</h3>
|
||||
</a>
|
||||
<p>
|
||||
The GPL (<a href="licenses/gpl-v2">V2</a> or <a href="licenses/gpl-v3">V3</a>) is a copyleft license that requires anyone who distributes your code or a derivative work to make the source available under the same terms. V3 is similar to V2, but further restricts use in hardware that forbids software alterations.
|
||||
The <a href="licenses/gpl-3.0/">GNU GPLv3</a> also lets people do almost anything they want with your project, <em>except</em> to distribute closed source versions.
|
||||
</p>
|
||||
<p>
|
||||
<strong>Linux</strong>, <strong>Git</strong>, and <strong>WordPress</strong> use the GPL.
|
||||
{% include using-sentence.html license-id="gpl-3.0" %}
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
@ -57,21 +58,21 @@ permalink: /
|
||||
</h2>
|
||||
<ul class="triptych see-more clearfix">
|
||||
<li>
|
||||
<h3>My content isn't code.</h3>
|
||||
<h3>My project isn’t software.</h3>
|
||||
<p>
|
||||
Check out <a href="http://creativecommons.org/choose/">Creative Commons</a>.
|
||||
<a href="non-software/">There are licenses for that</a>.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>I want more choices.</h3>
|
||||
<p>
|
||||
<a href="licenses">More licenses are available</a>.
|
||||
<a href="licenses/">More licenses are available</a>.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>I don't want to choose a license.</h3>
|
||||
<h3>I don’t want to choose a license.</h3>
|
||||
<p>
|
||||
<a href="no-license">You don't have to</a>.
|
||||
<a href="no-permission/">Here’s what happens if you don’t</a>.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -5,28 +5,15 @@ class: license-types
|
||||
title: Licenses
|
||||
---
|
||||
|
||||
<h2>Featured Licenses</h2>
|
||||
<p>Open source licenses grant permission to everyone to use, modify, and share licensed software for any purpose, subject to conditions preserving the provenance and openness of the software. The following licenses are arranged from one with the strongest of these conditions (GNU AGPLv3) to one with no conditions (Unlicense). Notice that the popular licenses featured on the <a href="/">home page</a> (GNU GPLv3 and MIT) fall within this spectrum.</p>
|
||||
<p style="font-size:small; margin-bottom: 40px">If you were looking for a reference table of all of the licenses on choosealicense.com, see the <a href="/appendix">appendix</a>.</p>
|
||||
|
||||
{% assign sorted_pages = site.pages | sort: 'path' %}
|
||||
{% include license-overview.html license-id="agpl-3.0" %}
|
||||
{% include license-overview.html license-id="gpl-3.0" %}
|
||||
{% include license-overview.html license-id="lgpl-3.0" %}
|
||||
{% include license-overview.html license-id="mpl-2.0" %}
|
||||
{% include license-overview.html license-id="apache-2.0" %}
|
||||
{% include license-overview.html license-id="mit" %}
|
||||
{% include license-overview.html license-id="unlicense" %}
|
||||
|
||||
{% for page in sorted_pages %}
|
||||
{% if page.layout == "license" %}
|
||||
{% if page.featured %}
|
||||
{% include license-overview.html %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<h2>Other licenses</h2>
|
||||
<p>
|
||||
Some communities tend to have specific licenses preferred by the
|
||||
community. For example, Perl developers often choose the Artistic License.
|
||||
</p>
|
||||
|
||||
{% for page in sorted_pages %}
|
||||
{% if page.layout == "license" %}
|
||||
{% if page.featured != true and page.hide-from-license-list != true %}
|
||||
{% include license-overview.html %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
The above licenses represent the entire spectrum of open source licenses, from highly protective to unconditional. One of these should work for most new open source projects. Many other open source licenses exist, including older versions of and close substitutes for some of the above. See the resources listed on our <a href="/about/">about page</a> if you'd like to read more.
|
||||
|
@ -1,28 +0,0 @@
|
||||
---
|
||||
comment: \
|
||||
because the for loop is being filtered by layout, the normal rindex0 check
|
||||
for the trailing comma doesn't work. Count the number of licenses and manually
|
||||
increment an index to see if we're on the true last iteration.
|
||||
---
|
||||
{% assign count = 0 %}{% for page in site.pages %}{% if page.layout == "license" %}{% assign count = count | plus: 1 %}{% endif %}{% endfor %}{% assign i = 0 %}
|
||||
[
|
||||
{% for page in site.pages %}{% if page.layout == "license" %}
|
||||
{
|
||||
"title": "{{ page.title }}",
|
||||
"permalink": "{{ page.permalink }}",
|
||||
"featured": {% if page.featured %}true{% else %}false{% endif %},
|
||||
"description": "{{ page.description | replace: '"', '\"' }}",
|
||||
"how": "{{ page.how | replace: '"', '\"' }}",
|
||||
"rules": {
|
||||
{% for category in site.rules %}
|
||||
{% assign cat = category[0] %}
|
||||
"{{ cat }}": [
|
||||
{% for rule in page[cat] %}
|
||||
"{{ rule }}"{% if forloop.rindex0 > 0 %},{% endif %}
|
||||
{% endfor %}
|
||||
]{% if forloop.rindex0 > 0 %},{% endif %}
|
||||
{% endfor %}
|
||||
}{% assign i = i | plus: 1 %}
|
||||
}{% if i < count %},{% endif %}
|
||||
{% endif %}{% endfor %}
|
||||
]
|
@ -1,390 +0,0 @@
|
||||
---
|
||||
layout: license
|
||||
title: Mozilla Public License Version 2.0
|
||||
category: Mozilla
|
||||
permalink: /licenses/mozilla/
|
||||
source: http://www.mozilla.org/MPL/2.0/
|
||||
|
||||
description: The Mozilla Public License (MPL 2.0) is maintained by the Mozilla foundation. This license attempts to be a compromise between the permissive BSD license and the reciprocal GPL license.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
||||
|
||||
required:
|
||||
- disclose-source
|
||||
- include-copyright
|
||||
|
||||
permitted:
|
||||
- commercial-use
|
||||
- modifications
|
||||
- distribution
|
||||
- sublicense
|
||||
- patent-grant
|
||||
- private-use
|
||||
|
||||
forbidden:
|
||||
- no-liability
|
||||
- trademark-use
|
||||
|
||||
---
|
||||
Mozilla Public License, version 2.0
|
||||
|
||||
1. Definitions
|
||||
|
||||
1.1. "Contributor"
|
||||
|
||||
means each individual or legal entity that creates, contributes to the
|
||||
creation of, or owns Covered Software.
|
||||
|
||||
1.2. "Contributor Version"
|
||||
|
||||
means the combination of the Contributions of others (if any) used by a
|
||||
Contributor and that particular Contributor's Contribution.
|
||||
|
||||
1.3. "Contribution"
|
||||
|
||||
means Covered Software of a particular Contributor.
|
||||
|
||||
1.4. "Covered Software"
|
||||
|
||||
means Source Code Form to which the initial Contributor has attached the
|
||||
notice in Exhibit A, the Executable Form of such Source Code Form, and
|
||||
Modifications of such Source Code Form, in each case including portions
|
||||
thereof.
|
||||
|
||||
1.5. "Incompatible With Secondary Licenses"
|
||||
means
|
||||
|
||||
a. that the initial Contributor has attached the notice described in
|
||||
Exhibit B to the Covered Software; or
|
||||
|
||||
b. that the Covered Software was made available under the terms of
|
||||
version 1.1 or earlier of the License, but not also under the terms of
|
||||
a Secondary License.
|
||||
|
||||
1.6. "Executable Form"
|
||||
|
||||
means any form of the work other than Source Code Form.
|
||||
|
||||
1.7. "Larger Work"
|
||||
|
||||
means a work that combines Covered Software with other material, in a
|
||||
separate file or files, that is not Covered Software.
|
||||
|
||||
1.8. "License"
|
||||
|
||||
means this document.
|
||||
|
||||
1.9. "Licensable"
|
||||
|
||||
means having the right to grant, to the maximum extent possible, whether
|
||||
at the time of the initial grant or subsequently, any and all of the
|
||||
rights conveyed by this License.
|
||||
|
||||
1.10. "Modifications"
|
||||
|
||||
means any of the following:
|
||||
|
||||
a. any file in Source Code Form that results from an addition to,
|
||||
deletion from, or modification of the contents of Covered Software; or
|
||||
|
||||
b. any new file in Source Code Form that contains any Covered Software.
|
||||
|
||||
1.11. "Patent Claims" of a Contributor
|
||||
|
||||
means any patent claim(s), including without limitation, method,
|
||||
process, and apparatus claims, in any patent Licensable by such
|
||||
Contributor that would be infringed, but for the grant of the License,
|
||||
by the making, using, selling, offering for sale, having made, import,
|
||||
or transfer of either its Contributions or its Contributor Version.
|
||||
|
||||
1.12. "Secondary License"
|
||||
|
||||
means either the GNU General Public License, Version 2.0, the GNU Lesser
|
||||
General Public License, Version 2.1, the GNU Affero General Public
|
||||
License, Version 3.0, or any later versions of those licenses.
|
||||
|
||||
1.13. "Source Code Form"
|
||||
|
||||
means the form of the work preferred for making modifications.
|
||||
|
||||
1.14. "You" (or "Your")
|
||||
|
||||
means an individual or a legal entity exercising rights under this
|
||||
License. For legal entities, "You" includes any entity that controls, is
|
||||
controlled by, or is under common control with You. For purposes of this
|
||||
definition, "control" means (a) the power, direct or indirect, to cause
|
||||
the direction or management of such entity, whether by contract or
|
||||
otherwise, or (b) ownership of more than fifty percent (50%) of the
|
||||
outstanding shares or beneficial ownership of such entity.
|
||||
|
||||
|
||||
2. License Grants and Conditions
|
||||
|
||||
2.1. Grants
|
||||
|
||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
||||
non-exclusive license:
|
||||
|
||||
a. under intellectual property rights (other than patent or trademark)
|
||||
Licensable by such Contributor to use, reproduce, make available,
|
||||
modify, display, perform, distribute, and otherwise exploit its
|
||||
Contributions, either on an unmodified basis, with Modifications, or
|
||||
as part of a Larger Work; and
|
||||
|
||||
b. under Patent Claims of such Contributor to make, use, sell, offer for
|
||||
sale, have made, import, and otherwise transfer either its
|
||||
Contributions or its Contributor Version.
|
||||
|
||||
2.2. Effective Date
|
||||
|
||||
The licenses granted in Section 2.1 with respect to any Contribution
|
||||
become effective for each Contribution on the date the Contributor first
|
||||
distributes such Contribution.
|
||||
|
||||
2.3. Limitations on Grant Scope
|
||||
|
||||
The licenses granted in this Section 2 are the only rights granted under
|
||||
this License. No additional rights or licenses will be implied from the
|
||||
distribution or licensing of Covered Software under this License.
|
||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
||||
Contributor:
|
||||
|
||||
a. for any code that a Contributor has removed from Covered Software; or
|
||||
|
||||
b. for infringements caused by: (i) Your and any other third party's
|
||||
modifications of Covered Software, or (ii) the combination of its
|
||||
Contributions with other software (except as part of its Contributor
|
||||
Version); or
|
||||
|
||||
c. under Patent Claims infringed by Covered Software in the absence of
|
||||
its Contributions.
|
||||
|
||||
This License does not grant any rights in the trademarks, service marks,
|
||||
or logos of any Contributor (except as may be necessary to comply with
|
||||
the notice requirements in Section 3.4).
|
||||
|
||||
2.4. Subsequent Licenses
|
||||
|
||||
No Contributor makes additional grants as a result of Your choice to
|
||||
distribute the Covered Software under a subsequent version of this
|
||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
||||
permitted under the terms of Section 3.3).
|
||||
|
||||
2.5. Representation
|
||||
|
||||
Each Contributor represents that the Contributor believes its
|
||||
Contributions are its original creation(s) or it has sufficient rights to
|
||||
grant the rights to its Contributions conveyed by this License.
|
||||
|
||||
2.6. Fair Use
|
||||
|
||||
This License is not intended to limit any rights You have under
|
||||
applicable copyright doctrines of fair use, fair dealing, or other
|
||||
equivalents.
|
||||
|
||||
2.7. Conditions
|
||||
|
||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
|
||||
Section 2.1.
|
||||
|
||||
|
||||
3. Responsibilities
|
||||
|
||||
3.1. Distribution of Source Form
|
||||
|
||||
All distribution of Covered Software in Source Code Form, including any
|
||||
Modifications that You create or to which You contribute, must be under
|
||||
the terms of this License. You must inform recipients that the Source
|
||||
Code Form of the Covered Software is governed by the terms of this
|
||||
License, and how they can obtain a copy of this License. You may not
|
||||
attempt to alter or restrict the recipients' rights in the Source Code
|
||||
Form.
|
||||
|
||||
3.2. Distribution of Executable Form
|
||||
|
||||
If You distribute Covered Software in Executable Form then:
|
||||
|
||||
a. such Covered Software must also be made available in Source Code Form,
|
||||
as described in Section 3.1, and You must inform recipients of the
|
||||
Executable Form how they can obtain a copy of such Source Code Form by
|
||||
reasonable means in a timely manner, at a charge no more than the cost
|
||||
of distribution to the recipient; and
|
||||
|
||||
b. You may distribute such Executable Form under the terms of this
|
||||
License, or sublicense it under different terms, provided that the
|
||||
license for the Executable Form does not attempt to limit or alter the
|
||||
recipients' rights in the Source Code Form under this License.
|
||||
|
||||
3.3. Distribution of a Larger Work
|
||||
|
||||
You may create and distribute a Larger Work under terms of Your choice,
|
||||
provided that You also comply with the requirements of this License for
|
||||
the Covered Software. If the Larger Work is a combination of Covered
|
||||
Software with a work governed by one or more Secondary Licenses, and the
|
||||
Covered Software is not Incompatible With Secondary Licenses, this
|
||||
License permits You to additionally distribute such Covered Software
|
||||
under the terms of such Secondary License(s), so that the recipient of
|
||||
the Larger Work may, at their option, further distribute the Covered
|
||||
Software under the terms of either this License or such Secondary
|
||||
License(s).
|
||||
|
||||
3.4. Notices
|
||||
|
||||
You may not remove or alter the substance of any license notices
|
||||
(including copyright notices, patent notices, disclaimers of warranty, or
|
||||
limitations of liability) contained within the Source Code Form of the
|
||||
Covered Software, except that You may alter any license notices to the
|
||||
extent required to remedy known factual inaccuracies.
|
||||
|
||||
3.5. Application of Additional Terms
|
||||
|
||||
You may choose to offer, and to charge a fee for, warranty, support,
|
||||
indemnity or liability obligations to one or more recipients of Covered
|
||||
Software. However, You may do so only on Your own behalf, and not on
|
||||
behalf of any Contributor. You must make it absolutely clear that any
|
||||
such warranty, support, indemnity, or liability obligation is offered by
|
||||
You alone, and You hereby agree to indemnify every Contributor for any
|
||||
liability incurred by such Contributor as a result of warranty, support,
|
||||
indemnity or liability terms You offer. You may include additional
|
||||
disclaimers of warranty and limitations of liability specific to any
|
||||
jurisdiction.
|
||||
|
||||
4. Inability to Comply Due to Statute or Regulation
|
||||
|
||||
If it is impossible for You to comply with any of the terms of this License
|
||||
with respect to some or all of the Covered Software due to statute,
|
||||
judicial order, or regulation then You must: (a) comply with the terms of
|
||||
this License to the maximum extent possible; and (b) describe the
|
||||
limitations and the code they affect. Such description must be placed in a
|
||||
text file included with all distributions of the Covered Software under
|
||||
this License. Except to the extent prohibited by statute or regulation,
|
||||
such description must be sufficiently detailed for a recipient of ordinary
|
||||
skill to be able to understand it.
|
||||
|
||||
5. Termination
|
||||
|
||||
5.1. The rights granted under this License will terminate automatically if You
|
||||
fail to comply with any of its terms. However, if You become compliant,
|
||||
then the rights granted under this License from a particular Contributor
|
||||
are reinstated (a) provisionally, unless and until such Contributor
|
||||
explicitly and finally terminates Your grants, and (b) on an ongoing
|
||||
basis, if such Contributor fails to notify You of the non-compliance by
|
||||
some reasonable means prior to 60 days after You have come back into
|
||||
compliance. Moreover, Your grants from a particular Contributor are
|
||||
reinstated on an ongoing basis if such Contributor notifies You of the
|
||||
non-compliance by some reasonable means, this is the first time You have
|
||||
received notice of non-compliance with this License from such
|
||||
Contributor, and You become compliant prior to 30 days after Your receipt
|
||||
of the notice.
|
||||
|
||||
5.2. If You initiate litigation against any entity by asserting a patent
|
||||
infringement claim (excluding declaratory judgment actions,
|
||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
||||
directly or indirectly infringes any patent, then the rights granted to
|
||||
You by any and all Contributors for the Covered Software under Section
|
||||
2.1 of this License shall terminate.
|
||||
|
||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
|
||||
license agreements (excluding distributors and resellers) which have been
|
||||
validly granted by You or Your distributors under this License prior to
|
||||
termination shall survive termination.
|
||||
|
||||
6. Disclaimer of Warranty
|
||||
|
||||
Covered Software is provided under this License on an "as is" basis,
|
||||
without warranty of any kind, either expressed, implied, or statutory,
|
||||
including, without limitation, warranties that the Covered Software is free
|
||||
of defects, merchantable, fit for a particular purpose or non-infringing.
|
||||
The entire risk as to the quality and performance of the Covered Software
|
||||
is with You. Should any Covered Software prove defective in any respect,
|
||||
You (not any Contributor) assume the cost of any necessary servicing,
|
||||
repair, or correction. This disclaimer of warranty constitutes an essential
|
||||
part of this License. No use of any Covered Software is authorized under
|
||||
this License except under this disclaimer.
|
||||
|
||||
7. Limitation of Liability
|
||||
|
||||
Under no circumstances and under no legal theory, whether tort (including
|
||||
negligence), contract, or otherwise, shall any Contributor, or anyone who
|
||||
distributes Covered Software as permitted above, be liable to You for any
|
||||
direct, indirect, special, incidental, or consequential damages of any
|
||||
character including, without limitation, damages for lost profits, loss of
|
||||
goodwill, work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses, even if such party shall have been
|
||||
informed of the possibility of such damages. This limitation of liability
|
||||
shall not apply to liability for death or personal injury resulting from
|
||||
such party's negligence to the extent applicable law prohibits such
|
||||
limitation. Some jurisdictions do not allow the exclusion or limitation of
|
||||
incidental or consequential damages, so this exclusion and limitation may
|
||||
not apply to You.
|
||||
|
||||
8. Litigation
|
||||
|
||||
Any litigation relating to this License may be brought only in the courts
|
||||
of a jurisdiction where the defendant maintains its principal place of
|
||||
business and such litigation shall be governed by laws of that
|
||||
jurisdiction, without reference to its conflict-of-law provisions. Nothing
|
||||
in this Section shall prevent a party's ability to bring cross-claims or
|
||||
counter-claims.
|
||||
|
||||
9. Miscellaneous
|
||||
|
||||
This License represents the complete agreement concerning the subject
|
||||
matter hereof. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent
|
||||
necessary to make it enforceable. Any law or regulation which provides that
|
||||
the language of a contract shall be construed against the drafter shall not
|
||||
be used to construe this License against a Contributor.
|
||||
|
||||
|
||||
10. Versions of the License
|
||||
|
||||
10.1. New Versions
|
||||
|
||||
Mozilla Foundation is the license steward. Except as provided in Section
|
||||
10.3, no one other than the license steward has the right to modify or
|
||||
publish new versions of this License. Each version will be given a
|
||||
distinguishing version number.
|
||||
|
||||
10.2. Effect of New Versions
|
||||
|
||||
You may distribute the Covered Software under the terms of the version
|
||||
of the License under which You originally received the Covered Software,
|
||||
or under the terms of any subsequent version published by the license
|
||||
steward.
|
||||
|
||||
10.3. Modified Versions
|
||||
|
||||
If you create software not governed by this License, and you want to
|
||||
create a new license for such software, you may create and use a
|
||||
modified version of this License if you rename the license and remove
|
||||
any references to the name of the license steward (except to note that
|
||||
such modified license differs from this License).
|
||||
|
||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
||||
Licenses If You choose to distribute Source Code Form that is
|
||||
Incompatible With Secondary Licenses under the terms of this version of
|
||||
the License, the notice described in Exhibit B of this License must be
|
||||
attached.
|
||||
|
||||
Exhibit A - Source Code Form License Notice
|
||||
|
||||
This Source Code Form is subject to the
|
||||
terms of the Mozilla Public License, v.
|
||||
2.0. If a copy of the MPL was not
|
||||
distributed with this file, You can
|
||||
obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
|
||||
If it is not possible or desirable to put the notice in a particular file,
|
||||
then You may include the notice in a location (such as a LICENSE file in a
|
||||
relevant directory) where a recipient would be likely to look for such a
|
||||
notice.
|
||||
|
||||
You may add additional accurate notices of copyright ownership.
|
||||
|
||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
||||
|
||||
This Source Code Form is "Incompatible
|
||||
With Secondary Licenses", as defined by
|
||||
the Mozilla Public License, v. 2.0.
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user