Commit graph

1580 commits

Author SHA1 Message Date
David Rowe
6a17143df8 Rename "HifiSockAddr" to "SockAddr" 2021-07-06 13:23:57 +12:00
David Rowe
5a5cb6488c Multiplex UDP and WebRTC sockets in a QUdpSocket-style NetworkSocket 2021-06-26 22:07:01 +12:00
David Rowe
d65ecead9f Abstract WebRTCDataChannel into a QUdpSocket-style WebRTCSocket 2021-06-26 21:20:26 +12:00
David Rowe
28c408de98 Typo 2021-06-05 18:23:37 +12:00
David Rowe
2402a5e333 Merge remote-tracking branch 'upstream/webapp' into dev/webrtc-datachannel
# Conflicts:
#	domain-server/src/DomainServer.h
2021-06-05 14:27:18 +12:00
David Rowe
1dcee6cc1d Conditionally include WebRTCSignalingServer.h 2021-06-02 23:00:19 +12:00
David Rowe
645dc265ab Fix non-WebRTC domain server builds 2021-06-01 15:41:25 +12:00
David Rowe
6c37628468 Add WebRTC data channel 2021-05-31 12:29:48 +12:00
David Rowe
6afb8044ea Add WebRTC signaling channel 2021-05-20 09:51:14 +12:00
Heather Anderson
9f5e06503a begin identifying Packet Type ID=1 as "domain connect" for a future version of the protocol, so we can detect protocol breaks when we shift to using this as our domain connect packet. 2021-04-24 23:28:53 -07:00
Dale Glass
fb19d1b29d Review fixes 2021-04-04 12:53:30 +02:00
Dale Glass
240e070a46 Log authentication events in the domain server
This uses the vircadia.domain_server.auth logging category.
2021-04-03 17:29:51 +02:00
Kalila
286976addb
Merge pull request #1147 from daleglass/fix-null-pointer-arithmetic-warning
Fix warning: NULL used in arithmetic
2021-04-02 16:24:26 -04:00
Dale Glass
3551b19942 Fix warning: NULL used in arithmetic 2021-04-02 00:50:14 +02:00
David Rowe
c45007d038 Merge branch 'master' into fix/can-rez-attachment
# Conflicts:
#	interface/src/Application.h
2021-03-29 15:28:08 +13:00
Kalila L
fd592dfb06 CR. 2021-03-19 04:11:26 -04:00
Kalila L
0216b34681 State of refactoring 2021-03-17 19:37:06 -04:00
Kalila
712b5e5088
Update DomainServerSettingsManager.cpp 2021-03-11 17:06:07 -05:00
Kalila L
78cc98bc7b Add improved functionality for Users.kick API.
Add banByUsername, banByFingerprint, and banByIP parameters.
2021-03-11 01:03:54 -05:00
David Rowe
dd674c395e Default canRezAvatarEntities on domains without new permission 2021-03-05 16:27:32 +13:00
David Rowe
2e75983800 Set default value of canRezAvatarEntities to that of canConnectToDomain 2021-03-03 16:31:12 +13:00
Kalila L
6b5cffa5e4 Initial pass at adding canRezAvatarEntities. 2021-02-26 06:14:06 -05:00
HifiExperiments
30c4779eeb name all the threads 2021-02-13 20:17:28 -08:00
Kalila L
5c9b1edb86 Convert QString to QJsonObject. 2020-12-14 01:03:36 -05:00
Kalila L
0468c98c30 CR, move duplicate consts to top of file. 2020-12-11 15:55:24 -05:00
Kalila L
cec112dd28 "port" -> "network_port" 2020-11-25 15:19:35 -05:00
Kalila L
97681786cd Potentially fix STUN IP+Port init for heartbeat issue? 2020-11-25 04:54:47 -05:00
Kalila L
cfc7309c96 Send address and port with each metaverse heartbeat. 2020-11-20 03:19:19 -05:00
David Rowe
26405300fe Handle username or email for domain login 2020-11-08 21:35:17 +13:00
kasenvr
2b511d8c45
Merge pull request #613 from odysseus654/pr/registerListener
[enhancement] transition listener registration from member string name to member string pointer
2020-10-29 17:13:05 -04:00
Kalila L
dc554bb8c6 Update some descriptions. 2020-10-07 19:37:10 -04:00
kasenvr
ca80d79991
Merge branch 'master' into fix/update-api-docs 2020-10-02 15:33:28 -04:00
kasenvr
faadb9e340
Merge pull request #668 from kasenvr/fix/URL-migrations
New Metaverse PR
2020-09-26 01:21:17 -04:00
Kalila L
a90af38921 Fix badly formatted JSON metadata being sent to metaverse. 2020-09-25 20:55:43 -04:00
kasenvr
dd3152a2e4
Merge pull request #349 from daleglass/fix_warnings
Fix warnings emitted by GCC
2020-09-24 17:06:16 -04:00
Kalila L
bc1ffa8a8d Merge branch 'master' into fix/update-api-docs 2020-09-19 23:46:13 -04:00
Kalila L
f6ec13704b Copyright header updates. 2020-09-18 16:31:57 -04:00
Kalila L
9b0ac9d75f Update endpoints to be consistent and work with the updates. 2020-09-15 21:05:00 -04:00
Kalila L
e3a6dc18af Add support for metaverse API's with paths. 2020-09-15 20:07:00 -04:00
Kalila L
7a033f93da Add HTTP route to get metaverse info. 2020-09-15 00:54:52 -04:00
Dale Glass
baa0fd34f4 Fix unsigned warnings 2020-08-27 19:48:27 +02:00
Kalila L
ebecbcc7f7 Update JSON structure for metadata. 2020-08-21 22:00:06 -04:00
Kalila L
a24b8f0fc6 Missed a spot, was wiping thumbnail string and replacing with an array. 2020-08-21 14:08:50 -04:00
Kalila L
a079afbb73 Update metadata exporting. 2020-08-21 13:40:38 -04:00
Kasen IO
b7e4362553 Make empty values no longer null, add name property, rename "Hosts" -> "Managers" 2020-08-19 00:01:47 -04:00
Kasen IO
c70a041490 Merge branch 'master' into feature/domain-metadata-exporter 2020-08-18 21:35:51 -04:00
Heather Anderson
2e5244663e transition listener registration from member string name to member string pointer 2020-08-09 14:57:00 -07:00
David Rowe
81c402ab9c Code review 2020-08-06 21:40:36 +12:00
David Rowe
8f0b33b54d Miscellaneous tidying 2020-08-06 00:04:22 +12:00
David Rowe
6f9b47c07d Distinguish domain groups with a leading "@" 2020-08-04 21:31:13 +12:00
David Rowe
60048162c0 Use WordPress user roles as domain groups 2020-08-04 21:00:09 +12:00
David Rowe
bc56eb5ac7 Update to work with WordPress plugin 2020-08-04 17:12:31 +12:00
David Rowe
7da91d9557 Misc. tidying 2020-08-04 09:15:05 +12:00
David Rowe
257eadc99f "Unable connect to this domain" message box after login if can't connect 2020-08-03 16:12:13 +12:00
David Rowe
0b42ef5748 Regularize domain username case 2020-08-03 13:21:20 +12:00
David Rowe
26e6ce07d7 Further networking tidying 2020-08-03 11:26:11 +12:00
David Rowe
43b6e77235 Tidy networking code 2020-08-03 09:17:12 +12:00
David Rowe
dfbad4efc0 Use "enable domain authentication" server setting 2020-08-02 21:22:59 +12:00
David Rowe
fdb4a5605a Tidy processing user connect request 2020-08-02 20:54:09 +12:00
David Rowe
c3769a5f74 Get WordPress API path from domain server settings 2020-08-02 17:33:13 +12:00
David Rowe
8cdd76a42e Verify user at domain server 2020-08-02 16:17:04 +12:00
David Rowe
15c6baceb8 Send OAuth2 username and tokens to domain server 2020-08-01 18:57:21 +12:00
David Rowe
56ba137ee3 Get OAuth2 URL from server settings 2020-07-31 20:48:27 +12:00
David Rowe
7c8993b34f Add TODO 2020-07-29 10:03:44 +12:00
David Rowe
d5e189422f Support blacklisting per domain groups 2020-07-29 08:08:08 +12:00
David Rowe
94908fd1a7 Add support for group lists in domain server 2020-07-28 22:05:40 +12:00
David Rowe
429b4ceefa Flesh out domain groups code 2020-07-28 21:23:55 +12:00
David Rowe
34eb74ac00 Update copyrights 2020-07-25 16:26:57 +12:00
David Rowe
82252cdc08 Get basics working 2020-07-25 16:22:52 +12:00
David Rowe
d923936854 Merge branch 'master' into feature/oauth2-master-update 2020-07-25 10:06:18 +12:00
David Rowe
0b667e34a2 Regularize naming 2020-07-24 22:02:23 +12:00
David Rowe
6d310eb999 Generate "NotAuthorizedDomain" condition 2020-07-24 21:22:00 +12:00
David Rowe
9b13f0bebb Merge branch 'feature/oauth2-groups' into feature/oauth2-login-required 2020-07-24 11:14:47 +12:00
David Rowe
2e9355da58 Distinguish not logged into metaverse vs domain 2020-07-24 11:13:41 +12:00
Kasen IO
d3320ab17b Separate domain vs metaverse login denials for Interface. 2020-07-23 00:18:04 -04:00
David Rowe
e4c9657ab9 Initial auxiliary groups code 2020-07-23 16:08:09 +12:00
Kasen IO
e8d9fe852e Adjust lines for length. 2020-07-21 00:49:14 -04:00
kasenvr
1c545dffca
Apply suggestions from code review
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2020-07-20 14:25:52 -04:00
Kasen IO
4b1e82fc0b Move user agent to networking constants. 2020-07-08 14:18:24 -04:00
Kasen IO
f1d731da11 Add users to the export. 2020-06-30 00:25:27 -04:00
Kasen IO
6129981459 Merge branch 'master' into feature/domain-metadata-exporter 2020-06-29 23:26:14 -04:00
kasenvr
63e3c001c3
Merge pull request #411 from Misterblue/fix/central-metaverse-urls
Move metaverse server URL info into central files for easier updating
2020-06-18 17:23:05 -04:00
Kasen IO
f712fc7735 Export to JSON, JSON formatting. 2020-06-18 16:43:59 -04:00
HifiExperiments
1da1dd20c3 try to fix crash 2020-06-17 20:18:05 -07:00
HifiExperiments
8052259489 get domainmetadata stuff compiling 2020-06-17 17:47:50 -07:00
Kasen IO
19ff5bfd4f uno error. 2020-06-16 00:53:06 -04:00
Kasen IO
269f0ac600 Latest condition. 2020-06-15 23:49:54 -04:00
Kasen IO
7c264e7d85 First pass at adding domain metadata exporter. 2020-06-15 22:51:51 -04:00
Robert Adams
3878ad6df6 Move metaverse server URL info into NetworkingConstants.h (for C++
code) and into shared.js (for JS code).
Modify references to the metaverse server from constants to
    references to the new central definitions.
2020-06-13 07:04:58 -07:00
Dale Glass
fd59665e63 Add missing Prometheus stats to type map 2020-06-11 22:23:27 +02:00
Dale Glass
b2a5e7fdd1 Additional review fixes 2020-06-08 17:53:27 +02:00
Dale Glass
172ae45420 Another variable renaming 2020-06-07 02:47:39 +02:00
Dale Glass
45f1640b5a Remove useless code 2020-06-07 02:47:39 +02:00
Dale Glass
c0a0d39ce5 More style fixes 2020-06-07 02:47:39 +02:00
Dale Glass
9e478ba458 More variable renaming 2020-06-07 02:47:39 +02:00
Dale Glass
01b0317348 Add missing gauges 2020-06-07 02:47:39 +02:00
Dale Glass
303f10dada Review fixes 2020-06-07 02:47:39 +02:00
Dale Glass
da5e4d3cfc Review fixes 2020-06-07 02:47:39 +02:00
Dale Glass
bc40bc5e52 Update stats backlist for the exporter 2020-06-07 02:47:39 +02:00
Dale Glass
443d769eac Make it possible to turn the Prometheus exporter on and off
The settings are available from the domain settings page.
2020-06-07 02:47:39 +02:00