Issues

Pull Requests

Commits

Use HTTP Proxy When Fetching Image URLs With Dragonfly

Fix timeout issues when imports attempt to pull in images from external
URLs by running all background requests in Dragonfly through the
$HTTP_PROXY. This is active on all non-local environments that
Workarea runs under (not development or test).

Issues

Pull Requests

Commits

Clear Unique Jobs Daily

Sidekiq Unique Jobs (in v5.x) does not clear out the key(s) it stores in
Redis to maintain job uniqueness. This results in out-of-memory (or disk
space) errors on the Redis server cluster. Workarea will now these unique
job keys out every day manually (with a scheduled job) in order to avoid
this problem.

Issues

Pull Requests

Commits

Safelist Kubernetes Health Checks In Rack::Attack

Kubernetes health checks use the non-standard IP address 127.0.0.1:0
to access the Workarea app server, causing an error when being
interpreted by the IPAddr class in Ruby. Prevent this error by
adding the aforementioned IP address to the safelist prior to any other
rules, the short-circuit prevents the IP from ever being instantiated as
an IPAddr.

Issues

Pull Requests

Commits

Improve Accuracy Of Placed Orders Query

Explicitly setting nil as the :placed_at timestamp for a given Order
caused it to be included in the query for all placed orders, because of
how MongoDB interprets the $exists query. Since the value was
explicitly set on the document, that document's attribute is considered to be
in existence, however, Workarea applications (by way of Mongoid) do not distinguish
between a nil/null value and a missing value. Update the
Workarea::Order.placed query to reflect this, filtering by whether
:placed_at is greater than ($gt) the first possible UNIX epoch time
value, 0.