Bypass Cloudflare DDoS protection when fetching feeds
Sometimes when a page behind Cloudflare is under too much traffic, Cloudflare responds with a specially crafted page; this may happen with the feed fetch url as well, if it's behind Cloudflare. The...
View ArticleEnsure browser is closed after trying to bypass Cloudflare DDoS protection
If I don't do this, Chromium stays running by default even after worker exits, maybe a bug?
View ArticleUpdated rails 5.1.6 -> 5.2.0
Also use activeadmin master from github (rails 5.2 has been merged into master, but it's not yet in a released version of the gem). When a version of activeadmin with rails 5.2 support is released,...
View ArticleIn SQLite use 0/1 to represent booleans, instead of 'f'/'t'
This matters only in ci/dev/test. The old way of using 't'/'f' is deprecated. This removes a deprecation warning when running tests.
View ArticleChange the moment job state objects are created
This fixes an error that I think is caused by the recent upgrade to Rails 5.2. The User class has two has_one associations with OpmlImportJobState and OpmlExportJobState, representing the state of the...
View ArticleReverted 865969df53d5c54b2443769772f6f709e7a7899b
Using 1/0 instead of 't'/'f' during testing causes errors. It seems when inserting new EntryState records from the Entry#set_unread_state callback (called in the after_create of Entry), the field...
View ArticleMonkeypatch to disable advisory locks in postgres
Since this commit: https://github.com/rails/rails/pull/22122 rails tries to acquire an advisory lock when running migrations; this is intended to avoid the (unlikely) case of multiple migrations...
View ArticleUpdated activeadmin gem to 1.3.0
Version 1.3.0 has support for rails 5.2, no need to bundle an unreleased version from github.t
View Article
More Pages to Explore .....