summary refs log tree commit diff
path: root/synapse/replication/resource.py (unfollow)
Commit message (Expand)AuthorFilesLines
2016-04-01Use computed prev event idsErik Johnston4-13/+41
2016-04-01Remove state hack from _create_new_client_eventErik Johnston1-43/+0
2016-04-01Do checks for memberships before creating eventsErik Johnston3-98/+151
2016-04-01Assert that the step != 0Mark Haines1-0/+1
2016-04-01use google style doc stringsMark Haines1-11/+12
2016-04-01CommentErik Johnston1-1/+1
2016-04-01Add concurrently_execute functionErik Johnston4-75/+82
2016-04-01Rename direction to step, apply checks consistentlyMark Haines2-16/+16
2016-04-01Use a stream id generator for backfilled idsMark Haines11-61/+69
2016-04-01Filter rooms list before chunkingErik Johnston1-6/+12
2016-04-01Fix the invalidation of the names and aliases cacheMark Haines1-1/+1
2016-03-31Remove outlier parameter from compute_event_contextMark Haines3-11/+7
2016-03-31Move the check for backfilled outside the for loopMark Haines1-5/+5
2016-03-31Remove the is_new_state argument to persist event.Mark Haines3-56/+57
2016-03-31Split out RoomMemberHandlerErik Johnston3-603/+651
2016-03-31Line lengthErik Johnston1-1/+3
2016-03-31Use a namedtuple rather than tuple unpackingMark Haines2-12/+15
2016-03-31Don't ignore the obey overlay if the rule has an enabled attribute of FalseDavid Baker1-2/+3
2016-03-30spell out more packagesMatthew Hodgson1-8/+21
2016-03-30typoMatthew Hodgson1-1/+1
2016-03-30Add replication streams for ex outliers and current state resetsMark Haines3-2/+113
2016-03-30return the state_group for backfillMark Haines1-1/+2
2016-03-30Add a entry to current_state_resets table when the current state is resetMark Haines1-0/+9
2016-03-30Add a replication stream for state groupsMark Haines4-11/+91
2016-03-30Only forget room if you were in the roomErik Johnston1-1/+2
2016-03-30Remove spurious commentErik Johnston1-1/+0
2016-03-30Use a stream id generator to assign state group idsMark Haines4-50/+60
2016-03-30Bump version and changelogErik Johnston2-1/+6
2016-03-30Require user to have left room to forget roomErik Johnston2-6/+54
2016-03-29Add new authorNiklas Riekenbrauck1-2/+5
2016-03-29Add JWT supportNiklas Riekenbrauck4-1/+93
2016-03-24Fix typoMark Haines1-1/+1
2016-03-24Add a response cache for getting the public room listMark Haines1-1/+11
2016-03-24Deduplicate identical /sync requestsMark Haines3-1/+64
2016-03-24Never notify for member events. This fixes https://github.com/vector-im/vecto...David Baker1-20/+21
2016-03-23Bump version and changelog v0.14.0-rc2 github/release-v0.14.0 release-v0.14.0Erik Johnston2-1/+22
2016-03-23Simplify intern_dictErik Johnston1-17/+10
2016-03-23Don't bother interning keys that are already internedErik Johnston1-3/+1
2016-03-23Intern all the thingsErik Johnston8-45/+97
2016-03-23Intern sender, event_id and room_id in eventsErik Johnston1-0/+5
2016-03-23Intern type and state_key on eventsErik Johnston1-0/+7
2016-03-23String internErik Johnston2-3/+17
2016-03-23Comment about weird SQLErik Johnston1-1/+3
2016-03-23SQLite and postgres doesn't share a true literalErik Johnston1-1/+1
2016-03-23Ensure all old public rooms have aliasesErik Johnston2-4/+26
2016-03-23Ensure published rooms have public join rulesErik Johnston1-0/+7
2016-03-23CommentErik Johnston1-0/+3
2016-03-23Don't cache events in get_recent_events_for_roomErik Johnston1-14/+19
2016-03-23Don't cache events in get_current_state_for_keyErik Johnston2-9/+11
2016-03-23Don't require alias in public room list.Erik Johnston1-14/+13
2016-03-23Make get_invites return RoomsForUserErik Johnston2-7/+5
2016-03-23Reduce cache sizeErik Johnston1-1/+1
2016-03-22Key StateHandler._state_cache off of state groupsErik Johnston1-40/+21
2016-03-22Make LruCache use a dedicated _Node classErik Johnston1-32/+41
2016-03-22Make StateHandler._state_cache only store event_ids.Erik Johnston2-7/+42
2016-03-22Measure StateHandler._resolve_eventsErik Johnston1-38/+40
2016-03-22Bump get_unread_event_push_actions_by_room_for_user cacheErik Johnston1-1/+1
2016-03-22Bump get_aliases_for_room cacheErik Johnston1-1/+1
2016-03-22Use get_users_in_room to count the number of room members rather than using r...Mark Haines1-1/+3
2016-03-22Don't cache events in _state_group_cacheErik Johnston1-60/+48
2016-03-22Doc stringErik Johnston1-0/+6
2016-03-22Make stateGroupCache honour CACHE_SIZE_FACTORErik Johnston1-1/+7
2016-03-22an invalide is something else...Matthew Hodgson1-1/+1
2016-03-21Remove unused backfilled parameter from persist_eventMark Haines3-42/+19
2016-03-21Add published room list edit APIErik Johnston4-4/+116
2016-03-21remove unused current_state variable from on_receive_pduMark Haines1-2/+0
2016-03-18Catch exceptions from EDU handlingErik Johnston1-1/+6
2016-03-18Don't assume existence of event_id in __str__Erik Johnston1-1/+3
2016-03-18Dedupe requested event list in _get_eventsErik Johnston1-14/+12
2016-03-18Yield on EDU handlingErik Johnston1-3/+4
2016-03-17Check canonical alias event existsErik Johnston1-1/+2
2016-03-17Remove another unused function from presenceMark Haines1-4/+0
2016-03-17Update aliases event after deletionErik Johnston2-7/+48
2016-03-17Remove dead code left over from presence changesMark Haines4-108/+0
2016-03-17Add option to definitions.py to search for functions a function refers toMark Haines1-1/+22
2016-03-16remove debug loggingDavid Baker1-3/+0
2016-03-16Unused importDavid Baker1-1/+0
2016-03-16Make registration idempotent, part 2: be idempotent if the client specifies a...David Baker3-6/+42
2016-03-16pep8David Baker1-1/+2
2016-03-16time_msec()David Baker1-1/+1
2016-03-16string with symbols is a bit too symboly.David Baker1-1/+1
2016-03-16Replace other time.time().David Baker1-2/+1
2016-03-16Use hs get_clock instead of time.time()David Baker1-2/+2
2016-03-16take extra return val from check_auth in account tooDavid Baker1-1/+1
2016-03-16Fix testsDavid Baker1-4/+5
2016-03-16pep8 & remove debug loggingDavid Baker2-5/+6
2016-03-16Make registration idempotent: if you specify the same session, make it give y...David Baker2-13/+74
2016-03-16Clarify that we do have reset functionality via the ISRichard van der Hoff1-21/+20
2016-03-16Add a comment to offer a hint to an explanation for why we have a unique cons...Mark Haines1-0/+1
2016-03-16Password reset docs and scriptRichard van der Hoff3-1/+59
2016-03-15Fix a couple of errors when deleting pushersMark Haines1-2/+2
2016-03-15Hook up adding a pusher to the notifier for replication.Mark Haines2-0/+12
2016-03-15Add replication stream for pushersMark Haines6-18/+107
2016-03-15Remove needless PreserveLoggingContextErik Johnston1-5/+4
2016-03-15Persist rejection of invites over federationErik Johnston1-1/+17
2016-03-15English v0.14.0-rc1Erik Johnston1-1/+1
2016-03-15Bump version and changelogErik Johnston2-1/+40
2016-03-14Add config to create guest account on 3pid inviteErik Johnston2-25/+36
2016-03-14Return list, not generator.Erik Johnston1-3/+1
2016-03-14Fix regression where synapse checked whether push rules were valid JSON befor...Mark Haines2-6/+19
2016-03-11Thats not how transactions work.Erik Johnston1-13/+16
2016-03-11Use parse_json_object_from_request to parse JSON out of request bodiesMark Haines11-90/+49
2016-03-11Implement logoutErik Johnston3-14/+109
2016-03-11Fix SQL statementErik Johnston1-1/+1
2016-03-11more pep8David Baker1-1/+1
2016-03-11Make select more sensible when dseleting access tokens, rename pusher deletio...David Baker3-7/+5
2016-03-11Delete old, unused methods and rename new one to just be `user_delete_access_...David Baker2-16/+3
2016-03-11Dear PyCharm, please indent sensibly for me. Thx.David Baker2-3/+3
2016-03-11Fix cache invalidation so deleting access tokens (which we did when changing ...David Baker4-17/+34
2016-03-11Make key client send a Host headerErik Johnston1-0/+3
2016-03-10Store appservice ID on registerDaniel Wagner-Hall2-7/+38
2016-03-10Update users table in a batched mannerErik Johnston1-9/+14
2016-03-10Flake8 fixblide1-6/+6
2016-03-10Register endpoint returns refresh_tokenblide2-17/+26
2016-03-09Add commentErik Johnston1-0/+3
2016-03-09Return the correct token formErik Johnston1-1/+1
2016-03-09Use topological orders for initial sync timelineErik Johnston1-2/+2
2016-03-09Pin pysaml2 version to 3.xErik Johnston1-1/+1
2016-03-09Add a parse_json_object functionMark Haines11-121/+97
2016-03-09Ensure integer is an integerErik Johnston1-1/+1
2016-03-09Reinstate coverage checks for integ testsRichard van der Hoff2-2/+4
2016-03-09Specify synapse-directory for integ testsRichard van der Hoff2-2/+6
2016-03-08Only build py27 tox env for integ testsRichard van der Hoff2-2/+2
2016-03-08Use sytest build scripts, rather than reinventing the wheelRichard van der Hoff2-52/+7
2016-03-08Idempotent-ise schema update scriptDaniel Wagner-Hall1-1/+5
2016-03-08Fix relative imports so they work in both py3 and py27Mark Haines17-22/+22
2016-03-08pep8David Baker1-2/+5
2016-03-08Encode unicode objects given to post_urlencode* otherwise urllib.urlencode ch...David Baker1-2/+12
2016-03-07Use syntax that works on both py2.7 and py3Mark Haines8-10/+10
2016-03-07Fix testsDavid Baker3-20/+20
2016-03-07Send the user ID matching the guest access token, since there is no Matrix AP...David Baker2-2/+7
2016-03-04Send history visibility on boundary changesErik Johnston1-0/+26
2016-03-04Prefill from the correct streamMark Haines1-1/+1
2016-03-04prefill the push rules stream change cacheMark Haines1-2/+9
2016-03-04s/stream_ordering/event_stream_ordering/ in pushMark Haines3-27/+31
2016-03-04/FNARG/dMark Haines1-1/+0
2016-03-04Always include kicks and bans in full /syncErik Johnston1-3/+9
2016-03-04SpellingErik Johnston1-1/+1
2016-03-04Fix unit testsMark Haines1-2/+2
2016-03-04Hook up the push rules stream to account_data in /syncMark Haines4-69/+85
2016-03-04Add profile information to invitesErik Johnston3-3/+17
2016-03-04tests/utils: added room_invite_state_types to test configPatrik Oldsberg1-0/+1
2016-03-04config,handlers/_base: added homeserver config for what state is included in ...Patrik Oldsberg3-7/+44
2016-03-04Make sure we add all invited members before returning from createRoomRichard van der Hoff1-1/+1
2016-03-03jenkins-*.sh: set -xRichard van der Hoff4-4/+12
2016-03-03Pass whole requester to ratelimitingDaniel Wagner-Hall13-76/+124
2016