Ryan Huffman
25f64e1aa9
Merge branch 'feat/auto-bake' of github.com:highfidelity/hifi into feat/bake-meta-errors
2017-08-31 15:17:40 -07:00
Ryan Huffman
d2c7235fed
Fix update to count width in GetAllMappings
2017-08-31 14:41:29 -07:00
Atlante45
a9cfc01df3
Set Baking Enabled API
2017-08-31 13:11:27 -07:00
Atlante45
aad0be2693
Set baking enabled mappings
2017-08-31 13:10:07 -07:00
Atlante45
764e5d2e4c
Move constant to central location
2017-08-31 13:08:18 -07:00
Atlante45
da2bede6fe
Hide .baked items from the Asset Browser
2017-08-31 13:08:18 -07:00
Atlante45
3aee6db1e8
Log baker errors
2017-08-31 13:08:18 -07:00
Ryan Huffman
0cd8a5cd41
Merge branch 'feat/auto-bake' of github.com:highfidelity/hifi into feat/bake-meta-errors
2017-08-31 12:09:21 -07:00
Ryan Huffman
9ce0f03aa2
Fix mapping comparision in getAssetStatus being done against path
2017-08-31 11:58:03 -07:00
Ryan Huffman
d68338f0b0
Add error handling to asset server baking
2017-08-30 16:53:31 -07:00
Stephen Birarda
f2997c0997
refuse to perform mapping operations in /.baked/
2017-08-30 14:30:08 -07:00
Ryan Huffman
f89459525e
Merge pull request #11257 from birarda/feat/delete-baked-with-original
...
add deletion of baked content when original removed
2017-08-29 13:18:58 -07:00
Ryan Huffman
e9258ec97a
Fix loading standalone baked textures from Asset Server
...
NetworkTexture was not properly handling redirected ATP files. For
instance, if going from .jpg -> .ktx, the NetworkTexture class needs to
be aware of this so it can stop the current request and make multiple
requests for the individual mip levels.
2017-08-28 15:54:40 -07:00
Stephen Birarda
6992bd6f48
add deletion of baked content when original removed
2017-08-28 15:38:31 -07:00
Stephen Birarda
79231cdee0
fix switched signature for completed bake handling
2017-08-25 17:10:09 -07:00
Stephen Birarda
cc7dd2162b
fixes for OS X build
2017-08-25 17:03:52 -07:00
Atlante45
0755b77615
Fix for mac build
2017-08-25 16:32:32 -07:00
Atlante45
065721d23f
Merge branch 'feat/auto-bake' of https://github.com/huffman/hifi into feat/auto-bake
2017-08-25 16:22:14 -07:00
Ryan Huffman
7d08a5788f
Move outputFiles from FBXBaker to Baker
2017-08-25 16:21:00 -07:00
Atlante45
700b11e28b
Fix bad conditional
2017-08-25 16:17:37 -07:00
Atlante45
a36ddf7b6d
Fix failed connection
2017-08-25 16:13:29 -07:00
Atlante45
eaa2b9fda8
Fix packet version conflict
2017-08-25 15:36:33 -07:00
Atlante45
7d103d24f4
Integrate my and Huffman's work
2017-08-25 15:21:08 -07:00
Atlante45
348be788f7
Add BakingEnabled protocol
2017-08-25 10:56:27 -07:00
Atlante45
fd3156b57c
Move BakingStatus
2017-08-25 10:54:33 -07:00
Atlante45
fac6015bb0
Asset baking status first pass
2017-08-25 10:54:30 -07:00
Atlante45
cefd16ad95
Fix asset server debug messages logging category
2017-08-25 10:52:49 -07:00
Ryan Huffman
39f04adc8d
Improve baking interface and add automatic baking to asset server
2017-08-24 16:15:28 -07:00
Stephen Birarda
96672becc6
read redirected path info in MappingRequest
2017-08-15 15:19:20 -07:00
Stephen Birarda
03e952ec38
fix extension check for get mapping redirect
2017-08-14 14:09:35 -07:00
Stephen Birarda
db3524a48f
add re-direct of get mapping for baked assets
2017-08-11 14:26:27 -07:00
Stephen Birarda
bef093b8e5
add handling for completed bake
2017-08-11 13:40:30 -07:00
Zach Pomerantz
808973d7d2
use QStandardPaths instead of hardcoded paths
2017-03-13 17:26:42 -04:00
Zach Pomerantz
172a638ef0
move resource paths to PathUtils
2017-03-13 17:26:34 -04:00
ZappoMan
3c3dcbbbaa
Merge branch 'master' of https://github.com/highfidelity/hifi into tuneAvatarInfo
2017-01-26 08:20:03 -08:00
Atlante45
f540c94113
Merge branch 'master' of https://github.com/highfidelity/hifi into ess-pr
2017-01-25 13:06:49 -08:00
ZappoMan
0655b47dd7
fix warnings
2017-01-23 16:44:55 -08:00
Ryan Huffman
e9c6e9dd5c
Move MessageID to ClientServerUtils
2017-01-20 16:43:11 -08:00
Brad Davis
a593a2116a
Removing magic numbers
2017-01-17 18:15:40 -08:00
Brad Davis
cbc89e77ab
Consume fewer resources in AssetServer when interface is running locally
2017-01-17 18:15:39 -08:00
Atlante45
529286b2ea
More EntityScriptServer work
2017-01-17 13:47:45 -08:00
Stephen Birarda
eb8f67b612
cleanup asset file regex, comment in renameMapping
2016-10-19 11:47:57 -07:00
Stephen Birarda
7aac2e6916
restrict asset file mapping operations to file path
2016-10-19 10:57:23 -07:00
Ryan Huffman
b4b7b7ea34
Update all asset server responses to be reliable
2016-07-13 13:41:45 -07:00
Seth Alves
b2f63a2132
hook up can-rez-tmp and can-write-to-asset-server
2016-06-07 16:17:58 -07:00
Seth Alves
0980ab5c2d
Merge pull request #7634 from birarda/asset-server-clean
...
cleanup unmapped asset server files
2016-04-12 11:59:41 -07:00
Stephen Birarda
190d11e0bf
rename the set of hashes to check for deletion
2016-04-11 17:16:52 -07:00
Stephen Birarda
026f58c866
don't perform asset cleanup if mapping file load fails
2016-04-11 17:14:31 -07:00
Stephen Birarda
334dc3cb6c
cleanup left file debug, add check for deleted mapping
2016-04-11 09:05:11 -07:00
Stephen Birarda
775898893b
add deletion of unmapped files during delete op
2016-04-11 08:57:07 -07:00
Stephen Birarda
fae9b061a3
promote a debug to info
2016-04-11 08:42:52 -07:00
Stephen Birarda
4d0976f730
remove migration code for pre-mapping migrations
2016-04-11 08:41:42 -07:00
Atlante45
86b425143b
Use Mbps for max bandwith
2016-03-31 11:03:06 -07:00
Stephen Birarda
882a0272c0
add simple cleanup of unmapped assets on start
2016-03-31 09:54:30 -07:00
Atlante45
d5f6ca5e1c
Add max bandwidth setting
2016-03-21 14:50:18 -07:00
Stephen Birarda
92b287355c
make TRUNCATED_HASH_NUM_CHAR a non-static const
2016-03-15 15:56:13 -07:00
Stephen Birarda
b13dff1c77
Revert "remove redundant static from const in AssetServer"
...
This reverts commit 0837261d403e844f648f4f4ddcce7d7b79c7083b.
2016-03-15 14:38:08 -07:00
Stephen Birarda
29cd487f84
fixes for styling and logging from CR
2016-03-15 14:38:08 -07:00
Stephen Birarda
b8abb1b6dd
remove redundant static from const in AssetServer
2016-03-15 14:38:08 -07:00
Stephen Birarda
6f550292f4
pass delete paths by reference for trimming
2016-03-10 16:57:39 -08:00
Stephen Birarda
e94e2ece2e
add trimming to paths on asset server
2016-03-10 16:57:39 -08:00
Stephen Birarda
e93bc8317f
remove an extra space
2016-03-10 14:48:44 -08:00
Stephen Birarda
50a05df721
fix asset loading with error changes
2016-03-10 11:58:57 -08:00
Stephen Birarda
99718e9c4e
short circuit the mapping operations for invalid path/hash
2016-03-10 10:52:05 -08:00
Stephen Birarda
ae3c0f6646
add hash and path checking
2016-03-09 18:03:44 -08:00
Stephen Birarda
672f8ec1f7
add checking for leading slash in mapping operations
2016-03-09 17:43:31 -08:00
Stephen Birarda
7b08ae3747
drop invalid mappings on AssetServer load
2016-03-09 17:30:02 -08:00
Clément Brisset
aeee89eb15
Merge pull request #86 from birarda/atp-mappings
...
disable client caching of ATP mappings, fix bug retreiving assets
2016-03-09 14:40:57 -08:00
Stephen Birarda
e2b976d9f1
remove debug, fix asset find bug for incorrect folder
2016-03-09 14:24:35 -08:00
Stephen Birarda
a986403237
add a leading slash for faked migrated mappings
2016-03-09 13:42:35 -08:00
Stephen Birarda
d3dc81c7a0
add delete debug, handle rename in memory state rollback
2016-03-09 13:37:39 -08:00
Stephen Birarda
5e9751c6ed
bug fixes for rename/delete operations
2016-03-09 13:28:05 -08:00
Stephen Birarda
a65d06c7ce
fix rename to take old mapping first
2016-03-09 13:14:55 -08:00
Stephen Birarda
6b8a71f96a
add debug for mapping operations
2016-03-09 12:16:36 -08:00
Stephen Birarda
a53b038ac2
add folder delete handling
2016-03-09 12:10:36 -08:00
Stephen Birarda
03c38eada3
add folder rename handling
2016-03-09 12:06:33 -08:00
Stephen Birarda
6abd1c50b2
remove the inlined writeError in AssetServer
2016-03-08 15:45:13 -08:00
Stephen Birarda
33cadb36da
add server side handling for mapping rename
2016-03-08 14:57:22 -08:00
Stephen Birarda
793d20306d
handle multiple paths for mapping delete operations
2016-03-08 14:24:03 -08:00
Stephen Birarda
8fa32e75b2
client side fixes for upload with no extension
2016-03-08 12:19:15 -08:00
Stephen Birarda
7cc774c5f4
indentation fix for _filesDirectory in AssetServer
2016-03-08 11:55:29 -08:00
Stephen Birarda
c4845e5ae5
remove getMapping call from AssetServer that is unused
2016-03-08 11:50:23 -08:00
Stephen Birarda
4608eddb40
remove an extra blank line
2016-03-08 11:47:55 -08:00
Stephen Birarda
7ecfc20dc2
add error handling for asset-server files directory
2016-03-08 11:47:11 -08:00
Stephen Birarda
4236d8e147
replace toLocal8Bit with toUtf8 for hex conversions
2016-03-08 11:40:35 -08:00
Stephen Birarda
063826638e
move handling of get all operation to sep method
2016-03-08 11:39:28 -08:00
Stephen Birarda
bfb9801b22
Merge branch 'atp' of github.com:birarda/hifi into atp-mappings
2016-03-08 11:37:27 -08:00
Stephen Birarda
7bf6b8405c
pluralize mappings in AssetServer naming
2016-03-08 10:28:59 -08:00
Ryan Huffman
89b37f78f0
Make AssetServer response reliable and ordered
2016-03-08 10:26:50 -08:00
Ryan Huffman
7db296fa69
Remove unused get/set/deleteMapping in AssetServer
2016-03-08 10:23:48 -08:00
Stephen Birarda
a3533b0b7d
repairs for moved packet handling in AssetServer
2016-03-08 10:21:29 -08:00
Stephen Birarda
fa04f08c4c
use toHex/fromHex for more compact messaging
2016-03-08 10:01:54 -08:00
Stephen Birarda
da3e3b7e6c
add handle calls for mapping operations
2016-03-08 09:55:48 -08:00
Ryan Huffman
37c0417ea6
Add GetAll and Delete mapping requests
2016-03-07 16:31:49 -08:00
Stephen Birarda
12a774d47f
return error if persistence fails for set/delete operations
2016-03-07 15:46:44 -08:00
Stephen Birarda
5aa287a789
handle read/write to asset-server map file
2016-03-07 15:30:30 -08:00
Stephen Birarda
82cd8aed8c
protect mapping clobbering when migrating
2016-03-07 14:46:54 -08:00
Stephen Birarda
18b22cbd16
add a mapping for pre-mapping migrated files
2016-03-07 14:43:17 -08:00
Stephen Birarda
9d61de6cd5
add a mapping migration for pre-mapping assets
2016-03-07 14:38:55 -08:00
Stephen Birarda
7bb97ec3da
add an extra space before debug in AssetServer
2016-03-07 13:57:12 -08:00