summary refs log tree commit diff
path: root/synapse/storage (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* | Remove dead code related to default thumbnailsErik Johnston2018-01-091-3/+0
|/
* fix StoreError syntaxMatthew Hodgson2017-12-051-1/+1
* fix pep8 and testsMatthew Hodgson2017-12-041-4/+3
* switch to a simpler 'search_all_users' button as per review feedbackMatthew Hodgson2017-12-041-24/+16
* Merge branch 'develop' into matthew/search-all-local-usersMatthew Hodgson2017-11-307-55/+143
|\
| * Remove pushers when deleting access tokensRichard van der Hoff2017-11-291-5/+5
| * Merge pull request #2697 from matrix-org/rav/fix_urlcache_index_errorRichard van der Hoff2017-11-275-14/+82
| |\
| | * fix sql failsRichard van der Hoff2017-11-221-1/+1
| | * Check database in has_completed_background_updatesRichard van der Hoff2017-11-222-11/+32
| | * Fix error on sqlite 3.7Richard van der Hoff2017-11-214-5/+52
| * | Avoid retrying forever on IntegrityErrorRichard van der Hoff2017-11-271-0/+7
| * | Merge pull request #2689 from matrix-org/rav/unlock_account_data_upsertRichard van der Hoff2017-11-211-36/+49
| |\ \ | | |/ | |/|
| | * Avoid locking account_data tables for upsertsRichard van der Hoff2017-11-161-36/+49
* | | remove null constraint on user_dir.room_idMatthew Hodgson2017-11-301-0/+35
* | | fix alternation operator for FTS4 - how did this ever work!?Matthew Hodgson2017-11-301-1/+1
* | | fix thinkos galoreMatthew Hodgson2017-11-302-16/+35
* | | untested WIP but might actually workMatthew Hodgson2017-11-293-13/+38
* | | Add user_directory_include_pattern config param to expand search results to a...Matthew Hodgson2017-11-291-4/+12
|/ /
* / Avoid locking for upsert on pushers tablesRichard van der Hoff2017-11-162-5/+51
|/
* Fix broken ref to IntegrityErrorRichard van der Hoff2017-11-161-1/+1
* Avoid locking `pushers` table on upsertRichard van der Hoff2017-11-161-27/+28
* _simple_upsert: retry on IntegrityErrorRichard van der Hoff2017-11-161-6/+29
* Cleanup in _simple_upsert_txnRichard van der Hoff2017-11-161-16/+17
* Merge pull request #2661 from matrix-org/rav/statereadstoreRichard van der Hoff2017-11-152-216/+231
|\
| * Pull out bits of StateStore to a mixinRichard van der Hoff2017-11-141-204/+220
| * Revert "Revert "move _state_group_cache to statestore""Richard van der Hoff2017-11-142-13/+12
* | Merge pull request #2675 from matrix-org/rav/remove_broken_logcontext_funcsRichard van der Hoff2017-11-151-2/+2
|\ \ | |/ |/|
| * Remove preserve_context_over_{fn, deferred}Richard van der Hoff2017-11-141-2/+2
* | Make __init__ consitstent across Store heirarchyRichard van der Hoff2017-11-1316-32/+32
|/
* Revert "move _state_group_cache to statestore"Erik Johnston2017-11-132-12/+13
* Up cache size of get_global_account_data_by_type_for_userErik Johnston2017-11-131-1/+1
* Fix typoErik Johnston2017-11-091-1/+1
* Merge pull request #2656 from matrix-org/rav/fix_deactivateRichard van der Hoff2017-11-091-2/+1
|\
| * Fix 'NoneType' not iterable in /deactivateRichard van der Hoff2017-11-091-2/+1
* | Have an explicit API to update room configErik Johnston2017-11-081-0/+13
* | Revert "Modify group room association API to allow modification of is_public"Erik Johnston2017-11-081-13/+7
* | Merge pull request #2637 from spantaleev/avoid-noop-media-deletesErik Johnston2017-11-081-0/+6
|\ \
| * | Avoid no-op media deletesSlavi Pantaleev2017-11-041-0/+6
* | | Merge pull request #2649 from matrix-org/rav/fix_delta_on_state_resRichard van der Hoff2017-11-082-13/+12
|\ \ \
| * | | move _state_group_cache to statestoreRichard van der Hoff2017-11-072-13/+12
| | |/ | |/|
* | | Merge pull request #2643 from matrix-org/matthew/user_dir_typosMatthew Hodgson2017-11-074-12/+36
|\ \ \ | |/ / |/| |
| * | create new indexes before dropping old ones to keep safetynet in placeMatthew Hodgson2017-11-071-2/+4
| * | s/users_in_pubic_room/users_in_public_rooms/gMatthew Hodgson2017-11-041-2/+2
| * | s/users_in_pubic_room/users_in_public_rooms/gMatthew Hodgson2017-11-042-10/+32
| * | fix copyright....Matthew Hodgson2017-11-041-1/+1
| * | s/popualte/populate/Matthew Hodgson2017-11-041-1/+1
| |/
* / Remember to pick is_admin out of the dbLuke Barnard2017-11-071-1/+1
|/
* Notify auth providers on logoutRichard van der Hoff2017-11-011-5/+8
* Merge pull request #2617 from matrix-org/matthew/auto-displaynameMatthew Hodgson2017-11-011-2/+4
|\
| * switch to setting default displayname in the storage layerMatthew Hodgson2017-11-011-2/+4
* | Merge pull request #2613 from matrix-org/rav/kill_refresh_tokensDavid Baker2017-11-014-58/+14
|\ \ | |/ |/|
| * Remove the last vestiges of refresh_tokensRichard van der Hoff2017-10-314-58/+14
* | Merge pull request #2612 from matrix-org/luke/groups-room-relationship-is-publicLuke Barnard2017-11-011-7/+13
|\ \ | |/ |/|
| * Leave `is_public` as required argument of update_room_group_associationLuke Barnard2017-11-011-1/+1
| * Modify group room association API to allow modification of is_publicLuke Barnard2017-10-311-7/+13
* | DB schema interface for password auth providersRichard van der Hoff2017-10-312-0/+77
|/
* Merge branch 'erikj/attestation_local_fix' of github.com:matrix-org/synapse i...Erik Johnston2017-10-271-0/+18
|\
| * FixupErik Johnston2017-10-271-2/+2
| * Remove incorrect attestationsErik Johnston2017-10-271-0/+18
* | Request is_public from databaseLuke Barnard2017-10-271-1/+3
* | Create groups with is_public = TrueLuke Barnard2017-10-271-0/+1
* | Recreate groups table instead of adding columnLuke Barnard2017-10-261-2/+16
* | Awful hack to get default trueLuke Barnard2017-10-261-1/+2
* | Bump schema version to 46Luke Barnard2017-10-261-1/+1
* | Add is_public to groups table to allow for private groupsLuke Barnard2017-10-261-0/+17
|/
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-237-8/+8
* Fix logcontext handling for persist_eventsRichard van der Hoff2017-10-171-7/+17
* Implement GET /groups/$groupId/invited_usersLuke Barnard2017-10-161-0/+12
* peeeeeeeeep8888888888888888888888888888Erik Johnston2017-10-111-1/+1
* Fix group stream replicationErik Johnston2017-10-111-7/+7
* Fix schema delta versionsErik Johnston2017-10-113-1/+1
* Merge pull request #2466 from matrix-org/erikj/groups_mergedErik Johnston2017-10-116-20/+1529
|\
| * Merge branch 'develop' into erikj/groups_mergedDavid Baker2017-10-024-23/+129
| |\
| * | Add remove room APIErik Johnston2017-09-261-0/+23
| * | Add unique index to group_rooms tableErik Johnston2017-09-261-1/+1
| * | Remove user from group summary when the leave the groupErik Johnston2017-09-211-0/+8
| * | Correctly return next tokenErik Johnston2017-09-201-1/+2
| * | Fix initial syncErik Johnston2017-09-201-1/+9
| * | Add user profiles to summary from group serverErik Johnston2017-08-251-1/+1
| * | Add remote profile cacheErik Johnston2017-08-252-0/+126
| * | Add _simple_updateErik Johnston2017-08-251-19/+32
| * | Merge pull request #2410 from matrix-org/erikj/groups_publiciseErik Johnston2017-08-212-0/+32
| |\ \
| | * | Use BOOLEAN rather than TEXT typeErik Johnston2017-08-211-1/+1
| | * | Add bulk group publicised lookup APIErik Johnston2017-08-091-0/+14
| | * | Allow update group publicityErik Johnston2017-08-081-0/+15
| | * | Store whether the user wants to publicise their membership of a groupErik Johnston2017-08-082-0/+3
| * | | Groups: Fix mising json.load in initial syncErik Johnston2017-08-211-1/+7
| |/ /
| * | Update commentErik Johnston2017-07-241-2/+2
| * | Use join rather than joined, etc.Erik Johnston2017-07-241-2/+2
| * | Fix all the typosErik Johnston2017-07-241-8/+7
| * | Include users membership in group in summary APIErik Johnston2017-07-241-0/+55
| * | Check users/rooms are in group before adding to summaryErik Johnston2017-07-241-0/+25
| * | Merge pull request #2378 from matrix-org/erikj/group_sync_supportErik Johnston2017-07-213-5/+110
| |\ \
| | * | Fix replication. And notifyErik Johnston2017-07-201-0/+23
| | * | Add groups to sync streamErik Johnston2017-07-203-5/+87
| * | | Merge pull request #2377 from matrix-org/erikj/group_profile_updateErik Johnston2017-07-201-0/+11
| |\ \ \ | | |/ / | |/| |
| | * | Fix a storage descErik Johnston2017-07-201-1/+1
| | * | Add update group profile APIErik Johnston2017-07-201-0/+11
| * | | Fix typoErik Johnston2017-07-201-1/+1
| |/ /
| * | Fix typosErik Johnston2017-07-181-8/+17
| * | CommentErik Johnston2017-07-181-0/+14
| * | Remove sync stuffErik Johnston2017-07-182-29/+1
| * | Remove unused tablesErik Johnston2017-07-181-7/+0
| * | Remove sync stuffErik Johnston2017-07-182-70/+0
| * | Add local group server supportErik Johnston2017-07-173-0/+195
| * | Add DEFAULT_ROLE_IDErik Johnston2017-07-141-4/+5
| * | Correctly increment ordersErik Johnston2017-07-141-2/+2
| * | Remove unused functionsErik Johnston2017-07-131-152/+0
| * | CommentsErik Johnston2017-07-131-12/+24
| * | CommentsErik Johnston2017-07-122-5/+41
| * | Add group summary APIsErik Johnston2017-07-122-0/+699
| * | CommentErik Johnston2017-07-121-1/+1
| * | Move commentErik Johnston2017-07-111-2/+2
| * | Rename column to attestation_jsonErik Johnston2017-07-112-5/+5
| * | CommentsErik Johnston2017-07-111-2/+2
| * | CommentsErik Johnston2017-07-112-4/+34
| * | Initial group server implementationErik Johnston2017-07-103-1/+359
* | | Fix up commentErik Johnston2017-10-091-1/+2
* | | Invalidate cacheErik Johnston2017-10-031-0/+3
* | | Update commentsErik Johnston2017-10-031-0/+7
* | | Ignore incoming events for rooms that we have leftErik Johnston2017-10-031-0/+32
| |/ |/|
* | Up the limits on number of url cache entries to delete at one timeErik Johnston2017-09-281-2/+2
* | Add old indicesErik Johnston2017-09-281-0/+2
* | Only pull out local media that were for url cacheErik Johnston2017-09-281-1/+1
* | Fix typoErik Johnston2017-09-281-3/+3
* | Change expires column to expires_tsErik Johnston2017-09-282-8/+27
* | More bracketsErik Johnston2017-09-281-1/+1
* | Delete expired url cache dataErik Johnston2017-09-283-1/+79
* | Invalidate signing key cache when we gat an updateRichard van der Hoff2017-09-201-17/+24
|/
* Perf: Don't filter events for pushErik Johnston2017-07-071-0/+13
* Merge pull request #2309 from matrix-org/erikj/user_ip_replErik Johnston2017-07-061-3/+5
|\
| * Fix upErik Johnston2017-06-271-3/+5
* | Define CACHE_SIZE_FACTOR onceErik Johnston2017-07-042-8/+3
* | Make into listErik Johnston2017-06-291-1/+1
* | Prefill forward extrems and event to state groupsErik Johnston2017-06-292-2/+13
|/
* Fix up client ips to read from pending dataErik Johnston2017-06-272-21/+59
* Batch upsert user ipsErik Johnston2017-06-271-19/+38
* Fix up indices for users_who_share_roomsErik Johnston2017-06-261-1/+2
* Store URL cache preview downloads seperatelyErik Johnston2017-06-232-2/+22
* Add descErik Johnston2017-06-221-0/+1
* Merge pull request #2296 from matrix-org/erikj/dont_appserver_sharErik Johnston2017-06-211-15/+20
|\
| * Initialise exclusive_user_regexErik Johnston2017-06-211-15/+20
* | Merge branch 'develop' into avoid_duplicate_filtersKrombel2017-06-2125-223/+1652
|\|
| * Handle thumbnail urlsErik Johnston2017-06-191-12/+14
| * Add API to quarantine mediaErik Johnston2017-06-193-2/+89
| * Add shutdown room APIErik Johnston2017-06-193-0/+59
| * Merge pull request #2286 from matrix-org/erikj/split_out_user_dirErik Johnston2017-06-161-0/+18
| |\
| | * Initial worker implErik Johnston2017-06-161-0/+18
| * | Merge pull request #2280 from matrix-org/erikj/share_room_user_dirErik Johnston2017-06-163-31/+299
| |\|
| | * Include users who share room with requester in user directoryErik Johnston2017-06-151-22/+39
| | * Implement updating users who share rooms on the flyErik Johnston2017-06-151-1/+110
| | * Implement initial population of users who share rooms tableErik Johnston2017-06-151-7/+117
| | * Add DB schema for tracking users who share roomsErik Johnston2017-06-152-1/+33
| * | Merge pull request #2281 from matrix-org/erikj/phone_home_statsErik Johnston2017-06-153-70/+70
| |\ \ | | |/ | |/|
| | * Add some more statsErik Johnston2017-06-152-0/+28
| | * Fix phone home statsErik Johnston2017-06-142-71/+43
| * | Fix user directory insertion due to missing room_idErik Johnston2017-06-131-1/+2
| * | Fix up sqlErik Johnston2017-06-131-10/+12
| * | Fix user dir to not assume existence of userErik Johnston2017-06-131-22/+37
| * | Merge pull request #2274 from matrix-org/erikj/cache_is_host_joinedErik Johnston2017-06-132-1/+6
| |\ \
| | * | Add cache for is_host_joinedErik Johnston2017-06-132-1/+6
| * | | Tweak the ranking of PG user dir searchErik Johnston2017-06-131-13/+40
| |/ /
| * | Merge pull request #2266 from matrix-org/erikj/host_in_roomErik Johnston2017-06-121-29/+26
| |\ \
| | * | Tweak SQLErik Johnston2017-06-091-3/+6
| | * | Change is_host_joined to use current_state tableErik Johnston2017-06-091-29/+23
| * | | Fix replicationErik Johnston2017-06-091-1/+1
| * | | CommentsErik Johnston2017-06-091-0/+3
| * | | Cache state deltasErik Johnston2017-06-091-3/+12
| |/ /
| * | Ensure we don't use unpersisted state group as prev groupErik Johnston2017-06-081-0/+13
| * | Merge pull request #2259 from matrix-org/erikj/fix_state_woesErik Johnston2017-06-073-10/+24
| |\ \
| | * | Fix bug where state_group tables got corruptedErik Johnston2017-06-073-10/+24
| | |/
| * | Merge pull request #2248 from matrix-org/erikj/state_fixupErik Johnston2017-06-072-21/+122
| |\ \
| | * | CommentsErik Johnston2017-06-072-0/+15
| | * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_fixupErik Johnston2017-06-077-9/+624
| | |\ \
| | * | | Remove spurious log linesErik Johnston2017-06-071-1/+0
| | * | | Handle None state group correctlyErik Johnston2017-05-261-1/+4
| | * | | Faster cache for get_joined_hostsErik Johnston2017-05-252-21/+105
| * | | | When pruning, delete from device_lists_outbound_last_successErik Johnston2017-06-071-0/+8
| * | | | Keep pruning background taskErik Johnston2017-06-071-0/+45
| * | | | Split up device_lists_outbound_pokes table for faster updates.Erik Johnston2017-06-072-58/+57
| | |/ / | |/| |
| * | | Increase size of IP cacheErik Johnston2017-06-071-1/+6
| * | | Handle profile updates in user directoryErik Johnston2017-06-011-0/+49
| * | | Fix sqliteErik Johnston2017-06-011-1/+1
| * | | Split the table in twoErik Johnston2017-06-013-4/+88
| * | | Tweak search queryErik Johnston2017-06-011-1/+1
| * | | Tweak search queryErik Johnston2017-06-011-2/+2
| * | | Remove spurious inlineCallbacksErik Johnston2017-06-011-1/+0
| * | | Bug fixes and loggingErik Johnston2017-06-011-1/+1
| * | | Order by if they have profile infoErik Johnston2017-06-011-2/+11
| * | | Use prefix matchingErik Johnston2017-06-011-5/+29
| * | | Comment on why arbitrary commentsErik Johnston2017-05-311-2/+6
| * | | Use unique indicesErik Johnston2017-05-311-2/+2
| * | | Convert to intErik Johnston2017-05-311-0/+1
| * | | Fix testsErik Johnston2017-05-311-0/+1
| * | | Fix typoErik Johnston2017-05-311-1/+1
| * | | Limit number of things we fetch out of the dbErik Johnston2017-05-311-9/+30
| * | | Add stream change cacheErik Johnston2017-05-313-1/+19
| * | | Split out directory and search tablesErik Johnston2017-05-312-29/+56
| * | | Pull max id from correct tableErik Johnston2017-05-311-0/+8
| * | | Handle the server leaving a public roomErik Johnston2017-05-312-0/+15
| * | | Add commentsErik Johnston2017-05-312-4/+37
| * | | Weight differentlyErik Johnston2017-05-311-10/+24
| * | | Add searchErik Johnston2017-05-311-0/+35
| * | | Update room column when room becomes unpublicErik Johnston2017-05-311-0/+10
| * | | Add user_directory to databaseErik Johnston2017-05-313-0/+216
| * | | Add commentErik Johnston2017-05-301-1/+1
| * | | Add clobbered event_idErik Johnston2017-05-302-1/+3
| * | | Add current_state_delta_stream tableErik Johnston2017-05-302-8/+48
| |/ /
| * | Merge pull request #2247 from matrix-org/erikj/auth_eventErik Johnston2017-05-244-7/+104
| |\ \
| | * | Add background task to clear out old event_authErik Johnston2017-05-243-1/+74
| | * | Only store event_auth for state eventsErik Johnston2017-05-242-6/+30
| * | | Remove redundant invalidationErik Johnston2017-05-231-3/+0
| * | | Missed an invalidationErik Johnston2017-05-231-0/+3
| * | | Stream count_e2e_one_time_keys cache invalidationErik Johnston2017-05-221-13/+18
| |/ /
| * | Fix invalidation of get_users_with_read_receipts_in_roomErik Johnston2017-05-191-1/+3
| * | Increase size of push rule cachesErik Johnston2017-05-181-2/+2
| * | Make get_if_app_services_interested_in_user fasterErik Johnston2017-05-182-10/+23
| * | Merge pull request #2230 from matrix-org/erikj/speed_up_get_stateErik Johnston2017-05-171-29/+11
| |\ \
| | * | Make get_state_groups_from_groups faster.Erik Johnston2017-05-171-29/+11
| | |/
| * | Merge pull request #2216 from slipeer/app_services_interested_in_userErik Johnston2017-05-172-3/+6
| |\ \ | | |/ | |/|
| | * Fix users claimed non-exclusively by an app service don't get notifications #...Slipeer2017-05-112-3/+6
| * | CommentErik Johnston2017-05-171-0/+5
| * | Short circuit when we have delta idsErik Johnston2017-05-171-3/+19
| * | Speed up get_joined_hostsErik Johnston2017-05-161-1/+2
| * | Merge pull request #2224 from matrix-org/erikj/prefill_stateErik Johnston2017-05-163-9/+26
| |\ \
| | * | Remove spurious merge artifactsErik Johnston2017-05-161-13/+0
| | * | Take a copy before prefilling, as it may be a frozendictErik Johnston2017-05-161-1/+1
| | * | Update commentErik Johnston2017-05-151-1/+2
| | * | CommentsErik Johnston2017-05-152-3/+6
| | * | Add more granular event send metricsErik Johnston2017-05-151-0/+12
| | * | Prefill state cachesErik Johnston2017-05-153-6/+20
* | | | replaced json.dumps with encode_canonical_jsonKrombel2017-06-211-1/+2
* | | | Merge branch 'develop' into avoid_duplicate_filtersKrombel2017-05-164-12/+63
|\| | |
| * | | Add a comment to old deltaRichard van der Hoff2017-05-111-0/+4
| * | | Don't create event_search index on sqliteRichard van der Hoff2017-05-112-3/+11
| * | | Add more logging for purgingRichard van der Hoff2017-05-111-7/+14
| * | | Add an index to event_searchRichard van der Hoff2017-05-113-3/+35
| |/ /
* | | avoid access-error if no filter_id matchesKrombel2017-05-151-3/+3
* | | insert whitespace to fix travis buildKrombel2017-05-121-1/+1
* | | add check to only add a new filter if the same filter does not exist previouslyKrombel2017-05-111-0/+9
|/ /
* | Tidy purge code and add some commentsRichard van der Hoff2017-05-111-12/+19
* | Don't de-delta state groups we're about to deleteRichard van der Hoff2017-05-101-11/+9
* | add some logging to purge_historyRichard van der Hoff2017-05-101-4/+21
|/
* Merge pull request #2208 from matrix-org/erikj/ratelimit_overridErik Johnston2017-05-102-1/+57
|\
| * Add per user ratelimiting overridesErik Johnston2017-05-102-1/+57
* | Allow clients to upload one-time-keys with new sigsRichard van der Hoff2017-05-091-20/+27
|/
* Merge pull request #2203 from matrix-org/erikj/event_cache_hit_ratioErik Johnston2017-05-082-2/+21
|\
| * Expand docstring a bitErik Johnston2017-05-081-1/+7
| * Don't update event cache hit ratio from get_joined_usersErik Johnston2017-05-082-2/+15
* | Merge pull request #2201 from matrix-org/erikj/store_device_cacheErik Johnston2017-05-081-3/+22
|\ \