Bruno Windels
a427e2a75c
dont check devices for left members
2019-02-12 18:33:44 +01:00
Hubert Chathi
999ed1b5b3
Merge pull request #837 from uhoreg/emoji_sas
...
change hex SAS verification to decimal and emoji
2019-02-08 11:44:53 -05:00
David Baker
8fa19f4a0f
More en_GBification
2019-02-08 14:56:08 +00:00
David Baker
71a01ec234
Replace symbol characters with the emoji variants
...
The symbol ones are often rendered as little black & white icons: replace them with their variants from the emoji range
Also change to en_GB
2019-02-08 14:11:47 +00:00
David Baker
32f033a9da
Merge pull request #836 from matrix-org/dbkr/trust_on_decrypt
...
Trust on decrypt
2019-02-08 11:36:44 +00:00
David Baker
dade385147
Put error constant on the class
2019-02-08 10:43:17 +00:00
David Baker
6cf2e54f9a
Fix double-santa
2019-02-08 09:59:42 +00:00
Hubert Chathi
fb673b0304
change hex SAS verification to decimal and emoji
2019-02-08 00:56:30 -05:00
David Baker
1a425af3f2
Pass backup info here too
2019-02-07 15:51:51 +00:00
David Baker
9bafed2c26
OK fine, we'll use the session store
2019-02-07 15:33:49 +00:00
David Baker
bb2d0b0f62
lint
2019-02-07 14:47:03 +00:00
David Baker
5e4f10a80c
Trust on decrypt
...
Trust backups that we've restored by saving the matching pubkey
locally.
NB. Contains technically breaking API changes to the backup restore
(takes backupInfo rather than version).
2019-02-07 14:37:25 +00:00
David Baker
9e12fc4d7d
Merge pull request #835 from matrix-org/dbkr/always_track_own_device_list
...
Always track our own devices
2019-02-07 09:30:13 +00:00
David Baker
1caf2b7f83
Always track our own devices
...
It's generally a reasonable assumption that we'll be interested in
them, and important for key backup.
Fixes https://github.com/vector-im/riot-web/issues/8213
2019-02-06 16:48:57 +00:00
David Baker
6f17e3e659
Merge pull request #834 from matrix-org/dbkr/lint_consistency
...
Make linting rules more consistent
2019-02-05 13:12:25 +00:00
David Baker
17e2cd755d
Make linting rules more consistent
...
* Put back babel-eslint for class-properties
* Allow arrow functions without params
This makes the style more consistent with react-sdk.
NB. The line lengths are still inconsistent but it's not clear which
way to go on that yet.
2019-02-05 11:58:53 +00:00
Bruno Windels
a6970d4de8
Merge pull request #833 from matrix-org/bwindels/e2eicons
...
add method to room to check for unverified devices
2019-02-01 18:14:51 +00:00
Bruno Windels
bc99c1f3ce
add method to room to check for unverified devices
2019-02-01 14:37:11 +01:00
David Baker
5e3ff7fc27
Re-apply changelog that somehow got lost
2019-01-30 13:12:32 +00:00
Bruno Windels
ffe3f966fe
Merge pull request #831 from matrix-org/experimental
...
Merge redesign into develop
2019-01-30 12:47:33 +00:00
Travis Ralston
c60c19a28e
Merge pull request #830 from matrix-org/travis/rver-cap-support
...
Supporting infrastructure for educated decisions on when to upgrade rooms
2019-01-29 11:28:57 -07:00
Travis Ralston
4ea785b604
Add some prose for what safe versions are
2019-01-29 10:46:40 -07:00
Travis Ralston
2d4e9d0d3f
Add safety for when the endpoint doesn't exist
2019-01-28 17:18:57 -07:00
Travis Ralston
971d572fbf
Supporting infrastructure for educated decisions on when to upgrade rooms
...
Part of https://github.com/vector-im/riot-web/issues/8251
2019-01-28 16:03:27 -07:00
Hubert Chathi
244e1b84f7
Initial implementation of key verification
2019-01-23 13:34:25 -05:00
David Baker
e5cdc99a34
Merge pull request #826 from matrix-org/dbkr/key_backup_status_unknown_device
...
Include signature info for unknown devices
2019-01-18 10:58:21 +00:00
David Baker
9a5768219f
Doc function API changes
2019-01-18 10:04:22 +00:00
Travis Ralston
cee8f57318
Merge pull request #828 from matrix-org/travis/v2-is-safe
...
Flag v2 rooms as "safe"
2019-01-17 16:36:27 -07:00
Travis Ralston
1a40e0a83a
Flag v2 rooms as "safe"
...
We'll still need something like https://github.com/matrix-org/matrix-doc/pull/1804 to make this work correctly, but this fixes the immediate issue in https://github.com/vector-im/riot-web/issues/8154
2019-01-17 16:14:53 -07:00
Travis Ralston
d0072d930f
Merge pull request #827 from matrix-org/develop
...
Develop->Experimental
2019-01-17 15:51:22 -07:00
David Baker
385062c4d7
Include signature info for unknown devices
...
Add a 'deviceId' property and leave 'device' undefined for unknown
devices.
https://github.com/vector-im/riot-web/issues/8142
2019-01-17 16:43:26 +00:00
J. Ryan Stinnett
9245638b25
Set key backup guard flag to avoid duplicate uploads
...
Not sure how this was missed, but anyway, guard against duplicate uploads with
the existing flag.
2019-01-17 08:19:09 -06:00
J. Ryan Stinnett
1865542192
Emit when user's status message changes
2019-01-15 08:59:31 -06:00
J. Ryan Stinnett
2563abda11
Ensure we have power to set custom status
...
If we're in a non-DM room of 2 people, we may not have power to set state events
like custom status. Ensure that we do before sending.
2019-01-15 08:59:31 -06:00
David Baker
59b80d8fbd
Remove babel-eslint as we no longer need it
2019-01-10 10:42:43 +00:00
David Baker
68bb8182e4
Update ESLint
...
* Bump version
* Add a couple of rules to match our existing precedent
* Fix a few genuine lint errors
* Ignore a guard-for-in (not sure why eslint doesn't like this?)
* Update max warnings
2019-01-10 10:42:34 +00:00
David Baker
c979ff6696
Merge pull request #821 from matrix-org/dbkr/update_eslint
...
Update ESLint
2019-01-10 09:35:24 +00:00
J. Ryan Stinnett
25681e888c
Change initial key backup to background
...
Alters the APIs used for initial key backup so that the actual upload happens in
the background after all session are marked for backup.
2019-01-09 12:03:55 -06:00
J. Ryan Stinnett
5cfd082b00
Schedule key upload on enabling backup
...
This ensures a partially completed backup will continue to make progress.
2019-01-09 12:03:55 -06:00
J. Ryan Stinnett
0cbced43bd
Emit when count of sessions to backup changes
...
This will be used in the React SDK to display upload progress when there are
many sessions to upload.
2019-01-09 12:03:55 -06:00
David Baker
b3e8d7e07e
Remove babel-eslint as we no longer need it
2019-01-09 17:33:42 +00:00
David Baker
f4a7395e3a
Update ESLint
...
* Bump version
* Add a couple of rules to match our existing precedent
* Fix a few genuine lint errors
* Ignore a guard-for-in (not sure why eslint doesn't like this?)
* Update max warnings
2019-01-09 17:29:30 +00:00
J. Ryan Stinnett
14b42abfa4
Re-check key backup status on version mismatch
...
This ensures we will report the updated status when consumer code asks for it.
Fixes part of https://github.com/vector-im/riot-web/issues/8048 .
2019-01-09 04:07:58 -06:00
J. Ryan Stinnett
e8022e985e
Merge pull request #815 from matrix-org/develop
...
Merge develop into experimental
2019-01-03 13:54:34 -06:00
David Baker
f6c8687dc8
Merge pull request #812 from matrix-org/dbkr/getallsessions
...
Add a getAllEndToEndSessions to crypto store
2019-01-03 10:09:18 +00:00
J. Ryan Stinnett
472d8faace
Merge pull request #668 from matrix-org/t3chguy/fix_displayname_logic
...
T3chguy/fix displayname logic
2019-01-02 17:40:19 -06:00
Michael Telatynski
fc5f3c2fcc
re-add empty check after removing hidden chars
2018-12-30 00:20:33 +00:00
Travis Ralston
fb756208d8
Merge pull request #814 from trashhalo/rebase-tip
...
Contributing: Note that rebase lets you mass signoff commits
replace find loop + slice with a single filter. More readable
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
keep public APIs consistent with previous behaviour now that its fuzzy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
make tests not fail, because of order of occurrence
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
do falsey displayname check regardless of whether we have roomstate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
add tests for the fuzzy disambiguation between members in a room
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
remove duplicated call
2018-12-30 00:18:05 +00:00
Travis Ralston
6a98e93845
Merge pull request #814 from trashhalo/rebase-tip
...
Contributing: Note that rebase lets you mass signoff commits
2018-12-28 19:40:41 -07:00
Stephen Solka
79e155acfb
Note that rebase lets you mass signoff commits
...
Signed-off-by: Stephen Solka <stephen0q@gmail.com >
2018-12-28 21:36:06 -05:00