Commit Graph

154 Commits

Author SHA1 Message Date
Margaret Leibovic
2c7c504a36 Merge pull request #32 from gijsk/regex-issues-with-class-and-id-stuff
Fix regex issues. r=margaret
2015-03-19 10:15:35 -07:00
Gijs
aec1ce774d Merge pull request #31 from gijsk/testing-generates
Allow generating tests from the web, make testing more closely match Firefox
2015-03-19 10:13:36 -07:00
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. 2015-03-19 10:10:50 -07:00
Gijs Kruitbosch
1c42f29aa5 Create a script to generate testcases, actually use our version of JSDOMParser 2015-03-19 10:10:42 -07:00
Gijs Kruitbosch
b5e905ef6b Fix JSDOMParser to deal with scripts and all whitespace, not just spaces, and s/let/var/. 2015-03-19 09:27:23 -07:00
Gijs
23e6eef8b3 Merge pull request #34 from mozilla/gijsk-support-https-video
Fix video regular expression to support https
2015-03-19 09:00:45 -07:00
Gijs
17062c1ccf Fix video regular expression to support https 2015-03-19 06:43:28 -07:00
Gijs
d9f1e884dd Fix regex issues 2015-03-18 22:23:47 -07:00
Gijs Kruitbosch
cd89e18647 Import the tree's JSDOMParser 2015-03-18 19:38:36 -07:00
Gijs
a907fce85e Merge pull request #28 from mozilla/jsdom-tests
Switched to using jsdom for tests.
2015-03-18 13:11:35 -07:00
Nicolas Perriault
fac76c6c1a Added support for readability log messages forwarding to node. 2015-03-18 19:39:13 +01:00
Nicolas Perriault
7da6e82fec Switched to using jsdom for tests. 2015-03-18 18:49:36 +01:00
Margaret Leibovic
98ee8f7463 Merge pull request #27 from gijsk/fix-missing-paragraphs
Bug 1144441 - avoid leaving out paragraphs. r=margaret
2015-03-17 18:47:07 -07:00
Gijs Kruitbosch
1d2df4a70e Bug 1144441 - avoid leaving out paragraphs 2015-03-17 18:18:44 -07:00
Gijs
6c9c93d306 Merge pull request #26 from leibovic/emptydoc
Bug 1144355 - Bail if we don't have a body to parse. r=Gijs
2015-03-17 18:17:24 -07:00
Margaret Leibovic
a9bd60154d Bug 1144355 - Bail if we don't have a body to parse. r?Gijs 2015-03-17 17:38:35 -07:00
Margaret Leibovic
72a3e5de63 Merge pull request #25 from gijsk/fix-class-related-logging-error
Fix class-related logging exception
2015-03-17 17:20:53 -07:00
Gijs Kruitbosch
d3f84a1e58 Fix class-related logging exception 2015-03-17 17:13:51 -07:00
Margaret Leibovic
def96aa7f6 Merge pull request #24 from gijsk/improve-logging-elements
Improve logging of elements. r=margaret
2015-03-17 16:57:33 -07:00
Gijs Kruitbosch
ce0ebe24e0 Improve logging of elements 2015-03-17 16:22:26 -07:00
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
2015-03-17 15:01:44 -07:00
Gijs
47d49dd43a Merge pull request #23 from mozilla/add-logging-to-tests
Added logging to test output.
2015-03-17 14:45:48 -07:00
Nicolas Perriault
99f338a03a Added logging to test output. 2015-03-17 22:42:59 +01:00
Gijs Kruitbosch
b62fd27ba6 Don't create/leave empty class attributes around all the nodes we're using. 2015-03-17 13:17:49 -07:00
Margaret Leibovic
cfe299e878 Merge pull request #21 from gijsk/reordering
Fix bug 1127778 - paragraph reordering caused by removing items in-loop. r=margaret
2015-03-17 13:04:28 -07:00
Gijs Kruitbosch
aebd13b12b Bug 1127778 - fix Readability test suite to always use its own copy so travis build passes 2015-03-17 12:49:48 -07:00
Gijs Kruitbosch
a563714567 Bug 1127778 - while we're at it, add more logs. 2015-03-17 12:02:03 -07:00
Gijs Kruitbosch
3c277a1701 Bug 1127778 - fix paragraph reordering and add a test for it. 2015-03-17 12:01:45 -07:00
Margaret Leibovic
b4cd3556f3 Merge pull request #20 from mozilla/tests
Added basic functional test + travis setup.
2015-03-17 10:37:21 -07:00
Nicolas Perriault
3bef3e7029 Added basic functional test + travis setup. 2015-03-16 15:12:10 +01:00
Margaret Leibovic
6fa1088473 Merge pull request #19 from pdehaan/patch-1
Convert `const` to `var`. r=margaret
2015-03-04 13:57:12 -08:00
Peter deHaan
78b61ccbcd Convert const to var
Per https://github.com/mozilla/readability/issues/18#issuecomment-77229549
2015-03-04 13:54:34 -08:00
Margaret Leibovic
9277b59d37 Merge pull request #15 from leibovic/master
Remove compare-view in favor of readable-proxy. r=me
2015-02-26 12:03:15 -08:00
Margaret Leibovic
96e4598ee4 Move "Contributing" section to be higher in the README 2015-02-26 12:01:38 -08:00
Margaret Leibovic
1fd72d6472 Remove compare-view in favor of readable-proxy, and update README to explain that 2015-02-26 12:00:34 -08:00
Margaret Leibovic
36213108b6 Merge pull request #14 from mozilla/license-header
Update README to include license
2015-02-26 10:40:22 -08:00
Margaret Leibovic
49081a1455 Update README to include license
I took this license block from the Readability.js license header.

This should address this issue #8.
2015-02-25 07:03:14 -08:00
Margaret Leibovic
93861352c9 Update README.md 2015-02-23 15:42:07 -08:00
Margaret Leibovic
f9640b7a02 Merge pull request #7 from leibovic/master
Create "compare view" test page for easier development
2015-02-22 16:25:02 -08:00
Margaret Leibovic
b933024f5a remove .DS_Store 2015-02-22 11:10:31 -08:00
Margaret Leibovic
de5712c6e1 add .gitignore 2015-02-22 11:10:03 -08:00
Margaret Leibovic
97762aff05 Create "compare view" test page for easier development 2015-02-22 11:08:46 -08:00
Margaret Leibovic
c0b1586190 Merge pull request #6 from srlakhe/readability1
Bug 958735 Function purgeNode moved
2015-02-18 15:28:21 -08:00
srlakhe
a93aa7d0ad Updated Readability.js 2015-02-15 10:37:42 +05:30
shreyas
8061bf0254 Bug 958735 Function purgeNode moved 2015-02-14 10:38:58 +05:30
Margaret Leibovic
ba4bd9b465 Delete LICENSE
Oops, this code isn't actually MPL. My bad.
2015-02-10 16:21:31 -08:00
Margaret Leibovic
f9cd991c96 Create LICENSE 2015-02-10 16:18:59 -08:00
Margaret Leibovic
bfe6c49202 Update README.md 2015-02-10 16:17:21 -08:00
Stefan Arentz
296b132861 Merge pull request #4 from mozilla/st3fan/ReturnUri
Readability.parse() also return the uri
2015-02-09 16:56:45 -05:00
Stefan Arentz
b67d8c13eb Merge pull request #2 from mozilla/st3fan/LetToVar
Fixes #1 Replace occurrences of let with var
2015-02-09 16:56:34 -05:00