Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript, refactoring, and DOMPurify #48

Open
wants to merge 54 commits into
base: master
Choose a base branch
from

Conversation

churchs19
Copy link
Contributor

Following a round of rejections by Mozilla reviewers for updating innerHTML without sanitizing, I went about rearchitecting the extension in TypeScript and modernizing the build chain with NPM and Webpack. I also refactored the API interfaces to simplify adding new parsing APIs in the future as needed.

churchs19 and others added 30 commits July 21, 2016 10:50
…for "Open Website" button, breaking the extension.
Addressing Muffo#13. Also updated NPM packages to latest
and fixed minor JSLint error in options.js.
Addressing Muffo#13. Also updated NPM packages to latest
and fixed minor JSLint error in options.js.
Fixed issue where full article images use .lightbox class resulting in
the image being absolutely positioned in the top left corner and
overlaying all of the Feedly UI and content. Feedly also uses the
.lightbox class, resulting in the mismatch.

The fix involves removing all class and width attributes from all
images in the full-article content and setting the style attribute to
max-width:100% in order to keep larger images contained within the
article container and flow.
Fixed issue where full article images use .lightbox class resulting in
the image being absolutely positioned in the top left corner and
overlaying all of the Feedly UI and content. Feedly also uses the
.lightbox class, resulting in the mismatch.

The fix involves removing all class and width attributes from all
images in the full-article content and setting the style attribute to
max-width:100% in order to keep larger images contained within the
article container and flow.
* full-article-image-fix:
  Article image formatting fix
Replaced document with contentElement to contain image fixes to just
the article being loaded.
Replaced document with contentElement to contain image fixes to just
the article being loaded.
* spinjs-bower:
  Updated Spin.js to use Bower
# Conflicts:
#	app/manifest.json
#	bower.json
* commit 'a230c07991c8f71e58930d7aec2c2c90267dd535':
  Prepare for release 0.9.0
  Correct missing spaces in comments
  Fixed bug causing formatting with other Feedly elements
  Article image formatting fix
  Move Mercury before Readability
  Add help image for Mercury
  Added support for Postlight Labs' Mercury Web Parser API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants