Commit graph

524 commits

Author SHA1 Message Date
ZappoMan
3a8c5018ee Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
Conflicts:
	interface/src/Application.h
	libraries/entities/src/EntityTreeElement.h
	libraries/models/src/ModelItem.cpp
	libraries/models/src/ModelItem.h
	libraries/models/src/ModelTree.cpp
	libraries/models/src/ModelTree.h
	libraries/models/src/ModelTreeElement.cpp
	libraries/networking/src/PacketHeaders.h
	libraries/octree/src/OctreeEditPacketSender.cpp
	libraries/octree/src/OctreeEditPacketSender.h
2014-08-04 12:01:23 -07:00
Stephen Birarda
e846fd24f7 fix an order mistake in DS handling HTTP requests 2014-07-31 15:23:15 -07:00
Stephen Birarda
f0e7bf0462 allow assignments to pull script without session cookie 2014-07-31 15:13:33 -07:00
ZappoMan
77e1867b11 Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
Conflicts:
	assignment-client/src/Agent.cpp
	assignment-client/src/Agent.h
	examples/editModels.js
	interface/src/Application.h
2014-07-31 10:34:23 -07:00
Stephen Birarda
453c37f4b9 Merge branch 'master' of https://github.com/highfidelity/hifi into domain-server-auth 2014-07-31 10:05:40 -07:00
Brad Hefta-Gaub
d4d4069f11 Merge pull request #3225 from birarda/master
cmake file cleanup to suppress warnings on cmake 3.0
2014-07-30 19:20:18 -07:00
Stephen Birarda
04effabe48 Merge branch 'master' into domain-server-auth 2014-07-30 17:14:03 -07:00
wangyix
daeb2a898d added staticDesiredJitterBufferFrames feature; AudioMixer crashing
moved some callbacks from Application::updateAvatar() to
Application::update()
2014-07-30 15:35:40 -07:00
Stephen Birarda
2796f71419 library cleanup to suppress warnings on cmake 3.0 2014-07-30 15:06:15 -07:00
wangyix
ecfd5c2757 default max frames over desired changed to 10 2014-07-29 17:37:59 -07:00
Stephen Birarda
9dbe74b02f parse voxel costs to the DomainHandler object 2014-07-29 17:22:17 -07:00
Stephen Birarda
5fd7a11c6b rename the voxel cost settings 2014-07-29 16:38:07 -07:00
wangyix
d49970d010 maxFramesOverDesired added; settable from domain page and preferences 2014-07-29 15:57:32 -07:00
Stephen Birarda
ef5db5321d make voxel charges affect agents 2014-07-29 09:46:59 -07:00
Stephen Birarda
dbf41c8a42 allow domain-server to serve settings publicly, fix retry in DomainHandler 2014-07-28 14:56:26 -07:00
ZappoMan
805a88b73b Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
Conflicts:
	examples/editModels.js
	interface/src/entities/EntityTreeRenderer.h
	libraries/models/src/ModelsScriptingInterface.cpp
	libraries/script-engine/src/ScriptEngine.cpp
2014-07-28 13:39:35 -07:00
Stephen Birarda
005a3c7c12 persist and recall domain-server web sessions from ini settings 2014-07-24 17:17:57 -07:00
Stephen Birarda
2e5dc2320d don't flip order on node socket, HifiSockAddr is handling 2014-07-24 11:09:09 -07:00
Stephen Birarda
74d17a094f tweaks to string default handling in DomainServerSettingsManager 2014-07-23 11:47:56 -07:00
Stephen Birarda
ebf5379275 default voxel costs to free, add a wallet ID for voxel change payments 2014-07-23 11:13:12 -07:00
Stephen Birarda
1a13fbb437 add a setting section for voxel costs 2014-07-23 10:54:55 -07:00
Stephen Birarda
8082e2f88b allow a user to be let into domain-server based on role 2014-07-21 17:41:22 -07:00
Stephen Birarda
f78a1f7033 hook domain-server to user DomainServerWebSessionData class 2014-07-21 17:32:38 -07:00
Stephen Birarda
e75ed2c4fa add a class to hold web session data 2014-07-21 17:23:57 -07:00
Stephen Birarda
f45a509508 initial hook-in of OAuth authentication for DS web pages 2014-07-21 16:54:27 -07:00
Stephen Birarda
a77e49d2ab add back missing colon for node port 2014-07-21 10:47:07 -07:00
Stephen Birarda
624bb33b1d display the node's username in underscore template 2014-07-21 10:34:12 -07:00
Stephen Birarda
d007079617 associate username with agent nodes in domain-server 2014-07-21 10:30:11 -07:00
Stephen Birarda
74a107f9f4 initial rev of SignedWalletTransaction that creates a message 2014-07-16 12:26:24 -07:00
ZappoMan
ec0c350f60 Merge branch 'master' of https://github.com/worklist/hifi into virtualEntities
Conflicts:
	interface/src/Application.cpp
	interface/src/DatagramProcessor.cpp
	libraries/script-engine/src/ScriptEngine.cpp
