summary refs log tree commit diff
path: root/synapse/handlers (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add remote reoom cacheErik Johnston2016-09-161-2/+23
* Support filtering remote room listsErik Johnston2016-09-161-3/+9
* Filter remote rooms lists locallyErik Johnston2016-09-161-10/+24
* Don't cache searched in /publicRoomsErik Johnston2016-09-161-1/+5
* Add very basic filter API to /publicRoomsErik Johnston2016-09-151-5/+18
* Change the way we calculate new_limit in /publicRooms and add POST APIErik Johnston2016-09-151-15/+33
* Merge pull request #1121 from matrix-org/erikj/public_room_paginateErik Johnston2016-09-151-84/+196
|\
| * Base public room list off of public_rooms streamErik Johnston2016-09-151-7/+27
| * Pass since/from parameters over federationErik Johnston2016-09-151-29/+26
| * Allow paginating both forwards and backwardsErik Johnston2016-09-151-21/+50
| * Remove support for aggregate room listsErik Johnston2016-09-151-55/+0
| * Accept optional token to public room listErik Johnston2016-09-151-7/+75
| * Calculate the public room list from a stream_orderingErik Johnston2016-09-141-3/+40
| * Refactor public rooms to not pull out the full state for each roomErik Johnston2016-09-141-14/+30
* | Merge pull request #1117 from matrix-org/erikj/fix_stateErik Johnston2016-09-141-0/+4
|\ \ | |/ |/|
| * Ensure we don't mutate state cache entriesErik Johnston2016-09-141-0/+4
* | Move RoomListHandler into a separate fileErik Johnston2016-09-142-158/+185
|/
* Merge pull request #1111 from matrix-org/matthew/device-idsMatthew Hodgson2016-09-141-1/+1
|\
| * make device IDs more useful for human disambiguationMatthew Hodgson2016-09-131-1/+1
* | Merge pull request #1116 from matrix-org/paul/tiny-fixesPaul Evans2016-09-131-2/+2
|\ \
| * | Fix typo "persiting"Paul "LeoNerd" Evans2016-09-131-2/+2
* | | Limit how often we ask for keys from dead serversMark Haines2016-09-131-11/+30
|/ /
* | Move the E2E key handling into the e2e handlerMark Haines2016-09-131-3/+102
* | Merge pull request #1110 from matrix-org/markjh/e2e_timeoutMark Haines2016-09-131-21/+43
|\ \
| * | Add a timeout parameter for end2end key queries.Mark Haines2016-09-121-21/+43
* | | Add is_direct param to /createRoomErik Johnston2016-09-121-0/+6
|/ /
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/batch_edusErik Johnston2016-09-091-2/+31
|\|
| * Merge pull request #1091 from matrix-org/paul/third-party-lookupPaul Evans2016-09-091-2/+31
| |\
| | * Reject malformed 3PE query metadata results earlier in AS API handling codePaul "LeoNerd" Evans2016-09-091-9/+5
| | * Minor fixes from PR commentsPaul "LeoNerd" Evans2016-09-091-2/+2
| | * Efficiency fix for lookups of a single protocolPaul "LeoNerd" Evans2016-09-091-1/+4
| | * Don't corrupt shared cache on subsequent protocol requestsPaul "LeoNerd" Evans2016-09-091-0/+2
| | * Collect up all the "instances" lists of individual AS protocol results into o...Paul "LeoNerd" Evans2016-09-081-1/+29
* | | Clobber EDUs in send queueErik Johnston2016-09-093-15/+7
|/ /
* / Deduplicate presence in _update_statesErik Johnston2016-09-091-0/+6
|/
* Merge pull request #1082 from matrix-org/erikj/remote_public_roomsErik Johnston2016-09-081-0/+10
|\
| * Add server param to /publicRoomsErik Johnston2016-09-081-0/+10
* | Check the user_id for presence/typing matches originErik Johnston2016-09-082-1/+15
* | Merge branch 'develop' into markjh/direct_to_device_federationMark Haines2016-09-083-54/+35
|\|
| * Record counts of state changesErik Johnston2016-09-061-0/+4
| * Short circuit if presence is the sameErik Johnston2016-09-061-0/+3
| * Fiddle should_notify to better report statsErik Johnston2016-09-061-12/+7
| * Merge pull request #1070 from matrix-org/erikj/presence_statsErik Johnston2016-09-051-0/+8
| |\
| | * Record why we have chosen to notifyErik Johnston2016-09-051-0/+8
| * | Use get_joined_users_from_context instead of manually looking up hostsErik Johnston2016-09-052-46/+17
| |/
* | Add a new method to enqueue the device messages rather than sending a dummy EDUMark Haines2016-09-071-7/+3
* | Send device messages over federationMark Haines2016-09-061-0/+121
|/
* Merge pull request #1067 from matrix-org/markjh/idempotentMark Haines2016-09-051-0/+6
|\
| * Fix membership changes to be idempotentMark Haines2016-09-021-0/+6
* | Merge pull request #1066 from matrix-org/markjh/direct_to_device_lowerboundMark Haines2016-09-021-1/+1
|\ \
| * | Only return new device messages in /syncMark Haines2016-09-021-1/+1
| |/
* | Merge pull request #1064 from matrix-org/erikj/on_receive_checkErik Johnston2016-09-021-6/+18
|\ \
| * | Comment on when auth chain and state are NoneErik Johnston2016-09-021-0/+3
| * | CommentErik Johnston2016-09-021-0/+3
| * | Only check if host is in room if we have state and auth_chainErik Johnston2016-09-021-6/+12
| |/
* | DocstringsErik Johnston2016-09-021-0/+4
* | Only pull out IDs from DB for /state_ids/ requestErik Johnston2016-09-021-0/+26
|/
* Fix typo in log lineErik Johnston2016-09-011-1/+1
* Correctly handle the difference between prev and current stateErik Johnston2016-08-313-17/+30
* Merge pull request #1055 from matrix-org/erikj/occaisonally_persistErik Johnston2016-08-301-0/+28
|\
| * Check correct variableErik Johnston2016-08-301-1/+1
| * Occaisonally persist unpersisted presence updatesErik Johnston2016-08-301-0/+28
* | Don't notify for online -> online transitions.Erik Johnston2016-08-301-1/+6
|/
* Comment about message deletionErik Johnston2016-08-301-0/+3
* Fix checkErik Johnston2016-08-301-2/+1
* Noop get_new_messages_for_device if token hasn't changedErik Johnston2016-08-301-9/+12
* Merge pull request #1049 from matrix-org/erikj/presence_users_in_roomErik Johnston2016-08-306-13/+28
|\
| * Use state handler instead of get_users_in_room/get_joined_hostsErik Johnston2016-08-266-13/+28
* | Merge remote-tracking branch 'origin/develop' into markjh/direct_to_deviceMark Haines2016-08-265-167/+309
|\|
| * Measure _filter_events_for_serverErik Johnston2016-08-261-0/+2
| * Don't pull out full state for _filter_events_for_serverErik Johnston2016-08-261-1/+25
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_idsErik Johnston2016-08-262-1/+13
| |\
| | * Merge pull request #1043 from matrix-org/erikj/backfill_fixErik Johnston2016-08-261-1/+3
| | |\
| | | * Fix None check in backfillErik Johnston2016-08-251-1/+3
| * | | Make sync not pull out full stateErik Johnston2016-08-251-34/+41
| * | | Replace context.current_state with context.current_state_idsErik Johnston2016-08-254-131/+226
| * | | Pull out event ids rather than full events for stateErik Johnston2016-08-251-0/+12
| | |/ | |/|
* | | Merge branch 'develop' into markjh/direct_to_deviceMark Haines2016-08-254-36/+57
|\ \ \ | | |/ | |/|
| * | Merge pull request #1041 from matrix-org/paul/third-party-lookupPaul Evans2016-08-251-0/+10
| |\ \ | | |/ | |/|
| | * Don't need toplevel cache on 3PE lookup metadata any morePaul "LeoNerd" Evans2016-08-251-8/+0
| | * Actually query over AS API for 3PE lookup metadataPaul "LeoNerd" Evans2016-08-251-13/+1
| | * Move static knowledge of protocol metadata into AS handler; cache the resultPaul "LeoNerd" Evans2016-08-241-2/+24
| | * Initial hack at the 3PN protocols metadata lookup APIPaul "LeoNerd" Evans2016-08-241-0/+8
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/preserve_l...Erik Johnston2016-08-241-2/+2
| |\|
| * | Preserve some logcontextsErik Johnston2016-08-244-36/+47
* | | Add store-and-forward direct-to-device messagingMark Haines2016-08-251-1/+42
| |/ |/|
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/paginationErik Johnston2016-08-241-2/+12
|\|
| * Pass through user-supplied content in /join/$room_idKegan Dougal2016-08-231-2/+12
* | Add None checks to backfillErik Johnston2016-08-241-2/+2
|/
* defer.returnValue must not be called within MeasureErik Johnston2016-08-191-7/+7
* Merge pull request #1026 from matrix-org/paul/thirdpartylookupPaul Evans2016-08-181-0/+24
|\
| * Move validation logic for AS 3PE query response into ApplicationServiceApi cl...Paul "LeoNerd" Evans2016-08-181-44/+2
| * More warnings about invalid results from AS 3PE queryPaul "LeoNerd" Evans2016-08-181-2/+7
| * Avoid so much copypasta between 3PU and 3PL query by unifying around a ThirdP...Paul "LeoNerd" Evans2016-08-181-26/+9
| * Minor syntax neateningsPaul "LeoNerd" Evans2016-08-181-14/+8
| * Appease pep8Paul "LeoNerd" Evans2016-08-181-0/+2
| * Copypasta the 3PU support code to also do 3PLPaul "LeoNerd" Evans2016-08-181-3/+30
| * Log a warning if an AS yields an invalid 3PU lookup resultPaul "LeoNerd" Evans2016-08-181-1/+6
| * Scattergather the call out to ASes; validate received resultsPaul "LeoNerd" Evans2016-08-181-7/+34
| * Filter 3PU lookups by only ASes that declare knowledge of that protocolPaul "LeoNerd" Evans2016-08-181-2/+4
| * Merge remote-tracking branch 'origin/develop' into paul/thirdpartylookupPaul "LeoNerd" Evans2016-08-185-62/+82
| |\
| * | Extend individual list results into the main return list, don't appendPaul "LeoNerd" Evans2016-08-181-1/+1
| * | Thread 3PU lookup through as far as the AS API object; which currently noöps itPaul "LeoNerd" Evans2016-08-171-0/+21
* | | Add appservice workerErik Johnston2016-08-181-38/+51
| |/ |/|
* | Make AppserviceHandler stream events from databaseErik Johnston2016-08-181-21/+44
* | Make notify_interested_services fasterErik Johnston2016-08-171-23/+8
* | Measure notify_interested_servicesErik Johnston2016-08-171-19/+22
* | Merge pull request #1012 from matrix-org/erikj/limit_backfill_uriErik Johnston2016-08-161-4/+5
|\ \
| * | Limit number of extremeties in backfill requestErik Johnston2016-08-161-4/+5
* | | Refactor user_delete_access_tokens. Invalidate get_user_by_access_token to sl...Erik Johnston2016-08-151-3/+3
|/ /
* | Merge pull request #1009 from matrix-org/erikj/event_splitErik Johnston2016-08-152-11/+19
|\ \ | |/ |/|
| * Make synchrotron accept /eventsErik Johnston2016-08-122-11/+19
* | Log the value which is observed in the first place.Daniel Ehlers2016-08-141-1/+1
* | Fix AttributeError when bind_dn is not defined.Daniel Ehlers2016-08-141-1/+1
* | Only process one local membership event per room at a timeErik Johnston2016-08-121-1/+1
|/
* Merge pull request #997 from Half-Shot/developErik Johnston2016-08-111-3/+6
|\
| * Don't change status_msg on /syncWill Hunt2016-08-101-3/+6
* | Also check if server is in the roomErik Johnston2016-08-101-2/+7
* | Correctly auth /event/ requestsErik Johnston2016-08-101-5/+6
* | Only resign our own eventsErik Johnston2016-08-101-9/+10
|/
* /login: Respond with a 403 when we get an invalid m.login.tokenRichard van der Hoff2016-08-091-3/+3
* Fix login with m.login.tokenRichard van der Hoff2016-08-081-13/+4
* Fix backfill auth eventsErik Johnston2016-08-051-21/+50
* keys/query: Omit device displayname if nullRichard van der Hoff2016-08-041-3/+4
* Include device name in /keys/query responseRichard van der Hoff2016-08-031-3/+8
* keys/query: return all users which were asked forRichard van der Hoff2016-08-031-3/+6
* Merge branch 'rav/null_default_device_displayname' into developRichard van der Hoff2016-08-031-1/+1
|\
| * PEP8Richard van der Hoff2016-08-031-1/+1
| * Default device_display_name to nullRichard van der Hoff2016-08-031-1/+1
* | E2eKeysHandler: minor tweaksRichard van der Hoff2016-08-031-5/+3
* | Merge branch 'develop' into rav/refactor_device_queryMark Haines2016-08-033-9/+4
|\|
| * Merge pull request #940 from matrix-org/erikj/fed_state_cacheErik Johnston2016-08-023-9/+4
| |\
| | * Cache federation state responsesErik Johnston2016-07-213-9/+4
* | | E2E keys: Make federation query share code with client queryRichard van der Hoff2016-08-021-25/+90
* | | Move e2e query logic into a handlerRichard van der Hoff2016-08-011-0/+67
|/ /
* | Merge pull request #958 from matrix-org/paul/SYN-738Paul Evans2016-07-291-0/+7
|\ \
| * | Forbid non-ASes from registering users whose names begin with '_' (SYN-738)Paul "LeoNerd" Evans2016-07-271-0/+7
* | | Mention that func will fetch auth eventsErik Johnston2016-07-291-0/+2
* | | Update docstringErik Johnston2016-07-291-0/+6
* | | Handle the case of missing auth events when joining a roomErik Johnston2016-07-281-4/+23
* | | Delete e2e keys on device deleteRichard van der Hoff2016-07-271-0/+4
|/ /
* | Add `create_requester` functionRichard van der Hoff2016-07-264-29/+32
* | Delete refresh tokens when deleting devicesRichard van der Hoff2016-07-261-2/+4
* | Implement updating devicesRichard van der Hoff2016-07-261-0/+24
* | Implement deleting devicesRichard van der Hoff2016-07-262-3/+46
* | Use get to avoid KeyErrorsDavid Baker2016-07-221-1/+1
* | Log the hostname the reCAPTCHA was completed onDavid Baker2016-07-221-2/+11
* | make /devices return a listRichard van der Hoff2016-07-211-5/+5
* | Fix PEP8 errorsRichard van der Hoff2016-07-211-1/+1
* | Implement GET /device/{deviceId}Richard van der Hoff2016-07-211-9/+37
* | GET /devices endpointRichard van der Hoff2016-07-201-0/+27
|/
* Merge pull request #935 from matrix-org/erikj/backfill_notifsErik Johnston2016-07-201-5/+6
|\
| * Don't notify pusher pool for backfilled eventsErik Johnston2016-07-201-5/+6
* | Merge pull request #933 from matrix-org/rav/type_annotationsRichard van der Hoff2016-07-202-0/+8
|\ \
| * | Type annotationsRichard van der Hoff2016-07-192-0/+8
* | | Merge pull request #932 from matrix-org/rav/register_refactorDavid Baker2016-07-201-5/+8
|\ \ \ | |_|/ |/| |
| * | Further registration refactoringRichard van der Hoff2016-07-191-5/+8
| |/
* | Merge pull request #922 from matrix-org/erikj/file_api2Erik Johnston2016-07-201-4/+12
|\ \ | |/ |/|
| * Add filter param to /messages APIErik Johnston2016-07-141-4/+12
* | Merge pull request #929 from matrix-org/rav/support_deviceid_in_loginRichard van der Hoff2016-07-192-8/+82
|\ \
| * | Add device_id support to /loginRichard van der Hoff2016-07-182-8/+82
* | | Summary lineMark Haines2016-07-191-2/+1
* | | Update docstring on Handlers.Mark Haines2016-07-191-3/+15
|/ /
* | Refactor login flowRichard van der Hoff2016-07-181-47/+59
* | Fix a doc-commentRichard van der Hoff2016-07-181-1/+1
* | Merge pull request #919 from matrix-org/erikj/auth_fixErik Johnston2016-07-151-2/+6
|\ \
| * | CommentErik Johnston2016-07-151-0/+4
| * | Check sender signed eventErik Johnston2016-07-141-2/+2
| |/
* / Bug fix: expire invalid access tokensNegar Fazeli2016-07-132-5/+6
|/
* Merge branch 'erikj/shared_secret' into erikj/test2Erik Johnston2016-07-063-17/+34
|\
| * Add an admin option to shared secret registrationErik Johnston2016-07-051-1/+3
| * Merge pull request #904 from matrix-org/dbkr/register_email_no_untrusted_id_s...David Baker2016-07-051-14/+27
| |\
| | * requestToken updateDavid Baker2016-06-301-14/+27
| * | Fix password configKent Shikama2016-07-051-2/+2
| * | Fix pep8Kent Shikama2016-07-051-1/+2
| * | Add pepper to password hashingKent Shikama2016-07-051-2/+3
* | | Add ReadWriteLock for pagination and history pruneErik Johnston2016-07-051-34/+36
* | | Add purge_history APIErik Johnston2016-07-052-1/+14
|/ /
* | Fix style violationsKent Shikama2016-07-041-1/+2
* | Optionally include password hash in createUser endpointKent Shikama2016-07-031-2/+2
|/
* Rework ldap integration with ldap3Martin Weinelt2016-06-221-33/+170
* Add a comment on why we don't create a profile for upgrading usersMark Haines2016-06-171-0/+1
* Remove registered_users from the distributor.Mark Haines2016-06-172-20/+10
* Only re-sign our own eventsErik Johnston2016-06-171-6/+9
* Fix TypeError in call to bcrypt.hashpwSalvatore LaMendola2016-06-161-1/+1
* Correctly mark backfilled events as backfilledErik Johnston2016-06-151-14/+16
* Fix a bug caused by a change in auth_handler functionNegar Fazeli2016-06-081-2/+2
* Pull full state for each room all at onceErik Johnston2016-06-081-16/+16
* Don't hit DB for noop replications queriesErik Johnston2016-06-081-0/+3
* Remove dead code.Mark Haines2016-06-071-13/+0
* .values() returns list of setsErik Johnston2016-06-061-1/+2
* Fix typosErik Johnston2016-06-061-32/+36
* Fire after 30s not 8hErik Johnston2016-06-061-1/+1
* Merge pull request #832 from matrix-org/erikj/presence_coountErik Johnston2016-06-031-5/+9
|\
| * Change metric styleErik Johnston2016-06-031-5/+4
| * Presence metrics. Change def of small deltaErik Johnston2016-06-031-5/+10
* | Fix typoErik Johnston2016-06-031-1/+1
|/
* Merge pull request #829 from matrix-org/erikj/poke_notifierErik Johnston2016-06-031-4/+7
|\
| * Poke notifier on next reactor tickErik Johnston2016-06-031-4/+7
* | Load push rules in storage layer, so that they get cachedErik Johnston2016-06-031-3/+2
|/
* Merge remote-tracking branch 'origin/dbkr/email_notif_string_fmt_error' into ...David Baker2016-06-021-28/+36
|\
| * Store the typing users as user_id strings. (#819)Mark Haines2016-06-021-28/+36
* | Merge remote-tracking branch 'origin/develop' into dbkr/email_unsubscribeDavid Baker2016-06-022-550/+716
|\|
| * Deduplicate presence entries in sync (#818)Mark Haines2016-06-021-0/+3
| * Allow external processes to mark a user as syncing. (#812)Mark Haines2016-06-021-13/+106
| * Merge pull request #817 from matrix-org/dbkr/split_out_auth_handlerDavid Baker2016-06-022-3/+1
| |\
| * \ Merge pull request #800 from matrix-org/erikj/sync_refactorErik Johnston2016-06-021-537/+607
| |\ \
| | * | Change short circuit pathErik Johnston2016-05-241-16/+26
| | * | Don't send down all ephemeral eventsErik Johnston2016-05-241-1/+3
| | * | Only work out newly_joined_users for incremental syncErik Johnston2016-05-241-6/+9
| | * | Only include non-offline presence in initial syncErik Johnston2016-05-241-0/+3
| | * | Spell builder correctlyErik Johnston2016-05-241-63/+63
| | * | Inline function. Make load_filtered_recents privateErik Johnston2016-05-241-17/+7
| | * | Add commentsErik Johnston2016-05-241-7/+105
| | * | Shuffle things roomErik Johnston2016-05-241-37/+33
| | * | Add back concurrently_executeErik Johnston2016-05-231-25/+9
| | * | Refactor SyncHandlerErik Johnston2016-05-231-497/+481
* | | | Merge branch 'dbkr/split_out_auth_handler' into dbkr/email_unsubscribeDavid Baker2016-06-023-4/+2
|\ \ \ \ | | |_|/ | |/| |
| * | | Split out the auth handlerDavid Baker2016-06-022-3/+1
| |/ /
| * | Fix room list spideringDavid Baker2016-06-011-1/+1
* | | Email unsubscribing that may in theory, workDavid Baker2016-06-021-0/+5
|/ /
* | Merge remote-tracking branch 'origin/develop' into dbkr/room_list_spiderDavid Baker2016-06-013-22/+7
|\ \
| * | Move the AS handler out of the Handlers object.Mark Haines2016-05-313-22/+7
* | | Add cache to remote room listsDavid Baker2016-05-311-4/+30
* | | Basic, un-cached support for secondary_directory_serversDavid Baker2016-05-311-1/+32
|/ /
* | Split out the room list handlerDavid Baker2016-05-311-2/+1
* | Send down correct error response if user not foundErik Johnston2016-05-271-2/+7
* | Fix set profile error with Requester.Negi Fazeli2016-05-231-4/+5
|/
* Move typing handler out of the Handlers objectMark Haines2016-05-172-20/+15
* Merge remote-tracking branch 'origin/develop' into markjh/liberate_sync_handlerMark Haines2016-05-171-15/+0
|\
| * Remove unused get_joined_rooms_for_userMark Haines2016-05-171-15/+0
| * Merge branch 'develop' into markjh/member_cleanupMark Haines2016-05-175-25/+25
| |\
| | * Merge pull request #787 from matrix-org/markjh/liberate_presence_handlerMark Haines2016-05-175-25/+25
| | |\
* | | | Move SyncHandler out of the Handlers objectMark Haines2016-05-162-7/+5
* | | | Merge branch 'markjh/liberate_presence_handler' into markjh/liberate_sync_han...Mark Haines2016-05-165-25/+25
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Don't inherit PresenceHandler from BaseHandler, remove references to self.hs ...Mark Haines2016-05-161-19/+21
| * | Move the presence handler out of the Handlers objectMark Haines2016-05-165-7/+5
* | | Remove get_joined_rooms_for_user from RoomMemberHandlerMark Haines2016-05-163-11/+4
* | | Replaces calls to fetch_room_distributions_into with get_joined_hosts_for_roomMark Haines2016-05-163-67/+27
| |/ |/|
* | Spell "domain" correctlyMark Haines2016-05-163-8/+8
|/
* Merge pull request #741 from negzi/create_user_with_expiryErik Johnston2016-05-132-2/+55
|\
| * Create user with expiryNegi Fazeli2016-05-132-2/+55
* | missed a spotMark Haines2016-05-121-1/+1
* | move filter_events_for_client out of base handlerMark Haines2016-05-115-204/+29
* | Shuffle when we get the signing_key attribute.Mark Haines2016-05-111-2/+2
* | Merge pull request #775 from matrix-org/erikj/password_hashErik Johnston2016-05-111-1/+4
|\ \
| * | Correctly handle NULL password hashes from the databaseErik Johnston2016-05-111-1/+4
| |/
* | Fix typoMark Haines2016-05-111-1/+1
* | Move _create_new_client_event and handle_new_client_event out of base handlerMark Haines2016-05-114-204/+214
|/
* Merge pull request #759 from matrix-org/dbkr/email_notifsMatthew Hodgson2016-05-105-12/+12
|\