Michael Telatynski
aa283a3c9e
Update CONTRIBUTING.md ( #2329 )
2022-04-28 15:48:21 +01:00
Kerry
34ee566d88
Live location sharing: handle encrypted messages in processBeaconEvents ( #2327 )
...
* handle encrypted locations
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix processBeaconEvents to handle encrypted events
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-28 16:42:37 +02:00
RiotRobot
3649cf46d3
Resetting package fields for development
2022-04-26 11:34:42 +01:00
RiotRobot
8f00eb6771
Merge branch 'master' into develop
2022-04-26 11:34:42 +01:00
Michael Telatynski
01ec51891a
Merge remote-tracking branch 'origin/release-v17.1.0'
...
# Conflicts:
# CHANGELOG.md
# package.json
# src/client.ts
# src/models/room.ts
# src/models/thread.ts
# src/sync.ts
2022-04-26 11:31:20 +01:00
RiotRobot
738876a563
v17.1.0
v17.1.0
2022-04-26 11:13:47 +01:00
RiotRobot
2d9b4b3896
Prepare changelog for v17.1.0
2022-04-26 11:13:46 +01:00
Michael Telatynski
ba06e430c4
Ignore m.replace relations on state events, they're invalid ( #2306 )
...
* Ignore m.replace relations on state events, they're invalid
* Add tests
* Fix test
Co-authored-by: Kerry <kerrya@element.io >
2022-04-26 10:02:36 +00:00
Michael Telatynski
ac08e52410
De-duplicate code and fix types ( #2319 )
2022-04-25 17:15:35 +01:00
David Baker
1bb82108b7
fix example in readme ( #2315 )
...
Co-authored-by: Matthew Hodgson <matthew@matrix.org >
2022-04-22 12:04:31 +01:00
Michael Telatynski
e133005b44
Don't decrement the length count of a thread when root redacted ( #2314 )
2022-04-21 16:02:42 +00:00
Michael Telatynski
c0cb66233a
Prevent attempt to create thread with id "undefined" ( #2308 )
2022-04-21 08:01:24 +01:00
Michael Telatynski
d82cdd3b19
Move more stuff from BK to GHA ( #2309 )
2022-04-20 18:09:33 +01:00
Michael Telatynski
6a51b02bed
Move more stuff from BK to GHA ( #2307 )
...
* Use consistent indentation in GHA yaml files
* Prefer setup-node's dep caching
* Tidy up test_coverage job
* Move js sdk lint ci to gha
* notify react-sdk of develop merges
* Name the jobs
* test
* Update secrets
* Fixup
2022-04-20 16:25:58 +01:00
Michael Telatynski
47d2c063fa
Upgrade dependencies ( #2304 )
2022-04-20 13:53:39 +02:00
Michael Telatynski
540514c805
Update threads handling for replies-to-thread-responses as per MSC update ( #2305 )
...
* Update threads handling for replies-to-thread-responses as per MSC update
* Update tests to match new behaviour
2022-04-19 18:15:06 +02:00
Faye Duxovni
db58a66e19
Add method for checking whether our other devices are cross-signed, even when this device isn't ( #2288 )
2022-04-19 15:02:17 +01:00
RiotRobot
91a67bdac3
v17.1.0-rc.1
v17.1.0-rc.1
2022-04-19 14:41:27 +01:00
RiotRobot
48d3fce22d
Prepare changelog for v17.1.0-rc.1
2022-04-19 14:41:26 +01:00
Hugh Nimmo-Smith
9f4598638d
Add MatrixClient.doesServerSupportLogoutDevices() for MSC2457 ( #2297 )
2022-04-15 10:27:12 +01:00
CommanderRoot
cde935629d
Replace deprecated String.prototype.substr() ( #2298 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-04-14 15:23:27 -06:00
Kerry
fbe81ad823
Live location sharing - expose room liveBeaconIds ( #2296 )
...
* updates rooms live beacon ids on destroy
Signed-off-by: Kerry Archibald <kerrya@element.io >
* expose live beacons ids
Signed-off-by: Kerry Archibald <kerrya@element.io >
* room state emit all the time on beacon liveness change
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update comment
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-14 15:04:43 +02:00
Michael Telatynski
c3d7a4977a
Stop tracking threads if threads support is disabled ( #2295 )
2022-04-13 16:23:15 +01:00
Robin
9aab917836
Fix coverage diffs for PRs that aren't up to date, take 3 ( #2294 )
2022-04-12 20:22:14 -04:00
Jonathan de Jong
54661cca95
Change _unstable_getSharedRooms to _unstable_getMutualRooms ( #2271 )
...
* change shared to mutual
* revert name change
* use new unstable feature flag
* support both unstable endpoints
2022-04-12 17:48:48 -06:00
Michael Telatynski
b58d09aa9a
Prevent duplicated re-emitter setups in event-mapper ( #2293 )
2022-04-12 09:42:55 +01:00
RiotRobot
3b33237e51
Resetting package fields for development
2022-04-11 16:31:44 +01:00
RiotRobot
b8ec62e786
Merge master
2022-04-11 16:31:21 +01:00
RiotRobot
59763a84f8
v17.0.0
v17.0.0
2022-04-11 16:21:09 +01:00
RiotRobot
1375a4849c
Prepare changelog for v17.0.0
2022-04-11 16:21:09 +01:00
RiotRobot
c0e3ad4b83
v17.0.0-rc.3
v17.0.0-rc.3
2022-04-11 11:32:30 +01:00
RiotRobot
5305e373a0
Prepare changelog for v17.0.0-rc.3
2022-04-11 11:32:30 +01:00
Michael Telatynski
877e3df71b
[Release] Port multiple threads fixes ( #2292 )
...
Co-authored-by: Germain Souquet <germains@element.io >
2022-04-11 11:29:22 +01:00
Michael Telatynski
286500e335
Fix issues around echo & redaction handling in threads ( #2286 )
2022-04-11 08:58:13 +01:00
Hugh Nimmo-Smith
5937e6a6a8
Support for MSC2457 logout_devices param for setPassword() ( #2285 )
2022-04-09 14:07:33 +01:00
Eric Eastwood
c6c22e394b
Ignore eslint --fix formatting changes in git blame ( #2287 )
...
* Ignore eslint --fix formatting changes in git blame
Docs: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
* Conform on white-space spelling
2022-04-08 23:52:05 -06:00
Callum Brown
378802a5ab
Stabilise token authenticated registration support ( #2181 )
...
* Stabilise token authenticated registration support
Token authenticated registration was added to the Matrix specification in v1.2:
https://spec.matrix.org/v1.2/client-server-api/#token-authenticated-registration
Signed-off-by: Callum Brown <callum@calcuode.com >
* Backwards compatibility with unstable auth type
Servers are not yet widely updated with support for the stable
version of the registration token UIA type.
Clients should check if the authentication type is either
`RegistrationToken` or `UnstableRegistrationToken`.
Signed-off-by: Callum Brown <callum@calcuode.com >
2022-04-08 22:53:57 -06:00
Kerry
f963feab0f
Live location sharing - Aggregate beacon locations on beacons ( #2268 )
...
* add timestamp sorting util
Signed-off-by: Kerry Archibald <kerrya@element.io >
* basic wiring
Signed-off-by: Kerry Archibald <kerrya@element.io >
* quick handle for redacted beacons
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove fdescribe
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test adding locations
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy comments
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test client
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix monitorLiveness for update
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-08 12:26:05 +01:00
RiotRobot
d705a0ed9e
v17.0.0-rc.2
v17.0.0-rc.2
2022-04-08 12:08:04 +01:00
RiotRobot
7023fb1c99
Prepare changelog for v17.0.0-rc.2
2022-04-08 12:08:03 +01:00
RiotRobot
fe36dafcc7
v3.42.2-rc.3
v3.42.2-rc.3
2022-04-08 10:40:56 +01:00
RiotRobot
04a6dbbedf
Prepare changelog for v3.42.2-rc.3
2022-04-08 10:40:56 +01:00
RiotRobot
29b427aab7
v17.0.0-rc.1
v17.0.0-rc.1
2022-04-08 10:36:14 +01:00
RiotRobot
643b783dec
Prepare changelog for v17.0.0-rc.1
2022-04-08 10:36:13 +01:00
Germain
872033a552
Port #2283 to release ( #2284 )
2022-04-08 10:34:09 +01:00
Germain
6d0f4e537e
Fix notification panel not loading ( #2283 )
2022-04-08 10:34:01 +01:00
Kerry
781fdf4fdc
Live location sharing - update beacon_info implementation to latest MSC ( #2281 )
...
* remove M_BEACON_INFO_VARIABLE
Signed-off-by: Kerry Archibald <kerrya@element.io >
* create beacon_info events with non-variable event type
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove isBeaconInfoEventType
Signed-off-by: Kerry Archibald <kerrya@element.io >
* refer to msc3673 instead of msc3489
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove event type suffix
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update beacon identifier to use state key
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix beacon spec
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix room-state tests
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add beacon identifier
Signed-off-by: Kerry Archibald <kerrya@element.io >
* dont allow update to older beacon event
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* unnest beacon_info content
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* check redaction event id
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-08 10:50:06 +02:00
Michael Telatynski
dde4285cdf
Fix handling of threaded messages around edits & echoes ( #2267 )
2022-04-07 13:46:50 +01:00
Robin
3322b47b6d
Make self membership less prone to races ( #2277 )
2022-04-06 08:49:09 -04:00
RiotRobot
d457fd6db0
v16.0.2-rc.1
v16.0.2-rc.1
2022-04-05 18:07:38 +01:00