discourse-adplugin/db/migrate
Blake Erickson 9581367239
FIX: Add exclude groups for each ad platforms (#197)
With the new group system for displaying ads we no longer can check if a
user belongs to a trust level group lower than specified. The other
problem is that ALL users including staff and higher trust levels all
belong to trust level 0. So without this fix if we say that an ad should
be visible to trust level 0 users then it will be shown to all users.

This fix adds a new default setting for each ad platform for excluding
trust level 3, 4, and staff users from being shown ads.

- Make display_groups hidden (they will be removed in a later commit)
- Switch to using only exclude_groups instead of display groups and
  exclude groups
- rename showToDisplayGroups to showXAds for each provider
2024-02-08 19:42:40 -07:00
..
20190603112536_rename_site_setting_ads_txt.rb Rename adsense_ads_txt setting to ads_txt 2019-06-03 11:39:28 -04:00
20200703082449_remove_codefund_site_settings.rb FIX: CodeFund is shutting down (#85) 2020-07-10 18:09:32 +03:00
20240118195155_migrate_tl_to_group_settings_adsense_through_tl.rb DEV: Update migration to match new site settings (#196) 2024-01-31 11:17:56 -07:00
20240118195156_migrate_tl_to_group_settings_dfp_through_tl.rb DEV: Update migration to match new site settings (#196) 2024-01-31 11:17:56 -07:00
20240118195157_migrate_tl_to_group_settings_amazon_through_tl.rb DEV: Update migration to match new site settings (#196) 2024-01-31 11:17:56 -07:00
20240118195158_migrate_tl_to_group_settings_carbonads_through_tl.rb DEV: Update migration to match new site settings (#196) 2024-01-31 11:17:56 -07:00
20240118195159_migrate_tl_to_group_settings_adbutler_through_tl.rb DEV: Update migration to match new site settings (#196) 2024-01-31 11:17:56 -07:00
20240208195100_migrate_adsense_to_exclude_groups.rb FIX: Add exclude groups for each ad platforms (#197) 2024-02-08 19:42:40 -07:00
20240208195101_migrate_amazon_to_exclude_groups.rb FIX: Add exclude groups for each ad platforms (#197) 2024-02-08 19:42:40 -07:00
20240208195102_migrate_dfp_to_exclude_groups.rb FIX: Add exclude groups for each ad platforms (#197) 2024-02-08 19:42:40 -07:00
20240208195103_migrate_carbon_to_exclude_groups.rb FIX: Add exclude groups for each ad platforms (#197) 2024-02-08 19:42:40 -07:00
20240208195104_migrate_adbutler_to_exclude_groups.rb FIX: Add exclude groups for each ad platforms (#197) 2024-02-08 19:42:40 -07:00