Commit Graph

82 Commits

Author SHA1 Message Date
Kashargul
d10d0d7953 Fixes timestamp sorting incompatibility.
-> Timestamps have been simple added as prefix in front of the entire message, having the classifying <span class="..."> behind it what prevented message filtering. So instead of adding it in front, we are inserting it with a regex replace after the first <span...>

-> Underlining breaks fromatting. This issue happens as _ is used as a character in labels. It never should be used in labels as it's a marking character being parsed. Using it in a label causes the label to partially be parsed and therefore the message breaks. I've removed the underline in "emote_sublte" to at least have that working again. But likely all labels should be reworked to no longer use underlines.

-> Known issue: Absorb messages are not having timestamps. The way absorb messages are implemented prevents the current "client.prefs.chat_timestamp" from being used as it would rely to the speaking client to have it enabled. I haven't looked enough into to code, but if there's a way, it might be best to move the entire timestapmping to the code/modules/vchat/vchat_client.dm using a regex to insert them behing the classifying span.
2023-10-12 00:27:21 +02:00
Kashargul
c297ebbc37 Absorb message filter & general radio colour
-> Slightly brigther green for the general radio comms in dark mode to make it easier readable on some screens.

-> Added a filter function for Psay and Pme messages to no longer have them under unsorted messages to easily integrated them into a scene tab.
2023-10-10 21:46:53 +02:00
VerySoft
9327ccb9a1 Fancy!!!
Makes a few changes to things, most of which are functionally identical to before.

Changes the shadekin empathy color to something unique, and more visible in dark mode than the changeling color. Also gives it a special font.

Makes a slightly lighter color as an alt color for dark mode

Makes it so that hivemind languages don't HAVE to be italics, but makes it so all the existing hivemind languages minus shadekin empathy are italicized. (The font I picked for empathy was hard to read while italics)
2023-09-11 18:18:12 -04:00
VerySoft
737dd4b8e1 Fancy...
Makes Teppi language more fancy

also changes the color of sol common when using dark mode
2023-09-08 18:29:24 -04:00
Selis
67ebdeaaa8 Adds pray filter to vchat 2023-08-21 15:47:11 +02:00
Selis
4b6aa323e9 Bugfix for the Bugfix 2023-08-14 01:07:10 +02:00
Selis
95826dcb4b SQL Injection Fix 2023-08-13 21:50:03 +02:00
Runa Dacino
61a139e91a Merge branch 'master' into filter_rlooc 2023-08-06 10:26:51 +02:00
VerySoft
616fcfa611 Unfuck oldchat colors 2023-08-05 20:38:14 -04:00
Runa Dacino
39763e85c6 documentation: Creates a short documentation for vchat
I ran into issues figuring out why modifying vchat.js did not cause changes to the game when the last PR I saw modifying it did nothing else (about may, 2022). Turns out, in september 2022 - minification was done.

This readme instructs developers to do so to avoid future confusion and explains how.

I also made a note about keeping ss13styles.css sync'd with stylesheet.dm
2023-08-05 20:57:34 +02:00
Runa Dacino
2fbb19b122 add(vchat): Adds the ability to per-tab filter Remote LOOC for staff
Adds the ability to remotely toggle Remote LOOC in VChat tabs, making it not show up except in Main and tabs you have it enabled.

This requires decoupling from OOC, which was done in the previous commit.

Also removes superfluous "vorestation" or "chompstation edit" comments
2023-08-05 20:56:34 +02:00
Casey
d8fed4fa08 Merge pull request #15206 from Runa-Dacino/descinfodarkmode
Makes the examine panel present more readable colours when using darkmode
2023-08-05 14:46:40 -04:00
Runa Dacino
c6bbec2aac Tweak: Decouples OOC and LOOC/RLOOC
For whatever reason, that I could not figure out, span class looc was defined instead as span class ooc looc.

In the style sheet it looks like ooc created the bolding, looc created the colour.

I modified the style sheet for both normal and vchat to make looc and the new rlooc have their own unique, independent class definitions.
2023-08-05 17:50:26 +02:00
Runa Dacino
53f646fc91 tweak(examine tab): Makes description colours follow darkmode
Adds a check to mobs' stat() proc's description/examine handling, checking if our statpanel's background-color is "none" (basically white). This decision was made for reasons stated in the comment.

