docbrown/app/models
Joshua Wehner d3f8e127fa
Add an article exclusion list to Billboards (#19280)
* Add exclude_article_ids int array

* Add specs, normalize inputs better

* Add to form & controller

* Add exclude_article_ids to DisplayAd API

* Use exclude_article_ids in query

* Rubocop

* Comment typo

* Tweak rspec example length config

* Arguments all the way down

* Typo

* Update spec/requests/api/v1/docs/display_ads_spec.rb

Co-authored-by: Ben Halpern <bendhalpern@gmail.com>

* Update spec/requests/api/v1/docs/display_ads_spec.rb

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>

* Swagger schema for Display Ad

---------

Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
2023-04-05 09:10:22 -04:00
..
ab_experiment Feed experiment for 09-26-2022 (#18501) 2022-09-27 08:48:15 -06:00
ahoy Favoring delete_all on user relationships (#15443) 2021-11-23 11:50:12 -05:00
articles Add internal tool to preview feed configs (#18544) 2022-10-06 07:48:44 -04:00
concerns (Really) Enable multiple reactions on #index (#19202) 2023-03-22 10:20:00 -04:00
liquid_tags [deploy] Add role and docs for user subscription liquid tag (#9170) 2020-07-08 14:07:53 -04:00
settings Fix social media settings to enable mastodon (#19191) 2023-03-07 16:49:16 +01:00
users Round Robin Notifications Refactor (#19026) 2023-02-01 15:21:36 +02:00
ab_experiment.rb Exposing past feed experiments in /admin/abtests (#17818) 2022-06-02 20:41:31 -04:00
admin_menu.rb Remove Vault Secrets page from admin interface (#18795) 2022-12-02 10:03:39 -06:00
announcement.rb Add Polymorphism to Broadcasts (Part 1) (#9231) [deploy] 2020-07-13 09:36:19 -06:00
api_secret.rb Remove rack attack throttle for admin users in API requests (#18612) 2022-10-25 09:26:38 -06:00
application_record.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
article.rb Allow BIDI non-deprecated marks in title (#19177) 2023-03-23 09:41:57 -04:00
async_info.rb Moving from user.trusted tests to policy tests (#17619) 2022-05-11 08:18:13 -04:00
audit_log.rb Include audit log for API admin endpoints (#18167) 2022-07-22 11:35:30 -06:00
badge.rb Add back Badge#path (#18471) 2022-09-20 09:01:29 -04:00
badge_achievement.rb Extracting container for allowed tags & attrs (#15338) 2021-12-16 12:24:45 -05:00
banished_user.rb Introduce BanishedUser table (#5589) [deploy] 2020-01-21 17:15:58 -05:00
broadcast.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
campaign.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
collection.rb Series count to only include non empty series (#16130) 2022-01-18 10:22:34 +07:00
comment.rb Fixed redundant article and comment markdown parsing (#18989) 2023-01-25 13:56:43 +03:00
config.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
consumer_app.rb Fixes a name conflict in Rpush models (#15978) 2022-01-07 09:38:16 -06:00
context_notification.rb Context Notifications (#17243) 2022-04-18 10:30:30 +03:00
creator_setting.rb Creator Onboarding: Creator Setup View (#14728) 2021-11-01 15:50:08 -04:00
credit.rb Favor repurposing existing scope (#15914) 2022-01-03 09:30:34 -05:00
data_update_script.rb Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
device.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
discussion_lock.rb Renaming method for clarity (#16791) 2022-03-07 12:55:56 -05:00
display_ad.rb Add an article exclusion list to Billboards (#19280) 2023-04-05 09:10:22 -04:00
display_ad_event.rb Added dropdown to display ads / billboards (#19106) 2023-02-27 22:57:01 +05:30
email_authorization.rb Refactor Admin Member Detail view - Tools section (#14283) 2021-08-17 18:55:53 +02:00
email_message.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
extension.rb Introduce "extensions" (#16840) 2022-03-18 11:22:17 +02:00
feedback_message.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
follow.rb Refactoring cached_followed_tags (#16175) 2022-01-24 19:53:48 -05:00
forem_instance.rb "Reply to" and "From" Email addresses for SMTP Configurations (#16499) 2022-02-16 16:14:54 +02:00
gdpr_delete_request.rb feat: add an inflection and change instances of gdpr to GDPR (#17567) 2022-05-04 16:20:46 +02:00
github_issue.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
github_repo.rb POC: use Sidekiq.perform_bulk for Github repos (#16293) 2022-01-26 09:11:07 +07:00
html_variant.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
identity.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
invitation.rb [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
listing.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
listing_category.rb [deploy] Manage listing categories in dashboard (#10506) 2020-10-02 11:05:09 -04:00
mention.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
mod.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
moderator_action.rb [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
navigation_link.rb Add "only display when logged out" as an option on Navigation Links (#18275) 2022-08-08 10:55:24 +01:00
note.rb Favoring delete_all on user relationships (#15443) 2021-11-23 11:50:12 -05:00
notification.rb Round Robin Notifications Refactor (#19026) 2023-02-01 15:21:36 +02:00
notification_subscription.rb Appeasing Rubocop as it sneaks some changes in (#16085) 2022-01-13 07:48:01 -05:00
organization.rb Extract Organization#conditionally_update_articles to worker (#18956) 2023-01-18 11:58:57 -06:00
organization_membership.rb Appeasing Rubocop as it sneaks some changes in (#16085) 2022-01-13 07:48:01 -05:00
overview.rb Add admin overview page (#12726) 2021-03-01 18:59:05 -06:00
page.rb Pages API: create, update, and delete (#19009) 2023-02-02 17:24:11 +01:00
page_view.rb Moving Experiments into AbExperiment namespace (#17532) 2022-05-03 21:34:12 -04:00
permission.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
pinned_article.rb Pin posts to feed (#13807) 2021-06-04 10:54:53 +02:00
podcast.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
podcast_episode.rb Various cleanups (#14616) 2021-08-31 09:17:24 +07:00
podcast_episode_appearance.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
podcast_ownership.rb Appeasing Rubocop as it sneaks some changes in (#16085) 2022-01-13 07:48:01 -05:00
poll.rb Refactoring poll/vote/skip logic (#15441) 2021-11-29 10:52:32 -05:00
poll_option.rb Favoring dependent: :delete_all over :destroy (#15442) 2021-11-24 13:56:16 -05:00
poll_skip.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
poll_vote.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
privileged_reaction.rb [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
profile.rb Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00
profile_field.rb Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00
profile_field_group.rb [deploy] /profile/settings page rendering (Ridhwana/Michael) (#10733) 2020-10-20 09:18:13 -04:00
profile_pin.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
rating_vote.rb Removing deprecated User methods (#16435) 2022-02-07 10:32:58 -05:00
reaction.rb (Really) Enable multiple reactions on #index (#19202) 2023-03-22 10:20:00 -04:00
reaction_category.rb (Really) Enable multiple reactions on #index (#19202) 2023-03-22 10:20:00 -04:00
response_template.rb Admin can attach user via username (#18056) 2022-07-18 14:17:45 +02:00
role.rb Try renaming moderator -> super_moderator (#18261) 2022-08-10 16:43:30 +02:00
secret.rb [deploy] Feature: Setup Admin Area to Update Vault Secrets (#8935) 2020-06-29 15:08:09 -05:00
space.rb Busting tag cache when space changes (#17384) 2022-04-20 16:37:34 -04:00
tag.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
tag_adjustment.rb Make reason for adjustment optional in moderator tag adjustment (#18606) 2022-10-20 09:54:52 -06:00
timeframe.rb Remove timeframer from app/labor (#11782) 2020-12-08 12:52:33 +07:00
tool.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
tweet.rb Better error upon Tweet embed when Twitter keys missing (#16916) 2022-03-21 16:21:37 -04:00
user.rb Clear trusted cache in rolify callback (#19275) 2023-04-03 14:45:00 +02:00
user_block.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
user_role.rb [Search 2.0] Users (#13453) 2021-04-24 19:06:06 +02:00
user_subscription.rb app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
welcome.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
welcome_notification.rb Add Polymorphism to Broadcasts (Part 1) (#9231) [deploy] 2020-07-13 09:36:19 -06:00