Howard Stearns
a71e902a49
Revert "BUGZ-322 - add domain checkin lag logging"
2019-05-23 10:27:05 -07:00
Roxanne Skelly
4ca77ba3ac
BUGZ-322 - add domain checkin lag logging
2019-05-22 13:51:43 -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
Clement
b3d0705e39
Extend ICE logging + make it more searchable
2019-05-08 18:38:00 -07:00
Roxanne Skelly
9888f5feda
Copy Pasta
2019-04-05 16:02:09 -07:00
Roxanne Skelly
a63171fb94
Case22025 - Show 'create temporary place' button when no places are present
...
The metaverse urls were hard-coded to be production. Fix is to pull them
from the domain server, which will pull them from the environment variable.
2019-04-05 14:54:02 -07:00
Roxanne Skelly
2d71ec1c75
Case20410 Automatic Content Archives doesn't restore correctly with old Tutorial content set
...
The tutorial content set had a content set Id of Null, which caused a failure
to parse the content set.
2019-04-02 13:19:06 -07:00
Roxanne Skelly
88b7687183
Case 21726 - Domain lost recent entity edits upon restart
...
When an entity server starts up, grabs the version of the models.json
file locally, and then queries the domain server for its copy of the
models.json file...iff the domain server version is newer.
There was a bug in this process in that the comparison was made between
the wrong version, specifically the 'file format version' which doesn't
change unless there was a protocol change...and not the data version,
which increments every time a change is made to a domain.
Therefore, the version of the models.json on the domain server was never
downloaded to the entity server, even when it was newer.
It would be newer if the entity server assignment was moved to a machine
with an old version of the models.json file, which was in fact the case
on distributed3 during this period of time.
2019-03-28 13:19:16 -07:00
Roxanne Skelly
38981a5f25
Merge commit 'a804d3532e6b04fb86e5e520147bd34c331b3f36'
2019-03-05 15:08:39 -08:00
Clement
717c12fe16
Add new connection rate limitting
...
Limit rate of connection for new Agents
2019-02-27 18:22:49 -08:00
David Kelly
2202b69575
Guard against accidentally calling wrong api/v1/places endpoint
...
spaces
2019-02-20 13:09:29 -07:00
birarda
b0aa1b2af2
make domain settings maps keyed case insensitively
2018-11-20 14:47:33 -08:00
John Conklin II
9b886ff725
Merge pull request #14391 from SimonWalton-HiFi/upload-to-ds-chunked
...
Upload content to domain server in multiple chunks
2018-11-19 17:53:44 -08:00
Simon Walton
2a7e22bf31
Identify initial chunk of an upload so as to be more resilient
2018-11-19 15:26:08 -08:00
Simon Walton
2d2cc0eaca
Use a random session id for a sequence of chunks
2018-11-16 15:56:39 -08:00
Simon Walton
5883035991
Gcc doesn't like QTemporaryFile in a map so store unique ptrs
2018-11-16 14:50:03 -08:00
Simon Walton
5f51ed0210
Keep pending content per remote address
2018-11-16 09:44:21 -08:00
Simon Walton
22c3f5239a
Relay upoaded content.zip chunks to temp file
...
Entities uploads still build in-memory. Move out chunk
handling to new routine.
2018-11-15 16:59:52 -08:00
Simon Walton
167a8fdc04
Merge branch 'master' into max-json-size
2018-11-13 14:57:06 -08:00
Simon Walton
6ee837d47c
OctreeDataUtils - use new json from DS also; allow upload of large domains
2018-11-12 15:43:09 -08:00
Simon Walton
a21d10ad1b
Restore content archives (zip) correctly; other tweaks
2018-11-08 16:34:02 -08:00
Simon Walton
bb60324335
Chunked content upload - working proof-of-concept
2018-11-08 14:01:27 -08:00
Clement
8983fe2bcf
Fix new Mac warnings
2018-10-09 12:11:55 -07:00
Seth Alves
b69d0f3997
get interface building and working with clang-7 on ubuntu 18
2018-09-28 13:46:51 -07:00
Simon Walton
217e4efdda
Fix regex for web i/f single-node kill
2018-08-20 13:43:48 -07:00
John Conklin II
1edf1b4337
Merge pull request #13555 from SamGondelman/destroy
...
Trying to fix dependency shutdown
2018-08-16 13:14:58 -07:00
Stephen Birarda
e686df6fb9
Merge pull request #13720 from Atlante45/feat/test-tool
...
Stack tester changes
2018-08-08 13:40:05 -04:00
SamGondelman
e3756a6dae
Merge branch 'destroy' of github.com:SamGondelman/hifi into destroy
2018-08-06 11:21:51 -07:00
SamGondelman
9806bce403
weak pointers to nodeList
2018-08-06 11:21:32 -07:00
Sam Gondelman
2edefe3209
Merge branch 'master' into destroy
2018-08-06 09:51:14 -07:00
John Conklin II
3a6a72a079
Merge pull request #13643 from SimonWalton-HiFi/user-setting-hmac
...
Add DS option to disable HMAC packet authentication
2018-08-03 17:45:32 -07:00
SamGondelman
1ba28de5b6
try to fix nodelist not getting destroyed
2018-08-01 17:52:27 -07:00
Clement
f8e98d2c6a
Remove 2 year old migration code
2018-07-30 17:18:32 -07:00
Clement
9e84603ca4
Make proper -v and -h options for interface
2018-07-30 17:18:32 -07:00
Simon Walton
81c8fe6114
Change 'Enable Authentication' to 'Enable Packet Verification'
2018-07-24 17:06:09 -07:00
Simon Walton
3002abeddc
Add DS option to turn off packet authentication
2018-07-18 18:22:36 -07:00
Stephen Birarda
499aa4ad13
404 malformed agent script requests, check doc root
2018-07-18 15:22:45 -07:00
Stephen Birarda
b5254f1ea5
cleanup race on deleteLater after callback processed
2018-06-27 11:41:37 -07:00
Stephen Birarda
e90ea82ef5
move AddressManager to NodeList thread, fix AccountManager invokes
2018-06-27 11:41:37 -07:00
Stephen Birarda
743cb7c7e8
Merge pull request #13241 from Atlante45/fix/corrupted-backup
...
Don't mark backups from domains with no asset server corrupted
2018-06-11 10:50:16 -07:00
Stephen Birarda
112abc9d7e
Merge pull request #13148 from birarda/feat/new-version-numbers
...
add SHA to PR/master version, add build_type (stable/master/pr/dev)
2018-06-08 14:44:22 -07:00
Clement
caa01aa25e
Don't mark Asset-less DS's backups corrupted
...
If the DS doesn't choose to run an Asset Server, add an empty
mappings file to the archive so they do not show as corrupted
2018-05-25 12:31:51 -07:00
Clement
5f41505846
Store big web requests on disk
2018-05-24 17:30:32 -07:00
Clement
e096ff91f6
Explicitely manage HTTPManager lifetime
2018-05-24 17:30:32 -07:00
Stephen Birarda
2cb7c9cc62
add a BUILD_TYPE to BuildInfo, fix conditional
2018-05-24 12:04:32 -07:00
Stephen Birarda
c3595a3216
pass STABLE_BUILD instead of BUILD_BRANCH through cmake
2018-05-24 12:03:03 -07:00
Stephen Birarda
d1ace7914e
make domain server reliably broadcast all node disconnects
2018-05-23 12:56:12 -07:00
Stephen Birarda
8f6600facf
remove ICE peers once nodes connect or are killed
2018-05-22 14:21:49 -07:00
Simon Walton
2f72b789a3
Fix for null sourceNode use
2018-04-23 12:13:31 -07:00
Simon Walton
3f894fe5fa
Merge fix
2018-04-20 11:15:59 -07:00
Simon Walton
ed0fd8c4d2
Merge fix
2018-04-20 11:13:15 -07:00
Simon Walton
9f9a68188d
Merge remote-tracking branch 'upstream/master' into short-id
2018-04-20 11:10:21 -07:00
Seth Alves
ba43640950
Merge pull request #12785 from birarda/bug/xcode-warnings
...
fix some xcode warnings for unnecessary captured this
2018-04-20 10:30:27 -07:00
SimonWalton-HiFi
9d06890aea
Merge branch 'master' into short-id
2018-04-19 10:09:34 -07:00
Stephen Birarda
c4ad93bafb
Merge pull request #12782 from SimonWalton-HiFi/qregexp
...
Replace LogHandler repeated regex scheme with assigned ID tracking scheme
2018-04-18 17:28:48 -07:00
Simon Walton
01c39d4310
Use NULL_LOCAL_ID in more places, as requested by review
2018-04-18 11:53:47 -07:00
Simon Walton
104788de50
Take out useless noisy message timer
2018-04-04 16:03:56 -07:00
Simon Walton
d05f0600d4
Handle one-time messages outside LogHandler class
...
Also change to std::call_once for the file-scope message IDs.
2018-04-04 15:44:47 -07:00
Stephen Birarda
3a8c9de4fb
fix some xcode warnings for unnecessary captured this
2018-04-04 10:38:32 -07:00
Simon Walton
692ccfc09b
Create HIFI_FCDEBUG(_ID) variants that require a category
...
Original macros use default settings.
2018-04-04 09:49:15 -07:00
Simon Walton
7d16ca9c1c
Remove uses of addRepeatedMessageRegex() and its implementation
...
Change to new log-message ID scheme.
2018-04-03 17:54:01 -07:00
Simon Walton
1b0b280f3a
Fix SequenceNumberStats, misc. clean-up
2018-03-29 10:47:11 -07:00
Simon Walton
b409e04734
Handle all case of nodes being deleted from nodelist
...
Delete erased nodes from local ID mapping, as this uses
SharedPointer. Don't keep the mapping from local IDs
to UUIDs in GateKeeper as it isn't used.
2018-03-28 17:42:23 -07:00
Clement
cb07fc47dc
Fix ESS remote method calls for connect only users
2018-03-28 14:01:03 -07:00
Simon Walton
f823f63211
Add domain local ID to DomainServerList
...
Also handle domain local ID for 'domain sourced' packets;
bump packet version.
2018-03-28 13:27:43 -07:00
Simon Walton
bed4033554
Local node IDs now working correctly
...
Move typedef to single location; fixes for replicated packets
(probably still not correct); reserve zero as local ID;
pass domain server's local ID in domain server list;
other tweaks.
2018-03-27 18:18:14 -07:00
Simon Walton
d3464378b7
Short local source IDs - checkpoint
...
DS assigns 16-bit IDs as well as UUIDs; ACs track mappings;
nodes use short IDs in packets. Initial setup works; then
fails prob. due to DS UUID.
2018-03-27 13:46:58 -07:00
Simon Walton
4ec77e3af6
WIP - assign short IDs to nodes and distribute them.
2018-03-26 14:57:59 -07:00
Clément Brisset
feec59655c
Merge pull request #12692 from highfidelity/stable
...
Merge stable back into master
2018-03-22 15:08:30 -07:00
Ryan Huffman
dc694fb0b7
Update content backup downloads to be asynchronous
...
Previously backups would be consolidated into a full .zip when the
backup was requested. Because of the potential for a large number of
assets, this could take awhile, causing a browser to fail due to timeout
before the backup was available. This change splits the download
endpoint into 2 parts - one to request information about a backup and
possibly kick off a consolidation, and another to request the actual
file once the consolidate backup is available.
2018-03-21 15:02:38 -07:00
Ryan Huffman
3a98cf284f
Fix DS not handling lowercase header keys
2018-03-16 14:30:03 -07:00
Ryan Huffman
d140ccb790
Fix constexpr compile error on Windows
2018-03-15 14:52:15 -07:00
Ryan Huffman
9275fe1f7d
Update backup downloads to use .content.zip extension
2018-03-15 12:47:51 -07:00
Ryan Huffman
bee8899c46
Add support for uploading .content.zip files
2018-03-15 12:17:21 -07:00
Clément Brisset
b7ac07f590
Merge pull request #12589 from highfidelity/RC65
...
merge back RC65 to master after RC hotfixes
2018-03-07 17:22:41 -08:00
John Conklin II
e0a11271bf
Merge pull request #12573 from birarda/bug/domain-settings-metaverse
...
fix for getSetting QVariant ref in DomainServer
2018-03-07 12:11:45 -08:00
Stephen Birarda
a83b54e10d
fix for getSetting QVariant ref in DomainServer
2018-03-06 13:55:50 -08:00
Atlante45
a23884d0e0
Prevent crash during long backup web requests
2018-03-06 13:21:02 -08:00
Atlante45
85b4c3b422
Protect session UUID from concurrent read/writes
2018-03-02 17:34:18 -08:00
Stephen Birarda
2af0e5fc2b
Merge pull request #12501 from huffman/feat/content-settings
...
Code review changes
2018-02-26 17:58:08 -07:00
Ryan Huffman
ec210e1750
Move OctreeUtils to OctreeDataUtils
2018-02-26 16:51:42 -08:00
Ryan Huffman
3fa538d42d
Add RawEntityData subclass
2018-02-26 16:32:09 -08:00
Stephen Birarda
2872412f9c
fixes for comments from code reviews
2018-02-26 14:35:34 -08:00
Ryan Huffman
dbfbee5406
CR
2018-02-26 13:53:20 -08:00
Stephen Birarda
946474c615
do not init caching for asset requests in domain-server
2018-02-21 16:33:58 -08:00
Stephen Birarda
1e36a5b218
Merge pull request #12430 from birarda/feat/pending-content-archives
...
make filename regex less restrictive
2018-02-16 18:21:56 -07:00
Stephen Birarda
2faa67c68d
make filename regex less restrictive
2018-02-16 17:01:46 -08:00
Atlante45
acc68d65c2
Backup bug fixes
2018-02-16 16:59:12 -08:00
Stephen Birarda
1c053730eb
make DomainServerSettingsManager thread-safe for use in content backup
2018-02-16 16:01:40 -08:00
Stephen Birarda
8e621a95a3
fix typo in debug for writing new entities
2018-02-16 16:01:40 -08:00
Stephen Birarda
441b55301f
cleanup LNL last during DS shutdown
2018-02-16 16:01:40 -08:00
Stephen Birarda
494f93304b
take down AssetClient after content manager
2018-02-16 16:01:40 -08:00
Stephen Birarda
de75fe8e9f
CR fix for typo in comment
2018-02-16 15:37:14 -08:00
Stephen Birarda
2020ce5907
add API to recover from content archive
2018-02-16 15:37:14 -08:00
Stephen Birarda
910f3425f8
fix latest backup refreshing with no caching
2018-02-16 15:34:55 -08:00
Stephen Birarda
b019895fce
handle entity file upload from new content upload
2018-02-16 15:34:55 -08:00
Stephen Birarda
dd5a705836
move rolling interval backup rules to automatic content archives
2018-02-16 15:34:55 -08:00
Ryan Huffman
0230abea79
Fix backup loading not getting auto backups
2018-02-16 13:54:35 -08:00
Ryan Huffman
2942a53a1d
Add recovery mode and full backup information to DS
2018-02-15 16:47:48 -08:00
Ryan Huffman
dd0b8a0c2f
Add backup download API to DS
2018-02-15 16:47:23 -08:00
Ryan Huffman
9e99c5c744
Add restart of ES during backup recovery
2018-02-15 16:47:23 -08:00
Stephen Birarda
f5cad5683d
make sure backup handlers end up on the correct thread
2018-02-15 15:39:25 -08:00
Stephen Birarda
f624e1b464
add a content settings backup handler
2018-02-15 15:10:51 -08:00
Atlante45
9fca92facd
Move EntitiesBackupHandler to its own file
2018-02-15 11:28:52 -08:00
Atlante45
d8d05fe045
Rename backup supervisor
2018-02-15 11:27:21 -08:00
Atlante45
ce93b9a1f4
Simplify BackupHandler pattern
2018-02-15 11:27:20 -08:00
Ryan Huffman
efb2473fcf
Updaet createManualBackup to defer response until creation is done
2018-02-15 11:02:55 -08:00
Ryan Huffman
b6240e8622
Move backup recover API to POST
2018-02-15 10:22:35 -08:00
Ryan Huffman
8a69c69bec
CR
2018-02-15 10:22:35 -08:00
Ryan Huffman
dd398da2e0
Update DS to use promises for backup APIs
2018-02-15 10:22:35 -08:00
Ryan Huffman
8b07e7e28f
Add backup DS APIs
...
Add backup apis
2018-02-15 10:22:35 -08:00
Ryan Huffman
e63b692d80
Add BackupHandler for entity file backups
2018-02-15 10:22:35 -08:00
Atlante45
69298246c4
CR
2018-02-15 10:09:21 -08:00
Atlante45
a6447da64c
More Asset Backup work
2018-02-15 10:09:21 -08:00
Atlante45
11b7fb89a9
Integrate new backup systems
2018-02-15 10:09:21 -08:00
Ryan Huffman
0bbbff95cd
Fix replacement octree data not working
2018-02-15 10:09:21 -08:00
Ryan Huffman
2a667fcd60
Cleanup entity -> ds persist
2018-02-15 10:09:21 -08:00
Ryan Huffman
ff5be2d690
Fix entity data ID sometimes being reset
2018-02-15 10:09:20 -08:00
Ryan Huffman
cb9327e030
Add entity file sync and domain content backups
2018-02-15 10:09:20 -08:00
Stephen Birarda
6240181474
initial separation of content settings and domain settings
2018-02-14 12:09:56 -08:00
Atlante45
87f77b6257
Asset Server Backup
2018-02-09 11:32:42 -08:00
Atlante45
314c51ab3b
Fix settings init in all exe
2018-01-26 15:53:08 -08:00
Thijs Wenker
1bfb62bd7f
list assignment types in assignment-client help
2017-12-18 15:32:32 -08:00
Stephen Birarda
139976d8bb
allow staging METAVERSE_SERVER_URL to be toggled by env
2017-12-12 16:22:08 -08:00
Stephen Birarda
25c10d5de2
Merge pull request #11735 from highfidelity/stable
...
Merge stable back into master
2017-11-02 14:22:31 -07:00
Ryan Huffman
ed99541b5f
Fix domain info not loading for temp domains in DS settings
2017-10-29 20:47:52 -07:00
Atlante45
b0d838cb9b
Fix UNIX warning
2017-10-28 14:57:16 -07:00
Ryan Huffman
88e22f7507
Remove unneeded logging in DomainServer.cpp
2017-10-28 14:19:14 -07:00
Ryan Huffman
c42ef4f88c
Update most DS API forwarding APIs to use a single forwarding function
2017-10-27 15:53:50 -07:00
Atlante45
203a419f2a
Setup Wizard
2017-10-27 12:52:36 -07:00
Ryan Huffman
2944d76ef0
Update settings with auto domain creation and restart
2017-10-27 11:49:41 -07:00
Ryan Huffman
1bb778c21f
Fix label support in DS settings and add automatic domain generation:
2017-10-27 11:49:41 -07:00
Ryan Huffman
92aa66cdd7
Update domain settings to include domain info editing
2017-10-27 11:49:40 -07:00
Ryan Huffman
7dc475c695
Update domain server settings
...
Move requests that require access token to go through DS
Update various styling and ease of use on DS settings page
Update domain server settings
CP
CP
2017-10-27 11:49:34 -07:00
Stephen Birarda
9345f4545f
sanitize the ice-server addresses before using
2017-10-25 14:10:11 -07:00
Zach Fox
7ad3a5a1e3
Commerce: Tons of Interface changes ( #11463 )
...
* canRez(Tmp)Certified()
* CertifiedItem beginnings
* Skeleton of verifyOwnerChallenge()
* Controlled failure; updateLocation() skeletion
* Controlled failure on checkout page with ctrl+f
* Skeleton Purchases first-use tutorial
* Initial progress on new setup
* Security pic tip
* Skeleton Certificate page
* Updates to Certificate
* General progress; setup is nearly complete
* Better buttons; last step almost done
* Initial progress on wallet home
* Completed recent transactions
* Security page
* Scrollbar
* Fix auth error text
* PassphraseSelection
* Change security pic
* Minor layout changes; beginnings of emulated header
* Various layout changes; wallet nav bar
* Help screen
* Quick onaccepted change
* First pass at new purchases
* Small style updates
* Some error progress
* Lightbox in purchases
* Collapse other help answers when clicking on another
* REZZED notif
* Commerce Lightbox
* Lots of new interactions in Purchases
* Hook up 'view certificate'
* Fix errors, fix close button on cert
* Purchases timer; much faster filter
* Add debugCheckout
* Purchase updates
* GlyphButton; separator; Checkout Success; Ledger fix; debug modes
* Lock glyph below security pic should be white
* Various fixes, round 1
* Circular mask
* Passphrase change button fix; TextField error edge highlighting
* Recent Activity fixes
* Various changes
* Standard Security Pic location
* Color changes
* Filter bar changes
* Styling for multiple owned items
* Minor language change
* Header dropdown (harder than expected)
* Small fixes
* View backup instructions
* marketplaces.js onCommerceScreen
* Beginnign of new injection
* Marketplace injection changes
* Purchase button style changes
* More button styling
* MY PURCHASES button
* marketplace onUsernameChanged
* New help QA
* Help text changes etc
* Downscale security image, reducing filesize
* Lots of bugfixes
* Cleanup before PR
* Only open cert during inspection if commerce switch is on
* Help text changes
* Purchase status incl. change to confirmed; Help text; Open Explorer to hifikey
* Quick glyph change
* New 'wallet not set up' flow for when entering Purchases or Checkout without set-up wallet
2017-09-27 14:43:51 -07:00
Brad Hefta-Gaub
7cce45017b
Merge pull request #11244 from birarda/bug/ice-dns-fail
...
add a timeout for ICE server DNS lookup
2017-09-07 11:09:05 -07:00
Stephen Birarda
3003f64514
add debug for ice server lookup fail
2017-08-24 16:42:53 -07:00
Stephen Birarda
c7affea411
add a timeout for ICE server DNS lookup
2017-08-24 16:40:16 -07:00
Stephen Birarda
133b7e66b7
adjust a comment and remove some debug
2017-08-23 16:38:23 -07:00
Stephen Birarda
c122b22dfc
add additional IP check to DS packet filter operator
2017-08-23 15:32:25 -07:00
Stephen Birarda
2d0c5ff37a
remove preloading of allowed user keys since it happens on connect
2017-07-25 11:41:34 -07:00
Stephen Birarda
d22b146370
Merge pull request #10845 from birarda/bug/domain-cookie-restart
...
fix for OAuth OPTIONS firing every XHR 302
2017-07-06 17:22:03 -07:00
Stephen Birarda
6d98d20b12
cleanup bad QEventLoop::exec() OAuth handling code
2017-07-06 16:19:47 -07:00
Clément Brisset
34e3f56002
Merge pull request #10843 from birarda/bug/user-activities-interface-only
...
disable user activity logger in DS/AC/ac-client
2017-07-06 14:01:49 -07:00
Stephen Birarda
916f57772b
default the UAL off for all targets, enable manually for Interface
2017-07-06 10:21:07 -07:00
utkarshgautamnyu
9d2fe8da9c
Update DomainServer.cpp
2017-07-05 18:02:44 -07:00
Atlante45
5c731636b1
Sandbox restarts crashed processes
2017-06-29 12:13:52 -07:00
Stephen Birarda
cf92144748
fix for OAuth OPTIONS firing on XHR 302
2017-06-28 14:13:09 -07:00