Commit graph

13835 commits

Author SHA1 Message Date
Neil Johnson
41121e4094 revert delta removal 2019-04-08 15:06:18 +01:00
Neil Johnson
8b830648d3 Revert "remove old schema data"
This reverts commit 74e809a0ed.
2019-04-08 15:04:52 +01:00
Neil Johnson
74e809a0ed remove old schema data 2019-04-05 16:45:07 +01:00
Neil Johnson
bfbb5411d8 fix typo 2019-04-05 16:43:21 +01:00
Neil Johnson
3f0f7dad78 no longer used 2019-04-03 17:46:11 +01:00
Neil Johnson
c0b4a2da28 app_services and app_servives_regex 2019-04-03 17:45:00 +01:00
Neil Johnson
7687d76d81 Since the dir has to exist, a file explaining why 2019-04-03 17:32:21 +01:00
Neil Johnson
8dcc771928 55->54 2019-04-03 17:18:44 +01:00
Neil Johnson
9f747e8651 55->54 2019-04-03 17:17:59 +01:00
Neil Johnson
01b270e148 55->54 2019-04-03 16:54:43 +01:00
Neil Johnson
54c6d6d462 54->55 2019-04-03 16:52:32 +01:00
Neil Johnson
1d394496af move to delta 55 2019-04-03 16:34:21 +01:00
Neil Johnson
25744a1e86 fix drop tables, and bump schema version 2019-04-03 16:25:44 +01:00
Neil Johnson
40340f46ac Merge branch 'develop' of github.com:matrix-org/synapse into neilj/drop_tables_in_1830 2019-04-03 16:13:28 +01:00
Neil Johnson
aeb6596a57 remove unused legacy tables 2019-04-03 16:11:02 +01:00
Andrew Morgan
4a4d5c4fd6
Fix grammar and document get_current_users_in_room (#4998) 2019-04-03 14:32:20 +01:00
Richard van der Hoff
e4d473d855
Rewrite KeyringTestCase as a HomeServerTestCase (#4986)
This is a bit fiddly due to the keyring doing weird things with logcontexts.
2019-04-03 14:11:27 +01:00
Neil Johnson
2aec358e17
Merge branch 'develop' into neilj/drop_tables_in_1830 2019-04-03 11:53:38 +01:00
Neil Johnson
e8419554ff
Remove presence lists (#4989)
Remove presence list support as per MSC 1819
2019-04-03 11:11:15 +01:00
Erik Johnston
8f549c1177
Merge pull request #4982 from matrix-org/erikj/msc1915
Implement MSC1915 - 3PID unbind APIs
2019-04-03 11:07:09 +01:00
Amber Brown
7efd1d87c2 Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
Erik Johnston
3039d61baf
Merge pull request #4991 from matrix-org/erikj/stagger_push_startup
Make starting pushers faster during start up
2019-04-02 18:23:32 +01:00
Erik Johnston
6f226eed42 s/misc/feature/ 2019-04-02 18:22:28 +01:00
Neil Johnson
11076bddb9 drop legacy tables via delta 2019-04-02 18:17:18 +01:00
Andrew Morgan
66e78700a2
Transfer related groups on room upgrade (#4990)
Transfers the m.room.related_groups state event on room upgrade.
2019-04-02 17:15:24 +01:00
Neil Johnson
fcae26e764 . 2019-04-02 17:09:56 +01:00
Neil Johnson
bacc037bee town crier 2019-04-02 17:08:14 +01:00
Erik Johnston
ac45b0df0b Newsfile 2019-04-02 17:00:18 +01:00
Richard van der Hoff
8530090b16
Add config.signing_key_path. (#4974)
As requested by @andrewshadura
2019-04-02 16:59:27 +01:00
Erik Johnston
5bec8d660d Make starting pushers faster during start up
We start all pushers on start up and immediately start a background
process to fetch push to send. This makes start up incredibly painful
when dealing with many pushers.

Instead, let's do a quick fast DB check to see if there *may* be push to
send and only start the background processes for those pushers. We also
stagger starting up and doing those checks so that we don't try and
handle all pushers at once.
2019-04-02 16:59:13 +01:00
Neil Johnson
5c7e783593 delete 2019-04-02 16:55:47 +01:00
Neil Johnson
aec4871f38 drop presence list table 2019-04-02 16:55:30 +01:00
Neil Johnson
fde8ce6a0a include msc ref 2019-04-02 16:54:43 +01:00
Neil Johnson
2a46f3a958 delete 2019-04-02 14:28:49 +01:00
Neil Johnson
0546e866eb pep8 2019-04-02 14:18:33 +01:00
Neil Johnson
18488b0290 delete all the things 2019-04-02 14:13:39 +01:00
Neil Johnson
ded3368e83 remove unused import 2019-04-02 12:54:59 +01:00
Neil Johnson
402d6e8df1 towncrier 2019-04-02 12:48:29 +01:00
Neil Johnson
7adb9d06a2 first draft of remove presence lists 2019-04-02 12:44:46 +01:00
Richard van der Hoff
297bf2547e
Fix sync bug when accepting invites (#4956)
Hopefully this time we really will fix #4422.

We need to make sure that the cache on
`get_rooms_for_user_with_stream_ordering` is invalidated *before* the
SyncHandler is notified for the new events, and we can now do so reliably via
the `events` stream.
2019-04-02 12:42:39 +01:00
Erik Johnston
4ef5d17b96 Correctly handle id_server param 2019-04-02 11:20:09 +01:00
Erik Johnston
24232514bf Remove threepid binding if id server returns 400/404/501 2019-04-02 11:20:09 +01:00
Erik Johnston
c75e2017f1 Fixup docstrings 2019-04-02 11:20:06 +01:00
Neil Johnson
4c552ed78a
Neilj/fix threepid auth check (with tests) (#4474)
test threepid checking
2019-04-01 17:42:18 +01:00
Erik Johnston
39fb971e85 Newsfile 2019-04-01 15:31:47 +01:00
Erik Johnston
862d6e5ba5 Add unbind API to /r0 as it is now stabalised 2019-04-01 15:25:19 +01:00
Erik Johnston
3715c124b3 Grandfather in existing user threepids
We assume, as we did before, that users bound their threepid to one of
the trusted identity servers. So we simply fill the new table with all
threepids in `user_threepids` joined with the trusted identity servers.
2019-04-01 15:25:19 +01:00
Erik Johnston
057715aaa2 Allowing specifying IS to use in unbind API.
By default the homeserver will use the identity server used during the
binding of the 3PID to unbind the 3PID. However, we need to allow
clients to explicitly ask the homeserver to unbind via a particular
identity server, for the case where the 3PID was bound out of band from
the homeserver.

Implements MSC915.
2019-04-01 15:25:18 +01:00
Erik Johnston
9fbbc3d9e5 For unbind poke IS used during binding of 3PID
This changes the behaviour from using the server specified trusted
identity server to using the IS that used during the binding of the
3PID, if known.

This is the behaviour specified by MSC1915.
2019-04-01 15:23:30 +01:00
Erik Johnston
1666c0696a Track IS used to bind 3PIDs
This will then be used to know which IS to default to when unbinding the
threepid.
2019-04-01 15:23:01 +01:00