| Commit message (Expand) | Author | Age | Files | Lines |
* | Refactor sync APIs to reuse pagination API | Erik Johnston | 2018-05-09 | 1 | -38/+35 |
* | Don't unnecessarily require token to be stream token | Erik Johnston | 2018-05-09 | 1 | -1/+1 |
* | Refactor get_recent_events_for_room return type | Erik Johnston | 2018-05-09 | 1 | -1/+15 |
* | Refactor pagination DB API to return concrete type | Erik Johnston | 2018-05-09 | 1 | -28/+48 |
* | Remove unused from_token param | Erik Johnston | 2018-05-09 | 1 | -7/+4 |
* | Refactor recent events func to use pagination func | Erik Johnston | 2018-05-09 | 1 | -48/+27 |
* | Fix up comments and make function private | Erik Johnston | 2018-05-09 | 1 | -7/+7 |
* | Reuse existing pagination code for context API | Erik Johnston | 2018-05-08 | 1 | -75/+15 |
* | Parse tokens before calling DB function | Erik Johnston | 2018-05-08 | 1 | -14/+18 |
* | Only fetch required fields from database | Erik Johnston | 2018-05-08 | 1 | -1/+2 |
* | Split paginate_room_events storage function | Erik Johnston | 2018-05-08 | 1 | -28/+72 |
* | Merge branch 'develop' into py3-xrange-1 | Richard van der Hoff | 2018-04-30 | 1 | -2/+3 |
|\ |
|
| * | Merge remote-tracking branch 'origin/develop' into rav/use_run_in_background | Richard van der Hoff | 2018-04-27 | 1 | -1/+1 |
| |\ |
|
| * | | Use run_in_background in preference to preserve_fn | Richard van der Hoff | 2018-04-27 | 1 | -2/+3 |
* | | | Move more xrange to six | Adrian Tschira | 2018-04-28 | 1 | -1/+3 |
| |/
|/| |
|
* | | Add missing consumeErrors | Richard van der Hoff | 2018-04-27 | 1 | -1/+1 |
|/ |
|
* | Merge pull request #2946 from matrix-org/rav/timestamp_to_purge | Richard van der Hoff | 2018-03-06 | 1 | -0/+27 |
|\ |
|
| * | Provide a means to pass a timestamp to purge_history | Richard van der Hoff | 2018-03-05 | 1 | -0/+27 |
* | | Remove ability for AS users to call /events and /sync | Erik Johnston | 2018-03-05 | 1 | -76/+0 |
|/ |
|
* | Document abstract class and method better | Erik Johnston | 2018-03-01 | 1 | -8/+13 |
* | Split out stream store | Erik Johnston | 2018-03-01 | 1 | -157/+193 |
* | Remove preserve_context_over_{fn, deferred} | Richard van der Hoff | 2017-11-14 | 1 | -2/+2 |
* | Assume rooms likely haven't changed | Erik Johnston | 2017-03-13 | 1 | -0/+3 |
* | Doc args | Erik Johnston | 2017-02-01 | 1 | -0/+4 |
* | Comment | Erik Johnston | 2017-02-01 | 1 | -0/+3 |
* | Include newly joined users in /keys/changes API | Erik Johnston | 2017-02-01 | 1 | -0/+7 |
* | Add profile data to the room_membership table for joins | Erik Johnston | 2016-12-08 | 1 | -0/+3 |
* | Store federation stream positions in the database | Erik Johnston | 2016-11-21 | 1 | -0/+16 |
* | Handle sending events and device messages over federation | Erik Johnston | 2016-11-17 | 1 | -0/+31 |
* | Fix incredubly slow back pagination query | Erik Johnston | 2016-10-24 | 1 | -6/+13 |
* | Calculate the public room list from a stream_ordering | Erik Johnston | 2016-09-14 | 1 | -0/+3 |
* | Preserve some logcontexts | Erik Johnston | 2016-08-24 | 1 | -3/+3 |
* | Comment | Erik Johnston | 2016-07-20 | 1 | -0/+4 |
* | Add support for filters in paginate_room_events | Erik Johnston | 2016-07-14 | 1 | -1/+51 |
* | Merge branch 'erikj/shared_secret' into erikj/test2 | Erik Johnston | 2016-07-06 | 1 | -51/+93 |
|\ |
|
| * | Fix typo | Mark Haines | 2016-07-05 | 1 | -1/+1 |
| * | Make get_events_around more efficient on sqlite3 | Mark Haines | 2016-07-05 | 1 | -13/+49 |
| * | Use true/false for boolean parameter inclusive to avoid potential for sqli, a... | Mark Haines | 2016-07-05 | 1 | -4/+6 |
| * | Use different SQL for postgres and sqlite3 for when using multicolumn indexes | Mark Haines | 2016-07-04 | 1 | -50/+50 |
| * | Use a query that postgresql optimises better for get_events_around | Mark Haines | 2016-07-04 | 1 | -12/+16 |
* | | Add ReadWriteLock for pagination and history prune | Erik Johnston | 2016-07-05 | 1 | -2/+2 |
|/ |
|
* | Remove event fetching from DB threads | Erik Johnston | 2016-06-03 | 1 | -19/+15 |
* | Remove some unused functions (#711) | Mark Haines | 2016-04-08 | 1 | -90/+0 |
* | Use a stream id generator for backfilled ids | Mark Haines | 2016-04-01 | 1 | -1/+1 |
* | Don't cache events in get_recent_events_for_room | Erik Johnston | 2016-03-23 | 1 | -14/+19 |
* | Add comment | Erik Johnston | 2016-03-09 | 1 | -0/+3 |
* | Return the correct token form | Erik Johnston | 2016-03-09 | 1 | -1/+1 |
* | Use topological orders for initial sync timeline | Erik Johnston | 2016-03-09 | 1 | -2/+2 |
* | Remove unused param from get_max_token | Erik Johnston | 2016-02-18 | 1 | -1/+1 |
* | Fix SYN-627, events are in incorrect room in /sync | Erik Johnston | 2016-02-11 | 1 | -1/+1 |
* | Return events in correct order for /events | Erik Johnston | 2016-02-11 | 1 | -8/+11 |
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 1 | -4/+5 |
* | Add descriptions | Erik Johnston | 2016-02-03 | 1 | -0/+1 |
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -1/+1 |
* | s/get_room_changes_for_user/get_membership_changes_for_user/ | Erik Johnston | 2016-02-02 | 1 | -2/+2 |
* | Fetch events in a separate transaction. | Erik Johnston | 2016-02-02 | 1 | -26/+29 |
* | Order things correctly | Erik Johnston | 2016-02-01 | 1 | -0/+4 |
* | Switch over /events to use per room caches | Erik Johnston | 2016-02-01 | 1 | -2/+2 |
* | Merge pull request #543 from matrix-org/erikj/sync | Erik Johnston | 2016-02-01 | 1 | -0/+7 |
|\ |
|
| * | Cache get_room_changes_for_user | Erik Johnston | 2016-01-29 | 1 | -0/+7 |
* | | Only use room_ids if in get_room_events_stream if is_guest | Erik Johnston | 2016-02-01 | 1 | -5/+0 |
|/ |
|
* | Prefill stream change caches | Erik Johnston | 2016-01-29 | 1 | -8/+0 |
* | Change name and doc has_entity_changed | Erik Johnston | 2016-01-28 | 1 | -1/+1 |
* | Cache tags and account data | Erik Johnston | 2016-01-28 | 1 | -4/+4 |
* | Ensure keys to RoomStreamChangeCache are ints | Erik Johnston | 2016-01-28 | 1 | -5/+6 |
* | Invalidate caches properly. Remove unused arg | Erik Johnston | 2016-01-28 | 1 | -1/+1 |
* | Allow paginating backwards from stream token | Erik Johnston | 2016-01-28 | 1 | -2/+14 |
* | Return correct type of token | Erik Johnston | 2016-01-28 | 1 | -3/+6 |
* | PEP8 | Erik Johnston | 2016-01-27 | 1 | -3/+6 |
* | Use the same path for incremental with gap or without gap | Erik Johnston | 2016-01-27 | 1 | -3/+3 |
* | Add cache to room stream | Erik Johnston | 2016-01-27 | 1 | -0/+133 |
* | Add a Homeserver.setup method. | Erik Johnston | 2016-01-26 | 1 | -13/+0 |
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
* | Open up /events to anonymous users for room events only | Daniel Wagner-Hall | 2015-11-05 | 1 | -8/+38 |
* | Remove more unused parameters | Daniel Wagner-Hall | 2015-11-02 | 1 | -2/+1 |
* | Docs | Erik Johnston | 2015-10-28 | 1 | -0/+26 |
* | Add room context api | Erik Johnston | 2015-10-28 | 1 | -1/+110 |
* | Allow users that have left a room to get the messages that happend in the roo... | Mark Haines | 2015-09-09 | 1 | -1/+18 |
* | Remove undocumented and unimplemented 'feedback' parameter from the Client-Se... | Mark Haines | 2015-09-09 | 1 | -8/+2 |
* | Allow room initialSync for users that have left the room, returning a snapsho... | Mark Haines | 2015-09-09 | 1 | -0/+15 |
* | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 1 | -1/+2 |
* | Cache get_recent_events_for_room | Erik Johnston | 2015-08-07 | 1 | -2/+2 |
* | Use dictionary cache to do group -> state fetching | Erik Johnston | 2015-08-05 | 1 | -2/+1 |
* | Fix daedlock | Erik Johnston | 2015-05-15 | 1 | -0/+2 |
* | Move fetching of events into their own transactions | Erik Johnston | 2015-05-14 | 1 | -9/+10 |
* | Fetch events from events_id in their own transactions | Erik Johnston | 2015-05-13 | 1 | -10/+12 |
* | Make get_current_token accept a direction parameter, which tells whether the ... | Erik Johnston | 2015-05-12 | 1 | -2/+18 |
* | Move storage.stream._StreamToken to types.RoomStreamToken | Erik Johnston | 2015-05-11 | 1 | -85/+33 |
* | Add more conditions on JOINs to make postgres go a little faster. | Erik Johnston | 2015-04-30 | 1 | -3/+5 |
* | Add support for postgres instead of mysql. Change sql accourdingly. blob + va... | Erik Johnston | 2015-04-14 | 1 | -8/+8 |
* | Remove unused import | Erik Johnston | 2015-04-09 | 1 | -1/+1 |
* | Stream ordering and out of order insertions. | Erik Johnston | 2015-04-09 | 1 | -20/+3 |
* | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -6/+0 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-03-20 | 1 | -1/+2 |
|\ |
|
| * | Merge branch 'develop' of github.com:matrix-org/synapse into store_rearrangement | Erik Johnston | 2015-03-20 | 1 | -1/+2 |
| |\ |
|
| | * | Add the tiniest of tiny one-element caches to get_room_events_max_id() as it'... | Paul "LeoNerd" Evans | 2015-03-20 | 1 | -1/+2 |
| * | | Rearrange storage modules | Erik Johnston | 2015-03-20 | 1 | -0/+19 |
| |/ |
|
* | | Rearrange storage modules | Erik Johnston | 2015-03-20 | 1 | -0/+19 |
* | | Convert storage layer to be mysql compatible | Erik Johnston | 2015-03-19 | 1 | -2/+2 |
|/ |
|
* | Wrap all of get_app_service_rooms in a txn. | Kegan Dougal | 2015-03-02 | 1 | -24/+22 |
* | JOIN state_events rather than parsing unrecognized_keys to pull out member st... | Kegan Dougal | 2015-03-02 | 1 | -10/+4 |
* | PR tweaks: set earlier on and use 'as json' for compat | Kegan Dougal | 2015-03-02 | 1 | -4/+4 |
* | PEP8 | Kegan Dougal | 2015-02-27 | 1 | -1/+0 |
* | Check for membership invite events correctly. | Kegan Dougal | 2015-02-26 | 1 | -2/+21 |
* | Finish impl to get new events for AS. ASes should now be able to poll /events | Kegan Dougal | 2015-02-26 | 1 | -7/+55 |
* | Comment unused variables. | Kegan Dougal | 2015-02-25 | 1 | -2/+2 |
* | Add stub functions and work out execution flow to implement AS event stream p... | Kegan Dougal | 2015-02-25 | 1 | -0/+21 |
* | Fix token formatting | Mark Haines | 2015-01-30 | 1 | -2/+2 |
* | Filter the recent events before applying the limit when doing an incremental ... | Mark Haines | 2015-01-30 | 1 | -6/+15 |
* | Merge branch 'client_v2_filter' into client_v2_sync | Mark Haines | 2015-01-29 | 1 | -3/+3 |
|\ |
|
| * | SYN-252: Supply the stream and topological parts in the correct order to the ... | Mark Haines | 2015-01-29 | 1 | -3/+3 |
* | | Use get_room_events_stream to get changes to the rooms if the number of chang... | Mark Haines | 2015-01-29 | 1 | -0/+7 |
* | | Fix Formatting | Mark Haines | 2015-01-27 | 1 | -1/+0 |
* | | Start implementing incremental initial sync | Mark Haines | 2015-01-27 | 1 | -9/+32 |
|/ |
|
* | get_room_events isn't called anywhere | Mark Haines | 2015-01-13 | 1 | -30/+0 |
* | Fix stream token ordering | Mark Haines | 2015-01-13 | 1 | -72/+101 |
* | SYN-178: Fix off by one. | Kegan Dougal | 2015-01-12 | 1 | -2/+6 |
* | Only fetch the columns we need. | Erik Johnston | 2015-01-06 | 1 | -1/+1 |
* | Merge pull request #28 from matrix-org/erikj-perf | Mark Haines | 2015-01-06 | 1 | -77/+68 |
|\ |
|
| * | PEP8 | Erik Johnston | 2015-01-06 | 1 | -1/+0 |
| * | Only fetch prev_content when a client is streaming/paginating. Use transactio... | Erik Johnston | 2015-01-06 | 1 | -77/+69 |
* | | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
|/ |
|
* | Don't return outliers when we get recent events for rooms. | Erik Johnston | 2014-11-27 | 1 | -1/+1 |
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -5/+6 |
* | SYN-104: When going backwards the end token should be before the last event | Mark Haines | 2014-11-18 | 1 | -0/+3 |
* | Notify users about invites. | Erik Johnston | 2014-11-10 | 1 | -2/+1 |
* | Add transaction level logging and timing information. Add a _simple_delete me... | Erik Johnston | 2014-10-28 | 1 | -1/+4 |
* | Add LIMIT to scalar subquery | Erik Johnston | 2014-09-25 | 1 | -3/+6 |
* | Rename deletions to redactions | Erik Johnston | 2014-09-24 | 1 | -9/+9 |
* | Add m.room.deletion. If an event is deleted it will be returned to clients 'p... | Erik Johnston | 2014-09-23 | 1 | -5/+25 |
* | SYN-47: Fix bug where we still returned events for rooms we had left. | Erik Johnston | 2014-09-19 | 1 | -1/+1 |
* | Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_pool | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -1/+1 |
* | When getting a state event also include the previous content | Erik Johnston | 2014-09-06 | 1 | -8/+9 |
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has... | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
* | Get the equalities right. | Erik Johnston | 2014-08-29 | 1 | -2/+5 |
* | Initial room event stream token must be s0, not s1, or everyone will miss the... | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -1/+1 |
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -2/+2 |
|\ |
|
| * | WIP: Completely change how event streaming and pagination work. This reflects... | Erik Johnston | 2014-08-26 | 1 | -2/+2 |
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 1 | -7/+5 |
|\| |
|
| * | Fix pyflakes errors | Mark Haines | 2014-08-26 | 1 | -2/+0 |
| * | Order 'get_recent_events_for_room' correctly. | Erik Johnston | 2014-08-26 | 1 | -1/+1 |
| * | Don't return state event outlier's when paginating. | Erik Johnston | 2014-08-22 | 1 | -1/+2 |
| * | Change IM sync api to also return the current presence list. | Erik Johnston | 2014-08-21 | 1 | -3/+2 |
* | | Move the event storage into a single transaction | Mark Haines | 2014-08-26 | 1 | -5/+8 |
|/ |
|
* | Make event stream storage return all membership events about the user, regard... | Erik Johnston | 2014-08-20 | 1 | -4/+6 |
* | Only hit get_room_events_stream if we have a valid user_id | Erik Johnston | 2014-08-19 | 1 | -0/+3 |
* | Fix token to correct format | Erik Johnston | 2014-08-19 | 1 | -1/+1 |
* | Remove debug logging from token parsing funcs. | Erik Johnston | 2014-08-19 | 1 | -2/+0 |
* | Add comment about what strorage.stream does | Erik Johnston | 2014-08-19 | 1 | -0/+20 |
* | Change the way pagination works to support out of order events. | Erik Johnston | 2014-08-19 | 1 | -29/+157 |
* | Fix typos in SQL and where we still had rowid's (which no longer exist) | Erik Johnston | 2014-08-18 | 1 | -6/+6 |
* | Make snapshot_all_rooms return results in the correct form, including start a... | Erik Johnston | 2014-08-18 | 1 | -4/+21 |
* | Add two different columns for ordering the events table, one which can be use... | Erik Johnston | 2014-08-18 | 1 | -8/+9 |
* | PEP8 cleanups | Erik Johnston | 2014-08-15 | 1 | -2/+0 |
* | Comment. | Erik Johnston | 2014-08-15 | 1 | -0/+1 |
* | Fix bug when generating a key when get_room_events_stream returned zero rows | Erik Johnston | 2014-08-15 | 1 | -3/+7 |
* | Actually use MAX_STREAM_SIZE constant. | Erik Johnston | 2014-08-15 | 1 | -1/+1 |
* | Fix pagination to work with new db schema | Erik Johnston | 2014-08-15 | 1 | -7/+24 |
* | Correctly return new token when returning events. Serialize events correctly. | Erik Johnston | 2014-08-15 | 1 | -5/+13 |
* | Start chagning the events stream to work with the new DB schema | Erik Johnston | 2014-08-15 | 1 | -0/+31 |
* | Fix up typos and correct sql queries | Erik Johnston | 2014-08-14 | 1 | -7/+4 |
* | Update StreamStore | Erik Johnston | 2014-08-14 | 1 | -245/+36 |
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+282 |