Brenda Wallace
dfffafca52
Add harvest reminders feature and update related specs and locales
2026-10-26 19:38:38 +13:00
Brenda Wallace
948cc59d1b
Remove Sidekiq integration and update mailer delivery methods to deliver immediately
2026-10-26 19:38:38 +13:00
Brenda Wallace
3c8645ce05
Add planting reminders feature and corresponding tests
2026-10-26 19:38:38 +13:00
Brenda Wallace
6332f26c58
Merge pull request #4994 from Growstuff/crop-job-templates-admin
...
Admin for crop job templates, a tidier crop wrangling page, and crop and template seeds
2026-10-23 13:26:33 +10:30
google-labs-jules[bot] and CloCkWeRX
e423e6ac79
Add weekly harvest reminder emails and scheduled task
...
- Added `send_harvest_reminder` preference to Member model and settings UI.
- Implemented `harvest_in_next_week?` in PredictHarvest concern.
- Created `harvest_reminder` email with localized templates.
- Added `growstuff:send_harvest_reminders` Rake task to run weekly.
- Refactored existing and new reminder tasks to use `deliver_later` for scalability.
- Added unit tests for prediction logic and mailer.
- Fixed a bug in the existing planting reminder task where it was using an uninitialized constant `Notifier`.
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com >
2026-04-30 04:09:26 +00:00
google-labs-jules[bot]
4d3c4ca10d
Merge pull request #4154 from Growstuff/finish-expired-seeds-task
...
Add maintenance task to finish expired seeds
2025-08-28 00:16:16 +09:30
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
Daniel O'Connor
b24b9f82e6
Rubocop - auto corrections
2022-11-06 16:34:36 +10:30
Brenda Wallace
89400e7677
Send reminder on mondays
2020-03-03 11:37:30 +13:00
Brenda
7257b2ada1
Update with frozen literals
2020-01-10 16:50:52 +13:00
Brenda Wallace
94452ee62e
polish up the plantings reminders
2019-10-20 14:12:34 +13:00
Brenda Wallace
4af89d2b2c
Change reminder email into monthly summary
2019-10-20 09:49:03 +13:00
Brenda Wallace
72d5d2e81a
Match role names to names in the seeds
2019-07-16 18:18:03 +12:00
Brenda Wallace
7b01fcbd4b
Align all the hashes
2018-12-30 15:22:29 +13:00
Brenda Wallace
99a9c0817d
Lint fix
2018-09-13 22:51:22 +12:00
Brenda Wallace
4be4e96a9f
Fixed or => ||
2018-06-04 16:30:38 +12:00
Brenda Wallace
978523fd94
Merge branch 'dev' into awesomecode-style/andor-8234
2018-02-11 08:50:50 +13:00
Brenda Wallace
42de726405
Removing shop, products, accounts, orders
2018-02-09 10:53:05 +13:00
Brenda Wallace
65b4c7dbc1
Revert "Auto corrected by following Style/StringLiterals"
...
This reverts commit ab56a3c6b3 .
2018-02-09 07:58:47 +13:00
Brenda Wallace
33fb2408d6
Merge branch 'dev' into awesomecode-style/andor-8234
2018-02-07 14:25:41 +13:00
Awesome Code
ab56a3c6b3
Auto corrected by following Style/StringLiterals
2018-02-07 10:20:26 +13:00
Shiny
3d4598e4e1
style clean up
2018-01-29 12:56:41 +13:00
Awesome Code
94db28b3a9
Auto corrected by following Style/AndOr
2018-01-28 23:47:38 +00:00
Brenda Wallace
182c626226
Prefer if/unless modifier
2017-12-06 14:23:12 +13:00
Brenda Wallace
878fc7ebcd
Use symbol procs
2017-12-06 14:17:34 +13:00
Brenda Wallace
25b1836146
Removed nil comparison
2017-12-06 14:13:01 +13:00
Brenda Wallace
c925c95398
Use next, instead of a if wrapper
2017-12-06 14:11:27 +13:00
Brenda Wallace
e229438997
rubocop fox for numeric literals
2017-03-01 17:46:12 +13:00
Brenda Wallace
abbd2cf0a4
fix bug: look up parent crop by name in csv import
2017-02-23 15:35:29 +13:00
Brenda Wallace
4e722dd123
Move crop csv import to own file
2017-02-23 15:35:29 +13:00
Brenda Wallace
2b03381a24
Removed trailing commas
2017-02-15 23:33:06 +00:00
Brenda Wallace
be2426c99f
Use timezone when creating dates
2017-02-10 21:53:18 +13:00
Brenda Wallace
370938c9f9
change deliver_later to deliver_now, so we don't sys.exit() crash
2017-01-22 21:22:30 +13:00
Brenda Wallace
8c7fcd9d49
Fixed all useless assignments
2016-11-26 19:36:59 +13:00
Brenda Wallace
bcdd2a9167
Changed called to rails dynamic find_by
2016-11-26 15:55:38 +13:00
Brenda Wallace
62e7c716dd
Removed extra empty blank lines
2016-11-26 12:06:02 +13:00
Brenda Wallace
be67b858b4
Merge remote-tracking branch 'upstream/dev' into bw/long-lines-fixed
...
Conflicts:
lib/tasks/growstuff.rake
2016-11-25 08:18:18 +13:00
Brenda Wallace
18a8d6c5bf
Re-instate usage info when args not as expected
2016-11-23 20:38:46 +13:00
Brenda Wallace
37d01e831f
Reduced code duplication in growstuff.rake
2016-11-23 20:27:20 +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
5d70d822eb
#951 Swap to deliver_later implementation
2016-08-16 10:55:40 +09:30
Daniel O'Connor
7fe75ee52a
Fix DEPRECATION WARNING: #deliver is deprecated.
2016-06-10 15:45:01 +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
Mackenzie Morgan
87bfceb035
make the one-off save the si weight
2015-02-02 23:49:07 -05:00
Mackenzie Morgan
7ca89908cd
merge from upstream
2015-02-01 22:00:52 -05:00
Mackenzie Morgan
2c94f61843
use %0.3f instead of %0.2f so we get to gram-granularity, and don't duplicate code
2015-02-01 21:59:33 -05:00
Mackenzie Morgan
de5b16e384
back to kg for si weight, also now adding si_weight to the csv correctly
2015-01-31 18:35:29 -05:00
Mackenzie Morgan
bb9695b272
add check for nil to set_si_weights and the corresponding deploy script and update test
2015-01-31 00:45:31 -05:00