Michael Telatynski
26cbe02a7f
Instantiate Thread objects when running fetchRoomThreads ( #2262 )
2022-03-29 15:28:08 +01:00
Michael Telatynski
85b8d4f83a
Fix issues with /search and /context API handling for threads ( #2261 )
2022-03-29 09:24:45 +01:00
RiotRobot
bdc3da1fac
Resetting package fields for development
2022-03-28 14:38:44 +01:00
RiotRobot
95fcd5aa26
Merge branch 'master' into develop
2022-03-28 14:38:43 +01:00
RiotRobot
0ad83c43e4
v16.0.1
v16.0.1
2022-03-28 14:35:08 +01:00
RiotRobot
d6e4de4761
Prepare changelog for v16.0.1
2022-03-28 14:35:07 +01:00
Andy Balaam
f03a391f80
Prevent exception 'Unable to set up secret storage' ( #2260 )
2022-03-28 11:48:34 +01:00
Andy Balaam
e90f12ee32
Port codecov improvements matrix-react-sdk -> matrix-js-sdk ( #2258 )
2022-03-25 09:09:35 +00:00
Michael Telatynski
c541b3f1ce
Fix issues with duplicated MatrixEvent objects around threads ( #2256 )
2022-03-24 12:24:19 +00:00
Germain
6192325fe0
Thread list ordering by last reply ( #2253 )
2022-03-23 14:43:30 +00:00
Travis Ralston
d0b964837f
Remove groups ( #2234 )
...
This API is due for removal in Synapse and has been deprecated for a very long time. People should move away from it soon, but just in case we'll declare this as a breaking change.
There is no impact on sync storage here: we happen to store the data in a way that is backwards-compatible for group-supporting clients, and the code guards against missing data from the stores. So, if someone were to revert, they'd be "safe" (probably lose all their group info, but the app wouldn't crash).
2022-03-22 22:20:32 +00:00
Robin
65316ffb5c
Voice rooms prototype ( #2249 )
...
* Support call room type from MSC3417
Signed-off-by: Robin Townsend <robin@robin.town >
* Make it more clear that call room type is unstable
Signed-off-by: Robin Townsend <robin@robin.town >
2022-03-22 16:14:23 -06:00
RiotRobot
dadc19897c
v16.0.1-rc.1
v16.0.1-rc.1
2022-03-22 21:40:04 +00:00
RiotRobot
bd2f1858f4
Prepare changelog for v16.0.1-rc.1
2022-03-22 21:40:03 +00:00
Germain
e32b8a75ee
Lazy load thread list timeline set ( #2254 )
2022-03-22 21:34:20 +00:00
Kerry
a6fe8797f0
Use beacon info event type as beacon identifier ( #2251 )
...
* use beacon info event type as beacon identifier
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test cases
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-22 11:14:43 +01:00
Michael Telatynski
29e54806a4
Improve typing for MatrixEvent::getContent generic ( #2252 )
2022-03-21 17:22:21 +01:00
Germain
75674d961a
Create threads event timeline set in the room model ( #2244 )
2022-03-18 11:58:59 +00:00
Germain
779afbcb39
Apply redaction logic to threaded events ( #2246 )
2022-03-18 09:30:08 +00:00
Kerry
a3f5ec1ba2
reemit beacon events ( #2245 )
...
* reemit beacon events
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use specific imports
Signed-off-by: Kerry Archibald <kerrya@element.io >
* Update src/models/room-state.ts
Co-authored-by: Travis Ralston <travisr@matrix.org >
Co-authored-by: Travis Ralston <travisr@matrix.org >
2022-03-18 08:56:53 +00:00
Kerry
524322280b
add upsert function for updating beacon events ( #2247 )
...
* add upsert function for updating beacon events
Signed-off-by: Kerry Archibald <kerrya@element.io >
* expose event type on beacon model
Signed-off-by: Kerry Archibald <kerrya@element.io >
* allow setting timestamp in beaconinfo content helper
Signed-off-by: Kerry Archibald <kerrya@element.io >
* expose parsed beacon info
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-18 09:52:27 +01:00
James Salter
905a884f72
Formalise guidelines around writing tests ( #2179 )
2022-03-17 09:10:12 +00:00
Kerry
157635476b
fix missed types for event emitter ( #2243 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-16 13:50:07 +01:00
Kerry
18943d6519
emit aggregate room beacon liveness ( #2241 )
...
* emit aggregate room beacon liveness
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy and comment
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add export for models/beacon
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add owner and roomId
Signed-off-by: Kerry Archibald <kerrya@element.io >
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-16 08:54:13 +00:00
Germain
42b3b73551
Fix threads reply count sometimes off by one ( #2240 )
2022-03-15 18:59:12 -06:00
RiotRobot
ee9eccb85a
Resetting package fields for development
2022-03-15 14:22:43 +00:00
RiotRobot
03a8d9edb6
Merge branch 'master' into develop
2022-03-15 14:22:42 +00:00
RiotRobot
f1db4dc668
v16.0.0
v16.0.0
2022-03-15 14:17:54 +00:00
RiotRobot
98c1710ac1
Prepare changelog for v16.0.0
2022-03-15 14:17:54 +00:00
Germain
510833b2f2
Use stable value for fallback ( #2239 )
2022-03-15 13:52:33 +00:00
Kerry
c2fdb4478d
Live location sharing - create m.beacon_info events ( #2238 )
...
* add content helpers
Signed-off-by: Kerry Archibald <kerrya@element.io >
* stubbed Beacon class
Signed-off-by: Kerry Archibald <kerrya@element.io >
* beacon test utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add beacon test utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* copyrights
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add beacons to room state
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy comments
Signed-off-by: Kerry Archibald <kerrya@element.io >
* unit test RoomState.setBeacon
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-15 10:31:32 +01:00
Kerry
57d71ccd0f
Move test-utils into a directory ( #2236 )
...
* move test-utils.js into directory
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix imports
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-14 14:55:11 +01:00
Kerry
d064d82fcc
Beacon event types from MSC3489 ( #2230 )
...
* ASSET_NODE_TYPE -> M_ASSET
Signed-off-by: Kerry Archibald <kerrya@element.io >
* export const M_TIMESTAMP = new UnstableValue("m.ts", "org.matrix.msc3488.ts");
Signed-off-by: Kerry Archibald <kerrya@element.io >
* LOCATION_EVENT_TYPE -> M_LOCATION
Signed-off-by: Kerry Archibald <kerrya@element.io >
* extensible event types for location
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add locationevent parsing helpers
Signed-off-by: Kerry Archibald <kerrya@element.io >
* rename
Signed-off-by: Kerry Archibald <kerrya@element.io >
* comment
Signed-off-by: Kerry Archibald <kerrya@element.io >
* revert makelocationcontent signature
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add beacon event types
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add variable* to type and comment
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add content helper functions for beacon_info and beacon
Signed-off-by: Kerry Archibald <kerrya@element.io >
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add m.beacon_info.live from msc3672
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-14 12:13:28 +00:00
Hubert Chathi
17f3920ddd
Send and handle stable name for withheld codes ( #2232 )
...
since MSC2399 is finished FCP and it's in the spec, we can use the stable name
now
2022-03-11 16:21:06 -05:00
Germain
9fc8048c30
Fix incorrect toJSON for filter-component ( #2231 )
2022-03-11 10:46:18 +00:00
Germain
9058dbf289
Switch to using stable values for Threads ( #2228 )
2022-03-11 09:04:17 +00:00
Kerry
e16e7bc098
Location event helper functions ( #2229 )
...
* ASSET_NODE_TYPE -> M_ASSET
Signed-off-by: Kerry Archibald <kerrya@element.io >
* export const M_TIMESTAMP = new UnstableValue("m.ts", "org.matrix.msc3488.ts");
Signed-off-by: Kerry Archibald <kerrya@element.io >
* LOCATION_EVENT_TYPE -> M_LOCATION
Signed-off-by: Kerry Archibald <kerrya@element.io >
* extensible event types for location
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add locationevent parsing helpers
Signed-off-by: Kerry Archibald <kerrya@element.io >
* rename
Signed-off-by: Kerry Archibald <kerrya@element.io >
* comment
Signed-off-by: Kerry Archibald <kerrya@element.io >
* revert makelocationcontent signature
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-10 18:40:13 +01:00
Germain
dbcd01bb43
Fix missing threads in thread list ( #2226 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-03-10 16:44:42 +00:00
Michael Telatynski
40d1674a5c
Fix incorrect usage of unstable variant of is_falling_back ( #2227 )
2022-03-10 15:31:57 +00:00
Michael Telatynski
35a375e3d2
Update thread relation fields to match MSC3440 changes ( #2218 )
2022-03-09 16:15:44 +00:00
Germain
460f4f9254
fix thread fallback targeting only thread relations ( #2224 )
2022-03-09 11:25:13 +00:00
J. Ryan Stinnett
dbd6af745c
Add lint for unused locals ( #2223 )
2022-03-09 10:09:00 +00:00
Germain
2ac9448646
Disable pending events for thread list when server supports threads ( #2222 )
2022-03-08 15:51:19 +00:00
RiotRobot
3141a7d7c1
v16.0.0-rc.1
v16.0.0-rc.1
2022-03-08 14:43:46 +00:00
RiotRobot
1304e811d0
Prepare changelog for v16.0.0-rc.1
2022-03-08 13:31:50 +00:00
Andy Balaam
2ce1e7e6ef
Move codecov into the .github dir ( #2220 )
2022-03-04 15:56:14 +00:00
Michael Telatynski
70efed1a58
Add test coverage around push rules with no conditions ( #2219 )
2022-03-04 14:03:35 +00:00
Michael Telatynski
9e4f109e80
Fix wrongly asserting that PushRule::conditions is non-null ( #2217 )
2022-03-04 08:36:00 +00:00
Michael Telatynski
5d54bf558c
Fix defer not supporting resolving with a Promise<T> ( #2216 )
2022-03-03 21:41:23 +00:00
Germain
fc5f0e8047
Fix message ordering in threads ( #2215 )
2022-03-03 15:21:17 +00:00