Skip to content

Commit a3c205b

Browse files
committed
Merge branch 'master' into cc0-de-legalcode
2 parents 109a0fe + 09ae335 commit a3c205b

890 files changed

Lines changed: 100463 additions & 76450 deletions

File tree

Some content is hidden

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

.cc-metadata.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Whether this GitHub repo is engineering related
2+
engineering_project: true
3+
# Name of the repository/project in English
4+
english_name: License chooser and license display code
5+
# All technologies used
6+
technologies: Python, bash
7+
# Whether this repository should be featured on the CC Open Source site
8+
featured: false

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
jobs:
3+
build:
4+
machine: true
5+
steps:
6+
- checkout
7+
- run: sudo apt-get update && sudo apt-get install -y tidy
8+
- run: TRANSLATIONS=$(git --no-pager diff --name-only FETCH_HEAD $(git merge-base FETCH_HEAD master))
9+
- run: for htmlfile in $TRANSLATIONS; do echo $htmlfile; tidy -errors -quiet $htmlfile; done

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These owners will be the default owners for everything in
2+
# the repo. Unless a later match takes precedence, they will
3+
# be requested for review when someone opens a pull request.
4+
* @creativecommons/internal-tech

.gitignore

Lines changed: 13 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,17 @@
1-
cc-wp-theme
2-
vendor
3-
composer.phar
4-
python_env/bin
5-
!python_env/bin/ccengine.fcgi.in
6-
python_env/build
7-
python_env/include
8-
python_env/lib
9-
python_env/local
10-
python_env/paste_errors.log
11-
python_env/.Python
12-
python_env/src/
13-
docroot/license.rdf
14-
docroot/license_rdf
1+
# symantic web symlinks
152
docroot/rdf
16-
docroot/wp-content/
17-
docroot/wordpress/
18-
#docroot/sitemap.*
19-
docroot/wp-config-local.php
20-
vendor/*# -*- mode: gitignore; -*-
21-
*~
22-
\#*\#
23-
/.emacs.desktop
24-
/.emacs.desktop.lock
25-
*.elc
26-
#*.apk
27-
*.exe
28-
*.dmg
29-
auto-save-list
30-
tramp
31-
.\#*
32-
*.swp
33-
34-
# Org-mode
35-
.org-id-locations
36-
*_archive
37-
38-
# flymake-mode
39-
*_flymake.*
40-
41-
# eshell files
42-
/eshell/history
43-
/eshell/lastdir
44-
45-
# elpa packages
46-
/elpa/
47-
48-
# reftex files
49-
*.rel
3+
docroot/license_rdf
4+
docroot/cc.licenserdf
505

51-
# AUCTeX auto folder
52-
/auto/
6+
# repositories
7+
python_src/rdfadict/
8+
python_src/cc.licenserdf/
9+
python_src/cc.license/
10+
python_src/cc.i18n/
11+
python_src/cc.engine/
5312

54-
# apitest
55-
/apitest/node_modules
13+
# transstats.csv symlink
14+
transstats.csv
5615

57-
.DS_Store
16+
# vim
17+
*.swp

.venv/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ignore everything in this directory
2+
*
3+
# Except this file
4+
!.gitignore

CODE_OF_CONDUCT.md

Lines changed: 13 additions & 0 deletions
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://opensource.creativecommons.org/community/code-of-conduct/
12+
[reporting_guide]:https://opensource.creativecommons.org/community/code-of-conduct/enforcement/
13+
[updates]:https://github.com/creativecommons/creativecommons.github.io-source/commits/master/content/community/code-of-conduct/contents.lr

CONTRIBUTING.md

Lines changed: 31 additions & 0 deletions
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://opensource.creativecommons.org/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://opensource.creativecommons.org/contributing-code/
26+
27+
## Questions or Thoughts?
28+
29+
Talk to us on [one of our community forums][community].
30+
31+
[community]:https://opensource.creativecommons.org/community/

ISSUE_TEMPLATE

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
1-
Thanks for reporting an issue, to help us file this efficiently we made this template. Feel free to ignore the template if you wish :)
1+
Thanks for reporting an issue, to help us file this efficiently we made this
2+
template. Feel free to ignore the template if you wish :)
23

3-
If this is a bug or a problem with one of our websites or page on one of our sites, please put the URL or page address here:
4+
If this is a bug or a problem with one of our websites or page on one of our
5+
sites, please put the URL or page address here:
46

57
Please tell us the steps to reproduce the problem, if needed:
68

7-
1.
9+
1.
810
2.
911
3.
1012

11-
Please tell us a little bit about how you're accessing the site or page, such as which web browser and which version of the browser:
1213

13-
(You can also vist https://aboutmybrowser.com/ which will give you a link you can share with us that'll tell us everything we need to know)
14+
Please tell us a little bit about how you're accessing the site or page, such
15+
as which web browser and which version of the browser:
1416

15-
You can also attach a screenshot to this issue if you have a visual bug to report. That'll help us figure it out faster. http://www.take-a-screenshot.org/ has instructions on taking screenshots.
17+
(You can also visit <https://aboutmybrowser.com/> which will give you a link
18+
you can share with us that'll tell us everything we need to know)
1619

17-
Finally, we're going to put someone's name here, so they get alerted to the new issue and can assign it to the right person. @robmyers @little-wow
20+
You can also attach a screenshot to this issue if you have a visual bug to
21+
report. That'll help us figure it out faster.
22+
<http://www.take-a-screenshot.org/> has instructions on taking screenshots.
23+
24+
Please feel free to assign a label to this issue (on the right). For security
25+
issues, please use the "urgent" label.
26+
27+
Finally, we're going to put someone's name here, so they get alerted to the new
28+
issue and can assign it to the right person. @little-wow

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 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.

Pipfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# pipenv alone does not setup the License Engine. See scripts/setup_engine.sh
2+
# and README.md
3+
[[source]]
4+
name = "pypi"
5+
url = "https://pypi.org/simple"
6+
verify_ssl = true
7+
8+
[dev-packages]
9+
10+
[packages]
11+
[packages."cc.engine"]
12+
editable = true
13+
path = "python_src/cc.engine"
14+
[packages."cc.i18n"]
15+
editable = true
16+
path = "python_src/cc.i18n"
17+
[packages."cc.license"]
18+
editable = true
19+
path = "python_src/cc.license"
20+
[packages."cc.licenserdf"]
21+
editable = true
22+
path = "python_src/cc.licenserdf"
23+
[packages.future]
24+
[packages.rdfadict]
25+
editable = true
26+
path = "python_src/rdfadict"
27+
28+
[requires]
29+
python_version = "2.7"

0 commit comments

Comments
 (0)