{"id":13778779,"url":"https://github.com/refinery/refinerycms-inquiries","last_synced_at":"2025-04-12T15:39:17.865Z","repository":{"id":1032355,"uuid":"860678","full_name":"refinery/refinerycms-inquiries","owner":"refinery","description":"Inquiries extension for Refinery CMS","archived":false,"fork":false,"pushed_at":"2025-01-17T01:41:26.000Z","size":558,"stargazers_count":102,"open_issues_count":4,"forks_count":131,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-03T16:11:50.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://refinerycms.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/refinery.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-08-25T03:24:38.000Z","updated_at":"2025-01-17T01:41:28.000Z","dependencies_parsed_at":"2022-08-16T11:50:35.539Z","dependency_job_id":"9919c5b9-d4eb-4b7f-a3f1-b903c6c14d98","html_url":"https://github.com/refinery/refinerycms-inquiries","commit_stats":{"total_commits":377,"total_committers":59,"mean_commits":6.389830508474576,"dds":0.6021220159151194,"last_synced_commit":"7cbbcbde2aaf2eac4f433985b758810e01c7e159"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refinery%2Frefinerycms-inquiries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refinery%2Frefinerycms-inquiries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refinery%2Frefinerycms-inquiries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refinery%2Frefinerycms-inquiries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/refinery","download_url":"https://codeload.github.com/refinery/refinerycms-inquiries/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590661,"owners_count":21129870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T18:00:57.393Z","updated_at":"2025-04-12T15:39:17.841Z","avatar_url":"https://github.com/refinery.png","language":"Ruby","funding_links":[],"categories":["Refinery team extensions"],"sub_categories":["Frontoffice extensions"],"readme":"# Inquiries\n\n![Refinery Inquiries](http://refinerycms.com/system/images/BAhbBlsHOgZmSSIqMjAxMS8wNS8wMS8wNF81MF8wMV81MDlfaW5xdWlyaWVzLnBuZwY6BkVU/inquiries.png)\n\n## About\n\n__Add a simple contact form to Refinery that notifies you and the customer when an inquiry is made.__\n\nIn summary you can:\n\n* Collect and manage inquiries\n* Specify who is notified when a new inquiry comes in\n* Customise an auto responder email that is sent to the person making the inquiry\n\nWhen inquiries come in, you and the customer are generally notified. As we implemented spam filtering through the [filters_spam plugin](https://github.com/resolve/filters_spam#readme) 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`.\n\n### Gem Installation using Bundler (The very best way)\n\nInclude the latest [gem](http://rubygems.org/gems/refinerycms-inquiries) into your Refinery CMS application's Gemfile:\n\n```ruby\ngem 'refinerycms-inquiries', '~\u003e 3.0.0'\n```\n\nThen type the following at command line inside your Refinery CMS application's root directory:\n\n    bundle install\n\n#### Installation on Refinery 2.0.0 or above.\n\nTo install the migrations, run:\n\n    rails generate refinery:inquiries\n    rake db:migrate\n\nAdd pages to the database and you're done:\n\n    rake db:seed\n\n#### Optionally include the stylesheet.\n\nNext, you can include the stylesheet that improves the form's display a bit,\nand also adds an asterisk to each `required` label: `Name *` instead of `Name`.\n\nTo do this, include it in your `application.css` manifest file and insert:\n\n```css\n//= require refinery/inquiries/inquiries\n```\n\n## How do I enable reCAPTCHA support?\n\nNote: enabling this feature disables the built in spam filtering.\n\nJust add your reCAPTCHA \"Site key\" in `config/initializers/refinery/inquiries.rb`:\n\n```ruby\nconfig.recaptcha_site_key = \"do NOT put your secret key here\"\n```\n\nInside `config/secrets.yml`, the file for application secrets in Rails applications,\nplace the secret key:\n\n```yml\ndevelopment:\n  recaptcha_secret_key: \"This IS your secret key\"\n\nproduction:\n  recaptcha_secret_key: \u003c%= ENV[\"RECAPTCHA_SECRET_KEY\"] %\u003e\n```\n\nNote: This expects you to set your secret key via `ENV` in your production environment.\n\n## How do I set up email to be sent from GMail, SendGrid or other service?\n\nInquiries uses `actionmailer` under the hood so you can refer to [Rails Action Mailer guide](http://guides.rubyonrails.org/action_mailer_basics.html). For example to use GMail see [Action Mailer Configuration for GMail](http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration-for-gmail) guide.\n\n## How do I get Notified?\n\nGo into your 'Inquiries' tab in the Refinery admin area and click on \"Update who gets notified\"\n\n## How do I Edit the Automatic Confirmation Email\n\nGo into your 'Inquiries' tab in the Refinery admin area and click on \"Edit confirmation email\"\n\n## Help! How do I send emails from no-reply@domain.com.au instead of no-reply@com.au?\n\nSimply set the following in `config/application.rb`:\n\n```ruby\nconfig.action_dispatch.tld_length = 2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefinery%2Frefinerycms-inquiries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frefinery%2Frefinerycms-inquiries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefinery%2Frefinerycms-inquiries/lists"}