
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
refinerycms-inquiries
Advanced tools
Add a simple contact form to Refinery that notifies you and the customer when an inquiry is made.
In summary you can:
When inquiries come in, you and the customer are generally notified. As we implemented spam filtering through the filters_spam plugin you will not get notified if an inquiry is marked as 'spam'. This feature is optional, and can be disabled in config/initializers/refinery/inquiries.rb
by setting config.filter_spam = false
.
Include the latest gem into your Refinery CMS application's Gemfile:
gem 'refinerycms-inquiries', '~> 3.0.0'
Then type the following at command line inside your Refinery CMS application's root directory:
bundle install
To install the migrations, run:
rails generate refinery:inquiries
rake db:migrate
Add pages to the database and you're done:
rake db:seed
Next, you can include the stylesheet that improves the form's display a bit,
and also adds an asterisk to each required
label: Name *
instead of Name
.
To do this, include it in your application.css
manifest file and insert:
//= require refinery/inquiries/inquiries
Note: enabling this feature disables the built in spam filtering.
Just add your reCAPTCHA "Site key" in config/initializers/refinery/inquiries.rb
:
config.recaptcha_site_key = "do NOT put your secret key here"
Inside config/secrets.yml
, the file for application secrets in Rails applications,
place the secret key:
development:
recaptcha_secret_key: "This IS your secret key"
production:
recaptcha_secret_key: <%= ENV["RECAPTCHA_SECRET_KEY"] %>
Note: This expects you to set your secret key via ENV
in your production environment.
Inquiries uses actionmailer
under the hood so you can refer to Rails Action Mailer guide. For example to use GMail see Action Mailer Configuration for GMail guide.
Go into your 'Inquiries' tab in the Refinery admin area and click on "Update who gets notified"
Go into your 'Inquiries' tab in the Refinery admin area and click on "Edit confirmation email"
Simply set the following in config/application.rb
:
config.action_dispatch.tld_length = 2
FAQs
Unknown package
We found that refinerycms-inquiries demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.