Quantcast
Channel: FeedBunch:b54e495f119e59ca834594380fbcd5555f8cf5cf commits
Browsing all 28 articles
Browse latest View live

Allow configuring port/socket binding with the PORT env variable

View Article



The FORCE_SSL env variable can make the app secure.

The app is secure by default, if FORCE_SSL is not set. This toggles the force_ssl rails flag, which among other things makes TLS mandatory, marks cookies as secure-only and enables HSTS. Generally...

View Article

Use FORCE_SECURE env var instead of FORCE_SSL to force secure behavior

It not only forces the use of SSL but also HSTS and secure cookies.

View Article

Changelog

View Article

Correctly use the FORCE_SECURE env variable

Env vars are strings, not booleans. Convert to boolean before actually using the value in code.

View Article


Control log level in production with the FEEDBUNCH_LOG_LEVEL env var

It takes the value "warn" by default.

View Article

Make SMTP port and authentication method parametrizable.

These are used to connect to an SMTP server to when sending emails. They can be set via values in secrets.yml file.

View Article

Updated nokogiri gem 1.10.10 -> 1.11.0

View Article


Removed facebook app ID from secrets.

Sharing entries in facebook has not worked for a long, long while.

View Article


Make uploads behavior parametrizable via env variables

- UPLOADS_LOCATION: "local" means use a local uploads folder, "s3" means use an AWS S3 bucket. - new secret to configure AWS region to use, in case S3 is used for uploads. - if S3 is used for uploads,...

View Article

Use a single sidekiq server initialization block

FeedBunch was making two calls to Sidekiq.configure_server : one to initialize the redis connection pool and a second one to create default scheduled jobs. There is a possibility that this was causing...

View Article

Added script to create users non-interactively.

It can be invoked with "rails runner" to e.g. populate the initial admin user in a new installation.

View Article

Disable confirmation email for users created non-interactively

Use the correct Devise method (.skip_confirmation!, part of the Confirmable module for Devise) instead of hackishly trying to disable ActiveMailer sending emails.

View Article


Parametrize the base url in links inside emails sent by the app

The EMAIL_LINKS_URL environment variable controls this base url. It takes the value "https://www.feedbunch.com" if the env var is not set.

View Article

Fix markdown typo

View Article


Fixed bug in URL parsing

View Article

Fixed default settings for mailers

View Article


Enabling or disabling the demo user is controlled by an env var

The DEMO_USER_ENABLED environment variable controls whether the demo user is enabled or not. Enabled by default.

View Article

Fully configure the demo user only if it's actually enabled

View Article

Run worker that reset demo user hourly only if demo user is enabled

View Article
Browsing all 28 articles
Browse latest View live




Latest Images