Till Faelligen
6d7d7fcaf4
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/fts
2022-06-01 06:31:09 +02:00
Till Faelligen
cbee079f23
Merge branch 's7evink/fts' of github.com:matrix-org/dendrite into s7evink/fts
2022-06-01 06:29:59 +02:00
Till
ae7b6dd516
Fix #2498 ( #2506 )
2022-05-31 14:36:51 +02:00
Till
beed39a8f4
Fix pq: invalid input syntax for integer when trying to get a numeric localpart ( #2505 )
...
* Match at least once
* Add the test
2022-05-31 11:27:04 +02:00
Neil Alexander
9f8b3136b2
Fix bugs in resolve-state tool
2022-05-30 15:11:48 +01:00
Neil Alexander
fb52b6cedc
Sort resolve-state output
2022-05-30 14:38:50 +01:00
Neil Alexander
9869dc2cbe
Update readme
2022-05-30 11:11:21 +01:00
Neil Alexander
247604979a
Add missing indexes to federation API destination queues ( #2502 )
...
* Add missing indexes to federation API destination queues
* Fix duplicate name
2022-05-30 11:01:20 +01:00
Neil Alexander
500124dd18
Add support for room version 10 (update to matrix-org/gomatrixserverlib#315 )
2022-05-30 09:50:23 +01:00
Neil Alexander
b541f3043f
Add support for MSC3787 and org.matrix.msc3787 room version (update to matrix-org/gomatrixserverlib#310 )
2022-05-26 15:08:17 +01:00
Neil Alexander
45c4c00672
Version 0.8.6 ( #2497 )
2022-05-26 13:01:04 +01:00
Neil Alexander
9e46d5025a
Upgrade various dependencies ( #2496 )
...
* Upgrade various dependencies
* Yaml dependency too
2022-05-26 12:34:43 +01:00
Neil Alexander
5a878b6e14
Update to matrix-org/gomatrixserverlib#314
2022-05-26 11:52:39 +01:00
Neil Alexander
9eb4fec33b
Make logging output for state deletions a bit better
2022-05-26 10:38:46 +01:00
Brandon
015465d496
Update 1_planning.md ( #2467 )
...
* Update 1_planning.md
Modes section of the planning component of the documentation rewritten for grammar and clarity.
* Update 1_planning.md
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-05-25 17:17:02 +01:00
Neil Alexander
6940c7c7dd
Try to spot state deletions when they happen ( #2489 )
2022-05-25 16:40:31 +01:00
Neil Alexander
ff53398635
Mark room versions 8 and 9 as stable
2022-05-25 16:39:51 +01:00
Neil Alexander
ac4d0072cf
Fix using the remote provided event from /send_join ( #2490 )
2022-05-25 14:31:07 +01:00
Neil Alexander
9ce3898d03
Fix the resolve-state tool
2022-05-25 13:37:15 +01:00
Neil Alexander
81843e8836
Restricted join support on /make_join, /send_join ( #2478 )
...
* Add `QueryRestrictedJoinAllowed`
* Add `Resident` flag to `QueryRestrictedJoinAllowedResponse`
* Check restricted joins on federation API
* Return `Restricted` to determine if the room was restricted or not
* Populate `AuthorisedVia` properly
* Sign the event on `/send_join`, return it in the `/send_join` response in the `"event"` key
* Kick back joins with invalid authorising user IDs, use event from `"event"` key if returned in `RespSendJoin`
* Use invite helper in `QueryRestrictedJoinAllowed`
* Only use users with the power to invite, change error bubbling a bit
* Placate the almighty linter
One day I will nuke `gocyclo` from orbit and everything in the world will be much better for it.
* Review comments
2022-05-25 10:05:30 +01:00
Neil Alexander
d621dd2986
Allow authing invited user in rooms with "restricted" join rule (update to matrix-org/gomatrixserverlib#313 )
2022-05-24 11:08:28 +01:00
Neil Alexander
ead0112aa1
Fix join_authorised_via_users_server key name in SendEvent
2022-05-24 10:22:26 +01:00
Neil Alexander
7379b02b70
Give PL100 to invited users in trusted_private_chat preset ( #2485 )
2022-05-24 10:10:25 +01:00
Neil Alexander
c83837e684
Strip join_authorised_by_users_server when updating membership events using /rooms/{roomID}/state ( #2482 )
2022-05-24 09:11:23 +01:00
Aaron Ogle
20844942a8
Handle invite in appservice roomserver consumer ( #2476 )
...
Signed-off-by: Aaron Ogle <aaron@geekgonecrazy.com>
2022-05-24 09:07:33 +01:00
Neil Alexander
4472267901
Preserve content from /make_join as well as supplied content in the request ( #2481 )
2022-05-23 17:54:01 +01:00
Neil Alexander
8a7567c652
Fix control flow related to joining restricted v8/v9 rooms (update to matrix-org/gomatrixserverlib#312 )
2022-05-23 17:49:48 +01:00
Neil Alexander
b5a497a0c0
Allow defers to run in TestMain in federation API tests
2022-05-23 14:54:43 +01:00
Neil Alexander
028963af1c
Update to matrix-org/gomatrixserverlib#311 ( #2479 )
...
* Update to matrix-org/gomatrixserverlib#311
* Update to squash commit
2022-05-23 14:26:56 +01:00
Till Faelligen
7a464c8851
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/fts
2022-05-23 13:55:03 +02:00
Till Faelligen
1a4d898278
Filter on m.room.message
2022-05-23 08:02:34 +02:00
Till Faelligen
2c81466593
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/fts
2022-05-23 07:56:44 +02:00
Till
a53c9300aa
Fix /deactivate ( #2474 )
...
* Fix /deactivate
* Update test to correctly check the expected response
2022-05-20 13:27:11 +02:00
Till Faelligen
5e7c817223
Cleanup
2022-05-19 14:39:52 +02:00
Till Faelligen
3c9a010dd8
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/fts
2022-05-19 14:34:01 +02:00
Till Faelligen
7d38a0f81a
More accurate JSON
2022-05-19 14:20:15 +02:00
Till Faelligen
04139328d3
Create FTS only in monolith or syncapi
2022-05-19 14:18:57 +02:00
Till Faelligen
3f001e7cc0
Add fulltext settings
2022-05-19 10:12:12 +02:00
Till Faelligen
a72b8f22b5
- Move to base
...
- Actually filter on correct rooms
- Error messages
2022-05-19 10:11:35 +02:00
Till Faelligen
74939ffb61
Add config, move to base
2022-05-19 10:10:15 +02:00
kegsay
21dd5a7176
syncapi: don't return early for no-op incremental syncs ( #2473 )
...
* syncapi: don't return early for no-op incremental syncs
Comments explain why, but basically it's an inefficient use
of bandwidth and some sytests rely on /sync to block.
* Honour timeouts
* Actually return a response with timeout=0
2022-05-19 09:00:56 +01:00
Till Faelligen
baacb8ac6e
DB tweaks
2022-05-19 08:34:26 +02:00
Till Faelligen
d2af5cfa1d
Update queries
2022-05-18 17:05:24 +02:00
Till Faelligen
1b13fa3654
Process FTS in the consumer
2022-05-18 17:04:45 +02:00
Till Faelligen
b33d9e5045
Remove FTS from storage layer
...
Fix query
2022-05-18 17:01:04 +02:00
Till Faelligen
a6f2b46c98
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/fts
2022-05-18 15:25:41 +02:00
Till Faelligen
c909b12b90
Restructure tests, fix issue with multiple search queries
2022-05-18 15:25:03 +02:00
Till
f321a7d55e
Really SKIP_NODB ( #2472 )
...
* Really SKIP_NODB
* Use fatalError in createLocalDB
* Check if createdb exists
* Revert change
* Remove !Quiet
2022-05-18 15:17:23 +02:00
Till Faelligen
9983f92bcf
Add Bleve for fulltext search
2022-05-18 08:12:48 +02:00
Till Faelligen
1a2e321b92
Add Stream for reindexing
2022-05-18 08:12:33 +02:00