Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename schema_prepare to prepare_database | Erik Johnston | 2015-10-13 | 3 | -2/+2 |
| | |||||
* | Expose error more nicely | Erik Johnston | 2015-10-13 | 4 | -5/+2 |
| | |||||
* | Split out the schema preparation and update logic into its own module | Erik Johnston | 2015-10-13 | 4 | -377/+402 |
| | |||||
* | Merge pull request #288 from matrix-org/markjh/unused_definitions | Mark Haines | 2015-09-28 | 7 | -419/+2 |
|\ | | | | | Remove some of the unused definitions from synapse | ||||
| * | synapse/storage/state.py: _make_group_id was unused | Mark Haines | 2015-09-23 | 1 | -6/+0 |
| | | |||||
| * | Remove unused functions from synapse/storage/signatures.py | Mark Haines | 2015-09-23 | 1 | -112/+0 |
| | | |||||
| * | synapse/storage/roommember.py:_get_members_query was unused | Mark Haines | 2015-09-23 | 1 | -6/+0 |
| | | |||||
| * | Remove unused functions from synapse/storage/events.py | Mark Haines | 2015-09-23 | 1 | -11/+0 |
| | | |||||
| * | Remove unused functions from synapse/storage/event_federation.py | Mark Haines | 2015-09-23 | 1 | -71/+0 |
| | | |||||
| * | synapse/storage/_base.py:_simple_max_id was unused | Mark Haines | 2015-09-23 | 1 | -18/+0 |
| | | |||||
| * | synapse/storage/_base.py:_simple_delete was unused | Mark Haines | 2015-09-23 | 1 | -10/+0 |
| | | |||||
| * | synapse/storage/_base.py:_simple_selectupdate_one was unused | Mark Haines | 2015-09-23 | 1 | -31/+0 |
| | | |||||
| * | synapse/storage/event_federation.py:_get_auth_events is unused | Mark Haines | 2015-09-22 | 1 | -21/+0 |
| | | |||||
| * | synapse/storage/_base.py:_execute_and_decode was unused | Mark Haines | 2015-09-22 | 1 | -3/+0 |
| | | |||||
| * | synapse/storage/_base.py:Table was unused | Mark Haines | 2015-09-22 | 2 | -130/+2 |
| | | |||||
* | | Fix order of ON constraints in _get_rooms_for_user_where_membership_is_txn | Mark Haines | 2015-09-24 | 1 | -6/+6 |
|/ | |||||
* | Add some docstrings | Daniel Wagner-Hall | 2015-09-22 | 2 | -0/+4 |
| | |||||
* | Add docstring | Daniel Wagner-Hall | 2015-09-22 | 1 | -0/+6 |
| | |||||
* | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 4 | -2/+110 |
| | | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set. | ||||
* | Merge pull request #276 from ↵ | Mark Haines | 2015-09-21 | 2 | -10/+38 |
|\ | | | | | | | | | matrix-org/markjh/history_for_rooms_that_have_been_left SPEC-216: Allow users to view the history of rooms that they have left. | ||||
| * | Allow users that have left a room to get the messages that happend in the ↵ | Mark Haines | 2015-09-09 | 1 | -1/+18 |
| | | | | | | | | room before they left | ||||
| * | Remove undocumented and unimplemented 'feedback' parameter from the ↵ | Mark Haines | 2015-09-09 | 1 | -8/+2 |
| | | | | | | | | Client-Server API | ||||
| * | Allow room initialSync for users that have left the room, returning a ↵ | Mark Haines | 2015-09-09 | 1 | -0/+15 |
| | | | | | | | | snapshot of how the room was when they left it | ||||
| * | Include the event_id and stream_ordering of membership events when looking ↵ | Mark Haines | 2015-09-08 | 1 | -2/+4 |
| | | | | | | | | up which rooms a user is in | ||||
* | | Merge pull request #281 from matrix-org/erikj/update_extremeties | Erik Johnston | 2015-09-15 | 2 | -0/+11 |
|\ \ | | | | | | | When updating a stored event from outlier to non-outlier, remember to update the extremeties | ||||
| * | | "Comments" | Erik Johnston | 2015-09-15 | 1 | -0/+6 |
| | | | |||||
| * | | When updating a stored event from outlier to non-outlier, remember to update ↵ | Erik Johnston | 2015-09-15 | 2 | -0/+5 |
| | | | | | | | | | | | | the extremeties | ||||
* | | | Drop unused index | Erik Johnston | 2015-09-14 | 1 | -0/+16 |
| |/ |/| | |||||
* | | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-09-01 | 1 | -1/+1 |
|\| | |||||
| * | Lower size of 'stateGroupCache' now that we have data from matrix.org to ↵ | Erik Johnston | 2015-09-01 | 1 | -1/+1 |
| | | | | | | | | support doing so | ||||
* | | Merge branch 'release-v0.10.0' into develop | Mark Haines | 2015-08-28 | 2 | -4/+17 |
|\| | | | | | | | | | | | | | Conflicts: synapse/handlers/auth.py synapse/python_dependencies.py synapse/rest/client/v1/login.py | ||||
| * | Don't insert events into 'event_*_extremeties' tables if they're outliers | Erik Johnston | 2015-08-23 | 1 | -2/+8 |
| | | |||||
| * | Actually check if event_id isn't returned by _get_state_groups | Erik Johnston | 2015-08-21 | 1 | -2/+9 |
| | | |||||
| * | When logging in fetch user by user_id case insensitively, *unless* there are ↵ | Erik Johnston | 2015-08-21 | 1 | -2/+5 |
| | | | | | | | | multiple case insensitive matches, in which case require the exact user_id | ||||
| * | Don't allow people to register user ids which only differ by case to an ↵ | Erik Johnston | 2015-08-21 | 1 | -0/+11 |
| | | | | | | | | existing one | ||||
* | | Merge erikj/user_dedup to develop | Daniel Wagner-Hall | 2015-08-26 | 1 | -0/+14 |
| | | |||||
* | | Merge pull request #251 from matrix-org/removeadmin | Daniel Wagner-Hall | 2015-08-25 | 1 | -3/+2 |
|\ \ | | | | | | | Stop looking up "admin", which we never read | ||||
| * | | Stop looking up "admin", which we never read | Daniel Wagner-Hall | 2015-08-25 | 1 | -3/+2 |
| | | | |||||
* | | | Merge pull request #248 from matrix-org/deviceid | Daniel Wagner-Hall | 2015-08-25 | 2 | -7/+5 |
|\| | | | | | | | | Remove completely unused concepts from codebase | ||||
| * | | Remove completely unused concepts from codebase | Daniel Wagner-Hall | 2015-08-25 | 2 | -7/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes device_id and ClientInfo device_id is never actually written, and the matrix.org DB has no non-null entries for it. Right now, it's just cluttering up code. This doesn't remove the columns from the database, because that's fiddly. | ||||
* | | | Merge pull request #243 from matrix-org/markjh/remove_syutil | Mark Haines | 2015-08-25 | 6 | -16/+17 |
|\ \ \ | |/ / |/| | | Replace syutil dependency with smaller, single-purpose libraries | ||||
| * | | Fix indent | Mark Haines | 2015-08-24 | 1 | -1/+1 |
| | | | |||||
| * | | Remove syutil dependency in favour of smaller single-purpose libraries | Mark Haines | 2015-08-24 | 6 | -16/+17 |
| | | | |||||
* | | | Remove autoincrement since we incrementing the ID in the storage layer | Mark Haines | 2015-08-24 | 1 | -1/+1 |
|/ / | |||||
* | | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-08-21 | 1 | -0/+2 |
|\| | |||||
| * | Fix bug where we didn't correctly serialize the redacted_because key over ↵ | Erik Johnston | 2015-08-21 | 1 | -0/+2 |
| | | | | | | | | federation | ||||
* | | Merge branch 'develop' into refresh | Daniel Wagner-Hall | 2015-08-20 | 1 | -0/+19 |
|\| | | | | | | | | | Conflicts: synapse/rest/client/v1/login.py | ||||
| * | Merge pull request #211 from matrix-org/email_in_use | Mark Haines | 2015-08-20 | 1 | -0/+19 |
| |\ | | | | | | | Changes for unique emails | ||||
| | * | Bump schema version | David Baker | 2015-08-04 | 1 | -1/+1 |
| | | | |||||
| | * | Add endpoint that proxies ID server request token and errors if the given ↵ | David Baker | 2015-08-04 | 1 | -0/+19 |
| | | | | | | | | | | | | email is in use on this Home Server. | ||||
* | | | /tokenrefresh POST endpoint | Daniel Wagner-Hall | 2015-08-20 | 4 | -1/+85 |
| | | | | | | | | | | | | | | | | | | | | | | | | This allows refresh tokens to be exchanged for (access_token, refresh_token). It also starts issuing them on login, though no clients currently interpret them. | ||||
* | | | s/by_token/by_access_token/g | Daniel Wagner-Hall | 2015-08-20 | 1 | -3/+3 |
|/ / | | | | | | | We're about to have two kinds of token, access and refresh | ||||
* | | Merge pull request #228 from matrix-org/erikj/_get_state_for_groups | Erik Johnston | 2015-08-18 | 1 | -2/+5 |
|\ \ | | | | | | | Ensure we never return a None event from _get_state_for_groups | ||||
| * | | Remove newline because vertical whitespace makes mjark sad | Erik Johnston | 2015-08-18 | 1 | -2/+1 |
| | | | |||||
| * | | Rejig the code to make it nicer | Erik Johnston | 2015-08-18 | 1 | -3/+2 |
| | | | |||||
| * | | Ensure we never return a None event from _get_state_for_groups | Erik Johnston | 2015-08-18 | 1 | -3/+8 |
| | | | |||||
* | | | Merge pull request #227 from matrix-org/erikj/receipts_take2 | Erik Johnston | 2015-08-18 | 3 | -15/+91 |
|\ \ \ | | | | | | | | | Re-enable receipts API. | ||||
| * | | | Rename unhelpful variable name | Erik Johnston | 2015-08-18 | 1 | -7/+2 |
| | | | | |||||
| * | | | Comments | Erik Johnston | 2015-08-18 | 1 | -4/+14 |
| | | | | |||||
| * | | | Add index receipts_linearized_room_stream | Erik Johnston | 2015-08-17 | 2 | -1/+19 |
| | | | | |||||
| * | | | Remove unused import | Erik Johnston | 2015-08-17 | 1 | -2/+0 |
| | | | | |||||
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-17 | 2 | -8/+9 |
| |\ \ \ | | | | | | | | | | | | | | | | erikj/receipts_take2 | ||||
| * | | | | Batch _get_linearized_receipts_for_rooms | Erik Johnston | 2015-08-14 | 1 | -15/+64 |
| | | | | | |||||
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-13 | 1 | -44/+12 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | erikj/receipts_take2 | ||||
| * | | | | | Add metrics to the receipts cache | Erik Johnston | 2015-08-13 | 1 | -0/+6 |
| | | | | | | |||||
* | | | | | | Bump size of get_presence_state cache | Erik Johnston | 2015-08-18 | 1 | -1/+1 |
| |_|_|/ / |/| | | | | |||||
* | | | | | Reduce cache size from obscenely large to quite large | Erik Johnston | 2015-08-18 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Remember to invalidate caches | Erik Johnston | 2015-08-17 | 1 | -2/+8 |
| | | | | | |||||
* | | | | | Implement a batched presence_handler.get_state and use it | Erik Johnston | 2015-08-17 | 1 | -2/+4 |
| | | | | | |||||
* | | | | | Add batched version of store.get_presence_state | Erik Johnston | 2015-08-17 | 1 | -1/+19 |
| |_|/ / |/| | | | |||||
* | | | | Fix bug where we were leaking None into state event lists | Erik Johnston | 2015-08-17 | 1 | -2/+3 |
| | | | | |||||
* | | | | Merge pull request #221 from matrix-org/auth | Daniel Wagner-Hall | 2015-08-14 | 1 | -6/+6 |
|\ \ \ \ | |_|/ / |/| | | | Simplify LoginHander and AuthHandler | ||||
| * | | | Simplify LoginHander and AuthHandler | Daniel Wagner-Hall | 2015-08-12 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Merge LoginHandler -> AuthHandler * Add a bunch of documentation * Improve some naming * Remove unused branches I will start merging the actual logic of the two handlers shortly | ||||
| * | | | Use TypeError instead of ValueError and give a nicer error mesasge | Mark Haines | 2015-08-10 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | when someone calls Cache.invalidate with the wrong type. | ||||
| * | | | Merge pull request #215 from matrix-org/erikj/cache_varargs_interface | Erik Johnston | 2015-08-10 | 11 | -66/+67 |
| |\ \ \ | | | | | | | | | | | Change Cache to not use *args in its interface | ||||
* | | | | | Remove some vertical space | Erik Johnston | 2015-08-13 | 1 | -36/+9 |
| | | | | | |||||
* | | | | | Replace list comprehension | Erik Johnston | 2015-08-13 | 1 | -8/+3 |
| |_|/ / |/| | | | |||||
* | | | | Comment | Erik Johnston | 2015-08-12 | 1 | -1/+2 |
| | | | | |||||
* | | | | Explain why we're prefilling dict with Nones | Erik Johnston | 2015-08-12 | 1 | -0/+4 |
| | | | | |||||
* | | | | Better variable name | Erik Johnston | 2015-08-12 | 1 | -5/+5 |
| | | | | |||||
* | | | | Split _get_state_for_group_from_cache into two | Erik Johnston | 2015-08-12 | 1 | -32/+53 |
| | | | | |||||
* | | | | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 13 | -344/+29 |
| | | | | |||||
* | | | | Comments | Erik Johnston | 2015-08-11 | 2 | -3/+13 |
| | | | | |||||
* | | | | Comment | Erik Johnston | 2015-08-11 | 1 | -0/+2 |
| | | | | |||||
* | | | | Docs | Erik Johnston | 2015-08-11 | 1 | -0/+9 |
| | | | | |||||
* | | | | Fix application of ACLs | Erik Johnston | 2015-08-11 | 1 | -3/+3 |
| | | | | |||||
* | | | | Fix state cache | Erik Johnston | 2015-08-11 | 1 | -36/+49 |
| | | | | |||||
* | | | | Clean up StateStore | Erik Johnston | 2015-08-10 | 1 | -62/+11 |
| | | | | |||||
* | | | | Remove unused function | Erik Johnston | 2015-08-10 | 1 | -7/+0 |
| | | | | |||||
* | | | | Comments | Erik Johnston | 2015-08-10 | 1 | -0/+6 |
| | | | | |||||
* | | | | Merge branch 'erikj/cache_varargs_interface' of ↵ | Erik Johnston | 2015-08-10 | 1 | -5/+5 |
|\ \ \ \ | | |/ / | |/| | | | | | | github.com:matrix-org/synapse into erikj/dictionary_cache | ||||
| * | | | Rename keyargs to args in CacheDescriptor | Erik Johnston | 2015-08-10 | 1 | -5/+5 |
| | | | | |||||
* | | | | Merge branch 'erikj/cache_varargs_interface' of ↵ | Erik Johnston | 2015-08-10 | 1 | -9/+9 |
|\| | | | | | | | | | | | | | | | github.com:matrix-org/synapse into erikj/dictionary_cache | ||||
| * | | | Rename keyargs to args in Cache | Erik Johnston | 2015-08-10 | 1 | -9/+9 |
| | | | | |||||
* | | | | Do bounds check | Erik Johnston | 2015-08-10 | 1 | -1/+4 |
| | | | | |||||
* | | | | Line length | Erik Johnston | 2015-08-10 | 1 | -1/+2 |
| | | | | |||||
* | | | | Merge branch 'erikj/cache_varargs_interface' of ↵ | Erik Johnston | 2015-08-07 | 1 | -1/+0 |
|\| | | | | | | | | | | | | | | | github.com:matrix-org/synapse into erikj/dictionary_cache | ||||
| * | | | Merge branch 'erikj/cache_deferreds' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-07 | 1 | -3/+3 |
| |\ \ \ | | | | | | | | | | | | | | | | erikj/cache_varargs_interface | ||||
| * \ \ \ | Merge branch 'erikj/cache_deferreds' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-07 | 1 | -3/+4 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | erikj/cache_varargs_interface | ||||
| * | | | | | Remove unnecessary cache | Erik Johnston | 2015-08-07 | 1 | -2/+1 |
| | | | | | | |||||
| * | | | | | Change Cache to not use *args in its interface | Erik Johnston | 2015-08-07 | 10 | -61/+63 |
| | | | | | | |||||
* | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-07 | 2 | -3/+9 |
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | erikj/dictionary_cache | ||||
| * | | | | | Merge pull request #212 from matrix-org/erikj/cache_deferreds | Erik Johnston | 2015-08-07 | 1 | -13/+33 |
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | Make CacheDescriptor cache deferreds rather than the deferreds' values | ||||
| | * | | | | s/observed/observer/ | Erik Johnston | 2015-08-07 | 1 | -3/+3 |
| | | |/ / | | |/| | | |||||
| | * | | | Propogate stale cache errors to calling functions | Erik Johnston | 2015-08-07 | 1 | -3/+4 |
| | |/ / | |||||
| * | | | Don't complain about extra .pyc files we find while hunting for database schemas | Paul "LeoNerd" Evans | 2015-08-07 | 1 | -0/+5 |
| | | | | |||||
* | | | | Batch up various DB requests for event -> state | Erik Johnston | 2015-08-07 | 1 | -77/+142 |
| | | | | |||||
* | | | | Implement a CacheListDescriptor | Erik Johnston | 2015-08-07 | 1 | -0/+106 |
| | | | | |||||
* | | | | Cache get_recent_events_for_room | Erik Johnston | 2015-08-07 | 1 | -2/+2 |
| | | | | |||||
* | | | | Remove unncessary cache | Erik Johnston | 2015-08-07 | 1 | -1/+0 |
| | | | | |||||
* | | | | Change Cache to not use *args in its interface | Erik Johnston | 2015-08-07 | 10 | -81/+67 |
| | | | | |||||
* | | | | Store absence of state in cache | Erik Johnston | 2015-08-07 | 1 | -6/+16 |
| | | | | |||||
* | | | | Merge branch 'erikj/cache_deferreds' into erikj/dictionary_cache | Erik Johnston | 2015-08-06 | 1 | -3/+27 |
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | Docs | Erik Johnston | 2015-08-06 | 1 | -0/+3 |
| | | | | |||||
| * | | | Remove failed deferreds from cache | Erik Johnston | 2015-08-06 | 1 | -1/+7 |
| | | | | |||||
| * | | | Re-implement DEBUG_CACHES flag | Erik Johnston | 2015-08-06 | 1 | -2/+17 |
| | | | | |||||
* | | | | Merge branch 'erikj/cache_deferreds' into erikj/dictionary_cache | Erik Johnston | 2015-08-06 | 1 | -13/+8 |
|\| | | | |||||
| * | | | Merge branch 'erikj/cached_keyword_args' into erikj/cache_deferreds | Erik Johnston | 2015-08-06 | 2 | -5/+5 |
| |\| | | |||||
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-06 | 2 | -5/+5 |
| | |\ \ | | | | | | | | | | | | | | | | erikj/cached_keyword_args | ||||
| * | | | | Make @cached cache deferreds rather than the deferreds' values | Erik Johnston | 2015-08-06 | 1 | -13/+8 |
| |/ / / | |||||
* | | | | Merge branch 'erikj/cached_keyword_args' of github.com:matrix-org/synapse ↵ | Erik Johnston | 2015-08-05 | 6 | -23/+45 |
|\| | | | | | | | | | | | | | | | into erikj/dictionary_cache | ||||
| * | | | Add support for using keyword arguments with cached functions | Erik Johnston | 2015-07-27 | 6 | -23/+45 |
| | |/ | |/| | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-05 | 2 | -5/+5 |
|\ \ \ | | |/ | |/| | | | | erikj/dictionary_cache | ||||
| * | | Up the cache size for 'get_joined_hosts_for_room' and 'get_users_in_room' | Erik Johnston | 2015-08-05 | 1 | -2/+2 |
| | | | |||||
| * | | Use LRU cache by default | Erik Johnston | 2015-08-05 | 1 | -3/+3 |
| |/ | |||||
* | | Use dictionary cache to do group -> state fetching | Erik Johnston | 2015-08-05 | 3 | -80/+153 |
| | | |||||
* | | Move DictionaryCache | Erik Johnston | 2015-08-04 | 1 | -94/+0 |
| | | |||||
* | | Add basic dictionary cache | Erik Johnston | 2015-08-04 | 1 | -0/+94 |
| | | |||||
* | | Add comment | Erik Johnston | 2015-08-04 | 1 | -0/+15 |
| | | |||||
* | | Speed up event filtering (for ACL) logic | Erik Johnston | 2015-08-04 | 2 | -40/+87 |
|/ | |||||
* | Dodesn't seem to make any difference: guess it does work with the object ↵ | David Baker | 2015-07-21 | 1 | -1/+0 |
| | | | | reference | ||||
* | I think this was what was intended... | David Baker | 2015-07-21 | 1 | -0/+1 |
| | |||||
* | s/take/claim/ for end to end key APIs | Mark Haines | 2015-07-20 | 1 | -3/+3 |
| | |||||
* | Up default cache size for _RoomStreamChangeCache | Matrix | 2015-07-18 | 1 | -1/+1 |
| | |||||
* | Merge pull request #199 from matrix-org/erikj/receipts | Erik Johnston | 2015-07-16 | 5 | -3/+396 |
|\ | | | | | Implement read receipts. | ||||
| * | Docs | Erik Johnston | 2015-07-14 | 1 | -3/+28 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receipts | Erik Johnston | 2015-07-13 | 5 | -21/+253 |
| |\ | |||||
| * | | Comments | Erik Johnston | 2015-07-13 | 1 | -0/+11 |
| | | | |||||
| * | | Handle error slightly better | Erik Johnston | 2015-07-09 | 1 | -2/+2 |
| | | | |||||
| * | | Change format of receipts to allow inclusion of data | Erik Johnston | 2015-07-09 | 2 | -29/+26 |
| | | | |||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receipts | Erik Johnston | 2015-07-08 | 1 | -2/+4 |
| |\ \ | |||||
| * | | | Add a cache to fetching of receipt streams | Erik Johnston | 2015-07-08 | 1 | -3/+89 |
| | | | | |||||
| * | | | Hook up receipts to v1 initialSync | Erik Johnston | 2015-07-08 | 1 | -9/+20 |
| | | | | |||||
| * | | | Wire together receipts and the notifer/federation | Erik Johnston | 2015-07-07 | 1 | -9/+60 |
| | | | | |||||
| * | | | Fix various typos | Erik Johnston | 2015-07-07 | 2 | -6/+10 |
| | | | | |||||
| * | | | Add stream_id index | Erik Johnston | 2015-07-02 | 1 | -1/+5 |
| | | | | |||||
| * | | | Add basic storage functions for handling of receipts | Erik Johnston | 2015-07-01 | 4 | -17/+186 |
| | | | | |||||
| * | | | Add tables for receipts | Erik Johnston | 2015-06-30 | 2 | -1/+36 |
| | | | | |||||
* | | | | Merge pull request #193 from matrix-org/erikj/bulk_persist_event | Erik Johnston | 2015-07-14 | 6 | -270/+382 |
|\ \ \ \ | |_|_|/ |/| | | | Add bulk insert events API | ||||
| * | | | Remove commented out code | Erik Johnston | 2015-07-10 | 1 | -14/+0 |
| | | | | |||||
| * | | | Add bulk insert events API | Erik Johnston | 2015-06-25 | 6 | -268/+394 |
| |/ / | |||||
* | | | Merge pull request #196 from matrix-org/erikj/room_history | Erik Johnston | 2015-07-10 | 1 | -2/+61 |
|\ \ \ | | | | | | | | | Add ability to restrict room history. | ||||
| * | | | Add basic impl for room history ACL on GET /messages client API | Erik Johnston | 2015-07-02 | 1 | -2/+61 |
| |/ / | |||||
* | | | Merge pull request #194 from matrix-org/erikj/bulk_verify_sigs | Erik Johnston | 2015-07-10 | 1 | -19/+31 |
|\ \ \ | | | | | | | | | Implement bulk verify_signed_json API | ||||
| * | | | Implement bulk verify_signed_json API | Erik Johnston | 2015-06-26 | 1 | -19/+31 |
| |/ / | |||||
* | | | Uniquely name unique constraint | Erik Johnston | 2015-07-10 | 1 | -2/+2 |
| | | | |||||
* | | | Don't bother with a timeout for one time keys on the server. | Mark Haines | 2015-07-09 | 2 | -15/+6 |
| | | | |||||
* | | | Only remove one time keys when new one time keys are added | Mark Haines | 2015-07-08 | 1 | -7/+7 |
| | | | |||||
* | | | Add store for client end to end keys | Mark Haines | 2015-07-06 | 3 | -1/+171 |
| |/ |/| | |||||
* | | Don't explode if we don't recognize one of the event_ids in the backfill request | Erik Johnston | 2015-07-06 | 1 | -2/+4 |
|/ | |||||
* | Batch SELECTs in _get_auth_chain_ids_txn | Erik Johnston | 2015-06-23 | 1 | -3/+11 |
| | |||||
* | Add a dummy.sql into delta/20 as pip isn't packinging the pushers.py | Erik Johnston | 2015-06-13 | 1 | -0/+1 |
| | |||||
* | Bump schema version | Erik Johnston | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | pep8 | David Baker | 2015-06-04 | 1 | -1/+0 |
| | |||||
* | Add script to (re)convert the pushers table to changing the unique key. Also ↵ | David Baker | 2015-06-04 | 3 | -2/+79 |
| | | | | give the python db upgrade scripts the database engine so they can convert parameter strings, and add *args **kwargs to the upgrade function so we can add more args in future and previous scripts will ignore them. | ||||
* | Add cache to get_state_groups | Erik Johnston | 2015-06-03 | 1 | -8/+12 |
| | |||||
* | Caches should be bound to instances. | Erik Johnston | 2015-06-03 | 1 | -14/+31 |
| | | | | | Before, caches were global and so different instances of the stores would share caches. This caused problems in the unit tests. | ||||
* | Don't explode if we don't have the event | Erik Johnston | 2015-06-01 | 1 | -1/+3 |
| | |||||
* | Add config option to turn off freezing events. Use new encode_json api and ↵ | Erik Johnston | 2015-05-29 | 1 | -10/+13 |
| | | | | ujson.loads | ||||
* | Merge pull request #163 from matrix-org/markjh/presence_list_cache | Mark Haines | 2015-05-22 | 1 | -8/+27 |
|\ | | | | | Add a cache for the presence list | ||||
| * | Add a cache for getting the presence list for a user | Mark Haines | 2015-05-22 | 1 | -8/+27 |
| | | |||||
* | | Merge pull request #164 from matrix-org/markjh/pusher_performance_2 | Mark Haines | 2015-05-22 | 1 | -1/+17 |
|\ \ | | | | | | | Add a cache for get_push rules for user, fix cache invalidation | ||||
| * | | Add a cache for get_push rules for user, fix cache invalidation | Mark Haines | 2015-05-22 | 1 | -1/+17 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-05-22 | 7 | -16/+67 |
|\ \ \ | | |/ | |/| | | | | erikj/backfill_fixes | ||||
| * | | Merge pull request #156 from matrix-org/erikj/join_perf | Mark Haines | 2015-05-22 | 1 | -2/+3 |
| |\ \ | | | | | | | | | Make joining #matrix:matrix.org over federation quicker | ||||
| * | | | Invalidate the get_latest_event_ids_in_room cache when deleting from ↵ | Mark Haines | 2015-05-22 | 1 | -0/+1 |
| | |/ | |/| | | | | | | | event_forward_extremities | ||||
| * | | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-05-22 | 6 | -16/+66 |
| |\ \ | |||||
| | * | | Don't try to use a txn when not in one, remove spurious debug logging | Mark Haines | 2015-05-21 | 1 | -3/+1 |
| | | | | |||||
| | * | | Add caches for things requested by the pushers | Mark Haines | 2015-05-21 | 5 | -15/+33 |
| | | | | |||||
| | * | | Add a cache for get_current_state with state_key | Mark Haines | 2015-05-21 | 3 | -1/+35 |
| | | | | |||||
* | | | | Actually return something from lambda | Erik Johnston | 2015-05-21 | 1 | -1/+1 |
| | | | | |||||
* | | | | Sort backfill events | Erik Johnston | 2015-05-21 | 1 | -1/+5 |
| | | | | |||||
* | | | | Remove dead code | Erik Johnston | 2015-05-21 | 1 | -5/+0 |
| | | | | |||||
* | | | | Only get non-state | Erik Johnston | 2015-05-21 | 1 | -1/+2 |
| | | | | |||||
* | | | | Skip events we've already seen | Erik Johnston | 2015-05-21 | 1 | -0/+3 |
| | | | | |||||
* | | | | Correctly prepopulate queue | Erik Johnston | 2015-05-21 | 1 | -2/+10 |
| | | | | |||||
* | | | | Don't prepopulate event_results | Erik Johnston | 2015-05-21 | 1 | -1/+1 |
| | | | | |||||
* | | | | Don't readd things that are already in event_results | Erik Johnston | 2015-05-21 | 1 | -1/+2 |
| | | | | |||||
* | | | | PriorityQueue gives lowest first | Erik Johnston | 2015-05-21 | 1 | -2/+2 |
| | | | | |||||
* | | | | Correctly capture Queue.Empty exception | Erik Johnston | 2015-05-21 | 1 | -2/+5 |
| | | | | |||||
* | | | | Merge branch 'erikj/join_perf' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-05-21 | 10 | -181/+544 |
|\ \ \ \ | | |_|/ | |/| | | | | | | erikj/backfill_fixes | ||||
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perf | Erik Johnston | 2015-05-21 | 10 | -181/+544 |
| |\| | | |||||
| | * | | Merge pull request #155 from matrix-org/erikj/perf | Erik Johnston | 2015-05-21 | 10 | -181/+544 |
| | |\ \ | | | | | | | | | | | Bulk and batch retrieval of events. | ||||
| | | * | | s/for events/for requests for events/ | Erik Johnston | 2015-05-21 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | s/for events/for requests for events/ | Erik Johnston | 2015-05-21 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Add comments | Erik Johnston | 2015-05-21 | 1 | -3/+14 |
| | | | | | |||||
| | | * | | Split up _get_events into defer and txn versions | Erik Johnston | 2015-05-20 | 1 | -24/+35 |
| | | | | | |||||
| | | * | | Make not return a deferred _get_event_from_row_txn | Erik Johnston | 2015-05-20 | 1 | -20/+5 |
| | | | | | |||||
| | | * | | PEP8 | Erik Johnston | 2015-05-20 | 1 | -2/+2 |
| | | | | | |||||
| | | * | | Split out _get_event_from_row back into defer and _txn version | Erik Johnston | 2015-05-20 | 1 | -11/+57 |
| | | | | | |||||
| | | * | | Comments and shuffle of functions | Erik Johnston | 2015-05-18 | 1 | -38/+42 |
| | | | | | |||||
| | | * | | Remove unused metric | Erik Johnston | 2015-05-18 | 1 | -1/+0 |
| | | | | | |||||
| | | * | | Remove rejected events if we don't want rejected events | Erik Johnston | 2015-05-18 | 1 | -0/+3 |
| | | | | | |||||
| | | * | | Newline, remove debug logging | Erik Johnston | 2015-05-18 | 2 | -2/+1 |
| | | | | | |||||
| | | * | | PEP8 | Erik Johnston | 2015-05-15 | 2 | -2/+1 |
| | | | | | |||||
| | | * | | Revert limiting of fetching, it didn't help perf. | Erik Johnston | 2015-05-15 | 1 | -9/+2 |
| | | | | | |||||
| | | * | | init j | Erik Johnston | 2015-05-15 | 1 | -0/+1 |
| | | | | | |||||
| | | * | | Don't completely drain the list | Erik Johnston | 2015-05-15 | 1 | -2/+9 |
| | | | | | |||||
| | | * | | Don't fetch prev_content for current_state | Erik Johnston | 2015-05-15 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Make store.get_current_state fetch events asyncly | Erik Johnston | 2015-05-15 | 2 | -4/+4 |
| | | | | | |||||
| | | * | | Remove more debug logging | Erik Johnston | 2015-05-15 | 1 | -2/+0 |
| | | | | | |||||
| | | * | | Remove debug logging | Erik Johnston | 2015-05-15 | 1 | -11/+3 |
| | | | | | |||||
| | | * | | preserve log context | Erik Johnston | 2015-05-15 | 1 | -1/+2 |
| | | | | | |||||
| | | * | | Add a wait | Erik Johnston | 2015-05-15 | 2 | -3/+12 |
| | | | | | |||||
| | | * | | Srsly. Don't use closures. Baaaaaad | Erik Johnston | 2015-05-15 | 1 | -10/+8 |
| | | | | | |||||
| | | * | | Correctly pass through params | Erik Johnston | 2015-05-15 | 1 | -3/+3 |
| | | | | | |||||
| | | * | | Sort out error handling | Erik Johnston | 2015-05-15 | 1 | -25/+22 |
| | | | | | |||||
| | | * | | Fix daedlock | Erik Johnston | 2015-05-15 | 3 | -68/+85 |
| | | | | | |||||
| | | * | | Remove race condition | Erik Johnston | 2015-05-14 | 4 | -96/+157 |
| | | | | | |||||
| | | * | | Call from right thread | Erik Johnston | 2015-05-14 | 1 | -1/+3 |
| | | | | | |||||
| | | * | | Count and loop | Erik Johnston | 2015-05-14 | 2 | -37/+35 |
| | | | | | |||||
| | | * | | Don't start up more fetch_events | Erik Johnston | 2015-05-14 | 1 | -0/+1 |
| | | | | | |||||
| | | * | | Awful idea for speeding up fetching of events | Erik Johnston | 2015-05-14 | 2 | -36/+135 |
| | | | | | |||||
| | | * | | Turn off preemptive transactions | Erik Johnston | 2015-05-14 | 1 | -17/+7 |
| | | | | | |||||
| | | * | | PEP8 | Erik Johnston | 2015-05-14 | 1 | -2/+1 |
| | | | | | |||||
| | | * | | Move from _base to events | Erik Johnston | 2015-05-14 | 2 | -232/+247 |
| | | | | | |||||
| | | * | | Jump out early | Erik Johnston | 2015-05-14 | 1 | -0/+6 |
| | | | | | |||||
| | | * | | Actually, we probably want to run this in a transaction | Erik Johnston | 2015-05-14 | 1 | -15/+12 |
| | | | | | |||||
| | | * | | Preemptively jump into a transaction if we ask for get_prev_content | Erik Johnston | 2015-05-14 | 1 | -12/+22 |
| | | | | | |||||
| | | * | | loop -> gatherResults | Erik Johnston | 2015-05-14 | 1 | -10/+14 |
| | | | | | |||||
| | | * | | Err, we probably want a bigger limit | Erik Johnston | 2015-05-14 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Move fetching of events into their own transactions | Erik Johnston | 2015-05-14 | 4 | -53/+45 |
| | | | | | |||||
| | | * | | Refactor _get_events | Erik Johnston | 2015-05-14 | 2 | -253/+95 |
| | | | | | |||||
| | | * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/perf | Erik Johnston | 2015-05-14 | 2 | -2/+13 |
| | | |\ \ | |||||
| | | * | | | Add index on events | Erik Johnston | 2015-05-13 | 2 | -1/+20 |
| | | | | | | |||||
| | | * | | | Actually use async method | Erik Johnston | 2015-05-13 | 1 | -3/+1 |
| | | | | | | |||||
| | | * | | | Fetch events from events_id in their own transactions | Erik Johnston | 2015-05-13 | 3 | -18/+168 |
| | | | | | | |||||
| | | * | | | Typo | Erik Johnston | 2015-05-13 | 1 | -1/+1 |
| | | | | | | |||||
| | | * | | | Don't insert None | Erik Johnston | 2015-05-13 | 1 | -1/+4 |
| | | | | | | |||||
| | | * | | | Don't return None | Erik Johnston | 2015-05-13 | 1 | -1/+1 |
| | | | | | | |||||
| | | * | | | Limit batch size | Erik Johnston | 2015-05-13 | 1 | -5/+10 |
| | | | | | | |||||
| | | * | | | Fetch events in bulk | Erik Johnston | 2015-05-13 | 2 | -34/+63 |
| | | | | | | |||||
| | | * | | | Don't fetch redaction and rejection stuff for each event, so we can use ↵ | Erik Johnston | 2015-05-13 | 2 | -6/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | index only scan | ||||
| | | * | | | Temp turn off checking for rejections and redactions | Erik Johnston | 2015-05-13 | 1 | -5/+2 |
| | | | | | | |||||
| | | * | | | defer.gatherResults loop | Erik Johnston | 2015-05-13 | 1 | -1/+7 |
| | | | | | | |||||
| | | * | | | Batch fetching of events for state groups | Erik Johnston | 2015-05-13 | 1 | -1/+24 |
| | | | | | | |||||
| | | * | | | Load events for state group seperately | Erik Johnston | 2015-05-13 | 2 | -5/+11 |
| | | | | | | |||||
* | | | | | | Fix _get_backfill_events to return events in the correct order | Erik Johnston | 2015-05-20 | 1 | -27/+28 |
| | | | | | | |||||
* | | | | | | Ensure event_results is a set | Erik Johnston | 2015-05-19 | 1 | -1/+1 |
|/ / / / / | |||||
* / / / / | Fix event_backwards_extrem insertion to ignore outliers | Erik Johnston | 2015-05-19 | 1 | -2/+3 |
|/ / / / |