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

Compare commits

...

10 Commits

Author SHA1 Message Date
Girish Ramakrishnan
a5a91b09c8 Version 1.0.4 2018-06-07 09:26:24 -07:00
Girish Ramakrishnan
91335ebc70 Update syncthing to 0.14.48 2018-06-07 09:21:41 -07:00
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
Girish Ramakrishnan
d99a39a0e5 Version 1.0.2 2018-04-08 00:12:35 -07:00
Girish Ramakrishnan
ab3a81a67b update package.json 2018-04-08 00:11:57 -07:00
Girish Ramakrishnan
8e5306db31 install chromedriver 2018-04-06 17:02:37 -07:00
Girish Ramakrishnan
e73991042d Update syncthing to 0.14.46 2018-04-06 17:01:24 -07:00
6 changed files with 33 additions and 14 deletions

View File

@@ -75,3 +75,12 @@
* #4689: Ignore patterns in web UI aren't reloaded if only comments change
* #4701: Global is different from local state when ignoring files
[1.0.2]
* Update Syncthing to version 0.14.46
[1.0.3]
* Update Syncthing to version 0.14.47
[1.0.4]
* Update Syncthing to version 0.14.48

View File

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

View File

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

@@ -1,7 +1,7 @@
FROM cloudron/base:0.10.0
MAINTAINER Syncthing Developers <support@cloudron.io>
ENV VERSION 0.14.45
ENV VERSION 0.14.48
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

@@ -2,21 +2,23 @@
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"main": "test.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^2.31.0",
"ejs": "^2.4.2",
"devDependencies": {
"ejs": "^2.3.4",
"expect.js": "^0.3.1",
"mkdirp": "^0.5.1",
"mocha": "^2.5.3",
"rimraf": "^2.5.3",
"selenium-server-standalone-jar": "^2.53.1",
"selenium-webdriver": "^2.53.1",
"superagent": "^1.8.5"
"mocha": "^2.3.4",
"rimraf": "^2.4.4",
"selenium-server-standalone-jar": "^2.53.0",
"selenium-webdriver": "^2.53.3",
"superagent": "^1.4.0"
},
"dependencies": {
"chromedriver": "^2.37.0"
}
}

View File

@@ -2,6 +2,8 @@
'use strict';
require('chromedriver');
var execSync = require('child_process').execSync,
expect = require('expect.js'),
superagent = require('superagent'),
@@ -44,7 +46,7 @@ describe('Application life cycle test', function () {
var LOCATION = 'test';
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 app;
@@ -87,12 +89,18 @@ describe('Application life cycle test', function () {
return browser.findElement(by.css('[ng-click*=addFolder]')).click();
}).then(function () {
return visible(by.id('folderPath'));
}).then(function () {
return browser.sleep(4000); // wait more, not sure why this is needed
}).then(function() {
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() {
return browser.findElement(by.css('[ng-click*=saveFolder]')).click();
}).then(function() {
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() {
callback();
});
@@ -100,7 +108,7 @@ describe('Application life cycle test', function () {
function checkFolder(callback) {
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 () {
callback();
});