summary refs log tree commit diff
path: root/synapse/handlers (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #2981 from matrix-org/erikj/factor_remote_leaveErik Johnston2018-03-131-22/+54
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/factor_rem...Erik Johnston2018-03-1311-31/+49
| |\
| * | Add docstringErik Johnston2018-03-131-0/+26
| * | Factor out _remote_reject_invite in RoomMemberErik Johnston2018-03-131-22/+28
* | | Merge pull request #2979 from matrix-org/erikj/no_handlersErik Johnston2018-03-138-12/+7
|\ \ \ | |_|/ |/| |
| * | Split replication layer into twoErik Johnston2018-03-138-12/+7
* | | Merge pull request #2980 from matrix-org/erikj/rm_privErik Johnston2018-03-131-7/+7
|\ \ \
| * | | Make functions private that can beErik Johnston2018-03-131-7/+7
| | |/ | |/|
* | | Merge pull request #2982 from matrix-org/erikj/fix_extra_usersErik Johnston2018-03-131-1/+1
|\ \ \
| * | | extra_users is actually a list of UserIDsErik Johnston2018-03-131-1/+1
| |/ /
* | | Merge pull request #2983 from matrix-org/erikj/rename_register_3pidErik Johnston2018-03-132-11/+25
|\ \ \ | |_|/ |/| |
| * | Refactor get_or_register_3pid_guestErik Johnston2018-03-132-11/+25
| |/
* / Split out edu/query registration to a separate classErik Johnston2018-03-138-12/+16
|/
* Add transactional API to history purgeRichard van der Hoff2018-03-121-5/+99
* Return an error when doing two purges on a roomRichard van der Hoff2018-03-121-3/+14
* Fix up log messageErik Johnston2018-03-071-1/+1
* Fix typoErik Johnston2018-03-071-2/+2
* Fix race in sync when joining roomErik Johnston2018-03-071-28/+75
* Merge pull request #2949 from krombel/use_bcrypt_checkpwRichard van der Hoff2018-03-061-2/+4
|\
| * use bcrypt.checkpwKrombel2018-03-051-2/+4
* | Merge pull request #2946 from matrix-org/rav/timestamp_to_purgeRichard van der Hoff2018-03-061-9/+5
|\ \
| * | Provide a means to pass a timestamp to purge_historyRichard van der Hoff2018-03-051-9/+5
| |/
* / Remove ability for AS users to call /events and /syncErik Johnston2018-03-052-10/+9
|/
* Add missing yield during 3pid signature checksErik Johnston2018-03-021-1/+1
* Merge pull request #2927 from matrix-org/erikj/read_marker_cachesErik Johnston2018-03-011-3/+3
|\
| * Improve caching for read_marker APIErik Johnston2018-03-011-3/+3
* | Move back to hs.is_mineErik Johnston2018-03-011-7/+6
* | Move RoomMemberHandler out of HandlersErik Johnston2018-03-016-31/+37
|/
* Check event auth on the workerErik Johnston2018-03-011-16/+16
* Correctly send ratelimit and extra_users paramsErik Johnston2018-03-011-0/+2
* Fixup commentsErik Johnston2018-03-011-4/+4
* Calculate push actions on workerErik Johnston2018-02-281-25/+61
* Delete from push_actions_staging in federation tooErik Johnston2018-02-201-9/+17
* Ensure that we delete staging push actions on errorsErik Johnston2018-02-151-3/+9
* Merge pull request #2854 from matrix-org/erikj/event_create_workerErik Johnston2018-02-131-6/+22
|\
| * Move presence handling into handle_new_client_eventErik Johnston2018-02-071-6/+6
| * Add replication http endpoint for event sendingErik Johnston2018-02-071-0/+16
* | Merge pull request #2858 from matrix-org/rav/purge_updatesRichard van der Hoff2018-02-091-2/+2
|\ \ | |/ |/|
| * delete_local_events for purge_historyRichard van der Hoff2018-02-091-2/+2
| * rename delete_old_state -> purge_historyRichard van der Hoff2018-02-091-1/+1
* | Remove pointless ratelimit checkErik Johnston2018-02-071-5/+0
* | Merge pull request #2847 from matrix-org/erikj/separate_event_creationErik Johnston2018-02-065-179/+193
|\ \
| * | Update copyrightErik Johnston2018-02-064-1/+4
| * | s/_create_new_client_event/create_new_client_event/Erik Johnston2018-02-062-8/+8
| * | Update places where we create eventsErik Johnston2018-02-054-29/+26
| * | Split event creation into a separate handlerErik Johnston2018-02-051-146/+160
* | | Store state groups separately from events (#2784)Erik Johnston2018-02-061-7/+17
|/ /
* | Rename resolve_state_groups -> resolve_state_groups_for_eventsRichard van der Hoff2018-02-011-6/+5
* | add white space lineNeil Johnson2018-01-261-0/+1
* | rather than try reconstruct the results object, better to guard against the x...Neil Johnson2018-01-261-6/+2
* | fix return type, should be a dictNeil Johnson2018-01-251-1/+1
* | fix PEP8 violationNeil Johnson2018-01-251-1/+1
* | remove white spaceNeil Johnson2018-01-251-1/+0
* | synapse 500s on a call to publicRooms in the case where the number of public ...Neil Johnson2018-01-251-0/+5
* | Add federation_domain_whitelist option (#2820)Matthew Hodgson2018-01-223-1/+15
* | rewrite based on PR feedback:Matthew Hodgson2018-01-191-10/+5
* | fix up v1, and improve errorsMatthew Hodgson2018-01-191-1/+12
|/
* Sanity checking for user idsRichard van der Hoff2018-01-172-8/+19
* Metrics for events processed in appservice and fed senderRichard van der Hoff2018-01-151-0/+7
* Merge pull request #2773 from matrix-org/erikj/hash_bgErik Johnston2018-01-103-10/+18
|\
| * Do bcrypt hashing in a background threadErik Johnston2018-01-103-10/+18
* | fix order of operations derp and also use `.get` to default to {}Michael Telatynski2018-01-101-2/+3
* | Fix publicised groups API (singular) over federationMichael Telatynski2018-01-101-4/+4
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/createroom...Erik Johnston2017-12-0712-116/+389
|\ \
| * \ Merge pull request #2723 from matrix-org/matthew/search-all-local-usersMatthew Hodgson2017-12-053-16/+78
| |\ \
| | * | speed up the rate of initial spam for usersMatthew Hodgson2017-12-041-11/+12
| | * | fix pep8 and testsMatthew Hodgson2017-12-042-4/+3
| | * | switch to a simpler 'search_all_users' button as per review feedbackMatthew Hodgson2017-12-043-6/+6
| | * | Merge branch 'develop' into matthew/search-all-local-usersMatthew Hodgson2017-11-304-37/+139
| | |\|
| | * | fix thinkos galoreMatthew Hodgson2017-11-301-4/+6
| | * | kick the user_directory index when new users registerMatthew Hodgson2017-11-291-0/+8
| | * | untested WIP but might actually workMatthew Hodgson2017-11-292-4/+56
| | * | Add user_directory_include_pattern config param to expand search results to a...Matthew Hodgson2017-11-291-2/+2
| * | | support custom login types for validating usersRichard van der Hoff2017-12-051-24/+57
| * | | Factor out a validate_user_via_ui_auth methodRichard van der Hoff2017-12-051-0/+43
| * | | Refactor UI auth implementationRichard van der Hoff2017-12-051-17/+29
| | |/ | |/|
| * | Delete devices in various logout situationsRichard van der Hoff2017-11-293-1/+38
| * | Move set_password into its own handlerRichard van der Hoff2017-11-292-16/+45
| * | Move deactivate_account into its own handlerRichard van der Hoff2017-11-292-16/+44
| * | Remove pushers when deleting access tokensRichard van der Hoff2017-11-291-4/+12
| |/
| * Merge pull request #2686 from matrix-org/luke/as-flairLuke Barnard2017-11-171-0/+11
| |\
| | * Make sure we check AS groups for lookup on bulkLuke Barnard2017-11-161-0/+5
| | * Add automagical AS Publicised Group(s)Luke Barnard2017-11-161-0/+6
| * | typoMatthew Hodgson2017-11-171-1/+1
| * | Fix auth handler #2678Jurek2017-11-161-1/+1
| |/
| * Merge pull request #2675 from matrix-org/rav/remove_broken_logcontext_funcsRichard van der Hoff2017-11-152-4/+4
| |\
| | * Remove preserve_context_over_{fn, deferred}Richard van der Hoff2017-11-142-4/+4
| * | Reshuffle room list request codeRichard van der Hoff2017-11-141-27/+24
| * | Add a load of logging to the room_list handlerRichard van der Hoff2017-11-141-0/+13
| |/
* | Copy dict in update_membership tooErik Johnston2017-12-071-0/+4
* | PEP8Erik Johnston2017-11-281-1/+1
* | Fix wrong avatars when inviting multiple users when creating roomErik Johnston2017-11-281-5/+5
* | Fix auth handler #2678Jurek2017-11-171-1/+1
|/
* Revert "Allow upper-case characters in mxids"Richard van der Hoff2017-11-091-3/+3
* Allow upper-case characters in mxidsRichard van der Hoff2017-11-091-3/+3
* Have an explicit API to update room configErik Johnston2017-11-081-0/+1
* Revert "Modify group room association API to allow modification of is_public"Erik Johnston2017-11-081-2/+2
* Merge pull request #2631 from xyzz/fix_appservice_event_backlogErik Johnston2017-11-081-5/+1
|\
| * Remove useless assignment in notify_interested_servicesIlya Zhuravlev2017-11-071-1/+0
| * Fix appservices being backlogged and not receiving new events due to a bug in...Ilya Zhuravlev2017-11-021-4/+1
* | Merge pull request #2649 from matrix-org/rav/fix_delta_on_state_resRichard van der Hoff2017-11-081-20/+46
|\ \
| * | s/items/iteritems/Richard van der Hoff2017-11-081-2/+2
| * | Update deltas when doing auth resolutionRichard van der Hoff2017-11-071-3/+7
| * | factor out _update_context_for_auth_eventsRichard van der Hoff2017-11-071-20/+42
* | | Merge pull request #2643 from matrix-org/matthew/user_dir_typosMatthew Hodgson2017-11-071-2/+2
|\ \ \ | |/ / |/| |
| * | s/intial/initial/Matthew Hodgson2017-11-041-2/+2
| |/
* | Merge pull request #2636 from farialima/me-masterErik Johnston2017-11-071-13/+8
|\ \ | |/ |/|
| * removed unused import flagged by flake8aFrancois Granade2017-11-031-1/+0
| * Fix for issue 2635: correctly update rooms avatar/display name when modified ...Francois Granade2017-11-031-12/+8
* | Factor _AccountHandler proxy out to ModuleApiRichard van der Hoff2017-11-021-69/+3
* | Merge pull request #2624 from matrix-org/rav/password_provider_notify_logoutDavid Baker2017-11-021-2/+24
|\ \
| * | Notify auth providers on logoutRichard van der Hoff2017-11-011-2/+24
* | | Merge pull request #2623 from matrix-org/rav/callbacks_for_auth_providersDavid Baker2017-11-021-6/+11
|\ \ \
| * | | Fix user-interactive password authRichard van der Hoff2017-11-011-1/+3
| * | | Allow password_auth_providers to return a callbackRichard van der Hoff2017-11-011-5/+8
| |/ /
* | | Merge pull request #2622 from matrix-org/rav/db_access_for_auth_providersDavid Baker2017-11-021-0/+16
|\ \ \ | |/ / |/| |
| * | Let auth providers get to the databaseRichard van der Hoff2017-10-311-0/+16
* | | Merge pull request #2620 from matrix-org/rav/auth_non_passwordRichard van der Hoff2017-11-011-22/+96
|\ \ \
| * | | Let password auth providers handle arbitrary login typesRichard van der Hoff2017-11-011-22/+96
| |/ /
* | | Merge remote-tracking branch 'origin/develop' into rav/refactor_accesstoken_d...David Baker2017-11-013-13/+8
|\ \ \
| * \ \ Merge pull request #2615 from matrix-org/rav/break_auth_device_depDavid Baker2017-11-011-9/+6
| |\ \ \
| | * | | Break dependency of auth_handler on device_handlerRichard van der Hoff2017-11-011-9/+6
| | |/ /
| * | | Merge pull request #2613 from matrix-org/rav/kill_refresh_tokensDavid Baker2017-11-011-2/+0
| |\ \ \
| | * | | Remove the last vestiges of refresh_tokensRichard van der Hoff2017-10-311-2/+0
| | |/ /
| * / / Modify group room association API to allow modification of is_publicLuke Barnard2017-10-311-2/+2
| |/ /
* / / Move access token deletion into auth handlerRichard van der Hoff2017-11-013-5/+52
|/ /
* | Refactor some logic from LoginRestServlet into AuthHandlerRichard van der Hoff2017-10-311-28/+52
* | Merge pull request #2589 from matrix-org/rav/as_deactivate_accountRichard van der Hoff2017-10-271-1/+1
|\ \
| * | Allow ASes to deactivate their own usersRichard van der Hoff2017-10-271-1/+1
| |/
* | Update room_list.pyErik Johnston2017-10-261-1/+1
* | Do logcontexts outside ResponseCacheErik Johnston2017-10-252-5/+8
* | Add logging and fix log contexts for publicRoomsErik Johnston2017-10-251-0/+2
|/
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-238-17/+17
* Merge pull request #2561 from matrix-org/rav/id_checkingRichard van der Hoff2017-10-231-9/+6
|\
| * Allow = in mxids and groupidsRichard van der Hoff2017-10-201-3/+2
| * Disallow capital letters in useridsRichard van der Hoff2017-10-201-6/+4
* | Remove pointless create() methodRichard van der Hoff2017-10-202-3/+3
|/
* _create_rererouter for get_invited_users_in_groupLuke Barnard2017-10-161-17/+2
* Implement GET /groups/$groupId/invited_usersLuke Barnard2017-10-161-0/+17
* Log a warning when no profile for invited memberLuke Barnard2017-10-161-2/+5
* Merge pull request #2531 from matrix-org/dbkr/spamcheck_error_messagesDavid Baker2017-10-121-2/+6
|\
| * fix isinstanceDavid Baker2017-10-111-1/+1
| * Allow error strings from spam checkerDavid Baker2017-10-111-2/+6
* | Fix fetching remote summariesErik Johnston2017-10-111-2/+2
* | Merge pull request #2530 from matrix-org/rav/fix_receipt_logcontextRichard van der Hoff2017-10-111-0/+4
|\ \
| * | fix a logcontext leak in read receipt handlingRichard van der Hoff2017-10-111-0/+4
* | | Fix attestations to check correct server nameErik Johnston2017-10-111-10/+20
| |/ |/|
* | Merge pull request #2466 from matrix-org/erikj/groups_mergedErik Johnston2017-10-118-17/+584
|\ \
| * \ Merge branch 'develop' into erikj/groups_mergedDavid Baker2017-10-024-8/+121
| |\ \
| * | | Add remove room APIErik Johnston2017-09-261-0/+1
| * | | Add is_publicised to group summaryErik Johnston2017-09-261-25/+31
| * | | Ensure that creator of group sees group down /syncErik Johnston2017-09-192-4/+31
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/groups_mergedErik Johnston2017-09-193-33/+163
| |\ \ \
| * | | | Add user profiles to summary from group serverErik Johnston2017-08-251-0/+23
| * | | | Fix typos and reinheritErik Johnston2017-08-251-12/+6
| * | | | Split out profile handler to fix testsErik Johnston2017-08-256-13/+16
| * | | | Add remote profile cacheErik Johnston2017-08-252-5/+93
| * | | | FixupErik Johnston2017-08-111-9/+13
| * | | | Add bulk group publicised lookup APIErik Johnston2017-08-091-0/+42
| * | | | Store whether the user wants to publicise their membership of a groupErik Johnston2017-08-081-0/+4
| * | | | Remove stale TODO commentsErik Johnston2017-08-041-10/+0
| * | | | Correctly add joins to correct segmentErik Johnston2017-07-241-1/+1
| * | | | Merge pull request #2378 from matrix-org/erikj/group_sync_supportErik Johnston2017-07-212-5/+80
| |\ \ \ \
| | * | | | Add notifierErik Johnston2017-07-201-0/+1
| | * | | | Fix replication. And notifyErik Johnston2017-07-201-4/+16
| | * | | | Remember to cast to boolErik Johnston2017-07-201-1/+1
| | * | | | Add groups to sync streamErik Johnston2017-07-201-1/+63
| * | | | | Add update group profile APIErik Johnston2017-07-201-0/+1
| |/ / / /
| * | | | CommentsErik Johnston2017-07-181-10/+19
| * | | | Fix typosErik Johnston2017-07-181-2/+3
| * | | | Update federation client pokesErik Johnston2017-07-181-13/+22
| * | | | Add client apisErik Johnston2017-07-181-1/+1
| * | | | CommentsErik Johnston2017-07-181-0/+3
| * | | | Use transport client directlyErik Johnston2017-07-181-18/+25
| * | | | Add local group server supportErik Johnston2017-07-171-0/+278
| * | | | Merge pull request #2352 from matrix-org/erikj/group_server_splitErik Johnston2017-07-121-8/+10
| |\ \ \ \
| | * | | | Initial group server implementationErik Johnston2017-07-101-8/+10
* | | | | | Merge pull request #2483 from jeremycline/unfreeze-ujson-dumpErik Johnston2017-10-111-1/+2
|\ \ \ \ \ \
| * | | | | | Unfreeze event before serializing with ujsonJeremy Cline2017-09-301-1/+2
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #2490 from matrix-org/erikj/drop_left_room_eventsErik Johnston2017-10-101-0/+22
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Update commentsErik Johnston2017-10-031-1/+1
| * | | | | Remove spurious line feedErik Johnston2017-10-031-1/+0
| * | | | | Ignore incoming events for rooms that we have leftErik Johnston2017-10-031-0/+23
| | |_|_|/ | |/| | |
* | | | | Fix up deferred handling in federation.pyRichard van der Hoff2017-10-061-24/+21
* | | | | Spam checking: add the invitee to user_may_inviteDavid Baker2017-10-052-6/+8
* | | | | spam check room publishingDavid Baker2017-10-041-0/+8
* | | | | un-double indentDavid Baker2017-10-041-1/+1
* | | | | Add room creation checks to spam checkerDavid Baker2017-10-042-0/+15
* | | | | pass room id tooDavid Baker2017-10-032-2/+4
* | | | | Federation was passing strings anywayDavid Baker2017-10-031-1/+1
* | | | | this shouldn't be debugDavid Baker2017-10-031-2/+2
* | | | | better loggingDavid Baker2017-10-031-4/+9
* | | | | Skip spam check for admin usersDavid Baker2017-10-031-8/+8
* | | | | Fix param name & lintDavid Baker2017-10-031-2/+4
* | | | | Allow spam checker to reject invites tooDavid Baker2017-10-032-6/+18
|/ / / /
* | | | Fix /joined_members to work with AS usersErik Johnston2017-09-281-11/+25
* | | | Fix bug where /joined_members didn't check user was in roomErik Johnston2017-09-271-0/+31
* | | | Make the spam checker a moduleDavid Baker2017-09-261-2/+3
* | | | Refactor to speed up incremental syncsErik Johnston2017-09-251-5/+18
* | | | Fix device list when rejoining room (#2461)Erik Johnston2017-09-221-2/+14
* | | | Add a config option to block all room invites (#2457)Richard van der Hoff2017-09-192-0/+25
* | | | add some comments to on_exchange_third_party_invite_requestRichard van der Hoff2017-09-191-0/+11
* | | | PoC for filtering spammy events (#2456)Richard van der Hoff2017-09-191-1/+7
| |_|/ |/| |
* | | Fix overzealous kicking of guest users (#2453)Richard van der Hoff2017-09-191-1/+1
* | | Don't filter out current state events from timelineErik Johnston2017-09-181-0/+7
* | | Correctly handle leaving room in /key/changesErik Johnston2017-09-181-13/+12
* | | Fix typoErik Johnston2017-09-151-1/+1
* | | Actually hook leave notifs upErik Johnston2017-09-141-2/+3
* | | Handle joining/leaving rooms in /keys/changesErik Johnston2017-09-131-1/+38
* | | Get left roomsErik Johnston2017-09-131-3/+32
* | | In sync handle device lists for newly joined/left roomsErik Johnston2017-09-121-2/+10
* | | Add left section to /keys/changesErik Johnston2017-09-082-7/+17
* | | Send down device list change notif when member leaves/rejoins roomErik Johnston2017-09-072-13/+53
* | | Use less DB for device list handling in syncErik Johnston2017-07-121-8/+7
| |/ |/|
* | Don't compute push actions for backfilled eventsErik Johnston2017-07-111-1/+1
|/
* Fix bug where pusherpool didn't start and broke some roomsErik Johnston2017-07-062-2/+5
* Improve the error handling for bad invites received over federationMark Haines2017-06-301-2/+17
* Use an ExpiringCache for storing registration sessionsErik Johnston2017-06-291-11/+10
* Merge pull request #2307 from matrix-org/erikj/user_ip_batchErik Johnston2017-06-271-2/+2
|\
| * Fix up client ips to read from pending dataErik Johnston2017-06-271-2/+2
* | Remove unused variablesErik Johnston2017-06-261-1/+1
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/ensure_rou...Erik Johnston2017-06-264-13/+52
|\|
| * Make some more params configurableErik Johnston2017-06-221-5/+8
| * Typo. ARGH.Erik Johnston2017-06-221-1/+1
| * Fix thinko in unhandled user spamErik Johnston2017-06-221-2/+2
| * Don't work out users who share room with appservice usersErik Johnston2017-06-211-2/+11
| * Handle all cases of sending membership eventsErik Johnston2017-06-191-0/+5
| * Change to create new room and join other usersErik Johnston2017-06-191-4/+17
| * Add shutdown room APIErik Johnston2017-06-192-0/+9
* | Reject local events that don't round trip the DBErik Johnston2017-06-191-0/+9
|/
* Initial worker implErik Johnston2017-06-161-6/+13
* Include users who share room with requester in user directoryErik Johnston2017-06-151-2/+2
* Implement updating users who share rooms on the flyErik Johnston2017-06-151-23/+125
* Implement initial population of users who share rooms tableErik Johnston2017-06-151-2/+76
* Fix user directory insertion due to missing room_idErik Johnston2017-06-131-3/+7
* Don't assume existance of events when updating user directoryErik Johnston2017-06-131-3/+6
* Merge pull request #2266 from matrix-org/erikj/host_in_roomErik Johnston2017-06-121-3/+3
|\
| * Change is_host_joined to use current_state tableErik Johnston2017-06-091-3/+3
* | CommentErik Johnston2017-06-091-0/+2
* | Mark remote invite rejections as outliersErik Johnston2017-06-091-0/+1
|/
* Merge pull request #2258 from matrix-org/erikj/user_dirErik Johnston2017-06-071-0/+3
|\
| * Don't start user_directory handling on workersErik Johnston2017-06-071-0/+3
* | Merge pull request #2248 from matrix-org/erikj/state_fixupErik Johnston2017-06-071-7/+5
|\ \ | |/ |/|
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_fixupErik Johnston2017-06-071-0/+429
| |\
| * | Fix typing testsErik Johnston2017-05-261-7/+5
* | | Add some logging to user directoryErik Johnston2017-06-071-0/+7
| |/ |/|
* | Handle profile updates in user directoryErik Johnston2017-06-011-0/+25
* | Split the table in twoErik Johnston2017-06-011-27/+50
* | CommentsErik Johnston2017-06-011-3/+3
* | Check if host is still in roomErik Johnston2017-06-011-0/+11