Commit Graph

701 Commits

Author SHA1 Message Date
Andrey Kaipov
20ea6e3352 README: Add a Go client library to the list 2022-08-12 23:06:41 -07:00
tt2468
b07dce821a websocketserver: Log disconnect code and reason on disconnects
No clue why I wasn't doing this before.
2022-08-02 14:35:50 -07:00
Dominik Nakamura
2f549b82a3 base: Fix version string when built as submodule 2022-08-01 22:22:43 -07:00
Translation Updater
17243577c5 Update translations from Crowdin 2022-07-31 23:40:52 +00:00
tytan652
c0ba751aaf base: Clean up find_qt macro 2022-07-30 16:31:24 -07:00
tytan652
eba6c4c6f3 base: Add ENABLE_WEBSOCKET CMake option 2022-07-30 16:31:24 -07:00
tytan652
59e7e3a307 base: Add checks for submodules in CMake 2022-07-30 16:31:24 -07:00
tytan652
8bf8995ad8 base: Suppress C4996 warning 2022-07-28 12:15:38 -07:00
tytan652
2b8dd47a6c Revert "base: Set the correct Windows preprocessor var for asio"
This reverts commit 420e600864.
2022-07-28 12:15:38 -07:00
tt2468
268a45e8dd base: Format CMakeLists.txt (again) 2022-07-28 11:46:32 -07:00
tytan652
e52d5402cf base: Add and use find_qt to support Qt5 and Qt6 2022-07-28 11:40:27 -07:00
tytan652
0db223b148 base: Suppress deps warnings
/wd4267 is required by websocketpp
-Wno-error=format-overflow is required by asio

-Wno-error=null-pointer-subtraction is required by json on macOS

-Wno-error=deprecated-declarations is required on macOS because Xcode 14
deprecates sprintf()
2022-07-28 11:40:27 -07:00
tytan652
420e600864 base: Set the correct Windows preprocessor var for asio
Fix C4996 warning

Co-authored-by: PatTheMav <PatTheMav@users.noreply.github.com>
2022-07-28 11:40:27 -07:00
tytan652
190a9551f6 requesthandler,websocketserver: Fix C4101 warnings 2022-07-28 11:40:27 -07:00
tytan652
773f85e0d7 requesthandler: Fix C4267 warnings 2022-07-28 11:40:27 -07:00
tytan652
b5d50c4243 lib,requesthandler,eventhandler: Fix C4244 & C4334 warnings 2022-07-28 11:40:27 -07:00
Github Actions
e3314b3608 docs(ci): Update generated docs - 1902d7e [skip ci] 2022-07-25 15:31:39 +00:00
tt2468
1902d7e1a3 base: Update version to 5.0.1 2022-07-25 08:30:34 -07:00
tt2468
e0d322d4cc Config: Disable WebSocket server by default
I believe it would be bad to enable a network-based WebSocket server
for all OBS users, since obs-websocket usage is very likely less than
a majority of users. A password will still be generated on first run,
so there are no worries about weirdness if a user goes in to enable
the server later on.
2022-07-25 08:24:04 -07:00
tt2468
ecde83a28d requesthandler: Allow empty object in Set*PrivateSettings requests
Requested by #958

Closes #958
2022-07-25 08:21:57 -07:00
tt2468
b0167e6296 base: Update README with C library
May God have mercy on our souls for this one.

Closes #961
2022-07-25 08:10:49 -07:00
tt2468
16f3ceb997 eventhandler: Provide outputPath on OUTPUT_STARTED too
4.x apparently included this path during output start along with stop.
It appears safe to include this on output start.

Closes #963
2022-07-25 08:05:03 -07:00
tt2468
2875fc7313 docs: Use SetCurrentProgramScene in examples
Previously using `SetCurrentScene` was confusing users.

Closes #964
2022-07-25 08:02:30 -07:00
tt2468
b9a63603c7 websocketserver: Validate op field type
Could cause a crash by assuming `op` is always a number.

