Skip to content
Snippets Groups Projects
Commit e094544d authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] hide chart on ubuntu build - fix #463

[fix] disable RML9 plugin by default
[enh] complete RML9 tuto
parent dee8272c
No related branches found
No related tags found
No related merge requests found
......@@ -391,6 +391,8 @@ Voici les plus importants :
__Objectif :__ Ce niveau a pour objectif de développer un fonctionnalité d'export des transactions d'un comptes, dans un fichier.
La encore, il s'agit d'une demande réelle (cf ticket #[445](#https://github.com/duniter/cesium/issues/445)).
### Activation du plugin (en version `03`)
Editez le fichier `www/index.html` pour activer cette fois le plugin en version 3 :
......@@ -410,18 +412,21 @@ La communauté AngularJS est très active : de nombreux plugins, de tous genres,
Généralement, installer un nouveau plugin AngularJS est très simple. Il suffit d'executer la commande suivante pour que le téléchargement de la librairie soit fait :
```bower install <nom_du_plugin_AngularJS>````
```bash
> bower install <nom_du_plugin_AngularJS>
```
Le chemin de la librairie installée doit ensuite être ajouté à la main, dans le fichier `www/index.html` :
```html
<script src="lib/ionic/js/angular/angular-file-saver.bundle.js"></script>
```
### 5 min de coding !
### Hop : 5 min de dev !
Allez, une petite fonction facile à coder : le remplissage du fichier ! ;)
Allez, une petite fonction facile à coder : le remplissage du fichier d'export ! ;)
Editez maintenant le code du plugin (version `03`), et identifiez la méthode `onExportButtonClick()` :
Editez maintenant le plugin (en version `03`) et modifier la méthode `onExportButtonClick()` :
```
// [NEW] Manage click on the export button
......@@ -447,13 +452,15 @@ Editez maintenant le code du plugin (version `03`), et identifiez la méthode `o
});
};
```
Il suffit de remplir le tableau nommé `content` :)
## Niveau XVI : Etendre un service
## Niveau XVI :
__Objectif :__ Nous allons voir comment étendre le fonctionnement du code présent dans les services.
__Objectif :__
### Activation du plugin (en version `04`)
......
......@@ -172,7 +172,7 @@
<!--<script src="dist/dist_js/plugins/rml9/plugin.js"></script>-->
<!--<script src="dist/dist_js/plugins/rml9/plugin-01-add_button.js"></script>-->
<!--<script src="dist/dist_js/plugins/rml9/plugin-02-add_view.js"></script>-->
<script src="dist/dist_js/plugins/rml9/plugin-03-export_to_file.js"></script>
<!--<script src="dist/dist_js/plugins/rml9/plugin-03-export_to_file.js"></script>-->
<!--endRemoveIf(no-plugin)-->
......
......@@ -10,33 +10,45 @@ angular.module("cesium.config", [])
.constant("csConfig", {
"cacheTimeMs": 60000,
"fallbackLanguage": "en",
"fallbackLanguage": "fr-FR",
"defaultLanguage": "fr-FR",
"rememberMe": true,
"showUDHistory": false,
"timeout": 10000,
"timeout": 6000,
"timeWarningExpireMembership": 5184000,
"timeWarningExpire": 7776000,
"useLocalStorage": true,
"useRelative": false,
"initPhase": false,
"useRelative": true,
"expertMode": true,
"decimalCount": 2,
"httpsMode": false,
"helptip": {
"enable": false,
"installDocUrl": "https://github.com/duniter/duniter/blob/master/doc/install-a-node.md"
"installDocUrl": {
"fr-FR": "http://www.le-sou.org/devenir-noeud/",
"en": "https://github.com/duniter/duniter/blob/master/doc/install-a-node.md"
}
},
"license": {
"fr-FR": "license/license_g1-fr-FR.txt",
"en": "license/license_g1-en.txt"
},
"node": {
"host": "g1.duniter.org",
"host": "g1.duniter.fr",
"port": "443"
},
"plugins": {
"es": {
"enable": true,
"enable": false,
"askEnable": false,
"host": "localhost",
"port": "9200",
"wsPort": "9400"
"port": 9200,
"wsPort": 9400,
"notifications": {
"txSent": true,
"txReceived": true,
"certSent": true,
"certReceived": true
}
},
"graph": {
"enable": true
......@@ -44,12 +56,13 @@ angular.module("cesium.config", [])
"neo4j": {
"enable": true
},
// Activation du plugin RML9
"rml9": {
"enable": true
}
},
"version": "0.12.6",
"build": "2017-05-23T08:45:46.819Z",
"build": "2017-05-30T09:15:49.818Z",
"newIssueUrl": "https://github.com/duniter/cesium/issues/new?labels=bug"
})
......
......@@ -3,8 +3,12 @@ angular.module('cesium.plugins', [
'cesium.plugins.translations',
'cesium.plugins.templates',
// Plugins
'cesium.es.plugin',
'cesium.graph.plugin',
'cesium.rml9.plugin'
'cesium.es.plugin'
// removeIf(ubuntu)
,'cesium.graph.plugin'
// endRemoveIf(ubuntu)
//,'cesium.rml9.plugin'
])
;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment