Delta-v/Content.Server/Chat/Systems
Thomas 72b2319310 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-24 02:11:06 +01:00
..
AnnounceOnSpawnSystem.cs Аnnouncement sender localization (#29907) 2024-08-09 17:45:29 +01:00
AutoEmoteSystem.cs Remove 700 usages of Component.Owner (#21100) 2023-10-20 15:31:13 +02:00
ChatSystem.Emote.cs Trim punctuation marks in the chat emote system (#28612) 2024-08-21 15:43:53 +01:00
ChatSystem.cs Sanitize shorthand emotes throughought the whole message (#28645) 2024-10-24 02:11:06 +01:00
EmoteOnDamageSystem.cs Use new ComponentPauseGenerator (#25183) 2024-03-07 00:57:05 +01:00
SpeakOnUseSystem.cs SpeakOnUseSystem and phrases for figurines (#30455) 2024-08-09 18:22:27 +01:00