Stephen Birarda
7330e5255d
handle path query response from DS in NL/AM
2015-05-12 13:48:41 -07:00
Stephen Birarda
993984134c
add the path to DS response for path query
2015-05-12 12:48:01 -07:00
Stephen Birarda
0562fee82a
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-paths
2015-05-12 12:39:05 -07:00
Stephen Birarda
e0ccc986b1
add a method to DS to respond to path query
2015-05-12 12:29:09 -07:00
Stephen Birarda
3daabd262b
remove debugs from DSSettingsManager
2015-05-12 11:24:47 -07:00
Stephen Birarda
c49d73ea35
handle root key settings when updating
2015-05-12 10:25:11 -07:00
Stephen Birarda
542ce944ef
add paths, handling for non-grouped values
2015-05-11 17:44:35 -07:00
Stephen Birarda
55338a2b0f
refuse to update a setting if it is gui only
2015-05-11 13:49:35 -07:00
Stephen Birarda
5afb0792dc
don't return gui only values from DS settings json
2015-05-11 13:44:35 -07:00
Stephen Birarda
8c6715e4fc
resolve conflicts on merge with upstream/master
2015-05-11 11:10:22 -07:00
Stephen Birarda
ddb52348bc
don't force use of Settings to all QCoreApplication
2015-05-08 16:24:39 -07:00
Stephen Birarda
e3acf861ff
fix for unverified datagram writes
2015-05-07 14:07:14 -07:00
Stephen Birarda
6b3cf1ba4a
remove dependency of PacketHeaders on NodeList
2015-05-05 12:19:42 -07:00
Stephen Birarda
99bddcc102
insert usernames to JSONBreakableMarshal interpolate map
2015-05-01 15:45:53 -07:00
Stephen Birarda
5936073425
get avatar-mixer settings from domain-server
2015-04-30 14:55:53 -07:00
Stephen Birarda
b55889597d
complete unmarshal of breakable json using QVariant
2015-04-29 15:03:49 -07:00
Stephen Birarda
24576574ae
add breaking of marshaled buffer to QStringList
2015-04-29 11:20:07 -07:00
Seth Alves
e6da5ea711
formatting
2015-04-28 09:28:42 -07:00
Seth Alves
49783c1550
formatting
2015-04-28 09:28:17 -07:00
Seth Alves
7aa2013473
formatting
2015-04-28 09:26:39 -07:00
Seth Alves
436fe03d10
formatting
2015-04-28 09:26:20 -07:00
Seth Alves
30e78a37cd
formatting
2015-04-28 09:26:03 -07:00
Seth Alves
8db46d859e
formatting
2015-04-28 09:19:45 -07:00
Seth Alves
38ba0ab352
remove useless added code
2015-04-28 09:18:00 -07:00
Seth Alves
32f91a86e7
remove some unneeded code
2015-04-27 15:43:47 -07:00
Seth Alves
2f36cd0fb0
make it so assignment-clients runnings scripts can rez entities
2015-04-27 15:30:17 -07:00
Seth Alves
0fb1a83e3b
quiet compiler, remove some trailing control-Ms
2015-04-25 09:20:00 -07:00
Stephen Birarda
f94fcdab7b
print if DS is using an access token from env
2015-04-17 10:44:18 -07:00
Stephen Birarda
1d5f1807f7
Merge pull request #4562 from sethalves/editors-are-rezzers
...
add a bool value to Node which indicates if it is allowed to rez new ent...
2015-03-31 18:53:29 -07:00
Seth Alves
4e83301c65
add a bool value to Node which indicates if it is allowed to rez new entities
2015-03-31 18:27:46 -07:00
Stephen Birarda
61806935bb
add a networking constants class with metaverse URL
2015-03-31 16:40:21 -07:00
Stephen Birarda
4bf8e9f625
change AccountManager request API, leverage in networking and DS
2015-03-25 12:04:04 -07:00
Seth Alves
baa8e9c86f
remove uneeded #includes
2015-03-19 13:05:30 -07:00
Seth Alves
817a6130ef
return a reason as part of the domain server's connection-denied packet. Don't apply max-capacity check to users in the editors list
2015-03-19 13:01:57 -07:00
Seth Alves
4412ba916e
don't lock out someone from localhost, even if the maximum number of users are connected
2015-03-18 15:17:25 -07:00
Seth Alves
610607e8e6
optionally limit number of avatars that can connect
2015-03-18 14:08:53 -07:00
Seth Alves
4bae19015c
add (thus far unused) domain-server setting for maximum user capacity
2015-03-17 15:52:23 -07:00
Stephen Birarda
7bfc747748
Revert "Revert "NOT MERGEABLE: graceful cleanup on Application dtor for NodeList""
...
This reverts commit 9269b2a0b2
.
2015-03-12 12:13:32 -07:00
Stephen Birarda
9269b2a0b2
Revert "NOT MERGEABLE: graceful cleanup on Application dtor for NodeList"
2015-03-12 11:28:07 -07:00
Stephen Birarda
9f754e40d0
move all silent node timers into LimitedNodeList
2015-03-11 16:59:06 -07:00
ZappoMan
05640290da
don't add old metavoxels assignment to default assignments
2015-03-04 14:41:28 -08:00
samcake
6b1f42df83
Merge pull request #4366 from ZappoMan/removeMetavoxels
...
remove metavoxels
2015-03-03 15:50:53 -08:00
Stephen Birarda
eb8e8e9a62
Merge pull request #4356 from sethalves/domain-server-http-port-in-shmem
...
pass more localhost ports via shared memory
2015-03-03 10:05:24 -08:00
ZappoMan
5c3c94a618
remove metavoxels
2015-03-02 17:21:43 -08:00
Seth Alves
bb7b132b78
Add a way to indicate that a specific message of a certain form should only be printed once. Different messages that match the same form will each be printed once.
2015-03-02 14:18:26 -08:00
Seth Alves
f54f41fcf0
fix typo
2015-02-27 11:36:45 -08:00
Seth Alves
01cac7445a
add suppressions for log-spam caused by idle assignment-client
2015-02-27 10:58:04 -08:00
Seth Alves
1a4808857e
put local domain server's http port into shared memeory
2015-02-25 11:30:54 -08:00
Seth Alves
89ebb45c03
Revert "Merge pull request #4332 from birarda/master"
...
This reverts commit 3230857b0d
, reversing
changes made to 1b669af79d
.
2015-02-24 17:09:05 -08:00
Stephen Birarda
09ffcbb2e8
Revert "Merge pull request #4324 from sethalves/assignment-client-keep-a-spare"
...
This reverts commit 087e2babde
, reversing
changes made to 5202d2136a
.
2015-02-24 12:30:40 -08:00
Seth Alves
4bba4fc387
cleanups
2015-02-20 13:44:37 -08:00
Seth Alves
4b3183d820
AssignmentClients accept an id on the command-line.
...
AssignmentClientMonitor now has a NodeList. It stores its local port
in shared memory, like the DomainServer does. As it spawns children,
it addes Nodes to the NodeList for each one. The children send status
updates to the Monitor. The Monitor will notice if there are no
spares and fork another child.
2015-02-19 17:44:06 -08:00
Brad Hefta-Gaub
390d2be48f
Merge pull request #4189 from birarda/android
...
add the gvr-interface target for GearVR
2015-02-06 14:07:28 -08:00
Seth Alves
60a4f48985
rather than a list of allowed editors, a list of allowed lockers/unlockers
2015-02-06 09:14:40 -08:00
Seth Alves
6bad141004
formatting
2015-02-05 15:42:42 -08:00
Seth Alves
485785be7f
Allowed Editors setting in DomainServer; domain-list wire protocol includes "you can edit" boolean after uuid; entity server checks canEdit flag of node who sends edit requests; interface does not attempt to do edits if DomainServer sent false for "you can edit"
2015-02-05 15:37:14 -08:00
Stephen Birarda
11f3161029
resolve conflicts on merge with upstream/master
2015-02-04 10:38:05 -08:00
Atlante45
cc58cb0f03
Update domain-server and Application setting handles
2015-02-02 20:06:13 -08:00
Stephen Birarda
bd0552618f
resolve conflicts on merge with upstream/master
2015-02-02 17:10:13 -08:00
David Rowe
5474c0634e
Merge branch 'master' into 20277
...
Conflicts:
libraries/script-engine/src/ScriptEngine.cpp
2015-01-30 13:49:45 -08:00
Atlante45
4ef87b9919
Merge branch 'master' of https://github.com/highfidelity/hifi into android
...
Conflicts:
interface/src/Application.cpp
interface/src/Application.h
interface/src/DatagramProcessor.cpp
interface/src/Menu.cpp
interface/src/ui/PreferencesDialog.cpp
interface/src/ui/Stats.cpp
libraries/audio-client/src/AudioClient.cpp
libraries/audio-client/src/AudioClient.h
2015-01-28 13:13:32 -08:00
David Rowe
812fbc58fb
Use custom User-Agent string
2015-01-23 19:13:29 -08:00
Atlante45
6a00dcbf0a
More switches to new Settings
2015-01-20 00:30:29 -08:00
Atlante45
cdb0c22207
interface/ui uses new settings
2015-01-19 22:49:27 -08:00
Atlante45
c1e195d17b
Remove load/saveSettings from Menu/Application
...
Tweaked scanMenuBar too
2015-01-19 16:24:58 -08:00
Stephen Birarda
10be0ee984
resolve conflicts on merge with upstream master
2015-01-19 10:26:56 -08:00
Atlante45
967028e5cf
Removed more QSettings references
2015-01-18 19:29:27 -08:00
Atlante45
1399de52a5
Only use limited nodelist in DS
2015-01-14 14:24:54 -08:00
Atlante45
48f1cbe644
Fixed QSharedPointer in connect()
2015-01-13 20:54:15 -08:00
Atlante45
2a82ff9768
Merge branch 'master' of https://github.com/highfidelity/hifi into applications_diet_cpp11
...
Conflicts:
assignment-client/src/voxels/VoxelServer.cpp
interface/src/Application.cpp
interface/src/Audio.cpp
interface/src/DatagramProcessor.cpp
interface/src/Menu.cpp
interface/src/Util.cpp
interface/src/avatar/MyAvatar.cpp
interface/src/ui/ApplicationOverlay.cpp
interface/src/ui/PreferencesDialog.cpp
libraries/networking/src/NodeList.cpp
libraries/shared/src/DependencyManager.h
2015-01-13 11:03:14 -08:00
Stephen Birarda
d30490c760
resolve conflicts on merge with upstream master
2015-01-12 09:25:37 -08:00
Atlante45
be050b0469
Added missing deletes
2015-01-05 15:13:07 -08:00
ZappoMan
5cef7d0e9d
more voxelEctomy
2014-12-30 20:24:27 -08:00
ZappoMan
27d8ccb51e
more voxelEctomy
2014-12-30 19:58:04 -08:00
Atlante45
327daacecd
Merge branch 'master' of https://github.com/highfidelity/hifi into applications_diet_cpp11
...
Conflicts:
interface/src/Application.cpp
interface/src/devices/OculusManager.cpp
libraries/networking/src/NodeList.cpp
2014-12-22 13:34:18 -08:00
Stephen Birarda
66b1886b44
don't add the unused assignment type to DS queue
2014-12-19 12:33:26 -08:00
Atlante45
296c0025de
Switched to auto and changed macro
2014-12-18 15:42:38 -08:00
Atlante45
aa0998dc7d
Moved LimitedNodeList into DM
2014-12-18 10:32:34 -08:00
Atlante45
0bd9ed469e
Changed NodeList::getInstance() calls to use the DM
2014-12-17 15:28:25 -08:00
Atlante45
fcb8bf6425
Merge branch 'master' of https://github.com/highfidelity/hifi into applications_diet_cpp11
2014-12-17 10:28:17 -08:00
Stephen Birarda
737741c13b
Merge branch 'master' of https://github.com/highfidelity/hifi into cuckoo
2014-12-17 09:23:42 -08:00
Stephen Birarda
77bc00e410
a simple model for persistent scripts in domain-server
2014-12-16 18:34:39 -08:00
Stephen Birarda
8549e9cb53
resolve conflicts on merge with upstream master
2014-12-15 09:36:17 -08:00
Stephen Birarda
f58d21d6f0
have ShutdownEventListener handle WM_CLOSE or SIGTERM
2014-12-11 10:21:11 -08:00
Stephen Birarda
5c3e90f64f
resolve conflicts on merge with upstream master
2014-12-03 13:11:56 -08:00
Stephen Birarda
49a087018f
fix for delayed heartbeats, late socket lookup
2014-12-03 08:22:50 -08:00
Stephen Birarda
8449575fa2
fix for ice-server heartbeat without an access token
2014-12-01 09:25:21 -08:00
Stephen Birarda
59432e8d29
complete sharing of local domain-server port to local AC
2014-11-30 17:54:10 -08:00
Stephen Birarda
fed7d789f6
have the domain-server write its local port into shared memory
2014-11-30 17:29:18 -08:00
Stephen Birarda
dff5695965
have domain server report its ID at /id
2014-11-21 16:20:44 -08:00
Stephen Birarda
8a69f0de61
test for android figuring out about audio-mixer
2014-11-18 17:36:53 -08:00
Stephen Birarda
996c76c723
repairs for node teardown on domain dissappear or node disconnect
2014-11-06 16:05:01 -08:00
Stephen Birarda
e92376cf64
distinguish between eachNode and eachNodeBreakable
2014-11-06 13:41:55 -08:00
Stephen Birarda
270823be43
update domain-server to leverage intel tbb hash
2014-11-06 13:39:15 -08:00
Stephen Birarda
8a72cdd59d
leverage new libcuckoo hash outside LimitedNodeList
2014-11-05 15:09:54 -08:00
Stephen Birarda
d671dec61b
fix for ice server sock addr in domain-server
2014-11-04 13:21:48 -08:00
Stephen Birarda
96dd1eaf76
report restricted access state from domain-server in heartbeat
2014-11-03 16:57:10 -08:00
Stephen Birarda
0348251cc1
allow case insensitivity for allowed users in domain-server
2014-11-03 15:32:45 -08:00
Stephen Birarda
2250cdfcc2
have the domain-server unverifiably heartbeat the number of connected users
2014-11-03 14:50:45 -08:00
Stephen Birarda
22f4e8ec70
cleanup heartbeat method names
2014-11-03 14:37:56 -08:00
Stephen Birarda
eb856095a9
fix the domain server heartbeat timer
2014-11-03 12:49:24 -08:00
Stephen Birarda
d50a8f6309
send a heartbeat to data server every 15s
2014-11-03 12:40:56 -08:00
Stephen Birarda
e53ad09b3f
rename the automatic networking update method to heartbeat
2014-11-03 12:24:17 -08:00
Stephen Birarda
d3bbd251db
move Logging to LogHandler
2014-10-28 13:59:23 -07:00
AndrewMeadows
415c7375cb
Merge pull request #3614 from ZappoMan/removeParticles
...
Remove particles
2014-10-17 15:53:19 -07:00
Stephen Birarda
c89daa30da
fix another dumb conditional mistake in domain-server
2014-10-17 11:07:02 -07:00
Stephen Birarda
9a842e2202
flip domain-server local connect conditional
2014-10-17 10:52:36 -07:00
Stephen Birarda
d00e11541e
fix for pub key format returned to data-server
2014-10-17 09:39:04 -07:00
ZappoMan
fc507850be
Merge branch 'master' of https://github.com/highfidelity/hifi into removeParticles
2014-10-16 20:36:28 -07:00
Stephen Birarda
7bbaaf6b78
cleanup some username signature debug, fix interest list pull
2014-10-16 11:54:55 -07:00
Stephen Birarda
9a3ba972e1
preload the public keys for allowed users to allow immediate connection
2014-10-15 10:21:11 -07:00
Stephen Birarda
1613b16a93
remove another extra space
2014-10-15 09:51:52 -07:00
Stephen Birarda
3800389eb4
fix a bad equality check on QJsonObject
2014-10-15 09:51:40 -07:00
Stephen Birarda
4d8e44afd1
remove an extra space
2014-10-15 09:19:02 -07:00
Stephen Birarda
50f27d3e16
handle verification of username signature during connection
2014-10-14 18:02:22 -07:00
Stephen Birarda
e3ba8cddbb
store returned public keys in domain-server
2014-10-14 16:35:07 -07:00
Stephen Birarda
e9bcc90166
handle remaining conversions for AccountManager passing QNetworkReply
2014-10-14 16:16:54 -07:00
Stephen Birarda
c4b0dc9dcc
initial handling of username signature in domain-server
2014-10-14 16:03:35 -07:00
Stephen Birarda
cca8b68d2e
update location and profile paths for new format
2014-10-14 10:40:58 -07:00
ZappoMan
c36bcf2d7e
removing particles
2014-10-13 14:11:11 -07:00
Stephen Birarda
f637f5a4a6
always allow connection from localhost user
2014-10-09 17:07:32 -07:00
Stephen Birarda
0d2b1e361c
have domain-server reply back with username request is allowed_users is not empty
2014-10-09 16:29:52 -07:00
Stephen Birarda
b6a58925ed
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-tunnel
2014-10-09 15:29:54 -07:00
Stephen Birarda
5bb0c4e8fb
remove an extra debug of posted settings in DSSM
2014-10-09 11:32:09 -07:00
Stephen Birarda
51d908008c
handle array posting in domain server settings manager
2014-10-09 11:00:58 -07:00
Stephen Birarda
90c73dc9e1
post an empty array to remove an array from settings
2014-10-09 09:47:53 -07:00
Stephen Birarda
1d63fc3dfa
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-tunnel
2014-10-08 14:27:12 -07:00
Stephen Birarda
b368e866fb
change oauth request packet type to username request
2014-10-08 14:26:23 -07:00
Atlante45
9a87e764e2
Merge branch 'master' of https://github.com/highfidelity/hifi into attenuation_zones
...
Conflicts:
domain-server/resources/web/js/settings.js
domain-server/src/DomainServerSettingsManager.cpp
2014-10-08 11:46:07 -07:00
Atlante45
cd67c9d456
Removed console logs
2014-10-08 11:40:43 -07:00
Atlante45
ebfb9495dc
Made helpers private methods
2014-10-07 21:04:59 -07:00
Atlante45
92be06bb84
Reordered a few operations
2014-10-07 18:12:56 -07:00
Atlante45
2a5292732c
DomainServerSettings handles any types of objects
2014-10-07 18:01:32 -07:00
Atlante45
8be5c18412
Get table data over to DS
2014-10-06 17:52:41 -07:00
Stephen Birarda
78920234bb
handle changed domain-server port on start
2014-10-06 14:49:15 -07:00
Stephen Birarda
14cd044359
handle custom local UDP port for domain-server from webpage
2014-10-06 14:41:16 -07:00
Stephen Birarda
3cd71a33c9
disable ephemeral port for DS until ACs can discover
2014-10-06 12:28:44 -07:00
Stephen Birarda
319cf34b83
use an ephemeral port when using auto-networking for domain-server
2014-10-06 12:24:18 -07:00
Stephen Birarda
253fe53571
cleanup a couple of debug lines
2014-10-06 12:24:12 -07:00
Stephen Birarda
484c0d30cb
don't require refresh of NetworkAccessManager, should handle restarts
2014-10-06 09:54:52 -07:00
Stephen Birarda
89cc7c7b0d
add an optional forced reset of NetworkAccessManager
2014-10-06 09:35:44 -07:00
Stephen Birarda
0459254e3f
fix connection to slot for local addr update, refresh AcctManager after restart
2014-10-06 09:24:48 -07:00
Stephen Birarda
b61e659382
send an ICE heartbeat anytime the domain-server local socket changes
2014-10-06 09:18:50 -07:00
Stephen Birarda
8ce474d3e1
make the ice server const scoped to remove warning
2014-10-03 15:29:16 -07:00
Stephen Birarda
4e0bb94cdd
fix for double ICE connect attempts from domain-server
2014-10-03 15:25:47 -07:00
Stephen Birarda
f673ab316a
tell the data-server about auto networking change to full
2014-10-03 15:06:27 -07:00
Stephen Birarda
52ec949aac
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-tunnel
2014-10-03 11:26:23 -07:00
Stephen Birarda
d02795cc85
have data-web respond with ice server hostname to use for connection
2014-10-03 10:48:09 -07:00
Stephen Birarda
cb6e420392
fix for peer addition from ice-server
2014-10-03 09:50:58 -07:00
Stephen Birarda
d9e0c91e02
remove a peer in domain-server after max connection attempts
2014-10-03 09:45:44 -07:00
Stephen Birarda
05cf0142e9
fix for default value search
2014-10-03 09:19:51 -07:00
Stephen Birarda
bd68126b19
fix for values without defaults
2014-10-03 09:14:23 -07:00
Stephen Birarda
720f8ecae8
handle case where access_token is empty
2014-10-03 09:08:27 -07:00
Stephen Birarda
1a1ae43bc7
send back to the network peer on established sock addr if it exists
2014-10-03 09:02:18 -07:00
Stephen Birarda
49d081088a
mode nodes to connected hash upon ping reply receipt
2014-10-03 08:58:03 -07:00
Stephen Birarda
15cc08da97
initial handling of ping replies in domain-server
2014-10-02 17:21:11 -07:00
Stephen Birarda
0d4ef4aaca
ping connecting ICE peers from domain-server
2014-10-02 17:18:05 -07:00
Stephen Birarda
63877b0756
handle domain connection via ICE from NodeList
2014-10-02 16:51:12 -07:00
Stephen Birarda
c7aaf0ce4a
handle ping out from node requiring ice connection to domain
2014-10-02 16:24:46 -07:00
Stephen Birarda
6425276eb0
have domain-server using full networking heartbeat with ice-server
2014-10-02 14:33:39 -07:00
Stephen Birarda
9baf983d07
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-tunnel
2014-10-02 10:47:54 -07:00
Stephen Birarda
4749fdb0ba
allow calls to HTTPManager to skip the subHandler and ask for direct processing
2014-10-02 10:38:46 -07:00
Stephen Birarda
157fdf6afa
cleanup debug for script path
2014-10-02 10:17:31 -07:00
Stephen Birarda
89907136fa
one more debug line for script redirect
2014-10-02 10:15:12 -07:00
Stephen Birarda
b6e0b08a29
add debug to domain server if script not saved
2014-10-02 10:07:02 -07:00
Stephen Birarda
e88b3311ad
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-tunnel
2014-10-02 09:20:08 -07:00
Stephen Birarda
d6572c3e2e
handle automatic networking changes with data-server
2014-10-01 16:38:44 -07:00
Stephen Birarda
15156519b3
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-tunnel
2014-10-01 16:19:16 -07:00
Stephen Birarda
3292808342
update domain network address updating for IP auto networking
2014-10-01 16:19:10 -07:00
Stephen Birarda
d5b0904d7a
handle new automatic networking option in domain-server
2014-10-01 12:08:19 -07:00
Stephen Birarda
a0487e0a57
send public and local sockets to data-server in new format
2014-10-01 10:42:14 -07:00
Stephen Birarda
0174a985ee
add a domain-server scripts folder that is ignored for clean symlink
2014-10-01 09:56:13 -07:00
Stephen Birarda
fed7dad2b6
use an auto_ptr to be able to reset the AccountManager
2014-09-30 14:36:32 -07:00
Stephen Birarda
3969c8bfe0
don't allow a username and password for domain auth, require access token
2014-09-30 12:23:04 -07:00
Stephen Birarda
7e184d67e5
handle transition from dashed JSON settings keys to underscore
2014-09-30 09:49:34 -07:00
Stephen Birarda
68a70cc914
don't use dashes in settings JSON keys
2014-09-30 09:40:54 -07:00
Stephen Birarda
bd4a32551b
fix for settings save without organization
2014-09-29 10:09:33 -07:00
Stephen Birarda
ec0805acc5
add locked settings to json return for auth'ed settings
2014-09-29 09:34:04 -07:00
Stephen Birarda
5e2870ac5f
require a distinction between master config and user config
2014-09-29 09:30:08 -07:00
Stephen Birarda
ae542419d1
fix for static assignments from queue
2014-09-26 16:36:18 -07:00
Stephen Birarda
9e02a36d3d
fix for domain-server allowed roles
2014-09-26 16:23:57 -07:00
Stephen Birarda
d389f13e1b
fix for role lookup in domain-server
2014-09-26 16:21:12 -07:00
Stephen Birarda
e8c3fa3cf1
use ID from new domain settings, don't disable save button
2014-09-26 14:39:50 -07:00
Stephen Birarda
96627a8f97
allow authenticated access to full domain-server settings
2014-09-26 12:56:35 -07:00
Stephen Birarda
94f30fe4d9
handle password setting by not converting to double
2014-09-26 12:20:12 -07:00
Stephen Birarda
21809cc9df
fix http username with no password
2014-09-26 12:09:29 -07:00
Stephen Birarda
60258e4989
remove the save requires restart signal
2014-09-26 11:26:38 -07:00
Stephen Birarda
3c71d4d96e
add ability for domain-server to restart after setting save
2014-09-26 11:26:21 -07:00
Stephen Birarda
954fbc2017
use DomainServerSettingsManager to handle simulation settings and config
2014-09-26 11:06:05 -07:00
Stephen Birarda
ba929626c2
fix for undefined placeholder values
2014-09-25 18:25:16 -07:00
Stephen Birarda
33a411b895
combine settings and setup into single tab
2014-09-25 16:32:09 -07:00
Stephen Birarda
2e176589b7
initial use of a json file to describe setup options
2014-09-25 15:12:37 -07:00
Stephen Birarda
cc79254a41
have domain server make sure access token is present before IP update
2014-09-17 09:40:48 -07:00
Stephen Birarda
885030a10c
handle receipt of new public socket and propogation to data-server
2014-09-16 12:37:22 -07:00
Stephen Birarda
47137c72a5
groundwork for repeated dynamic IP address updating in domain-server
2014-09-16 12:09:24 -07:00
Stephen Birarda
c98b69f24f
don't comment value return, rename domain settings file
2014-09-14 09:52:10 -07:00
Stephen Birarda
d6dca84694
add back commenting out of blind values return
2014-09-14 09:46:01 -07:00
Stephen Birarda
4d80417e3c
don't rename the config file to settings so existing nodes work
2014-09-14 09:45:02 -07:00
Stephen Birarda
cb7a6a7af5
don't blindly return all values if a type is not passed
2014-09-14 09:43:55 -07:00
Stephen Birarda
ee6a90dd54
allow domain to pass down its ID from config
2014-09-10 15:13:02 -07:00
Ryan Huffman
38a14c3864
Reapply "Update assignment client to close on WM_CLOSE message on Windows"
...
This reverts commit a603453cf2
.
2014-09-05 11:19:36 -07:00
Leonardo Murillo
a603453cf2
Revert "Update assignment client to close on WM_CLOSE message on Windows"
2014-09-05 11:36:56 -06:00
AndrewMeadows
9036954d38
Merge pull request #3311 from huffman/fix-wm-close
...
Update assignment client to close on WM_CLOSE message on Windows
2014-09-03 16:43:12 -07:00
Ryan Huffman
f3efbb35f4
Remove nativeEventFilter from DomainServer
2014-09-03 07:08:51 -07:00
Ryan Huffman
76bede04aa
Move stdout/err disabling to a library class
2014-09-03 07:06:08 -07:00
Ryan Huffman
c27bee2c06
Move wm_close handling to a shared library
2014-09-03 07:05:24 -07:00
Ryan Huffman
444a974bd6
Merge branch 'master' of github.com:highfidelity/hifi into fix-wm-close
...
Conflicts:
assignment-client/src/AssignmentClient.cpp
2014-08-28 06:52:16 -07:00
Ryan Huffman
4c485a26ed
Merge branch 'fix-wm-close' of github.com:huffman/hifi into fix-wm-close
2014-08-22 15:10:23 -07:00
Ryan Huffman
fa7b2a87bf
Add WM_CLOSE support to domain server
2014-08-22 15:09:55 -07:00
Ryan Huffman
b75c3a4976
Disable stdout/err buffering on Windows for assignment client and domain server
2014-08-22 15:08:57 -07:00
ZappoMan
027b1d58cc
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
interface/src/Application.h
interface/src/entities/EntityTreeRenderer.h
interface/src/models/ModelTreeRenderer.cpp
libraries/models/src/ModelItem.h
libraries/models/src/ModelTree.h
2014-08-08 14:26:56 -07:00
Stephen Birarda
10c94023f1
handle basic authentication for domain-server admin
2014-08-04 15:25:14 -07:00
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
Stephen Birarda
9dbe74b02f
parse voxel costs to the DomainHandler object
2014-07-29 17:22:17 -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
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
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
5cd2dc594f
only post changed values to settings.json, fix for bool values
2014-06-26 08:45:12 -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
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
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
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
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
Clément Brisset
d441e6a453
Merge pull request #2717 from AndrewMeadows/inertia
...
avatar bounding capsule collision against voxels
2014-04-23 16:06:14 -07:00
Andrew Meadows
da5ac3d664
remove warning about signed/unsigned comparison
2014-04-23 08:47:25 -07:00
Atlante45
3eeb3a539d
Fixed lack of resolution in usecTimestampNow()
2014-04-22 11:48:43 -07:00
Stephen Birarda
07387a132e
fix broken DS build
2014-04-21 09:31:21 -07:00
Stephen Birarda
cc7d986398
don't make scripts statically assigned
2014-04-21 09:29:08 -07:00
Stephen Birarda
419e092858
rename matching static method in DS
2014-04-21 08:48:29 -07:00
Stephen Birarda
c9b0444310
correct re-assignment of static assignments
2014-04-21 08:47:14 -07:00
Stephen Birarda
c64ae35374
remove an extra bracket
2014-04-21 01:01:38 -07:00
Stephen Birarda
36b58b178c
have scripted assignments added via config be static
2014-04-21 01:00:56 -07:00
Stephen Birarda
e9768ca4fc
add missing pool handling to DS
2014-04-18 13:34:30 -07:00
Stephen Birarda
142932bed0
allow passing of scripted assignments to DS via parameters
2014-04-17 10:14:11 -07:00
Stephen Birarda
a25ef58247
move DTLS socket changes to LimitedNodeList
2014-04-16 11:25:35 -07:00
Stephen Birarda
55d540a0eb
fix a typo in DomainServer.cpp
2014-04-16 11:24:26 -07:00
Stephen Birarda
97e45e8fe5
re-instate connect behavior in DS so killed nodes re-connect, amend #2675
2014-04-16 10:56:33 -07:00
Stephen Birarda
1c861fbecb
resolve conflicts on merge with upstream master
2014-04-09 15:36:15 -07:00
Stephen Birarda
3fe5af1505
update boilerplate and include guards for other new files
2014-04-09 15:08:56 -07:00
Stephen Birarda
5a79079c09
fix boilerplates in new DTLS files
2014-04-09 15:03:56 -07:00
Stephen Birarda
ae4b8348a2
fix header include guards via regex
2014-04-09 12:03:17 -07:00
Stephen Birarda
6ce5a24460
missed copyright cleanups in apache header
2014-04-09 09:44:38 -07:00
Stephen Birarda
684c6b5372
run regex header replacement on all cpp files
2014-04-09 09:35:42 -07:00
Stephen Birarda
6a51df9e38
initial regex replacement of headers
2014-04-08 17:30:36 -07:00
Stephen Birarda
ea61ccff7f
add some more debugging when reading X509 cert files for DTLS
2014-04-08 14:10:04 -07:00
Stephen Birarda
e417e7670b
cleanup DomainServer debug during config parsing
2014-04-08 14:07:31 -07:00
Stephen Birarda
9ca864bb50
don't parse excluded types from config variant map
2014-04-08 14:05:26 -07:00
Stephen Birarda
9a9939c11a
repairs for assignment parsing from command line and JSON
2014-04-08 14:03:42 -07:00
Stephen Birarda
c2ff438182
add a CL + JSON settings reader
2014-04-08 13:37:07 -07:00
Stephen Birarda
080b0d7221
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-04-08 10:28:14 -07:00
Stephen Birarda
86a0b715f3
verify DTLS certificate to ensure trust before handshaking
2014-04-07 11:36:32 -07:00
Stephen Birarda
a6641aa95b
respect the DTLS MTU for domain server list sending
2014-04-07 10:48:58 -07:00
Stephen Birarda
5adcf68752
sort nodes on DS page by their uptime
2014-04-07 09:08:51 -07:00
Stephen Birarda
45d796e8f3
allow re-handshake in NodeList after domain refresh
2014-04-04 15:56:02 -07:00
Stephen Birarda
c015fdd212
leverage a DummyDTLSSession to not require cleanup of DTLSSession for cookies
2014-04-04 11:42:14 -07:00
Stephen Birarda
b40dd6a31a
say bye and de-init DTLS session from DomainServer
2014-04-04 11:17:50 -07:00
Stephen Birarda
fd8e32190e
perform cleanup of GnuTLS structures across targets
2014-04-04 11:08:53 -07:00
Stephen Birarda
e2224e0f0c
cleanup node silence timing and use for DTLS timeouts
2014-04-04 10:56:04 -07:00
Stephen Birarda
efd176f93c
complete check in and heartbeat via DTLS
2014-04-04 09:56:57 -07:00
Stephen Birarda
7b6ce77690
add processing of DTLS datagrams to domain-server
2014-04-04 09:20:40 -07:00
Stephen Birarda
62de84315e
detect handshake completion in DS and client
2014-04-02 17:56:04 -07:00
Stephen Birarda
e1cae6d295
initial handshaking for DTLS sessions between DS and clients
2014-04-02 17:29:14 -07:00
Stephen Birarda
b5b4edc999
add notion of server and client DTLSSessions
2014-04-01 16:47:45 -07:00
Stephen Birarda
ce6f845681
remove some gnutls handshake debugging
2014-04-01 14:47:30 -07:00
Stephen Birarda
0be2eb57bf
repairs to NodeList and LimitedNodeList
2014-04-01 13:56:33 -07:00
Stephen Birarda
45c6ae44a6
use a LimitedNodeList in domain-server
2014-04-01 13:33:30 -07:00
Stephen Birarda
caf2473df8
add a DTLSSession object to handle GnuTLS DTLS sessions
2014-04-01 13:08:00 -07:00
Stephen Birarda
62da4d622d
don't require an MD5 hash in non-verified packets
2014-03-31 15:36:32 -07:00
Stephen Birarda
6c08e2a407
add option for domain-server to enforce DTLS
2014-03-31 15:06:58 -07:00
Stephen Birarda
da30d21f6e
complete inital DTLS setup in domain-server
2014-03-31 14:02:11 -07:00
Stephen Birarda
dc38b27485
using GnuTLS read self-signed key and cert on DS load
2014-03-31 12:31:34 -07:00
Stephen Birarda
9ae06913a0
remove QCA which only supports DTLS v1
2014-03-31 09:45:19 -07:00
Stephen Birarda
44860a5f5a
put servers alphabetically first in node list
2014-03-28 12:01:37 -07:00
Stephen Birarda
cb617c9e17
add a button on DS admin page to kill all nodes
2014-03-26 11:37:30 -07:00
Stephen Birarda
364df16a9f
pretty up the stats table
2014-03-24 16:34:00 -07:00
Stephen Birarda
f8279c1f5b
handle query params in HTTPManager, display stats table from DS
2014-03-24 14:14:26 -07:00
Stephen Birarda
55bc9c059d
show stats for node at /nodes/UUID
2014-03-24 12:15:36 -07:00
Stephen Birarda
8f403609e7
hook JSON stats sending from domain-server
2014-03-24 11:56:16 -07:00
Stephen Birarda
ec10e61b8c
add logic to domain-server to parse JSON stats
2014-03-24 11:42:04 -07:00
ZappoMan
bde2146b1b
whitespace cleanup
2014-03-23 18:14:36 -07:00
ZappoMan
9c7ffffbae
fix some windows issues
...
Conflicts:
assignment-client/src/audio/AudioMixer.cpp
2014-03-23 18:10:22 -07:00
Stephen Birarda
f652df9399
break on MTU size packets from domain-list, closes #2312
2014-03-17 09:19:05 -07:00
ZappoMan
8622f2d548
fix comment
2014-03-12 10:20:33 -07:00
ZappoMan
214866414c
tweak names
2014-03-11 17:09:44 -07:00
ZappoMan
1d17e75043
more noise suppression
2014-03-11 16:56:41 -07:00
ZappoMan
3c24121f5c
more noise suppression
2014-03-11 16:54:03 -07:00
ZappoMan
029b25ad29
make domain server less noisy about Agent assignments
2014-03-11 16:45:15 -07:00
Stephen Birarda
d1623e6e4d
fixes for warnings produced by Xcode 5.1
2014-03-11 11:45:13 -07:00
Stephen Birarda
b09ed1dff1
present a login window on app start
2014-02-25 10:53:13 -08:00
Stephen Birarda
83f7c17279
move QStringList include to DomainServer header
2014-02-24 15:49:52 -08:00
Stephen Birarda
c1b45d7eaa
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-02-24 15:18:21 -08:00
Stephen Birarda
27c779666b
add auth to assignment-client, fix refresh of static assignments
2014-02-24 13:29:32 -08:00
Stephen Birarda
fcb36f0aca
switch to target specific username/pass
2014-02-24 12:07:07 -08:00
Stephen Birarda
9dc460bab4
make multiple instances of scripted assignment use diff UUID
2014-02-24 11:56:14 -08:00
Stephen Birarda
a8493ecaa2
cleanup login/logout in menu, logout only when in
2014-02-24 11:11:36 -08:00
Stephen Birarda
340248ac43
resolve conflicts on merge with upstream master
2014-02-21 15:16:15 -08:00
Stephen Birarda
d56bafc9a5
default to no auth for domain-server, fix no auth flow
2014-02-21 13:16:24 -08:00
Stephen Birarda
cb40a9b00d
add naming info and ini settings to domain-server
2014-02-20 18:00:33 -08:00
Stephen Birarda
c728463410
use connection secret to verify domain-server packets
2014-02-20 17:57:58 -08:00
Stephen Birarda
a8e96441ab
repair parsing of a node connect request
2014-02-20 17:16:56 -08:00
Stephen Birarda
bd18206573
ask node for authentication again if token redeem fails
2014-02-20 17:13:52 -08:00
Stephen Birarda
9cb8cbff2c
fix noAuth flow for domain-server
2014-02-20 16:47:00 -08:00
Stephen Birarda
a6c1e3e87f
tweaks to domain-server authentication flow
2014-02-20 16:31:50 -08:00
Stephen Birarda
217a7862e5
groundwork for domain-server to redeem registration tokens
2014-02-20 14:50:35 -08:00
Stephen Birarda
ee90c25a41
add helpers for json responses from AccountManager
2014-02-20 14:22:08 -08:00
Stephen Birarda
6f84230d9d
resolve conflicts on merge with upstream/master
2014-02-20 10:14:36 -08:00
Stephen Birarda
cb165902fd
use existing constants for HTTP operations
2014-02-19 18:12:10 -08:00
Stephen Birarda
d3dd49a2e8
force DomainServer to wait for session UUID before setup with auth
2014-02-19 18:06:21 -08:00
Stephen Birarda
ee9f8937e3
fix a silly typo
2014-02-19 18:03:34 -08:00
Stephen Birarda
32ceccfeb6
have domain-server bail if username/password not provided for auth
2014-02-19 17:26:21 -08:00
Stephen Birarda
b0895ea83a
store registration token in more compact form, begin parse on domain-server
2014-02-18 15:58:54 -08:00
Stephen Birarda
949f79e945
hook up request for domain registration information for Interface
2014-02-18 15:38:43 -08:00
Stephen Birarda
ce3cc7e5c9
require that client ID for authentication server be known to AccountManager
2014-02-18 14:34:32 -08:00
Stephen Birarda
8a0136efe1
more work on authentication, show login window when domain asks
2014-02-18 13:21:32 -08:00
Stephen Birarda
c762b92e5a
replace DataServerClient and Profile with AccountManager
2014-02-18 11:27:37 -08:00
Stephen Birarda
7c69028dc5
hook up domain request for node to authenticate
2014-02-18 10:54:45 -08:00
Stephen Birarda
c9ade0585b
add a node authentication hostname to the domain-server
2014-02-18 09:03:35 -08:00
Stephen Birarda
a90ca59027
pools are allowed to have dashes
2014-02-07 17:30:32 -08:00
Stephen Birarda
f237b77fa7
fix a bad cast to Assignment, closes #1935
2014-02-07 15:26:18 -08:00
Stephen Birarda
66d4eeb805
enforce both a version and hash match for packets
2014-02-07 11:10:38 -08:00
Stephen Birarda
fa1825fa32
repairs to ping-reply, removal of deconstructPacketHeader to simply return UUID
2014-02-07 10:20:50 -08:00
Stephen Birarda
f02e1aaf47
cleanup the alive half of connection secrets when node dies
2014-02-06 11:37:52 -08:00
Stephen Birarda
3dca04aacb
have the domain-server generate connection secrets, closes #1837
2014-02-06 11:30:53 -08:00
Stephen Birarda
6f638fa62c
have domain-server create a UUID for unidentified nodes, closes #1840
2014-02-06 10:34:34 -08:00
Stephen Birarda
703b654728
make sure UUID key changes in static assignment hash, closes #1770
2014-01-30 17:39:37 -08:00
Stephen Birarda
f853e34ab1
fix unix complaint for no postfix for enum
2014-01-30 15:49:05 -08:00
Stephen Birarda
984fb1a5df
fix config parsing from command line and json
2014-01-30 15:22:03 -08:00
Stephen Birarda
55049eeb6b
fix assignment packing and unpacking from DS to AC
2014-01-30 14:54:52 -08:00
Stephen Birarda
356222ba15
removal of persistence in DS for static assignments
2014-01-30 14:33:36 -08:00
Stephen Birarda
d6431a3e7a
remove an extra gs
2014-01-29 15:09:46 -08:00
Stephen Birarda
dbecb96a58
remove assignmentQueueMutex now that DS concurrency is gone
2014-01-29 15:08:50 -08:00
Stephen Birarda
7d27830064
domain-server patches while looking for payload/pool errors
2014-01-29 14:23:39 -08:00
Stephen Birarda
423e1598f0
use NodeSet in place of QSet<NodeType_t> where possible
2014-01-28 13:41:39 -08:00
Stephen Birarda
4de270b832
cleanup Node types, closes #1726
2014-01-28 13:38:33 -08:00
Stephen Birarda
cda06d1cb3
replace uint64_t with quint64 for Qt friendlyness
2014-01-28 12:35:42 -08:00
Stephen Birarda
ffefc529f3
ensure UUID pulled from packet header is exactly 16 bytes
2014-01-28 11:53:09 -08:00
Stephen Birarda
75e2fa491a
some type fixes for marshalling/un-marshalling of data
2014-01-28 11:26:36 -08:00
Stephen Birarda
85ebad979f
repair assignment flow errors from packet changes
2014-01-28 11:15:38 -08:00
Stephen Birarda
4103cc1cde
packet header changes and beginning of conversion to QByteArray
2014-01-28 10:36:08 -08:00
AndrewMeadows
ea681f0d8f
Merge pull request #1669 from birarda/avatar-list
...
add an AvatarManager to house a separate list of Avatars from NodeList
2014-01-24 09:54:17 -08:00
Stephen Birarda
9d71671a52
add extra debugging to packet mismatch
2014-01-24 09:10:27 -08:00
Stephen Birarda
349c790cc7
NodeData cleanup thanks to separation from rendered avatars
2014-01-23 15:41:40 -08:00
Lucas Crisman
1423f91717
Allow domain-server to read configuration from file
2014-01-21 15:48:44 -03:00
Stephen Birarda
5fdf310a45
hook OctreeServer up to embedded-webserver
2014-01-17 14:21:15 -08:00
Stephen Birarda
ffb628edfb
remove the DomainServer singleton instance from DS
2014-01-17 12:18:41 -08:00
Stephen Birarda
1900d3a13b
remove the old civetweb upload handler
2014-01-17 12:16:56 -08:00
Stephen Birarda
0f8cbb9aec
add back script upload ability hooked to HttpManager
2014-01-17 12:16:19 -08:00
Stephen Birarda
ce393fdf27
uppercase the names of the HTTP classes
2014-01-17 11:53:47 -08:00
Stephen Birarda
40cdba203d
handle programmatic DS requests except for script creation
2014-01-17 11:29:20 -08:00
Stephen Birarda
036dba9c2f
setup the HTTPManager to serve files in the document root
2014-01-17 08:53:55 -08:00
Stephen Birarda
d236d6335d
add initial rev of embedded webserver based on QTcpSocket
2014-01-16 17:05:02 -08:00
Andrew Meadows
1266ffd0ca
merge of windows-build
...
Conflicts:
domain-server/src/DomainServer.cpp
interface/src/Application.cpp
interface/src/Menu.cpp
libraries/avatars/src/AvatarData.h
libraries/shared/src/NodeList.h
2014-01-16 09:00:13 -08:00
Stephen Birarda
0c22aa241f
leverage invokeMethod to make sure killNodeWithUUID is called on right thread
2014-01-15 16:10:51 -08:00
Brad Hefta-Gaub
952365a1b7
clean up comments and tab spacing
2014-01-15 12:50:36 -08:00
Brad Hefta-Gaub
170dbe6e85
Merge branch 'master' of git://github.com/worklist/hifi into windows_build
...
Conflicts:
assignment-client/src/audio/AudioMixer.cpp
domain-server/src/DomainServer.cpp
interface/src/Audio.cpp
interface/src/DataServerClient.cpp
interface/src/Oscilloscope.cpp
interface/src/PairingHandler.cpp
interface/src/Util.cpp
interface/src/avatar/MyAvatar.cpp
interface/src/devices/Faceshift.cpp
interface/src/devices/SerialInterface.cpp
interface/src/renderer/FBXReader.cpp
libraries/avatars/src/AvatarData.h
libraries/octree-server/src/OctreeServer.cpp
libraries/octree-server/src/OctreeServer.h
libraries/octree/src/ViewFrustum.cpp
libraries/shared/src/Logging.cpp
libraries/shared/src/Node.cpp
libraries/shared/src/Node.h
libraries/shared/src/NodeList.cpp
libraries/shared/src/NodeList.h
libraries/shared/src/PerfStat.cpp
libraries/shared/src/SharedUtil.cpp
libraries/voxels/src/VoxelTree.cpp
voxel-edit/src/main.cpp
2014-01-15 10:20:21 -08:00
Stephen Birarda
599e3bb9e5
resolve conflicts on merge with upstream master
2014-01-14 16:15:58 -08:00
Stephen Birarda
8676ac38f9
foreach spacing and reference repairs
2014-01-14 15:54:09 -08:00
Stephen Birarda
987c639e36
initial newline removal from all QDebug calls
2014-01-14 13:09:22 -08:00
Stephen Birarda
9efb391ecf
repair crazy references to node ponter from old iterator style
2014-01-14 10:50:06 -08:00
Stephen Birarda
ed0ed96029
properly emit signal on silent node removal
2014-01-14 10:28:41 -08:00
Stephen Birarda
7d1a64ca8c
change NodeList container to QHash with QSharedPointer
2014-01-13 17:09:21 -08:00
Brad Hefta-Gaub
f9f29c68b2
more windows build fixes
2014-01-11 01:11:49 -08:00
Brad Hefta-Gaub
bd67531ffd
warnings
2014-01-11 00:13:46 -08:00
Brad Hefta-Gaub
825c1c8876
fix windows warnings
2014-01-11 00:07:35 -08:00
Brad Hefta-Gaub
5725a92cfe
get rid of arpa/inet.h and netdb.h
2014-01-10 18:13:23 -08:00
Andrew Meadows
d28ed70ca9
merge pull request 1446
2014-01-10 15:55:38 -08:00
Leonardo Murillo
57bf31e1a6
Wrong spacing
2013-12-19 11:25:51 -06:00
Leonardo Murillo
c3b222cfc2
Print assignment request details to log
2013-12-19 11:23:55 -06:00
ZappoMan
2ca628fdf1
first cut at particle renderer cleanup particle jurisdiction listener fix storage of particles
2013-12-09 11:45:32 -08:00
Stephen Birarda
e99b126134
remove quickExit option from AS, fix cleanup in DS
2013-12-05 17:35:26 -08:00
Stephen Birarda
5e429250d3
merge with upstream/master
2013-12-05 11:41:28 -08:00
Stephen Birarda
a376ebbca2
make DomainServer a proper QCoreApplication instance, closes #1313
2013-12-05 10:00:20 -08:00
ZappoMan
50833cf04c
add --particleServerConfig to domain server
2013-12-04 21:37:31 -08:00
ZappoMan
aec0e9f4aa
added basic particle server renamed voxel packet names to fit standard
2013-12-04 21:00:00 -08:00
Stephen Birarda
330eff72ce
repair usage of DS as STUN server
2013-12-02 17:18:07 -08:00
Stephen Birarda
49191826af
add check for pending datagrams before read
2013-12-02 14:08:49 -08:00
Stephen Birarda
141394a664
replace UDPSocket with QUDPSocket
2013-12-02 13:34:29 -08:00
Stephen Birarda
d01feedb5a
decrement number of instances on addressable instance of deployable assignment
2013-10-31 17:45:55 -07:00
Stephen Birarda
21fe7e6fe0
don't delete last scripted assignment before it is sent out
2013-10-31 10:10:49 -07:00
Stephen Birarda
e0e13fe2ed
create a copy of document root string
2013-10-31 09:17:17 -07:00
Stephen Birarda
6014c833ed
fix a broken build in the domain-server
2013-10-30 18:11:36 -07:00
Stephen Birarda
5814f9ea81
add debug to see document root on DS relaunch
2013-10-30 18:02:13 -07:00
Stephen Birarda
67050f5cd2
fix Assignment ctor from data to properly parse payload
2013-10-25 10:34:58 -07:00
Stephen Birarda
9339538a74
fixes for admin interface with multiple nodes of same type
2013-10-24 16:37:41 -07:00
Stephen Birarda
d3ac055add
change DS json to use unique UUIDs for keys
2013-10-24 16:27:05 -07:00
Stephen Birarda
d85ed014ba
switch to bootstrap 3, complete initial index page
2013-10-23 14:43:59 -07:00
Stephen Birarda
1eba133a6d
use char array of static length for pool
2013-10-22 13:35:26 -07:00
Stephen Birarda
85b5d8564f
pull pool from voxel server configs passed to DS
2013-10-22 12:14:40 -07:00
Stephen Birarda
b4a2214d26
add notion of pool back to assignment
2013-10-22 11:43:06 -07:00
Stephen Birarda
7ca0a26c18
rename method to add assignments back to queue
2013-10-18 10:44:39 -07:00
Stephen Birarda
0d69349ba9
fix prefixed constants
2013-10-18 10:39:23 -07:00
Stephen Birarda
f6c9c57585
cleanup checking of request method, clarify that node is being deleted
2013-10-18 10:33:22 -07:00
Stephen Birarda
d85c0bb88a
add a DELETE method to civetweb to delete assignment by UUID
2013-10-18 10:25:35 -07:00
Stephen Birarda
b6f3253b95
add local node information to assignments JSON
2013-10-17 16:07:24 -07:00
Stephen Birarda
87d6c0085f
add a fallback if STUN to outside server isn't possible
2013-10-17 15:11:02 -07:00
Stephen Birarda
fa146e302d
remove 16-bit node IDs and replace with UUIDs
2013-10-17 11:49:41 -07:00
Stephen Birarda
7de88898e1
activate appropriate socket after receiving ping reply
2013-10-16 17:51:32 -07:00
Stephen Birarda
747175311f
handle stun response in assigned clients
2013-10-16 16:37:24 -07:00
Stephen Birarda
224b0d9671
domain server accepts custom public address from node
2013-10-16 16:27:13 -07:00
Stephen Birarda
1ed2b3d8fe
add both fulfilled and queued assignments to DS json
2013-10-15 15:38:43 -07:00
Stephen Birarda
4cb657fa24
remove dependency on cJSON and use Qt instead
2013-10-15 15:29:51 -07:00
Stephen Birarda
41e1ec180c
add a JSON endpoint for current assignments
2013-10-15 13:45:40 -07:00
Stephen Birarda
5a7d21f529
add UUID helper class to get UUID string without braces
2013-10-07 10:56:23 -07:00
Stephen Birarda
a771a5de07
fix for restart hold behavior in domain-server
2013-10-02 10:53:54 -07:00
Stephen Birarda
e5c5bb7552
completion of fix for requesting AC on DS restart
2013-10-01 16:15:07 -07:00
Stephen Birarda
dc3756d81c
check if there are static assignments to queue while serving request
2013-10-01 16:11:10 -07:00
Stephen Birarda
74ec83d8ed
add an extra debug to track down HQ issue
2013-10-01 16:03:53 -07:00
Stephen Birarda
63d41d85de
remove a bad comment
2013-10-01 16:00:10 -07:00
Stephen Birarda
b548567744
add a debug line to track down HQ issue
2013-10-01 15:59:10 -07:00
Stephen Birarda
f3acb53835
use uint64_t for timing const in DS
2013-10-01 15:49:48 -07:00
Stephen Birarda
94f7b98a5c
handle mutli-VS config in DS when creating static file
2013-09-30 14:27:54 -07:00
Stephen Birarda
fb27e37607
have AC making create request use its own UUID
2013-09-30 14:09:46 -07:00
Stephen Birarda
3449ddc9a0
remove an added ga
2013-09-30 14:03:17 -07:00
Stephen Birarda
e2d68f5538
have DS clear config file is new config is passed
2013-09-30 14:03:02 -07:00
Stephen Birarda
32314ad540
have VS send UUID with check in for static assignment behavior
2013-09-30 13:34:22 -07:00
Stephen Birarda
e63dfadcde
allow repeated check ins from existing node
2013-09-30 13:24:55 -07:00
Stephen Birarda
0e5c5886b6
touchups to DS with static assignment file
2013-09-30 13:11:46 -07:00
Stephen Birarda
a8d55644e9
Assignment as LinkedData, add back to queue on node death
2013-09-30 11:04:42 -07:00
Stephen Birarda
fce97e2754
remove a space in DomainServer header
2013-09-30 10:44:34 -07:00
Stephen Birarda
bb32da12f1
complete removal of fervor and C++11 array
2013-09-30 10:30:18 -07:00
Stephen Birarda
db1dacbbf4
some refactoring for DS, add create assignments to file
2013-09-26 15:56:41 -07:00
Stephen Birarda
70c5d3e349
decouple DS from main, move to C++11
2013-09-26 15:03:43 -07:00
Stephen Birarda
6fe47b47a3
handle unmapping of assignment file on SIGTERM, add created to static map
2013-09-26 09:59:37 -07:00
Stephen Birarda
bed4819313
inital setup for static assignment mapped file
2013-09-24 14:41:26 -07:00
Stephen Birarda
23e7278be5
re-use the check in packet sent to the domain-server, allow reset
2013-09-19 12:58:48 -07:00
Stephen Birarda
92c106a6bb
refresh the UUID when sending out new AM assignments
2013-09-19 12:30:40 -07:00
ZappoMan
c087632d53
have Domain Server treat Voxel Servers the same as Audio Mixers and Avatar Mixers
2013-09-19 13:20:27 -05:00
Stephen Birarda
3b976500ce
stylistic and memory management fixes
2013-09-18 17:55:13 -07:00
Stephen Birarda
7b498edcbc
remove attached public and local sockets, fully allow custom port
2013-09-18 17:03:14 -07:00
Stephen Birarda
b0421cb9d3
Merge pull request #953 from ZappoMan/multi_VS_assigments
...
Handle --voxelServerConfig properly
2013-09-18 14:20:12 -07:00
ZappoMan
a81d5cd9a7
Merge pull request #954 from birarda/ds-port
...
allow setting of custom DS port from DS and clients
2013-09-18 14:07:11 -07:00
ZappoMan
65625c8e76
match setPayload() behavior
2013-09-18 13:23:34 -07:00
ZappoMan
b3bcda2227
Merge branch 'master' of https://github.com/worklist/hifi into multi_VS_assigments
2013-09-18 13:20:17 -07:00
Stephen Birarda
8c9a14cdbe
CR fix to change back to setPayload with const param
2013-09-18 13:09:07 -07:00
Stephen Birarda
d6a8a4eb26
allow custom listen port for domain-server
2013-09-18 12:07:08 -07:00
Stephen Birarda
32b507d2ac
remove the global assignment-server for now to avoid confusion
2013-09-18 11:05:31 -07:00
Stephen Birarda
f0b834881b
de-refs assignments for proper logging
2013-09-18 10:59:52 -07:00
Stephen Birarda
1a82ba2301
handle create assignment requests in domain-server
2013-09-18 10:58:35 -07:00
Stephen Birarda
3fde2887a3
fixes to payload in Assignment
2013-09-18 10:19:45 -07:00
ZappoMan
06f739a623
pass voxelServerConfig from domain-server through Assignment _payload to VoxelServer
2013-09-18 07:23:37 -07:00
ZappoMan
4a821d0874
Merge branch 'master' of https://github.com/worklist/hifi into multi_VS_assigments
2013-09-17 17:35:13 -07:00
ZappoMan
1bfd23e3de
CR feedback
2013-09-17 17:27:20 -07:00
Stephen Birarda
3f381eeae8
put unconfirmed AM assignments at the back of the queue
2013-09-17 17:24:22 -07:00
Stephen Birarda
001432ec55
have domain-server reject audio and avatar mixers with bad UUID
2013-09-17 16:40:30 -07:00
ZappoMan
49c4075277
Merge branch 'master' of https://github.com/worklist/hifi into multi_VS_assigments
2013-09-17 16:00:32 -07:00
Stephen Birarda
17a210813b
repairs to subclasses of assignment
2013-09-17 15:20:34 -07:00
ZappoMan
2388cfc8e0
first cut at making VoxelServer class run with configuration or standalone
2013-09-17 14:33:31 -07:00
ZappoMan
4932c3266f
moving to Assignment payload style implementation
2013-09-17 13:22:09 -07:00
ZappoMan
ad4dea129c
Merge branch 'master' of https://github.com/worklist/hifi into multi_VS_assigments
2013-09-17 12:18:51 -07:00
ZappoMan
48a579ae49
first cut at domain server config support
2013-09-17 12:18:46 -07:00
Stephen Birarda
2cfa45e4f8
allow the assignment-client to specify the type of assignment it desires
2013-09-17 12:09:10 -07:00
Stephen Birarda
74a0b8a7b5
resolve conflicts on merge with upstream master
2013-09-17 11:50:30 -07:00
Stephen Birarda
76df707e31
add the ability to ask for multiple instances from JS page
2013-09-17 11:48:08 -07:00
Stephen Birarda
0e19d9a53a
add handling for number of instances to domain-server
2013-09-17 11:19:13 -07:00
Stephen Birarda
063896f92a
Merge pull request #941 from ZappoMan/voxel_server_assignments
...
Voxel Server as a Assignment Client task
2013-09-17 10:51:31 -07:00
Stephen Birarda
a45d64a214
add ability to send a voxel in JS via VoxelScriptingInterface
2013-09-17 10:49:51 -07:00
Stephen Birarda
b2f7115aef
remove document root debug
2013-09-17 09:18:46 -07:00
ZappoMan
100eda6960
allow voxel servers in standalone mode to work with new domain server and assignment client
2013-09-16 19:56:34 -07:00
ZappoMan
92fb393e14
allow standalone voxel-server to specify port and domain, add VoxelServerType to assignment-client
2013-09-16 19:34:07 -07:00
Stephen Birarda
d6e3a4f3ba
reference domain-server web files relative to executable dir
2013-09-16 12:56:36 -07:00
Stephen Birarda
67389589ef
replace mongoose webserver with MIT licensed civetweb
2013-09-16 12:47:38 -07:00
Stephen Birarda
fef54728ca
fix path for javascript save
2013-09-13 12:12:20 -07:00
Stephen Birarda
c40e848220
move DS web to resources for deploys
2013-09-13 11:21:03 -07:00
Stephen Birarda
d089991237
add handling of Agent assignments to Assignment, DS, AC
2013-09-13 11:14:00 -07:00
Stephen Birarda
49b72370be
fix UUID getter to match the private variable
2013-09-12 17:08:06 -07:00
Stephen Birarda
f878b17798
fix DS reply to node on same box to remove check in AC
2013-09-12 17:03:05 -07:00
Stephen Birarda
2578516940
talk to AC on loopback when on same node
2013-09-12 16:47:06 -07:00
Stephen Birarda
0d69e1cce0
expand the same host comparison to check 127.0.0.1
2013-09-12 16:31:43 -07:00
Stephen Birarda
25cd800ab4
create a UUID with assignments, store JS for script
2013-09-12 16:18:53 -07:00
Stephen Birarda
3dd0b40776
Merge branch 'assignment' into domain-web-server
2013-09-11 14:49:28 -07:00
Stephen Birarda
4ebac574ac
fix deque include for domain-server
2013-09-11 14:48:51 -07:00
Stephen Birarda
36b2381d79
Merge branch 'assignment' into domain-web-server
2013-09-11 14:47:26 -07:00
Stephen Birarda
fb8d3e9cf6
add a more helpful message to the DS root index.html
2013-09-11 14:47:23 -07:00
Stephen Birarda
df4973db6b
Merge branch 'master' of github.com:worklist/hifi into domain-web-server
2013-09-11 14:44:35 -07:00
Stephen Birarda
dfede2b947
rename direction to command for assignment
2013-09-11 14:43:37 -07:00
Stephen Birarda
803d2975dc
fix queue include
2013-09-11 12:43:57 -07:00
Stephen Birarda
04a40be97a
remove an extra g
2013-09-11 12:29:07 -07:00
Stephen Birarda
e1005288cb
prefer that audio-mixer assignment is fulfilled locally
2013-09-11 12:25:59 -07:00
Stephen Birarda
ff6fd73187
have the domain-server use the new verbose logging message handler
2013-09-11 12:17:30 -07:00
Stephen Birarda
b7aa49cf97
have DS act as AS and hand assignments directly
2013-09-11 12:16:47 -07:00
Stephen Birarda
c71ef85538
remove web directory before copying, clean more of ace
2013-09-10 14:55:30 -07:00
Stephen Birarda
6256388171
remove unused parts of ace editor
2013-09-10 14:52:02 -07:00
Stephen Birarda
53e0afa63b
open up a JS editor at /assignment on DS webserver
2013-09-10 14:42:30 -07:00
Stephen Birarda
1781f1607e
add mongoose webserver to domain-server
2013-09-10 14:31:20 -07:00
Stephen Birarda
fa521a5dc9
handle case where AC is on same network as DS but not AS
2013-09-09 18:15:33 -07:00
Stephen Birarda
8077963bb1
add standardized logging and leverage forked assignment clients
2013-09-09 14:21:33 -07:00
Stephen Birarda
d1c602df07
remove an extra g
2013-09-09 10:10:16 -07:00
Stephen Birarda
64e3c19a8c
fix an incorrectly typed const
2013-09-09 10:07:31 -07:00
Stephen Birarda
2fd043b55c
code review comments
2013-09-09 10:02:30 -07:00
Stephen Birarda
4905032090
allow forking of multiple assignment-clients from the main target
2013-09-09 09:44:43 -07:00
Stephen Birarda
cbf8a2c202
use create time already being stored with assignment to decide on re-send
2013-09-06 16:03:54 -07:00
Stephen Birarda
8424c4e38b
make DS immediately request assignments instead of waiting one silent loop
2013-09-06 15:44:24 -07:00
Stephen Birarda
65ef778efd
allow passing of custom assignment-server to DS and AC
2013-09-06 15:31:21 -07:00
Stephen Birarda
3b78678a76
cleanup pool grabbing for DS and AC
2013-09-06 15:21:55 -07:00
Stephen Birarda
0262184c12
put back DS port numbers, remove magic IPv numbers
2013-09-06 11:29:04 -07:00
Stephen Birarda
21562abfb1
don't add a second instance of a solo node
2013-09-05 17:29:14 -07:00
Stephen Birarda
8c5937dc78
only ask for an audio/avatar mixer every 5 iterations
2013-09-05 16:58:46 -07:00
Stephen Birarda
b88c74c1a1
remove the mongoose webserver
2013-09-05 16:25:42 -07:00
Stephen Birarda
8dad031c9a
add mongoose for demo webserver for DS
2013-09-05 15:27:34 -07:00
Stephen Birarda
8b601cac0a
moved the AvatarMixer to a class the assignment-client can handle
2013-09-05 14:01:05 -07:00
Stephen Birarda
36c2f42b5c
correct copying of assignment pool across targets
2013-09-04 11:50:39 -07:00
Stephen Birarda
ebc7de3a90
add methods for packing and unpacking of Assignments
2013-09-04 11:37:11 -07:00
Stephen Birarda
9260bee653
add assignment pool passing to DS, cleanup in AS
2013-09-04 11:13:37 -07:00
Stephen Birarda
29e5eda358
add notion of pool and direction to Assignment class
2013-09-04 10:43:16 -07:00
Stephen Birarda
ef7e7ae4c5
store senderSocket with assignment to be passed to requestor
2013-08-22 12:08:49 -07:00
Stephen Birarda
f52c1c909b
send assignment from domain server for audio mixer if it isn't present
2013-08-22 11:38:57 -07:00
ZappoMan
55a025a0ed
removed debug
2013-08-19 11:16:22 -07:00
ZappoMan
e64664c0d1
first cut at JurisdictionSender and related changes
2013-08-19 11:05:29 -07:00
Stephen Birarda
2b31a3586e
comment changes for local vs. non-local
2013-08-01 12:01:48 -07:00
Stephen Birarda
2fde29e04a
use a 0 public address to designate server local to DS
2013-08-01 11:53:18 -07:00
Stephen Birarda
4eb25be14c
fix node ID return from domain server
2013-07-11 12:09:42 -07:00
Stephen Birarda
c80b5b6be4
parse the nodeType from the correct location in packet
2013-07-11 11:30:19 -07:00
Stephen Birarda
fcb8865d2e
resolve conflicts on merge with upstream master
2013-07-11 10:58:45 -07:00
Stephen Birarda
ca8f25955a
switch usec timestamps to uint64_t
2013-07-10 11:46:48 -07:00
Stephen Birarda
e3d9289f1f
refactor packet version handling and apply to DS
2013-07-08 13:44:01 -07:00
Stephen Birarda
5062ae8965
rename PACKET_HEADER to PACKET_TYPE, fix DS packet versioning
2013-07-08 11:37:39 -07:00
Stephen Birarda
047d5b5cab
add packet version handling for DS packets
2013-07-08 11:17:29 -07:00
Stephen Birarda
36c6912de8
your agents are now nodes
2013-07-03 10:35:09 -07:00
Stephen Birarda
a5bd8cf3cd
DS node count is a timer stat for now
2013-07-02 16:41:46 -07:00
Stephen Birarda
f7f321663a
DRY up multiple stat type sending
2013-07-02 14:42:31 -07:00
Stephen Birarda
08c1d54cf3
send count of alive nodes to logstash from DS
2013-07-02 12:18:16 -07:00
Stephen Birarda
ef8c48245e
remove a couple of unused variables in the domain-server
2013-07-02 10:05:28 -07:00
Stephen Birarda
350ebfb80f
clients not on EC2 box should be talked to at public address
2013-06-18 13:32:17 -07:00
Stephen Birarda
5e8e50e53b
the EC2 domain server should send to the Agent's local socket
2013-06-18 13:11:31 -07:00
Andrzej Kapolka
db729a04aa
Converted double timestamps to long long (64 bit integers), fixed bug with
...
updating agent timestamps.
2013-06-13 11:11:59 -07:00
Andrzej Kapolka
7570329867
This appears still to be broken, but you know what? We already have the agent
...
pointer; why not just get the ID from that?
2013-06-12 16:28:37 -07:00
Andrzej Kapolka
ccd61ee5a2
Found the problem we were having: the domain server was reporting back all
...
kinds of things as our ID.
2013-06-12 16:13:44 -07:00
Stephen Birarda
7fb42dcb8a
fix bug with sent and received agent interest packets
2013-06-10 13:48:34 -07:00
Stephen Birarda
ed79a9f72a
prepend the agent types of interest with the number that follow
2013-06-10 12:18:25 -07:00
Stephen Birarda
0585d6756d
if an agent doesn't send a list of types of interest assume it wants to hear about nobody
2013-06-07 15:34:30 -07:00
Stephen Birarda
1e05936aea
unthread DS check in, allow agents to tell DS who they want to hear about
2013-06-07 15:19:12 -07:00
Stephen Birarda
95971b8303
rename AGENT_TYPE_VOXEL and PACKET_HEADER_DOMAIN_RFD
2013-06-07 14:12:42 -07:00
Stephen Birarda
b7b39c2a6e
have addOrUpdateAgent return a pointer to the agent instead of a bool
2013-05-17 14:03:15 -07:00
Stephen Birarda
fc5e42cf8b
add threaded injection of audio via audio injector class
2013-05-15 16:10:59 -07:00
Stephen Birarda
48b57c92bd
refactor Agent member variables
2013-05-15 14:12:21 -07:00
Stephen Birarda
9658c40dd6
change lastAgentId member variable to _lastAgentID
2013-05-07 17:17:47 -07:00
Stephen Birarda
722205682e
expect domain server to append one's own ID to end of packet
2013-05-07 12:05:13 -07:00
Stephen Birarda
c3ae1136e1
fix warning on comparison in DS
2013-05-06 14:48:57 -07:00
Stephen Birarda
cfd4a4a44a
smarter wake microstamp update for solo agents in DS
2013-05-06 14:46:01 -07:00
Stephen Birarda
9f320568e1
have the DS ignore packets it receives with incorrect headers
2013-05-06 13:49:06 -07:00
Stephen Birarda
f9edfd3b83
don't incorrectly push the broadcast packet pointer
2013-05-06 13:43:21 -07:00
Stephen Birarda
969bf7645a
remove an accidentally added g
2013-05-06 13:30:10 -07:00
Stephen Birarda
2a240f6474
type star squish in domain server
2013-05-06 13:14:58 -07:00
Stephen Birarda
e8babd6d1e
type star squish in domain server
2013-05-06 13:14:28 -07:00
Stephen Birarda
9e5f446ba2
update wake microstamp when receiving an RFD from an agent already in list
2013-05-06 12:51:43 -07:00
Stephen Birarda
beca9cac8d
update timestamp variables in Agent, use new packet headers for DS
2013-05-06 12:40:52 -07:00
Stephen Birarda
edc908b1cd
AgentList type squishes across project
2013-04-25 16:25:49 -07:00
Stephen Birarda
507f39a052
fix readability of agent dereference
2013-04-25 16:14:38 -07:00
Stephen Birarda
8deee63f74
remove line breaks in DS for loop
2013-04-25 15:56:26 -07:00
Stephen Birarda
625a963918
prefer -> notation to (*TYPE) for AgentList iterator
2013-04-25 15:49:25 -07:00
Stephen Birarda
88eca95020
fix domain-server to use new AgentList iterator
2013-04-25 15:24:36 -07:00
Stephen Birarda
7ae320d7e1
intial version of eve that says WALL-E every so often
2013-04-23 13:37:49 -07:00
Stephen Birarda
06b794563f
stop sending avatar agents to other avatars in DS packet
2013-04-22 17:40:27 -07:00
Stephen Birarda
daac10511e
output avatar mixer stats below the voxel stats
2013-04-18 16:58:08 -07:00
Stephen Birarda
3e6b794f11
rename domain target to domain server, use SetupHifiProject
2013-04-12 13:12:56 -07:00