Closes #965
2022-07-25 08:00:48 -07:00
tt2468
de40b53d77 base: Format CMakeLists.txt using OBS formatter 2022-07-25 07:48:06 -07:00
tt2468
1698b2895b
base: Fix MSVC warning about misdeclared Config struct 2022-07-22 07:00:05 -07:00
tt2468
1d25f97004
requesthandler: Fix OpenVideoMixProjector program option
It was stuck opening preview regardless of setting.
2022-07-22 01:59:23 -07:00
Github Actions
258bfc5689 docs(ci): Update generated docs - 35e3e27 [skip ci] 2022-07-12 17:11:15 +00:00
tt2468
35e3e278bf
requesthandler: Fix GetGroupSceneItemList name in docs 2022-07-12 10:10:53 -07:00
tt2468
5341cb5951
README: Add Twitchat 2022-07-03 12:10:24 -07:00
tt2468
00504a0d52
README: Add Touch Portal to supported software 2022-07-03 11:29:06 -07:00
Github Actions
ab743c2ee6 docs(ci): Update generated docs - 1dd57f6 [skip ci] 2022-07-02 17:33:05 +00:00
Brendan Allan
1dd57f6140 requesthandler: Add Outputs requests
Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>
Co-authored-by: tt2468 <tt2468@irltoolkit.com>
2022-07-02 10:32:48 -07:00
Github Actions
a22a7cf993 docs(ci): Update generated docs - d9026c1 [skip ci] 2022-07-02 15:30:44 +00:00
tt2468
d9026c1791 docs: Fix lint formatting error 2022-07-02 08:30:23 -07:00
tt2468
2524dc47cf requesthandler: Fix oopsies in OpenVideoMixProjector 2022-07-02 08:27:18 -07:00
Github Actions
798eebf638 docs(ci): Update generated docs - 9cdfa41 [skip ci] 2022-07-02 15:26:00 +00:00
tt2468
9cdfa41113 requesthandler: Add projector creation requests
I didn't think I'd be able to make remotely usable requests using OBS'
existing projector API, but I'm actually pretty happy with how it
turned out.

Closes #929

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-07-02 08:25:38 -07:00
Github Actions
aab925c0ed docs(ci): Update generated docs - be1b13f [skip ci] 2022-07-02 14:11:39 +00:00
tt2468
be1b13f15d requesthandler: Echo request details in response of CallVendorRequest
I generally don't like to echo data provided to obs-websocket in
requests, but since we do that for the request type in base requests,
this particular case seems fair.

Closes #919
2022-07-02 07:09:31 -07:00
Github Actions
6122fe6ea7 docs(ci): Update generated docs - 4201664 [skip ci] 2022-07-02 14:04:41 +00:00
tt2468
4201664c7b requesthandler, eventhandler: Add outputPath fields when record stops
Closes #934
2022-07-02 07:02:44 -07:00
tt2468
3deea2b5da requesthandler: Rework and fix a few data consistency checks
Some stuff led to possible crashes, other stuff simply didn't work.
Should be much better now.

Closes #942
2022-06-08 01:32:27 -07:00
Github Actions
c3ee52c4fe docs(ci): Update generated docs - f4b72b6 [skip ci] 2022-06-08 08:05:27 +00:00
tt2468
f4b72b69ce utils: Clean up a few iteration functions 2022-06-08 01:04:43 -07:00
tt2468
5b8fd096d5 clang-format: Indent namespaces 2022-06-08 00:37:04 -07:00
tt2468
22fee0312d utils: Move from explicit enum converters to nlohmann macros 2022-06-08 00:33:41 -07:00
tt2468
17292520f2 utils: A few casting nitpicks 2022-06-07 23:36:47 -07:00
tt2468
711746524c Revert "Config, websocketserver: Add feature to bind to loopback (default)"
This reverts commit 1da0214201.
2022-06-07 23:07:09 -07:00
tt2468
e04bca0993 Revert "forms: Add configuration to enable external access"
This reverts commit 1cd12c1023.
2022-06-07 22:34:40 -07:00