From ef9b891d35df7fa32e64aa955525a7978e40ba5c Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Wed, 1 Feb 2017 12:54:34 +0100 Subject: [PATCH] fix doc link --- README.md | 11 ++--------- doc/configuration.md | 6 ++++-- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index ae78fc88..ed79eaa5 100644 --- a/README.md +++ b/README.md @@ -66,17 +66,12 @@ To change default configuration: ```js angular.module("cesium.config", []) .constant("csConfig", { - "cacheTimeMs": 60000, "fallbackLanguage": "en", "rememberMe": false, - "showUDHistory": false, - "timeout": 10000, "timeWarningExpireMembership": 5184000, "timeWarningExpire": 7776000, "useLocalStorage": true, "useRelative": true, - "initPhase": false, - "expertMode": false, "decimalCount": 4, "helptip": { "enable": true, @@ -94,8 +89,7 @@ angular.module("cesium.config", []) } }, "version": "0.9.7", - "build": "2017-01-17T08:27:57.915Z", - "newIssueUrl": "https://github.com/duniter/cesium/issues/new?labels=bug" + "build": "2017-01-17T08:27:57.915Z" }); ``` @@ -109,8 +103,7 @@ angular.module("cesium.config", []) * set `plugins.es.enable` with [true|false] to change the default extension state. - * To **remove** the extension (and not only disable by default): remove all content inside the `plugins` tag. - Users will NOT be able to enable the extension. +To learn more about configuration options, see the [detailed documentation](doc/configuration.md). ## License diff --git a/doc/configuration.md b/doc/configuration.md index dd432048..d834f2e4 100644 --- a/doc/configuration.md +++ b/doc/configuration.md @@ -1,5 +1,3 @@ - - # Configuration On a web server or local installation, Cesium use a configuration to set default settings, like default peer, timeout, ... @@ -102,6 +100,7 @@ Option | Description cacheTimeMs | Default network request cache time, in millisecond. | `60000` (1 min). fallbackLanguage | Default locale, if browser default language not exists in Cesium | `en` defaultLanguage | Used to force the default language (ignore browser's language), on user first connection. | =`fallbackLanguage` +decimalCount | Number of decimal to display, on float value (when using relative unit) | `4` helptip.installDocUrl | Used in features tour, for the link 'How-to install my own node'. | URL of [Duniter installation node](https://github.com/duniter/duniter/blob/master/doc/install-a-node.md) initPhase | Enable a special mode, used when currency is NOT initialized (block #0 not written) | `false` newIssueUrl | Used for link in the About screen, to submit new issue | URL of [Cesium issues on GitHub](https://github.com/duniter/cesium/issues/new?labels=bug) @@ -112,6 +111,9 @@ walletHistoryTimeSecond | Default transaction history to load (in second), i walletHistorySliceSecond | Slice size (in second) for downloading transaction history (need for cache optimization) | `432000` (5 days) wallet.alertIfUnusedWallet | Should warn user if account seems to be used ? | `true` +> This default values are defined in [this code](../www/js/services/settings-services.js#L44) + + ### User options This options can be changed by user action (generally using Settings screen, or action buttons). -- GitLab