Skip to content

Supporting infrastructure for educated decisions on when to upgrade rooms#830

Merged
turt2live merged 3 commits into
experimentalfrom
travis/rver-cap-support
Jan 29, 2019
Merged

Supporting infrastructure for educated decisions on when to upgrade rooms#830
turt2live merged 3 commits into
experimentalfrom
travis/rver-cap-support

Conversation

@turt2live
Copy link
Copy Markdown
Member

@turt2live turt2live commented Jan 28, 2019

Copy link
Copy Markdown
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise lgtm

Comment thread src/models/room.js

const LATEST_ROOM_VERSION = '1';
const KNOWN_SAFE_ROOM_VERSION = '1';
const SAFE_ROOM_VERSIONS = ['1', '2'];
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment on how SAFE_ROOM_VERSIONS and KNOWN_SAFE_ROOM_VERSION feels like it might be useful

@turt2live
Copy link
Copy Markdown
Member Author

The CI builds have been stuck at "Job Received" for nearly 45 minutes now, even after cancelling and restarting. I'm going to assume that adding a comment won't be the end of the world and am merging.

@turt2live turt2live merged commit c60c19a into experimental Jan 29, 2019
@turt2live turt2live deleted the travis/rver-cap-support branch January 29, 2019 18:29
turt2live added a commit to matrix-org/matrix-spec-proposals that referenced this pull request Jan 31, 2019
Original proposals:
* #1753
* #1804

Implementation proof:
* matrix-org/synapse#4472
* matrix-org/matrix-js-sdk#830

There is one change to MSC1753 which is included in this commit. MSC1804 remains unchanged. In the original proposal, the change password capability being present was an indication that password changes were possible. It was found that this doesn't really communicate the state very well to clients in that lack of a capability (or a 404, etc) would mean that users would erroneously not be able to change their passwords. A simple boolean flag was added to assist clients in detecting this capability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants