mirror of
https://git.cloudron.io/cloudron/freshrss-app
synced 2025-09-24 05:47:34 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
48ca54d300 | ||
|
c70b70d6b0 | ||
|
7c098a3236 | ||
|
3338db16f0 |
@@ -313,3 +313,9 @@
|
||||
* New option to automatically add labels to incoming articles
|
||||
* New button to download a feed configuration as OPML
|
||||
|
||||
[1.21.1]
|
||||
* Update FreshRSS to 1.24.1
|
||||
* [Full Changelog](https://github.com/FreshRSS/FreshRSS/releases/tag/1.24.1)
|
||||
* New button to export OMPL of a category
|
||||
* Many bug fixes
|
||||
|
||||
|
@@ -5,8 +5,8 @@
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG.md",
|
||||
"tagline": "RSS feed reader",
|
||||
"version": "1.21.0",
|
||||
"upstreamVersion": "1.24.0",
|
||||
"version": "1.21.1",
|
||||
"upstreamVersion": "1.24.1",
|
||||
"healthCheckPath": "/",
|
||||
"httpPort": 8000,
|
||||
"addons": {
|
||||
|
@@ -5,7 +5,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y libapache2-mod-
|
||||
RUN mkdir -p /app/code
|
||||
WORKDIR /app/code
|
||||
|
||||
ARG VERSION=1.24.0
|
||||
ARG VERSION=1.24.1
|
||||
RUN curl -L https://github.com/FreshRSS/FreshRSS/archive/${VERSION}.tar.gz | tar -zxvf - --strip-components=1 && \
|
||||
mv data data-orig && ln -s /app/data data
|
||||
|
||||
|
14
test/package-lock.json
generated
14
test/package-lock.json
generated
@@ -9,7 +9,7 @@
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^125.0.1",
|
||||
"chromedriver": "^125.0.3",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.4.0",
|
||||
"selenium-webdriver": "^4.21.0",
|
||||
@@ -262,9 +262,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/chromedriver": {
|
||||
"version": "125.0.1",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-125.0.1.tgz",
|
||||
"integrity": "sha512-8cNZTAZV1posaWzVbC0S9MG+Cf3Dq1oGRnr3pSxuKwhO9Jnjjd4/N71VmkUJq7pqk2IedRStbmlkUM/ACn22XA==",
|
||||
"version": "125.0.3",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-125.0.3.tgz",
|
||||
"integrity": "sha512-Qzuk5Wian2o3EVGjtbz6V/jv+pT/AV9246HbG6kUljZXXjsKZLZxqJC+kHR3qEh/wdv4EJD0YwAOWV72v9hogw==",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@testim/chrome-version": "^1.1.4",
|
||||
@@ -2151,9 +2151,9 @@
|
||||
}
|
||||
},
|
||||
"chromedriver": {
|
||||
"version": "125.0.1",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-125.0.1.tgz",
|
||||
"integrity": "sha512-8cNZTAZV1posaWzVbC0S9MG+Cf3Dq1oGRnr3pSxuKwhO9Jnjjd4/N71VmkUJq7pqk2IedRStbmlkUM/ACn22XA==",
|
||||
"version": "125.0.3",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-125.0.3.tgz",
|
||||
"integrity": "sha512-Qzuk5Wian2o3EVGjtbz6V/jv+pT/AV9246HbG6kUljZXXjsKZLZxqJC+kHR3qEh/wdv4EJD0YwAOWV72v9hogw==",
|
||||
"requires": {
|
||||
"@testim/chrome-version": "^1.1.4",
|
||||
"axios": "^1.6.7",
|
||||
|
@@ -9,7 +9,7 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^125.0.1",
|
||||
"chromedriver": "^125.0.3",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.4.0",
|
||||
"selenium-webdriver": "^4.21.0",
|
||||
|
17
test/test.js
17
test/test.js
@@ -77,15 +77,12 @@ describe('Application life cycle test', function () {
|
||||
async function loginOIDC(username, password) {
|
||||
browser.manage().deleteAllCookies();
|
||||
await browser.get(`https://${app.fqdn}/i/`);
|
||||
await browser.sleep(6000);
|
||||
|
||||
if (!athenticated_by_oidc) {
|
||||
await waitForElement(By.xpath('//input[@name="username"]'));
|
||||
await browser.findElement(By.xpath('//input[@name="username"]')).sendKeys(username);
|
||||
await browser.findElement(By.xpath('//input[@name="password"]')).sendKeys(password);
|
||||
await browser.sleep(2000);
|
||||
await browser.findElement(By.xpath('//button[@type="submit" and contains(text(), "Sign in")]')).click();
|
||||
await browser.sleep(2000);
|
||||
await waitForElement(By.id('inputUsername'));
|
||||
await browser.findElement(By.id('inputUsername')).sendKeys(username);
|
||||
await browser.findElement(By.id('inputPassword')).sendKeys(password);
|
||||
await browser.findElement(By.id('loginSubmitButton')).click();
|
||||
|
||||
athenticated_by_oidc = true;
|
||||
}
|
||||
@@ -173,7 +170,7 @@ describe('Application life cycle test', function () {
|
||||
it('can get app information', getAppInfo);
|
||||
|
||||
it('can login OIDC', loginOIDC.bind(null, USERNAME, PASSWORD));
|
||||
it('can make user Administrator', function () { execSync(`cloudron exec --app ${app.id} -- bash -c "php cli/reconfigure.php --default_user ${USERNAME}"`); });
|
||||
it('can make user Administrator', function () { execSync(`cloudron exec --app ${app.id} -- bash -c "php cli/reconfigure.php --default-user ${USERNAME}"`); });
|
||||
it('can subscribe', addSubscription);
|
||||
it('can enable API', enableApi);
|
||||
it('can check configuration', checkApiConfiguration);
|
||||
@@ -215,9 +212,8 @@ describe('Application life cycle test', function () {
|
||||
|
||||
it('can get app information', getAppInfo);
|
||||
it('can login OIDC', loginOIDC.bind(null, USERNAME, PASSWORD));
|
||||
it('can make user Administrator', function () { execSync(`cloudron exec --app ${app.id} -- bash -c "php cli/reconfigure.php --default_user ${USERNAME}"`); });
|
||||
it('can make user Administrator', function () { execSync(`cloudron exec --app ${app.id} -- bash -c "php cli/reconfigure.php --default-user ${USERNAME}"`); });
|
||||
it('can subscribe', addSubscription);
|
||||
it('can add users', addUser.bind(null, 'test', admin_password));
|
||||
|
||||
it('can update', function () {
|
||||
execSync('cloudron update --app ' + app.id, EXEC_ARGS);
|
||||
@@ -226,6 +222,7 @@ describe('Application life cycle test', function () {
|
||||
expect(app).to.be.an('object');
|
||||
});
|
||||
|
||||
it('can add users', addUser.bind(null, 'test', admin_password));
|
||||
it('subscription exists', subscriptionExists);
|
||||
it('can get static extension file', getStaticExtensionFile);
|
||||
|
||||
|
Reference in New Issue
Block a user