1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2025-09-13 16:29:09 +00:00

Compare commits

..

4 Commits

Author SHA1 Message Date
Girish Ramakrishnan
c0ba039523 Version 1.0.3 2018-05-02 13:33:56 -07:00
Girish Ramakrishnan
9f78b41ca2 make the tests work 2018-05-02 13:33:07 -07:00
Girish Ramakrishnan
5c2828f669 Fix paranthesis 2018-05-02 13:22:27 -07:00
Girish Ramakrishnan
391419d9f4 Update syncthing to 0.14.47 2018-05-02 13:10:39 -07:00
5 changed files with 14 additions and 5 deletions

View File

@@ -78,3 +78,6 @@
[1.0.2] [1.0.2]
* Update Syncthing to version 0.14.46 * Update Syncthing to version 0.14.46
[1.0.3]
* Update Syncthing to version 0.14.47

View File

@@ -5,7 +5,7 @@
"description": "file://DESCRIPTION.md", "description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG", "changelog": "file://CHANGELOG",
"tagline": "Decentralized file synchronization", "tagline": "Decentralized file synchronization",
"version": "1.0.2", "version": "1.0.3",
"healthCheckPath": "/healthcheck", "healthCheckPath": "/healthcheck",
"httpPort": 8000, "httpPort": 8000,
"addons": { "addons": {

View File

@@ -1,4 +1,4 @@
This app packages Syncthing <upstream>v0.14.46</upstream>. This app packages Syncthing <upstream>v0.14.47</upstream>.
Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet. Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.

View File

@@ -1,7 +1,7 @@
FROM cloudron/base:0.10.0 FROM cloudron/base:0.10.0
MAINTAINER Syncthing Developers <support@cloudron.io> MAINTAINER Syncthing Developers <support@cloudron.io>
ENV VERSION 0.14.46 ENV VERSION 0.14.47
RUN mkdir -p /app/code \ RUN mkdir -p /app/code \
&& wget https://github.com/syncthing/syncthing/releases/download/v${VERSION}/syncthing-linux-amd64-v${VERSION}.tar.gz -O - \ && wget https://github.com/syncthing/syncthing/releases/download/v${VERSION}/syncthing-linux-amd64-v${VERSION}.tar.gz -O - \

View File

@@ -46,7 +46,7 @@ describe('Application life cycle test', function () {
var LOCATION = 'test'; var LOCATION = 'test';
var TEST_TIMEOUT = 30000; var TEST_TIMEOUT = 30000;
var FOLDER = 'outerspace'; var FOLDER = 'xmf'; // keep this small. long folder names fail in automation, not sure why
var SYNC_PORT = 22001; var SYNC_PORT = 22001;
var app; var app;
@@ -89,12 +89,18 @@ describe('Application life cycle test', function () {
return browser.findElement(by.css('[ng-click*=addFolder]')).click(); return browser.findElement(by.css('[ng-click*=addFolder]')).click();
}).then(function () { }).then(function () {
return visible(by.id('folderPath')); return visible(by.id('folderPath'));
}).then(function () {
return browser.sleep(4000); // wait more, not sure why this is needed
}).then(function() { }).then(function() {
return browser.findElement(by.id('folderLabel')).sendKeys(FOLDER); return browser.findElement(by.id('folderLabel')).sendKeys(FOLDER);
}).then(function () {
return browser.sleep(4000); // without this sometimes only part of the folder name gets through
}).then(function() { }).then(function() {
return browser.findElement(by.css('[ng-click*=saveFolder]')).click(); return browser.findElement(by.css('[ng-click*=saveFolder]')).click();
}).then(function() { }).then(function() {
return browser.wait(until.elementLocated(by.css('#folders .panel-status span[ng-switch-when=unshared]')), TEST_TIMEOUT); return browser.wait(until.elementLocated(by.css('#folders .panel-status span[ng-switch-when=unshared]')), TEST_TIMEOUT);
}).then(function () {
return browser.sleep(4000);
}).then(function() { }).then(function() {
callback(); callback();
}); });
@@ -102,7 +108,7 @@ describe('Application life cycle test', function () {
function checkFolder(callback) { function checkFolder(callback) {
browser.get('https://' + app.fqdn).then(function () { browser.get('https://' + app.fqdn).then(function () {
return browser.wait(until.elementLocated(by.xpath(`//span[text()="${FOLDER}"]`), TEST_TIMEOUT)); return browser.wait(until.elementLocated(by.xpath(`//span[text()="${FOLDER}"]`)), TEST_TIMEOUT);
}).then(function () { }).then(function () {
callback(); callback();
}); });