Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `// @license` should be at the beginning of a line (mod whitespace) | Yuchen Pei | 2022-10-13 | 2 | -2/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the following will be processed for @license / @license-end method: // foo.js // // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0 // document.getElementById('bar'); // // @license-end function foo(x, y) { console.log(x + y); } $ node ./utitlities/check-script foo.js [ true, '// // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0\n' + "// document.getElementById('bar');\n" + '// // @license-end\n' + 'function foo(x, y) {\n' + ' console.log(x + y);\n' + '}\n', '\n' + 'Recognized license: "GNU General Public License (GPL) version 3".\n' + 'Script appears to be trivial.' ] | ||||
* | minor comment fix | Yuchen Pei | 2022-10-12 | 1 | -6/+3 |
| | |||||
* | refactoring: clean up main_background | Yuchen Pei | 2022-09-27 | 1 | -89/+81 |
| | |||||
* | refactoring ResponseHandler | Yuchen Pei | 2022-09-27 | 1 | -16/+16 |
| | |||||
* | Refactoring response handler to improve readability | Yuchen Pei | 2022-09-27 | 3 | -23/+43 |
| | |||||
* | A better fix for bugs #58131 | Yuchen Pei | 2022-09-27 | 2 | -14/+19 |
| | |||||
* | simplify process(handler) | Yuchen Pei | 2022-09-27 | 1 | -21/+22 |
| | | | | the only filter has a pre and a post function | ||||
* | minor renaming | Yuchen Pei | 2022-09-27 | 2 | -2/+2 |
| | |||||
* | disable contactfinder tests by default | Yuchen Pei | 2022-09-27 | 2 | -39/+41 |
| | | | | It tends to time out. Also moved injectContactFinder | ||||
* | minor camelcase renaming | Yuchen Pei | 2022-09-26 | 1 | -5/+5 |
| | |||||
* | refactoring editHtml. | Yuchen Pei | 2022-09-26 | 1 | -83/+100 |
| | | | | Separating out functions. | ||||
* | refactor: remove redundant result() in checkScriptAndUpdateReport | Yuchen Pei | 2022-09-26 | 1 | -19/+14 |
| | |||||
* | typo about returns string or pair in checkScriptAndUpdateReport | Yuchen Pei | 2022-09-26 | 1 | -9/+7 |
| | |||||
* | adding a node script to check a js file | Yuchen Pei | 2022-09-26 | 1 | -0/+40 |
| | |||||
* | acorn update breaks librejs | Yuchen Pei | 2022-09-23 | 1 | -1/+1 |
| | | | | also, acorn-loose is not used | ||||
* | fixing a typo | Yuchen Pei | 2022-09-23 | 1 | -1/+1 |
| | |||||
* | shellcheck build.sh | Yuchen Pei | 2022-09-23 | 1 | -3/+4 |
| | |||||
* | typos | Yuchen Pei | 2022-09-23 | 2 | -2/+2 |
| | |||||
* | fixing a bug introduced in 136cb7354a7. | Yuchen Pei | 2022-09-23 | 1 | -4/+10 |
| | | | | | | - the base url of the weblabel page should be the its own url unless set. otherwise the content script may use the url of the current page that references the weblabels page. | ||||
* | refactor editHtml | Yuchen Pei | 2022-09-22 | 2 | -38/+33 |
| | |||||
* | update copyright in license_definitions | Yuchen Pei | 2022-09-22 | 1 | -0/+1 |
| | |||||
* | move fname_data.json to common | Yuchen Pei | 2022-09-22 | 2 | -1/+1 |
| | |||||
* | Separating out script and license checking routines to common/checks | Yuchen Pei | 2022-09-22 | 3 | -374/+404 |
| | |||||
* | moving some modules to common/ | Yuchen Pei | 2022-09-22 | 5 | -7/+7 |
| | |||||
* | clean up external license checking a bit | Yuchen Pei | 2022-09-22 | 3 | -8/+17 |
| | |||||
* | refactor getScript with better names | Yuchen Pei | 2022-09-22 | 1 | -17/+16 |
| | | | | also moved list manager check out of licenseRead | ||||
* | refactor: clean up addReportEntry. | Yuchen Pei | 2022-09-22 | 1 | -52/+50 |
| | | | | also some smaller functions. | ||||
* | refactor: const instead of let | Yuchen Pei | 2022-09-22 | 1 | -19/+12 |
| | |||||
* | refactor: use set | Yuchen Pei | 2022-09-22 | 1 | -4/+4 |
| | |||||
* | refactoring getScript | Yuchen Pei | 2022-09-21 | 1 | -6/+6 |
| | |||||
* | update copyright in pattern_utils | Yuchen Pei | 2022-09-21 | 1 | -0/+1 |
| | |||||
* | refactoring get_script | Yuchen Pei | 2022-09-21 | 1 | -20/+20 |
| | | | | - index was a confusing arg | ||||
* | refactor license_read | Yuchen Pei | 2022-09-21 | 1 | -53/+53 |
| | |||||
* | clean up legacy_license_check | Yuchen Pei | 2022-09-21 | 2 | -16/+12 |
| | |||||
* | added some comments for various checks | Yuchen Pei | 2022-09-20 | 1 | -0/+3 |
| | |||||
* | clean up fullEvaluate | Yuchen Pei | 2022-09-20 | 1 | -48/+61 |
| | |||||
* | clean up checks for reserved objects | Yuchen Pei | 2022-09-20 | 1 | -23/+26 |
| | |||||
* | adding tests of calls to reserved objects. | Yuchen Pei | 2022-09-20 | 1 | -5/+12 |
| | |||||
* | Updating copyright to files touched in the previous commits. | Yuchen Pei | 2022-09-20 | 7 | -0/+7 |
| | |||||
* | adding a test for prefs default | Yuchen Pei | 2022-07-29 | 1 | -1/+14 |
| | |||||
* | fixing a bug introduced in commit b98cb70b1bc | Yuchen Pei | 2022-07-29 | 1 | -1/+2 |
| | | | | bug effect: no default subject and body shown for prefs | ||||
* | clean up bg/ListManager.js | Yuchen Pei | 2022-07-29 | 1 | -21/+15 |
| | |||||
* | cleainig externallicenses done | Yuchen Pei | 2022-07-29 | 1 | -13/+12 |
| | |||||
* | clean up bg/externalicenses.js sans optimizedocument | Yuchen Pei | 2022-07-29 | 1 | -33/+15 |
| | | | | fixing a bug introduced in the previous commit too | ||||
* | clean up bg/ExternalLicenses.js | Yuchen Pei | 2022-07-29 | 1 | -36/+36 |
| | |||||
* | clean up common/Storage.js | Yuchen Pei | 2022-07-28 | 1 | -24/+14 |
| | |||||
* | clean up common/Test.js | Yuchen Pei | 2022-07-28 | 1 | -8/+6 |
| | |||||
* | Clean up externalLicenseChecker.js | Yuchen Pei | 2022-07-28 | 1 | -29/+21 |
| | | | | Tests still pass | ||||
* | Moving scripts and utilities into a new utilities dir | Yuchen Pei | 2022-07-28 | 77 | -10/+11 |
| | |||||
* | clean up code in prefs panel | Yuchen Pei | 2022-07-28 | 2 | -59/+63 |
| |