pointless_feedback 4.0.6 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '091d5e6f845288e75f5c8bd5722922a8640e8cceca85887d6fdb31e9eb89851c'
4
- data.tar.gz: 5861a81108d4fd330f0a36db618e98f8e3f9a5a3c0723ac6bef420c0aecb063d
3
+ metadata.gz: d6504a3d51cee80b98447367511dccc8c4d7a156d41d5df3ee1053274f0bbf21
4
+ data.tar.gz: 02f9046a9b95abdb0b92742c29f4b2218f7b2a225534806f378fb2878fbd278f
5
5
  SHA512:
6
- metadata.gz: ca3b040b761a82b53e812a15bf607abb9dab698eb9a2e43db3de1d37fc5705b79f9bb033694b1da30b6a94c4937b50b70c211be050557b878c2b6431e485caa4
7
- data.tar.gz: 498962cf26d23c1b00ef620df27004f9b3bd6f8ca486c3aa0ad78fe12bf86d5a9210ffc7a002531940b76eba94ed725ac6e1a7e8c22daaf22766610e84f0cbe9
6
+ metadata.gz: 0c891dde55769166047db2cb393638dcfba10d5283cb3baf3e1906264e7b235feaf60587224ac265934ae2da15283df786a1fefa42eac231ffe8c5c014eef580
7
+ data.tar.gz: a06cacea7a96d0cc0cd970078d4605046d4dae9c0e6ff7c061a26c2f789ad02a9866279d35658bace837091715348b2e91786a71cb439c571e9c5c03b86e9152
data/README.md CHANGED
@@ -72,12 +72,14 @@ feedback form that users can submit.
72
72
 
73
73
  There are a number of configuration variables you can set in the initializer generated by `rails generate pointless_feedback:install`
74
74
 
75
- **message_topics:**
76
- Defaults to `['Error on page', 'Other']`. Populates the "Topic" dropdown for feedback submissions.
75
+ #### Email Configuration
77
76
 
78
77
  **email_feedback:**
79
78
  Defaults to `false`. If set to `true` will send feedback as an email.
80
79
 
80
+ **message_topics:**
81
+ Defaults to `['Error on page', 'Other']`. Populates the "Topic" dropdown for feedback submissions.
82
+
81
83
  **send_from_submitter:**
82
84
  Defaults to `false`. If set to `true` will use the submitted email address as the from address for feedback emails.
83
85
 
@@ -90,6 +92,22 @@ Specifies what address the feedback email is sent from.
90
92
  **table_name:**
91
93
  Defaults to engine's namespace, e.g. `pointless_feedback_messages`. Change to any desired table for `PointlessFeedback::Message` model.
92
94
 
95
+ **google_captcha_site_key & google_captcha_secret_key:**
96
+ If you'd like to block out the robots, set up a Google Captcha instance:
97
+
98
+ Do so here - http://www.google.com/recaptcha/admin. Be sure to configure it with the reCAPTCHA v2 `"I'm not a robot" Checkbox`. Then copy the site_key and secret_key into these config variables and PointlessFeedback will handle the rest!
99
+
100
+ #### Airtable Configuration
101
+
102
+ **airtable_api_key:**
103
+ Self explanatory, required if you want to export submitted feedback contents into an Airtable database.
104
+
105
+ **airtable_app_key:**
106
+ Self explanatory
107
+
108
+ **airtable_table_name:**
109
+ Self explanatory
110
+
93
111
  ## Customization
94
112
 
95
113
  Pointless Feedback provides you with a simple setup that should cover most
@@ -159,7 +177,6 @@ to customize your redirect hook.
159
177
 
160
178
  ## Roadmap
161
179
 
162
- - [ ] Add service to send to Unfuddle
163
180
  - [ ] Add service to send to Github
164
181
  - [ ] Add admin view for messages with comments
165
182
 
@@ -6,10 +6,17 @@ PointlessFeedback.setup do |config|
6
6
  # ==> Email Configuration
7
7
  # Configure feedback email properties (disabled by default)
8
8
  # Variables needed for emailing feedback
9
- # config.email_feedback = false
10
- # config.send_from_submitter = false
11
- # config.from_email = 'feedback@pointlesscorp.com'
12
- # config.to_emails = ['first@example.com', 'second@example.com']
9
+ # config.email_feedback = false
10
+ # config.send_from_submitter = false
11
+ # config.from_email = 'feedback@pointlesscorp.com'
12
+ # config.to_emails = ['first@example.com', 'second@example.com']
13
+
14
+ # ==> Google reCAPTCHA Configuration
15
+ # If you'd like to enable Google reCAPTCHA,
16
+ # 1. Register your site at: https://www.google.com/recaptcha/admin
17
+ # 2. !! Ensure you opt for reCAPTCHA v2. Support for v3 is not here yet.
18
+ # 3. Grab the site and secret key and paste them here.
19
+ #
13
20
  # config.google_captcha_site_key = nil
