discourse/test
Joe 72361738d0
DEV: don't add username to share links when badges are disabled (#10730)
Context: https://meta.discourse.org/t/stop-appending-username-to-url-when-badge-system-disabled/164904

Share links for topics and posts have the current username appended to them when the user is logged in. 

If badges are disabled, those added usernames are not beneficial since they're only used to track progress towards certain badges. 

This PR makes two change. 

1. it moves the logic for the share link url to a centralized helper because it's shared in both topic and post models. 
2. it stops username params from being added to share links when badges are disabled.
2020-09-29 00:12:16 +08:00
..
javascripts DEV: don't add username to share links when badges are disabled (#10730) 2020-09-29 00:12:16 +08:00
stylesheets Manage qunit via yarn. 2018-09-11 15:07:28 +08:00
run-qunit.js DEV: linting of run-qunit.js (#10728) 2020-09-23 12:52:11 +02:00
smoke_test.js Revert "Reland "DEV: Add checks that assets do not modify cookies to smoke-test.js" (#9774)" (#9783) 2020-05-14 12:04:09 -07:00