Arpit Jalan
d34b45627e
Fix the build.
2019-06-15 16:01:52 +05:30
Neil Lalonde
31efc7025d
FEATURE: new setting to disable ads based on tags
...
Enter a list of tags in the new setting no_ads_for_tags to prevent
ads from being rendered on topics with one or more of those tags,
and on topic list pages for those tags.
2019-06-14 14:44:09 -04:00
Penar Musaraj
574500ba08
Run Prettier
2019-06-14 13:24:55 -04:00
Penar Musaraj
203e14b639
Fix eslint warnings
2019-06-14 12:10:11 -04:00
Joffrey JAFFEUX
8c3fe62e90
DEV: new API s/replaceCurrentUser/updateCurrentUser
...
See https://github.com/discourse/discourse/pull/7769
2019-06-14 10:59:32 +02:00
Neil Lalonde
3a04f95916
REFACTOR: some changes to be closer to example implementation
...
https://support.google.com/admanager/answer/4578089?hl=en
* unique div ID for every ad slot
* setTargeting before calling addService
* don't destroySlots async (no examples of correct way to use this...)
2019-06-10 15:43:48 -04:00
Neil Lalonde
0432256adb
Update translations
2019-06-10 10:37:57 -04:00
Neil Lalonde
35c1af6648
Version bump to 1.2.1
2019-06-05 17:01:31 -04:00
Neil Lalonde
04525d0cf1
FIX: dfp category targeting params
...
DFP category targeting param wasn't always being updated on topic
list pages.
Also remove dependency on a category param being passed in to the
component from a template so that we can now place dfp ads
in places that don't have access to the current category and
targeting will still work.
2019-06-05 17:00:47 -04:00
Neil Lalonde
7af8f1d46b
FEATURE: new setting to disable ads based on category of current page
...
Use the "no ads for categories" setting to define which category pages
(topic list and topics) should not render any ads.
2019-06-05 16:00:24 -04:00
Penar Musaraj
f745ecfbdc
Rename adsense_ads_txt setting to ads_txt
2019-06-03 11:39:28 -04:00
Neil Lalonde
ab9cf6459e
Update translations
2019-05-30 11:30:03 -04:00
Guo Xiang Tan
546101a357
Add frozen string literal to files.
2019-05-13 10:16:50 +08:00
Neil Lalonde
d3a5927ede
Don't render inside a cloaked post
2019-05-10 14:22:18 -04:00
Neil Lalonde
2ca0adca05
Fix failing js test
2019-05-08 13:44:25 -04:00
Neil Lalonde
896e5a9838
Prettier
2019-05-08 11:22:21 -04:00
Neil Lalonde
10ab104cd8
JS test for mixed ads
2019-05-08 11:17:40 -04:00
Neil Lalonde
365f441924
FIX: groups with mixed case names not working
2019-05-08 11:01:01 -04:00
Neil Lalonde
4bd2035866
FEATURE: house ads can be configured to alternate with other ads
...
Use the new "house ads frequency" site setting to configure how often
house ads should show, as a percentage. This only applies in ad
placements where other ad networks are configured to appear.
2019-05-07 19:52:51 -04:00
Neil Lalonde
cdc14398ba
FIX: linking to house ads URLs shows not found error page
2019-05-07 14:32:32 -04:00
Neil Lalonde
d9d7f4c8f4
FIX: house ads randomized instead of showing evenly
2019-05-03 16:04:04 -04:00
Neil Lalonde
26d42e9ed7
Fix compatibility with other js tests
2019-05-03 13:26:16 -04:00
Neil Lalonde
171656304b
Version bump, update readme with House Ads info
2019-05-03 11:56:59 -04:00
Neil Lalonde
1bd80e1afe
FEATURE: House Ads
...
Allows creating ads within Discourse admin at Plugins > House Ads.
Write the ads in html and style them with CSS in themes.
2019-05-03 11:39:34 -04:00
Neil Lalonde
5272995e74
FEATURE: use groups to control who sees ads
2019-05-03 11:39:34 -04:00
Neil Lalonde
369d5dfc9e
oops revert again "FEATURE: use groups to control who sees ads" and all later"
2019-04-17 16:02:19 -04:00
Neil Lalonde
b105da53e8
disable js tests
...
works on my machine, but breaks build
2019-04-17 15:53:41 -04:00
Neil Lalonde
e6bcd96d8e
FEATURE: use groups to control who sees ads" and all later
2019-04-17 15:40:50 -04:00
Neil Lalonde
50d258dc37
Revert "FEATURE: use groups to control who sees ads" and all later
...
Revert "Updates to codefund-ad"
Revert "Updates to carbonads-ad"
Revert "Updates to amazon-product-links"
2019-04-17 15:37:09 -04:00
Neil Lalonde
63e604d81b
Updates to codefund-ad
2019-04-17 11:36:50 -04:00
Neil Lalonde
8ef02aa351
Updates to carbonads-ad
2019-04-17 11:36:50 -04:00
Neil Lalonde
881a8e5d4c
Updates to amazon-product-links
2019-04-17 11:36:50 -04:00
Neil Lalonde
4fd7caffd6
FEATURE: use groups to control who sees ads
...
A new setting has been added in Admin > Settings > Ad Plugin called
"no ads for groups". Add group names to this list. If a user belongs
to any of the groups, they will not see any ads. This is an alternative
to using trust level settings like "adsense through trust level".
2019-04-17 11:36:50 -04:00
Neil Lalonde
6097e6f097
Clean-up codefund-ad component
2019-04-17 11:36:50 -04:00
Neil Lalonde
943acbfeb1
Add some js tests, and update adsense js
2019-04-17 11:36:47 -04:00
Diego Barreiro
8f2e4c5a49
FIX: Wrong Image
2019-04-15 13:54:20 -04:00
Diego Barreiro
147b1350ea
FIX: Switch Property to Computed
2019-04-15 11:54:18 -04:00
Diego Barreiro
23ece34f53
FIX: Switch Var to Const
2019-04-15 11:54:18 -04:00
Diego Barreiro
7ee19d79c3
FIX: CSP URLs
2019-04-15 11:54:18 -04:00
Diego Barreiro
a1649f7cce
BUMP: Plugin Version
2019-04-15 11:54:18 -04:00
Diego Barreiro
79a4c228a6
DEV: Update Readme
2019-04-15 11:54:18 -04:00
Diego Barreiro
608feb2e54
UX: Add Spanish Translations
2019-04-15 11:54:18 -04:00
Diego Barreiro
40c0af2177
DEV: Whitelist CarbonAds URLs on CSP
2019-04-15 11:54:18 -04:00
Diego Barreiro
0980914d0c
UI: Style Ads
2019-04-15 11:54:18 -04:00
Diego Barreiro
c5272db7f3
UX: Init Carbon Ads
2019-04-15 11:54:18 -04:00
Sam Saffron
4516dbca26
Add missing license file
2019-04-08 17:51:50 +10:00
Neil Lalonde
cd35666059
Update translations
2019-04-05 10:08:42 -04:00
Régis Hanol
8fda5c3b7d
Delete .DS_Store
2019-03-21 22:10:24 +01:00
Régis Hanol
2065b8bd41
fix new lines in README
2019-03-21 22:09:23 +01:00
Neil Lalonde
ec10ef4483
FIX: wrong size setting being used for post-bottom desktop
2019-03-20 11:22:47 -04:00