Version 0.7.1
This commit is contained in:
@@ -107,3 +107,6 @@
|
|||||||
[0.7.0]
|
[0.7.0]
|
||||||
* Set turn_uris to an array and not a string
|
* Set turn_uris to an array and not a string
|
||||||
|
|
||||||
|
[0.7.1]
|
||||||
|
* Users will now automatically join the #discuss channel (only in new installations)
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Secure & decentralized communication",
|
"tagline": "Secure & decentralized communication",
|
||||||
"version": "0.7.0",
|
"version": "0.7.1",
|
||||||
"healthCheckPath": "/",
|
"healthCheckPath": "/",
|
||||||
"httpPort": 8008,
|
"httpPort": 8008,
|
||||||
"memoryLimit": 536870912,
|
"memoryLimit": 536870912,
|
||||||
|
|||||||
11
test/test.js
11
test/test.js
@@ -75,6 +75,16 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function checkAutoJoinRoom(done) {
|
||||||
|
superagent.get('https://' + app.fqdn + '/_matrix/client/r0/joined_rooms?access_token=' + token).end(function (error, result) {
|
||||||
|
if (error) return done(error);
|
||||||
|
if (result.statusCode !== 200) return done(new Error('Room listing failed with status ' + result.statusCode));
|
||||||
|
|
||||||
|
if (result.body.joined_rooms.length !== 1) return done(new Error('User must have auto-joined discuss channel:' + result.statusCode));
|
||||||
|
done();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
function createRoom(done) {
|
function createRoom(done) {
|
||||||
superagent.post('https://' + app.fqdn + '/_matrix/client/r0/createRoom?access_token=' + token).send({
|
superagent.post('https://' + app.fqdn + '/_matrix/client/r0/createRoom?access_token=' + token).send({
|
||||||
room_alias_name: 'general'
|
room_alias_name: 'general'
|
||||||
@@ -118,6 +128,7 @@ describe('Application life cycle test', function () {
|
|||||||
|
|
||||||
it('check landing page', checkLandingPage);
|
it('check landing page', checkLandingPage);
|
||||||
it('can login', checkLogin);
|
it('can login', checkLogin);
|
||||||
|
it('check autojoin', checkAutoJoinRoom);
|
||||||
it('create room', createRoom);
|
it('create room', createRoom);
|
||||||
it('check room', checkRoom);
|
it('check room', checkRoom);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user