With this update a new chat history definition is added on a per
room bases which allows operators to specify the number of chat
messages to store and present to the user on join. Please see
the sample ini for room definitions.
No longer need to use the [url] tags to add **HTTPS** links. I want to
only link to "secure" site by default, hence only https.
Users can still use [url] tags if they want to.
The ENTIRE chat code needs to be rewitten, as it is just packing more
code upon code. It can be done in another PR though. This just gets the
base working feature in place.
When clearing the chat, we now clear the last sender.
This fixes the issue where you clear the chat and a user continues to
talk, you get no indication of who is talking. Now it will show the
users name.
As the server has been updated to enforce username rules, we can now
check for the next position of whitespace. This allows ALL users to have
a working mention system. Currently "-" is available for users, this
will fix that.
+ Can be used for setting client size and closing the client.
Will expand on by sending client alerts to the tray.
Updated to push message notifactions to the toolbar
Preview image:
Added setting to enable/disable message popups
Added functionality
+ updated popup message and translation
+ Double clicking tray icon will now bring up the app/minimize it
+ can now be alerted of mentions
+ added setting to set if you want mentions on desktop
+ clicking mention message will take you to the main chat
+ added translations for icon menu
+ removed maximize/minimize/restore from menu, not needed.
Added disconnect
+ Disconnects any previous message slots/signals from the system icon
message bubble
This is enforcing a new client wide color scheme.
RULES
+ Green = Major server message (Welcome to chat room, change phase...)
+ Red = Minor server message (timestamps, game actions...)
+ Blue = Key word
+ Blue with modifier (underline/italics) = Keyword that can be
interacted with.
+ Black = User text
+ key numbers are now blue. player drew X cards, looks at the top X
cards, places X counters on . . . and so on.
+ card names are now italic (different from urls now)
I did have the player names set to blue also, but it felt like too much.
Player names in phase change are blue
Updates
+ Updated username colors in phases to match other areas of client
Small update
+ Made server message in chat room bold
+ made User names in chat/pm match the weight of in-game (consistancy)
Due to an exploit of being able to mimic a die roll in a message:
"Hi all gl, hf !
username rolls a 20 with a 20-sided die."
I have changed all server messages to be colored.
+Chat mention / username color can now be set via hex in the settings
+ Users can invert the color of the mention text black/white
+ if an invalid color is provided, the default will be used
now checks for non characters, so a mention s like "@username!" will now
work.
Requires some testing though, there are a lot of scenarios to check for.