Commit Graph

787 Commits

Author SHA1 Message Date
62d2b3e4cd RequestStatus: Add KeyNotFound 2021-06-07 01:12:32 -07:00
e15acf9065 Utils: Add helpers to get some current data 2021-06-07 01:12:01 -07:00
136a270473 Request: Fix missing requestData check 2021-06-07 01:11:20 -07:00
2c018ca174 RequestHandler: Add some requests from the General category 2021-06-06 05:06:17 -07:00
5e49ee2569 SettingsDialog: A few improvements 2021-06-06 00:47:52 -07:00
3852a387b5 SettingsDialog: Attempt at fixing tooltip icon on Windows 2021-06-06 00:33:53 -07:00
92214ebbd2 Merge branch 'master' of https://github.com/Palakis/obs-websocket 2021-06-06 00:16:14 -07:00
6a325e4c94 CMakeLists: Link Qt5::Svg
Fixes help icon not showing on Windows
2021-06-06 00:15:43 -07:00
0596e867aa docs(ci): Update generated docs - ed79da9 [skip ci] 2021-06-06 07:05:28 +00:00
ed79da92e0 Utils::Platform: Fix minor ip recognition bug 2021-06-06 00:02:59 -07:00
d3c7f4b3fd WebSocketProtocol: Remove availableRequests from Hello 2021-06-05 23:54:11 -07:00
a363a0865b CI: Remove unnecessary linux build flags 2021-06-05 23:50:40 -07:00
d375bbc98b Utils::Platform: Refactor GetLocalAddress()
It was pointed out that the existing functionality was not effective
at filtering out invalid interfaces, so we add a priority system
to try harder at finding a valid address.
2021-06-05 23:39:06 -07:00
1ecf1e5dfd SettingsDialog: Log when restart is required 2021-06-05 23:09:02 -07:00
e709d3fad5 SettingsDialog: Fix build (oops) 2021-06-05 23:07:47 -07:00
a7c4f98ffa SettingsDialog: Add tooltip icon to debug checkbox 2021-06-05 23:06:36 -07:00
3d0ba91ff2 SettingsDialog: Restart websocket server if debug mode changed
The functionality of not reloading the server when debug mode is
changed I determined was too confusing to use considering the
benefit that it provides by not reloading the websocket server.

It is technically possible to set debug mode to the server while
it is running, however the implementation would somewhat dirty the
UI code, so I do not feel comfortable doing it at this point.
2021-06-05 22:23:57 -07:00
f0c3bb2c14 Config: Don't persist debug mode to config
A request from the OBS developers. Debug mode tends to be enabled,
then not remembered to be disabled, leading to logs that are both
long and difficult to read. In some cases, the OBS logviewer may
noticeably lock up the UI just trying to parse the long log file.
2021-06-05 22:19:39 -07:00
81636dcbfa SettingsDialog: Show confirmation when video is active
Show a confirmation dialog when the Show Connect Info button is
clicked and video is active, to prevent users from
unintentionally showing sensitive information while live.
2021-06-05 21:38:16 -07:00
3cc612cb1c SettingsDialog: Redesign settings sections 2021-06-05 21:20:11 -07:00
19375921d3 EventHandler: Add media input events 2021-05-31 21:44:03 -07:00
6c03b86514 EventHandler: Add Outputs events and other files 2021-05-31 18:51:56 -07:00
289d1ad69d translations: Server IP is a best guess 2021-05-31 17:05:34 -07:00
9077ac911d EventHandler: Add some transition stuff
Transitions in OBS are implemented badly.
Not sure what will reasonably be possible with them.
I'll probably save implementing them for last
2021-05-14 03:59:00 -07:00
becf604fc3 EventHandler: Add missing input event fields 2021-05-14 01:39:06 -07:00
e4fbebb3b4 Utils: Always return a JSON object 2021-05-14 01:38:51 -07:00
1b213c7dca docs(ci): Update generated docs - cff6abf [skip ci] 2021-05-14 08:14:53 +00:00
cff6abfe03 Merge branch 'master' of https://github.com/Palakis/obs-websocket 2021-05-14 01:14:04 -07:00
45d62e5ce0 EventHandler: General, Config, Scenes, Inputs 2021-05-14 01:13:27 -07:00
c8eac893f2 Utils: Add more OBS utils 2021-05-14 01:13:09 -07:00
ab12d5f39f EventHandler: Add some events 2021-05-13 19:11:19 -07:00
e19df3e3a0 docs(ci): Update generated docs - 9a1b6dc [skip ci] 2021-05-14 00:56:50 +00:00
9a1b6dcd3a Docs: Update enums and varios other stuff 2021-05-13 17:56:09 -07:00
f0d68f3eec WebSocketProtocol: Remove availableEvents from Hello
Not reasonably possible with the current structure of the `EventHandler`
2021-05-13 17:48:10 -07:00
680b5c470e RequestHander: Add GetRequestList() 2021-05-13 17:46:05 -07:00
11d28d17f1 EventHandler: Add EventSubscriptions enum 2021-05-13 17:34:57 -07:00
4d6901c075 WebSocketServer: Add RPC version support to events 2021-05-10 22:55:48 -07:00
921bc81a7b EventHandler: More stuff 2021-05-10 22:46:53 -07:00
8b30d2e77e EventHandler: Add some calldata helpers 2021-05-10 18:34:27 -07:00
902c9dfdc5 WebSocketServer: Don't try to send events if the server is not listening 2021-05-10 18:26:28 -07:00
23b6ce607c Utils: Add some Obs helpers 2021-05-10 18:25:15 -07:00
89046ccb1a EventHandler: Add handling of all frontent events we care about 2021-05-10 17:34:40 -07:00
5157134b02 EventHandler: Add more code 2021-05-10 16:54:48 -07:00
c0accd9cde base: Add EventHandler files 2021-05-10 15:48:41 -07:00
ee751edf54 SettingsDialog: Mild refactor and add Connect Info dialog
Among lots of stuff:

- Generate a random password on first load

- Add `ConnectInfo` dialog including QR code display

- Add `Generate Password` button to generate a new random
password

- Delete `Copy Password to Clipboard` button

- Delete `GetConnectString` or whatever from WebSocketServer
(reimplemented the functionality directly into ConnectInfo)

- Added `GeneratePassword()` to Utils

Todo: Show warning when users specify their own passwords
2021-05-08 04:29:03 -07:00
600505b60a Utils: Add Obs utils namespace 2021-05-08 00:54:35 -07:00
8a18d3603c RequestStatus: Add a few items 2021-05-04 15:50:38 -07:00
160ef4d771 RequestHandler: Add RequestBatch logic 2021-05-03 18:44:13 -07:00
2aba810ce1 RequestHandler: Finish checks system and first request 2021-05-03 16:55:30 -07:00
c2b717cabf RequestStatus: Put into namespace
Apparently this is supposed to help?
2021-05-03 13:43:59 -07:00