mirror of
https://git.cloudron.io/cloudron/gitea-app
synced 2025-09-26 15:07:25 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1b15db85e3 | ||
|
d37044f8e0 |
13
CHANGELOG
13
CHANGELOG
@@ -174,3 +174,16 @@
|
|||||||
* Emoji Autocomplete (#3433)
|
* Emoji Autocomplete (#3433)
|
||||||
* Implements generator cli for secrets (#3531)
|
* Implements generator cli for secrets (#3531)
|
||||||
|
|
||||||
|
[1.6.1]
|
||||||
|
* Update Gitea to 1.5.1
|
||||||
|
* Security
|
||||||
|
* Don't disclose emails of all users when sending out emails (#4784)
|
||||||
|
* Improve URL validation for external wiki and external issues (#4710) (#4740)
|
||||||
|
* Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706) (#4707)
|
||||||
|
* Bugfixes
|
||||||
|
* Fix missing release title in webhook (#4783) (#4800)
|
||||||
|
* Make sure to reset commit count in the cache on mirror syncing (#4770)
|
||||||
|
* Fixed bug where team with admin privelege type doesn't get any unit (#4759)
|
||||||
|
* Fix failure on creating pull request with assignees (#4583) (#4727)
|
||||||
|
* Hide org/create menu item in Dashboard if user has no rights (#4678) (#4686)
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
"author": "Gitea developers",
|
"author": "Gitea developers",
|
||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"tagline": "A painless self-hosted Git Service",
|
"tagline": "A painless self-hosted Git Service",
|
||||||
"version": "1.6.0",
|
"version": "1.6.1",
|
||||||
"healthCheckPath": "/healthcheck",
|
"healthCheckPath": "/healthcheck",
|
||||||
"httpPort": 3000,
|
"httpPort": 3000,
|
||||||
"addons": {
|
"addons": {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
This app packages Gitea <upstream>1.5.0</upstream>
|
This app packages Gitea <upstream>1.5.1</upstream>
|
||||||
|
|
||||||
Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket or Gitlab.
|
Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket or Gitlab.
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
FROM cloudron/base:0.10.0
|
FROM cloudron/base:0.10.0
|
||||||
|
|
||||||
ENV VERSION 1.5.0
|
ENV VERSION 1.5.1
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y openssh-server git && \
|
apt-get install -y openssh-server git && \
|
||||||
|
43
test/test.js
43
test/test.js
@@ -234,8 +234,8 @@ return done();
|
|||||||
|
|
||||||
function addCustomFile(done) {
|
function addCustomFile(done) {
|
||||||
fs.writeFileSync('/tmp/customfile.txt', 'GOGS TEST', 'utf8');
|
fs.writeFileSync('/tmp/customfile.txt', 'GOGS TEST', 'utf8');
|
||||||
execSync('cloudron exec -- mkdir -p /app/data/custom/public');
|
execSync(`cloudron exec --app ${app.id} -- mkdir -p /app/data/custom/public`);
|
||||||
execSync('cloudron push /tmp/customfile.txt /app/data/custom/public/customfile.txt');
|
execSync(`cloudron push --app ${app.id} /tmp/customfile.txt /app/data/custom/public/customfile.txt`);
|
||||||
fs.unlinkSync('/tmp/customfile.txt');
|
fs.unlinkSync('/tmp/customfile.txt');
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
@@ -351,12 +351,17 @@ return done();
|
|||||||
it('can clone the url', cloneRepo);
|
it('can clone the url', cloneRepo);
|
||||||
it('file exists in repo', function () { expect(fs.existsSync(repodir + '/newfile')).to.be(true); });
|
it('file exists in repo', function () { expect(fs.existsSync(repodir + '/newfile')).to.be(true); });
|
||||||
|
|
||||||
it('move to different location', function () {
|
it('move to different location', function (done) {
|
||||||
//browser.manage().deleteAllCookies(); // commented because of error "'Network.deleteCookie' wasn't found"
|
//browser.manage().deleteAllCookies(); // commented because of error "'Network.deleteCookie' wasn't found"
|
||||||
execSync('cloudron configure --wait --location ' + LOCATION + '2 --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
// ensure we don't hit NXDOMAIN in the mean time
|
||||||
var inspect = JSON.parse(execSync('cloudron inspect'));
|
browser.get('about:blank').then(function () {
|
||||||
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
|
execSync('cloudron configure --wait --location ' + LOCATION + '2 --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
expect(app).to.be.an('object');
|
var inspect = JSON.parse(execSync('cloudron inspect'));
|
||||||
|
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
|
||||||
|
expect(app).to.be.an('object');
|
||||||
|
|
||||||
|
done();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can login', login);
|
it('can login', login);
|
||||||
@@ -365,8 +370,12 @@ return done();
|
|||||||
it('can clone the url', cloneRepo);
|
it('can clone the url', cloneRepo);
|
||||||
it('file exists in repo', function () { expect(fs.existsSync(repodir + '/newfile')).to.be(true); });
|
it('file exists in repo', function () { expect(fs.existsSync(repodir + '/newfile')).to.be(true); });
|
||||||
|
|
||||||
it('uninstall app', function () {
|
it('uninstall app', function (done) {
|
||||||
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
// ensure we don't hit NXDOMAIN in the mean time
|
||||||
|
browser.get('about:blank').then(function () {
|
||||||
|
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
|
done();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// check if the _first_ login via email succeeds
|
// check if the _first_ login via email succeeds
|
||||||
@@ -379,8 +388,12 @@ return done();
|
|||||||
|
|
||||||
login(function (error) {
|
login(function (error) {
|
||||||
if (error) return done(error);
|
if (error) return done(error);
|
||||||
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
|
||||||
done();
|
// ensure we don't hit NXDOMAIN in the mean time
|
||||||
|
browser.get('about:blank').then(function () {
|
||||||
|
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
|
done();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -408,7 +421,11 @@ return done();
|
|||||||
it('can clone the url', cloneRepo);
|
it('can clone the url', cloneRepo);
|
||||||
it('file exists in cloned repo', fileExists);
|
it('file exists in cloned repo', fileExists);
|
||||||
|
|
||||||
it('uninstall app', function () {
|
it('uninstall app', function (done) {
|
||||||
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
// ensure we don't hit NXDOMAIN in the mean time
|
||||||
|
browser.get('about:blank').then(function () {
|
||||||
|
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
|
done();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user