summary refs log tree commit diff
path: root/synapse (unfollow)
Commit message (Expand)AuthorFilesLines
2015-08-20Move token generation to auth handlerDaniel Wagner-Hall2-24/+31
2015-08-19Re-add whitespace around caveat operatorsDaniel Wagner-Hall2-8/+8
2015-08-19Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_usersErik Johnston3-12/+32
2015-08-19Switch to pymacaroons-pynaclDaniel Wagner-Hall1-1/+1
2015-08-19Remove an access token log lineErik Johnston1-1/+1
2015-08-19Fix regression where we incorrectly responded with a 200 to /loginErik Johnston1-1/+2
2015-08-18Remove padding space around caveat operatorsDaniel Wagner-Hall2-8/+8
2015-08-18Fix units in testDaniel Wagner-Hall1-1/+1
2015-08-18Remove newline because vertical whitespace makes mjark sadErik Johnston1-2/+1
2015-08-18Rejig the code to make it nicerErik Johnston1-3/+2
2015-08-18Bump size of get_presence_state cacheErik Johnston1-1/+1
2015-08-18Fix some formatting to use tuplesDaniel Wagner-Hall2-5/+5
2015-08-18Set request.authenticated_entity for application servicesErik Johnston1-0/+3
2015-08-18Remove accidentally added fileDaniel Wagner-Hall1-0/+0
2015-08-18Issue macaroons as opaque auth tokensDaniel Wagner-Hall6-6/+90
2015-08-18Rename unhelpful variable nameErik Johnston1-7/+2
2015-08-18Also check for presence of 'threadCallQueue' in reactorErik Johnston1-1/+8
2015-08-18Use more helpful variable namesErik Johnston1-3/+3
2015-08-18Ensure we never return a None event from _get_state_for_groupsErik Johnston1-3/+8
2015-08-18TypoErik Johnston1-1/+1
2015-08-18None checkErik Johnston1-0/+2
2015-08-18Don't assume @cachedList function returns keys for everythingErik Johnston1-1/+1
2015-08-18Reduce cache size from obscenely large to quite largeErik Johnston1-1/+1
2015-08-18CommentsErik Johnston1-4/+14
2015-08-18More helpful variable namesErik Johnston1-7/+7
2015-08-18Doc stringsErik Johnston1-0/+28
2015-08-18Remove debug try/catchErik Johnston1-47/+43
2015-08-17Add index receipts_linearized_room_streamErik Johnston2-1/+19
2015-08-17Remove unused importErik Johnston1-2/+0
2015-08-17Remove added unused methodsErik Johnston1-7/+0
2015-08-17Remember to invalidate cachesErik Johnston1-2/+8
2015-08-17Implement a batched presence_handler.get_state and use itErik Johnston3-14/+73
2015-08-17Add batched version of store.get_presence_stateErik Johnston1-1/+19
2015-08-17Fix bug where we were leaking None into state event listsErik Johnston1-2/+3
2015-08-14Fix pending_calls metric to not lieErik Johnston1-3/+18
2015-08-14Batch _get_linearized_receipts_for_roomsErik Johnston1-15/+64
2015-08-13Add a few strategic new lines to break up the on_query_client_keys and on_cla...Mark Haines1-0/+6
2015-08-13Remove pointless mapErik Johnston1-7/+3
2015-08-13Remove some vertical spaceErik Johnston1-36/+9
2015-08-13Replace list comprehensionErik Johnston1-8/+3
2015-08-13Add metrics to the receipts cacheErik Johnston2-0/+13
2015-08-13Re-enable receiptsErik Johnston1-2/+0
2015-08-13Add max-line-length to the flake8 section of setup.cfgMark Haines1-0/+3
2015-08-13PEP8Erik Johnston1-1/+0
2015-08-13Don't time getDelayedCallsErik Johnston1-1/+1
2015-08-13Add some metrics about the reactorErik Johnston1-0/+29
2015-08-12Depend on Twisted>=15.1 rather than pining to a particular versionMark Haines2-2/+2
2015-08-12CommentErik Johnston1-1/+2
2015-08-12Explain why we're prefilling dict with NonesErik Johnston1-0/+4
2015-08-12Better variable nameErik Johnston1-5/+5
2015-08-12Split _get_state_for_group_from_cache into twoErik Johnston1-32/+53
2015-08-12Fix _filter_events_for_clientErik Johnston2-6/+2
2015-08-12enable registration in the demo serversMark Haines1-1/+2
2015-08-12DocstringErik Johnston1-0/+27
2015-08-12Merge password checking implementationsDaniel Wagner-Hall1-20/+15
2015-08-12Simplify staggered deferred listsErik Johnston1-2/+2
2015-08-12Use list comprehension instead of filterErik Johnston2-20/+6
2015-08-12Simplify LoginHander and AuthHandlerDaniel Wagner-Hall9-131/+93
2015-08-12Fix the --generate-keys option. Make it do the same thing as --generate-confi...Mark Haines1-45/+36
2015-08-12Wire up the dictionarycache to the metricsErik Johnston3-45/+41
2015-08-12Fix the cleanup script to use the right $DIRMark Haines1-2/+2
2015-08-11Move all the caches into their own package, synapse.util.cachesErik Johnston23-352/+408
2015-08-11Remove call to recently removed function in mockDaniel Wagner-Hall1-2/+2
2015-08-11Remove call to recently removed function in mockDaniel Wagner-Hall1-2/+2
2015-08-11Add missing space because linterDaniel Wagner-Hall1-1/+1
2015-08-11Minor docs cleanupDaniel Wagner-Hall2-3/+9
2015-08-11Remove redundant if-guardDaniel Wagner-Hall1-13/+12
2015-08-11CommentsErik Johnston2-3/+13
2015-08-11CommentErik Johnston1-0/+2
2015-08-11DocsErik Johnston1-0/+9
2015-08-11Remove debug loggersErik Johnston2-6/+0
2015-08-11Fix application of ACLsErik Johnston4-17/+33
2015-08-11Fix state cacheErik Johnston1-36/+49
2015-08-10Clean up StateStoreErik Johnston1-62/+11
2015-08-10Remove unused functionErik Johnston1-7/+0
2015-08-10CommentsErik Johnston1-0/+6
2015-08-10CommentsErik Johnston1-0/+3
2015-08-10Use TypeError instead of ValueError and give a nicer error mesasgeMark Haines1-1/+3
2015-08-10Rename keyargs to args in CacheDescriptorErik Johnston1-5/+5
2015-08-10Rename keyargs to args in CacheErik Johnston1-9/+9
2015-08-10Do bounds checkErik Johnston1-1/+4
2015-08-10Line lengthErik Johnston1-1/+2
2015-08-07s/observed/observer/Erik Johnston1-3/+3
2015-08-07Propogate stale cache errors to calling functionsErik Johnston1-3/+4
2015-08-07Remove unnecessary cacheErik Johnston1-2/+1
2015-08-07Change Cache to not use *args in its interfaceErik Johnston11-67/+69
2015-08-07Batch up various DB requests for event -> stateErik Johnston1-77/+142
2015-08-07Implement a CacheListDescriptorErik Johnston1-0/+106
2015-08-07Don't be too enthusiatic with defer.gatherResultsErik Johnston1-4/+8
2015-08-07Don't complain about extra .pyc files we find while hunting for database schemasPaul "LeoNerd" Evans1-0/+5
2015-08-07Add a --generate-keys optionPaul "LeoNerd" Evans1-0/+9
2015-08-07Only print the pidfile path on startup if requested by a commandline flagPaul "LeoNerd" Evans2-1/+9
2015-08-07Cache get_recent_events_for_roomErik Johnston1-2/+2
2015-08-07Remove unncessary cacheErik Johnston1-1/+0
2015-08-07Change Cache to not use *args in its interfaceErik Johnston11-87/+73
2015-08-07Store absence of state in cacheErik Johnston1-6/+16
2015-08-06hacky support for video for FS CC DDMatthew Hodgson1-3/+0
2015-08-06hacky support for video for FS CC DDMatthew Hodgson1-15/+25
2015-08-06DocsErik Johnston1-0/+3
2015-08-06Remove failed deferreds from cacheErik Johnston1-1/+7
2015-08-06Re-implement DEBUG_CACHES flagErik Johnston1-2/+17
2015-08-06Make @cached cache deferreds rather than the deferreds' valuesErik Johnston3-19/+22
2015-08-05Up the cache size for 'get_joined_hosts_for_room' and 'get_users_in_room'Erik Johnston1-2/+2
2015-08-05Use LRU cache by defaultErik Johnston1-3/+3
2015-08-05Use dictionary cache to do group -> state fetchingErik Johnston7-110/+195
2015-08-04Move DictionaryCacheErik Johnston2-1/+1
2015-08-04Add basic dictionary cacheErik Johnston2-0/+195
2015-08-04Add commentErik Johnston1-0/+15
2015-08-04Speed up event filtering (for ACL) logicErik Johnston5-43/+102
2015-08-03Don't try & check the username if we don't have one (which we won't if it's b...David Baker1-1/+2
2015-08-03Add vector.im as trusted ID serverDavid Baker1-1/+1
2015-07-29Use the same reg paths as register v1 for ASes.Kegan Dougal2-5/+9
2015-07-29improve OS X instructions and remove all the leading $'s to make it easier to...Matthew Hodgson1-45/+47
2015-07-28Fix v2_alpha registration. Add unit tests.Kegan Dougal3-55/+204
2015-07-27Add support for using keyword arguments with cached functionsErik Johnston6-23/+45
2015-07-24Get the end-to-end key federation workingMark Haines4-21/+17
2015-07-23Add federation support for end-to-end key requestsMark Haines5-30/+231
2015-07-23Generate local thumbnails on a threadErik Johnston1-34/+43
2015-07-23Pick larger than desired thumbnail for 'crop'Erik Johnston1-1/+2
2015-07-22Disable receipts for nowMatrix1-0/+2
2015-07-21Query for all the ones we were asked about, not just the last...David Baker1-1/+1
2015-07-21Dodesn't seem to make any difference: guess it does work with the object refe...David Baker1-1/+0
2015-07-21I think this was what was intended...David Baker1-0/+1
2015-07-20s/take/claim/ for end to end key APIsMark Haines2-8/+8
2015-07-20Improve namingDaniel Wagner-Hall1-2/+2
2015-07-20Remove semicolon.Kegan Dougal1-1/+1
2015-07-20Parse the ID given to /invite|ban|kick to make sure it looks like a user ID.Kegan Dougal1-0/+2
2015-07-18Up default cache size for _RoomStreamChangeCacheMatrix1-1/+1
2015-07-18Don't do any database hits in receipt handling if from_key == to_keyMatrix1-0/+3
2015-07-16Implement specifying custom initial state for /createRoomErik Johnston1-40/+60
2015-07-15pep8 + debug lineDavid Baker1-6/+8
2015-07-15Add back in support for remembering parameters submitted to a user-interactiv...David Baker2-4/+13
2015-07-14bump up image quality a bit more as it looks crapMatthew Hodgson1-1/+1
2015-07-14s/everyone_ops/original_invitees_have_ops/Erik Johnston1-3/+3
2015-07-14Close, but no cigar.David Baker1-2/+2
2015-07-14Capitalize contantsErik Johnston2-6/+6
2015-07-14DocsErik Johnston2-6/+36
2015-07-13Implement presets at room creationErik Johnston2-22/+65
2015-07-13CommentsErik Johnston2-4/+23
2015-07-10Remove commented out codeErik Johnston1-14/+0
2015-07-10Sanitize power level checksErik Johnston1-15/+21
2015-07-10You shouldn't be able to ban/kick users with higher power levelsErik Johnston1-2/+5
2015-07-10Uniquely name unique constraintErik Johnston1-2/+2
2015-07-10Assume that each device for a user has only one of each type of keyMark Haines1-3/+3
2015-07-10Small tweaks to SAML2 configuration.Erik Johnston2-22/+34
2015-07-10Add Muthu Subramanian to AUTHORSErik Johnston1-0/+3
2015-07-09Add commentErik Johnston1-0/+4
2015-07-09Handle error slightly betterErik Johnston1-2/+2
2015-07-09Remove spurious commentErik Johnston1-2/+0
2015-07-09Don't bother with a timeout for one time keys on the server.Mark Haines3-33/+13
2015-07-09Integer timestampsErik Johnston1-1/+1
2015-07-09We don't want semicolons.Erik Johnston1-1/+1
2015-07-09Change format of receipts to allow inclusion of dataErik Johnston3-37/+42
2015-07-09Make SAML2 optional and add some references/commentsMuthu Subramanian2-4/+23
2015-07-09code beautifyMuthu Subramanian1-9/+4
2015-07-09remove the tls_certificate_chain_path param and simply support tls_certificat...Matthew Hodgson2-24/+10
2015-07-09document tls_certificate_chain_path more clearlyMatthew Hodgson1-0/+5
2015-07-08oops, context.tls_certificate_chain_file() expects a file, not a certificate.Matthew Hodgson2-6/+3
2015-07-08typoMatthew Hodgson1-1/+1
2015-07-08*cough*Matthew Hodgson1-2/+3
2015-07-08add new optional config for tls_certificate_chain_path for folks with interme...Matthew Hodgson2-3/+19
2015-07-08typoMatthew Hodgson1-2/+2
2015-07-08Only remove one time keys when new one time keys are addedMark Haines1-7/+7
2015-07-08Add blist to dependenciesErik Johnston1-0/+1
2015-07-08Add a cache to fetching of receipt streamsErik Johnston2-27/+96
2015-07-08Split receipt events up into one per roomErik Johnston1-30/+21
2015-07-08code beautifyMuthu Subramanian3-2/+3
2015-07-08code beautifyMuthu Subramanian1-10/+23
2015-07-08Integrate SAML2 basic authentication - uses pysaml2Muthu Subramanian5-4/+122
2015-07-08Hook up receipts to v1 initialSyncErik Johnston3-13/+77
2015-07-07Fix test.Erik Johnston1-1/+11
2015-07-07Wire together receipts and the notifer/federationErik Johnston4-33/+126
2015-07-07Fix various typosErik Johnston4-8/+16
2015-07-07Add a ReceiptServletErik Johnston2-1/+59
2015-07-06Add client API for uploading and querying keys for end to end encryptionMark Haines2-1/+290
2015-07-06Add store for client end to end keysMark Haines3-1/+171
2015-07-06Don't 500 if a group is missing from the regexMark Haines1-1/+1
2015-07-06Add m.room.history_visibility to newly created rooms' m.room.power_levelsErik Johnston2-0/+2
2015-07-06Rename key and values for m.room.history_visibility. Support 'invited' valueErik Johnston4-24/+61
2015-07-06Don't explode if we don't recognize one of the event_ids in the backfill requestErik Johnston1-2/+4
2015-07-03Filter and redact events that the other server doesn't have permission to see...Erik Johnston1-0/+44
2015-07-03Respect m.room.history_visibility in v2_alpha sync APIErik Johnston1-0/+33
2015-07-03If user supplies filename in URL when downloading from media repo, use that n...Erik Johnston3-9/+14
2015-07-03Add m.room.history_visibility to list of auth eventsErik Johnston2-1/+3
2015-07-02Make v1 initial syncs respect room history ACLErik Johnston1-17/+34
2015-07-02