Replace calls to ActiveSupport's "try" with the safe navigation operator "&."
The safe navigation operator is new in ruby 2.3.0 For more details see for example: http://mitrev.net/ruby/2015/11/13/the-operator-in-ruby/
View ArticleAdded Zlib::DataError to the errors that can be expected to be raised when fe...
If this (rare) error happens, this means that something is wrong with the zipping of the HTTP response. The error is not raised, to avoid sidekiq adding the worker to its list of retries; rather, the...
View ArticleUse a fork of rack-cache.
This fork allows setting the entity store to nil. When configured this way, it returns empty bodies for cached responses, instead of returning the original body. It doesn't persist entities, which...
View ArticleWhen fetching feeds using rack-cache for client-side caching, set entitystore...
This keeps rack-cache from persisting response bodies in disk. We are not interested in those bodies, if a response indicates that the cache for that feed is still valid, all feed processing can be...
View ArticleSet Rack-cache verbosity to false.
This removes some messages from the logs. Also will probably remove IO errors that happen occasionally when trying to write logs from rack-cache.
View ArticleRun FixSchedulesWorker daily at 6AM instead of 5AM.
This way this scheduling does not clash with the automated sidekiq restart that happens at 5AM. This fixes a bug: FixSchedulesWorker was often not running at the scheduled time.
View ArticleMerge pull request #13 from yogodoshi/update-gems-with-vulnerabilities
Update nokogiri and devise gems because of vulnerabilities
View ArticleUpdated devise gem 3.5.4 -> 3.5.5
The "remember me" feature works again, it seems it got broken in 3.5.4
View ArticleUpdated ox gem 2.2.2 -> 2.2.3
Supposedly it fixes some errors in ruby 2.3.0. I'm running ruby 2.3.0 with ox 2.2.2 and I haven't seen any such failures, but better be safe than sorry I suppose.
View ArticleFixed declarations of private class methods.
In ruby, defining class methods after a "private" line does not work, it only works for instance methods. Marking class methods as private is a bit more complex and there are several possible...
View ArticleAdd back "self" in FileClient.
It is not strictly necessary but it makes the intent of the code more clear.
View ArticleWhen calling a private class method from the same class, do it without an exp...
Private functions, either class or instance level, cannot be called with an explicit receiver, not even "self". They must be called without an explicit receiver, which uses the implicit "self"...
View ArticleFix displaying the number of unread entries in the favicon for Chrome.
Currently favico.js has a bug which only updates the last element with rel="icon" if there are several in the page head. This maeans that the favicon must be last in the head, particularly it must...
View ArticleUpdated rails 4.2.5 -> 4.2.5.1
This fixes multiple vulnerabilities. For more details see: http://weblog.rubyonrails.org/2016/1/25/Rails-5-0-0-beta1-1-4-2-5-1-4-1-14-1-3-2-22-1-and-rails-html-sanitizer-1-0-3-have-been-released/
View ArticleFix bug that could cause the wrong entries to be marked as read in quick read...
A bug could happen if the open entry had a bigger height than the viewport. In this case the code that detects the first visible entry failed (it assumes there is at least an entry link visible in the...
View ArticleFix marking entries as read while scrolling (quick reading mode).
This commit fixes the case in which, when scrolling stops momentarily, the viewport is completely filled with an entry content, with no entry links visible. In this case the app should mark as read...
View Article
More Pages to Explore .....