Commits
Thomas Tornevall authored 1c8b2643a69M
Merge pull request #4 in WWW/network-tools-js from develop/3.0.0 to master * commit 'dfc7a26ba3ca8c4141aec5c8eb69d36ff90e7d60': auth.tornevall.net renamed to selftest.tornevall.net for future usages NT-105: Restored the initial / in the urls as they have to be decoded first. NT-105: Added more rightWing sites to expand the hit ratio during tests. NT-105: Added support for custom actions and descriptions. NT-105: Expanding rulesets and configuration data passed between methods (findingWords object). NT-105: Added getToolsToArray to make some objects become nicer arrays. NT-105: Added setSiteDetectionAction to make major methods smaller and to decide which action that should be used. NT-105: Added getContentSiteValue to fetch data from categoryData-blocks. NT-105: Adapted getRulesDefaults to include more custom data. NT-105: Scripts will add custom class to objects that has been handled. For this case, we may be able to hide data without removing it (for restoring them). NT-105: Removed content handlers from major methods and gave them their own - setContentReplace(), setContentAttachment(). NT-105: Added getToolsRenderedHtmlReport() to create a flagged-element-renderer. NT-105: Added getToolsParentElement() to make a method that autoloops back to correct parent nodes. NT-105: getToolsVerifyElement() is used to verify multiple of our own classes with help from getToolsElementMarker. NT-105: getRulesDefaults renderer updated. NT-105: Moved mockdata into background scripts. Not because we need it, its more like a precaution fix. NT-105: Renamed config.js to tools-config.js and pushed the rawdata js-files into proper paths. NT-105: css modifications. NT-105: Deprecation: netToolsApiContentMockDeprecated NT-105: Upgrade: netToolsApiContentMock and netToolsApiElementRulesMock NT-105: Automatically prepare an export object (stringified data from the above mockobjects) in the config. NT-105: enableMock flag (should be activated from config). NT-105: Moved old scanner/analyzer into split methods, to make it easier to scan in categories. NT-105: Added method to get default rulesets from JSON. NT-105: Added extra options in configuration. * Speeding up detected matches in the scanning loop (breakOnFirstMatch). * Use mock instead of API - the only available option right now (apiMock). Updated top content in minified scripts Updated README. Added bootstrap to collection. README added.
Showing diff todfc7a26ba3c