docbrown/spec/workers
Joshua Wehner dc1ab81401
Allow DisplayAd to target users via audience segmentation (#19284)
* Trying some models for audience segmentation

* AudienceSegment basics

* Attach AudienceSegment to DisplayAd

* Possibly use a DUS to populate AudienceSegments

* Add to display ad form UI

* Add to display ad API

* Refresh strategy for audience segments

* Add user_id to async ads query

* Maybe :testing -> :manual, for no-refresh segment

* Test & tweak segment refresh

* Testing audience_segment#refresh logic

* Coverage: testing human_readable

* Scope segment refresh to recently active users

* Tweak logic for when to refresh

* Tweak experience levels to match SettingsHelper

* Test for front-end logic

* Fix test, hope this helps coverage?

* Better test names

* One worker for all, many workers for each, perform_bulk

* Fix audience segment UI, needs to use id, not enum

* cron/schedule should RefreshAll

* Singular id in RefreshWorker
2023-04-25 08:41:10 -04:00
..
articles Scheduling articles (#17939) 2022-07-07 17:32:49 +03:00
badge_achievements Split BadgeRewarder into multiple services (#11902) 2020-12-23 09:55:06 -05:00
broadcasts Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
comments Try fixing comment like count bugs (#18438) 2022-09-12 10:12:46 +02:00
credits Refactor:Move Credit Counter Cache Sync to Sidekiq (#9972) 2020-08-24 14:20:11 -05:00
discover Add Forem Discover registration worker and service (#14865) 2021-10-01 10:27:31 -04:00
emails Delete old retained emails after certain period (#14949) 2021-10-12 16:27:13 -04:00
feeds Routine rubocop fix on /spec (#19217) 2023-03-21 09:55:26 -04:00
follows Save article (to cache tags) before updating follow points (#15637) 2021-12-02 14:41:27 -06:00
github_repos ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
listings Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
mentions [15-min-fix] Ensure mention worker delivers email (#14038) 2021-06-22 14:29:56 -04:00
metrics Boost priority of queue stats worker (#14173) 2021-07-09 09:28:43 -05:00
moderator Save list of previously-published articles when user is subject to an "un-publish all" action (#18535) 2022-10-06 14:17:20 +03:00
notification_subscriptions Add Article post_commit when user_id changes with specs (#15132) 2021-10-25 10:53:21 +07:00
notifications Round Robin Notifications Refactor (#19026) 2023-02-01 15:21:36 +02:00
organizations Extract Organization#conditionally_update_articles to worker (#18956) 2023-01-18 11:58:57 -06:00
pages Update .bust_page to EdgeCache::BustPage (#11952) 2020-12-18 11:21:54 -05:00
podcast_episodes Rubocop fixes (#15892) 2021-12-28 09:11:41 -06:00
podcasts Ensure arguments to perform_async are json safe (#16285) 2022-01-25 18:07:40 -06:00
rating_votes Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606) 2021-05-03 11:09:45 -04:00
reactions Routine rubocop fix on /spec (#19217) 2023-03-21 09:55:26 -04:00
shared_examples Add field test gem to establish a/b testing (#6283) [deploy] 2020-03-03 10:21:29 -05:00
slack Update ArticleFetchedFeed to use slack workflow (#18801) 2022-12-09 10:46:20 -05:00
spaces Busting tag cache when space changes (#17384) 2022-04-20 16:37:34 -04:00
tags Update bust_tag to EdgeCache::BustTag (#11953) 2020-12-21 14:43:42 -05:00
users feat: add an inflection and change instances of gdpr to GDPR (#17567) 2022-05-04 16:20:46 +02:00
audience_segment_refresh_all_worker_spec.rb Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
audience_segment_refresh_worker_spec.rb Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
bust_cache_path_worker_spec.rb Refactor cache purging (#12811) 2021-03-02 10:09:05 -05:00
data_update_worker_spec.rb Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
display_ad_event_rollup_worker_spec.rb Rollup service to compact DisplayAdEvent records (#18508) 2022-10-19 16:21:47 +02:00
export_content_worker_spec.rb Update data exporter to handle admin send (#10274) 2020-10-26 18:00:56 -04:00