Commit Graph
104 Commits
Author SHA1 Message Date
Daniel O'Connor 8de199bf53 Merge branch 'main' into api/graphiti 2026-10-26 12:47:17 +10:30
Brenda WallaceandDaniel O'Connor 8474bdd416 remove newsletter (#4974)
* Remove unused bluecloth gem

Last released in 2011. It was only required, never called; kramdown
renders the markdown.

* Add specs for Tilt markdown rendering and posts markdown partial

* Remove rails_12factor gem

Last released in 2014. Rails 5+ does this via RAILS_SERVE_STATIC_FILES
and RAILS_LOG_TO_STDOUT, which production.rb already reads.

* Remove memcachier gem from Gemfile and Gemfile.lock

* Remove unused webrat gem

Last released in 2011. Nothing requires it; the specs use Rails'
assert_select and Capybara matchers. Only generator comments mention it.

* Remove crowdin-cli gem

Last released in 2018. Crowdin now ships its own standalone CLI, which
reads crowdin.yml and doesn't need the gem. Also drops the dependencies
only it used (rest-client, gli, crowdin-api and friends).

* Removes the crowdin-cli gem (last released 2018), the dependencies only
it needed, and crowdin.yml. Crowdin was never set up: the config still
has a placeholder project ID and nothing else in the repo mentions it.

Assisted by Claude

* Remove newsletter functionality and associated views and tests

* Remove newsletter functionality and related code across the application

* keep the column

* Remove stale test step

* add back newsletter

* Add migration to update newsletter column comment in members table

---------

Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>
2026-10-26 11:48:36 +10:30
Brenda Wallace a79f24cf5e Refactor API controllers and specs for improved request handling and error responses 2026-10-25 18:44:05 +13:00
Daniel O'Connor 3edd2510d8 Merge pull request #4683 from Growstuff/refactor-harvests-remove-elasticsearch-14630838429921835504
Refactor harvests to remove Elasticsearch
2026-06-24 20:26:22 +09:30
google-labs-jules[bot]andCloCkWeRX 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] 0b639d5940 Remove twitter authentication
This change removes the twitter authentication feature from the application.

It removes the `omniauth-twitter` gem and all related code from controllers, views, and tests. It also removes the twitter icon and environment variable settings.
2025-08-24 07:03:20 +00:00
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 d3063f844d Remove facebook auth. They wanted to dictate the behaviour of an application they didn't own, so I told them to get stuffed a few years ago 2022-12-10 15:52:12 +10:30
codefactor-io 28ff058366 [CodeFactor] Apply fixes 2020-02-22 23:04:59 +00:00
Brenda 36bad1cda0 Fix mobile display of member profiles 2020-02-23 11:42:07 +13:00
Brenda d3cdaea218 Show member plantings summary on member page 2020-02-20 23:01:04 +13:00
Brenda Wallace cdff37b2eb style fix ups 2020-01-11 22:57:09 +13:00
codefactor-io f8916dfecb [CodeFactor] Apply fixes 2019-12-20 04:16:33 +00:00
Brenda Wallace 9d68ab0228 Rubocop fix of controller 2019-12-20 17:13:54 +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 67ce5265b4 Migrate from paranoia to discard
closes #1995
2019-07-21 16:59:06 +12:00
Brenda Wallace 312cd0d770 Read posts from member.posts 2019-07-16 23:10:01 +12:00
Brenda Wallace fb77beeb7d rubocop lint 2019-07-16 20:56:33 +12:00
Brenda Wallace b2537638ed Move member banning to admin/members controller 2019-07-16 18:56:49 +12:00
Brenda Wallace 8827fb1291 go to admin_members_path after banning a member 2019-07-16 18:31:43 +12:00
Brenda Wallace 0622823816 Remove unused db lookup 2019-07-16 18:17:37 +12:00
Brenda Wallace 075b9b3327 Add a ban button to members 2019-07-16 18:15:54 +12:00
Brenda Wallace 050dfda77e Timeline 2019-07-07 22:03:15 +12:00
Brenda Wallace 4f04d843a3 Move the subquerys in members#show to private 2019-06-25 16:18:15 +12:00
Brenda Wallace 70bfcabaec Add seeds to member profile, and update specs 2019-06-15 21:18:10 +12:00
Brenda Wallace 2fc3c33520 rubocop lint 2019-06-14 16:38:49 +12:00
Brenda Wallace 5cedea9da8 removing trailing whitespace 2019-06-14 16:23:31 +12:00
Daniel O'Connor 28f68717f5 Address code climate concerns by extracting query methods 2019-06-14 13:36:20 +09:30
Brenda Wallace d217282bf3 Add photos to activity 2019-05-21 12:06:22 +12:00
Brenda Wallace 4a78a30779 Put membet activity on their profile 2019-05-19 15:10:03 +12:00
Brenda Wallace b44b7fdd2e Move follows from members controller to follows controller 2019-01-06 08:45:42 +13:00
Brenda Wallace 1e266a92f6 Members slug used in rotes 2019-01-06 08:45:42 +13:00
Brenda Wallace 387200abf7 Moving garden data under members 2019-01-06 08:45:42 +13:00
Brenda Wallace 468dded162 Remove controller actions for method that don't exist 2018-12-30 15:32:59 +13:00
Brenda Wallace 7b01fcbd4b Align all the hashes 2018-12-30 15:22:29 +13:00
jenkr55 7be10957ec WIP different profile page 2018-04-21 21:05:58 -05: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
Brenda Wallace a6a7f789a3 Rubocop upgrade (and some style fixes) 2017-12-01 21:07:39 +13:00
Brenda Wallace 3a3f4eefbf Added sort to members controller 2017-11-29 20:59:37 +13:00
Brenda Wallace e6b556851a More DRYing of members controller 2017-05-29 16:17:43 +12:00
Brenda Wallace a30285ef49 DRY some of the members controller 2017-05-29 16:17:43 +12:00
Brenda Wallace 936a8778ed Rubocop compliance for members controller 2017-04-16 12:03:48 +12:00
Brenda Wallace 50624fb2cb Style/MultilineBlockLayout fix 2017-02-19 16:17:03 +13:00
Brenda Wallace 666394906b Active gardens only on profiles 2017-02-01 17:37:03 +13:00
Brenda Wallace a1c74bfdfb Translations for members controller 2017-01-22 17:36:48 +13:00
Brenda Wallace ca7868b79a Use guard clauses 2016-12-14 21:28:35 +00:00
Brenda Wallace bbc19a5436 Array indentation fixed 2016-11-26 11:49:51 +13:00
Brenda Wallace d268d2b09e Fixed indentation on comments 2016-11-26 11:45:25 +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