Commit graph

1522 commits

Author SHA1 Message Date
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
Dale Glass
a8bd627cda Add Prometheus exporter
Exports domain statistics for the domain on port 9703 (officially reserved)
2020-06-07 02:47:39 +02:00
David Rowe
ffeb37e7aa Merge remote-tracking branch 'hifi/master' into merge-hifi-master
# Conflicts:
#	CMakeLists.txt
#	README.md
#	cmake/externals/glad32es/CMakeLists.txt
#	cmake/externals/glad41/CMakeLists.txt
#	cmake/externals/glad45/CMakeLists.txt
#	cmake/externals/polyvox/CMakeLists.txt
#	cmake/externals/quazip/CMakeLists.txt
#	cmake/externals/vhacd/CMakeLists.txt
#	cmake/init.cmake
#	cmake/ports/hifi-deps/CONTROL
#	cmake/ports/sdl2/CONTROL
#	cmake/ports/sdl2/disable-hidapi-for-uwp.patch
#	cmake/ports/sdl2/enable-winrt-cmake.patch
#	cmake/ports/sdl2/fix-arm64-headers.patch
#	cmake/ports/sdl2/fix-x86-windows.patch
#	cmake/ports/sdl2/portfile.cmake
#	cmake/ports/sdl2/vcpkg-cmake-wrapper.cmake
#	cmake/ports/tbb/portfile.cmake
#	hifi_vcpkg.py
#	interface/src/avatar/MyAvatar.h
#	libraries/avatars-renderer/src/avatars-renderer/Avatar.h
#	libraries/avatars/src/AvatarData.h
#	libraries/entities-renderer/src/RenderableEntityItem.h
#	libraries/entities/src/EntityItem.cpp
#	libraries/entities/src/EntityItem.h
#	libraries/fbx/src/GLTFSerializer.cpp
#	libraries/graphics-scripting/src/graphics-scripting/Forward.h
#	libraries/networking/src/AddressManager.cpp
#	libraries/networking/src/DomainHandler.h
#	libraries/procedural/src/procedural/ProceduralMaterialCache.cpp
#	libraries/render-utils/src/HighlightEffect.cpp
#	libraries/render-utils/src/MeshPartPayload.cpp
#	libraries/render-utils/src/Model.cpp
#	libraries/render-utils/src/RenderShadowTask.cpp
#	libraries/script-engine/src/WebSocketClass.cpp
2020-04-09 16:46:27 +12:00
Kasen IO
c34cd996df change Metaverse API from setting 2019-12-20 11:39:05 +01:00
Zach Fox
2b7d66c710 Slight optimization; comments 2019-12-06 10:32:45 -08:00
Zach Fox
c96c684400 Initial path to fixing screenshare auth race condition 2019-12-05 15:47:43 -08:00
Howard Stearns
323007eb2c ignore anonymous screenshare zone entry 2019-11-26 12:11:38 -08:00
Zach Fox
8aea0dd951 Merge in Howard's 'screenshare presence' open PR 2019-11-13 10:11:16 -08:00
Simon Walton
db14cdbd22 Tweak 'critical' status for some logging 2019-10-04 09:56:35 -07:00
Simon Walton
d5d1c08da0 Adjust some of the logging 2019-10-03 16:50:24 -07:00
Simon Walton
b458098409 Add case of failure to update ICE with metaverse 2019-10-03 12:38:29 -07:00
Simon Walton
59b41e29f4 Call out DS DS logging critical for Lilypad 2019-10-03 12:15:45 -07:00
Clement
0401015441 Connect aboutToQuit 2019-09-30 15:18:47 -07:00
Atlante45
a4c857315a Add shutdown annotations for crash reporting 2019-09-30 14:54:17 -07:00
Clement
1ca30b688d Put flush timer on right thread without parenting 2019-09-20 15:39:35 -07:00
Clement
527b27b32d Make sure the flush timer is not spawned too early 2019-09-18 17:05:05 -07:00
Roxanne Skelly
9a7de10614 set file permissions on the config.json file for the domain server 2019-09-11 16:27:00 -07:00
Roxanne Skelly
0f242deaf2 fix crash and some UI issues 2019-09-11 14:11:43 -07:00
Roxanne Skelly
a0ad1f3a68 DEV-444 - OAuth administration improvements 2019-09-10 17:27:23 -07:00
Howard Stearns
5ff0c5800e do not unzip or parse entities-backup on message thread 2019-08-29 12:56:14 -07:00
Roxanne Skelly
de1aa68cff oopse 2019-07-30 11:30:23 -07:00
Roxanne Skelly
b4fee1140c BUGZ-319 - Add 'Installed By' username to installed content section on
settings.
2019-07-29 16:25:51 -07:00
Roxanne Skelly
701c457ad4 Fix issue where reset of server was prematurely causing the drop of
an ajax connection which was causing an error popup.
2019-07-26 16:57:05 -07:00
Roxanne Skelly
03b146cfb2 fix issue with .json.gz files failing to upload properly 2019-07-26 13:55:59 -07:00
Roxanne Skelly
908cb8156b fix coding standards issue 2019-07-26 09:40:17 -07:00
Roxanne Skelly
b770ff7b79 BUGZ-829 - error handling for web uploaded model files 2019-07-25 18:14:11 -07:00
Roxanne Skelly
130e68c9b5 DEV-168 - make interface-installed content sets display info on web
installed content section
2019-07-25 14:37:41 -07:00
Roxanne Skelly
22e71115dd DEV-168 - add filename reporting for installed/restored backup content 2019-07-25 11:46:05 -07:00
Roxanne Skelly
5afae43051 CR fix 2019-07-24 16:05:34 -07:00
Roxanne Skelly
fe4334d6c4 BUGZ-829 fix a few nits 2019-07-24 15:33:13 -07:00
Roxanne Skelly
783c61500e BUGZ-829 DEV-168 - domain backup/content management improvements
BUGZ-829 - improve error reporting during restore of content

