Commit Graph

520 Commits

Author SHA1 Message Date
Infi 51658c178c Disable window sounds and remove goto 2024-04-16 16:31:24 +02:00
Infi 30ccf8e416 Implement sounds on interaction 2024-04-16 00:36:30 +02:00
Infi 230e63033d Workaround for direct chat not triggering on special keys 2024-04-15 23:33:50 +02:00
Infi 78e8f763e0 cleanup 2024-04-14 21:24:47 +02:00
Infi 5f7199773a Fix chat alerts breaking tell messages 2024-04-14 20:37:01 +02:00
Infi 1a2b313598 Remove debug log message 2024-04-13 21:20:01 +02:00
Infi 8a34cb5186 Fix double messages on startup 2024-04-13 18:01:00 +02:00
Infi c66d97829c Just null check the styles 2024-04-12 22:11:17 +02:00
Infi 4751e3c8f7 Merge pull request #17
Fix: Resolved issue w/ invalid style
2024-04-12 19:46:04 +02:00
Spider cc9e7aba61 Resolved issue w/ invalid style 2024-04-12 08:04:34 -05:00
Infi f52bc2a41b Experimental: Always check for keybinds 2024-04-11 19:36:49 +02:00
Infi 795c8a6bb5 We don't respect the close key in any window 2024-04-11 16:12:57 +02:00
Infi db73c59d40 switch to SetTooltip 2024-04-11 15:55:54 +02:00
Infi 4c8bde1f9f Merge pull request #15
feat: add database details section to settings
2024-04-11 15:40:13 +02:00
Infi 15eb7782a5 Merge pull request #14
fix: avoid warning logs about extrachat
2024-04-11 15:33:11 +02:00
Infi 1243501067 Fix unfocused in eureka 2024-04-11 15:31:36 +02:00
Infi 4ebd072ad4 Merge pull request #13
fix: censor tell target in Eureka in ScreenshotMode
2024-04-11 15:01:08 +02:00
Dean Sheather 715fb7aa5b feat: add database details section to settings
Shows path to database (click to copy), database size, database log
size, message count.

Also adds a Ctrl+Shift button to wipe the database permanently. This is
performed by clearing the Messages collection and then rebuilding the
database, which brings it down to around 48KB on my machine (even with
many messages).
2024-04-11 21:13:04 +10:00
Dean Sheather e0e26b782c fix: avoid warning logs about extrachat 2024-04-11 18:32:35 +10:00
Dean Sheather 07d6f68176 fix: censor tell target in Eureka in ScreenshotMode 2024-04-11 18:24:56 +10:00
Infi 8b7a671e52 Replace old vfunc calls with directly CS functions 2024-04-11 07:40:47 +02:00
Infi c24ca3c007 More cleanup 2024-04-11 07:09:09 +02:00
Infi 48fec7dfaa cleanup and reformatting 2024-04-11 06:44:23 +02:00
Infi 9f771c37e3 Implement #10 with fixed payload byte[] 2024-04-10 23:57:44 +02:00
Infi 27e08064af Adjust CursorPos to respect UTF symbols as one and not separate entities 2024-04-10 21:48:43 +02:00
Infi c1ba97353a Merge pull request #12
fix: hide unused ECLS indices from chat selector menu
2024-04-10 20:29:20 +02:00
Infi 657d5f9e38 Better preview images 2024-04-10 20:02:54 +02:00
Dean Sheather 87e6573e9b fix: hide unused ECLS indices from chat selector menu
Checks each ExtraChat channel from 1-8 to see if a matching `/eclX`
command is registered in Dalamud before showing it in the list.
2024-04-11 03:40:31 +10:00
Infi 85bf359c0a Merge pull request #8
fix: avoid double-up player names in screenshot mode, censor tell target
2024-04-10 19:34:32 +02:00
Infi 8945a34287 Merge pull request #6 from deansheather/dean/extrachat-input-channels
feat: allow tab input channel to be set to ExtraChat
2024-04-10 19:13:14 +02:00
Infi 0cae4297f9 Merge branch 'main' into dean/extrachat-input-channels 2024-04-10 19:13:02 +02:00
Infi 059c7322c8 Add option to hide chat during loading screens [default false] 2024-04-10 19:07:35 +02:00
Infi d2896266e1 Use hi-res icons by shifting the texture 340 (170*2)px 2024-04-10 18:10:23 +02:00
Infi 948383b0c5 Remove this. everywhere, add small note to override style 2024-04-10 17:45:25 +02:00
Infi 2dfd11f018 Merge pull request #11
[feat] Allow Users to Override the Popout and ChatLogWindow Styles
2024-04-10 17:35:25 +02:00
Infi 486ece07d2 Make the debugger command depend on debug build 2024-04-10 17:11:46 +02:00
Spider 7885824248 Added Translation support for prior changes 2024-04-09 19:21:55 -05:00
Spider eb7b8b96ea Fix to prevent overriden style from appling to the config window 2024-04-09 18:05:34 -05:00
Spider 9412711050 Added The ability to override the plugin style 2024-04-09 17:29:35 -05:00
Infi 9feb70d262 Add more info to the about page 2024-04-09 21:58:32 +02:00
Dean Sheather 8ed6c909cb fix: avoid double-up player names in screenshot mode, censor tell target
In party chat, players from other servers seem to have extra (empty)
text chunks with the same PlayerPayload link. The screenshot mode code
would replace all chunks with the hashed player name.

