Commit Graph

302 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 8d973ff966 Remove migration code 2024-08-30 23:53:34 +02:00
Infi db3d513f9e Loc the string 2024-08-29 19:06:49 +02:00
Infi cdf4f92ffa Allow users to collapse usage notice 2024-08-29 19:05:46 +02:00
Infi f6531907a4 - Partially implement tab switch
- Better support character switch
2024-08-28 18:18:20 +02:00
Infi 6cb01aa2f4 Add button indicator for url link 2024-08-28 14:49:50 +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 1d7153fc50 Redo the auth system and implement rate limits 2024-08-25 15:37:13 +02:00
Infi 19f10b09c8 Implement dynamic channel list 2024-08-25 01:03:02 +02:00
Infi 29e3c6acee Redo the message protocols to work with SSE data directly 2024-08-24 19:52:53 +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 9d6fcd2abe Fix #108 2024-08-14 14:21:27 +02:00
Dean Sheather 12c876f45b fix: avoid hiding during auto-skipped cutscenes
Instead of hiding the chat window immediately when the game enters a
"cutscene" condition, wait until the vanilla chat would've been hidden.
This prevents hiding and unhiding during auto-skipped cutscenes.
2024-07-28 01:05:25 +10:00
Infi 2af53829bf Merge pull request #102
fix: various keybind fixes (modifiers and linkshells)
2024-07-26 21:18:42 +02:00
Infi 588dd31c16 don't save icon texture 2024-07-26 21:16:33 +02:00
Dean Sheather c22bde296d fix: various keybind fixes (modifiers and linkshells)
- Avoids overriding modifiers after leaving a vanilla text box. This
  would prevent you from holding e.g. Ctrl between multiple vanilla text
  boxes.
- Reworks linkshell rotation code to fix issues with LS number gaps
  causing linkshell rotation to not function.
2024-07-27 03:52:23 +10:00
mopi b14f1732dd Get job icons from game 2024-07-26 04:03:22 -03:00
Infi c9902dc28b Switch to dalamuds texture cache 2024-07-25 15:57:21 +02:00
Infi ed87430859 Also reload if enabled state changed 2024-07-25 15:43:33 +02:00
Infi e9790d355f Reload fonts for italic too 2024-07-25 15:40:35 +02:00
Infi 459cfa72ea Correctly reset italic 2024-07-25 15:38:25 +02:00
Infi 906eeb5095 Remove legacy migration 2024-07-25 15:33:05 +02:00
Infi 41c59f6aa0 Make italic font chooseable 2024-07-25 15:19:08 +02:00
Infi 9c86ee788f fix 2024-07-25 14:03:08 +02:00
Infi fecab7760e Add reset buttons for fonts 2024-07-25 14:02:37 +02:00
Infi 97654b1c53 Rewrite font handling, use dalamud font chooser 2024-07-23 20:46:38 +02:00
Infi f7252cdf78 Merge pull request #99
fix: censor abbreviated player names in screenshot mode
2024-07-22 19:17:32 +02:00
Dean Sheather b5ec2145c1 fix: censor abbreviated player names in screenshot mode
Best effort.
2024-07-22 22:22:57 +10:00
Dean Sheather 710d4e837d fix: avoid stealing focus from other imgui windows on unhide 2024-07-22 22:09:20 +10: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 70a60b83e5 fix: avoid switching to non-existent linkshell idx
Prevents switching channels to a non-existent linkshell index (for both
regular linkshells and cross-world linkshells). ExtraChat linkshells are
already validated separately.

Prevents ChatLogWindow Draw failures from causing ChatTwo to grab input
focus each frame if the exception occurs during an Activate event.
2024-07-21 01:51:03 +10:00
Dean Sheather fb167a8161 chore: refactor keybinds to be in new KeybindManager 2024-07-15 19:24:29 +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
Infi eae393842a Merge pull request #83
feat: add autohide after inactivity
2024-07-13 09:30:04 +02:00
Infi 58a6567f5a dynamic fix for #85 2024-07-13 09:18:40 +02: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 f76f0e91d0 Update for 7.0, part 1 2024-06-30 05:07:11 +02:00
Infi 1acd532ef1 Fix chat hide command not working 2024-06-21 20:58:17 +02:00
Infi 7a27ca8ea8 Fix linkshell rotation 2024-06-17 19:21:17 +02:00
Infi 70989da680 More CS updates 2024-06-09 12:59:29 +02:00
Infi 9c4b975605 - No emote parsing on AutoTranslate
- nint everything
2024-06-02 14:17:45 +02:00
Infi 3a5dcae261 Fix #63 2024-05-28 14:23:31 +02:00
Infi c5363769c2 Force main window to be always open 2024-05-26 13:53:26 +02:00
Infi 6ff1b80641 Merge pull request #53 from deansheather/dean/message-sorting-fixes
fix: fix sorting problems
2024-05-25 17:11:42 +02:00