Skip to content

Commit

Permalink
Merge pull request #30 from bondrogeen/master
Browse files Browse the repository at this point in the history
Receive and save the latest media files.
  • Loading branch information
GermanBluefox authored Jan 30, 2018
2 parents 737d29e + a04a34a commit 5931afd
Show file tree
Hide file tree
Showing 3 changed files with 204 additions and 45 deletions.
22 changes: 22 additions & 0 deletions admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,18 @@
"en": "This text will be sent to clients by stopping of bot",
"de": "Dieser Text wird beim Anhalten vom Bot an die Clients gesendet",
"ru": "Этот текст будет послан всем клиентам при остановке бота"
},
"Save media files:": {"en": "Save media files:", "de": "Mediendateien speichern:", "ru": "Сохранить медиа файлы:"},
"Save media files": {
"en": "Save all received files to the file system",
"de": "Speichern Sie alle empfangenen Dateien im Dateisystem",
"ru": "Сохранить все полученные файлы в файловую систему"
},
"Path:": {"en": "Path:", "de": "Pfad:", "ru": "Путь:"},
"The path where files will be stored": {
"en": "The path where files will be stored",
"de": "Der Pfad, in dem Dateien gespeichert werden",
"ru": "Путь где будут храниться файлы"
}
};

Expand Down Expand Up @@ -292,6 +304,16 @@
<td><input id="rememberUsers" class="value" type="checkbox"/></td>
<td class="translate help">Remember authenticated users</td>
</tr>
<tr>
<td class="translate">Save media files:</td>
<td><input id="saveFiles" class="value" type="checkbox"/></td>
<td class="translate help">Save media files</td>
</tr>
<tr>
<td class="translate">Path:</td>
<td><input id="path" class="value inputStyle" /></td>
<td class="translate help">The path where files will be stored</td>
</tr>
<tr>
<td colspan='3'><h4 class="translate" style="width: 90%">Texts</h4></td>
</tr>
Expand Down
12 changes: 12 additions & 0 deletions io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,18 @@
"write": false
},
"native": {}
},
{
"_id": "communicate.pathFile",
"type": "state",
"common": {
"role": "text",
"name": "The path to the last file received",
"type": "string",
"read": true,
"write": false
},
"native": {}
}
]
}
Loading

0 comments on commit 5931afd

Please sign in to comment.