0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 21:13:04 +02:00
Commit Graph

35 Commits

Author SHA1 Message Date
derrod
5dcabaf5cf UI: Make OAuth base URL configurable 2022-05-19 09:31:38 -07:00
derrod
2c7b14bc37 UI: Add UUID to Twitch panel URLs
Some Twitch dashboard panels now require a UUID, it is not used for
anything but local storage right now, and according to Twitch we can
generate it ourselves (or even use a static string). To be safe we can
just use QUuid to generate a "real" UUID and then store it locally until
the user disconnects the account.
2021-12-11 14:39:19 -08:00
Matt Gajownik
1acc14e189 UI: Fix service integration with older Qt versions 2021-12-01 18:53:11 +11:00
Matt Gajownik
bc9911f5a6 UI: Pass parent QWidget to Browser Docks 2021-11-30 23:28:20 -08:00
Ryan Foster
54a808c34a UI: Set Twitch Panel Dark Mode using OBS theme
Check if the current OBS theme is "Dark Mode"-esque and use that to
determine if the Twitch browser panel docks should use Twitch's Dark
Mode or not.
2021-11-24 00:03:39 -08:00
derrod
92f5afae51 UI: Migrate to Helix Twitch API 2021-10-27 14:14:17 -07:00
Yuriy Chumak
63ad0642ae UI: Specify exact service to auth login callbacks
(Jim note: This gives the ability for auth login callbacks to know which
specific service type is being used. For example, with something like
YouTube, there's multiple variants: RTMP, RTMPS, and HLS. This way, the
service login callback can determine how it wants to treat the login
procedure depending on the specific type of service.)
2021-07-24 15:50:59 -07:00
Yuriy Chumak
37b9ece904 UI: Add request type param to GetRemoteText 2021-07-24 15:50:59 -07:00
Matt Gajownik
7282802d4e UI: Use newer Twitch Dashboard docks for integration
Fixes an issue where the submit button on the Stream Information dock
would be cut off at certain resolutions.
2021-04-13 05:21:53 -07:00
Richard Stanway
7d3fa7315a UI: Miscellaneous code cleanups
Remove a few unused variables and other minor changes. No functional
differences. Issues detected by PVS Studio.
2020-09-27 19:03:21 +02:00
jp9000
eda63032e0 UI: Enable BTTV login popup 2020-03-14 17:41:46 -07:00
derrod
3e841b221d UI: Add setting for Twitch chat add-ons choice
Both BTTV and FFZ are fairly popular however they do occasionally
interfere.  To give users the option to chose whichever one they like
most we add a new setting that allows BTTV, FFZ, both, or neither.

