Régis Hanol
c5f9ae0de1
FIX: username mentions weren't working when immediately followed by a dot
2016-01-07 22:23:01 +01:00
Régis Hanol
f654528aa4
FIX: user/group/category mention dialects with less strict matchers
2016-01-06 18:47:21 +01:00
Sam
ad3dd161e7
FEATURE: first class group mentions built in
...
If you allow a group to be mentioned it can be mentioned with the @ symbol.
Keep in mind as a safety mechanism max_users_notified_per_group_mention is set to 100
2015-11-30 17:08:43 +11:00
Robin Ward
8eee0cf0ca
FIX: Mentioning was broken when username ended with an underscore
2015-11-10 15:25:12 -05:00
Sam
262f561a87
FEATURE: relax username rules to allow - and . and leading _
...
This relaxes our very strict username rules to allow for some long asked for requests
- leading _ is now allowed
- . is allowed except for trailing char and confusing extensions like .gif .json
- dash (-) is now permitted
2015-09-02 12:13:44 +10:00
Jens Maier
23cde96a1b
Fix: @mention dialect matches too often
2015-05-03 18:30:53 +02:00
Marcin Rataj
a56f5a9b65
FIX: fix @mentions for usernames shorter than 2 characters
...
Super short usernames were enabled by
https://github.com/discourse/discourse/pull/2838
This is just a fix for @mentions
2014-10-03 13:20:40 +02:00
Sam
107003576e
Simple workaround for username highlighting for long names
2014-05-25 13:54:52 +10:00
Robin Ward
f51cbc8952
FIX: @mentions should not be processed within links
2014-05-06 17:48:30 -04:00
Robin Ward
ed6e2b1d79
Remove Zalgo API from Discourse.Mention:
...
http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony -
Thanks @riking for finding it.
2014-04-14 16:51:18 -04:00
Robin Ward
f27413219e
Support for MDTest
2013-10-16 10:28:42 -04:00
Robin Ward
5281b7f80c
Upgraded and refactored Sanitizing. Much less crap should get through now!
...
Conflicts:
app/assets/javascripts/discourse/components/syntax_highlighting.js
2013-10-15 10:53:11 -04:00
Robin Ward
af931f0444
Reverting the Sanitizer commit in case we have to do something urgent
...
before we deploy it early next week. It's in the branch `sanitizer` for
now.
This reverts commit 9e93d8ed52 .
2013-10-11 16:44:26 -04:00
Robin Ward
9e93d8ed52
Upgraded and refactored Sanitizing. Much less crap should get through now!
...
Conflicts:
app/assets/javascripts/discourse/components/syntax_highlighting.js
2013-10-11 16:25:40 -04:00
Robin Ward
8f94760cd4
Better API for adding on to our Dialect
2013-08-27 18:17:34 -04:00
Robin Ward
612c0ccccb
FIX: Autolinking within a list
2013-08-22 18:03:01 -04:00
Robin Ward
513f941f50
Fixes @mentions inside of lists
2013-08-22 17:50:36 -04:00
Robin Ward
f2c4b3e37f
FIX: Following a mention with a coded mention.
2013-08-22 16:13:02 -04:00
Robin Ward
6fe0d29a01
FIX: @mentions within backticks followed by proper @mentions.
2013-08-22 15:55:29 -04:00
Robin Ward
0f27232711
FIX: Support inline code blocks with @mentions in them.
2013-08-22 12:18:36 -04:00
Robin Ward
30cfa33629
FIX: @mentions within simple quotes
2013-08-21 16:10:16 -04:00
Robin Ward
7f69a58439
Replace Markdown parser.
2013-08-21 10:10:57 -04:00