docbrown/app/controllers
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
..
admin Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
api Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
concerns Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
field_test Introducing a quick and dirty fix for abtests/admin (#17982) 2022-06-24 09:26:46 -04:00
incoming_webhooks Remove sustaining member newsletter, and its settings (#17514) 2022-04-29 11:47:12 -05:00
notifications
stories Rename cache-key in TaggedArticlesController (#19322) 2023-04-20 11:44:26 -04:00
users Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
api_secrets_controller.rb
application_controller.rb Resolves false-positive UnsafeRedirectError (#19297) 2023-04-07 09:17:56 -04:00
application_metal_controller.rb
article_approvals_controller.rb Refactor :moderation_routes? method to use correct policies (#18183) 2022-07-25 07:58:41 -04:00
articles_controller.rb Keep published_at when updating author of a scheduled article from the dashboard (#18653) 2022-11-01 16:49:59 +03:00
async_info_controller.rb Update user_data cache key (#19101) 2023-02-15 14:11:39 -05:00
badges_controller.rb
collections_controller.rb
comments_controller.rb Set flash[:error] when markdown has invalid liquid tags on comment update (#19353) 2023-04-20 15:48:30 +03:00
confirmations_controller.rb Fix email confirmation logic when registering via Omniauth (#17878) 2022-06-23 16:26:26 -04:00
credits_controller.rb
dashboards_controller.rb Show Series counts on all Dashboard Tabs (#17513) 2022-04-29 11:58:06 -04:00
deep_links_controller.rb
devices_controller.rb
discussion_locks_controller.rb
display_ad_events_controller.rb Throttle display ad event per unit rather than globally (#18697) 2022-11-14 16:30:52 -05:00
display_ads_controller.rb Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
email_authorizations_controller.rb
email_subscriptions_controller.rb
feedback_messages_controller.rb Update FeedbackMessagesController#create feedback-response-sent-at cache key (#19287) 2023-04-05 13:05:12 -04:00
followings_controller.rb
follows_controller.rb
ga_events_controller.rb Prefer remote_ip in GaEventsController (#19074) 2023-02-06 18:38:00 -05:00
github_repos_controller.rb
image_uploads_controller.rb
invitations_controller.rb Remove name from invitation flow (#17438) 2022-05-03 09:33:12 +01:00
liquid_embeds_controller.rb
liquid_tags_controller.rb
listings_controller.rb
moderations_controller.rb Redeploying the Flag/Unflag User functionality (#18235) 2022-07-28 09:03:37 -04:00
notification_subscriptions_controller.rb
notifications_controller.rb
omniauth_callbacks_controller.rb Fix email confirmation logic when registering via Omniauth (#17878) 2022-06-23 16:26:26 -04:00
open_search_controller.rb
organizations_controller.rb
page_views_controller.rb
pages_controller.rb report abuse dropdown link (#19247) 2023-03-28 14:02:31 -05:00
passwords_controller.rb Rubocop fixes (#18461) 2022-09-16 15:25:48 +03:00
podcast_episodes_controller.rb
podcasts_controller.rb
poll_skips_controller.rb
poll_votes_controller.rb
pro_accounts_controller.rb
profile_field_groups_controller.rb
profile_pins_controller.rb
profile_preview_cards_controller.rb
profiles_controller.rb Remove brand_color2 from users_settings (#18473) 2022-09-21 11:21:29 -06:00
rating_votes_controller.rb
reactions_controller.rb Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
reading_list_items_controller.rb
registrations_controller.rb Update Users::ProfileImageGenerator (#19040) 2023-02-01 06:12:26 -05:00
response_templates_controller.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
search_controller.rb Try context-based sorting for username search (#18311) 2022-08-18 17:08:46 +02:00
service_worker_controller.rb
sidebars_controller.rb
sitemaps_controller.rb
social_previews_controller.rb Remove social_preview views (except articles) (#18523) 2022-10-11 12:28:55 +02:00
stories_controller.rb Resolves false-positive UnsafeRedirectError (#19297) 2023-04-07 09:17:56 -04:00
stripe_active_cards_controller.rb
tag_adjustments_controller.rb
tags_controller.rb ✂️✂️✂️ Part 1: Remove Sponsorship (#18512) 2022-10-03 16:26:32 +02:00
user_blocks_controller.rb
user_subscriptions_controller.rb
users_controller.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
video_states_controller.rb
videos_controller.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00