docbrown/app
Ridhwana 172dfef4bf
Add logged-in vs. logged-out targeting option for Display Ads #18390 (#18400)
* feat: add a migration that creates a display_to column on the display_ads table

* feat: add an enum for display_to

* feat/WIP: add rough draft of the field to the UI and permit it in the controller

* feat: take into account on whether an ad needs to be shown on logged in or out or both + update cache keys on sign in

* fix: if a user is not signed in then we want to display all and logged out

* fix: display_for spec in model

* feat: add some tests for display_to

* feat: style the label

* feat: show the display_to on the index page

* feat: add a seed for e2e

* chore: force true
2022-09-07 17:21:27 +02:00
..
assets Excluded gists from InstantClick (#18289) 2022-08-30 16:10:59 -05:00
controllers Add logged-in vs. logged-out targeting option for Display Ads #18390 (#18400) 2022-09-07 17:21:27 +02:00
decorators Scheduling articles (#17939) 2022-07-07 17:32:49 +03:00
errors Favoring re-use of authorization error (#16992) 2022-03-24 08:16:28 -04:00
forms Using a Form Object that will persist for the Creator Settings Form (#15684) 2021-12-10 17:07:40 +02:00
helpers Remove Community Emoji from Admin Config 🌱 (#16902) 2022-08-30 17:16:58 +02:00
javascript Fix most propTypes in Onboarding components (#18416) 2022-09-06 10:02:10 -06:00
lib Remove Community Emoji from Admin Config 🌱 (#16902) 2022-08-30 17:16:58 +02:00
liquid_tags Ensuring that embed fallback renders URL (#17680) 2022-05-17 07:43:17 -04:00
mailers "Reply to" and "From" Email addresses for SMTP Configurations (#16499) 2022-02-16 16:14:54 +02:00
models Add logged-in vs. logged-out targeting option for Display Ads #18390 (#18400) 2022-09-07 17:21:27 +02:00
policies Try renaming moderator -> super_moderator (#18261) 2022-08-10 16:43:30 +02:00
queries Admin can attach user via username (#18056) 2022-07-18 14:17:45 +02:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers Don't sanitize anchor elements with no href (#16667) 2022-02-22 11:27:38 -06:00
serializers Remove unused methods from User (#16616) 2022-02-18 09:02:17 +07:00
services Update per_page_max in API endpoints + docs bump (#18415) 2022-09-02 14:07:19 -06:00
uploaders small non-views ruby i18n (#16004) 2022-01-11 10:05:18 +07:00
validators Convert CRLF to LF when validating summary (#18140) 2022-07-26 12:21:34 +01:00
view_objects Patching ERB rendering of the data-info JSON (#16067) 2022-01-14 08:30:49 -05:00
views Add logged-in vs. logged-out targeting option for Display Ads #18390 (#18400) 2022-09-07 17:21:27 +02:00
workers Revert "Nullify published_at when unpublishing an article (#18298)" (#18353) 2022-08-18 13:58:58 -04:00