${name}
-${statusLabel}
-- by ${lastContributor} -
diff --git a/app/assets/html/mailing/tile.html b/app/assets/html/mailing/tile.html
deleted file mode 100644
index 466515e..0000000
--- a/app/assets/html/mailing/tile.html
+++ /dev/null
@@ -1,42 +0,0 @@
-${name}
- ${statusLabel}
-
- by ${lastContributor}
-
The user ${sender} invites you to ${userMessage}.
- `, - cancelLabel: 'Refuse', - okLabel: 'Accept', - severity: 'danger', - okPromise: () => new Promise((ok,ko)=>ok()) - } - await this.mainCtrl.loadContent('templates/dialogs/ConfirmDialog', options, options) - /* - let result = await this.mainView.confirmDialog({ - title: 'Connexion request', - message: `The user ${sender} invites you to ${userMessage}.
- `, - cancelLabel: 'Refuse', - okLabel: 'Accept', - severity: 'danger', - okPromise: () => new Promise((ok,ko)=>ok()) - }) - - if(result) { - console.log('you said YES') - } - */ - } - - /** - * - * @param {*} hisUid - * @param {*} userMessage - * @param {*} timeout - * @returns {Promise} - */ - getRendezVousChan(hisUid, userMessage, timeout){ - if(!app.MessageBus) return( - - new Promise((resolve, reject) => reject('Cannot rendez-vous without messageBus !')) - ) - - return( - new Promise((resolve, reject) => { - - }) - ) - } - -} - -app.registerClass('MBRendezVous', MBRendezVous); \ No newline at end of file diff --git a/app/libs/Ffs/fakeFileSystem.js b/app/libs/Ffs/fakeFileSystem.js deleted file mode 100644 index 09f9de2..0000000 --- a/app/libs/Ffs/fakeFileSystem.js +++ /dev/null @@ -1,115 +0,0 @@ -class FakeFileSystem { - - constructor() { - this.currentPath='/' - this.path2dir = {} - } - - /* - loadStructure : loads an object like dirname: [ subojbects ] - */ - loadStructure(struct, files) { - this._scanStruct('/', struct, files || []); - } - - _scanStruct(locPath, struct, files){ - this.path2dir[locPath]={ /* assign local files & local folers*/ - files: [...files.filter(item=>{ - let filePath = (item.fullPath.split('/').length>2) ? item.fullPath.substr(0,item.fullPath.lastIndexOf('/')) : '/' - return(filePath==locPath) - })], - folders: [...Object.keys(struct).map(item=> { - let folderPath = (locPath=='/') ? '/'+item: locPath+'/'+item - let childrenFiles = files.filter(item=>(item.object.path==folderPath)) - return({ - name:item, - path: folderPath, - isEmpty:( (Object.keys(struct[item]).length==0) && (childrenFiles.length==0) ) - }) - })] - } - if(locPath!='/') this.path2dir[locPath].folders.unshift({name:'..', path:'..'}) - - this.path2dir[locPath].files.sort((a,b)=>((a.object.name