Commit Graph

171 Commits (85101066386a0872526a6c4ae164c18fcd6cc1db)
 

Author SHA1 Message Date
Margaret Leibovic d0df9d8479 Merge pull request #40 from leibovic/byline
Improve byline algorithm. r=Gijs
9 years ago
Margaret Leibovic 3c2d93cd09 Improve byline algorithm 9 years ago
Gijs 32e7702ea4 Merge pull request #44 from DavidBruant/patch-1
Update package.json
9 years ago
Gijs 3e287a90d5 Merge pull request #42 from mozilla/better-test-docs
Better test docs.
9 years ago
David Bruant 3f16d5bd92 Update package.json 9 years ago
Nicolas Perriault f4670a1531 Better test docs. 9 years ago
Gijs afa61e33cc Merge pull request #41 from mozilla/detailed-test-reports
More detailed test reports.
9 years ago
Nicolas Perriault df02218905 More detailed test reports. 9 years ago
Gijs c2a733fa46 Merge pull request #37 from gijsk/remove-reliance-on-inert-nodecollection
Remove reliance on inert nodecollection
9 years ago
Gijs Kruitbosch 2b09db3300 Improve logging for errors in test runs, add a way to run just some tests (using an env var because mocha doesn't support passing arguments) 9 years ago
Gijs Kruitbosch d94f3158d3 Fix readability.js to do a DOM traversal rather than relying on a wonky DOMCollection, fix trims, fix a potential null access, etc. 9 years ago
Gijs Kruitbosch 9c4648193c Fix JSDOMParser to have support for X-Element-Y (for X from first, last, next, previous; Y from Child, Element) 9 years ago
Gijs 4903846104 Merge pull request #35 from leibovic/metatest
Check metadata in tests
9 years ago
Margaret Leibovic 639c878af5 Generate expected-metadata.json in generate-testcase.js 9 years ago
Margaret Leibovic 1b5d896b8b Add expected-metadata.json for existing tests 9 years ago
Margaret Leibovic 6490d7205d Update test to check metadata 9 years ago
Margaret Leibovic fc53e1a315 Set 'name' variable to null in _getExcerpt to avoid old values in future for loop iterations 9 years ago
Margaret Leibovic 2c7c504a36 Merge pull request #32 from gijsk/regex-issues-with-class-and-id-stuff
Fix regex issues. r=margaret
9 years ago
Gijs aec1ce774d Merge pull request #31 from gijsk/testing-generates
Allow generating tests from the web, make testing more closely match Firefox
9 years ago
Gijs Kruitbosch 5efddf6620 Update all the tests, add a bunch of random things so we have some base idea of what stuff we're breaking when changing things. 9 years ago
Gijs Kruitbosch 1c42f29aa5 Create a script to generate testcases, actually use our version of JSDOMParser 9 years ago
Gijs Kruitbosch b5e905ef6b Fix JSDOMParser to deal with scripts and all whitespace, not just spaces, and s/let/var/. 9 years ago
Gijs 23e6eef8b3 Merge pull request #34 from mozilla/gijsk-support-https-video
Fix video regular expression to support https
9 years ago
Gijs 17062c1ccf Fix video regular expression to support https 9 years ago
Gijs d9f1e884dd Fix regex issues 9 years ago
Gijs Kruitbosch cd89e18647 Import the tree's JSDOMParser 9 years ago
Gijs a907fce85e Merge pull request #28 from mozilla/jsdom-tests
Switched to using jsdom for tests.
9 years ago
Nicolas Perriault fac76c6c1a Added support for readability log messages forwarding to node. 9 years ago
Nicolas Perriault 7da6e82fec Switched to using jsdom for tests. 9 years ago
Margaret Leibovic 98ee8f7463 Merge pull request #27 from gijsk/fix-missing-paragraphs
Bug 1144441 - avoid leaving out paragraphs. r=margaret
9 years ago
Gijs Kruitbosch 1d2df4a70e Bug 1144441 - avoid leaving out paragraphs 9 years ago
Gijs 6c9c93d306 Merge pull request #26 from leibovic/emptydoc
Bug 1144355 - Bail if we don't have a body to parse. r=Gijs
9 years ago
Margaret Leibovic a9bd60154d Bug 1144355 - Bail if we don't have a body to parse. r?Gijs 9 years ago
Margaret Leibovic 72a3e5de63 Merge pull request #25 from gijsk/fix-class-related-logging-error
Fix class-related logging exception
9 years ago
Gijs Kruitbosch d3f84a1e58 Fix class-related logging exception 9 years ago
Margaret Leibovic def96aa7f6 Merge pull request #24 from gijsk/improve-logging-elements
Improve logging of elements. r=margaret
9 years ago
Gijs Kruitbosch ce0ebe24e0 Improve logging of elements 9 years ago
Margaret Leibovic 03d9e36161 Merge pull request #22 from gijsk/fix-empty-classes
Don't create/leave empty class attributes around all the nodes we're using. r=margaret
9 years ago
Gijs 47d49dd43a Merge pull request #23 from mozilla/add-logging-to-tests
Added logging to test output.
9 years ago
Nicolas Perriault 99f338a03a Added logging to test output. 9 years ago
Gijs Kruitbosch b62fd27ba6 Don't create/leave empty class attributes around all the nodes we're using. 9 years ago
Margaret Leibovic cfe299e878 Merge pull request #21 from gijsk/reordering
Fix bug 1127778 - paragraph reordering caused by removing items in-loop. r=margaret
9 years ago
Gijs Kruitbosch aebd13b12b Bug 1127778 - fix Readability test suite to always use its own copy so travis build passes 9 years ago
Gijs Kruitbosch a563714567 Bug 1127778 - while we're at it, add more logs. 9 years ago
Gijs Kruitbosch 3c277a1701 Bug 1127778 - fix paragraph reordering and add a test for it. 9 years ago
Margaret Leibovic b4cd3556f3 Merge pull request #20 from mozilla/tests
Added basic functional test + travis setup.
9 years ago
Nicolas Perriault 3bef3e7029 Added basic functional test + travis setup. 9 years ago
Margaret Leibovic 6fa1088473 Merge pull request #19 from pdehaan/patch-1
Convert `const` to `var`. r=margaret
9 years ago
Peter deHaan 78b61ccbcd Convert `const` to `var`
Per https://github.com/mozilla/readability/issues/18#issuecomment-77229549
9 years ago
Margaret Leibovic 9277b59d37 Merge pull request #15 from leibovic/master
Remove compare-view in favor of readable-proxy. r=me
9 years ago