From ca957ee39bf0520a852131b069ab42fec69a9e51 Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Tue, 22 Aug 2017 16:23:16 +0200 Subject: [PATCH] upgrade to v0.4.5 --- lg/membersCount_en.txt | 5 ++++- lg/membersCount_fr.txt | 5 ++++- package.json | 6 +++--- readme.md | 6 +++--- routes/membersCount.js | 2 +- views/about.html | 2 +- 6 files changed, 16 insertions(+), 10 deletions(-) diff --git a/lg/membersCount_en.txt b/lg/membersCount_en.txt index ffe695c..6284013 100755 --- a/lg/membersCount_en.txt +++ b/lg/membersCount_en.txt @@ -17,4 +17,7 @@ Afficher l'évolution de la difficulté commune du réseau (preuve de travail) MEMBERS_COUNT members SENTRIES_COUNT referring* members ISSUERS_COUNT Members co-writers blockchain -POW_MIN Common difficulty network (proof of work) \ No newline at end of file +POW_MIN Common difficulty network (proof of work) +MAX max +POINTS points +REGULATE_BY_ADAPTING regulate by adapting \ No newline at end of file diff --git a/lg/membersCount_fr.txt b/lg/membersCount_fr.txt index 1c0a036..5605b8e 100755 --- a/lg/membersCount_fr.txt +++ b/lg/membersCount_fr.txt @@ -16,4 +16,7 @@ SHOW_POW_MIN Afficher l'évolution de la difficulté commune du réseau (preuve MEMBERS_COUNT Membres SENTRIES_COUNT Membres référents* ISSUERS_COUNT Membres co-écrivains de la blockchain Ğ1 -POW_MIN Difficulté commune du réseau (preuve de travail) \ No newline at end of file +POW_MIN Difficulté commune du réseau (preuve de travail) +MAX max +POINTS points +REGULATE_BY_ADAPTING réguler en adaptant \ No newline at end of file diff --git a/package.json b/package.json index 650d282..5f5bb04 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "duniter-currency-monit", - "version": "0.4.4", + "version": "0.4.5", "main": "index.js", "license": "AGPLv3", "dependencies": { @@ -16,10 +16,10 @@ "request-promise": "4.2.0" }, "devDependencies": { - "duniter": "1.4.15", + "duniter": "1.5.4", "duniter-prover": "1.4.x" }, "peerDependencies": { - "duniter": "1.4.15" + "duniter": "1.5.4" } } diff --git a/readme.md b/readme.md index 6a7fe38..91ee838 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # Currency-Monit Module -Requires Duniter 1.4.15 or higher +Requires Duniter 1.5.4 or higher ## Installation @@ -11,7 +11,7 @@ Requires Duniter 1.4.15 or higher 1. go to localhost:9220/#/main/settings/modules and at the foot of page enter: ```bash -https://github.com/duniter/duniter-currency-monit/archive/0.4.x.tar.gz +duniter-currency-monit@0.4.5 ``` then clik to button INSTALL THIS MODULE @@ -24,7 +24,7 @@ then clik to button INSTALL THIS MODULE 2. plug the plugin to your duniter node: ```bash -duniter plug https://github.com/duniter/duniter-currency-monit/archive/0.4.x.tar.gz +duniter plug duniter-currency-monit@0.4.5 ``` 3. Stop your duniter node and restart it in the following method: diff --git a/routes/membersCount.js b/routes/membersCount.js index ada13f4..b698545 100755 --- a/routes/membersCount.js +++ b/routes/membersCount.js @@ -194,7 +194,7 @@ module.exports = (req, res, next) => co(function *() { <option name="stepUnit" value ="weeks" ${cache.stepUnit == 'weeks' ? 'selected' : ''}>${LANG["WEEKS"]} <option name="stepUnit" value ="months" ${cache.stepUnit == 'months' ? 'selected' : ''}>${LANG["MONTHS"]} <option name="stepUnit" value ="years" ${cache.stepUnit == 'years' ? 'selected' : ''}>${LANG["YEARS"]} - </select> - max <input type="number" name="nbMaxPoints" value="${cache.nbMaxPoints}" min="1" size="4" style="width:50px;"> points (réguler en adaptant + </select> - ${LANG["MAX"]} <input type="number" name="nbMaxPoints" value="${cache.nbMaxPoints}" min="1" size="4" style="width:50px;"> ${LANG["POINTS"]} (${LANG["REGULATE_BY_ADAPTING"]} <select name="adaptMaxPoints"> <option name="adaptMaxPoints" value ="begin"> ${LANG["BEGIN"]} <option name="adaptMaxPoints" value ="step" ${cache.adaptMaxPoints == 'step' ? 'selected' : ''}> ${LANG["STEP"]} diff --git a/views/about.html b/views/about.html index 0e97ea6..a04396e 100755 --- a/views/about.html +++ b/views/about.html @@ -7,7 +7,7 @@ ${(host.substr(host.length-6,6) == '.onion') ? HTML_TOR_HEAD:HTML_HEAD} ${printMenu(MENU_LANG, help, "ABOUT")} </form> -<div align="left">${LANG['VERSION']} : <a href="https://github.com/duniter/duniter-currency-monit/releases/tag/0.4.x">0.4.x-dev</a></div><br> +<div align="left">${LANG['VERSION']} : <a href="https://github.com/duniter/duniter-currency-monit/releases/tag/0.4.5">0.4.5</a></div><br> <div align="left">${LANG['AUTHOR']} : <a href="https://github.com/librelois">Éloïs Librelois</a></div><br> <div align="left"><small>${LANG['CONTRIBUTORS']}: <a href="https://github.com/jytou">jytou</a> (translator), <a href="https://github.com/devingfx">devingfx</a> (frontend), <a href="https://github.com/c-geek">cgeek</a> (willMembers and wotex),<a href="https://github.com/M5oul">M5oul</a> (adjustments)</small></div><br> <div align="left"> -- GitLab