Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move schema delta files to the correct data store. | Erik Johnston | 2019-10-24 | 2 | -73/+0 |
| | | | | They were put in the global schema delta directory due to a bad merge. | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-10-22 | 2 | -0/+73 |
|\ | | | | | | | erikj/refactor_stores | ||||
| * | Merge branch 'develop' into uhoreg/e2e_cross-signing_merged | Hubert Chathi | 2019-10-18 | 9 | -0/+221 |
| |\ | |||||
| * \ | Merge branch 'develop' into cross-signing_keys | Hubert Chathi | 2019-09-04 | 1 | -0/+152 |
| |\ \ | |||||
| * \ \ | Merge branch 'uhoreg/e2e_cross-signing_merged' into cross-signing_keys | Hubert Chathi | 2019-08-28 | 4 | -0/+75 |
| |\ \ \ | |||||
| | * \ \ | Merge branch 'develop' into uhoreg/e2e_cross-signing_merged | Hubert Chathi | 2019-08-28 | 4 | -0/+75 |
| | |\ \ \ | |||||
| | * | | | | Cross-signing [1/4] -- hidden devices (#5759) | Hubert Chathi | 2019-08-12 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow devices to be marked as "hidden" This is a prerequisite for cross-signing, as it allows us to create other things that live within the device namespace, so they can be used for signatures. | ||||
| * | | | | | use stream ID generator instead of timestamp | Hubert Chathi | 2019-08-28 | 1 | -3/+3 |
| | | | | | | |||||
| * | | | | | make changes from PR review | Hubert Chathi | 2019-08-01 | 2 | -41/+55 |
| | | | | | | |||||
| * | | | | | Merge branch 'cross-signing_hidden' into cross-signing_keys | Hubert Chathi | 2019-08-01 | 3 | -3/+42 |
| |\ \ \ \ \ | |||||
| | * | | | | | Merge branch 'develop' into cross-signing_hidden | Hubert Chathi | 2019-07-30 | 3 | -3/+42 |
| | |\| | | | | |||||
| * | | | | | | Merge branch 'cross-signing_hidden' into cross-signing_keys | Hubert Chathi | 2019-07-30 | 1 | -1/+1 |
| |\| | | | | | |||||
| | * | | | | | apply changes from PR review | Hubert Chathi | 2019-07-30 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | allow uploading keys for cross-signing | Hubert Chathi | 2019-07-25 | 1 | -0/+41 |
| |/ / / / / | |||||
| * | | | | | allow devices to be marked as "hidden" | Hubert Chathi | 2019-07-24 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a prerequisite for cross-signing, as it allows us to create other things that live within the device namespace, so they can be used for signatures. | ||||
* | | | | | | Move storage classes into a main "data store". | Erik Johnston | 2019-10-21 | 17 | -512/+0 |
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage. | ||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-10-10 | 3 | -0/+88 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | erikj/disable_sql_bytes | ||||
| * | | | | | Rewrite the user_filter migration again (#6184) | Richard van der Hoff | 2019-10-10 | 1 | -26/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | you can't plausibly ALTER TABLE in sqlite, so we create the new table with the right schema to start with. | ||||
| * | | | | | Merge pull request #6185 from matrix-org/erikj/fix_censored_evnets | Erik Johnston | 2019-10-09 | 1 | -0/+26 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Fix inserting bytes as text in `censor_redactions` | ||||
| * | | | | | | Fix unique_user_filter_index schema update | Brendan Abolivier | 2019-10-07 | 1 | -2/+2 |
| | | | | | | | |||||
| * | | | | | | Update `user_filters` table to have a unique index, and non-null columns (#1172) | Alexander Maznev | 2019-10-04 | 1 | -0/+46 |
| | | | | | | | |||||
| * | | | | | | Land improved room list based on room stats (#6019) | Erik Johnston | 2019-10-02 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use room_stats and room_state for room directory search | ||||
| * | | | | | | Merge branch 'release-v1.4.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2019-10-02 | 2 | -0/+38 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | Drop unused tables (#6115) | Richard van der Hoff | 2019-09-30 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tables are unused since #5893 (as amended by #6047), so we can now drop them. Fixes #6048. | ||||
* | | | | | | | | Do the update as a background index | Erik Johnston | 2019-10-09 | 1 | -9/+8 |
| |_|/ / / / / |/| | | | | | | |||||
* | | | | | | | Fix existing hex encoded json values in DB | Erik Johnston | 2019-10-08 | 1 | -0/+26 |
| |/ / / / / |/| | | | | | |||||
* | | | | | | Fix errors storing large retry intervals. | Erik Johnston | 2019-10-02 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have set the max retry interval to a value larger than a postgres or sqlite int can hold, which caused exceptions when updating the destinations table. To fix postgres we need to change the column to a bigint, and for sqlite we lower the max interval to 2**62 (which is still incredibly long). | ||||
* | | | | | | Add received_ts column to redactions. | Erik Johnston | 2019-10-01 | 1 | -0/+20 |
|/ / / / / | | | | | | | | | | | | | | | | | | | | | This will allow us to efficiently search for uncensored redactions in the DB before a given time. | ||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-09-25 | 1 | -0/+24 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | erikj/cleanup_user_ips | ||||
| * \ \ \ \ | Merge remote-tracking branch 'origin/develop' into rav/saml_mapping_work | Richard van der Hoff | 2019-09-24 | 1 | -20/+0 |
| |\ \ \ \ \ | |||||
| * \ \ \ \ \ | Merge branch 'develop' into rav/saml_mapping_work | Richard van der Hoff | 2019-09-19 | 7 | -0/+269 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | Record mappings from saml users in an external table | Richard van der Hoff | 2019-09-13 | 1 | -0/+24 |
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to assign unique mxids to saml users based on an incrementing suffix. For that to work, we need to record the allocated mxid in a separate table. | ||||
* | | | | | | | Add BG update to populate devices last seen info | Erik Johnston | 2019-09-23 | 1 | -0/+3 |
| | | | | | | | |||||
* | | | | | | | Add last seen info to devices table. | Erik Johnston | 2019-09-23 | 1 | -0/+21 |
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | This allows us to purge old user_ips entries without having to preserve the latest last seen info for active devices. | ||||
* | | | | | | Undo the deletion of some tables (#6047) | Richard van der Hoff | 2019-09-19 | 1 | -20/+0 |
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a partial revert of #5893. The problem is that if we drop these tables in the same release as removing the code that writes to them, it prevents users users from being able to roll back to a previous release. So let's leave the tables in place for now, and remember to drop them in a subsequent release. (Note that these tables haven't been *read* for *years*, so any missing rows resulting from a temporary upgrade to vNext won't cause a problem.) | ||||
* | | | | | Add 'failure_ts' column to 'destinations' table (#6016) | Richard van der Hoff | 2019-09-17 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | | | | | | Track the time that a server started failing at, for general analysis purposes. | ||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-09-05 | 1 | -0/+152 |
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | erikj/censor_redactions | ||||
| * | | | | Fix and refactor room and user stats (#5971) | Erik Johnston | 2019-09-04 | 1 | -0/+152 |
| | |_|/ | |/| | | | | | | Previously the stats were not being correctly populated. | ||||
* / | | | Censor redactions in DB after a month | Erik Johnston | 2019-08-30 | 1 | -0/+17 |
|/ / / | |||||
* | | | Propagate opentracing contexts through EDUs (#5852) | Jorik Schellekens | 2019-08-22 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | Propagate opentracing contexts through EDUs Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | | | Add missing index on users_in_public_rooms. (#5894) | Richard van der Hoff | 2019-08-22 | 1 | -0/+17 |
| | | | |||||
* | | | Drop some unused tables. (#5893) | Richard van der Hoff | 2019-08-21 | 1 | -0/+20 |
| | | | | | | | | | These tables are never used, so we may as well drop them. | ||||
* | | | add the version field to the index for e2e_room_keys | Hubert Chathi | 2019-08-14 | 1 | -0/+18 |
|/ / | |||||
* | | Don't recreate column | Erik Johnston | 2019-07-30 | 2 | -1/+22 |
| | | |||||
* | | Fix current_state_events membership background update. | Erik Johnston | 2019-07-30 | 1 | -0/+0 |
| | | | | | | | | | | | | Turns out not all rooms are in `rooms`, so lets fetch the room list from `current_state_events`. We move the delta file to force it to be run again. | ||||
* | | Remove lost comment | Erik Johnston | 2019-07-29 | 1 | -7/+0 |
| | | |||||
* | | Add function to get all forgotten rooms for user | Erik Johnston | 2019-07-24 | 1 | -0/+25 |
|/ | | | | | | This will allow us to efficiently filter out rooms that have been forgotten in other queries without having to join against the `room_memberships` table. | ||||
* | Update comment for new column | Erik Johnston | 2019-07-19 | 1 | -0/+3 |
| | |||||
* | Add background update for current_state_events.membership column | Erik Johnston | 2019-07-18 | 1 | -0/+3 |
| | |||||
* | Add membership column to current_state_events table. | Erik Johnston | 2019-07-18 | 1 | -0/+19 |
It turns out that doing a join is surprisingly expensive for the DB to do when room_membership table is larger than the disk cache. |