summary refs log tree commit diff
path: root/synapse/storage/data_stores/main (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #6487 from matrix-org/erikj/pass_in_dbErik Johnston2019-12-0924-82/+130
|\
| * Fix port db scriptErik Johnston2019-12-061-1/+1
| * Move are_all_users_on_domain checks to main data store.Erik Johnston2019-12-061-1/+23
| * Change DataStores to accept 'database' param.Erik Johnston2019-12-0624-81/+107
* | Merge pull request #6484 from matrix-org/erikj/port_sync_handlerErik Johnston2019-12-092-3/+3
|\ \ | |/ |/|
| * Fixup functions to consistently return deferredsErik Johnston2019-12-062-3/+3
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/make_datab...Erik Johnston2019-12-062-24/+43
|\ \
| * | Replace /admin/v1/users_paginate endpoint with /admin/v2/users (#5925)Manuel Stahl2019-12-052-22/+43
| |/
* | Move background update handling out of storeErik Johnston2019-12-0515-138/+153
* | Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-0541-722/+772
|/
* Merge pull request #6464 from matrix-org/erikj/make_public_sql_baseErik Johnston2019-12-0541-419/+432
|\
| * Remove underscore from SQLBaseStore functionsErik Johnston2019-12-0441-420/+416
| * Don't call SQLBaseStore methods from outside storesErik Johnston2019-12-041-0/+17
* | Merge pull request #6470 from matrix-org/babolivier/port_db_ci_failureBrendan Abolivier2019-12-041-2/+10
|\ \
| * | Fix background updates for synapse_port_dbBrendan Abolivier2019-12-041-2/+10
| |/
* / get rid of (most of) have_events from _update_auth_events_and_context_for_aut...Richard van der Hoff2019-12-041-34/+0
|/
* Merge pull request #6454 from matrix-org/erikj/clean_base_StoreErik Johnston2019-12-046-8/+218
|\
| * Revert "Move get_user_count_txn out of base store"Erik Johnston2019-12-041-12/+0
| * _CURRENT_STATE_CACHE_NAME is publicErik Johnston2019-12-041-3/+3
| * Move get_user_count_txn out of base storeErik Johnston2019-12-041-0/+12
| * Move cache invalidation to main data storeErik Johnston2019-12-044-8/+141
| * Move event fetch vars to EventWorkStoreErik Johnston2019-12-043-2/+15
| * Move account validity bg updates to registration storeErik Johnston2019-12-041-0/+64
* | Merge pull request #6329 from matrix-org/babolivier/context_filtersBrendan Abolivier2019-12-041-0/+3
|\ \ | |/ |/|
| * Merge branch 'develop' into babolivier/context_filtersBrendan Abolivier2019-12-0418-288/+858
| |\
| * | Update copyrightsBrendan Abolivier2019-11-051-0/+3
* | | Merge pull request #6451 from matrix-org/uhoreg/cross_signing_signatures_indexErik Johnston2019-12-042-1/+24
|\ \ \
| * | | apply changes from reviewHubert Chathi2019-12-031-1/+2
| * | | make cross signing signature index non-uniqueHubert Chathi2019-12-022-1/+23
| | |/ | |/|
* | | Fix exception when a cross-signed device is deleted (#6462)Richard van der Hoff2019-12-041-4/+19
* | | Add ephemeral messages support (MSC2228) (#6409)Brendan Abolivier2019-12-032-6/+141
|/ /
* | Remove local threepids on account deactivation (#6426)Andrew Morgan2019-11-281-0/+13
* | add etag and count to key backup endpoints (#5858)Hubert Chathi2019-11-272-66/+177
* | Merge branch 'develop' into babolivier/message_retentionBrendan Abolivier2019-11-2614-222/+381
|\ \
| * | Don't construct a setErik Johnston2019-11-261-6/+3
| * | Fix find_next_generated_user_id_localpartErik Johnston2019-11-261-10/+7
| * | Prevent account_data content from being sent over TCP replication (#6333)Andrew Morgan2019-11-261-3/+3
| |\ \
| | * | Remove content from being sent for account data rdata streamAndrew Morgan2019-11-081-3/+3
| * | | Make sure that we close cursors before returning from a query (#6408)Richard van der Hoff2019-11-251-1/+1
| * | | Merge tag 'v1.6.0rc2' into developRichard van der Hoff2019-11-251-18/+25
| |\ \ \
| | * | | Fix exceptions from background database update for event labels. (#6407)Richard van der Hoff2019-11-251-18/+25
| * | | | Clean up newline quote marks around the codebase (#6362)Andrew Morgan2019-11-218-20/+14
| |/ / /
| * / / Replace UPDATE with UPSERT on device_max_stream_id table (#6363)Andrew Morgan2019-11-151-2/+15
| |/ /
| * | Merge pull request #6340 from matrix-org/babolivier/pagination_queryBrendan Abolivier2019-11-081-8/+32
| |\ \
| | * | Incorporate reviewBrendan Abolivier2019-11-081-12/+12
| | * | LintBrendan Abolivier2019-11-071-2/+2
| | * | Only join on event_labels if we're filtering on labelsBrendan Abolivier2019-11-071-9/+24
| | * | Handle lack of filterBrendan Abolivier2019-11-071-5/+3
| | * | Fix the SQL SELECT query in _paginate_room_events_txnBrendan Abolivier2019-11-071-2/+13
| * | | Merge pull request #6295 from matrix-org/erikj/split_purge_historyErik Johnston2019-11-082-172/+200
| |\ \ \
| | * | | Move type annotation into docstringErik Johnston2019-11-081-3/+3
| | * | | Fix deleting state groups during room purge.Erik Johnston2019-11-061-13/+14
| | * | | Use correct type annotationErik Johnston2019-11-061-2/+2
| | * | | Change to not require a state_groups.room_id index.Erik Johnston2019-11-043-51/+43
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_purg...Erik Johnston2019-11-0417-53/+258
| | |\ \ \ | | | | |/ | | | |/|
| | * | | Fix up commentErik Johnston2019-11-011-2/+1
| | * | | Update log line to lie a little lessErik Johnston2019-10-311-1/+1
| | * | | Add state_groups.room_id indexErik Johnston2019-10-312-0/+24
| | * | | DocstringsErik Johnston2019-10-311-3/+11
| | * | | Fix purge room APIErik Johnston2019-10-311-5/+8
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_purg...Erik Johnston2019-10-313-4/+3
| | |\ \ \
| | * | | | Split purge API into events vs stateErik Johnston2019-10-302-175/+176
| * | | | | Merge pull request #6310 from matrix-org/babolivier/msc2326_bg_updateBrendan Abolivier2019-11-072-0/+80
| |\ \ \ \ \
| | * | | | | Update synapse/storage/data_stores/main/events_bg_updates.pyBrendan Abolivier2019-11-071-1/+1
| | * | | | | Update synapse/storage/data_stores/main/events_bg_updates.pyBrendan Abolivier2019-11-071-1/+1
| | * | | | | Copy resultsBrendan Abolivier2019-11-071-1/+3
| | * | | | | Revert "Back to using cursor_to_dict"Brendan Abolivier2019-11-071-9/+9
| | * | | | | Back to using cursor_to_dictBrendan Abolivier2019-11-071-9/+9
| | * | | | | Initialise value before loopingBrendan Abolivier2019-11-071-4/+8
| | * | | | | Incorporate reviewBrendan Abolivier2019-11-071-14/+9
| | * | | | | Fix field nameBrendan Abolivier2019-11-061-1/+1
| | * | | | | Update insertBrendan Abolivier2019-11-061-1/+6
| | * | | | | Print out the actual number of affected rowsBrendan Abolivier2019-11-041-4/+4
| | * | | | | Correctly order resultsBrendan Abolivier2019-11-041-5/+5
| | * | | | | TODOBrendan Abolivier2019-11-041-0/+2
| | * | | | | Fix exit conditionBrendan Abolivier2019-11-041-1/+3
| | * | | | | LintBrendan Abolivier2019-11-041-6/+3
| | * | | | | Don't try to process events we already have a label forBrendan Abolivier2019-11-041-1/+2
| | * | | | | Use a sensible default value for labelsBrendan Abolivier2019-11-041-1/+1
| | * | | | | Use the right format for rowsBrendan Abolivier2019-11-041-1/+1
| | * | | | | MSC2326: Add background update to take previous events into accountBrendan Abolivier2019-11-042-0/+72
| | | |_|/ / | | |/| | |
| * | | | | Merge pull request #6235 from matrix-org/anoa/room_upgrade_groupsAndrew Morgan2019-11-072-1/+20
| |\ \ \ \ \
| | * | | | | Re-add docstring, with caveats detailedAndrew Morgan2019-11-042-2/+6
| | * | | | | Transfer upgraded rooms on groupsAndrew Morgan2019-11-041-0/+15
| | |/ / / /
| * | | | / Numeric ID checker now checks @0, don't ratelimit on checkingAndrew Morgan2019-11-061-4/+4
| | |_|_|/ | |/| | |
| * | | | Fix bug which caused rejected events to be stored with the wrong room state ...Richard van der Hoff2019-11-061-1/+1
| |/ / /
* | | | Fix worker modeBrendan Abolivier2019-11-191-56/+56
* | | | LintBrendan Abolivier2019-11-191-25/+24
* | | | Implement per-room message retention policiesBrendan Abolivier2019-11-043-0/+288
|/ / /
* | | Merge pull request #6301 from matrix-org/babolivier/msc2326Brendan Abolivier2019-11-013-2/+75
|\ \ \
| * | | Incorporate reviewBrendan Abolivier2019-11-012-1/+7
| * | | Update synapse/storage/data_stores/main/schema/delta/56/event_labels.sqlBrendan Abolivier2019-11-011-1/+1
| * | | Add more data to the event_labels table and fix the indexesBrendan Abolivier2019-11-013-5/+21
| * | | LintBrendan Abolivier2019-11-011-1/+1
| * | | Incorporate reviewBrendan Abolivier2019-11-011-2/+10
| * | | LintBrendan Abolivier2019-10-301-7/+1
| * | | Add more integration testingBrendan Abolivier2019-10-301-1/+1
| * | | Add index on labelBrendan Abolivier2019-10-301-1/+3
| * | | Implement filteringBrendan Abolivier2019-10-301-0/+9
| * | | Store labels for new eventsBrendan Abolivier2019-10-301-1/+19
| * | | Add database table for keeping track of labels on eventsBrendan Abolivier2019-10-291-0/+20
* | | | Merge pull request #6313 from matrix-org/uhoreg/cross_signing_fix_sqlite_schemaHubert Chathi2019-11-011-0/+42
|\ \ \ \
| * | | | fix hidden field in devices table for older sqliteHubert Chathi2019-10-311-0/+42
* | | | | Update synapse/storage/data_stores/main/devices.pyHubert Chathi2019-10-311-1/+1
* | | | | Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-3114-31/+59
|\| | | |
| * | | | Merge branch 'develop' into uhoreg/cross_signing_fix_workers_notifyHubert Chathi2019-10-3113-30/+31
| |\ \ \ \
| | * | | | Update black to 19.10b0 (#6304)Amber Brown2019-11-0112-26/+28
| | | |_|/ | | |/| |
| | * | | Fix /purge_room API.Erik Johnston2019-10-311-1/+0
| | * | | Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-312-2/+2
| | * | | fix delete_existing for _persist_events (#6300)Richard van der Hoff2019-10-301-1/+1
| | | |/ | | |/|
| * | | make user signatures a separate streamHubert Chathi2019-10-302-12/+25
| * | | Merge branch 'develop' into uhoreg/cross_signing_fix_workers_notifyHubert Chathi2019-10-309-720/+201
| |\| |
| * | | make notification of signatures work with workersHubert Chathi2019-10-242-2/+16
* | | | rename get_devices_by_remote to get_device_updates_by_remoteHubert Chathi2019-10-301-4/+4
* | | | Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-308-653/+134
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_out_...Erik Johnston2019-10-3011-81/+193
| |\ \ \
| | * | | Port receipt and read markers to async/waitErik Johnston2019-10-291-4/+3
| | | |/ | | |/|
| | * | Merge pull request #6263 from matrix-org/erikj/caches_return_deferredsErik Johnston2019-10-291-1/+1
| | |\ \
| | | * | Quick fix to ensure cache descriptors always return deferredsErik Johnston2019-10-281-1/+1
| | * | | Merge branch 'release-v1.5.0' of github.com:matrix-org/synapse into developErik Johnston2019-10-291-4/+8
| | |\ \ \ | | | |/ / | | |/| |
| | | * | Make room directory search case insensitiveErik Johnston2019-10-291-4/+8
| | * | | Convert EventContext to attrs (#6218)Richard van der Hoff2019-10-281-1/+6
| | * | | Merge pull request #6253 from matrix-org/uhoreg/e2e_backup_delete_keysHubert Chathi2019-10-252-0/+33
| | |\ \ \
| | | * | | delete keys when deleting backupsHubert Chathi2019-10-242-0/+33
| | | | |/ | | | |/|
| | * | | Merge branch 'release-v1.5.0' of github.com:matrix-org/synapse into developErik Johnston2019-10-251-67/+67
| | |\ \ \ | | | | |/ | | | |/|
| | | * | Fix /keys/query API on workers.Erik Johnston2019-10-251-67/+67
| | | |/
| | * | Merge pull request #6251 from matrix-org/michaelkaye/debug_guard_loggingErik Johnston2019-10-251-3/+1
| | |\ \
| | | * | Address codestyle concernsMichael Kaye2019-10-241-3/+1
| | | * | use %r to __repr__ objectsMichael Kaye2019-10-241-1/+1
| | | |/
| | * / Make user/room stats log line less verbose.Michael Kaye2019-10-241-1/+1
| | |/
| * | Review commentsErik Johnston2019-10-301-5/+14
| * | Move persist_events out from main data store.Erik Johnston2019-10-231-634/+67
* | | apply changes as a result of PR reviewHubert Chathi2019-10-301-43/+36
* | | Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-242-77/+145
| |/ |/|
* | Move schema delta files to the correct data store.Erik Johnston2019-10-242-0/+73
|/
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/refactor_s...Erik Johnston2019-10-221-11/+37
* Delete background_update table creation in main data_storeErik Johnston2019-10-221-21/+0
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/refactor_s...Erik Johnston2019-10-223-11/+262
* Move storage classes into a main "data store".Erik Johnston2019-10-21229-0/+31085