Daniel O'Connor
81060cccf7
Ruby 3.2: Rubocop - Lint/* and Style/* ( #3786 )
...
* Rubocop - Layout/*
* Rubocop - Lint and Style
2024-07-13 15:38:37 +09:30
Daniel O'Connor
4f5c47ba58
Ruby 3.2: Rubocop - Layout/* ( #3785 )
...
* Rubocop - Layout/*
* Regenerate
2024-07-13 15:19:09 +09:30
Brenda Wallace
4906aaa180
Rename Notifer to NotifierMailer
2020-08-26 12:36:58 +12:00
codefactor-io
4ff95fbac9
[CodeFactor] Apply fixes
2020-01-21 22:26:08 +13:00
Brenda
7257b2ada1
Update with frozen literals
2020-01-10 16:50:52 +13:00
Brenda Wallace
04fd1a343a
Rubocop update ( #2334 )
...
* Update rubocop config
* Rubocop update - for rubocop 0.77
* [CodeFactor] Apply fixes
* rubocop fixes
* [CodeFactor] Apply fixes to commit 2826c2e
2019-12-16 22:35:33 +13:00
Brenda Wallace
94452ee62e
polish up the plantings reminders
2019-10-20 14:12:34 +13:00
Brenda Wallace
e0dc38e7a3
add perennials
2019-10-20 09:49:03 +13:00
Brenda Wallace
4af89d2b2c
Change reminder email into monthly summary
2019-10-20 09:49:03 +13:00
Brenda Wallace
1872bff346
Restore notifier
...
not hooked up to mailboxer yet
2019-08-10 12:09:23 +12:00
Brenda Wallace
12c1002dc6
Removing unused notifications code
2019-08-08 09:31:53 +12:00
Brenda Wallace
a76f5d3a22
More locations with production email addresses
2019-01-01 13:56:08 +13:00
Brenda Wallace
7b01fcbd4b
Align all the hashes
2018-12-30 15:22:29 +13:00
Brenda Wallace
a8ab21d3bc
Merge branch 'dev' into upgrade/rails-5
2018-06-17 08:48:25 +12:00
Brenda Wallace
5dc8bc5ec5
Order plantings and harvests in email
2018-06-04 17:35:06 +12:00
Brenda Wallace
65b4c7dbc1
Revert "Auto corrected by following Style/StringLiterals"
...
This reverts commit ab56a3c6b3 .
2018-02-09 07:58:47 +13:00
Awesome Code
ab56a3c6b3
Auto corrected by following Style/StringLiterals
2018-02-07 10:20:26 +13:00
Awesome Code
a13acbe087
Auto corrected by following Style/ParallelAssignment
2018-01-23 09:00:34 +13:00
Brenda Wallace
d9bdc46099
Merge remote-tracking branch 'upstream/dev' into upgrade/rails-5
...
Conflicts:
app/assets/javascripts/members.js.erb
2018-01-21 21:20:43 +13:00
Awesome Code
e865e93665
Auto corrected by following Style/ParallelAssignment
2018-01-10 20:18:10 +00:00
Brenda Wallace
65d5b2d61a
Application mailer for rails 5
2018-01-03 17:18:41 +13:00
Brenda Wallace
ca7868b79a
Use guard clauses
2016-12-14 21:28:35 +00:00
Brenda Wallace
05e7a27782
Call to verify options stays as a hash
2016-12-07 10:04:17 +13:00
Brenda Wallace
464c570d99
Fixed parentheses that are interp-ed as grouped expression
2016-12-06 21:23:55 +13:00
Brenda Wallace
92195d51d2
Removed redundant returns
2016-12-04 21:21:35 +00:00
Brenda Wallace
62e7c716dd
Removed extra empty blank lines
2016-11-26 12:06:02 +13:00
Brenda Wallace
564731667e
Fixed up all remaining hash alignment
2016-11-26 11:17:42 +13:00
Brenda Wallace
2872a1c29d
Wrapped all long lines.
...
reduced rubocop's line length limit to 120
2016-11-17 22:02:18 +13:00
Brenda Wallace
bdb057ca0f
Removed all trailing white space
2016-11-14 15:05:32 +13:00
Daniel O'Connor
70bf5499b2
Clean up logic a bit as per #1013
2016-07-08 17:07:14 +09:30
Daniel O'Connor
4b4e0cf69a
$ rubocop --only HashSyntax --auto-correct
...
483 files inspected, 2018 offenses detected, 2018 offenses corrected
2016-05-19 15:53:11 -04:00
Miles Gould
91a128ae7e
Check existence of secret token before using it.
...
People were forgetting to create config/environment.yml, which meant
that RAILS_SECRET_TOKEN wasn't being set, which meant that all tests
involving notifications failed. Unfortunately, the resulting wall of
error messages (https://gist.github.com/sha1sum/5debae6b700ff8fc0c76 )
did not make the root cause remotely clear, leading to much confusion
and head-scratching all round.
This commit checks for the existence of RAILS_SECRET_TOKEN and fails
with an informative error message if it's missing.
2015-07-24 15:16:31 +01:00
Shiho Takagi
ad6c1ba2dc
tiding up the code
2015-03-08 15:10:30 +11:00
Shiho Takagi
40adc379ae
Merge branch 'dev' of https://github.com/Growstuff/growstuff into 575-one-click-email-unsubscribe
2015-03-06 10:51:09 +11:00
Shiho Takagi
0f52ea5aad
one click unsubscription
2015-02-25 10:26:04 +11:00
Taylor Griffin
2db7bf638b
improve copy for new request email
2015-02-09 20:41:28 +11:00
Taylor Griffin
e86200b942
requester receives a message when crop request is rejected
2015-02-01 17:32:49 +11:00
Taylor Griffin
776b5450f9
requester receives email when crop request is approved
2015-02-01 17:20:48 +11:00
Taylor Griffin
a8c203aea0
send emails to all crop wranglers when a new crop is requested
2015-02-01 09:32:50 +11:00
Taylor Griffin
d174f25d03
order messages to be most recent
2014-11-30 16:06:06 +11:00
Taylor Griffin
56b4f8a221
mimick old FriendlyId behavior when calling find on a model - therefore, Model.find not Model.friendly.find (this probably needs review)
2014-11-16 20:21:34 +11:00
Skud
f67732e125
Added checkbox for whether to send planting reminder
2014-07-20 19:17:59 +10:00
Skud
7c09188bb8
Renamed email to planting_reminder
2014-07-20 18:54:58 +10:00
Skud
f4c2c2481d
Include plantings/harvests in regular email
2014-07-20 18:45:48 +10:00
Skud
a7d56d4f92
Added stub code for sending regular (eg. weekly) emails
2014-07-20 17:39:27 +10:00
Miles Gould
6ab098c015
Move reply_link into a helper.
...
- keep @reply_link as an instance var, for testability
- always use fully-qualified URLs, to reduce code duplication
2013-05-01 23:45:07 +01:00
Skud
11f979313a
Added reply link to notification email.
...
Note: this breaks DRY but we couldn't figure out how to put it in a
helper and make it useable by both the controller and the mailer.
Suggestions/help much appreciated!
2013-04-29 18:55:13 +10:00
Miles Gould
f21df1dbb9
Method to send email notifications.
2013-03-27 11:23:52 +00:00
Miles Gould
61fb83456d
Generate skeleton notifier.
2013-03-27 10:30:21 +00:00
Cesy Avon
95145f2869
Moving development to top level directory
2012-08-23 10:41:00 -07:00