Upload managers (S3Client, FileClient) now receive a user ID as argument,...
Upload managers (S3Client, FileClient) now receive a user ID as argument, instead of a user instance. This way they can operate on uploaded files even if the user has been deleted. The User ID is part...
View ArticleBetter control the case in which the server returns a blank response (or no...
Better control the case in which the server returns a blank response (or no response) when fetching a feed.
View ArticleWhen subscribing to a feed, check if the feed is blacklisted before checking...
When subscribing to a feed, check if the feed is blacklisted before checking if the feed is already in the DB. In the case that the feed is blacklisted AND exists in the DB (this should never happen,...
View ArticleWIP: support for internationalized URLs.
See here: http://en.wikipedia.org/wiki/Internationalized_domain_name The native ruby URI module does not support IRIs, but the addressable gem does.
View ArticleMoved the method to normalize URLs from a helper module to a class in /lib.
This is more coherent with the code organization of the rest of the project.
View ArticleMoved code that normalizes entry URLs to the URLNormalizer class.
It is similar to the normalization of feed URLs but with some differences. Most importantly relative URLs have to be translated to absolute ones. Also, bring back reencoding from iso8859-1 to utf-8 if...
View ArticleDisable container-based infrastructure in Travis CI.
This should make build run in the standard linux infrastructure. This is part of an effort to get rid of "broken pipe" errors in the acceptance tests, seemingly caused by the capybara-webkit process...
View ArticleNormalize image URLs in entries before saving.
Otherwise internationalized image URLs would get broken by Nokogiri when stripping comments, which would prevent them from loading in the browser. The normalization of the image URLs must happen...
View ArticleFixed bug in entry url normalization.
The wrong url was being used to check if the url is relative, which could cause incorrect urls for entry images.
View ArticleBefore_validation hook in entries performs methods in a different order.
Order is critical to get the desired effect, still tweaking it.
View ArticleUse the sanitize gem instead of a rails sanitizer to sanitize model attribute...
For more about this gem see: https://github.com/rgrove/sanitize It allows finer control than the default rails sanitizer (and the deprecated sanitizer). It allows setting a sanitization config that...
View ArticleRemoved method to remove HTML comments from entry summaries and contents.
The new sanitizer gem we're using removes comments by default.
View Article