Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle sending events and device messages over federation | Erik Johnston | 2016-11-17 | 1 | -3/+14 |
| | |||||
* | Use external ldap auth pacakge | Erik Johnston | 2016-11-15 | 1 | -369/+0 |
| | |||||
* | Clean transactions based on time. Add HttpTransactionCache tests. | Kegan Dougal | 2016-11-14 | 1 | -1/+9 |
| | |||||
* | Explicitly set authentication mode in ldap3 | Erik Johnston | 2016-11-08 | 1 | -1/+2 |
| | | | | | | This only makes a difference for versions of ldap3 before 1.0, but a) its best to be explicit and b) there are distributions that package ancient versions for ldap3 (e.g. debian). | ||||
* | Implement pluggable password auth | Erik Johnston | 2016-10-03 | 1 | -0/+368 |
| | | | | | | Allows delegating the password auth to an external module. This also moves the LDAP auth to using this system, allowing it to be removed from the synapse tree entirely in the future. | ||||
* | Change get_pos_of_last_change to return upper bound | Erik Johnston | 2016-09-15 | 1 | -3/+4 |
| | |||||
* | Use stream_change cache to make get_forward_extremeties_for_room cache more ↵ | Erik Johnston | 2016-09-15 | 1 | -0/+5 |
| | | | | effective | ||||
* | Fix up push to use get_current_state_ids | Erik Johnston | 2016-08-25 | 1 | -176/+0 |
| | |||||
* | Preserve some logcontexts | Erik Johnston | 2016-08-24 | 2 | -8/+16 |
| | |||||
* | Merge pull request #1031 from matrix-org/erikj/measure_notifier | Erik Johnston | 2016-08-22 | 1 | -1/+1 |
|\ | | | | | Add more Measure blocks | ||||
| * | Only abort Measure on Exceptions | Erik Johnston | 2016-08-19 | 1 | -1/+1 |
| | | |||||
* | | Ensure invalidation list does not grow unboundedly | Erik Johnston | 2016-08-19 | 2 | -20/+16 |
| | | |||||
* | | Rename to on_invalidate | Erik Johnston | 2016-08-19 | 1 | -16/+10 |
| | | |||||
* | | Make cache_context an explicit option | Erik Johnston | 2016-08-19 | 1 | -8/+27 |
| | | |||||
* | | Remove lru option | Erik Johnston | 2016-08-19 | 1 | -23/+8 |
| | | |||||
* | | Add concept of cache contexts | Erik Johnston | 2016-08-19 | 3 | -20/+99 |
|/ | |||||
* | Clean up TransactionQueue | Erik Johnston | 2016-08-10 | 2 | -3/+1 |
| | |||||
* | Measure federation send transaction resources | Erik Johnston | 2016-08-10 | 1 | -0/+14 |
| | |||||
* | Add federation /version API | Erik Johnston | 2016-08-05 | 1 | -4/+4 |
| | |||||
* | Merge pull request #940 from matrix-org/erikj/fed_state_cache | Erik Johnston | 2016-08-02 | 1 | -2/+11 |
|\ | | | | | Cache federation state responses | ||||
| * | Cache federation state responses | Erik Johnston | 2016-07-21 | 1 | -2/+11 |
| | | |||||
* | | Fix retry utils to check if the exception is a subclass of CME | Mark Haines | 2016-07-28 | 1 | -1/+1 |
| | | |||||
* | | Don't include name of room for invites in push | David Baker | 2016-07-28 | 1 | -1/+4 |
| | | | | | | | | Avoids insane pushes like, "Bob invited you to invite from Bob" | ||||
* | | typo | Matthew Hodgson | 2016-07-26 | 1 | -1/+1 |
|/ | |||||
* | Add ReadWriteLock | Erik Johnston | 2016-07-05 | 1 | -0/+82 |
| | |||||
* | Use similar naming we use in email notifs for push | David Baker | 2016-06-24 | 1 | -1/+4 |
| | | | | Fixes https://github.com/vector-im/vector-web/issues/1654 | ||||
* | Remove registered_users from the distributor. | Mark Haines | 2016-06-17 | 1 | -4/+0 |
| | | | | | | | | | | The only place that was observed was to set the profile. I've made it so that the profile is set within store.register in the same transaction that creates the user. This required some slight changes to the registration code for upgrading guest users, since it previously relied on the distributor swallowing errors if the profile already existed. | ||||
* | Merge branch 'erikj/cache_perf' of github.com:matrix-org/synapse into develop | Erik Johnston | 2016-06-03 | 2 | -10/+34 |
|\ | |||||
| * | Pull out update_results_dict | Erik Johnston | 2016-06-03 | 1 | -8/+7 |
| | | |||||
| * | Small optimisation to CacheListDescriptor | Erik Johnston | 2016-06-03 | 2 | -2/+11 |
| | | |||||
| * | Make cachedList go a bit faster | Erik Johnston | 2016-06-03 | 1 | -10/+34 |
| | | |||||
* | | Change CacheMetrics to be quicker | Erik Johnston | 2016-06-03 | 5 | -25/+44 |
|/ | | | | | | We change it so that each cache has an individual CacheMetric, instead of having one global CacheMetric. This means that when a cache tries to increment a counter it does not need to go through so many indirections. | ||||
* | catch thinko in presentable names | Matthew Hodgson | 2016-05-23 | 1 | -4/+15 |
| | |||||
* | Docstring | David Baker | 2016-04-29 | 1 | -0/+14 |
| | |||||
* | pep8 newline | David Baker | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/develop' into dbkr/email_notifs | David Baker | 2016-04-29 | 2 | -0/+168 |
|\ | |||||
| * | Add a metrics listener and a ssh listener to the pusher | Mark Haines | 2016-04-25 | 1 | -1/+25 |
| | | |||||
| * | Move the listenTCP call outside the manhole function | Mark Haines | 2016-04-25 | 1 | -9/+5 |
| | | |||||
| * | Split out setting up the manhole to a separate file | Mark Haines | 2016-04-22 | 1 | -0/+50 |
| | | |||||
| * | Split out create_resource_tree to a separate file | Mark Haines | 2016-04-22 | 1 | -0/+98 |
| | | |||||
* | | Handle room invites in email notifs | David Baker | 2016-04-28 | 1 | -3/+3 |
| | | |||||
* | | More variable calculation for email notifs | David Baker | 2016-04-25 | 1 | -16/+19 |
| | | | | | | | | Include name of the person we're sending to and add summary text at the top giving an overview of what's happened. | ||||
* | | Typo | David Baker | 2016-04-25 | 1 | -1/+1 |
| | | |||||
* | | No we don't: it's just the display name | David Baker | 2016-04-22 | 1 | -1/+0 |
| | | |||||
* | | Sort member events | David Baker | 2016-04-22 | 1 | -0/+4 |
| | | | | | | | | So names of people in a room are given in order | ||||
* | | Implement group-of-people names | David Baker | 2016-04-22 | 1 | -17/+14 |
| | | |||||
* | | Flesh out email templating | David Baker | 2016-04-21 | 1 | -0/+142 |
|/ | | | | Mostly WIP porting the room name calculation logic from the web client so our room names in the email mirror the clients. | ||||
* | Create log context in Measure if one doesn't exist | Erik Johnston | 2016-04-18 | 1 | -6/+17 |
| | |||||
* | Use SynapseError 504 for Timeout errors | Erik Johnston | 2016-04-15 | 1 | -1/+2 |
| | |||||
* | Move the versionstring code out of app.homeserver into util | Mark Haines | 2016-04-11 | 2 | -0/+121 |
| | |||||
* | Remove some unused functions (#711) | Mark Haines | 2016-04-08 | 3 | -21/+0 |
| | | | | | | | | * Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want | ||||
* | Move all the wrapper functions for distributor.fire | Mark Haines | 2016-04-08 | 1 | -1/+21 |
| | | | | | | | Move the functions inside the distributor and import them where needed. This reduces duplication and makes it possible for flake8 to detect when the functions aren't used in a given file. | ||||
* | Rename things | Erik Johnston | 2016-04-07 | 1 | -5/+5 |
| | |||||
* | Log contexts and squash things together | Erik Johnston | 2016-04-07 | 1 | -17/+15 |
| | |||||
* | Add comment | Erik Johnston | 2016-04-07 | 1 | -0/+8 |
| | |||||
* | Deduplicate joins | Erik Johnston | 2016-04-07 | 2 | -1/+43 |
| | |||||
* | Make the cache objects be per instance rather than being global | Mark Haines | 2016-04-06 | 1 | -21/+24 |
| | |||||
* | Comment | Erik Johnston | 2016-04-01 | 1 | -1/+1 |
| | |||||
* | Add concurrently_execute function | Erik Johnston | 2016-04-01 | 1 | -1/+31 |
| | |||||
* | Fix typo | Mark Haines | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | Deduplicate identical /sync requests | Mark Haines | 2016-03-24 | 1 | -0/+46 |
| | |||||
* | Simplify intern_dict | Erik Johnston | 2016-03-23 | 1 | -17/+10 |
| | |||||
* | Intern all the things | Erik Johnston | 2016-03-23 | 1 | -1/+57 |
| | |||||
* | String intern | Erik Johnston | 2016-03-23 | 1 | -0/+8 |
| | |||||
* | Make LruCache use a dedicated _Node class | Erik Johnston | 2016-03-22 | 1 | -32/+41 |
| | |||||
* | Return list, not generator. | Erik Johnston | 2016-03-14 | 1 | -3/+1 |
| | |||||
* | Use syntax that works on both py2.7 and py3 | Mark Haines | 2016-03-07 | 1 | -1/+1 |
| | |||||
* | Limit stream change cache size too | Erik Johnston | 2016-03-01 | 1 | -1/+5 |
| | |||||
* | Move cache size fiddling to descriptors only. Fix tests | Erik Johnston | 2016-03-01 | 1 | -2/+2 |
| | |||||
* | Add enviroment variable SYNAPSE_CACHE_FACTOR, default it to 0.1 | Erik Johnston | 2016-03-01 | 1 | -0/+6 |
| | |||||
* | Reraise exception | Erik Johnston | 2016-03-01 | 1 | -0/+1 |
| | |||||
* | Correct cache miss detection | Erik Johnston | 2016-03-01 | 1 | -1/+1 |
| | |||||
* | Report size of ExpiringCache | Erik Johnston | 2016-02-23 | 1 | -2/+13 |
| | |||||
* | Change the way we figure out presence updates for small deltas | Erik Johnston | 2016-02-23 | 1 | -0/+16 |
| | |||||
* | Add presence metrics | Erik Johnston | 2016-02-19 | 1 | -0/+6 |
| | |||||
* | WheelTimer: Don't scan list, use index. | Erik Johnston | 2016-02-18 | 1 | -5/+8 |
| | |||||
* | Initial cut | Erik Johnston | 2016-02-17 | 1 | -1/+1 |
| | |||||
* | Add wheeltimer impl | Erik Johnston | 2016-02-17 | 1 | -0/+88 |
| | |||||
* | Merge pull request #566 from matrix-org/erikj/logcontext | Erik Johnston | 2016-02-10 | 1 | -16/+13 |
|\ | | | | | Don't bother copying records on parent context | ||||
| * | Remove comment | Erik Johnston | 2016-02-10 | 1 | -1/+1 |
| | | |||||
| * | s/parent_context/previous_context/ | Erik Johnston | 2016-02-10 | 1 | -9/+9 |
| | | |||||
| * | Set parent context on instansiation | Erik Johnston | 2016-02-10 | 1 | -2/+7 |
| | | |||||
| * | Don't bother copying records on parent context | Erik Johnston | 2016-02-09 | 1 | -8/+0 |
| | | |||||
* | | Fix unit tests | Erik Johnston | 2016-02-09 | 1 | -4/+5 |
| | | |||||
* | | Don't create new logging context | Erik Johnston | 2016-02-09 | 1 | -12/+15 |
|/ | |||||
* | Fix bug in util.metrics.Measure | Erik Johnston | 2016-02-09 | 1 | -1/+3 |
| | |||||
* | Create new context when measuring | Erik Johnston | 2016-02-09 | 1 | -2/+5 |
| | |||||
* | Change logcontext warns to debug | Erik Johnston | 2016-02-09 | 1 | -3/+3 |
| | |||||
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 9 | -28/+169 |
| | |||||
* | Add metrics to pushers | Erik Johnston | 2016-02-08 | 1 | -0/+86 |
| | |||||
* | Allowing tagging log contexts | Erik Johnston | 2016-02-03 | 1 | -1/+6 |
| | |||||
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 6 | -7/+7 |
| | |||||
* | If stream pos is greater then earliest known key and entity hasn't changed, ↵ | Erik Johnston | 2016-01-29 | 1 | -8/+3 |
| | | | | then entity hasn't changed | ||||
* | Prefill stream change caches | Erik Johnston | 2016-01-29 | 1 | -1/+4 |
| | |||||
* | Merge pull request #536 from matrix-org/erikj/sync | Erik Johnston | 2016-01-29 | 1 | -0/+107 |
|\ | | | | | Make /sync "better". | ||||
| * | If the same as the earliest key, assume nothing has changed. | Erik Johnston | 2016-01-28 | 1 | -0/+5 |
| | | |||||
| * | Correctly update _entity_to_key | Erik Johnston | 2016-01-28 | 1 | -4/+5 |
| | | |||||
| * | Fix inequalities | Erik Johnston | 2016-01-28 | 1 | -2/+2 |
| | | |||||
| * | Include cache hits with has_entity_changed | Erik Johnston | 2016-01-28 | 1 | -0/+4 |
| | | |||||
| * | Change name and doc has_entity_changed | Erik Johnston | 2016-01-28 | 1 | -1/+3 |
| | | |||||
| * | Cache tags and account data | Erik Johnston | 2016-01-28 | 2 | -92/+95 |
| | | |||||
| * | Ensure keys to RoomStreamChangeCache are ints | Erik Johnston | 2016-01-28 | 1 | -0/+6 |
| | | |||||
| * | Invalidate caches properly. Remove unused arg | Erik Johnston | 2016-01-28 | 1 | -2/+2 |
| | | |||||
| * | Add cache to room stream | Erik Johnston | 2016-01-27 | 1 | -0/+86 |
| | | |||||
* | | Directly set self.value | Erik Johnston | 2016-01-29 | 1 | -1/+1 |
| | | |||||
* | | Remove spurious self.size | Erik Johnston | 2016-01-29 | 1 | -1/+0 |
| | | |||||
* | | Correctly bookkeep the size of TreeCache | Erik Johnston | 2016-01-29 | 1 | -3/+28 |
| | | |||||
* | | Make TreeCache keep track of its own size. | Erik Johnston | 2016-01-29 | 2 | -6/+10 |
| | | |||||
* | | Reset size on clear | Erik Johnston | 2016-01-29 | 1 | -0/+2 |
|/ | |||||
* | Don't add the member functiopn if we're not using treecache | David Baker | 2016-01-22 | 1 | -1/+4 |
| | |||||
* | docs | David Baker | 2016-01-22 | 1 | -1/+5 |
| | |||||
* | Revert all the bits changing keys of eeverything that used LRUCaches to tuples | David Baker | 2016-01-22 | 2 | -6/+6 |
| | |||||
* | Make LRU cache not default to treecache & add options to use it | David Baker | 2016-01-22 | 2 | -10/+19 |
| | |||||
* | Add __contains__ | David Baker | 2016-01-22 | 1 | -0/+3 |
| | |||||
* | Docs for treecache | David Baker | 2016-01-22 | 1 | -0/+5 |
| | |||||
* | Add invalidate_many here too | David Baker | 2016-01-22 | 1 | -0/+1 |
| | |||||
* | peppate | David Baker | 2016-01-21 | 1 | -2/+2 |
| | |||||
* | Change LRUCache to be tree-based so we can delete subtrees. | David Baker | 2016-01-21 | 4 | -14/+102 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 17 | -17/+17 |
| | |||||
* | Add some docstring explaining the snapshot cache does | Mark Haines | 2015-12-23 | 1 | -1/+23 |
| | |||||
* | Add a unit test for the snapshot cache | Mark Haines | 2015-12-23 | 1 | -2/+2 |
| | |||||
* | Add a cache for initialSync responses that expires after 5 minutes | Mark Haines | 2015-12-22 | 1 | -0/+71 |
| | |||||
* | Track the time spent in the database per request. | Mark Haines | 2015-12-07 | 1 | -0/+9 |
| | | | | and track the number of transactions that request started. | ||||
* | Add a setter for the current log context. | Mark Haines | 2015-12-07 | 1 | -16/+24 |
| | | | | | | Move the resource tracking inside that setter so that it is easier to make sure that the resource tracking isn't double counting the resource usage. | ||||
* | Add comments to explain why we are hardcoding RUSAGE_THREAD | Mark Haines | 2015-12-04 | 1 | -0/+8 |
| | |||||
* | Fix warnings | Mark Haines | 2015-12-04 | 1 | -2/+2 |
| | |||||
* | Track the cpu used in the main thread by each logging context | Mark Haines | 2015-12-03 | 3 | -10/+72 |
| | |||||
* | Run the background updates when starting synapse. | Mark Haines | 2015-11-10 | 1 | -0/+8 |
| | |||||
* | Exchange 3pid invites for m.room.member invites | Daniel Wagner-Hall | 2015-11-05 | 1 | -69/+0 |
| | |||||
* | Merge pull request #340 from matrix-org/erikj/server_retries | Erik Johnston | 2015-11-05 | 1 | -2/+5 |
|\ | | | | | Retry dead servers a lot less often | ||||
| * | Retry dead servers a lot less often | Erik Johnston | 2015-11-02 | 1 | -2/+5 |
| | | |||||
* | | Remove the LockManager class because it wasn't being used | Mark Haines | 2015-11-04 | 1 | -74/+0 |
|/ | |||||
* | Merge pull request #312 from matrix-org/daniel/3pidinvites | Daniel Wagner-Hall | 2015-10-19 | 1 | -1/+1 |
|\ | | | | | Stuff signed data in a standalone object | ||||
| * | Stuff signed data in a standalone object | Daniel Wagner-Hall | 2015-10-16 | 1 | -1/+1 |
| | | | | | | | | | | Makes both generating it in sydent, and verifying it here, simpler at the cost of some repetition | ||||
* | | Merge pull request #306 from matrix-org/markjh/unused_methods | Mark Haines | 2015-10-16 | 1 | -71/+0 |
|\ \ | |/ |/| | Remove some login classes from synapse. | ||||
| * | synapse.util.emailutils was unused | Mark Haines | 2015-10-15 | 1 | -71/+0 |
| | | |||||
* | | Add signing host and keyname to signatures | Daniel Wagner-Hall | 2015-10-16 | 1 | -1/+1 |
| | | |||||
* | | Verify third party ID server certificates | Daniel Wagner-Hall | 2015-10-16 | 1 | -3/+3 |
| | | |||||
* | | Look for keys on the right objects | Daniel Wagner-Hall | 2015-10-15 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'develop' into daniel/3pidinvites | Daniel Wagner-Hall | 2015-10-15 | 1 | -0/+72 |
|\| | |||||
| * | Fix pep8 warnings. | Mark Haines | 2015-10-13 | 1 | -8/+12 |
| | | |||||
| * | Bounce all deferreds through the reactor to make debugging easier. | Mark Haines | 2015-10-13 | 1 | -0/+68 |
| | | | | | | | | | | | | If all deferreds wait a reactor tick before resolving then there is always a chance to add an errback to the deferred so that stacktraces get reported, rather than being discarded. | ||||
* | | Use more descriptive error code | Daniel Wagner-Hall | 2015-10-13 | 1 | -1/+1 |
| | | |||||
* | | Remove unnecessary class-wrapping | Daniel Wagner-Hall | 2015-10-13 | 2 | -68/+69 |
| | | |||||
* | | Move event contents into third_party_layout field | Daniel Wagner-Hall | 2015-10-13 | 1 | -2/+8 |
| | | |||||
* | | Implement third party identifier invites | Daniel Wagner-Hall | 2015-10-01 | 1 | -0/+62 |
|/ | |||||
* | synapse/util/__init__.py:unwrap_deferred was unused | Mark Haines | 2015-09-22 | 1 | -28/+0 |
| | |||||
* | Allow non-ascii filenames for attachments | Mark Haines | 2015-08-26 | 1 | -0/+2 |
| | |||||
* | Don't assume @cachedList function returns keys for everything | Erik Johnston | 2015-08-18 | 1 | -1/+1 |
| | |||||
* | Docstring | Erik Johnston | 2015-08-12 | 1 | -0/+27 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-12 | 1 | -1/+3 |
|\ | | | | | | | erikj/dictionary_cache | ||||
* | | Wire up the dictionarycache to the metrics | Erik Johnston | 2015-08-12 | 3 | -45/+41 |
| | | |||||
* | | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 5 | -1/+374 |
| | | |||||
* | | Comments | Erik Johnston | 2015-08-10 | 1 | -0/+3 |
| | | |||||
* | | Merge branch 'erikj/cache_deferreds' into erikj/dictionary_cache | Erik Johnston | 2015-08-06 | 1 | -2/+7 |
|\| | |||||
| * | Make @cached cache deferreds rather than the deferreds' values | Erik Johnston | 2015-08-06 | 1 | -2/+7 |
| | | |||||
* | | Use dictionary cache to do group -> state fetching | Erik Johnston | 2015-08-05 | 1 | -23/+35 |
| | | |||||
* | | Move DictionaryCache | Erik Johnston | 2015-08-04 | 1 | -0/+94 |
|/ | |||||
* | Enforce ascii filenames for uploads | Erik Johnston | 2015-06-30 | 1 | -0/+9 |
| | |||||
* | Merge pull request #192 from matrix-org/erikj/fix_log_context | Erik Johnston | 2015-06-19 | 1 | -19/+33 |
|\ | | | | | Fix log context when sending requests | ||||
| * | Fix log context when sending requests | Erik Johnston | 2015-06-19 | 1 | -19/+33 |
| | | |||||
* | | Add comment on cancellation of observers | Erik Johnston | 2015-06-19 | 1 | -0/+3 |
| | | |||||
* | | Refactor the notifier.wait_for_events code to be clearer. Add ↵ | Erik Johnston | 2015-06-18 | 2 | -4/+17 |
|/ | | | | _NotifierUserStream.new_listener that accpets a token to avoid races. | ||||
* | Unused import | Erik Johnston | 2015-05-28 | 1 | -2/+0 |
| | |||||
* | Remove a deep copy | Erik Johnston | 2015-05-28 | 1 | -9/+1 |
| | |||||
* | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-05-22 | 1 | -1/+7 |
|\ | |||||
| * | Add a cache for get_current_state with state_key | Mark Haines | 2015-05-21 | 1 | -1/+7 |
| | | |||||
* | | Awful idea for speeding up fetching of events | Erik Johnston | 2015-05-14 | 1 | -4/+4 |
| | | |||||
* | | Refactor _get_events | Erik Johnston | 2015-05-14 | 1 | -0/+28 |
| | | |||||
* | | Merge pull request #143 from matrix-org/erikj/SYN-375 | Mark Haines | 2015-05-12 | 1 | -12/+48 |
|\ \ | | | | | | | SYN-375 - Lots of unhandled deferred exceptions. | ||||
| * | | Change the way we create observers to deferreds so that we don't get spammed ↵ | Erik Johnston | 2015-05-08 | 1 | -12/+48 |
| |/ | | | | | | | by 'unhandled errors' | ||||
* | | Make distributer.fire work as it did | Erik Johnston | 2015-05-12 | 1 | -20/+30 |
| | | |||||
* | | Unwrap defer.gatherResults failures | Erik Johnston | 2015-05-12 | 1 | -0/+6 |
| | | |||||
* | | Fix up leak. Add warnings. | Erik Johnston | 2015-05-08 | 3 | -26/+33 |
| | | |||||
* | | Add some docs | Erik Johnston | 2015-05-08 | 1 | -2/+14 |
| | | |||||
* | | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 3 | -7/+38 |
|/ | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into postgres | Erik Johnston | 2015-04-27 | 1 | -0/+19 |
|\ | |||||
| * | Implement create_observer. | Erik Johnston | 2015-04-27 | 1 | -0/+19 |
| | | | | | | | | | | | | `create_observer` takes a deferred and create a new deferred that *observers* the original deferred. Any callbacks added to the observing deferred will *not* affect the origin deferred. | ||||
* | | Make LruCache thread safe, as its used for event cache | Erik Johnston | 2015-04-15 | 1 | -0/+20 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-08 | 1 | -1/+1 |
|\| | |||||
| * | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-04-08 | 1 | -1/+1 |
| |\ | |||||
| | * | SYN-338: Fix typo that caused the cache to throw an exception in some instances | Erik Johnston | 2015-04-08 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-07 | 1 | -0/+7 |
|\| | | |||||
| * | | Implement the 'key in dict' test for LruCache() | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -0/+7 |
| |/ | |||||
* / | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #109 from matrix-org/default_registration | Erik Johnston | 2015-03-18 | 1 | -0/+10 |
|\ | | | | | Disable registration by default. Add script to register new users. | ||||
| * | Implement registering with shared secret. | Erik Johnston | 2015-03-13 | 1 | -0/+10 |
| | | |||||
* | | Delete a couple of TODO markers of monitoring stats now done | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -1/+0 |
|/ | |||||
* | Give LruCache a __len__, so that len(cache) works | Paul "LeoNerd" Evans | 2015-03-04 | 1 | -0/+7 |
| | |||||
* | Use contextlib.contextmanager instead of a custom class | Erik Johnston | 2015-03-02 | 1 | -22/+12 |
| | |||||
* | Move federation rate limiting out of transport layer | Erik Johnston | 2015-02-27 | 1 | -0/+226 |
| | |||||
* | Remove unused import | Erik Johnston | 2015-02-18 | 1 | -2/+0 |
| | |||||
* | Remove spurious comma. Remove temp run_on_reactor | Erik Johnston | 2015-02-18 | 1 | -2/+1 |
| | |||||
* | Temporarily add a run_on_reactor() call | Erik Johnston | 2015-02-18 | 1 | -0/+3 |
| | |||||
* | s/self._clock/self.clock/ | Erik Johnston | 2015-02-18 | 1 | -1/+1 |
| | |||||
* | Merge branch 'keyclient_retry_scheme' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-18 | 1 | -0/+153 |
|\ | | | | | | | develop | ||||
| * | More docs | Erik Johnston | 2015-02-18 | 1 | -1/+5 |
| | | |||||
| * | Docs. | Erik Johnston | 2015-02-18 | 1 | -1/+33 |
| | | |||||
| * | Try to only back off if we think we failed to connect to the remote | Erik Johnston | 2015-02-17 | 1 | -2/+8 |
| | | |||||
| * | Only update destination_retry_timings if we have succeeded when retrying | Erik Johnston | 2015-02-17 | 1 | -0/+3 |
| | | |||||
| * | Remove spurious self | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
| | | |||||
| * | Add per server retry limiting. | Erik Johnston | 2015-02-17 | 1 | -0/+108 |
| | | | | | | | | | | Factor out the pre destination retry logic from TransactionQueue so it can be reused in both get_pdu and crypto.keyring | ||||
* | | Merge pull request #77 from matrix-org/failures | Erik Johnston | 2015-02-18 | 1 | -2/+0 |
|\ \ | | | | | | | Failures | ||||
| * | | Consume errors in time_bound_deferred | Erik Johnston | 2015-02-17 | 1 | -2/+0 |
| |/ | |||||
* | | Fix typo in function name | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
| | | |||||
* | | ExpiringCache: purge every 1/2 interval | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
| | | |||||
* | | Factor out ExpiringCache from StateHandler | Erik Johnston | 2015-02-16 | 1 | -0/+115 |
|/ | |||||
* | Merge pull request #61 from matrix-org/timeout-federation-requests | Erik Johnston | 2015-02-11 | 1 | -1/+54 |
|\ | | | | | Timeout federation requests | ||||
| * | Fix so timing out connections to actually work. | Erik Johnston | 2015-02-11 | 1 | -9/+43 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-11 | 1 | -0/+110 |
| |\ | | | | | | | | | | timeout-federation-requests | ||||
| * \ | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-11 | 1 | -1/+9 |
| |\ \ | | | | | | | | | | | | | timeout-federation-requests | ||||
| * | | | Move time_bound_deferred into Clock | Erik Johnston | 2015-02-11 | 2 | -21/+20 |
| | | | | |||||
| * | | | Time out HTTP federation requests | Erik Johnston | 2015-02-10 | 1 | -0/+20 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into use-simplejson | Erik Johnston | 2015-02-11 | 1 | -0/+110 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Add a lru cache class | Mark Haines | 2015-02-11 | 1 | -0/+110 |
| | |/ | |/| | |||||
* / | | Don't unfreeze when using FreezeEvent.get_dict, as we are using a ↵ | Erik Johnston | 2015-02-11 | 1 | -2/+6 |
|/ / | | | | | | | JSONEncoder that understands FrozenDict | ||||
* / | Add looping_call to Clock | Erik Johnston | 2015-02-09 | 1 | -1/+9 |
|/ | |||||
* | Optimize FrozenEvent creation | Erik Johnston | 2015-01-06 | 1 | -2/+3 |
| | |||||
* | Fix typo where we used wrong var. | Erik Johnston | 2015-01-06 | 1 | -2/+2 |
| | |||||
* | Time how long calls to _get_destination_retry_timings take | Erik Johnston | 2015-01-06 | 1 | -12/+61 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 10 | -9/+23 |
| | |||||
* | Supply auth_chain along with current state in '/state/', fetch auth events ↵ | Mark Haines | 2014-12-18 | 1 | -1/+1 |
| | | | | from a remote server if we are missing some of them | ||||
* | Replace distributor deferred list, with a simple for loop until I understand ↵ | Mark Haines | 2014-12-18 | 1 | -6/+6 |
| | | | | why the former breaks and the latter doesn't | ||||
* | Fix pyflakes | Erik Johnston | 2014-12-16 | 1 | -2/+0 |
| | |||||
* | Remove FrozenEncoder | Erik Johnston | 2014-12-16 | 1 | -8/+0 |
| | |||||
* | Add PEP8 newlines | Erik Johnston | 2014-12-09 | 1 | -1/+1 |
| | |||||
* | Add forgotten file | Erik Johnston | 2014-12-08 | 1 | -0/+56 |
| | |||||
* | Drop log level for incorrect logging contexts to WARN if the context is ↵ | Mark Haines | 2014-11-25 | 1 | -5/+8 |
| | | | | wrong and DEBUG if the context is missing | ||||
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 2 | -0/+3 |
| | |||||
* | Use module loggers rather than the root logger. Exceptions caused by bad ↵ | Mark Haines | 2014-11-20 | 1 | -1/+3 |
| | | | | clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str' | ||||
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 1 | -19/+24 |
| | | | | because they don't interact well with the logging contexts | ||||
* | Sometimes there isn't a current logging context | Mark Haines | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | Preserve logging context in a few more places, drop the logging context ↵ | Mark Haines | 2014-11-19 | 2 | -1/+10 |
| | | | | after it has been stashed to reduce potential for confusion | ||||
* | Merge branch 'develop' into request_logging | Mark Haines | 2014-11-14 | 2 | -1/+7 |
|\ | | | | | | | | | | | | | Conflicts: setup.py synapse/storage/_base.py synapse/util/async.py | ||||
| * | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -1/+1 |
| | | | | | | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced. | ||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-30 | 3 | -5/+7 |
| |\ | | | | | | | | | | federation_authorization | ||||
| * | | Add a run_on_reactor function | Erik Johnston | 2014-10-29 | 1 | -0/+7 |
| | | | |||||
* | | | Merge branch 'develop' into request_logging | Mark Haines | 2014-10-30 | 3 | -5/+7 |
|\ \ \ | | |/ | |/| | | | | | | | Conflicts: synapse/config/logger.py | ||||
| * | | Fix pep8 warnings | Mark Haines | 2014-10-30 | 3 | -5/+7 |
| |/ | |||||
* | | Pep8 and a few doc strings | Mark Haines | 2014-10-30 | 1 | -14/+37 |
| | | |||||
* | | Add a request-id to each log line | Mark Haines | 2014-10-30 | 3 | -1/+90 |
|/ | |||||
* | Added support for the HS to send emails. Use it to send password resets. ↵ | Kegan Dougal | 2014-09-16 | 1 | -0/+71 |
| | | | | Added email_smtp_server and email_from_address config args. Added emailutils. | ||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 7 | -7/+7 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Allow optional non-suppression of exceptions through the Distributor | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -4/+13 |
| | |||||
* | Add copyright notices and fix pyflakes errors | Mark Haines | 2014-09-03 | 1 | -1/+0 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into presence_logging | Erik Johnston | 2014-08-28 | 1 | -0/+2 |
|\ | | | | | | | | | Conflicts: synapse/handlers/presence.py | ||||
| * | use @wraps to set the __name__ __module__ and __doc__ correctly for logged ↵ | Mark Haines | 2014-08-28 | 1 | -0/+2 |
| | | | | | | | | functions | ||||
* | | Add logging to try and figure out what is going on with the presence stuff | Erik Johnston | 2014-08-28 | 1 | -0/+53 |
|/ | |||||
* | Put some DEBUG logging in lockutils.py so we can debug roomlocks | Paul "LeoNerd" Evans | 2014-08-14 | 1 | -3/+9 |
| | |||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 7 | -0/+7 |
| |