2014-07-03 14:20:40 -07:00
Stephen Birarda
ef9bb85f8a fix so domain-server doesn't open missing config file 2014-07-03 11:16:01 -07:00
Atlante45
36fb530594 Switched DomainServer to NetworkAccessManager 2014-07-02 10:26:38 -07:00
ZappoMan
865566414c Merge branch 'master' of https://github.com/worklist/hifi into renameModelsToEntities
Conflicts:
	interface/src/entities/EntityTreeRenderer.cpp
	libraries/entities/src/EntityItem.h
	libraries/models/src/ModelItem.cpp
	libraries/models/src/ModelTree.cpp
	libraries/models/src/ModelTreeElement.cpp
	libraries/models/src/ModelsScriptingInterface.cpp
	tests/octree/CMakeLists.txt
	tests/octree/src/ModelTests.cpp
2014-07-01 16:32:47 -07:00
Stephen Birarda
8edc4bf9d1 add HTTPS request debugged to domain-server 2014-06-27 10:38:39 -07:00
Stephen Birarda
3ae46bc60d switch audio-mixer to pull settings from domain-server via JSON request 2014-06-26 17:32:56 -07:00
Stephen Birarda
95d266b305 initial setup of settings request from domain-server 2014-06-26 16:55:22 -07:00
ZappoMan
ccc9eabd33 first cut at renaming Models to Entities 2014-06-26 16:39:52 -07:00
Stephen Birarda
731690e358 add querying for settings that affect a specific type 2014-06-26 16:29:44 -07:00
Stephen Birarda
ab50432ead use underscorejs templating for queued assignments 2014-06-26 15:45:31 -07:00
Stephen Birarda
e56f4aba0a use underscorejs for nodes table template 2014-06-26 15:40:10 -07:00
Stephen Birarda
5cd2dc594f only post changed values to settings.json, fix for bool values 2014-06-26 08:45:12 -07:00
Stephen Birarda
13169fa664 replace handlebars with underscore for templating 2014-06-25 16:35:44 -07:00
Stephen Birarda
4188a4eab1 change unattenuated zone placeholder and offer method to grab JSON settings 2014-06-25 14:16:24 -07:00
Stephen Birarda
6519d4028a populate the settings page correctly with existing values 2014-06-25 13:55:32 -07:00
Stephen Birarda
f8dccad6ec enable persisting of posted settings to a JSON file 2014-06-25 11:20:09 -07:00
Stephen Birarda
11f23ca6f6 add POSTing of settings to DS via form2js 2014-06-24 15:56:53 -07:00
Stephen Birarda
cf0e1ab1a9 finish up handlebars template for settings 2014-06-24 14:24:56 -07:00
Stephen Birarda
afe2e57701 add a settings page to DS that uses handlebars template library 2014-06-24 12:33:40 -07:00
Andrew Meadows
3f36325642 remove warnings about signed/unsigned comparison 2014-06-17 11:59:37 -07:00
John Grosen
47a88a2713 Updated AssignmentClient to use HifiConfigVariantMap...
...and also updated DomainServer to appropriately use boolean options
2014-06-12 17:08:23 -07:00
Stephen Birarda
ce485c48b8 make scripted assignments passed in DS config static 2014-05-27 15:23:10 -07:00
Stephen Birarda
714e29c887 fix credit amount in window title 2014-05-23 17:37:36 -07:00
Stephen Birarda
45ab8145a4 fix another implicit float cast 2014-05-23 16:22:08 -07:00
Stephen Birarda
831b0faa20 fix a mistyped constant 2014-05-23 16:15:11 -07:00
Stephen Birarda
1b00cda068 don't use powf for credit conversions 2014-05-23 16:12:34 -07:00
Stephen Birarda
15a8272286 fix domain-server pending credits to actually be in credits 2014-05-23 15:43:02 -07:00
Stephen Birarda
34eb0f9f43 make transaction amounts and balances signed 64-bit 2014-05-23 15:34:34 -07:00
Stephen Birarda
e7e19e8714 fix a comment in script handling 2014-05-23 12:37:27 -07:00
Stephen Birarda
7e78fc788a fix double return false 2014-05-23 12:35:16 -07:00
Stephen Birarda
f4292fd29c handle serving of scripts at temp unique UUIDs 2014-05-23 12:33:39 -07:00
Stephen Birarda
6d500d64d1 fix floats that aren't actually floats 2014-05-22 17:12:22 -07:00
Stephen Birarda
fc9d850c40 output when pay-for-assignments is on 2014-05-22 15:33:06 -07:00
Stephen Birarda
40c59a3589 fix rate of payment for assignments 2014-05-22 15:10:41 -07:00
Stephen Birarda
e3ac7c5eec rename assignment payment method for clarity 2014-05-21 12:07:23 -07:00
Stephen Birarda
98d1146e90 rename the pay for assignments option 2014-05-21 11:04:00 -07:00
Stephen Birarda
b7727f0b16 require a flag to enable payment to assigned nodes 2014-05-21 11:02:02 -07:00
Stephen Birarda
1dddabb691 send and confirm transactions to assigned nodes from DS 2014-05-21 10:58:41 -07:00
Stephen Birarda
908eb5cc4f use OAuth provider URL for transaction login 2014-05-21 10:04:48 -07:00
Stephen Birarda
981f9df6b3 add option to pass data server username and password to DS 2014-05-21 09:53:09 -07:00
Stephen Birarda
ee67c64b76 stub sending of transactions to server 2014-05-21 09:26:17 -07:00
Stephen Birarda
5b3b19011e display pending credits in DS web page 2014-05-20 17:04:41 -07:00
Stephen Birarda
99a3fde8fa accumulate credits to pay nodes, return in assignments JSON 2014-05-20 16:57:19 -07:00
Stephen Birarda
8fb85110ac add a timer to initiate payment to assigned nodes 2014-05-20 15:59:00 -07:00
Stephen Birarda
072343ce79 associate assignment wallet UUID with node via DomainServerNodeData 2014-05-20 15:50:09 -07:00
Stephen Birarda
b42e005cdb add pending assignment purgatory for assignees 2014-05-20 15:28:45 -07:00
Stephen Birarda
8a1fdf3486 pass wallet UUID from AC to DS, cleanup noisy timer 2014-05-20 14:38:51 -07:00
Stephen Birarda
a9c2e3fe71 put back ssize_t definition 2014-05-20 11:56:06 -07:00
Stephen Birarda
2ef822d19d remove more gnutls includes 2014-05-20 11:26:22 -07:00
Stephen Birarda
f22aaf21d2 remove GnuTLS include across repo 2014-05-20 10:56:34 -07:00
Stephen Birarda
e3dd6509d8 remove dependency on GnuTLS for later replacement with OpenSSL 2014-05-20 10:47:11 -07:00
Stephen Birarda
0e7615391c don't look for GnuTLS from cmake 2014-05-20 10:35:04 -07:00
Stephen Birarda
72dd26acbe only require OAuth authentication with a list of allowed roles 2014-05-02 10:47:59 -07:00
Stephen Birarda
aa2931d9bb resolve conflicts on merge with upstream/master 2014-05-02 10:39:17 -07:00
Stephen Birarda
709bcdb148 handle interface client connection to DS with user roles 2014-05-01 16:18:07 -07:00
Stephen Birarda
b14d543701 retreive user profile and enumerate roles 2014-05-01 15:46:09 -07:00
Stephen Birarda
a49668031d send a request for an access token after receiving auth code 2014-05-01 14:49:58 -07:00
Stephen Birarda
a826f3817b fix assignment json for fulfilled assignments 2014-05-01 13:56:45 -07:00
Stephen Birarda
7a1aa7ec89 keep track of all assignments to stop double agents 2014-05-01 13:50:39 -07:00
Stephen Birarda
d942054015 cleanup re-display of OAuthWebView 2014-05-01 12:44:42 -07:00
Stephen Birarda
56c24ce8b7 present QWebView for OAuth authorization in interface 2014-05-01 11:09:35 -07:00
Stephen Birarda
2f0e311a99 return OAuth URL to interface clients when OAuth enabled 2014-05-01 10:19:05 -07:00
ZappoMan
aac42058ac first cut at modelserver 2014-04-30 09:25:52 -07:00
Stephen Birarda
1c2032790a allow passing of OAuth client secret to DS on command-line 2014-04-25 17:02:19 -07:00
Stephen Birarda
86f3cf2a75 allow passing of oauth info to DS 2014-04-25 16:39:45 -07:00
Stephen Birarda
e50e4d33be Merge branch 'master' of https://github.com/highfidelity/hifi into oauth-ds 2014-04-25 16:10:55 -07:00
Atlante45
8b4a910040 Fix timestamp timer not fired 2014-04-25 12:19:18 -07:00
Stephen Birarda
c26fc7a838 pull OAuth code from URL in domain-server 2014-04-24 15:05:41 -07:00
Stephen Birarda
4a68c2e9c4 allow DS to handle incoming HTTPS requests 2014-04-24 14:58:08 -07:00
Stephen Birarda
96de0c1af1 setup the domain-server HTTPS server 2014-04-24 14:13:17 -07:00
Stephen Birarda
260966915a add HTTPS versions of webserver classes 2014-04-24 14:06:24 -07:00