summary refs log tree commit diff
path: root/synapse/storage/stream.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fetch events from events_id in their own transactionsErik Johnston2015-05-131-10/+12
* Make get_current_token accept a direction parameter, which tells whether the ...Erik Johnston2015-05-121-2/+18
* Move storage.stream._StreamToken to types.RoomStreamTokenErik Johnston2015-05-111-85/+33
* Add more conditions on JOINs to make postgres go a little faster.Erik Johnston2015-04-301-3/+5
* Add support for postgres instead of mysql. Change sql accourdingly. blob + va...Erik Johnston2015-04-141-8/+8
* Remove unused importErik Johnston2015-04-091-1/+1
* Stream ordering and out of order insertions.Erik Johnston2015-04-091-20/+3
* Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-6/+0
* Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-03-201-1/+2
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into store_rearrangementErik Johnston2015-03-201-1/+2
| |\
| | * Add the tiniest of tiny one-element caches to get_room_events_max_id() as it'...Paul "LeoNerd" Evans2015-03-201-1/+2
| * | Rearrange storage modulesErik Johnston2015-03-201-0/+19
| |/
* | Rearrange storage modulesErik Johnston2015-03-201-0/+19
* | Convert storage layer to be mysql compatibleErik Johnston2015-03-191-2/+2
|/
* Wrap all of get_app_service_rooms in a txn.Kegan Dougal2015-03-021-24/+22
* JOIN state_events rather than parsing unrecognized_keys to pull out member st...Kegan Dougal2015-03-021-10/+4
* PR tweaks: set earlier on and use 'as json' for compatKegan Dougal2015-03-021-4/+4
* PEP8Kegan Dougal2015-02-271-1/+0
* Check for membership invite events correctly.Kegan Dougal2015-02-261-2/+21
* Finish impl to get new events for AS. ASes should now be able to poll /eventsKegan Dougal2015-02-261-7/+55
* Comment unused variables.Kegan Dougal2015-02-251-2/+2
* Add stub functions and work out execution flow to implement AS event stream p...Kegan Dougal2015-02-251-0/+21
* Fix token formattingMark Haines2015-01-301-2/+2
* Filter the recent events before applying the limit when doing an incremental ...Mark Haines2015-01-301-6/+15
* Merge branch 'client_v2_filter' into client_v2_syncMark Haines2015-01-291-3/+3
|\
| * SYN-252: Supply the stream and topological parts in the correct order to the ...Mark Haines2015-01-291-3/+3
* | Use get_room_events_stream to get changes to the rooms if the number of chang...Mark Haines2015-01-291-0/+7
* | Fix FormattingMark Haines2015-01-271-1/+0
* | Start implementing incremental initial syncMark Haines2015-01-271-9/+32
|/
* get_room_events isn't called anywhereMark Haines2015-01-131-30/+0
* Fix stream token orderingMark Haines2015-01-131-72/+101
* SYN-178: Fix off by one.Kegan Dougal2015-01-121-2/+6
* Only fetch the columns we need.Erik Johnston2015-01-061-1/+1
* Merge pull request #28 from matrix-org/erikj-perfMark Haines2015-01-061-77/+68
|\
| * PEP8Erik Johnston2015-01-061-1/+0
| * Only fetch prev_content when a client is streaming/paginating. Use transactio...Erik Johnston2015-01-061-77/+69
* | Update copyright noticesMark Haines2015-01-061-1/+1
|/
* Don't return outliers when we get recent events for rooms.Erik Johnston2014-11-271-1/+1
* Fix pep8 codestyle warningsMark Haines2014-11-201-5/+6
* SYN-104: When going backwards the end token should be before the last eventMark Haines2014-11-181-0/+3
* Notify users about invites.Erik Johnston2014-11-101-2/+1
* Add transaction level logging and timing information. Add a _simple_delete me...Erik Johnston2014-10-281-1/+4
* Add LIMIT to scalar subqueryErik Johnston2014-09-251-3/+6
* Rename deletions to redactionsErik Johnston2014-09-241-9/+9
* Add m.room.deletion. If an event is deleted it will be returned to clients 'p...Erik Johnston2014-09-231-5/+25
* SYN-47: Fix bug where we still returned events for rooms we had left.Erik Johnston2014-09-191-1/+1
* Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_poolPaul "LeoNerd" Evans2014-09-121-1/+1
* When getting a state event also include the previous contentErik Johnston2014-09-061-8/+9
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Get the equalities right.Erik Johnston2014-08-291-2/+5
* Initial room event stream token must be s0, not s1, or everyone will miss the...Paul "LeoNerd" Evans2014-08-281-1/+1
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-2/+2
|\
| * WIP: Completely change how event streaming and pagination work. This reflects...Erik Johnston2014-08-261-2/+2
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-261-7/+5
|\|
| * Fix pyflakes errorsMark Haines2014-08-261-2/+0
| * Order 'get_recent_events_for_room' correctly.Erik Johnston2014-08-261-1/+1
| * Don't return state event outlier's when paginating.Erik Johnston2014-08-221-1/+2
| * Change IM sync api to also return the current presence list.Erik Johnston2014-08-211-3/+2
* | Move the event storage into a single transactionMark Haines2014-08-261-5/+8
|/
* Make event stream storage return all membership events about the user, regard...Erik Johnston2014-08-201-4/+6
* Only hit get_room_events_stream if we have a valid user_idErik Johnston2014-08-191-0/+3
* Fix token to correct formatErik Johnston2014-08-191-1/+1
* Remove debug logging from token parsing funcs.Erik Johnston2014-08-191-2/+0
* Add comment about what strorage.stream doesErik Johnston2014-08-191-0/+20
* Change the way pagination works to support out of order events.Erik Johnston2014-08-191-29/+157
* Fix typos in SQL and where we still had rowid's (which no longer exist)Erik Johnston2014-08-181-6/+6
* Make snapshot_all_rooms return results in the correct form, including start a...Erik Johnston2014-08-181-4/+21
* Add two different columns for ordering the events table, one which can be use...Erik Johnston2014-08-181-8/+9
* PEP8 cleanupsErik Johnston2014-08-151-2/+0
* Comment.Erik Johnston2014-08-151-0/+1
* Fix bug when generating a key when get_room_events_stream returned zero rowsErik Johnston2014-08-151-3/+7
* Actually use MAX_STREAM_SIZE constant.Erik Johnston2014-08-151-1/+1
* Fix pagination to work with new db schemaErik Johnston2014-08-151-7/+24
* Correctly return new token when returning events. Serialize events correctly.Erik Johnston2014-08-151-5/+13
* Start chagning the events stream to work with the new DB schemaErik Johnston2014-08-151-0/+31
* Fix up typos and correct sql queriesErik Johnston2014-08-141-7/+4
* Update StreamStoreErik Johnston2014-08-141-245/+36
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
* Reference Matrix Home Servermatrix.org2014-08-121-0/+282