Skip to content

Commit 4093e63

Browse files
authored
Merge branch 'master' into header-keyboard
2 parents 713eb22 + 42b71ef commit 4093e63

File tree

33 files changed

+1313
-530
lines changed

33 files changed

+1313
-530
lines changed

Pipfile

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ verify_ssl = true
55

66
[packages]
77
black = "==19.10b0"
8+
# Cryptography 3.4+ requires Rust to build
9+
# https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst
10+
cryptography = "==3.3.2"
811
flake8 = "*"
912
lektor = "*"
1013
# Werkzeug added and pinned to mitigate this issue:

Pipfile.lock

+225-169
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
username: Ishan Thilina
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
username: Thanish
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
username: Dinishika Weerarathna
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
username: Ethan Lim
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
username: igorlukanin
1+
username: Igor Lukanin
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
title: Creative Commons Drupal Module
2+
---
3+
categories:
4+
API
5+
development
6+
GSoC
7+
software
8+
tools
9+
---
10+
author: blaise
11+
---
12+
body:
13+
14+
Creative Commons provides vast number of public copyright licenses for people who want to enable free distribution of their work. Creative Commons licenses currently covers over **1.6 billion resources**. These license files are then translated to multiple different languages and ported for [different jurisdictions](https://wiki.creativecommons.org/wiki/CC_Ports_by_Jurisdiction) for international usage. People link to the respective licenses along with their licensed works. These license files are in the form of `html` files, stored in [creativecommons/creativecommons.org](https://github.com/creativecommons/creativecommons.org/tree/master/docroot/legalcode) repo.
15+
16+
### Problem Statement
17+
There are currently two Creative Commons (CC) modules for Drupal. CC Lite only offers limited functionality, but the CC module has not been updated for a long time and doesn't support current versions of Drupal.
18+
19+
### Planning
20+
* update the Creative Commons module, referencing and possibly building on Creative Commons lite, to support Drupal 6\
21+
* expand its functionality to embed and detect license information for some file uploads.
22+
23+
### Summary
24+
The Creative Commons module allows users to assign a Creative Commons license to
25+
the content of a node, or to specify a site-wide license. It uses to Creatve
26+
Commons API to retrieve up-to-date license information. Licenses are diplayed
27+
using a Creative Commons Node License block and the Creative Commons Site
28+
License block. The module also supports some license metadata fields. License
29+
information is output using ccREL RDFa inside the blocks, and can optionally be
30+
output as RDF/XML in the body of a node.
31+
32+
Creative Commons search is available at /search/creativecommons/, and (if the
33+
Views module is installed and enabled) a Creative Commons view is available at
34+
/creativecommons. Creative Commons license information and metadata are
35+
available to the Views module.
36+
37+
For a full description of the module, visit the project page:
38+
http://drupal.org/project/creativecommons
39+
40+
To submit bug reports and feature suggestions, or to track changes:
41+
http://drupal.org/project/issues/creativecommons
42+
43+
### Requirements
44+
None
45+
46+
### Installation
47+
* Install as usual, see [Installing contributed modules (Drupal 5 and 6) |
48+
Drupal.org](http://drupal.org/node/70151) for further information.
49+
50+
### Configuration
51+
* Configure user permissions in Administer >> User management >> Permissions >>
52+
creativecommons module:
53+
54+
- administer creative commons
55+
56+
Users can customize the module settings in Administer >> Settings >>
57+
Creative Commons
58+
59+
- attach creative commons
60+
61+
Users will be able to attach license information to the content of a node.
62+
63+
- use creative commons user defaults
64+
65+
Users will be able to set their own defaults, independent of site defaults
66+
(but still subject to site license availability settings).
67+
68+
* Set available license types, required/available metadata and display settings
69+
Administer >> Settings >> Creative Commons. To make it mandatory to specify a
70+
license, simply make the 'None' type unavailable.
71+
72+
* Set default license type and jurisdiction in Administer >> Settings >>
73+
Creative Commons >> site defaults. Here, you can set the default license to be
74+
used as a site-wide license if you wish, and you can include any relevant
75+
metadata.
76+
77+
* Enable Creative Commons licensing for desired content types in Administer >>
78+
Settings >> Creative Commons >> content types. For example, you might wish to
79+
allow Creative Commons licensing for blog posts, but not forum posts.
80+
81+
* In your Drupal user account settings, you can set a jurisdiction or default
82+
license to override the site defaults.
83+
84+
85+
CC Drupal is only possible due to the support and guidance of my mentors [Kevin Reynen](http://drupal.org/user/48877) and `CC Tech Staff Member`, who have been very supportive on every step of the project.
86+
87+
The project is approaching its completion. Can't wait to see it in production.
88+
89+
---
90+
pub_date: 2009-09-23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
title: Creative_Commons_LibreOffice_Plugin_Updates
2+
---
3+
categories:
4+
Add-In
5+
GSoC
6+
OpenOffice
7+
opensource
8+
---
9+
author: Ishan-Thilina
10+
---
11+
body:
12+
13+
This year Creative Commons has a much more limited focus on what we would like to see out of Google Summer of Code than in previous years.
14+
15+
### Installation
16+
The latest version of the plugin is 0.7.0, available for download from the [OpenOffice.org Extension site](https://extensions.openoffice.org/en/project/ccooo)
17+
To install:
18+
19+
* Download the plugin
20+
* Open OpenOffice.org
21+
* Go to the `Tools` menu and select `Extension Manager`. Click `Add` and select the file you downloaded.
22+
* After the installation process completes, restart OpenOffice.org. The Creative Commons menu options will be located at the bottom of the `Insert` menu.
23+
24+
Debian/Ubuntu (& other variants) users:
25+
* Debian/Ubuntu (& other variants) users may have problems if the plugin installed using the Extension Manager.
26+
* They may need to install the plugin using the terminal.
27+
* To install use /usr/lib/openoffice/program/unopkg gui -f ccooo.oxt
28+
29+
### Problem Statement
30+
The current Creative Commons LibreOffice (OpenOffice) plugin is written in Java. This project is aimed to port the current plugin to Python while rectifying the problems in the current plugin.
31+
32+
### Solution
33+
The Python port of the Creative Commons Add-in for LibreOffice and OpenOffice.org which allows license information to be embedded in OpenOffice.org and LibreOffice Writer, Impress, Draw and Calc documents.
34+
35+
For more information visit [the official addin page](https://wiki.creativecommons.org/wiki/OpenOfficeOrg_Addin) of Creative Commons
36+
37+
### Testing
38+
Download the out.oxt file. Install it via the LibreOffice Extension Manager (Tools --> Extension Manager).
39+
40+
Then go to `Insert` `--> ` `Creative Commons`. By using the first option you can insert the license information to the document. The second option is for changing those data.
41+
42+
### Knowledge Prerequisite
43+
`Python` ,`Shell`
44+
45+
CC LibreOffice is only possible due to the support and guidance of `CC tech staff member`, who have been very supportive on every step of the project.
46+
The project is approaching its completion. Can't wait to see it in production.
47+
48+
---
49+
pub_date: 2012-07-15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
title: Creative Commons Media Fingerprinting Library
2+
---
3+
categories:
4+
Add-In
5+
GSoC
6+
opensource
7+
---
8+
author: ethanlim
9+
---
10+
body:
11+
12+
CC would prefer that all content on the Web include correct licensing metadata. Alas, that is not the case. So we're interested in code that will allow us to identify a given item across the Web, even if there's no metadata alongside (or within) it. The tricky part is: people often crop or resize images, clip videos, re-encode content, or quote only pieces of text. So a simple hash is not sufficient: we need more intelligent fuzzy matching. That's what this project is about.
13+
14+
### Expected Results
15+
A library that provides two methods:
16+
* Given a media file, output a fingerprint, and
17+
* Given a file and a fingerprint, return the likelihood of the file matching the original file.
18+
19+
You can focus your efforts on only one or two media types, or you can do more if it's possible.
20+
The library can be in a low-level language (C/C++) or you can use a higher-level language (JavaScript) if it's feasible. Speed is not a major concern at this point.
21+
Bonus: An additional API/method to detect content inside other files (e.g., a PowerPoint file that includes a CC licensed image, or a still image inside a video).
22+
23+
### Notes/Resources
24+
The first task is to decide on a strategy to compare two items and decide how similar they are. Some choices are:
25+
* Hamming distance (bitwise AKA Manhattan distance)
26+
* Euclidean distance (plane distance, also good in higher dimensions)
27+
* Set similarity (Jaccard index; MinHash)
28+
29+
For this project, set similarity seems like the best choice. It would potentially allow us to detect works remixed into other works, if some portion of them has remained intact in some way. The technique involves distilling a document into a set of things, and comparing two documents is simply the ratio of things they have in common to things they do not.
30+
31+
A good way to start is with text, and involves a technique called shingling. For something like images, we'll need more work to determine which "interesting" features of the image to consider (to generate the set of things). This is called "keypoint extraction" and involves using standard algorithms to find vectors of floats that describe each keypoint. Since for images two keypoint vectors might be very similar but not identical, some additional work in clustering and mapping to example keypoints is required for images.
32+
Some reading:
33+
* Chapters 1 and 3 of [Mining Massive Datasets](http://infolab.stanford.edu/~ullman/mmds.html)
34+
* [building shingles in text](https://lingpipe-blog.com/2011/01/12/scaling-jaccard-distance-deduplication-shingling-minhash-locality-sensitive-hashi/)
35+
* [Introduction to Information Retrieval](https://nlp.stanford.edu/IR-book/)
36+
* [OpenCV](https://opencv.org/) for extracting things (features) of images
37+
* BRISK / FREAK: algorithms for "keypoint extraction", for images
38+
* [pHash.org](http://www.phash.org/) might be something we can use.
39+
40+
### Knowledge Prerequisite
41+
`Media formats/encodings` ,`JavaScript` ,`C/C++.`
42+
43+
CC MEDIA FINGERPRINTING LIBRARY is only possible due to the support and guidance of my mentors [Dan Mills](#) or ` other CC tech staff member`, who have been very supportive on every step of the project.
44+
45+
The project is approaching its completion. Can't wait to see it in production.
46+
47+
---
48+
pub_date: 2013-07-15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
title: Creative Commons OpenOffice Plugin now Supports Internationalization.
2+
---
3+
categories:
4+
Add-In
5+
OpenOffice
6+
opensource
7+
---
8+
author: akila87
9+
---
10+
body:
11+
12+
The Creative Commons Licensing extension provides the ability to select and embed a Creative Commons license in Writer, Calc and Impress documents. In addition to embedding the license in the document metadata it provides a visible notice in your document.
13+
14+
### Problem Statement
15+
The OpenOffice plug-in for Creative Commons was completed in 2007 as a GSoC project. But now it is out dated and the current extension cannot be used properly in OpenOffice 3 versions.
16+
17+
### Solutions
18+
Planning to :-
19+
* update the Creative Commons plug-in for OO.o 3 SDK.
20+
* Add support for CC0.
21+
* Improve the UI and add support for OO.o Draw.
22+
23+
CC Open Office Plugin Updates is only possible due to the support and guidance of my mentors [nyergler](https://github.com/nyergler?tab=overview&from=2010-12-01&to=2010-12-31) and `other CC Tech Staff Member`, who have been very supportive on every step of the project.
24+
25+
You can follow the project on: [OpenOfficeOrg Addin](https://wiki.creativecommons.org/wiki/OpenOfficeOrg_Addin).
26+
27+
---
28+
pub_date: 2010-11-15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
title: Creative Commons Pasteboard
2+
---
3+
categories:
4+
GSoC
5+
---
6+
author: THanish
7+
---
8+
body:
9+
10+
The Creative Commons Pasteboard is a browser extension used to help users easily clip content from different sources aroud the web. It also helps users by automatically adding attribution information when users paste their clips into documents.
11+
### Status
12+
Currently an early experiment.
13+
14+
Pasteboard is not ready for most people to try out. However, there are still may ways to participate:
15+
16+
* If you're a teacher, we would welcome your input and would like to learn about how Pasteboard might (or might not) fit your workflow.
17+
* If you're a developer, check out our code, implement a new feature, or let us know how you might do things differently (by submitting a patch!).
18+
* If you're a designer, check out our designs, let us know how you might improve them.
19+
No matter who you are, though, feel free to learn more about the work we're doing and don't hesitate to reach out or join our discussions if you're interested. We're looking forward to hearing from you!
20+
21+
22+
### Solution - CC Pasteboard
23+
[CC Pasteboard](https://github.com/mnmtanish/pasteboard) aims to solve the problem by using tool like pasteboard that allows teachers to clip portions of webpages and reassemble them into documents (currently using Google Docs), while keeping track of the sources both to be used as references, as well as for later editing (e.g. next year, or by another teacher). This storyboard has a good overview of how we envision the tool being used
24+
25+
26+
CC Pasteboard is only possible due to the support and guidance of CC tech staff, who have been very supportive on every step of the project.
27+
28+
You can follow the project on Github: [mnmtanish/pasteboard](https://github.com/mnmtanish/pasteboard). You can also join the discussion on `#cc` on [IRC](https://freenode.net/)
29+
30+
The project is approaching its completion. Can't wait to see it in production.
31+
32+
---
33+
pub_date: 2013-07-15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
title: Creative Commons License Manager for WordPress
2+
---
3+
categories:
4+
software
5+
WordPress
6+
---
7+
author: erlehmann
8+
---
9+
body:
10+
11+
Creative Commons provides vast number of public copyright licenses for people who want to enable free distribution of their work. Creative Commons licenses currently covers over **1.6 billion resources**. These license files are then translated to multiple different languages and ported for [different jurisdictions](https://wiki.creativecommons.org/wiki/CC_Ports_by_Jurisdiction) for international usage. People link to the respective licenses along with their licensed works. These license files are in the form of `html` files, stored in [creativecommons/creativecommons.org](https://github.com/creativecommons/creativecommons.org/tree/master/docroot/legalcode) repo.
12+
13+
### Features
14+
This plugin extends the Wordpress media manager to provide support for [Creative Commons Licenses][1]. Those licenses enable creators of works to provide simple means of communicating which rights they reserve.
15+
16+
License, rights holder, attribution URI and jurisdiction can be set globally, providing a default, and also individually for each media attachment. At display time, corresponding markup for inline image, video and audio content and, optionally, post thumbnail images is converted to a [HTML5 figure][2], enriched with machine-readable [RDFa metadata][3].
17+
18+
Included with the plugin are several stylesheets that modify the display of licensing details, including one that emulates the minimalist attribution style of the german blog [Spreeblick][4].
19+
20+
The plugin includes a small web server that is able to serve the "Access-Control-Allow-Origin" header to allow embedding content on other web sites and the "X-Content-Duration" header for Ogg media. It can also serve HTTP 1.1 range-requests. For a detailed explanation why this is needed, see the [corresponding page at the Mozilla developer wiki][5].
21+
22+
A video, with English and German subtitles available, shows [how the plugin is used][Tutorial].
23+
24+
### Installation
25+
Caution: Although the plugin may also work with older versions of Wordpress, it is recommended that you use at least Wordpress 3.0. You should also check that your blog's theme serves XHTML content and has a HTML5 doctype.
26+
27+
To install the plugin, move the directory you found this file in into the plugin directory of your Wordpress installation, then activate the plugin on the plugin manager page.
28+
29+
It is recommended that you choose defaults for license, rights holder and jurisdiction on the "CC License Manager" page in the administration area.
30+
31+
### Licensing
32+
Unless otherwise noted, the code is licensed under the [GNU General Public License, Version 2][6] or (at your option) any later version. Stylesheets are licensed under a [Creative Commons Zero license][7].
33+
34+
The included [HTML5lib][8] is licensed under the The [MIT License][9].
35+
36+
The included [Ogg (vorbis/theora) php manipulation library][10] is licensed under the [GNU General Public License, Version 3][11]. However, its author explicitly allows use with this plugin; a copy of the mail inluding his permission can be found in the lib/ogg.class directory.
37+
38+
### Attribution
39+
40+
Unless otherwise noted, code and stylesheets were written by Nils Dagsson Moskopp (erlehmann).
41+
42+
Some improvements have been made by Nathan Kinkade (nkinkade).
43+
44+
For rights holders of the included HTML5lib see the [list of HTML5lib committers][12].
45+
46+
The included Ogg (vorbis/theora) php manipulation library was written by Nicolas Ricquemaque.
47+
48+
[Tutorial]: http://mirrors.creativecommons.org/movingimages/wordpress-cc-plugin-with-subtitles.ogv
49+
[1]: http://creativecommons.org/about/licenses/
50+
[2]: http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-figure-element
51+
[3]: http://wiki.creativecommons.org/RDFa
52+
[4]: http://spreeblick.com
53+
[5]: https://developer.mozilla.org/en/Configuring_servers_for_Ogg_media
54+
[6]: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
55+
[7]: http://creativecommons.org/publicdomain/zero/1.0/
56+
[8]: http://code.google.com/p/html5lib/
57+
[9]: http://www.opensource.org/licenses/mit-license.php
58+
[10]: http://opensource.grisambre.net/ogg/
59+
[11]: http://www.gnu.org/licenses/gpl.html
60+
[12]: http://code.google.com/p/html5lib/people/list
61+
62+
63+
CC Wordpress Plugin is only possible due to the support and guidance of my mentors [Matthias Rampke](https://creativecommons.org/author/aldenpage) and `other CC Tech Staff Member`, who have been very supportive on every step of the project.
64+
65+
You can follow the project on Github: [cc-archive/wordpress-cc-plugin](https://github.com/cc-archive/wordpress-cc-plugin).
66+
67+
---
68+
pub_date: 2010-11-15

0 commit comments

Comments
 (0)