14
21
  # config.google_captcha_secret_key = nil
15
22
  end
@@ -1,3 +1,3 @@
1
1
  module PointlessFeedback
2
- VERSION = "4.0.6"
2
+ VERSION = "4.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pointless_feedback
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.6
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Porter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-26 00:00:00.000000000 Z
11
+ date: 2020-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -229,48 +229,48 @@ signing_key:
229
229
  specification_version: 4
230
230
  summary: Simple Rails Engine to allow users to submit feedback
231
231
  test_files:
232
- - test/dummy/app/assets/javascripts/application.js
233
- - test/dummy/app/assets/stylesheets/application.css
232
+ - test/unit/pointless_feedback/captcha_test.rb
233
+ - test/unit/pointless_feedback/message_test.rb
234
+ - test/unit/helpers/pointless_feedback/application_helper_test.rb
234
235
  - test/dummy/app/controllers/application_controller.rb
235
236
  - test/dummy/app/controllers/home_controller.rb
236
- - test/dummy/app/helpers/application_helper.rb
237
237
  - test/dummy/app/views/home/index.html.erb
238
238
  - test/dummy/app/views/layouts/application.html.erb
239
- - test/dummy/config/application.rb
240
- - test/dummy/config/boot.rb
241
- - test/dummy/config/database.yml
242
- - test/dummy/config/environment.rb
243
- - test/dummy/config/environments/development.rb
239
+ - test/dummy/app/assets/javascripts/application.js
240
+ - test/dummy/app/assets/stylesheets/application.css
241
+ - test/dummy/app/helpers/application_helper.rb
242
+ - test/dummy/config/routes.rb
243
+ - test/dummy/config/locales/en.yml
244
244
  - test/dummy/config/environments/production.rb
245
+ - test/dummy/config/environments/development.rb
245
246
  - test/dummy/config/environments/test.rb
247
+ - test/dummy/config/environment.rb
248
+ - test/dummy/config/application.rb
249
+ - test/dummy/config/database.yml
250
+ - test/dummy/config/boot.rb
246
251
  - test/dummy/config/initializers/backtrace_silencers.rb
247
- - test/dummy/config/initializers/filter_parameter_logging.rb
248
- - test/dummy/config/initializers/inflections.rb
249
252
  - test/dummy/config/initializers/mime_types.rb
250
- - test/dummy/config/initializers/secret_token.rb
253
+ - test/dummy/config/initializers/filter_parameter_logging.rb
251
254
  - test/dummy/config/initializers/session_store.rb
252
255
  - test/dummy/config/initializers/wrap_parameters.rb
253
- - test/dummy/config/locales/en.yml
254
- - test/dummy/config/routes.rb
256
+ - test/dummy/config/initializers/secret_token.rb
257
+ - test/dummy/config/initializers/inflections.rb
255
258
  - test/dummy/config.ru
256
- - test/dummy/db/schema.rb
257
- - test/dummy/log/test.log
258
- - test/dummy/public/404.html
259
+ - test/dummy/script/rails
260
+ - test/dummy/Rakefile
261
+ - test/dummy/public/favicon.ico
259
262
  - test/dummy/public/422.html
260
263
  - test/dummy/public/500.html
261
- - test/dummy/public/favicon.ico
262
- - test/dummy/Rakefile
264
+ - test/dummy/public/404.html
265
+ - test/dummy/db/schema.rb
266
+ - test/dummy/log/test.log
263
267
  - test/dummy/README.rdoc
264
- - test/dummy/script/rails
265
- - test/factories/messages.rb
266
- - test/functional/pointless_feedback/feedback_mailer_test.rb
267
- - test/functional/pointless_feedback/messages_controller_test.rb
268
- - test/generators/install_generator_test.rb
269
- - test/generators/views_generator_test.rb
270
268
  - test/integration/pointless_feedback/feedback_submission_test.rb
271
269
  - test/integration/pointless_feedback/main_app_root_url_test.rb
272
270
  - test/pointless_feedback_test.rb
271
+ - test/factories/messages.rb
273
272
  - test/test_helper.rb
274
- - test/unit/helpers/pointless_feedback/application_helper_test.rb
275
- - test/unit/pointless_feedback/captcha_test.rb
276
- - test/unit/pointless_feedback/message_test.rb
273
+ - test/generators/install_generator_test.rb
274
+ - test/generators/views_generator_test.rb
275
+ - test/functional/pointless_feedback/messages_controller_test.rb
276
+ - test/functional/pointless_feedback/feedback_mailer_test.rb