docbrown/config
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
..
environments Tell Bullet to ignore unused distinct_reaction_categories (#19332) 2023-04-17 15:15:24 +02:00
fastly/snippets Load post_comments billboard asynchronously (#19285) 2023-04-12 18:15:15 +02:00
feed-variants Add feed experiment for 04/24 (#19388) 2023-04-25 07:49:06 -04:00
initializers Undo changes to Sprockets::UglifierWithSourceMapsCompressor (#19261) 2023-03-24 12:48:59 -04:00
locales Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
routes Remove Vault Secrets page from admin interface (#18795) 2022-12-02 10:03:39 -06:00
webpack chore: Removed unused webpack configuration (#16887) 2022-03-15 21:09:34 -04:00
application.rb Revert all Rack::Attack changes (#18407) 2022-08-31 18:11:56 -04: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 Add feed experiment for 04/24 (#19388) 2023-04-25 07:49:06 -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
reactions.yml Reaction emoji with consistent underscores (#19116) 2023-02-15 08:32:19 +01:00
routes.rb Refactor 'controller:' to 'to:' in routes (#19383) 2023-04-24 14:16:53 +02:00
schedule.yml Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04: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