DEV-168 - show last installed archive information
2019-07-24 12:52:06 -07:00
Howard Stearns
335119cb58 log wakeup (on client and report to DS) during connection on Windows 2019-07-08 16:50:36 -07:00
Roxanne Skelly
c5883a8d67 CR fixes 2019-06-24 14:58:06 -07:00
Roxanne Skelly
e39ccff873 BUGZ-812 - Log system info on domain connect or connect refusal 2019-06-24 11:59:57 -07:00
Roxanne Skelly
0576e6ae3e remove newline for sysinfo to make splunk queries easier 2019-06-19 15:10:02 -07:00
Roxanne Skelly
2ed5e8aefb add OS type to connect message 2019-06-19 13:53:38 -07:00
Simon Walton
b95515933f
Merge pull request #15708 from SimonWalton-HiFi/stun-on-iface-change
Force new IP port on local address change
2019-06-19 10:12:36 -07:00
Simon Walton
cfcea359b2 Handle local address changes for servers 2019-06-14 16:51:59 -07:00
Roxanne Skelly
1b31b8cff8 CR fixes 2019-06-14 13:23:33 -07:00
Roxanne Skelly
5b6911efa4 log username with "haven't heard from" messages
remove rebind on silent domain checkin
2019-06-14 10:45:18 -07:00
Roxanne Skelly
6e6bd18baa Undo Visual Studio mis-formatting 2019-06-12 11:43:43 -07:00
Roxanne Skelly
67cb5821bc Update packet headers / add connect 'reason' 2019-06-11 16:00:49 -07:00
Roxanne Skelly
3c9edb90d8 Log formatting fix 2019-06-11 15:35:50 -07:00
Roxanne Skelly
ec91f4dae4 More checkpoint MTBF logging 2019-06-11 14:37:46 -07:00
Roxanne Skelly
8a3672f3c5 Checkpoint MTBF uptime reporting 2019-06-11 12:41:45 -07:00
Roxanne Skelly
73e3ad7e4c Monitor traffic from nodes and report if not heard from in over 2 sec
Also, remove spammy backup logging.
2019-06-04 11:16:36 -07:00
Roxanne Skelly
4d8607a937 linux build issue 2019-05-30 14:54:54 -07:00
Roxanne Skelly
e12ed1c5d6 high_resolution_clock behaves differently on windows and linux
on linux, time_since_epoch returns time since linux epoch,
on windows, it returns time since system start.
Math between those values on two different types of machines
was coming out bad.
2019-05-30 14:17:19 -07:00
Roxanne Skelly
41be22a7bb ubuntu build fix and CR fix 2019-05-24 15:22:33 -07:00
Roxanne Skelly
c6de86a80c Log packet processing time for domain server list request packets 2019-05-24 14:52:55 -07:00
Roxanne Skelly
1c6cf3df0d Move DomainList timestamps to the extended header
And. Lag notifications now use signed values
2019-05-23 14:19:36 -07:00
Roxanne Skelly
4f1eeecc2f Revert "Merge pull request #15620 from highfidelity/revert-15612-domaincheckin"
This reverts commit 4735b9f19a, reversing
changes made to bc4a88beb7.
2019-05-23 11:00:43 -07:00
Howard Stearns
a71e902a49
Revert "BUGZ-322 - add domain checkin lag logging" 2019-05-23 10:27:05 -07:00
Roxanne Skelly
b331bb0683 Initialize structure member as per code review suggestion. 2019-05-22 15:03:39 -07:00
Roxanne Skelly
4ca77ba3ac BUGZ-322 - add domain checkin lag logging 2019-05-22 13:51:43 -07:00
Shannon Romano
b5f23f550f
Merge pull request #14519 from MattHardcastle/use-qsavefile
Use QSaveFile when persisting domain settings to disk
2019-05-15 13:41:34 -07:00
Zach Fox
e87381f431 Merge branch 'master' of github.com:highfidelity/hifi into privateUserData 2019-05-13 14:13:34 -07:00
Clement
c691ee496e CR 2019-05-09 13:58:50 -07:00
Clement
5c42838261 Change timeouts to try to prevent ICE disconnects 2019-05-08 18:38:35 -07:00