summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Caches should be bound to instances.Erik Johnston2015-06-033-50/+81
| | | | | Before, caches were global and so different instances of the stores would share caches. This caused problems in the unit tests.
* Log where a request came from in federationErik Johnston2015-06-021-0/+2
|
* Don't explode if we don't have the eventErik Johnston2015-06-011-1/+3
|
* Merge pull request #172 from intelfx/contrib-systemdErik Johnston2015-05-311-0/+2
|\ | | | | contrib/systemd: log_config.yaml: do not disable existing loggers
| * contrib/systemd: log_config.yaml: do not disable existing loggersIvan Shapovalov2015-05-311-0/+2
|/ | | | | | | | | It turned out that merely configuring the root logger is not enough for "catch-all" semantics. The logging subsystem also needs to be told not to disable existing loggers (so that their messages will get propagated to handlers up the logging hierarchy, not just silently discarded). Signed-off-by: Ivan Shapovalov <intelfx100@gmail.com>
* Merge pull request #170 from matrix-org/markjh/SYT-8-recaptchaMark Haines2015-05-292-1/+5
|\ | | | | Allow endpoint for verifying recaptcha to be configured
| * Merge branch 'develop' into markjh/SYT-8-recaptchaMark Haines2015-05-295-16/+12
| |\ | | | | | | | | | | | | Conflicts: synapse/handlers/auth.py
| * | Add config for setting the recaptcha verify api endpoint, so we can test it ↵Mark Haines2015-05-292-3/+7
| | | | | | | | | | | | in sytest
* | | Remove log lineErik Johnston2015-05-291-1/+0
| | |
* | | Don't copy twiceErik Johnston2015-05-291-1/+1
| | |
* | | Merge pull request #169 from matrix-org/erikj/ultrajsonErik Johnston2015-05-298-20/+47
|\ \ \ | |_|/ |/| | Use ultrajson when possible. Add option to turn off freezing of events.
| * | Bump syutil versionErik Johnston2015-05-291-3/+3
| | |
| * | Add config option to turn off freezing events. Use new encode_json api and ↵Erik Johnston2015-05-298-17/+44
|/ / | | | | | | ujson.loads
* | SYN-395: Fix CAPTCHA, don't double decode jsonErik Johnston2015-05-281-2/+3
| |
* | Correctly pass connection pool parameterErik Johnston2015-05-282-2/+2
| |
* | Merge pull request #168 from matrix-org/erikj/conn_poolErik Johnston2015-05-282-4/+9
|\ \ | | | | | | Make HTTP clients use connection pools.
| * | Up maxPersistentPerHost countErik Johnston2015-05-282-0/+2
| | |
| * | Add connection pooling to SimpleHttpClientErik Johnston2015-05-281-2/+4
| | |
| * | Use connection pool for federation connectionsErik Johnston2015-05-281-2/+3
| | |
* | | Merge pull request #167 from matrix-org/erikj/deep_copy_removalErik Johnston2015-05-281-11/+1
|\ \ \ | |/ / |/| | Remove a deep copy
| * | Unused importErik Johnston2015-05-281-2/+0
| | |
| * | Remove a deep copyErik Johnston2015-05-281-9/+1
|/ /
* / Registration should be disabled by defaultErik Johnston2015-05-281-1/+1
|/
* Merge branch 'release-v0.9.1' of github.com:matrix-org/synapse into developErik Johnston2015-05-264-3/+30
|\
| * changelogErik Johnston2015-05-261-2/+2
| |
| * Iterate over the user_streams not the user_idsMark Haines2015-05-261-1/+1
| |
| * Merge branch 'bugs/SYN-390' into release-v0.9.1Mark Haines2015-05-261-1/+1
| |\
| | * Take a dict of the rule, not the rule listMark Haines2015-05-261-1/+1
| | |
| * | changelogErik Johnston2015-05-261-1/+1
| | |
| * | changelogErik Johnston2015-05-261-2/+4
| | |
| * | Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.9.1Erik Johnston2015-05-261-4/+7
| |\ \ | |/ / |/| |
* | | Merge pull request #166 from matrix-org/bugs/SYN-390Mark Haines2015-05-261-4/+7
|\ \ \ | | |/ | |/| SYN-390: Don't modify the dictionary returned from the database here either
| * | SYN-390: Don't modify the dictionary returned from the database here eitherMark Haines2015-05-261-4/+7
| | |
| | * changelogErik Johnston2015-05-261-0/+25
| | |
| | * Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.9.1Erik Johnston2015-05-261-5/+8
| | |\ | |_|/ |/| |
* | | Merge pull request #165 from matrix-org/bugs/SYN-390Erik Johnston2015-05-261-5/+8
|\| | | | | | | | SYN-390: Don't modify the dictionary returned from the data store
| * | SYN-390: Don't modify the dictionary returned from the data storeMark Haines2015-05-261-5/+8
| | |
| | * Bump versionErik Johnston2015-05-221-1/+1
| |/ |/|
* | Merge pull request #163 from matrix-org/markjh/presence_list_cacheMark Haines2015-05-225-34/+65
|\ \ | | | | | | Add a cache for the presence list
| * | Fix the presence testsMark Haines2015-05-223-17/+23
| | |
| * | Add a cache for getting the presence list for a userMark Haines2015-05-222-17/+42
| | |
* | | Merge pull request #164 from matrix-org/markjh/pusher_performance_2Mark Haines2015-05-221-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 invalidationMark Haines2015-05-221-1/+17
| | | |
* | | | Merge pull request #162 from matrix-org/erikj/backfill_fixesMark Haines2015-05-223-94/+153
|\ \ \ \ | |_|/ / |/| | | backfill fixes
| * | | Remove redundant for loopErik Johnston2015-05-221-3/+0
| | | |
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-2226-143/+258
| |\ \ \ | |/ / / |/| | | | | | | erikj/backfill_fixes
* | | | Merge pull request #156 from matrix-org/erikj/join_perfMark Haines2015-05-226-41/+92
|\ \ \ \ | | | | | | | | | | Make joining #matrix:matrix.org over federation quicker
| * | | | Add doc stringsErik Johnston2015-05-223-0/+7
| | | | |
* | | | | Merge pull request #159 from matrix-org/erikj/metrics_interface_configMark Haines2015-05-222-3/+10
|\ \ \ \ \ | | | | | | | | | | | | Enable changing the interface the metrics listener binds to
| * | | | | s/metric_interface/metric_bind_host/Erik Johnston2015-05-222-5/+5
| | | | | |
| * | | | | Update log lineErik Johnston2015-05-221-1/+4
| | | | | |
| * | | | | Enable changing the interface the metrics listener binds toErik Johnston2015-05-222-2/+6
| | | | | |
* | | | | | Merge pull request #157 from matrix-org/markjh/presence_performanceMark Haines2015-05-223-71/+108
|\ \ \ \ \ \ | | | | | | | | | | | | | | Improve presence performance in loadtest
| * | | | | | Remove spurious TODO commentMark Haines2015-05-221-1/+0
| | | | | | |
| * | | | | | Removed unused 'is_visible' methodMark Haines2015-05-201-27/+0
| | | | | | |
| * | | | | | Fix the presence testsMark Haines2015-05-202-10/+6
| | | | | | |
| * | | | | | Clean up the presence_list checking logic a bitMark Haines2015-05-201-12/+9
| | | | | | |
| * | | | | | Speed up the get_pagination_rows as wellMark Haines2015-05-181-3/+17
| | | | | | |
| * | | | | | Cache the most recent serial for each roomMark Haines2015-05-181-6/+22
| | | | | | |
| * | | | | | Move updating the serial and state of the presence cache into a single functionMark Haines2015-05-181-17/+43
| | | | | | |
| * | | | | | Merge branch 'notifier_performance' into markjh/presence_performanceMark Haines2015-05-1813-160/+295
| |\ \ \ \ \ \
| * | | | | | | Add more doc string, reduce C+P boilerplate for getting room listMark Haines2015-05-181-6/+22
| | | | | | | |
* | | | | | | | Merge pull request #160 from matrix-org/markjh/appservice_performanceMark Haines2015-05-223-20/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Make the appservice use 'users_in_room' rather than get_room_members …
| * | | | | | | | Remove unused importMark Haines2015-05-221-1/+1
| | | | | | | | |
| * | | | | | | | Make the appservice use 'users_in_room' rather than get_room_members since ↵Mark Haines2015-05-223-19/+7
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | it is cached
* | | | | | | | Merge pull request #161 from matrix-org/erikj/txn_logging_fixMark Haines2015-05-222-11/+28
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Erikj/txn logging fix
| * | | | | | | | Log origin and stats of incoming transactionsErik Johnston2015-05-221-0/+8
| | | | | | | | |
| * | | | | | | | Add txn_id to some log linesErik Johnston2015-05-221-6/+11
| | | | | | | | |
| * | | | | | | | Log less lines at INFO level, but include more helpful informationErik Johnston2015-05-221-6/+10
|/ / / / / / / /
* | | | / / / / Invalidate the get_latest_event_ids_in_room cache when deleting from ↵Mark Haines2015-05-221-0/+1
| |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | event_forward_extremities
* | | | | | | Revert register_new_matrix_user to use v1 apiErik Johnston2015-05-221-2/+3
|/ / / / / /
* | | | | | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-2211-36/+93
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Changelog v0.9.0-r5Erik Johnston2015-05-211-0/+6
| | | | | |
| * | | | | Merge branch 'hotfixes-v0.9.0-r5' of github.com:matrix-org/synapseErik Johnston2015-05-2110-36/+87
| |\ \ \ \ \
| | * | | | | Bump versionErik Johnston2015-05-211-1/+1
| | | | | | |
| | * | | | | Merge branch 'markjh/pusher_performance_master' of ↵Erik Johnston2015-05-219-35/+86
| |/| | | | | | | | | | | | | | | | | | | | | | | | | | github.com:matrix-org/synapse into hotfixes-v0.9.0-r5
| | * | | | | Don't try to use a txn when not in one, remove spurious debug loggingMark Haines2015-05-212-5/+1
| | | | | | |
| | * | | | | Add caches for things requested by the pushersMark Haines2015-05-217-33/+44
| | | | | | |
| | * | | | | Add a cache for get_current_state with state_keyMark Haines2015-05-215-2/+46
| |/ / / / /
| * | | | | Merge branch 'hotfixes-v0.9.0-r4' of github.com:matrix-org/synapse v0.9.0-r4Erik Johnston2015-05-113-58/+55
| |\ \ \ \ \
| | | | | | * 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 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-212-1/+7
| | | | | | |\ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | erikj/backfill_fixes
* | | | | | | Oops, get_rooms_for_user returns a namedtuple, not a room_idMark Haines2015-05-212-1/+7
| | | | | | |
| | | | | | * Merge branch 'erikj/join_perf' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-2113-189/+581
| | | | | | |\ | | | | | | |/ | | | | | |/| | | | | | | | erikj/backfill_fixes
| | | | | * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-2113-189/+581
| | | | | |\ \ | |_|_|_|_|/ / |/| | | | | |
* | | | | | | Merge pull request #155 from matrix-org/erikj/perfErik Johnston2015-05-2113-189/+581
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Bulk and batch retrieval of events.
| * | | | | | | s/for events/for requests for events/Erik Johnston2015-05-211-1/+1
| | | | | | | |
| * | | | | | | s/for events/for requests for events/Erik Johnston2015-05-211-1/+1
| | | | | | | |
| * | | | | | | Add commentsErik Johnston2015-05-211-3/+14
| | | | | | | |
| * | | | | | | Split up _get_events into defer and txn versionsErik Johnston2015-05-201-24/+35
| | | | | | | |
| * | | | | | | Make not return a deferred _get_event_from_row_txnErik Johnston2015-05-201-20/+5
| | | | | | | |
| * | | | | | | PEP8Erik Johnston2015-05-201-2/+2
| | | | | | | |
| * | | | | | | Split out _get_event_from_row back into defer and _txn versionErik Johnston2015-05-201-11/+57
| | | | | | | |
| * | | | | | | Comments and shuffle of functionsErik Johnston2015-05-181-38/+42
| | | | | | | |
| * | | | | | | Remove unused metricErik Johnston2015-05-181-1/+0
| | | | | | | |
| * | | | | | | Remove rejected events if we don't want rejected eventsErik Johnston2015-05-181-0/+3
| | | | | | | |
| * | | | | | | Merge branch 'erikj/events_move' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-189-277/+314
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | erikj/perf
| * | | | | | | | Remove pointless newlineErik Johnston2015-05-181-1/+0
| | | | | | | | |
| * | | | | | | | Newline, remove debug loggingErik Johnston2015-05-183-4/+1
| | | | | | | | |
| * | | | | | | | Remove debug loggingErik Johnston2015-05-181-8/+0
| | | | | | | | |
| * | | | | | | | PEP8Erik Johnston2015-05-152-2/+1
| | | | | | | | |
| * | | | | | | | Revert limiting of fetching, it didn't help perf.Erik Johnston2015-05-151-9/+2
| | | | | | | | |
| * | | | | | | | init jErik Johnston2015-05-151-0/+1
| | | | | | | | |
| * | | | | | | | Don't completely drain the listErik Johnston2015-05-151-2/+9
| | | | | | | | |
| * | | | | | | | Don't fetch prev_content for current_stateErik Johnston2015-05-151-1/+1
| | | | | | | | |
| * | | | | | | | Err, defer.gatherResults ftwErik Johnston2015-05-151-21/+12
| | | | | | | | |
| * | | | | | | | Make store.get_current_state fetch events asynclyErik Johnston2015-05-152-4/+4
| | | | | | | | |
| * | | | | | | | Remove more debug loggingErik Johnston2015-05-151-2/+0
| | | | | | | | |
| * | | | | | | | Remove debug loggingErik Johnston2015-05-151-11/+3
| | | | | | | | |
| * | | | | | | | preserve log contextErik Johnston2015-05-151-1/+2
| | | | | | | | |
| * | | | | | | | Add a waitErik Johnston2015-05-152-3/+12
| | | | | | | | |
| * | | | | | | | Srsly. Don't use closures. BaaaaaadErik Johnston2015-05-151-10/+8
| | | | | | | | |
| * | | | | | | | Correctly pass through paramsErik Johnston2015-05-151-3/+3
| | | | | | | | |
| * | | | | | | | Sort out error handlingErik Johnston2015-05-151-25/+22
| | | | | | | | |
| * | | | | | | | Fix daedlockErik Johnston2015-05-157-84/+122
| | | | | | | | |
| * | | | | | | | Remove race conditionErik Johnston2015-05-144-96/+157
| | | | | | | | |
| * | | | | | | | Call from right threadErik Johnston2015-05-141-1/+3
| | | | | | | | |
| * | | | | | | | Count and loopErik Johnston2015-05-142-37/+35
| | | | | | | | |
| * | | | | | | | Don't start up more fetch_eventsErik Johnston2015-05-141-0/+1
| | | | | | | | |
| * | | | | | | | Awful idea for speeding up fetching of eventsErik Johnston2015-05-143-40/+139
| | | | | | | | |
| * | | | | | | | Turn off preemptive transactionsErik Johnston2015-05-141-17/+7
| | | | | | | | |
| * | | | | | | | PEP8Erik Johnston2015-05-141-2/+1
| | | | | | | | |
| * | | | | | | | Move from _base to eventsErik Johnston2015-05-142-232/+247
| | | | | | | | |
| * | | | | | | | Jump out earlyErik Johnston2015-05-141-0/+6
| | | | | | | | |
| * | | | | | | | Actually, we probably want to run this in a transactionErik Johnston2015-05-141-15/+12
| | | | | | | | |
| * | | | | | | | Preemptively jump into a transaction if we ask for get_prev_contentErik Johnston2015-05-141-12/+22
| | | | | | | | |
| * | | | | | | | loop -> gatherResultsErik Johnston2015-05-141-10/+14
| | | | | | | | |
| * | | | | | | | Err, we probably want a bigger limitErik Johnston2015-05-141-1/+1
| | | | | | | | |
| * | | | | | | | Move fetching of events into their own transactionsErik Johnston2015-05-144-53/+45
| | | | | | | | |
| * | | | | | | | Refactor _get_eventsErik Johnston2015-05-143-253/+123
| | | | | | | | |
| * | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/perfErik Johnston2015-05-143-3/+14
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Add index on eventsErik Johnston2015-05-132-1/+20
| | | | | | | | | |
| * | | | | | | | | Actually use async methodErik Johnston2015-05-131-3/+1
| | | | | | | | | |
| * | | | | | | | | Fetch events from events_id in their own transactionsErik Johnston2015-05-133-18/+168
| | | | | | | | | |
| * | | | | | | | | TypoErik Johnston2015-05-131-1/+1
| | | | | | | | | |
| * | | | | | | | | Don't insert NoneErik Johnston2015-05-131-1/+4
| | | | | | | | | |
| * | | | | | | | | Don't return NoneErik Johnston2015-05-131-1/+1
| | | | | | | | | |
| * | | | | | | | | Limit batch sizeErik Johnston2015-05-131-5/+10
| | | | | | | | | |
| * | | | | | | | | Fetch events in bulkErik Johnston2015-05-132-34/+63
| | | | | | | | | |
| * | | | | | | | | Don't fetch redaction and rejection stuff for each event, so we can use ↵Erik Johnston2015-05-132-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | index only scan
| * | | | | | | | | Temp turn off checking for rejections and redactionsErik Johnston2015-05-131-5/+2
| | | | | | | | | |
| * | | | | | | | | defer.gatherResults loopErik Johnston2015-05-131-1/+7
| | | | | | | | | |
| * | | | | | | | | Batch fetching of events for state groupsErik Johnston2015-05-131-1/+24
| | | | | | | | | |
| * | | | | | | | | Load events for state group seperatelyErik Johnston2015-05-132-5/+11
| | | | | | | | | |
| | | | | | | | | * Fix _get_backfill_events to return events in the correct orderErik Johnston2015-05-201-27/+28
| | | | | | | | | |
| | | | | | | | | * Actually fetch state for new backwards extremeties when backfilling.Erik Johnston2015-05-202-62/+108
| | | | | | | | | |
| | | | | | | | | * Ensure event_results is a setErik Johnston2015-05-191-1/+1
| | | | | | | | |/
| | | | | | | | * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-190-0/+0
| | | | | | | | |\ | |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Handle the case when things return empty but non none thingsErik Johnston2015-05-191-2/+2
| | | | | | | | |
* | | | | | | | | Don't always hit get_server_verify_key_v1_directErik Johnston2015-05-191-5/+10
| | | | | | | | |
| | | | | | | | * Add None checkErik Johnston2015-05-191-1/+1
| | | | | | | | |
| | | | | | | | * Fix event_backwards_extrem insertion to ignore outliersErik Johnston2015-05-191-2/+3
| | | | | | | | |
| | | | | | | | * Add a timeout param to get_eventErik Johnston2015-05-194-16/+25
| | | | | | | | |
| | | | | | | | * Handle the case when things return empty but non none thingsErik Johnston2015-05-191-2/+2
| | | | | | | | |
| | | | | | | | * Don't apply new room join hack if depth > 5Erik Johnston2015-05-191-3/+6
| | | | | | | | |
| | | | | | | | * Don't always hit get_server_verify_key_v1_directErik Johnston2015-05-191-5/+10
| | | | | | | | |
| | | | | | | | * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-192-3/+12
| | | | | | | | |\ | |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Disable GZip encoding on static file resources as per commentDavid Baker2015-05-191-1/+7
| | | | | | | | |
* | | | | | | | | Add forgotten .items()Erik Johnston2015-05-191-1/+1
| | | | | | | | |
* | | | | | | | | Fix scripts-dev/convert_server_keys.py to have correct formatErik Johnston2015-05-191-1/+4
| | | | | | | | |
* | | | | | | | | SYN-383: Actually, we expect this value to be a dictErik Johnston2015-05-191-1/+2
| | | | | | | | |
* | | | | | | | | Revert accidental commitErik Johnston2015-05-191-3/+3
| | | | | | | | |
| | | | | | | | * SYN-383: Actually, we expect this value to be a dictErik Johnston2015-05-191-1/+2
| | | | | | | | |
| | | | | | | | * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-192-4/+4
| | | | | | | | |\ | |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | SYN-383: Handle the fact the server might not have signed thingsErik Johnston2015-05-192-4/+4
| | | | | | | | |
* | | | | | | | | Don't reuse var namesErik Johnston2015-05-191-2/+2
| | | | | | | | |
| | | | | | | | * Don't reuse var namesErik Johnston2015-05-191-2/+2
| | | | | | | | |
| | | | | | | | * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-191-18/+18
| | | | | | | | |\ | |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | SYN-383: Fix parsing of verify_keys and catching of _DefGen_ReturnErik Johnston2015-05-191-18/+18
| | | | | | | | |
| | | | | | | | * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-1914-161/+298
| | | | | | | | |\ | |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | SYN-383: Extract the response list from 'server_keys' in the response JSON ↵Mark Haines2015-05-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as it might work better than iterating over the top level dict
* | | | | | | | | Merge pull request #152 from matrix-org/notifier_performanceMark Haines2015-05-1813-160/+295
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | Notifier performance
| * | | | | | | | Don't bother sorting by the room_stream_ids, it shouldn't matter which order ↵Mark Haines2015-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | they are notified in
| * | | | | | | | Merge branch 'develop' into notifier_performanceMark Haines2015-05-1810-105/+279
| |\ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / | | |/| | | | | |
| * | | | | | | | Make sure the notifier stream token goes forward when it is updated. Sort ↵Mark Haines2015-05-182-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the pending events by the correct room_stream_id
| * | | | | | | | Add some doc-strings to notifierMark Haines2015-05-141-19/+33
| | | | | | | | |
| * | | | | | | | Use the current token when timing out a notifier, make sure the user_id is a ↵Mark Haines2015-05-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | string in on_new_user_event
| * | | | | | | | Merge branch 'notifier_unify' into notifier_performanceMark Haines2015-05-144-21/+10
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Fix v2 sync, update the last_notified_ms only if there was an active listenerMark Haines2015-05-142-6/+7
| | | | | | | | | |
| * | | | | | | | | Fix metric counterMark Haines2015-05-131-2/+2
| | | | | | | | | |
| * | | | | | | | | Discard unused NotifierUserStreamsMark Haines2015-05-133-16/+38
| | | | | | | | | |
| * | | | | | | | | Don't set a timer if there's already a result to returnMark Haines2015-05-131-3/+10
| | | | | | | | | |
| * | | | | | | | | Don't bother checking for new events from a source if the stream token ↵Mark Haines2015-05-131-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hasn't advanced for that source
| * | | | | | | | | Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines2015-05-1312-55/+123
| | | | | | | | | |
| * | | | | | | | | Merge branch 'notifier_unify' into notifier_performanceMark Haines2015-05-1228-306/+631
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/notifier.py
| * \ \ \ \ \ \ \ \ \ Merge branch 'notifier_unify' into notifier_performanceMark Haines2015-05-123-24/+28
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Add a NotifierUserStream to hold all the notification listeners for a userMark Haines2015-05-121-114/+116
| | | | | | | | | | | |
| | | | | | | | | | | * Do work in parellel when joining a roomErik Johnston2015-05-181-19/+50
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |
* | | | | | | | | | | Merge pull request #154 from matrix-org/erikj/events_moveMark Haines2015-05-182-155/+132
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | / / / | | |_|_|_|_|_|/ / / | |/| | | | | | | | Move get_events functions to storage.events
| * | | | | | | | | Move get_events functions to storage.eventsErik Johnston2015-05-182-155/+132
|/ / / / / / / / /
* | | | | | | | | Merge pull request #153 from matrix-org/markjh/presence_docstringMark Haines2015-05-153-97/+233
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Add some doc strings for presence.
| * | | | | | | | | More whitespaceMark Haines2015-05-151-0/+1
| | | | | | | | | |
| * | | | | | | | | Add some missed argument types, cleanup the whitespace a bitMark Haines2015-05-141-6/+17
| | | | | | | | | |
| * | | | | | | | | More doc-stringsMark Haines2015-05-141-39/+202
| | | | | | | | | |
| * | | | | | | | | Remove unused arguments and doc PresenceHandler.push_update_to_clientsMark Haines2015-05-143-60/+21
| | | | | | | | | |
* | | | | | | | | | Support gzip encoding for client, client v2 and web client resources (SYN-176).David Baker2015-05-141-5/+16
|/ / / / / / / / /
* | | | | | | | | Treat setting your display name to the empty string as removing it (SYN-186).David Baker2015-05-141-0/+3
| | | | | | | | |
* | | | | | | | | Merge pull request #150 from matrix-org/notifier_unifyMark Haines2015-05-141-174/+48
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | | Make v1 and v2 client APIs interact with the notifier in the same way.
| * | | | | | | | Merge branch 'develop' into notifier_unifyMark Haines2015-05-144-21/+10
| |\ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | |
| * | | | | | | | Merge branch 'develop' into notifier_unifyMark Haines2015-05-1228-306/+631
| |\ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/notifier.py
| * | | | | | | | Update the end_token correctly, otherwise the token doesn't advance and the ↵Mark Haines2015-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client gets duplicate events
| * | | | | | | | Merge branch 'develop' into notifier_unifyMark Haines2015-05-122-23/+27
| |\ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | |
| * | | | | | | | Don't bother passing the events to the notifier since it isn't using themMark Haines2015-05-111-95/+18
| | | | | | | | |
| * | | | | | | | Use wait_for_events to implement 'get_events'Mark Haines2015-05-111-79/+30
| | | | | | | | |
* | | | | | | | | Disallow whitespace in aliases here tooDavid Baker2015-05-141-0/+5
| | | | | | | | |
* | | | | | | | | Throw error when creating room if alias contains whitespace #SYN-335David Baker2015-05-141-0/+5
| | | | | | | | |
* | | | | | | | | Make shared secret registration work againDavid Baker2015-05-141-1/+4
| |_|_|_|_|/ / / |/| | | | | | |
* | | | | | | | Add ID generator for push_rules_enable to #resolve SYN-378David Baker2015-05-142-2/+13
| |_|_|/ / / / |/| | | | | |
* | | | | | | Specify python 2.7 in the virtualenv setup (SYN-319) #resolvedDavid Baker2015-05-141-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | Don't talk to yourself when backfillingErik Johnston2015-05-121-0/+2
| | | | | |
* | | | | | You need to call contextmanagerErik Johnston2015-05-121-0/+1
| | | | | |
* | | | | | Merge pull request #151 from matrix-org/revert-147-presence-performanceMark Haines2015-05-121-20/+6
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Revert "Improvement to performance of presence event stream handling"
| * | | | | Revert "Improvement to performance of presence event stream handling"Mark Haines2015-05-121-20/+6
|/ / / / /
* | | | | Merge pull request #143 from matrix-org/erikj/SYN-375Mark Haines2015-05-123-16/+60
|\ \ \ \ \ | | | | | | | | | | | | SYN-375 - Lots of unhandled deferred exceptions.
| * | | | | Change the way we create observers to deferreds so that we don't get spammed ↵Erik Johnston2015-05-083-16/+60
| | | | | | | | | | | | | | | | | | | | | | | | by 'unhandled errors'
* | | | | | Merge pull request #147 from matrix-org/presence-performanceMark Haines2015-05-121-6/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | Improvement to performance of presence event stream handling
| * | | | | | Use the presence cachemap ordering to early-abort the iteration loopPaul "LeoNerd" Evans2015-05-071-2/+7
| | | | | | |
| * | | | | | Store presence cachemap in an ordered dict, so that the newer serials will ↵Paul "LeoNerd" Evans2015-05-071-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | be at the end
* | | | | | | Merge pull request #144 from matrix-org/erikj/logging_contextMark Haines2015-05-1221-156/+239
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Preserving logging contexts
| * | | | | | | Make distributer.fire work as it didErik Johnston2015-05-121-20/+30
| | | | | | | |
| * | | | | | | Unwrap defer.gatherResults failuresErik Johnston2015-05-126-7/+18
| | | | | | | |
| * | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-1214-92/+244
| |\ \ \ \ \ \ \ | | | |_|_|/ / / | | |/| | | | | | | | | | | | | erikj/logging_context
| * | | | | | | Fix up leak. Add warnings.Erik Johnston2015-05-088-49/+70
| | | | | | | |
| * | | | | | | Add some docsErik Johnston2015-05-081-2/+14
| | | | | | | |
| * | | | | | | PEP8Erik Johnston2015-05-082-4/+2
| | | | | | | |
| * | | | | | | Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-0813-100/+131
| | |/ / / / / | |/| | | | |
* | | | | | | Merge pull request #149 from matrix-org/erikj/backfillMark Haines2015-05-128-126/+310
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Backfill support
| * | | | | | 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
| | | | | | |
| * | | | | | Do state groups persistence /after/ checking if we have already persisted ↵Erik Johnston2015-05-121-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the event
| * | | | | | s/backfil/backfill/Erik Johnston2015-05-121-4/+4
| | | | | | |
| * | | | | | Typos everywhereErik Johnston2015-05-121-1/+1
| | | | | | |
| * | | | | | And another typo.Erik Johnston2015-05-121-3/+3
| | | | | | |
| * | | | | | Err, gatherResults doesn't take a dict...Erik Johnston2015-05-121-4/+7
| | | | | | |
| * | | | | | Handle the case where the other side is unreachable when backfillingErik Johnston2015-05-121-14/+42
| | | | | | |
| * | | | | | Make get_current_token accept a direction parameter, which tells whether the ↵Erik Johnston2015-05-124-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | source whether we want a token for going 'forwards' or 'backwards'
| * | | | | | Initial hack at wiring together pagination and backfillErik Johnston2015-05-113-5/+141
| | | | | | |
| * | | | | | Move storage.stream._StreamToken to types.RoomStreamTokenErik Johnston2015-05-112-85/+85
| | |_|/ / / | |/| | | |
* | | | | | Merge pull request #148 from matrix-org/bugs/SYN-377Mark Haines2015-05-122-23/+27
|\ \ \ \ \ \ | |/ / / / / |/| | | | | SYN-377: Make sure that the event is marked as persisted from the main thread.