Commit Graph

529 Commits

Author SHA1 Message Date
Joffrey JAFFEUX 9ad0133624
DEV: enforces no-var (#94) 2020-10-13 11:40:33 +02:00
Discourse CI e692fdf64f DEV: Update CI workflows 2020-10-12 08:16:43 +00:00
Discourse CI 059b04468a DEV: Update CI workflows 2020-10-09 19:03:13 +00:00
Discourse CI fb7f4e5766 DEV: Update CI workflows 2020-10-09 16:15:07 +00:00
Discourse CI 12f15a0306 DEV: Update CI workflows 2020-10-09 15:09:39 +00:00
Discourse Translator Bot c66c651c5b Update translations 2020-10-06 15:21:57 +02:00
Justin DiRose a626b8e79d
DEV: Add testing workflow 2020-09-25 12:04:33 -05:00
Justin DiRose 1f49cf94db
DEV: Add linting workflow 2020-09-25 12:04:17 -05:00
Joffrey JAFFEUX 15b2c1a05e
REFACTOR: loadGoogle doesn't take any argument (#92) 2020-09-23 15:05:23 +02:00
Discourse Translator Bot 22dfb3aa5e Update translations 2020-09-22 13:00:22 +00:00
Discourse Translator Bot 3a7e642ae3 Update translations 2020-09-16 10:14:07 +00:00
Discourse Translator Bot 87c1478743 Update translations 2020-09-15 13:00:25 +00:00
Joffrey JAFFEUX 30dad0281d
DEV: apply coding standards (#91) 2020-09-04 13:24:14 +02:00
Discourse Translator Bot 88e2bab0d6 Update translations 2020-09-01 13:00:18 +00:00
Discourse Translator Bot a36c34bedc Update translations 2020-08-25 13:00:18 +00:00
jjaffeux 5afca0aaa1 linting 2020-08-21 16:48:41 +02:00
Lawrence Thorpe 8439608f17
FIX: isFluid parameter for in-feed adsense units (#90)
Fixes issue in #89
2020-08-21 10:24:12 -04:00
Lawrence Thorpe 50788a876e
Add support for adsense fluid format for in-feed (#89) 2020-08-21 09:53:34 -04:00
Discourse Translator Bot 501ad7878e Update translations 2020-08-18 13:00:20 +00:00
Discourse Translator Bot 20ebd91f8f Update translations 2020-08-11 13:00:20 +00:00
Discourse Translator Bot b28039e86a Update translations 2020-08-05 13:23:04 +00:00
Joffrey JAFFEUX 914735767a
FIX: re-revert db4f5f99 with updated tests (#88)
The tests were using an incorrect value for the site setting (the name of the group instead of the id).

`no_ads_for_groups` shows groups names in the UI byt actually stores IDs.
2020-08-04 08:03:22 +02:00
Penar Musaraj db4f5f990d
Revert "FIX: removes part of the 2.4 legacy code forgotten (#87)"
This reverts commit c27d5f8e85.
2020-08-03 21:44:10 -04:00
Joffrey JAFFEUX c27d5f8e85
FIX: removes part of the 2.4 legacy code forgotten (#87)
no_ads_for_groups returns a list of ids
2020-08-03 21:01:51 +02:00
Penar Musaraj 1d073e2a96
DEV: Use CSS custom properties for colors in SCSS
Prepares the plugin for an upcoming change in core while maintaining
backwards compatiblity.
2020-08-03 13:11:20 -04:00
jjaffeux 0a23be6008 DEV: uses html-safe instead of triple curly brackets 2020-08-01 17:48:23 +02:00
jjaffeux 75fb2bf892 FIX: defines an enabled_site_setting
This will amongst other things prevent to load plugin's code if the plugin is disabled.
2020-08-01 17:31:28 +02:00
jjaffeux 1e6e3bb3e9 DEV: 2.5 is now stable 2020-08-01 17:22:17 +02:00
jjaffeux 06ea132309 DEV: 2.4.0.beta3 has been released 2020-08-01 17:21:40 +02:00
dependabot[bot] 24cb463ddb
Bump lodash from 4.17.15 to 4.17.19 (#86)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-16 10:20:14 -04:00
Discourse Translator Bot dd5fb1f785 DEV: Switch from Transifex to Crowdin 2020-07-16 14:00:09 +02:00
Bianca Nenciu 3fc872520e
FIX: CodeFund is shutting down (#85) 2020-07-10 18:09:32 +03:00
Robin Ward 3d0ee3f28a FIX: Prettier 2020-06-25 15:50:21 -04:00
Robin Ward 05967a8d52 FIX: Plugin was broken in stable 2020-06-25 14:51:14 -04:00
Neil Lalonde cff1459dbc
Update translations 2020-06-24 11:39:24 -04:00
Kane York 5273d52f28
FIX: Do not require login to see ads.txt (#84) 2020-06-24 16:26:04 +10:00
Rafael dos Santos Silva 4ded0bdba9
DEV: Fix usage of deprecated global 2020-06-04 17:30:26 -03:00
Robin Ward 5b99fd5bbd DEV: Discourse.Route has been deprecated 2020-05-12 13:58:12 -04:00
jjaffeux ef316ab4ac DEV: Move to rubocop-discourse. 2020-05-06 17:43:43 +02:00
Neil Lalonde f11382e224
Update translations 2020-05-04 10:47:54 -04:00
Rishabh f7582f0df8
Update README.md
plugin installation info is now at https://meta.discourse.org/t/install-plugins-in-discourse/19157
2020-04-17 16:21:28 +05:30
Joffrey JAFFEUX 270799166b
REFACTOR: applies discourse core coding practices (#82) 2020-03-23 09:40:29 +01:00
Neil Lalonde cd82a905ae
Load Google Ad Manager code from doubleclick.net
https://support.google.com/admanager/answer/1638622?hl=en
2020-03-13 14:24:54 -04:00
Neil Lalonde bec86bd59a Update translations 2020-02-25 10:30:45 -05:00
Neil Lalonde f2ccce4beb Update translations 2020-02-13 15:03:14 -05:00
jjaffeux af346fc1c2 FIX: makes houses hads work with sk2 2020-02-07 10:34:58 +01:00
Neil Lalonde 63ae1672ad Add note about CSP to DFP, AdSense, and AdButler settings
Ad networks that serve javascript files won't work unless CSP is
disabled (a bad idea), or the content security policy script src
site setting is updated to include all sources of permitted
javascript. We will keep instructions up-to-date in the first post
of this topic: https://meta.discourse.org/t/33734
2020-02-03 17:18:42 -05:00
Neil Lalonde 3fdd0f35f3 Update translations 2020-01-20 11:19:03 -05:00
Gerhard Schlager 275921ac70
Make prettier happy 2020-01-16 00:12:27 +01:00
Neil Lalonde 116f9dd238 FEATURE: add support for fluid ad size in Google Ad Manager
No width or height will be set on containers when ad size is fluid.
2020-01-15 16:52:02 -05:00