Skip to content

Commit a5b66be

Browse files
authored
Merge pull request #68 from creativecommons/staging
Staging
2 parents fe80ac0 + b411ca6 commit a5b66be

File tree

100 files changed

+2498
-137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+2498
-137
lines changed

CODE_OF_CONDUCT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ project and all other Creative Commons open source projects are governed by our
88

99
For a history of updates, see the [page history here][updates].
1010

11-
[code_of_conduct]:https://creativecommons.github.io/community/code-of-conduct/
12-
[reporting_guide]:https://creativecommons.github.io/community/code-of-conduct/enforcement/
11+
[code_of_conduct]:https://opensource.creativecommons.org/community/code-of-conduct/
12+
[reporting_guide]:https://opensource.creativecommons.org/community/code-of-conduct/enforcement/
1313
[updates]:https://github.com/creativecommons/creativecommons.github.io-source/commits/master/content/community/code-of-conduct/contents.lr

LICENSE

+21-117
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,21 @@
1-
CC0 1.0 Universal
2-
3-
Statement of Purpose
4-
5-
The laws of most jurisdictions throughout the world automatically confer
6-
exclusive Copyright and Related Rights (defined below) upon the creator and
7-
subsequent owner(s) (each and all, an "owner") of an original work of
8-
authorship and/or a database (each, a "Work").
9-
10-
Certain owners wish to permanently relinquish those rights to a Work for the
11-
purpose of contributing to a commons of creative, cultural and scientific
12-
works ("Commons") that the public can reliably and without fear of later
13-
claims of infringement build upon, modify, incorporate in other works, reuse
14-
and redistribute as freely as possible in any form whatsoever and for any
15-
purposes, including without limitation commercial purposes. These owners may
16-
contribute to the Commons to promote the ideal of a free culture and the
17-
further production of creative, cultural and scientific works, or to gain
18-
reputation or greater distribution for their Work in part through the use and
19-
efforts of others.
20-
21-
For these and/or other purposes and motivations, and without any expectation
22-
of additional consideration or compensation, the person associating CC0 with a
23-
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
24-
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
25-
and publicly distribute the Work under its terms, with knowledge of his or her
26-
Copyright and Related Rights in the Work and the meaning and intended legal
27-
effect of CC0 on those rights.
28-
29-
1. Copyright and Related Rights. A Work made available under CC0 may be
30-
protected by copyright and related or neighboring rights ("Copyright and
31-
Related Rights"). Copyright and Related Rights include, but are not limited
32-
to, the following:
33-
34-
i. the right to reproduce, adapt, distribute, perform, display, communicate,
35-
and translate a Work;
36-
37-
ii. moral rights retained by the original author(s) and/or performer(s);
38-
39-
iii. publicity and privacy rights pertaining to a person's image or likeness
40-
depicted in a Work;
41-
42-
iv. rights protecting against unfair competition in regards to a Work,
43-
subject to the limitations in paragraph 4(a), below;
44-
45-
v. rights protecting the extraction, dissemination, use and reuse of data in
46-
a Work;
47-
48-
vi. database rights (such as those arising under Directive 96/9/EC of the
49-
European Parliament and of the Council of 11 March 1996 on the legal
50-
protection of databases, and under any national implementation thereof,
51-
including any amended or successor version of such directive); and
52-
53-
vii. other similar, equivalent or corresponding rights throughout the world
54-
based on applicable law or treaty, and any national implementations thereof.
55-
56-
2. Waiver. To the greatest extent permitted by, but not in contravention of,
57-
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
58-
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
59-
and Related Rights and associated claims and causes of action, whether now
60-
known or unknown (including existing as well as future claims and causes of
61-
action), in the Work (i) in all territories worldwide, (ii) for the maximum
62-
duration provided by applicable law or treaty (including future time
63-
extensions), (iii) in any current or future medium and for any number of
64-
copies, and (iv) for any purpose whatsoever, including without limitation
65-
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
66-
the Waiver for the benefit of each member of the public at large and to the
67-
detriment of Affirmer's heirs and successors, fully intending that such Waiver
68-
shall not be subject to revocation, rescission, cancellation, termination, or
69-
any other legal or equitable action to disrupt the quiet enjoyment of the Work
70-
by the public as contemplated by Affirmer's express Statement of Purpose.
71-
72-
3. Public License Fallback. Should any part of the Waiver for any reason be
73-
judged legally invalid or ineffective under applicable law, then the Waiver
74-
shall be preserved to the maximum extent permitted taking into account
75-
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
76-
is so judged Affirmer hereby grants to each affected person a royalty-free,
77-
non transferable, non sublicensable, non exclusive, irrevocable and
78-
unconditional license to exercise Affirmer's Copyright and Related Rights in
79-
the Work (i) in all territories worldwide, (ii) for the maximum duration
80-
provided by applicable law or treaty (including future time extensions), (iii)
81-
in any current or future medium and for any number of copies, and (iv) for any
82-
purpose whatsoever, including without limitation commercial, advertising or
83-
promotional purposes (the "License"). The License shall be deemed effective as
84-
of the date CC0 was applied by Affirmer to the Work. Should any part of the
85-
License for any reason be judged legally invalid or ineffective under
86-
applicable law, such partial invalidity or ineffectiveness shall not
87-
invalidate the remainder of the License, and in such case Affirmer hereby
88-
affirms that he or she will not (i) exercise any of his or her remaining
89-
Copyright and Related Rights in the Work or (ii) assert any associated claims
90-
and causes of action with respect to the Work, in either case contrary to
91-
Affirmer's express Statement of Purpose.
92-
93-
4. Limitations and Disclaimers.
94-
95-
a. No trademark or patent rights held by Affirmer are waived, abandoned,
96-
surrendered, licensed or otherwise affected by this document.
97-
98-
b. Affirmer offers the Work as-is and makes no representations or warranties
99-
of any kind concerning the Work, express, implied, statutory or otherwise,
100-
including without limitation warranties of title, merchantability, fitness
101-
for a particular purpose, non infringement, or the absence of latent or
102-
other defects, accuracy, or the present or absence of errors, whether or not
103-
discoverable, all to the greatest extent permissible under applicable law.
104-
105-
c. Affirmer disclaims responsibility for clearing rights of other persons
106-
that may apply to the Work or any use thereof, including without limitation
107-
any person's Copyright and Related Rights in the Work. Further, Affirmer
108-
disclaims responsibility for obtaining any necessary consents, permissions
109-
or other rights required for any use of the Work.
110-
111-
d. Affirmer understands and acknowledges that Creative Commons is not a
112-
party to this document and has no duty or obligation with respect to this
113-
CC0 or use of the Work.
114-
115-
For more information, please see
116-
<http://creativecommons.org/publicdomain/zero/1.0/>
117-
1+
MIT License
2+
3+
Copyright (c) 2020 Creative Commons
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+47-18
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,60 @@
11
# mp
22

3-
Model Platform
3+
> The [Platform Toolkit][mp-prod] is a material to guide content sharing
4+
> platforms when adding the option of CC licensing. These aren't hard-set
5+
> requirements, but suggestions on how to make the implementation smooth for
6+
> users and platform alike. The process towards building it was described in a
7+
> series of [blog posts][revamp] on the CC Open Source blog.
48
9+
[mp-prod]: https://creativecommons.org/platform/toolkit/
10+
[revamp]: https://opensource.creativecommons.org/blog/entries/cc-platform-toolkit-revamp/ "CC Platform Toolkit Revamp — Creative Commons on GitHub"
511

6-
## Overview
712

8-
:warning: **Please only run Model Platform locally.** The code has been written
9-
to be robust against user error, but not attack.
13+
## Getting started
1014

11-
Model platform has the following dependencies:
15+
The toolkit is placed in the `docs/` folder along with a frozen copy of the
16+
[Vocabulary][vocabulary] stylesheets. The site is predominately self-contained.
17+
You should be able to see nearly accurate rendering by cloning this repository
18+
and opening `docs/index.html` in your browser.
1219

13-
- php5
14-
- php5-gd
15-
- php5-sqlite
20+
[vocabulary]: https://github.com/creativecommons/vocabulary
1621

17-
You can run Model Platform as follows:
1822

19-
```shell
20-
cd mp/src
21-
php -S localhost:6789
22-
```
23+
## Hosting and Deployment
2324

24-
Then connect to: http://localhost:6789/ in your web browser to interact with
25-
Model Platform.
25+
Within both the Creative Commons production and staging environments, the
26+
`docs/` directory is served by the NGINX web server. The Creative Commons
27+
production and staging environments are managed using SaltStack (see the
28+
[`nginx.misc`][nginx-misc] state for specifics). SaltStack ensures the
29+
repository clone is at the most recent version for the configured branch when
30+
the state is applied.
2631

32+
[nginx-misc]: https://github.com/creativecommons/sre-salt-prime/blob/master/states/nginx/misc.sls
2733

28-
## Creative Commons Hosted Documentation
2934

30-
The `hosted-version/index.html` file made availabe on the server by symlinking
31-
`hosted-version/` to `/var/www/html/platform/toolkit/` on the `faq` server.
35+
## Historical Files
36+
37+
Everything pertaining to the previous toolkit and model platform material is
38+
placed in the `deprecated/` folder. This folder will eventually be deleted
39+
(though it will remain in the git history).
40+
41+
42+
## License
43+
44+
45+
### Code / Scripts
46+
47+
[`LICENSE`](LICENSE) (Expat/[MIT][mit] License)
48+
49+
[mit]: http://www.opensource.org/licenses/MIT "The MIT License | Open Source Initiative"
50+
51+
52+
### Content
53+
54+
![CC0 1.0 Universal license button][cc0-png]
55+
56+
To the extent possible under law, Creative Commons has waived all copyright and
57+
related or neighboring rights to this work ([CC0 1.0 Universal][cc0].
58+
59+
[cc0-png]: https://licensebuttons.net/l/zero/1.0/88x31.png "CC0 1.0 Universal license button"
60+
[cc0]: https://creativecommons.org/publicdomain/zero/1.0/ "Creative Commons — CC0 1.0 Universal"

deprecated/CODE_OF_CONDUCT.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Contributor Code of Conduct
2+
3+
The Creative Commons team is committed to fostering a welcoming community. This
4+
project and all other Creative Commons open source projects are governed by our
5+
[Code of Conduct][code_of_conduct]. Please report unacceptable behavior to
6+
[conduct@creativecommons.org](mailto:conduct@creativecommons.org) per our
7+
[reporting guidelines][reporting_guide].
8+
9+
For a history of updates, see the [page history here][updates].
10+
11+
[code_of_conduct]:https://creativecommons.github.io/community/code-of-conduct/
12+
[reporting_guide]:https://creativecommons.github.io/community/code-of-conduct/enforcement/
13+
[updates]:https://github.com/creativecommons/creativecommons.github.io-source/commits/master/content/community/code-of-conduct/contents.lr

deprecated/CONTRIBUTING.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Contributing to CC Open Source
2+
3+
Thank you for your interest in contributing to CC Open Source! This document is
4+
a set of guidelines to help you contribute to this project.
5+
6+
## Code of Conduct
7+
8+
By participating in this project, you are expected to uphold our [Code of
9+
Conduct][code_of_conduct].
10+
11+
[code_of_conduct]:https://creativecommons.github.io/community/code-of-conduct/
12+
13+
## Project Documentation
14+
15+
The `README` in the root of the repository should contain or link to
16+
project documentation. If you cannot find the documentation you're
17+
looking for, please file a GitHub issue with details of what
18+
you'd like to see documented.
19+
20+
## How to Contribute
21+
22+
Please follow the processes in our general [Contributing Code][contributing]
23+
guidelines on the Creative Common Open Source website.
24+
25+
[contributing]:https://creativecommons.github.io/contributing-code/
26+
27+
## Questions or Thoughts?
28+
29+
Talk to us on [one of our community forums][community].
30+
31+
[community]:https://creativecommons.github.io/community/

deprecated/LICENSE

+117
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
CC0 1.0 Universal
2+
3+
Statement of Purpose
4+
5+
The laws of most jurisdictions throughout the world automatically confer
6+
exclusive Copyright and Related Rights (defined below) upon the creator and
7+
subsequent owner(s) (each and all, an "owner") of an original work of
8+
authorship and/or a database (each, a "Work").
9+
10+
Certain owners wish to permanently relinquish those rights to a Work for the
11+
purpose of contributing to a commons of creative, cultural and scientific
12+
works ("Commons") that the public can reliably and without fear of later
13+
claims of infringement build upon, modify, incorporate in other works, reuse
14+
and redistribute as freely as possible in any form whatsoever and for any
15+
purposes, including without limitation commercial purposes. These owners may
16+
contribute to the Commons to promote the ideal of a free culture and the
17+
further production of creative, cultural and scientific works, or to gain
18+
reputation or greater distribution for their Work in part through the use and
19+
efforts of others.
20+
21+
For these and/or other purposes and motivations, and without any expectation
22+
of additional consideration or compensation, the person associating CC0 with a
23+
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
24+
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
25+
and publicly distribute the Work under its terms, with knowledge of his or her
26+
Copyright and Related Rights in the Work and the meaning and intended legal
27+
effect of CC0 on those rights.
28+
29+
1. Copyright and Related Rights. A Work made available under CC0 may be
30+
protected by copyright and related or neighboring rights ("Copyright and
31+
Related Rights"). Copyright and Related Rights include, but are not limited
32+
to, the following:
33+
34+
i. the right to reproduce, adapt, distribute, perform, display, communicate,
35+
and translate a Work;
36+
37+
ii. moral rights retained by the original author(s) and/or performer(s);
38+
39+
iii. publicity and privacy rights pertaining to a person's image or likeness
40+
depicted in a Work;
41+
42+
iv. rights protecting against unfair competition in regards to a Work,
43+
subject to the limitations in paragraph 4(a), below;
44+
45+
v. rights protecting the extraction, dissemination, use and reuse of data in
46+
a Work;
47+
48+
vi. database rights (such as those arising under Directive 96/9/EC of the
49+
European Parliament and of the Council of 11 March 1996 on the legal
50+
protection of databases, and under any national implementation thereof,
51+
including any amended or successor version of such directive); and
52+
53+
vii. other similar, equivalent or corresponding rights throughout the world
54+
based on applicable law or treaty, and any national implementations thereof.
55+
56+
2. Waiver. To the greatest extent permitted by, but not in contravention of,
57+
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
58+
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
59+
and Related Rights and associated claims and causes of action, whether now
60+
known or unknown (including existing as well as future claims and causes of
61+
action), in the Work (i) in all territories worldwide, (ii) for the maximum
62+
duration provided by applicable law or treaty (including future time
63+
extensions), (iii) in any current or future medium and for any number of
64+
copies, and (iv) for any purpose whatsoever, including without limitation
65+
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
66+
the Waiver for the benefit of each member of the public at large and to the
67+
detriment of Affirmer's heirs and successors, fully intending that such Waiver
68+
shall not be subject to revocation, rescission, cancellation, termination, or
69+
any other legal or equitable action to disrupt the quiet enjoyment of the Work
70+
by the public as contemplated by Affirmer's express Statement of Purpose.
71+
72+
3. Public License Fallback. Should any part of the Waiver for any reason be
73+
judged legally invalid or ineffective under applicable law, then the Waiver
74+
shall be preserved to the maximum extent permitted taking into account
75+
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
76+
is so judged Affirmer hereby grants to each affected person a royalty-free,
77+
non transferable, non sublicensable, non exclusive, irrevocable and
78+
unconditional license to exercise Affirmer's Copyright and Related Rights in
79+
the Work (i) in all territories worldwide, (ii) for the maximum duration
80+
provided by applicable law or treaty (including future time extensions), (iii)
81+
in any current or future medium and for any number of copies, and (iv) for any
82+
purpose whatsoever, including without limitation commercial, advertising or
83+
promotional purposes (the "License"). The License shall be deemed effective as
84+
of the date CC0 was applied by Affirmer to the Work. Should any part of the
85+
License for any reason be judged legally invalid or ineffective under
86+
applicable law, such partial invalidity or ineffectiveness shall not
87+
invalidate the remainder of the License, and in such case Affirmer hereby
88+
affirms that he or she will not (i) exercise any of his or her remaining
89+
Copyright and Related Rights in the Work or (ii) assert any associated claims
90+
and causes of action with respect to the Work, in either case contrary to
91+
Affirmer's express Statement of Purpose.
92+
93+
4. Limitations and Disclaimers.
94+
95+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
96+
surrendered, licensed or otherwise affected by this document.
97+
98+
b. Affirmer offers the Work as-is and makes no representations or warranties
99+
of any kind concerning the Work, express, implied, statutory or otherwise,
100+
including without limitation warranties of title, merchantability, fitness
101+
for a particular purpose, non infringement, or the absence of latent or
102+
other defects, accuracy, or the present or absence of errors, whether or not
103+
discoverable, all to the greatest extent permissible under applicable law.
104+
105+
c. Affirmer disclaims responsibility for clearing rights of other persons
106+
that may apply to the Work or any use thereof, including without limitation
107+
any person's Copyright and Related Rights in the Work. Further, Affirmer
108+
disclaims responsibility for obtaining any necessary consents, permissions
109+
or other rights required for any use of the Work.
110+
111+
d. Affirmer understands and acknowledges that Creative Commons is not a
112+
party to this document and has no duty or obligation with respect to this
113+
CC0 or use of the Work.
114+
115+
For more information, please see
116+
<http://creativecommons.org/publicdomain/zero/1.0/>
117+

0 commit comments

Comments
 (0)