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
5b937a1580
WebRTCSignalingServer and WebRTCDataChannels improvements
2021-06-26 20:07:26 +12:00
David Rowe
c9d4fe8558
Remove unused code
2021-06-26 17:23:58 +12:00
Kalila L
2d4da7ba71
Add disable domain port auto discovery by assignment client option.
2021-06-21 13:22:48 -04:00
Kalila L
0625dbe53c
Some URL updates.
2021-06-17 19:45:56 -04:00
Kalila L
1215ced6fa
CR.
2021-06-15 15:02:03 -04:00
Kalila L
1411d55364
Add ability for 'handleLookupString' to have spaces.
2021-06-15 00:31:28 -04:00
Kalila L
51e6468abd
Rename 'URL_SCHEME_HIFI' -> 'URL_SCHEME_VIRCADIA'.
2021-06-11 17:04:16 -04: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
c28f4749ed
Doxygen tidying
2021-06-01 09:34:38 +12:00
David Rowe
63ec933290
Code tidying
2021-06-01 09:34:17 +12:00
David Rowe
e6c49cf407
Fix data channel ID
2021-06-01 09:32:28 +12:00
David Rowe
6c37628468
Add WebRTC data channel
2021-05-31 12:29:48 +12:00
David Rowe
aa1c32ec53
Rename new domain server environment variable
2021-05-29 09:25:15 +12:00
David Rowe
6afb8044ea
Add WebRTC signaling channel
2021-05-20 09:51:14 +12:00
David Rowe
4d11d1d515
Convert all "/**jsdoc" occurrences to "/*@jsdoc"
2021-05-12 10:54:45 +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
Julian Groß
1cadfcc284
Merge branch 'master' into feature/qt-update
2021-04-16 01:55:51 +02:00
Kalila
a35b9c4563
Merge pull request #1126 from daleglass/hash_all_fingerprints
...
Hash Windows and Mac machine fingerprints.
2021-04-15 17:46:17 -04:00
David Rowe
312dc9ccb7
Update Chrome browser version
2021-04-12 15:30:23 +12:00
Kalila
333e3d49c6
Merge pull request #1143 from daleglass/add-missing-override
...
Add missing override keywords.
2021-04-02 16:24:12 -04:00
Dale Glass
6e9e11993c
Add missing override keywords.
...
Fixes warnings like:
/libraries/entities-renderer/src/RenderableTextEntityItem.h:47:18: warning: ‘virtual bool render::entities::TextEntityRenderer::needsRenderUpdate() const’ can be marked override [-Wsuggest-override]
47 | virtual bool needsRenderUpdate() const;
| ^~~~~~~~~~~~~~~~~
2021-04-02 00:04:46 +02:00
Dale Glass
2de61898e1
Review style fixes
2021-04-01 23:41:37 +02:00
David Rowe
6a7f4a0426
Redisplay "continue without avatar entities" when re-enter address
2021-03-29 21:14:00 +13: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
58fde3c159
Merge pull request #1090 from digisomni/feature/expand-kick-functionality
...
Add improved functionality for `Users.kick` API.
2021-03-28 21:05:59 -04:00
Dale Glass
e02daae267
Hash Windows and Mac machine fingerprints.
...
Now all the fingerprints are hashed. This has the following benefits:
* It doesn't expose raw system IDs. The actual ID is hashed with a
value unique to Vircadia, so that it doesn't match any other identifier.
* It should be more future-proof. Apple doesn't promise that the platform
ID will have any particular format. The hashing means it doesn't matter
if it stops being a valid UUID at some point.
2021-03-28 17:08:26 +02:00
David Rowe
41bd3c10c0
Fix up node permissions debug order
2021-03-23 15:22:08 +13:00
Kalila L
fd592dfb06
CR.
2021-03-19 04:11:26 -04:00
Kalila
9dadc44f6c
Update UserActivityLoggerScriptingInterface.h
2021-03-18 17:57:49 -04:00
Kalila
da7bcf1584
Update NodeList.cpp
2021-03-18 17:53:21 -04:00
Kalila L
0216b34681
State of refactoring
2021-03-17 19:37:06 -04:00
David Rowe
ddcfe6351b
Tidying
2021-03-18 12:13:41 +13:00
David Rowe
2030d24523
Tidying
2021-03-16 14:37:16 +13:00
David Rowe
0c1f775dc5
Don't warn user if permission removed while they're connected
2021-03-15 20:55:42 +13:00
David Rowe
0adfd8b806
Ask user whether to continue to a domain if their wearables won't rez
2021-03-15 16:30:46 +13:00
Dale Glass
1ed767df41
Implement Linux machine fingerprints
...
We do this by using either /etc/machine-id, or hashing the MACs of all
non-virtual networking devices.
We make this fingerpint unique to our platform by adding our own string
to the hash, and add some stretching for good measure. This way Vircadia's
fingerprint isn't going to match the system's ID or anything another
application generates.
2021-03-14 21:15:33 +01:00
Kalila
5e2cc4c4bf
Merge pull request #1068 from daleglass/fix_resource_totals
...
Set resource total size to content size when using a qrc:// resource
2021-03-11 18:30:56 -05:00
David Rowe
db0f7a9884
Fix flash of avatar entity when domain restarts
2021-03-11 20:14:03 +13: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
091efaee60
Don't rez own avatar entities if don't have permission
2021-03-09 11:15:26 +13:00
Kalila L
b5d89c44bf
Rename "INITIAL_STARTUP_LOCATION" -> "PRELOADED_STARTUP_LOCATION".
2021-03-08 02:01:53 -05:00
Kalila L
3ed98d0f3e
Add "ScriptGatekeeper" class and "PRELOADED_SCRIPT_WHITELIST" variable.
2021-03-08 02:00:34 -05:00
David Rowe
dd674c395e
Default canRezAvatarEntities on domains without new permission
2021-03-05 16:27:32 +13:00
David Rowe
8b6182e756
Misc fixes
2021-03-01 15:24:13 +13:00
Dale Glass
b102b3477a
Set resource total size to content size when using a qrc:// resource
...
When a Resource is requested from qrc://, the Resource::handleDownloadProgress
event is never called, and therefore _bytesTotal remains at zero. This confuses
ResourceCache later, which has a sanity check that doesn't pass when resources
are retrieved, yet no data accumulates.
Fixes #1065
2021-02-26 20:04:53 +01:00
Kalila L
6b5cffa5e4
Initial pass at adding canRezAvatarEntities.
2021-02-26 06:14:06 -05:00
Kalila
ba54dd755c
Merge pull request #1034 from vircadia/v2021.1.0-rc
...
merge V2021.1.0 rc into master
2021-02-22 00:16:36 -05:00
HifiExperiments
30c4779eeb
name all the threads
2021-02-13 20:17:28 -08:00
HifiExperiments
f46f1b2219
Merge branch 'master' into alignment
2021-02-11 18:07:23 -08:00
HifiExperiments
b296fff197
add text alignment property
2021-02-10 21:45:53 -08:00
HifiExperiments
0645866549
Merge branch 'master' into billboard
2021-02-09 23:28:58 -08:00
HifiExperiments
ae26416c59
Merge branch 'master' into billboard
2021-02-09 22:57:10 -08:00
HifiExperiments
f1d6a4e3d4
Merge branch 'master' into feature/web-entity-user-agent
2021-02-09 22:47:46 -08:00
Kalila L
c57b1a92f3
CR + update user agent.
2021-01-30 02:16:53 -05:00
Kalila L
82313eccbf
Add userAgent property for web entities.
2021-01-21 01:51:37 -05:00
HifiExperiments
030524c3ee
CR and actually send property over wire
2021-01-03 21:03:43 -08:00
HifiExperiments
6e0bad814e
working on billboard mode for all entity types
2021-01-03 20:33:08 -08:00
daleglass
f894a0a141
Merge pull request #877 from vircadia/feature/domain-server-reporting-socket
...
Send address and port with each metaverse heartbeat.
2020-12-26 20:40:58 +01:00
Kalila L
16eca5d855
Get most 'project-athena' -> 'vircadia' references.
2020-12-13 04:42:34 -05:00
Kalila L
5d4612e400
Update 'kasenvr' -> 'vircadia'
2020-12-10 18:56:57 -05:00
Kalila L
97681786cd
Potentially fix STUN IP+Port init for heartbeat issue?
2020-11-25 04:54:47 -05:00
kasenvr
b091557cb5
Merge pull request #848 from humbletim/smarter-scriptcache
...
ScriptCache: add local file change detection
2020-11-05 17:20:04 -05:00
humbletim
a7fb294a1b
Update libraries/networking/src/ResourceRequest.cpp
...
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2020-10-31 13:39:29 -04: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
humbletim
ae7aa3eb88
update ScriptCache to detect local script modifications
2020-10-29 11:30:33 -04:00
humbletim
f012772fa3
add toHttpDateString helper method
2020-10-29 11:29:26 -04:00
Kalila L
413c21f482
Append Vircadia to the environment variable for the metadata exporter port.
2020-10-19 01:07:07 -04:00
kasenvr
87d4fddb40
Merge branch 'master' into feature/transparent-web-entities
2020-09-26 01:25:02 -04:00
Dale Glass
9b4d115a5d
Review fixes
...
Make it ignore a // at the beginning of the URL
2020-09-24 19:37:14 +02:00
Dale Glass
1d58ac4d79
Sanitize the URL further by removing leading slashes and any duplicated ones
2020-09-23 23:33:22 +02:00
David Rowe
1cb1c63228
Tidying
2020-09-23 23:08:02 +12:00
David Rowe
c6ba42b7d6
Fix calculating external resource paths
2020-09-23 22:15:13 +12:00
David Rowe
ba7242f4dc
Script.getExternalPath() and related JSDoc
2020-09-23 17:23:40 +12:00
David Rowe
3344c7423d
Fix up types
2020-09-22 20:52:15 +12:00
Kalila L
9db333a555
Update CDN URLs in NetworkingConstants.h
2020-09-21 16:07:56 -04:00
Kalila L
7b7038fae1
Bunch of URL updates later...
2020-09-21 00:54:49 -04:00
Kalila L
0d08254a07
Some updates to URLs in C++
2020-09-20 23:37:29 -04:00
Kalila L
b1f32dd9ac
Merge branch 'pr/691' into fix/URL-migrations
2020-09-20 17:58:26 -04:00
Kalila L
f465ecb53b
Update STUN server
2020-09-20 17:56:54 -04:00
Dale Glass
929f395503
Spend more less time in the lock, do a sanity check, normalize path
2020-09-20 02:09:54 +02:00
Dale Glass
2de0934598
Some missed review fixes
2020-09-20 01:57:44 +02:00
David Rowe
2c84478dc1
Register metatype
2020-09-20 01:29:32 +02:00
Dale Glass
89aa89e9d3
Review fixes (non-working)
...
Trouble with:
> Script.getExternalPath(Script.ExternalPaths.Assets, "hi")
[UncaughtException evaluate] Error: cannot call getExternalPath(): argument 1 has unknown type `ExternalResource::Bucket' (register the type with qScriptRegisterMetaType()) in about:console:1 [Backtrace] <global>() at about:console:1
TypeError: cannot call getExternalPath(): argument 1 has unknown type `ExternalResource::Bucket' (register the type with qScriptRegisterMetaType())
2020-09-20 01:29:32 +02:00
Dale Glass
792854ccb7
Applied code formatter
2020-09-20 01:29:32 +02:00
Dale Glass
84e01630ee
Make base URLs for external resources modifiable
2020-09-20 01:29:32 +02:00
Dale Glass
e0e4ffb214
Review fixes
2020-09-20 01:29:32 +02:00
Dale Glass
cd901f9e32
Move enum into ExternalResources namespace
2020-09-20 01:29:32 +02:00
Dale Glass
c65cc9570d
Prototype for moving content away from hifi infrastructure
2020-09-20 01:29:32 +02:00
Kalila L
8a71c66fcc
Added comments.
2020-09-16 20:01:47 -04:00
kasenvr
fd5b84b6eb
Apply suggestions from code review
...
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2020-09-16 19:57:58 -04:00
Kalila L
4224c8120f
Set metaverse and ice to Vircadia again.
2020-09-15 21:06:27 -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
d5f5c76878
Update NetworkingConstants.h URLs to Vircadia Metaverse.
2020-09-15 19:57:30 -04:00
kasenvr
370c2700be
Merge pull request #640 from kasenvr/feature/package-startup-interface
...
Add ability to package Interface with a custom startup location (also tacks on some build docs updates)
2020-09-12 22:17:25 -04:00
kasenvr
bbc5044451
Merge pull request #639 from ctrlaltdavid/enhancement/domain-login-items
...
Don't display domain log-in items unless relevant
2020-09-02 18:51:14 -04:00
kasenvr
60e6d99aff
Merge branch 'master' into feature/package-startup-interface
2020-09-01 17:40:37 -04:00
Kalila L
58c1518d0b
Updating some .cpp and .h URLs.
2020-08-31 01:00:05 -04:00
Kalila L
6e39e048be
First pass at centralizing some URLs.
2020-08-31 00:43:30 -04:00
Kalila L
26d4eb8e67
Updates per CR.
...
Co-Authored-By: David Rowe <david@ctrlaltstudio.com>
2020-08-24 18:43:03 -04:00
Kalila L
a2bd06993f
Add option to build an Interface to go to specified address by default.
2020-08-23 01:49:32 -04:00
David Rowe
eb8ae74245
Tidying
2020-08-23 16:06:16 +12:00
David Rowe
67100b5a20
Display domain login menu item only on domains that have domain login
2020-08-23 15:56:27 +12:00
David Rowe
29e5bfdb94
Ignore residual "connection denied" packets from previous domain
2020-08-23 14:34:10 +12:00
Kalila L
a032ac66b1
Update AddressManager links to NetworkingConstants.
2020-08-22 20:03:57 -04:00
David Rowe
6926cd205a
Ignore residual "connection denied" packets from previous domain
2020-08-20 17:12:57 +12:00
David Rowe
662b2bfc5e
Handle log in for multiple domains with domain login
2020-08-20 12:32:03 +12:00
Kasen IO
c70a041490
Merge branch 'master' into feature/domain-metadata-exporter
2020-08-18 21:35:51 -04:00
Kasen IO
fe1ea6ca72
Bump protocol.
2020-08-18 02:22:56 -04:00
David Rowe
bf60cf5b4c
Tidying
2020-08-18 16:33:47 +12:00
David Rowe
9bb5add1ca
Don't display domain login status in title bar unless relevant
2020-08-18 11:42:35 +12:00
Kasen IO
ca97450464
Centralizing some more networking constants.
2020-08-17 02:44:26 -04:00
Heather Anderson
34e3d9dd2b
improved listener lifetime controls (in case a deferred invoke takes longer than expected)
2020-08-09 15:44:41 -07: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
8f0b33b54d
Miscellaneous tidying
2020-08-06 00:04:22 +12:00
Kasen IO
6b0fc8fd66
Titlebar now responds correctly to domain logged in state.
2020-08-05 02:18:01 -04:00
Kasen IO
0e8f019b8a
Further things kinda working.
2020-08-04 20:00:24 -04:00
David Rowe
3a43283e7b
Provide domain name to domain login dialog
2020-08-04 19:42:02 +12:00
David Rowe
bc56eb5ac7
Update to work with WordPress plugin
2020-08-04 17:12:31 +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
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
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
aff3275207
Initial OAuth2 login working
2020-08-01 10:17:27 +12:00
David Rowe
56ba137ee3
Get OAuth2 URL from server settings
2020-07-31 20:48:27 +12:00
David Rowe
c3d248a404
Merge branch 'oauth2-wordpress' into feature/oauth2-login
2020-07-31 15:20:32 +12:00
Kasen IO
5706a42b56
Implement further handling of Interface OAuth2
...
This is preliminary, needs to be revisited in a more dynamic and clean fashion with time.
2020-07-29 01:53:21 -04:00
David Rowe
429b4ceefa
Flesh out domain groups code
2020-07-28 21:23:55 +12:00
David Rowe
ed44438387
Fix domain login dialog disappearing when teleport to domain
2020-07-25 21:46:18 +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
9bb913983d
Stub out basics for displaying the domain login dialog
2020-07-25 15:31:17 +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
David Rowe
07504232a9
Move new connection refused reason to end to maintain compatability
2020-07-24 08:43:40 +12:00
Kasen IO
a5d0c80c87
Revert "Remove supposedly unused logic?"
...
This reverts commit 9fd3f764ec
.
2020-07-23 00:37:50 -04:00
Kasen IO
9fd3f764ec
Remove supposedly unused logic?
2020-07-23 00:18:11 -04: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
ad2c3f08e6
Update further links.
2020-07-10 18:50:58 -04:00
Kasen IO
629b3c084c
Update user agent to use "Vircadia" + update getUserAgent function to use the same.
2020-07-10 00:08:46 -04:00
Kasen IO
4b1e82fc0b
Move user agent to networking constants.
2020-07-08 14:18:24 -04:00
kasenvr
b7b902b755
Merge pull request #459 from ctrlaltdavid/feature/tutorial-menu-item
...
Add Help > Tutorial menu item
2020-07-02 17:10:38 -04:00