[Logo changes] [ScPrime re-brand]

This commit is contained in:
2019-09-25 23:37:07 -05:00
parent 131af5ee04
commit 2bd40dca51
12 changed files with 19 additions and 18 deletions

View File

@@ -1,10 +1,10 @@
{
"HostConfig": {
"AgentString": "'User-Agent' used when communicating with Sia/SiaPrime's API.",
"ApiPassword": "Password used when communicating with Sia/SiaPrime's API.\n\nThis is not the same as your wallet's password, so please do not enter it here. Sia/SiaPrime typically auto-generate this value. It is exclusively used for API authentication purposes.",
"ApiPort": "API port used to connect to Sia/SiaPrime's daemon.",
"HostNameOrIp": "IP address or host name of Sia/SiaPrime daemon.",
"TimeoutMs": "Number of milliseconds to wait for Sia/SiaPrime API responses before timing out."
"AgentString": "'User-Agent' used when communicating with Sia/ScPrime's API.",
"ApiPassword": "Password used when communicating with Sia/ScPrime's API.\n\nThis is not the same as your wallet's password, so please do not enter it here. Sia/ScPrime typically auto-generate this value. It is exclusively used for API authentication purposes.",
"ApiPort": "API port used to connect to Sia/ScPrime's daemon.",
"HostNameOrIp": "IP address or host name of Sia/ScPrime daemon.",
"TimeoutMs": "Number of milliseconds to wait for Sia/ScPrime API responses before timing out."
},
"Settings": {
"ApiAuth": "Password used to communicate with Repertory's API. Auto-generated by default.",
@@ -20,9 +20,9 @@
"EvictionDelayMinutes": "Number of minutes to wait after all file handles are closed before allowing file to be evicted from cache.",
"MaxCacheSizeBytes": "This value specifies the maximum amount of local space to consume before files are removed from cache. EnableMaxCacheSize must also be set to true for this value to take affect.",
"MinimumRedundancy": "Files are elected for removal once this value has been reached. Be aware that this value cannot be set to less than 1.5x.",
"OnlineCheckRetrySeconds": "Number of seconds to wait for Sia/SiaPrime daemon to become available/connectable.",
"OnlineCheckRetrySeconds": "Number of seconds to wait for Sia/ScPrime daemon to become available/connectable.",
"OrphanedFileRetentionDays": "Repertory attempts to keep modifications between Sia-UI and the mounted location in sync as much as possible. In the event a file is removed from Sia-UI, it will be marked as orphaned in Repertory and moved into an 'orphaned' directory within Repertory's data directory. This setting specifies the number of days this file is retained before final deletion.",
"PreferredDownloadType": "Repertory supports 3 download modes for reading files that are not cached locally: full file allocation, ring buffer mode and direct mode.\n\nFull file allocation mode pre-allocates the entire file prior to downloading. This mode is required for writes but also ensures the best performance when reading data.\n\nRing buffer mode utilizes a fixed size file buffer to enable a reasonable amount of seeking. This alleviates the need to fully allocate a file. By default, it is 512MiB. When the buffer is full, it attempts to maintain the ability to seek 50% ahead or behind the current read location without the need to re-download data from Sia/SiaPrime.\n\nDirect mode utilizes no disk space. All data is read directly from Sia/SiaPrime.\n\nPreferred download type modes are:\n\nFallback - If there isn't enough local space to allocate the full file, ring buffer mode is used. If there isn't enough local space to create the ring buffer's file, then direct mode is used.\nRingBuffer - Full file allocation is always bypassed; however, if there isn't enough space to create the ring buffer's file, then direct mode will be chosen.\nDirect - All files will be read directly from Sia/SiaPrime.",
"PreferredDownloadType": "Repertory supports 3 download modes for reading files that are not cached locally: full file allocation, ring buffer mode and direct mode.\n\nFull file allocation mode pre-allocates the entire file prior to downloading. This mode is required for writes but also ensures the best performance when reading data.\n\nRing buffer mode utilizes a fixed size file buffer to enable a reasonable amount of seeking. This alleviates the need to fully allocate a file. By default, it is 512MiB. When the buffer is full, it attempts to maintain the ability to seek 50% ahead or behind the current read location without the need to re-download data from Sia/ScPrime.\n\nDirect mode utilizes no disk space. All data is read directly from Sia/ScPrime.\n\nPreferred download type modes are:\n\nFallback - If there isn't enough local space to allocate the full file, ring buffer mode is used. If there isn't enough local space to create the ring buffer's file, then direct mode is used.\nRingBuffer - Full file allocation is always bypassed; however, if there isn't enough space to create the ring buffer's file, then direct mode will be chosen.\nDirect - All files will be read directly from Sia/ScPrime.",
"ReadAheadCount": "This value specifies the number of read-ahead chunks to use when downloading a file. This is a per-open file setting and will result in the creation of an equal number of threads.",
"RingBufferFileSize": "The size of the ring buffer file in MiB. Default is 512. Valid values are: 64, 128, 256, 512, 1024."
}

View File

@@ -50,12 +50,12 @@ exports.DATA_LOCATIONS = {
exports.PROVIDER_LIST = [
'Sia',
'SiaPrime'
'ScPrime'
];
exports.PROVIDER_ARG = {
sia: '',
siaprime: '-sp'
scprime: '-sp'
};
exports.RELEASE_TYPES = [

View File

@@ -28,7 +28,7 @@ if (ipcRenderer) {
store.dispatch(setActiveRelease(arg.data.Release, arg.data.Version));
for (const provider of Constants.PROVIDER_LIST) {
let state = arg.data[provider] || this.props.ProviderState[provider];
let state = arg.data[provider] || store.getState().mounts.ProviderState[provider];
if (state.AutoMount === undefined) {
state['AutoMount'] = false;
}