HomeSoftware Heritage

Add LibreJS compliance for swh-web

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Add LibreJS compliance for swh-web

This commit enables to browse swh-web with its JavaScript features enabled while
using the LibreJS Firefox plugin (https://www.gnu.org/software/librejs/index.html).

The compliance is obtained through the following:

  • Generate a WebLabels HTML page through the help of a homemade webpack plugin referencing all the generated JavaScript assets we distribute. For all assets, all bundled source files in it are referenced along with their license and a link to their non-minified source code.
  • Slightly modify some Django templates to state the license of scripts directly included in the HTML.

Closes T1512

Details

Provenance
anlambertAuthored on Feb 13 2019, 1:38 PM
anlambertPushed on Feb 28 2019, 6:09 PM
Differential Revision
D1151: Add LibreJS compliance for swh-web
Tasks
T1512: Add Web Labels to state the license of the JavaScript we distribute
Build Status
Buildable 4504
Build 5977: test-and-build

Commit No Longer Exists

This commit no longer exists in the repository.