mirror of
https://git.cloudron.io/cloudron/freshrss-app
synced 2025-09-22 04:47:37 +00:00
Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9ebdd87f37 | ||
|
4b4560e178 | ||
|
45f13f695f | ||
|
7691695423 | ||
|
083b4fd832 | ||
|
fe944c9238 | ||
|
e26b11a102 | ||
|
91367404fe |
@@ -14,3 +14,7 @@
|
|||||||
[0.4.0]
|
[0.4.0]
|
||||||
* Updated to FreshRSS 1.6.3
|
* Updated to FreshRSS 1.6.3
|
||||||
* Removed most custom patches (FreshRSS includes those now)
|
* Removed most custom patches (FreshRSS includes those now)
|
||||||
|
|
||||||
|
[0.4.1]
|
||||||
|
* Add parameter to allow for encoded slashes (thanks @Richard)
|
||||||
|
* Updated description (thanks @Girish)
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "RSS feed reader",
|
"tagline": "RSS feed reader",
|
||||||
"version": "0.4.0",
|
"version": "0.4.1",
|
||||||
"healthCheckPath": "/",
|
"healthCheckPath": "/",
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
"addons": {
|
"addons": {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
This app packages FreshRSS 1.6.2.
|
This app packages FreshRSS 1.6.3.
|
||||||
|
|
||||||
FreshRSS is a self-hosted RSS feed aggregator such as Leed or Kriss Feed.
|
FreshRSS is a self-hosted RSS feed aggregator such as Leed or Kriss Feed.
|
||||||
|
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
<VirtualHost *:8000>
|
<VirtualHost *:8000>
|
||||||
DocumentRoot /app/code
|
DocumentRoot /app/code
|
||||||
|
AllowEncodedSlashes On
|
||||||
|
|
||||||
ErrorLog /dev/stderr
|
ErrorLog /dev/stderr
|
||||||
CustomLog /dev/stdout combined
|
CustomLog /dev/stdout combined
|
||||||
|
19
test/test.js
19
test/test.js
@@ -118,6 +118,19 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function enableApi(callback) {
|
||||||
|
browser.get('https://' + app.fqdn + '/p/i/?c=auth').then(function () {
|
||||||
|
return browser.findElement(by.id('api_enabled')).click();
|
||||||
|
}).then(function () {
|
||||||
|
return browser.findElement(by.xpath('//form[@action=".?c=auth"]')).submit();
|
||||||
|
}).then(callback);
|
||||||
|
}
|
||||||
|
|
||||||
|
function checkApiConfiguration(callback) {
|
||||||
|
browser.get('https://' + app.fqdn + '/p/api/greader.php/check%2Fcompatibility').then(function () {
|
||||||
|
exists(by.xpath('//pre[text()="PASS"]'), callback);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
xit('build app', function () {
|
xit('build app', function () {
|
||||||
execSync('cloudron build', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
execSync('cloudron build', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
@@ -138,6 +151,8 @@ describe('Application life cycle test', function () {
|
|||||||
it('can login', login);
|
it('can login', login);
|
||||||
it('can subscribe', addSubscription);
|
it('can subscribe', addSubscription);
|
||||||
it('can add users', addUser);
|
it('can add users', addUser);
|
||||||
|
it('can enable API', enableApi);
|
||||||
|
it('can check configuration', checkApiConfiguration);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
|
|
||||||
it('backup app', function () {
|
it('backup app', function () {
|
||||||
@@ -149,17 +164,19 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('can login', login);
|
it('can login', login);
|
||||||
|
it('can check configuration', checkApiConfiguration);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
|
|
||||||
it('move to different location', function () {
|
it('move to different location', function () {
|
||||||
browser.manage().deleteAllCookies();
|
browser.manage().deleteAllCookies();
|
||||||
execSync('cloudron configure --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
execSync('cloudron configure --wait --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
var inspect = JSON.parse(execSync('cloudron inspect'));
|
var inspect = JSON.parse(execSync('cloudron inspect'));
|
||||||
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
|
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
|
||||||
expect(app).to.be.an('object');
|
expect(app).to.be.an('object');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can login', login);
|
it('can login', login);
|
||||||
|
it('can check configuration', checkApiConfiguration);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
|
|
||||||
it('uninstall app', function () {
|
it('uninstall app', function () {
|
||||||
|
Reference in New Issue
Block a user