Defaults to "None" for new users.  Existing users will be migrated to
"Both" as that's the previous behavior.
2019-11-19 21:06:36 -08:00
jp9000
a03ade631f UI: Fix Twitch panels not using dark first time
When the panels start up for the very first time, the dark theme is not
used due to the local storage variable not being set by the first panel.
When the program is restarted, it'll be dark from then on out because
it's set by the secondary panels rather than the primary panel.  This
modifies it so that the locale storage variable is properly set by the
primary panel.
2019-11-19 20:46:44 -08:00
jp9000
cda7f3e3fd Revert "UI: Remove FFZ from twitch integration"
This reverts commit c22d539a7b.
2019-10-07 18:24:38 -07:00
jp9000
c22d539a7b UI: Remove FFZ from twitch integration
Unfortunately, due to some conflicts between FFZ and BTTV (particularly
the fact that having FFZ enabled removes the BTTV settings menu items),
one of them needs to be removed.  For the time being, we'll remove FFZ,
because BTTV shows FFZ emojis anyway.
2019-10-07 13:36:56 -07:00
jp9000
7dd465cae1 UI: Refactor all browser dock classes in to one
Refactors all cases where a window class was created to show a browser
dock in to one class: BrowserDock.  Removes some unnecessary code
duplication.
2019-09-03 19:12:36 -07:00
jp9000
f53df7da64 clang-format: Apply formatting
Code submissions have continually suffered from formatting
inconsistencies that constantly have to be addressed.  Using
clang-format simplifies this by making code formatting more consistent,
and allows automation of the code formatting so that maintainers can
focus more on the code itself instead of code formatting.
2019-06-23 23:49:10 -07:00
jp9000
6272409c49 UI: Add two-factor authentication warning for Twitch
Twitch will now return a 403 HTTP error code if you attempt to query
your stream key when your Twitch account does not have two-factor
authentication enabled.  This handles it a bit better and displays an
appropriate error message for users so they know where to go to enable
it.
2019-05-31 21:00:48 -07:00
jp9000
eb672d7725 UI: Fix act. feed version hide check to <= 23.0.2 2019-03-28 16:45:24 -07:00
jp9000
81354a9903 UI: Hide act. feed by default if prev ver below 23.1 2019-03-28 16:38:14 -07:00
jp9000
8a50b28f55 UI: If from 23.0.1 or 23.0.0, hide activity feed
If the previous version was 23.0.0 or 23.0.1, hide activity feed by
default when loading twitch panel UI.
2019-03-06 19:13:12 -08:00
Alex Anderson
7e23d1b63e UI: Add Twitch Activity Feed
Closes obsproject/obs-studio#1721
2019-03-06 14:28:49 -08:00
jp9000
4450843aa0 UI: Warn when closing dock widgets for first time
Users don't realize that dockable windows can be closed (hidden) and can
be shown again via the View menu.  This adds an explicit warning when
the user first closes a dockable window for their first time.  In future
versions, this should be changed to a dialog box with a "Do not show
again" checkbox.
2019-03-05 14:39:24 -08:00
jp9000
484c3847fc UI: Check CEF available when loading auth 2019-02-25 23:45:27 -08:00
jp9000
e5fc045402 UI: Force Twitch moderation tools to system browser
In the Twitch chat dock window, the "Moderation Tools" link in the chat
settings should not navigate the window to the new URL; it should pop up
the URL in the user's system browser instead.
2019-02-24 01:02:06 -08:00
jp9000
9ffe7f5f94 UI: If Twitch account disconnected, retry login
If the user disconnects OBS from their Twitch account on their Twitch
settings panel, then try asking the user if they'd like to reconnect
before throwing an error.
2019-02-20 19:22:33 -08:00
jp9000
01c78bffc5 UI: Do not display threaded message boxes on startup
The message boxes that tell you that the browser is initializing or that
you're authenticating with twitch are annoying on startup.  It makes
sense to do it in the settings/autoconfig dialogs where you sort of need
to know what's going on while waiting for it to connect, but on startup
it's not really necessary and can be kind of annoying.
2019-02-20 17:35:02 -08:00
jp9000
1b45007530 Revert "UI: Use Twitch dashboard chat popout"
This reverts commit 6629c5d7b8.

Chat redirect only happens on raid, which is when you are ending your
stream.  That's acceptable behavior for the main chat window.
2019-02-10 22:50:46 -08:00
jp9000
6629c5d7b8 UI: Use Twitch dashboard chat popout
This uses the dashboard chat popout instead of the normal chat popout in
order to ensure that the chat doesn't get redirected for raids/hosts.
2019-02-10 22:41:00 -08:00
jp9000
c284d26163 UI: Increase Twitch "Stream Stats" height by 50
The default size was too small for affiliates/partners, and would cut
off subscribers.
2019-02-10 18:34:22 -08:00
jp9000
c07c5bb5f3 UI: Allow animated BTTV emojis 2019-02-10 18:22:03 -08:00
jp9000
b5e1a797c2 UI: Check that CEF loaded before loading integrations
Fixes a case where a certain plugin that entirely replaces OBS's own
browser plugin would cause OBS to crash with the new service
integration.  ..Yea.
2019-02-09 23:09:47 -08:00
jp9000
58be029b14 UI: Fix twitch stream stat window not centering
Fixes an issue where if you auth to twitch, then close the program
without unhiding the twitch stream stats panel, the next time that panel
was unhidden it would be at position 0,0 on your screen.  This
explicitly sets its position to be center of the window beforehand to
ensure that won't occur.
2019-02-08 14:50:50 -08:00
jp9000
96644b31ad UI: Add bttv emote button to Twitch chat window 2019-02-08 01:00:21 -08:00
jp9000
a88b440290 UI: Add Twitch integration 2019-02-07 16:28:19 -08:00