aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-03Support tests outside the source directoryjahotijahoti
Explicitly use certs in the build directory, and tests in the source
2021-12-03Distinguish testing and installation browsersjahoti
The configure script now accepts BROWSER and TEST_BROWSER
2021-12-03Correct types in test/misc_constants.jahoti
Load variable overrides with correct types
2021-12-03Clean up Makefile test targetsjahoti
Mark off the "tests" section and warn about build dir inflexibility
2021-12-03Make testing configurablejahoti
Add options to configure in accordance with #97
2021-12-03Merge branch 'koszko' into jahotijahoti
2021-12-01improve unit testing approachWojtek Kosior
Unit tests were moved to their own subdirectory. Fixtures common to many unit tests were moved to test/unit/conftest.py. A facility to execute scripts in page's global scope was added. A workaround was employed to present information about errors in injected scripts. Sample unit tests for regexes in common/patterns.js were added.
2021-12-01facilitate testing javascript functionsWojtek Kosior
Haketilo's .js files can now be loaded together with their dependencies and executed on a page opened in a selenium-driven Firefox instance.
2021-11-30rewrite parts of build script in awkWojtek Kosior
2021-11-27add Selenium- and Python-based test systemWojtek Kosior
2021-11-20replace cookies with synchronous XmlHttpRequest as policy smuggling method.Wojtek Kosior
Note: this breaks Mozilla port of Haketilo. Synchronous XmlHttpRequest doesn't work as well there. This will be fixed with dynamically-registered content scripts later.
2021-10-14merge build systemWojtek Kosior
2021-10-14Add target and install directory auto-detectionjahoti
It's simplistic, yet (hopefully) good enough.
2021-10-14Add (basic) install supportjahoti
The extension can be installed if DESTDIR is supplied
2021-10-14Adjust makefile targetsjahoti
Rename some files used in building and remove redundant aliases
2021-10-13Add GNU's make targets, implementing distjahoti
Distribution tarballs can now be made with "make dist".
2021-10-13Tidy up Makefilejahoti
Add file prerequisites and some other minor changes
2021-10-13Add VPATH and Haketilo version to the makefile as part of configure.jahoti
2021-10-10Add a configuration systemjahoti
2021-10-10Correct copyright and license notices on Makefilejahoti
No template code ended up being drawn from JShelter.
2021-10-10Quote $BUILDDIR throughout build.shjahoti
Ensure build.sh can deal with arbitrary build directories.
2021-10-07Start on a makefilejahoti
Currently includes targets for unpacked versions and zips
2021-10-06Restart modifications to build with a makefile in mindjahoti
2021-10-01Add complete firefox extension upload and download functionalityWojtek Kosior
2021-10-01add shell script facilitating generation of JWTWojtek Kosior
2021-09-15Add default repository to default settingsnickjahoti
2021-09-14bump version to 0.1Wojtek Kosior
2021-09-14use default settings that only contain a demo script (the rest is available ↵Wojtek Kosior
through Hydrilla)
2021-09-13rename the extension to "Haketilo"Wojtek Kosior
2021-09-11added missing line break in options pageWojtek Kosior
2021-09-10disable service workers when scripts are blockedWojtek Kosior
2021-09-10Make it impossible to check "Allow native scripts" for pages with payload.Wojtek Kosior
2021-09-10limit allowed pattern lengthsWojtek Kosior
2021-09-09restore compatibility with IceCat 60Wojtek Kosior
2021-09-09simplify CSP handlingWojtek Kosior
All page's CSP rules are now removed when a payload is to be injected. When there is no payload, CSP rules are not modified but only supplemented with Hachette's own.
2021-09-08Fix sanitizing of non-HTML XMLDocument'sWojtek Kosior
2021-09-06re-enable sanitizing of data: URLs and also sanitize intrinsics on non-HTML ↵Wojtek Kosior
pages where CSP doesn't work
2021-09-06generate Chromium unique key automatically in `build.sh'Wojtek Kosior
2021-09-04fix script blocking bug under ChromiumWojtek Kosior
2021-09-04update documentation link in the READMEWojtek Kosior
2021-09-04show appropriate message when repository returns no custom content for given URLWojtek Kosior
2021-09-04merge changes before version 0.1Wojtek Kosior
2021-09-04Make test suite mildly usablejahoti
Allow test/server.py to be run as a command and add some "webpages" for it.
2021-09-03limit width of url in popup headingWojtek Kosior
2021-09-03disable payload injection on non-html pagesWojtek Kosior
2021-09-03only apply stream filter modifications when reasonably necessaryWojtek Kosior
2021-09-02implement rethinked <meta> tags sanitizing approachWojtek Kosior
This has not been tested yet. Additionally, functionality for blocking of `data:' urls needs to be re-enabled.
2021-09-02also require "unlimitedStorage" permission to avoid surprise laterWojtek Kosior
2021-09-02enable toggling of global script blocking policy\n\nThis commit also ↵Wojtek Kosior
introduces `light_storage' module which is later going to replace the storage code we use right now.\nAlso included is a hack to properly display scrollbars under Mozilla (needs testing on newer Mozilla browsers).
2021-09-01add styling to settings install(import) dialogWojtek Kosior