Commit Graph

92 Commits

Author SHA1 Message Date
Infi 725fe449f8 - Support locked channels
- Implement render limit for webinterface [default 1000]
2024-09-02 12:46:09 +02:00
Infi db3d513f9e Loc the string 2024-08-29 19:06:49 +02:00
Infi c77a1f9d2d Complete the webinterface config panel 2024-08-28 14:43:49 +02:00
Infi 8d6f59f9fa - Loc updates
- Add access URL to webinterface panel
2024-08-28 14:31:25 +02:00
Infi 2ababa82b0 - Implement better start/stop for the webinterface
- Save session tokens between startups
2024-08-28 14:09:09 +02:00
Infi 5e93732183 Add pre-testing version of the webinterface 2024-08-24 03:05:33 +02:00
Infi 117d9fc45c fix #81 2024-08-20 23:14:52 +02:00
Infi 16a16b1f12 Implement #101 2024-08-14 14:46:00 +02:00
Infi 41c59f6aa0 Make italic font chooseable 2024-07-25 15:19:08 +02:00
Dean Sheather 56f6855da2 feat: autohide improvements
- Adds new setting "Enable inactivity hide during battle" (default:
  true) which determines whether autohide should apply during battle
  (thanks @aurieh)
- Adds new setting "Chat channels considered for activity" which allows
  customizing which channels incoming messages must match to "bump" the
  inactivity timer
- Adds new per-tab setting "Unhide the chat window on activity" to
  configure whether it will be considered for "bumping" the inactivity
  timer when receiving messages that match the new channel filter. Note
  that the foreground tab is currently always considered.
- Extends autohide code to apply to poped-out tabs as well. Each popout
  window has its own inactivity timer, but focusing the main window will
  restore all popped out windows.

Co-authored-by: Auri <me@aurieh.me>
2024-07-21 15:09:45 +10:00
Dean Sheather 352088dfed feat: add configurable hotkeys to cycle tabs
Adds two configurable hotkeys (plus the required code infrastructure to
handle configurable hotkeys) for cycling the active chat tab forward by
one and backwards by one.
2024-07-15 19:17:32 +10:00
Dean Sheather c3c60e7e43 feat: add autohide after inactivity
After not receiving a message for X seconds (configurable) in the
current tab or any tab with unread mode enabled, the chat will be
hidden. Focus can be returned with return or slash as usual.

Having input focus or hovering the mouse over the chat window "bumps"
it every frame.

Also fixes a bug that prevented focus from being restored to tabs with
input disabled. The chat window will be brought back but the activated
event won't be fully processed.

Co-authored-by: Auri <me@aurieh.me>
2024-07-13 16:30:42 +10:00
Infi cd750a3ccb Rename close to hide and change icon 2024-07-08 12:10:27 +02:00
Dean Sheather fef9122eca feat: add close button to chat log 2024-07-08 16:57:37 +10:00
Infi 3a5dcae261 Fix #63 2024-05-28 14:23:31 +02:00
Infi 88fbb24ff0 - Migrate DB to v2 (Channel)
- Add channel selection to DBViewer
2024-05-22 19:25:36 +02:00
Infi 6e0dd15ac0 DBViewer improvements 2024-05-22 15:25:05 +02:00
Infi c91858183a Add changelog tab 2024-05-22 03:39:31 +02:00
Infi e19682e50d Shuffle entries 2024-05-21 10:56:42 +02:00
Infi 6daa0bb9e2 Move preview config to its own tab 2024-05-21 10:53:37 +02:00
Infi 140343e654 - Use tokinzer for URL parsing
- Regex based split for letter selector
2024-05-21 06:36:57 +02:00
Infi aab4977ecf Improve text wrapping for preview 2024-05-20 16:05:32 +02:00
Infi 592892e45a - New option to limit minimum preview length
- New option only preview with parameters
- Improve preview drawing modes
- Prevent null ref on plugin load
2024-05-20 06:25:54 +02:00
Infi a18861ea87 Add new preview position: tooltip 2024-05-19 17:16:36 +02:00
Infi b08c858364 Configurable position for the preview 2024-05-15 23:41:22 +02:00
Infi 662e65d881 More emote improvements 2024-05-11 07:43:05 +02:00
Infi 5d6acf7d08 Option to hide chat in battle 2024-05-11 01:11:53 +02:00
Infi b7286b8010 Implement emotes part 2 2024-05-09 19:09:36 +02:00
Infi 4210d634ab BTTV emote support part 1 & keep Input focus option 2024-05-08 00:04:07 +02:00
Infi bdb308ec02 Adjustable chat log position through sliders 2024-05-03 11:36:05 +02:00
Infi fd08ec20ef Split Display tab 2024-05-03 10:34:41 +02:00
Infi a74cdcb899 Prevent vanilla tooltip for event item and implement #28 2024-04-30 03:49:53 +02:00
Infi b4cb73dd0a Add button to database section 2024-04-21 23:24:43 +02:00
Infi ed5cedefd2 remove message limit text as it doesn't exist for database itself 2024-04-21 01:59:04 +02:00
Infi 42e2fe12a4 Add old database section 2024-04-21 01:33:55 +02:00
Dean Sheather bb6c6b0034 feat: replace LiteDB with Sqlite
- Replace LiteDB database engine with Sqlite
  Note: old databases will not be deleted
- Message duplication detection improvements
- Tolerate parse errors in release builds, log them
2024-04-20 21:18:51 +10:00
Harold Iedema e0793a51da Add option to limit the amount of shown log lines 2024-04-18 19:31:27 +02:00
Infi 30ccf8e416 Implement sounds on interaction 2024-04-16 00:36:30 +02:00
Infi c66d97829c Just null check the styles 2024-04-12 22:11:17 +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
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 948383b0c5 Remove this. everywhere, add small note to override style 2024-04-10 17:45:25 +02:00
Spider 7885824248 Added Translation support for prior changes 2024-04-09 19:21:55 -05:00
Infi 9feb70d262 Add more info to the about page 2024-04-09 21:58:32 +02:00
Infi ce9df63734 Merge branch 'main' into dean/copy-to-clipboard 2024-04-09 16:09:54 +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 d9114aeb0e Add user configurable tooltip offset 2024-04-07 19:01:41 +02:00