tt2468
4028d42931
WebSocketServer: Only encode event once and when it's required
2021-04-29 08:52:40 -07:00
tt2468
d8e84321b1
WebSocketServer: Clarify logging
2021-04-29 08:34:50 -07:00
tt2468
1cee256cb3
WebSocketServer: Store debug setting
2021-04-29 08:24:27 -07:00
tt2468
fa259b43a9
WebSocketServer: Finish BroadcastEvent()
2021-04-28 22:52:19 -07:00
tt2468
b43fc4fec6
WebSocketServer: Make QObject again
2021-04-28 22:13:02 -07:00
tt2468
0370b5882d
WebSocketServer: Finish GetConnectUrl()
2021-04-28 22:07:52 -07:00
tt2468
d1d5dd74ea
WebSocketServer: Send hello in onOpen
2021-04-28 22:03:23 -07:00
tt2468
b0a594e509
WebSocketCloseCode: Add InvalidContentType
2021-04-28 20:54:31 -07:00
tt2468
c73f6608b9
Config: Add command line parameters to override port and password
2021-04-28 15:59:29 -07:00
tt2468
1dcf6460f1
Utils: Add Platform helpers
2021-04-28 14:24:05 -07:00
tt2468
af46271b27
WebSocketServer: Add some onOpen and onClose logic, make websocketpp logging mirror debug setting
2021-04-28 13:26:22 -07:00
tt2468
0be9174bb1
WebSocketServer: Don't call stop() on the server
...
For some reason I thought I was supposed to call it /shrug
2021-04-28 12:36:15 -07:00
tt2468
af7a539e84
Only stop server if its running
2021-04-28 12:20:56 -07:00
tt2468
c91b924f0e
SettingsDialog: Server port had no logic for some reason. Also restart server if settings are changed
2021-04-28 12:18:46 -07:00
tt2468
a70e18a2bf
WebSocketServer: Add some error handling
2021-04-28 12:09:12 -07:00
tt2468
fb01a28623
SettingsDialog: Add timer to constantly update session table
2021-04-28 11:56:41 -07:00
tt2468
aa241ecc9e
base: Make sure config is saved on exit
2021-04-28 11:45:34 -07:00
tt2468
b53b40d9c8
base: Improve logging
2021-04-28 11:43:39 -07:00
tt2468
e2d837958f
WebSocketServer: Fix shutdown order
2021-04-28 11:40:07 -07:00
tt2468
5348c80aa8
WebSocketServer: Add GetWebSocketSessions() logic
2021-04-28 11:28:07 -07:00
tt2468
3d43bd525b
SettingsDialog: Fix datetime shit
2021-04-28 11:27:11 -07:00
tt2468
53e773b1a2
WebSocketSession: Add remoteAddress string
2021-04-28 11:23:12 -07:00
tt2468
11913dac76
WebSocketServer: Rename sessionDuration
to connectedAt
2021-04-28 11:14:00 -07:00
tt2468
0af2724ee9
WebSocketSession: Add connectedAt
2021-04-28 11:12:53 -07:00
tt2468
1245958031
WebSocketSession: Add encoding
2021-04-28 10:41:51 -07:00
tt2468
948750da6a
WebSocketServer: Start and stop
2021-04-28 10:27:32 -07:00
tt2468
0f7683af4e
WebSocketSession: Add challenge var
2021-04-28 08:52:23 -07:00
tt2468
98bc18cedd
utils: Create Utils namespace and add Crypto utils
2021-04-27 17:55:23 -07:00
tt2468
98ec9d01ac
base: Dumb #include redefinitions
2021-04-27 16:45:44 -07:00
tt2468
d9ee288cf1
base: cmake is fucking retarded
2021-04-27 16:33:47 -07:00
tt2468
5d170d6bb3
WebSocketServer: Include WebSocketCloseCode
2021-04-27 15:29:09 -07:00
tt2468
08fda22d0f
base: Include RPC version on load
2021-04-27 15:26:23 -07:00
tt2468
b61cf82e84
base: Shutdown websocket server on unload
2021-04-27 15:25:11 -07:00
tt2468
20de7409d8
base: Reset websocket server on unload
2021-04-27 15:21:30 -07:00
tt2468
9577382780
SettingsDialog: Fix log levels
2021-04-27 15:17:44 -07:00
tt2468
205fb75555
SettingsDialog: Add websocket session list logic
2021-04-27 15:16:53 -07:00
tt2468
8067cfb686
Base: Tons more shit
2021-04-27 14:52:48 -07:00
tt2468
fb22b31612
base: Add WebSocketSession
2021-04-27 14:52:04 -07:00
tt2468
fb8e520d10
utils: Create JsonUtils
...
Utility functions for converting from obs_data_t to json and back
2021-04-27 12:50:42 -07:00
tt2468
107d3cce09
deps: Add nlohmann json
...
I decided to go with nlohmann::json because it supports both JSON and
msgpack. I'm likely going to have to write some conversion utils to
convert between obs_data_t and json, but the advantages of what
nlohmann::json brings to the table are just too attractive.
2021-04-27 09:46:00 -07:00
tt2468
a0162caad1
base: Add base RequestHandler and rpc files
2021-04-27 09:29:51 -07:00
tt2468
f0dfe72aca
base: Add starting WebSocketServer files
2021-04-27 09:18:06 -07:00
tt2468
927806a432
SettingsDialog: Add translations to Session Table
2021-04-27 08:56:49 -07:00
tt2468
aa0256611b
SettingsDialog: Enable grid layout and scaling
2021-04-27 08:46:34 -07:00
tt2468
41731f9d57
SettingsDialog: Add UI logic and start session table
2021-04-27 08:24:51 -07:00
tt2468
105229336e
Config: Rename config section name
2021-04-26 20:55:50 -07:00
tt2468
6f2f207adc
SettingsDialog: Add configs
2021-04-26 20:55:18 -07:00
tt2468
a8ca912044
generic: Add SettingsDialog and Config
2021-04-26 19:59:50 -07:00
tt2468
dd597f1ad6
everything: Massive amount of changes who knows
2021-04-26 08:46:11 -07:00
tt2468
f3d5cfbd18
Initial commit for attempted rewrite
2021-03-08 03:56:43 -08:00