aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* clean up common/Test.jsYuchen Pei2022-07-281-8/+6
|
* Clean up externalLicenseChecker.jsYuchen Pei2022-07-281-29/+21
| | | | Tests still pass
* Moving scripts and utilities into a new utilities dirYuchen Pei2022-07-2877-10/+11
|
* clean up code in prefs panelYuchen Pei2022-07-282-59/+63
|
* removed a redundant console logYuchen Pei2022-07-281-1/+0
|
* A different fix to the problemYuchen Pei2022-07-281-193/+191
| | | | | | | from ... to (() => {...})(); this way no need to worry about const redefinition.
* fixing side effects of constYuchen Pei2022-07-281-69/+75
| | | | | | same script may be loaded twice, in which case consts would be redefined and fail silently, which is why the contact finder frame no longer appeared twice, which is fixed in this commit
* simplify close listeners in contact finderYuchen Pei2022-07-281-14/+3
|
* adding a test for contact finderYuchen Pei2022-07-282-0/+21
|
* revise the contact finder dialogYuchen Pei2022-07-271-14/+30
| | | | | | | - showing top 5 contact links for guessing - remove direct innerHTML assignment and insertAdjacentHTML which are both bases of mozilla warnings - improve readability of the code
* refactor final to limit number of contact links foundYuchen Pei2022-07-271-18/+10
|
* fixing link harvesting in contact finder.Yuchen Pei2022-07-271-6/+4
|
* fixing email template of contact finderYuchen Pei2022-07-272-2/+2
|
* further linting and fixes of contact finderYuchen Pei2022-07-271-40/+40
|
* fixing some bugs introduced in the previous commit.Yuchen Pei2022-07-271-6/+7
| | | | also corrected a typo
* cleaning up contactFinder.jsYuchen Pei2022-07-261-120/+53
| | | | | | | - eliminating all var and let - simplify code - unit tests all pass - pending real usage test and adding unit tests on contact finder elements
* adding a test for the contact finderYuchen Pei2022-07-251-0/+16
|
* updating fresh-browser scriptYuchen Pei2022-07-251-1/+4
|
* update test script to include errors in outputYuchen Pei2022-07-251-1/+4
|
* Adding a fresh-browser script for testing.Yuchen Pei2022-07-221-0/+40
| | | | Testing in a clean, fresh browser.
* typoYuchen Pei2022-07-221-2/+2
|
* minor doc fixYuchen Pei2022-07-221-1/+2
|
* Updated the releasing steps in the doc.Yuchen Pei2022-07-221-3/+53
|
* fixing some mozilla validation warnings when uploading the extensionYuchen Pei2022-07-223-3/+3
|
* Removing the info fileYuchen Pei2022-07-221-1247/+0
| | | | It is hosted at https://www.gnu.org/software/librejs/manual/.
* Bump version to 7.21.0Yuchen Pei2022-07-214-7/+24
|
* fix subresource integrity hash-busting bug by only rewriting external ↵henriquez2022-06-231-1/+1
| | | | scripts if not 'accepted'
* Adding CECILL-2.0 and Zlib licenses.Yuchen Pei2022-04-291-0/+21
|
* Adding a script to generate magnet links using wget and transmissionYuchen Pei2022-04-291-0/+8
|
* Stripping comments when checking between @license and @license-endYuchen Pei2022-04-292-3/+12
| | | | | | | | | example (say it's an external script): /* my awesome script */ /* @license magnet ... */ .... // @license-end
* Fixing license-end detection to accept /* */ commentYuchen Pei2022-04-291-1/+2
| | | | | | Previously only // @license-end was accepted.
* fixing complaint dialog close bugYuchen Pei2022-04-291-1/+1
| | | | - https://lists.gnu.org/archive/html/bug-librejs/2021-09/msg00002.html
* Changed mention of piwik to matomo in docs.Yuchen Pei2022-04-293-353/+366
|
* updated docs.Yuchen Pei2022-04-184-221/+716
|
* 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.