aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* lintingYuchen Pei2022-04-079-369/+344
| | | | | - eslint - also adding eslintrc
* clean up legacy_license_check.jsYuchen Pei2022-04-073-52/+33
|
* Making license_definition.js single source of truth for licensesYuchen Pei2022-04-073-232/+19
| | | | | - Removed licenses.json - cleaned up license_definition.js a bit
* Merge licenses.json into license_definitions.jsYuchen Pei2022-04-071-130/+207
| | | | | - all licenses in licenses.json are also in license_definitions.js now - also reordered licenses in license_definitions alphabetically
* updating validation of @license comments to check magnet / url only.Yuchen Pei2022-04-071-15/+10
| | | | | | - this is the desired behaviour, see also <https://lists.gnu.org/archive/html/help-librejs/2021-12/msg00000.html> - also changed some unmuated identifiers from let to const
* nop whitespace formatting change.Yuchen Pei2022-04-0718-3690/+3692
| | | | | | | | - ran eglot-format using typescript-language-server on all js files in the repo except those under /hash_script/ - verify only whitespace changed: git diff --word-diff-regex=. 62d6a71 62d6a71~1
* fixing compliance script.Yuchen Pei2022-04-071-24/+31
| | | | - weblabels should work now
* fixed an ambiguous phrasingYuchen Pei2021-12-081-2/+2
|
* Minor formatting fixYuchen Pei2021-12-081-8/+6
|
* Added a script that checks a url for compliance in the command line.Yuchen Pei2021-12-083-4/+117
| | | | Also added copyright and license header to the headless test script.
* Adding headless test.Yuchen Pei2021-12-082-0/+47
|
* bug #59021Girish M2021-12-031-1/+2
| | | allow matching license URL strings by either http or https
* Formatting manifest.jsonYuchen Pei2021-12-031-20/+24
|
* Releasing 7.20.3Yuchen Pei2021-11-233-5/+9
|
* Fix infinite loopStef Gijsberts2021-11-101-1/+1
| | | | | | | | | | | | | | | LibreJS got stuck in an infinite loop whenever a <link rel="jslicense"> occured inside a HTML head tag. This was due to a small programming mistake (refer to the git diff for details). It caused Icecat to become unresponsive (tested on Icecat 78.10.0esr). This notably affected users trying to visit lichess.org, and reportedly users trying to visit scratch.mit.edu [0]. [0]: https://lists.gnu.org/archive/html/bug-librejs/2020-06/msg00000.html
* Rename variable `document` to `doc`Stef Gijsberts2021-11-101-5/+5
| | | | | This is done because shadowing the global variable `document` can lead to unexpected results.
* Fixing json files so that librejs builds againStef Gijsberts2021-11-092-220/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to build the project using Webpack v2 or v3 [0]. The following commands were used for the conversion: $ mv licenses.json licenses.old.json $ cat licenses.old.json \ | sed $'s/module.exports = //g' \ | tr \' \" | tr -d ';' \ | sed $'s/licenses: /"licenses": /g' \ > licenses.json $ mv fname_data.json fname_data.old.json $ cat fname_data.old.json \ | sed $'s/module.exports = //g'\ | tr \' \" \ | tr -d ';' \ | sed $'s/fname_data : /"fname_data": /g' \ > fname_data.json [0]: https://webpack.js.org/migrate/3/#json-loader-is-not-required-anymore Thanks also to Andrea G. Monaco for an identical patch: <https://lists.gnu.org/archive/html/bug-librejs/2021-05/msg00002.html>
* Fixed Array.map is not a functionRuben Rodriguez2020-03-303-4/+4
|
* Bumped version to 7.20.1Ruben Rodriguez2019-05-061-3/+3
|
* Simplified validateLicense()Ruben Rodriguez2019-05-061-22/+15
|
* Allow for detection of @license declarations with no links. Show human ↵Ruben Rodriguez2019-05-011-11/+17
| | | | readable license names
* Changes to licenses list, adds human readable name, adds CC licenses, adds ↵Ruben Rodriguez2019-05-011-16/+142
| | | | Expat alias as MIT, adds extra GNU license detail, corrects BSD licenses
* Display NOSCRIPT elements when scripts are blocked or the ↵hackademix2019-04-302-11/+77
| | | | data-librejs-display attribute is present.
* Version bumped 7.20Ruben Rodriguez2019-04-291-1/+1
|
* Fixed css issues in the panelRuben Rodriguez2019-04-291-2/+4
|
* Merge branch 'master' of ssh://pagure.io/librejsRuben Rodriguez2019-04-2910-64/+160
|\
| * Merge #39 `Add permanent reload button in the popup UI (in the "whole site" ↵Ruben Rodriguez2019-04-292-3/+5
| |\ | | | | | | | | | information line).`
| | * Add permanent reload button in the popup UI (in the "whole site" information ↵hackademix2019-04-082-3/+5
| | | | | | | | | | | | line).
| * | More consistent and efficient blacklisting.hackademix2019-04-123-44/+52
| | |
| * | Fixed UI inconsistencies when whitelisting/blacklisting through wide ↵hackademix2019-04-084-5/+22
| | | | | | | | | | | | wildcard matching.
| * | Fix Storage.js throwing exception unless loaded as a module.hackademix2019-04-081-1/+1
| | |
| * | Automated regression tests for whitelist and blacklist management, including ↵hackademix2019-03-262-1/+40
| | | | | | | | | | | | wildcards.
| * | Subdomain wildcard support.hackademix2019-03-265-17/+47
| |/
* | Version bumped to 7.19 finalRuben Rodriguez2019-03-131-1/+1
| |
* | Fixed width on button.toggle-sourceRuben Rodriguez2019-03-131-3/+2
|/
* Merge #36 `Correctly decode using the original document charset and force ↵Ruben Rodriguez2019-03-132-30/+51
|\ | | | | | | re-encoding via UTF-8 BOM only when needed.`
| * Sniffing of charset in <meta> tags and BOM.hackademix2019-03-132-8/+47
| |
| * Correctly decode using the original document charset and force re-encoding ↵hackademix2019-03-112-28/+10
| | | | | | | | via UTF-8 BOM only when needed.
* | Fix for large scripts thrashing the black/white lists when added.hackademix2019-03-113-17/+18
| |
* | Fixed inline whitelisting regressions (issue #35).hackademix2019-03-054-22/+32
| |
* | Cosmetic changes to the inline code viewer toggle button.hackademix2019-02-253-5/+24
| |
* | Generate code view widget for first inline script with global license too.hackademix2019-02-251-2/+4
| |
* | Test for inline scripts in attributes, including (de)duplication.hackademix2019-02-251-0/+19
| |
* | Fixed bug preventing javascript: URLs from being correctly processed.hackademix2019-02-251-0/+1
| |
* | Deduplicate inline scripts and provide widgets to show them in main UI.hackademix2019-02-224-20/+57
| |
* | Version number bump.hackademix2019-02-211-1/+1
|/
* Bumped version numberRuben Rodriguez2019-02-131-1/+1
|
* Fixed regression hiding some inline scripts and global license ref from UI ↵hackademix2019-02-132-6/+14
| | | | reports.
* UI: contextual view-source links for inline scripts and intrinsic events.hackademix2019-02-122-7/+20
|
* Fixed fastclick.js loaded too late sometimes.hackademix2019-01-281-1/+1
|