summary refs log tree commit diff
path: root/synapse/storage/data_stores/main (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
|/ / /
* | | 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