summary refs log tree commit diff
path: root/synapse/http/servlet.py (unfollow)
Commit message (Expand)AuthorFilesLines
2015-05-21PriorityQueue gives lowest firstErik Johnston1-2/+2
2015-05-21Correctly capture Queue.Empty exceptionErik Johnston1-2/+5
2015-05-21Oops, get_rooms_for_user returns a namedtuple, not a room_idMark Haines2-1/+7
2015-05-21s/for events/for requests for events/Erik Johnston1-1/+1
2015-05-21s/for events/for requests for events/Erik Johnston1-1/+1
2015-05-21Add commentsErik Johnston1-3/+14
2015-05-20Split up _get_events into defer and txn versionsErik Johnston1-24/+35
2015-05-20Make not return a deferred _get_event_from_row_txnErik Johnston1-20/+5
2015-05-20PEP8Erik Johnston1-2/+2
2015-05-20Split out _get_event_from_row back into defer and _txn versionErik Johnston1-11/+57
2015-05-20Fix _get_backfill_events to return events in the correct orderErik Johnston1-27/+28
2015-05-20Actually fetch state for new backwards extremeties when backfilling.Erik Johnston2-62/+108
2015-05-19Ensure event_results is a setErik Johnston1-1/+1
2015-05-19Add None checkErik Johnston1-1/+1
2015-05-19Fix event_backwards_extrem insertion to ignore outliersErik Johnston1-2/+3
2015-05-19Add a timeout param to get_eventErik Johnston4-16/+25
2015-05-19Handle the case when things return empty but non none thingsErik Johnston1-2/+2
2015-05-19Don't always hit get_server_verify_key_v1_directErik Johnston1-5/+10
2015-05-19Handle the case when things return empty but non none thingsErik Johnston1-2/+2
2015-05-19Don't apply new room join hack if depth > 5Erik Johnston1-3/+6
2015-05-19Don't always hit get_server_verify_key_v1_directErik Johnston1-5/+10
2015-05-19Disable GZip encoding on static file resources as per commentDavid Baker1-1/+7
2015-05-19Add forgotten .items()Erik Johnston1-1/+1
2015-05-19Fix scripts-dev/convert_server_keys.py to have correct formatErik Johnston1-1/+4
2015-05-19SYN-383: Actually, we expect this value to be a dictErik Johnston1-1/+2
2015-05-19Revert accidental commitErik Johnston1-3/+3
2015-05-19SYN-383: Actually, we expect this value to be a dictErik Johnston1-1/+2
2015-05-19SYN-383: Handle the fact the server might not have signed thingsErik Johnston2-4/+4
2015-05-19Don't reuse var namesErik Johnston1-2/+2
2015-05-19Don't reuse var namesErik Johnston1-2/+2
2015-05-19SYN-383: Fix parsing of verify_keys and catching of _DefGen_ReturnErik Johnston1-18/+18
2015-05-19SYN-383: Extract the response list from 'server_keys' in the response JSON as...Mark Haines1-1/+3
2015-05-18Do work in parellel when joining a roomErik Johnston1-19/+50
2015-05-18Comments and shuffle of functionsErik Johnston1-38/+42
2015-05-18Remove unused metricErik Johnston1-1/+0
2015-05-18Don't bother sorting by the room_stream_ids, it shouldn't matter which order ...Mark Haines1-1/+1
2015-05-18Remove rejected events if we don't want rejected eventsErik Johnston1-0/+3
2015-05-18Make sure the notifier stream token goes forward when it is updated. Sort the...Mark Haines2-4/+21
2015-05-18Move get_events functions to storage.eventsErik Johnston2-155/+132
2015-05-18Remove pointless newlineErik Johnston1-1/+0
2015-05-18Newline, remove debug loggingErik Johnston3-4/+1
2015-05-18Remove debug loggingErik Johnston1-8/+0
2015-05-15PEP8Erik Johnston2-2/+1
2015-05-15Revert limiting of fetching, it didn't help perf.Erik Johnston1-9/+2
2015-05-15init jErik Johnston1-0/+1
2015-05-15Don't completely drain the listErik Johnston1-2/+9
2015-05-15Don't fetch prev_content for current_stateErik Johnston1-1/+1
2015-05-15Err, defer.gatherResults ftwErik Johnston1-21/+12
2015-05-15Make store.get_current_state fetch events asynclyErik Johnston2-4/+4
2015-05-15Remove more debug loggingErik Johnston1-2/+0
2015-05-15Remove debug loggingErik Johnston1-11/+3
2015-05-15preserve log contextErik Johnston1-1/+2
2015-05-15Add a waitErik Johnston2-3/+12
2015-05-15Srsly. Don't use closures. BaaaaaadErik Johnston1-10/+8
2015-05-15Correctly pass through paramsErik Johnston1-3/+3
2015-05-15More whitespaceMark Haines1-0/+1
2015-05-15Sort out error handlingErik Johnston1-25/+22
2015-05-15Fix daedlockErik Johnston7-84/+122
2015-05-14Add some missed argument types, cleanup the whitespace a bitMark Haines1-6/+17
2015-05-14More doc-stringsMark Haines1-39/+202
2015-05-14Remove race conditionErik Johnston4-96/+157
2015-05-14Support gzip encoding for client, client v2 and web client resources (SYN-176).David Baker1-5/+16
2015-05-14Call from right threadErik Johnston1-1/+3
2015-05-14Count and loopErik Johnston2-37/+35
2015-05-14Don't start up more fetch_eventsErik Johnston1-0/+1
2015-05-14Awful idea for speeding up fetching of eventsErik Johnston3-40/+139
2015-05-14Remove unused arguments and doc PresenceHandler.push_update_to_clientsMark Haines3-60/+21
2015-05-14Turn off preemptive transactionsErik Johnston1-17/+7
2015-05-14PEP8Erik Johnston1-2/+1
2015-05-14Move from _base to eventsErik Johnston2-232/+247
2015-05-14Add some doc-strings to notifierMark Haines1-19/+33
2015-05-14Jump out earlyErik Johnston1-0/+6
2015-05-14Actually, we probably want to run this in a transactionErik Johnston1-15/+12
2015-05-14Treat setting your display name to the empty string as removing it (SYN-186).David Baker1-0/+3
2015-05-14Preemptively jump into a transaction if we ask for get_prev_contentErik Johnston1-12/+22
2015-05-14loop -> gatherResultsErik Johnston1-10/+14
2015-05-14Err, we probably want a bigger limitErik Johnston1-1/+1
2015-05-14Move fetching of events into their own transactionsErik Johnston4-53/+45
2015-05-14Refactor _get_eventsErik Johnston3-253/+123
2015-05-14Disallow whitespace in aliases here tooDavid Baker1-0/+5
2015-05-14Throw error when creating room if alias contains whitespace #SYN-335David Baker1-0/+5
2015-05-14Use the current token when timing out a notifier, make sure the user_id is a ...Mark Haines1-2/+2
2015-05-14Make shared secret registration work againDavid Baker1-1/+4
2015-05-14Add ID generator for push_rules_enable to #resolve SYN-378David Baker2-2/+13
2015-05-14Fix v2 sync, update the last_notified_ms only if there was an active listenerMark Haines2-6/+7
2015-05-14Specify python 2.7 in the virtualenv setup (SYN-319) #resolvedDavid Baker1-1/+1
2015-05-13Add index on eventsErik Johnston2-1/+20
2015-05-13Fix metric counterMark Haines1-2/+2
2015-05-13Actually use async methodErik Johnston1-3/+1
2015-05-13Fetch events from events_id in their own transactionsErik Johnston3-18/+168
2015-05-13Discard unused NotifierUserStreamsMark Haines3-16/+38
2015-05-13TypoErik Johnston1-1/+1
2015-05-13Don't insert NoneErik Johnston1-1/+4
2015-05-13Don't set a timer if there's already a result to returnMark Haines1-3/+10
2015-05-13Don't return NoneErik Johnston1-1/+1
2015-05-13Limit batch sizeErik Johnston1-5/+10
2015-05-13Fetch events in bulkErik Johnston2-34/+63
2015-05-13Don't bother checking for new events from a source if the stream token hasn't...Mark Haines1-2/+6
2015-05-13Don't fetch redaction and rejection stuff for each event, so we can use index...Erik Johnston2-6/+24
2015-05-13Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines12-55/+123
2015-05-13Temp turn off checking for rejections and redactionsErik Johnston1-5/+2
2015-05-13defer.gatherResults loopErik Johnston1-1/+7
2015-05-13Batch fetching of events for state groupsErik Johnston1-1/+24
2015-05-13Load events for state group seperatelyErik Johnston2-5/+11
2015-05-12Don't talk to yourself when backfillingErik Johnston1-0/+2
2015-05-12You need to call contextmanagerErik Johnston1-0/+1
2015-05-12Revert "Improvement to performance of presence event stream handling"Mark Haines1-20/+6
2015-05-12Err, delete the right stuffErik Johnston1-4/+5
2015-05-12NewlinesErik Johnston1-2/+0
2015-05-12We do actually want to delete rows out of event_backward_extremitiesErik Johnston1-4/+11
2015-05-12Fix up _handle_prev_events to not try to insert duplicate rowsErik Johnston1-23/+13
2015-05-12Do state groups persistence /after/ checking if we have already persisted the...Erik Johnston1-6/+9
2015-05-12s/backfil/backfill/Erik Johnston1-4/+4
2015-05-12Typos everywhereErik Johnston1-1/+1
2015-05-12And another typo.Erik Johnston1-3/+3
2015-05-12Err, gatherResults doesn't take a dict...Erik Johnston1-4/+7
2015-05-12Make distributer.fire work as it didErik Johnston1-20/+30
2015-05-12Unwrap defer.gatherResults failuresErik Johnston6-7/+18
2015-05-12Update the end_token correctly, otherwise the token doesn't advance and the c...Mark Haines1-1/+1
2015-05-12SYN-377: Make sure that the StreamIdGenerator.get_next.__exit__ is called fro...Mark Haines2-23/+27
2015-05-12Add a NotifierUserStream to hold all the notification listeners for a userMark Haines1-114/+116
2015-05-12Handle the case where the other side is unreachable when backfillingErik Johnston1-14/+42
2015-05-12Make get_current_token accept a direction parameter, which tells whether the ...Erik Johnston4-8/+26
2015-05-11Initial hack at wiring together pagination and backfillErik Johnston3-5/+141
2015-05-11Move storage.stream._StreamToken to types.RoomStreamTokenErik Johnston2-85/+85
2015-05-11Don't bother passing the events to the notifier since it isn't using themMark Haines1-95/+18