This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Misaka 0x4e21 e26437f334 FEATURE: Do encodeURI on share links
Some Discourse-supported sharing platforms such as Twitter are unable to determine the end of a unicode URL. If you post a URL "https://example.org/t/测试/1" on Twitter, it will be a link of href="https://example.org/t/"

If the URL contains any unicode character (usually in the slug part) , it must be urlencoded with encodeURI(url) before being passed to source.generateUrl(link, title), or it will be a malformed URL in the sharing tweet.
2018-08-13 15:35:56 +10:00
..
adapters DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
components FEATURE: Do encodeURI on share links 2018-08-13 15:35:56 +10:00
controllers UX: Show anchor icon instead of text when topic bump is disabled 2018-08-11 21:51:13 +02:00
helpers DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
initializers FEATURE: backend support for user-selectable components 2018-08-08 14:46:34 +10:00
lib FIX: check permalinks for deleted topics 2018-08-09 15:05:12 +10:00
mixins FEATURE: land on specified category page when creating topic via URL 2018-07-20 15:55:05 +05:30
models FEATURE: Add "Reset Bump Date" action to topic admin wrench (#6246) 2018-08-10 10:51:03 +10:00
pre-initializers DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
raw-views DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
routes FEATURE: Drafts view in user profile 2018-08-01 16:34:54 +10:00
services DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
templates UX: Show anchor icon instead of text when topic bump is disabled 2018-08-11 21:51:13 +02:00
widgets FEATURE: Add "Reset Bump Date" action to topic admin wrench (#6246) 2018-08-10 10:51:03 +10:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00