summary refs log tree commit diff
path: root/synapse/storage/event_federation.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* User Cursor.__iter__ instead of fetchallErik Johnston2017-03-231-7/+6
* Refactoring and cleanupsRichard van der Hoff2017-03-171-12/+12
* Fix bugs in the /keys/changes apiRichard van der Hoff2017-02-141-1/+16
* Up get_latest_event_ids_in_room cacheErik Johnston2017-02-011-1/+1
* Calculate the forward extremeties onceErik Johnston2017-01-201-70/+6
* Remove spurious AS clauseErik Johnston2016-09-211-1/+1
* Fix _delete_old_forward_extrem_cache queryErik Johnston2016-09-211-5/+4
* CommentErik Johnston2016-09-161-0/+2
* Filter remote rooms lists locallyErik Johnston2016-09-161-1/+1
* Handling expiring stream extrems correctly.Erik Johnston2016-09-151-3/+20
* Change get_pos_of_last_change to return upper boundErik Johnston2016-09-151-3/+2
* Use stream_change cache to make get_forward_extremeties_for_room cache more e...Erik Johnston2016-09-151-1/+10
* Add cache to get_forward_extremeties_for_roomErik Johnston2016-09-151-0/+1
* Add a room visibility streamErik Johnston2016-09-141-1/+1
* Add a DB index to figure out past state at a stream ordering in a roomErik Johnston2016-09-141-0/+81
* Use computed prev event idsErik Johnston2016-04-011-0/+16
* Respond to federated invite with non-empty contextDaniel Wagner-Hall2016-02-171-4/+4
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Remove unused functions from synapse/storage/event_federation.pyMark Haines2015-09-231-71/+0
* synapse/storage/event_federation.py:_get_auth_events is unusedMark Haines2015-09-221-21/+0
* Merge pull request #281 from matrix-org/erikj/update_extremetiesErik Johnston2015-09-151-0/+9
|\
| * "Comments"Erik Johnston2015-09-151-0/+6
| * When updating a stored event from outlier to non-outlier, remember to update ...Erik Johnston2015-09-151-0/+3
* | Merge branch 'release-v0.10.0' into developMark Haines2015-08-281-2/+8
|\|
| * Don't insert events into 'event_*_extremeties' tables if they're outliersErik Johnston2015-08-231-2/+8
* | Remove syutil dependency in favour of smaller single-purpose librariesMark Haines2015-08-241-1/+1
|/
* Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-111-1/+2
* Change Cache to not use *args in its interfaceErik Johnston2015-08-071-2/+2
* Merge pull request #193 from matrix-org/erikj/bulk_persist_eventErik Johnston2015-07-141-51/+57
|\
| * Add bulk insert events APIErik Johnston2015-06-251-51/+57
* | Don't explode if we don't recognize one of the event_ids in the backfill requestErik Johnston2015-07-061-2/+4
|/
* Batch SELECTs in _get_auth_chain_ids_txnErik Johnston2015-06-231-3/+11
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/backfill_f...Erik Johnston2015-05-221-0/+1
|\
| * Merge pull request #156 from matrix-org/erikj/join_perfMark Haines2015-05-221-2/+3
| |\
| * | Invalidate the get_latest_event_ids_in_room cache when deleting from event_fo...Mark Haines2015-05-221-0/+1
* | | Actually return something from lambdaErik Johnston2015-05-211-1/+1
* | | Sort backfill eventsErik Johnston2015-05-211-1/+5
* | | Remove dead codeErik Johnston2015-05-211-5/+0
* | | Only get non-stateErik Johnston2015-05-211-1/+2
* | | Skip events we've already seenErik Johnston2015-05-211-0/+3
* | | Correctly prepopulate queueErik Johnston2015-05-211-2/+10
* | | Don't prepopulate event_resultsErik Johnston2015-05-211-1/+1
* | | Don't readd things that are already in event_resultsErik Johnston2015-05-211-1/+2
* | | PriorityQueue gives lowest firstErik Johnston2015-05-211-2/+2
* | | Correctly capture Queue.Empty exceptionErik Johnston2015-05-211-2/+5
* | | Merge branch 'erikj/join_perf' of github.com:matrix-org/synapse into erikj/ba...Erik Johnston2015-05-211-21/+17
|\ \ \ | | |/ | |/|
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-211-21/+17
| |\|
| | * Move fetching of events into their own transactionsErik Johnston2015-05-141-21/+17
* | | Fix _get_backfill_events to return events in the correct orderErik Johnston2015-05-201-27/+28
* | | Ensure event_results is a setErik Johnston2015-05-191-1/+1
|/ /
* / Fix event_backwards_extrem insertion to ignore outliersErik Johnston2015-05-191-2/+3
|/
* Err, delete the right stuffErik Johnston2015-05-121-4/+5
* NewlinesErik Johnston2015-05-121-2/+0
* We do actually want to delete rows out of event_backward_extremitiesErik Johnston2015-05-121-4/+11
* Fix up _handle_prev_events to not try to insert duplicate rowsErik Johnston2015-05-121-23/+13
* Initial hack at wiring together pagination and backfillErik Johnston2015-05-111-2/+26
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/executemanyErik Johnston2015-05-051-1/+3
|\
| * Collect the invalidate callbacks on the transaction object rather than passin...Mark Haines2015-05-051-5/+5
| * Invalidate the caches from the correct threadMark Haines2015-05-051-4/+6
* | Fix indentationErik Johnston2015-05-051-10/+10
* | Add support for using executemanyErik Johnston2015-05-051-19/+21
|/
* Correctly name transactionErik Johnston2015-05-051-1/+1
* Cache latest_event_ids_in_roomErik Johnston2015-05-011-1/+4
* Split a storage function in two so that we don't have to do extra work.Erik Johnston2015-05-011-0/+11
* Add support for postgres instead of mysql. Change sql accourdingly. blob + va...Erik Johnston2015-04-141-5/+5
* Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-03-201-0/+12
|\
| * Clean out event_forward_extremities table when the server rejoins the roomErik Johnston2015-03-181-0/+12
* | Convert storage layer to be mysql compatibleErik Johnston2015-03-191-14/+11
|/
* Revert get_auth_chain changesErik Johnston2015-02-231-7/+5
* Initial stab at implementing a batched get_missing_pdus requestErik Johnston2015-02-191-5/+58
* Get an auth query one at a timeErik Johnston2015-02-121-7/+6
* Update copyright noticesMark Haines2015-01-061-1/+1
* Use _get_events_txn instead of _parse_events_txnErik Johnston2014-12-161-7/+1
* Merge branch 'hotfixes-v0.5.4a' of github.com:matrix-org/synapse into release...Erik Johnston2014-12-161-8/+8
|\
| * Fix bug where we did not send the full auth chain to people that joined over ...Erik Johnston2014-12-161-8/+8
* | Fix bug where we ignored event_edge_hashes tableErik Johnston2014-12-151-5/+6
|/
* Update some of the docs in event_federationErik Johnston2014-11-121-11/+20
* PEP8Erik Johnston2014-11-101-6/+3
* Fix backfill to work. Add auth to backfill requestErik Johnston2014-11-101-2/+2
* Add '/event_auth/' federation apiErik Johnston2014-11-071-7/+19
* Fix bug in _get_auth_chain_txnErik Johnston2014-11-071-14/+11
* Implement method to get auth_chain from a given event_idErik Johnston2014-11-071-0/+35
* Start implementing auth chainsErik Johnston2014-11-071-0/+21
* Implement new replace_state and changed prev_stateErik Johnston2014-11-061-7/+57
* Get correct prev_eventsErik Johnston2014-11-051-9/+21
* Make prev_event signing work again.Erik Johnston2014-10-311-1/+1
* Actually don't store any PDUsErik Johnston2014-10-311-0/+7
* Move the impl of backfill to use events.Erik Johnston2014-10-311-1/+85
* Fix SQL so that accepts we may want to persist events twice.Erik Johnston2014-10-301-3/+5
* Start filling out and using new events tablesErik Johnston2014-10-291-16/+33
* Don't reference PDU when persisting eventErik Johnston2014-10-281-2/+2
* Begin implementing all the PDU storage stuff in Events landErik Johnston2014-10-281-0/+143