Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Cesium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
Cesium-grp
Cesium
Commits
b25f2aab
Commit
b25f2aab
authored
8 years ago
by
Benoit Lavenier
Browse files
Options
Downloads
Patches
Plain Diff
do NOT use relative unit by default, in Settings - fix
#351
parent
4aef3e51
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/config.json
+1
-1
1 addition, 1 deletion
app/config.json
doc/configuration.md
+2
-2
2 additions, 2 deletions
doc/configuration.md
www/js/services/settings-services.js
+2
-1
2 additions, 1 deletion
www/js/services/settings-services.js
with
5 additions
and
4 deletions
app/config.json
+
1
−
1
View file @
b25f2aab
...
...
@@ -46,7 +46,7 @@
"timeWarningExpireMembership"
:
5184000
,
"timeWarningExpire"
:
7776000
,
"useLocalStorage"
:
true
,
"useRelative"
:
tru
e
,
"useRelative"
:
fals
e
,
"initPhase"
:
true
,
"expertMode"
:
false
,
"decimalCount"
:
4
,
...
...
This diff is collapsed.
Click to expand it.
doc/configuration.md
+
2
−
2
View file @
b25f2aab
...
...
@@ -18,7 +18,7 @@ angular.module("cesium.config", [])
"
timeWarningExpireMembership
"
:
5184000
,
"
timeWarningExpire
"
:
7776000
,
"
useLocalStorage
"
:
true
,
"
useRelative
"
:
tru
e
,
"
useRelative
"
:
fals
e
,
"
initPhase
"
:
false
,
"
expertMode
"
:
false
,
"
decimalCount
"
:
4
,
...
...
@@ -129,7 +129,7 @@ rememberMe | Default value of the 'Remember me' button, in the
showUDHistory | Should display UD history in the transaction history ? |
`false`
showLoginSalt | Should display salt value (pass phrase) in the login screen. If
`false`
, masked. |
`false`
useLocalStorage | Enable data storage (settings, credentials, cache) in the browser local storage ? |
`true`
useRelative | Should use
r
relative unit by default ?
|
`tru
e`
useRelative | Should use relative unit
(UD)
by default ?
|
`fals
e`
wallet.showPubkey | Should display pubkey and uid in 'My account' screen ? |
`true`
wallet.notificationReadTime | Time (in second) since the last notification read. |
`0`
(never read)
...
...
This diff is collapsed.
Click to expand it.
www/js/services/settings-services.js
+
2
−
1
View file @
b25f2aab
...
...
@@ -44,7 +44,7 @@ angular.module('cesium.settings.services', ['ngResource', 'ngApi', 'cesium.confi
defaultSettings
=
angular
.
merge
({
timeout
:
4000
,
cacheTimeMs
:
60000
,
/*1 min*/
useRelative
:
tru
e
,
useRelative
:
fals
e
,
timeWarningExpireMembership
:
2592000
*
2
/*=2 mois*/
,
timeWarningExpire
:
2592000
*
3
/*=3 mois*/
,
useLocalStorage
:
Device
.
enable
,
// on mobile device, use local storage by default
...
...
@@ -57,6 +57,7 @@ angular.module('cesium.settings.services', ['ngResource', 'ngApi', 'cesium.confi
expertMode
:
false
,
decimalCount
:
4
,
forceNetworkViewToHttp
:
false
,
uiEffects
:
true
,
newIssueUrl
:
"
https://github.com/duniter/cesium/issues/new?labels=bug
"
,
helptip
:
{
enable
:
true
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment