1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2025-09-14 08:49:08 +00:00

Compare commits

..

8 Commits

Author SHA1 Message Date
Girish Ramakrishnan
4af07bb9b9 Version 0.3.0 2017-07-28 15:44:37 -07:00
Girish Ramakrishnan
303a00f082 Update to 0.14.33 2017-07-28 15:43:48 -07:00
Girish Ramakrishnan
c3533569c1 encode the password 2017-07-28 15:36:51 -07:00
Girish Ramakrishnan
06a75583e8 fix promise usage 2017-07-28 15:35:45 -07:00
Girish Ramakrishnan
b413b5d43a Merge branch 'update_to_0_14_32' into 'master'
Update to 0 14 32

See merge request !1
2017-07-20 16:55:43 +00:00
Girish Ramakrishnan
5377c0180c Version 0.2.5 2017-07-15 21:54:00 -05:00
Girish Ramakrishnan
f3a6e7b69e Update to 0.14.32 2017-07-15 21:53:29 -05:00
Dennis Schwerdel
7620eec7b6 Updated to new upstream version 2017-06-27 10:20:37 +02:00
5 changed files with 50 additions and 32 deletions

View File

@@ -24,3 +24,13 @@
[0.2.3]
* Updated to version 0.14.30
[0.2.4]
* Updated to version 0.14.31
[0.2.5]
* Updated to version 0.14.32
[0.3.0]
* Updated to version 0.14.33

View File

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

View File

@@ -1,4 +1,4 @@
This app packages Syncthing <upstream>v0.14.30</upstream>.
This app packages Syncthing <upstream>v0.14.33</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.

View File

@@ -28,7 +28,7 @@ RUN ./configure \
--build=cloudron-river
RUN make install
ENV VERSION 0.14.30
ENV VERSION 0.14.33
RUN mkdir -p /app/code \
&& wget https://github.com/syncthing/syncthing/releases/download/v${VERSION}/syncthing-linux-amd64-v${VERSION}.tar.gz -O - \

View File

@@ -62,17 +62,21 @@ describe('Application life cycle test', function () {
}
function loadPage(callback) {
browser.manage().deleteAllCookies();
browser.get('https://' + username + ':' + password + '@' + app.fqdn);
pageLoaded().then(function() {
browser.manage().deleteAllCookies().then(function () {
return browser.get('https://' + username + ':' + encodeURIComponent(password) + '@' + app.fqdn);
}).then(function () {
return pageLoaded();
}).then(function () {
callback();
});
}
function addFolder(callback) {
pageLoaded().then(function() {
browser.findElement(by.css('[ng-click*=addFolder]')).click();
return visible(by.id('folderPath')).then(function() {
return browser.findElement(by.css('[ng-click*=addFolder]')).click();
}).then(function () {
return visible(by.id('folderPath'));
}).then(function() {
return browser.findElement(by.id('folderLabel')).sendKeys('test');
}).then(function () {
return browser.findElement(by.id('folderPath')).sendKeys('/app/data/test');
@@ -88,21 +92,25 @@ describe('Application life cycle test', function () {
}).then(function() {
callback();
});
});
}
function removeFolder(callback) {
browser.get('https://' + username + ':' + password + '@' + app.fqdn);
pageLoaded().then(function() {
browser.findElement(by.css('#folders button')).click();
setTimeout(function() {
browser.findElement(by.css('#folder-0 button[ng-click*=editFolder]')).click();
setTimeout(function() {
browser.findElement(by.css('[ng-click*=deleteFolder]')).click().then(function() {
setTimeout(callback, 1000); //This needs to run for some time
});
}, 1000); //No way to check for visibility of angular-js components
}, 1000); //No way to check for visibility of angular-js components
browser.get('https://' + username + ':' + encodeURIComponent(password) + '@' + app.fqdn).then(function () {
return pageLoaded();
}).then(function() {
return browser.findElement(by.css('#folders button')).click();
}).then(function () {
return browser.sleep(1000); //No way to check for visibility of angular-js components
}).then(function () {
return browser.findElement(by.css('#folder-0 button[ng-click*=editFolder]')).click();
}).then(function () {
return browser.sleep(1000); //No way to check for visibility of angular-js components
}).then(function () {
return browser.findElement(by.css('[ng-click*=deleteFolder]')).click();
}).then(function () {
return browser.sleep(1000); //This needs to run for some time
}).then(function () {
callback();
});
}