Files
tbd-station-14/Content.Server
Thomas 876c44cd66 Sanitize shorthand emotes throughought the whole message (#28645)
* Rename ChatSanitizationManager to ChatEmoteSanitizationManager

The prior name was kind of confusing as there's a emote one and
then now there's also chat expansion happening in the accent system,
so knowing which I actually need to edit is useful.

So, I just need to keep myself not confused.

* Rename smileyToEmote and remove punctuation duplicates

The name SmileyToEmote is just... Bad.

Plus, I needed to remove the punctuation duplicates as that would
break any kind of regex parsing that I tried.

* Switch to regex from checking end of string

I also changed from System.Globalization to ILocalizationManager.

Writing that regex was definitely an experience.

* Document regex and the manager

* Rename it back

* Simplify regex
2024-10-17 16:01:32 +02:00
..
2024-10-09 17:05:36 +02:00
2024-08-25 22:43:31 +10:00
2024-08-25 22:18:42 +10:00
2024-08-25 22:18:42 +10:00
2024-10-10 10:48:56 +02:00
2024-08-25 22:18:42 +10:00
2024-08-25 22:18:42 +10:00
2024-10-08 11:50:54 +02:00
2024-09-29 02:25:21 +02:00
2024-10-16 20:38:02 -05:00
2024-08-25 22:18:42 +10:00
2024-10-01 23:17:57 -07:00
2024-07-13 16:09:19 +10:00
2024-10-10 10:48:56 +02:00
2024-06-02 23:28:53 -04:00
2024-09-29 02:25:21 +02:00
2024-08-25 22:18:42 +10:00
2024-09-27 17:12:10 +10:00
2024-09-24 19:02:51 +02:00
2024-08-25 22:18:42 +10:00
2024-09-30 20:13:16 -07:00
2024-06-01 01:14:43 -07:00
2024-09-29 15:23:53 +02:00
2024-08-09 17:43:57 +10:00
2024-08-25 22:18:42 +10:00
2024-06-09 15:18:54 -04:00
2024-09-29 02:25:21 +02:00
2024-10-09 17:05:36 +02:00
2024-10-10 10:48:56 +02:00
2024-09-07 00:05:53 +10:00
2024-06-01 01:14:43 -07:00
2024-09-30 20:13:16 -07:00
2024-10-10 10:48:56 +02:00
2024-08-25 22:18:42 +10:00
2024-09-29 02:25:21 +02:00
2024-10-09 17:05:36 +02:00
2024-09-29 02:25:21 +02:00
2024-10-10 10:48:56 +02:00
2024-06-02 23:28:53 -04:00
2024-09-26 18:55:59 +02:00
2024-08-18 21:39:00 -06:00
2024-10-10 10:48:56 +02:00
2024-10-10 10:48:56 +02:00
2024-08-28 10:57:12 +10:00
2024-10-10 10:48:56 +02:00
2024-09-26 18:55:59 +02:00
2024-07-08 00:26:58 +10:00
2024-10-10 10:48:56 +02:00
2024-09-15 11:55:03 +10:00
2024-10-10 10:48:56 +02:00
2024-09-27 17:12:10 +10:00
2024-05-30 07:39:07 -04:00
2024-04-21 23:16:23 +10:00
2024-06-01 01:14:43 -07:00
2024-09-26 18:55:59 +02:00
2024-09-29 15:23:53 +02:00
2024-10-14 16:40:59 +11:00
2024-08-26 01:20:47 +10:00
2024-09-01 12:45:01 +02:00
2024-10-10 10:48:56 +02:00