traboukos / spree_contact_us Goto Github PK
View Code? Open in Web Editor NEWThis project forked from greendog/spree_contact_us
License: BSD 3-Clause "New" or "Revised" License
This project forked from greendog/spree_contact_us
License: BSD 3-Clause "New" or "Revised" License
SpreeContactUs ========= Requirements: 1) recaptcha (optional) 2) rails >= 3.1.0 Installation ======= Add-to Gemfile following lines: gem 'spree_contact_us', :git => 'git://github.com/greendog/spree_contact_us.git' gem "recaptcha", :require => "recaptcha/rails" # if you are using reCAPTCHA Run: bundle install Run: bundle exec rails g spree_contact_us:install Run: bundle exec rake db:migrate * Set mail method in admin area (/admin/mail_methods). Otherwise will not work! Upgrading ======= Run: bundle exec rails g spree_contact_us:install Run: bundle exec rake db:migrate Contact forms get spammed a lot ======= Includes support for reCAPTCHA http://www.google.com/recaptcha which can be configured in the admin under Configuration -> Inquiries. A "Honeypot" CAPTCHA is also available. This is a fairly effective method and requires zero effort on the part of the user. An empty form field is included in the form - if it has anything in it, a stupid bot has probably filled it out. It does assume that everyone is using a CSS-capable, visual user agent that will hide the field using display:none Extra Browser/Client info ========================= For helping with reports of site issues, the controller also gathers the UA string and remote IP. Viewport size is also recorded when the form is submitted via JS - if you want this, make sure //= require store/spree_contact_us is in your JS manifest file (usually /app/assets/javascripts/store/all.js) TESTING ======= $ bundle exec rake common:test_app $ bundle exec rake spec ~Enjoy~ Pull requests welcome. Please make sure changes are tested and tests pass.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.