I also puta  comment in vchat.js asking people tampering with it to please keep these two things in sync
2023-08-05 13:28:12 +02:00
Verkister
0190371418 Gives staff remote LOOC logs distinct color from regular LOOC (#6705) 2023-08-05 11:33:22 +02:00
ItsSelis
10d2178516 More 515 Compatibility 2023-06-05 19:29:40 +02:00
Seris02
0cdc45eddf merge conflict fixes for chat filters PR 2023-03-09 17:19:02 +08:00
Seris02
dd1e58acc7 cleans up so many to_chats so they use vchat filters, unsorted chat filter for everything else 2023-03-08 23:26:14 -05:00
VerySoft
3f172b130b Player Narrate
Something I've wanted for a good while, the ability to make posts that aren't directly emotes, or emotes that don't start with one's name! 

This should allow you to do your "It was a dark and stormy night" kind of posts if you should so desire.
2022-10-30 04:09:16 -04:00
ItsSelis
31c756e3ba Minifies JS & Updates Vue 2022-09-03 09:49:04 +02:00
lm40
8c2443a652 Mentor QOL changes 2022-08-14 20:53:36 -04:00
lm40
e3ce2af09b Buffs make/unmake mentor 2022-08-14 00:03:54 -04:00
lm40
a7002ecdf1 Adds mentors
Adds mentors
2022-08-13 21:46:05 -04:00
Heroman
8a9df3b2ea Fixes in-chat icons being broken 2022-07-20 18:55:27 +10:00
VerySoft
36ca8211e2 Make vchat warning only fire if vchat is enabled
ME USE OLD CHAT

ME NOT LIKE THAT IT WARNS ME THAT VCHAT ISN'T WORKING EVERY TIME WHEN I HAVE THE PREFERENCE FOR IT DISABLED

So, this makes it only warn you about vchat not working if you have vchat enabled.
2022-06-11 03:00:05 -04:00
Heroman
1c8bcbab75 Language color fixes 2022-05-09 06:38:57 +10:00
Vorrarkul
1faa1f819a Update ss13styles.css 2022-05-05 22:20:38 -07:00
Verkister
2fbc301ec9 Fixes a vchat runtime
Sometimes the proc above returns something that is not a list.
2021-11-30 17:33:14 +02:00
Anthony Rodriguez
464a08fccb Adds Altevian Language & ATC Fluff 2021-11-13 12:29:41 -08:00
Aronai Sieyes
fbb7a3118e Add discord button to top 2021-07-02 18:22:56 -04:00
Aronai Sieyes
0da0c54388 Convert almost all alert() to tgui_alert() 2021-06-25 17:03:35 -04:00
Neerti
767e655310 Linter Introduction + Cleanup 2021-05-25 23:19:34 -04:00
Martin Rivard
bb21268804 Fixes VChat HTML export text colours. (#7900)
* Changes the CSS so that regular 'say' and 'me' actions are directly set to black text colour.

* Changes debug info message CSS to also set to black text.

* Adds inverted colours.
2021-02-20 02:12:52 -05:00
Schnayy
888fba5781 Makes sinta a little easier to distinguish on the radio. (#7887) 2021-02-19 17:42:18 -05:00
Cyantime
373c7964d4 Includes subtles in Local Chat vchat filter 2021-01-30 21:33:58 -05:00
Novacat
bc6ff5cb67 Update ss13styles.css 2021-01-12 02:08:16 -05:00
Mechoid
6a07b667f1 Blob Genesis 2021-01-10 01:40:06 -05:00
Wrackbang
9bd35b51c3 VOREStation Add comment to the style sheet inclusion 2020-12-02 12:20:54 -06:00
Wrackbang
a38b983d15 Fixes Spacer color 2020-12-02 00:42:10 -06:00
ShadowLarkens
3f652d84f8 13x Performance for Export chatlog, update rust_g to 0.4.6-vorestation 2020-10-19 18:24:37 -07:00
Atermonera
3669657656 Fixes Runtime in vchat_client.dm,85: Cannot execute null.is preference enabled (#7557) 2020-08-25 00:32:25 -04:00
Novacat
8b7d087259 Merge pull request #8437 from Tenryumi/dragon-stuff
Adds dragon-y language and "*gao" emote
2020-07-21 18:12:43 -04:00
Amy
ebaa88764d Brightens D'Rudak'Ar language color 2020-07-20 16:02:39 -05:00
Amy
51d2c98e33 Adds dragon language, gao emote w/ sound 2020-07-20 00:49:05 -05:00
Atermonera
a26d43c7f9 Merge pull request #7353 from Shadow-Quill/CheckExportTick
[SEMI-URGENT] Fixes hanging/crashing server when using the Export-Chatlog verb in OOC
2020-07-19 23:38:46 -04:00
Leshana
c6f29c3525 Fix loading of history on connect.
The for loop that used to do it loaded the wrong messages.
New method calculates correctly and also doesn't spend time loading from database if we're going to throw it away.
2020-05-26 15:50:50 -04:00
Leshana
ac8922bdf5 Check vchat loaded flag before attempting to call putmessage 2020-05-25 16:02:58 -04:00
Atermonera
f0bf4efcca Adds vchat export chatlog verb (#7214) 2020-05-24 17:24:24 -04:00
Atermonera
b6c8d31829 cleans up advanced_who output (#7148)
* cleans up advanced_who output

* Missing tag
2020-05-15 16:37:35 -04:00
Aronai Sieyes
9e3c04b7e1 Fix missing dash breaking numbers in URL ends 2020-05-11 17:58:45 -04:00