Changes the screenshot mode code to skip changing the chunk content for
PlayerPayload chunks unless the content contans the player name.

Also censors the tell target above the chat input.
2024-04-10 03:25:59 +10:00
Infi 8446cb3c1f + Switch to dalamud method for opening URLs
+ Fix popout min size
2024-04-09 16:37:58 +02:00
Infi 3f819eee6d Merge pull request #3 from deansheather/dean/copy-to-clipboard
feat: copy directly to clipboard, add copy content option
2024-04-09 16:10:06 +02:00
Infi ce9df63734 Merge branch 'main' into dean/copy-to-clipboard 2024-04-09 16:09:54 +02:00
Infi cc014519d4 Merge pull request #2
feat: clickable URLs in chat log
2024-04-09 16:02:34 +02:00
Infi 5da271e0c2 - Fully support role colors and icons
- Fix #5
- Add SeString debugger window
2024-04-09 15:58:53 +02:00
Dean Sheather 2ed125d520 feat: allow tab input channel to be set to ExtraChat
Adds ExtraChat Linkshell channels to tab input channel selector. These are only by index, not by channel name due to limitations in the ExtraChat IPC API.

Adds ExtraChat Linkshell channels to the channel selector in the chat log window. As these aren't real channels in-game, these are handled by just sending the corresponding `/eclX` command which causes ExtraChat to set a channel override.
2024-04-09 18:32:10 +10:00
Dean Sheather ae6c966e27 feat: copy directly to clipboard, add copy content option
Moves the options in the "Chat 2" submenu when right clicking a message
to the parent menu if there are no specific context menu items for the
right clicked payload. This moves the "Copy" button to the main context
menu in the majority of cases and reduces the amount of clicks required
to copy.

Changes the "Copy" button to copy directly to the system clipboard and
adds a notification.

Adds a "Copy content" button beneath the "Copy" button which only copies
the message content (not the sender). If the message doesn't have a
sender, this option does not appear as they function identically in such
cases.
2024-04-09 15:51:42 +10:00
Dean Sheather 4701bb3f6d feat: clickable URLs in chat log
Adds a parsing step when constructing `Message` objects that scans the
message content for anything that looks URL-like, and inserts new
`TextChunk`s into the message content with a URIPayload set.

Hovering over a URL shows an on-hover effect. Clicking a URL opens it in
the default browser. Right clicking shows the hostname, with an option
to open and an option to copy the URL to the clipboard.
2024-04-09 15:40:27 +10:00
Infi fed420901c Working tells for eureka and bozja
Implemented the same focus requirements that vanilla chat has, so as long as the input retains focus, on focus loss it automatically restore the previous channel
2024-04-08 03:26:49 +02:00