docbrown/config
Fernando Valverde c4df397fef
Community Wellness badge (#17394)
* First greedy algorithm approach to awarding community wellness badge

* Update app/services/badges/award_community_wellness.rb

I'm sorry I ignored you rubocop. It's still on draft for a reason 😅

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update app/services/badges/award_community_wellness.rb

Okay, whatever you say rubocop. This line will go away before merging anyways

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Use app/queries/comments/community_wellness_query.rb to replace greedy algorithm

* Query indenting + rename positive_reactions to negative_reactions in EXCEPT

* First step towards query spec

* Fix spec and make it more robust

* Slight cleanup/tweaks

* Badge reward & message

* copy edits + spec improvements + 3 days ago min for query

* Cron update to run daily + small tweak for FeatureFlag use

* inline comment tweaks

* Slight reorder of guard checks in service (FeatureFlag related)

* PR review feedback

* Fix specs from static method refactor

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-04-29 12:38:40 -06:00
..
environments OpenGraph fallback for Embeds (merge-by-any-core) (#17001) 2022-04-04 15:31:38 -04:00
fastly/snippets Add "comments_sort" to safe params list (#17083) 2022-04-01 18:27:49 -04:00
feed-variants Create new feed-variant 20220422 (#17406) 2022-04-25 09:55:33 -04:00
initializers Enable string uuid as namespace (#17309) 2022-04-20 10:24:25 -05:00
locales Community Wellness badge (#17394) 2022-04-29 12:38:40 -06:00
routes Removing conditional for AdminMenu's spaces (#17162) 2022-04-28 08:49:59 -04:00
webpack chore: Removed unused webpack configuration (#16887) 2022-03-15 21:09:34 -04:00
application.rb Revert "Remove IE-specific setting (#16073)" (#16719) 2022-02-28 11:40:09 -05:00
blazer.yml Increase Blazer's timeout (#15427) 2021-11-18 14:50:18 -05:00
boot.rb Remove Spring and spring-commands-rspec gem (#16848) 2022-03-10 10:12:51 -05:00
cable.yml Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
database.yml Update database config (#11308) 2021-02-23 17:41:34 -05:00
environment.rb Rails 6: enable zeitwerk autoloader (#8766) 2020-06-22 16:27:55 +02:00
field_test.yml Create new feed-variant 20220422 (#17406) 2022-04-25 09:55:33 -04:00
i18n-tasks.yml Remove Doorkeeper gem (#15749) 2021-12-21 12:29:58 +07:00
puma.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
routes.rb Refactor OnboardingsController (#17329) 2022-04-27 16:17:02 -04:00
schedule.yml Community Wellness badge (#17394) 2022-04-29 12:38:40 -06:00
secrets.yml Initial commit 2018-02-28 16:11:08 -05:00
sidekiq.yml setup sidekiq queues for different priority jobs (#5300) [deploy] 2019-12-30 10:16:52 -06:00
storage.yml Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
webpacker.yml Moved from resolved_paths (deprecated) to additional_paths. (#9982) 2020-08-24 16:08:16 -04:00