summary refs log tree commit diff
path: root/synapse/handlers/profile.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge tag 'v1.47.0' into babolivier/dinsic_1.48.0Brendan Abolivier2021-12-061-0/+4
|\
| * Annotate `log_function` decorator (#10943)reivilibre2021-10-271-0/+4
* | Merge tag 'v1.45.0' into babolivier/dinsic_1.48.0Brendan Abolivier2021-12-061-25/+31
|\|
| * Remove the deprecated BaseHandler. (#11005)Patrick Cloke2021-10-081-5/+6
| * Use direct references for configuration variables (part 7). (#10959)Patrick Cloke2021-10-041-2/+2
| * Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-1/+1
* | Merge tag 'v1.44.0' into babolivier/dinsic_1.48.0Brendan Abolivier2021-12-061-13/+11
|\|
| * Use direct references for configuration variables (part 4). (#10893)Patrick Cloke2021-09-231-1/+1
| * Always add local users to the user directory (#10796)David Robertson2021-09-211-10/+8
| * Require type hints in the handlers module. (#10831)Patrick Cloke2021-09-201-2/+2
* | Merge tag 'v1.43.0' into babolivier/dinsic_1.48.0Brendan Abolivier2021-12-061-1/+1
|\|
| * Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-1/+1
* | LintBrendan Abolivier2021-09-011-1/+6
* | Don't ratelimit when admin updates profileBrendan Abolivier2021-09-011-3/+5
* | Merge tag 'v1.39.0' into babolivier/dinsic_1.41.0Brendan Abolivier2021-09-011-2/+2
|\|
| * Use inline type hints in `handlers/` and `rest/`. (#10382)Jonathan de Jong2021-07-161-2/+2
* | Merge tag 'v1.33.0' into babolivier/dinsic_1.41.0Brendan Abolivier2021-08-311-1/+0
|\|
| * Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* | fix isort and mypy lintingAndrew Morgan2021-04-261-2/+2
* | Merge commit '4ecba9bd5' into anoa/dinsic_release_1_31_0Andrew Morgan2021-04-231-1/+1
|\|
| * Import HomeServer from the proper module. (#9665)Patrick Cloke2021-03-231-1/+1
| * Fix style checking due to updated black.Patrick Cloke2021-02-191-2/+1
* | Merge commit 'd9f1dccba' into anoa/dinsic_release_1_31_0Andrew Morgan2021-04-231-1/+13
|\|
| * Add configs to make profile data more private (#9203)AndrewFerr2021-02-191-0/+10
* | Merge commit 'd2f0ec12d' into anoa/dinsic_release_1_31_0Andrew Morgan2021-04-231-1/+2
|\|
| * Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-1/+2
* | Merge commit '98a64b7f7' into anoa/dinsic_release_1_31_0Andrew Morgan2021-04-221-3/+11
|\|
| * Remove user's avatar URL and displayname when deactivated. (#8932)Dirk Klimpel2021-01-121-1/+7
* | Merge commit '0312266ee' into anoa/dinsic_release_1_31_0Andrew Morgan2021-04-211-2/+2
|\|
| * Handle a display name / avatar URL not included in a federation request. (#9023)Patrick Cloke2021-01-061-2/+2
| * Add admin API for logging in as a user (#8617)Erik Johnston2020-11-171-2/+6
* | Merged commit 'deff8f628' into anoa/dinsic_release_1_23_1Andrew Morgan2020-12-311-1/+11
* | Merge commit 'c3119d153' into anoa/dinsic_release_1_23_1Andrew Morgan2020-12-311-2/+6
|\|
| * Improve error messages of non-str displayname/avatar_url (#8705)Andrew Morgan2020-11-021-2/+6
* | Merge commit 'ef2d62701' into anoa/dinsic_release_1_23_1Andrew Morgan2020-12-311-7/+1
|\|
* | Merge commit '24229fac0' into anoa/dinsic_release_1_23_1Andrew Morgan2020-12-311-2/+9
|\|
| * Add type hints for account validity handler (#8620)Patrick Cloke2020-10-261-2/+2
| * Check status codes that profile handler returns (#8580)LEdoian2020-10-261-0/+7
* | Merge commit '2b7c18087' into anoa/dinsic_release_1_23_1Andrew Morgan2020-12-311-1/+1
|\|
| * Fix typos and spelling errors. (#8639)Patrick Cloke2020-10-231-1/+1
* | Merge commit 'de5cafe98' into dinsicAndrew Morgan2020-12-311-33/+53
|\|
| * Add type hints to profile and base handlers. (#8609)Patrick Cloke2020-10-211-25/+49
| * Consistently use wrap_as_background_task in more places (#8599)Patrick Cloke2020-10-201-7/+3
* | Merge commit '74976a8e4' into dinsicAndrew Morgan2020-12-311-19/+7
|\|
| * Move additional tasks to the background worker, part 4 (#8513)Patrick Cloke2020-10-131-18/+11
* | Merge commit '4325be1a5' into anoa/dinsic_release_1_21_xAndrew Morgan2020-10-211-2/+2
|\|
| * Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-2/+2
* | Merge commit 'abeab964d' into anoa/dinsic_release_1_21_xAndrew Morgan2020-10-201-0/+6
|\|
| * Fix errors when updating the user directory with invalid data (#8223)Patrick Cloke2020-09-011-0/+6
* | Merge commit 'a466b6797' into anoa/dinsic_release_1_21_xAndrew Morgan2020-10-201-30/+45
|\|
| * Do not propagate profile changes of shadow-banned users into rooms. (#8157)Patrick Cloke2020-08-261-2/+15
* | Merge commit 'c9c544cda' into anoa/dinsic_release_1_21_xAndrew Morgan2020-10-191-2/+6
|\|
* | dinsic lintAndrew Morgan2020-08-031-1/+1
* | Merge commit 'de119063f' into anoa/dinsic_release_1_18_xAndrew Morgan2020-08-031-37/+28
|\|
| * Convert _base, profile, and _receipts handlers to async/await (#7860)Patrick Cloke2020-07-171-36/+27
* | Merge commit 'a3f11567d' into dinsicAndrew Morgan2020-08-031-4/+3
|\|
| * Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-5/+3
* | Performance improvements to marking expired users as inactive (#47)Andrew Morgan2020-06-191-13/+28
* | Merge branch 'release-v1.13.0' of github.com:matrix-org/synapse into dinsic-r...Andrew Morgan2020-06-101-34/+36
|\|
| * async/await is_server_admin (#7363)Andrew Morgan2020-05-011-19/+20
| * Add options to prevent users from changing their profile. (#7096)Dirk Klimpel2020-03-271-0/+16
| * Revert "Add options to disable setting profile info for prevent changes. (#70...Richard van der Hoff2020-03-171-16/+0
| * lint, fix testsdklimpel2020-03-091-1/+3
| * updates after reviewdklimpel2020-03-091-4/+4
| * lintdklimpel2020-03-081-4/+2
| * changelogdklimpel2020-03-081-2/+8
| * Add options to disable setting profile info for prevent changes.dklimpel2020-03-081-0/+10
* | Fix sytest CIAndrew Morgan2020-05-281-1/+1
* | Change displayname of user as admin in rooms (#6876)Andrew Morgan2020-03-241-1/+11
|\|
| * Change displayname of user as admin in rooms (#6876)Dirk Klimpel2020-02-211-1/+11
* | Add option to allow profile queries without sharing a room (#6523)Andrew Morgan2020-03-191-5/+5
|\|
| * Add option to allow profile queries without sharing a room (#6523)Will Hunt2019-12-161-1/+5
* | Replace instance variations of homeserver with correct case/spacing (#6357)Andrew Morgan2020-03-181-3/+3
|\|
| * Replace instance variations of homeserver with correct case/spacingAndrew Morgan2019-11-121-3/+3
* | Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2020-03-161-1/+1
|\|
| * Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-1/+1
* | Merge pull request #5906 from matrix-org/neilj/increase_display_name_limitAndrew Morgan2020-02-211-1/+1
|\|
| * Increase max display name limitNeil Johnson2019-08-241-1/+1
* | Replace returnValue with return (#5736)Andrew Morgan2020-02-191-9/+9
|\|
| * Replace returnValue with return (#5736)Amber Brown2019-07-231-9/+9
* | Merge pull request #5644 from matrix-org/babolivier/profile-allow-selfAndrew Morgan2020-02-171-0/+4
|\|
| * Allow newly-registered users to lookup their own profilesBrendan Abolivier2019-07-081-0/+4
| * Run Black. (#5482)Amber Brown2019-06-201-46/+19
* | Fix with isort==4.3.21 and black==19.3b0Andrew Morgan2020-02-141-2/+1
* | Fix incorrect run_in_background import statementAndrew Morgan2020-02-141-1/+1
* | Dinsic Blacking with black==18.6b2Andrew Morgan2020-02-111-62/+50
* | Merge pull request #5385 from matrix-org/erikj/reduce_http_exceptionsAndrew Morgan2020-02-101-13/+16
|\|
| * Handle HttpResponseException when using federation client.Erik Johnston2019-06-071-13/+16
* | Add the ability to restrict max avatar filesize and content-type (#19)Andrew Morgan2019-12-121-0/+46
* | Add limit_profile_requests_to_known_users option (#18)Andrew Morgan2019-12-051-2/+2
* | Allow newly-registered users to lookup their own profilesBrendan Abolivier2019-07-091-0/+4
* | Merge branch 'master' into dinsicBrendan Abolivier2019-06-121-0/+13
|\|
| * Limit displaynames and avatar URLsRichard van der Hoff2019-06-011-0/+13
* | Merge branch 'release-v0.99.4' into dinsic dinsic_2019-05-14Brendan Abolivier2019-05-141-0/+43
|\|
| * add options to require an access_token to GET /profile and /publicRooms on CS...Matthew Hodgson2019-05-081-0/+43
* | Merge branch 'master' of github.com:matrix-org/synapse into dinsicErik Johnston2019-04-051-2/+8
|\|
| * Support 3PID login in password providers (#4931)Andrew Morgan2019-03-261-2/+8
* | IsortErik Johnston2019-03-151-2/+2
* | FixupsErik Johnston2019-03-151-9/+13
* | hide_profile: false should mean not to hide the profile :/ github/matthew/red_list matthew/red_listMatthew Hodgson2018-12-121-3/+3
* | add im.vector.hide_profile to user account_dataMatthew Hodgson2018-11-041-3/+6
* | merge master into dinsic, again...Matthew Hodgson2018-11-031-11/+25
|\|
| * Fix exception handling in fetching remote profilesErik Johnston2018-10-031-6/+2
| * Replaced all occurences of e.message with str(e)Schnuffle2018-09-271-1/+1
| * Rename WorkerProfileHandler to BaseProfileHandlerErik Johnston2018-08-221-3/+10
| * Add assert to ensure handler is only run on masterErik Johnston2018-08-221-0/+2
| * Remove redundant varsErik Johnston2018-08-221-3/+0
| * Call UserDirectoryHandler methods directlyErik Johnston2018-08-171-21/+5
| * Split ProfileHandler into master and workerErik Johnston2018-08-171-7/+14
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_prof...Erik Johnston2018-08-091-31/+58
| |\
| * | Allow profile changes to happen on workersErik Johnston2018-08-071-5/+21
* | | merge in masterMatthew Hodgson2018-10-221-32/+66
|\ \ \ | | |/ | |/|
| * | Return M_NOT_FOUND when a profile could not be found. (#3596)Will Hunt2018-08-031-31/+58
| |/
| * Fix some looping_call calls which were broken in #3604Richard van der Hoff2018-07-261-1/+1
| * Fix updating of cached remote profilesRichard van der Hoff2018-07-251-1/+8
* | fix missing import and run isort dinsic_2018-07-20Matthew Hodgson2018-07-201-3/+3
* | Merge remote-tracking branch 'origin/master' into dinsicDavid Baker2018-07-191-1/+2
|\|
| * run isortAmber Brown2018-07-091-1/+2
* | Add hopefully enlightening commentDavid Baker2018-07-181-1/+2
* | Oops, didn't mean to commit thatDavid Baker2018-07-181-1/+1
* | Remove deactivated users from profile searchDavid Baker2018-07-181-3/+24
* | don't pass a requester if we don't have one to set_displaynameMatthew Hodgson2018-05-041-4/+5
* | Merge branch 'dinsic' into matthew/derive-mxid-from-3pidMatthew Hodgson2018-05-031-1/+11
|\ \
| * \ Merge pull request #3179 from matrix-org/matthew/disable-set-profileMatthew Hodgson2018-05-031-0/+10
| |\ \
| | * | options to disable setting profile infoMatthew Hodgson2018-05-031-0/+10
| * | | Change profile replication URIDavid Baker2018-05-031-1/+1
| |/ /
* / / improve mxid & displayname selection for register_mxid_from_3pidMatthew Hodgson2018-05-031-1/+1
|/ /
* | Fix python synatxDavid Baker2018-05-011-1/+2
* | Fix profile replDavid Baker2018-05-011-0/+1
* | PR feedbackDavid Baker2018-04-251-1/+1
* | Comment why the looping call loopsDavid Baker2018-04-251-0/+3
* | pep8 againDavid Baker2018-04-171-1/+3
* | Don't do profile repl if no repl targetsDavid Baker2018-04-171-7/+14
* | Update profile cache only on masterDavid Baker2018-04-171-5/+3
* | pep8David Baker2018-04-171-2/+2
* | Handle current batch number being nullDavid Baker2018-04-171-2/+4
* | Merge remote-tracking branch 'origin/dinsic' into dbkr/profile_replicationDavid Baker2018-04-161-0/+5
|\|
| * Only update remote profile cache on masterErik Johnston2018-03-131-1/+4
* | Include origin_server in the sig!David Baker2018-04-121-4/+5
* | Trigger profile replication on profile changeDavid Baker2018-04-111-2/+13
* | Written but untested profile replicationDavid Baker2018-04-101-1/+69
|/
* s/replication_client/federation_client/Erik Johnston2018-03-131-1/+1
* Split replication layer into twoErik Johnston2018-03-131-1/+1
* Split out edu/query registration to a separate classErik Johnston2018-03-131-1/+1
* Move RoomMemberHandler out of HandlersErik Johnston2018-03-011-1/+1
* fix pep8 and testsMatthew Hodgson2017-12-041-1/+1
* switch to a simpler 'search_all_users' button as per review feedbackMatthew Hodgson2017-12-041-2/+2
* untested WIP but might actually workMatthew Hodgson2017-11-291-0/+14
* 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
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-3/+3
* 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-251-5/+8
* Add remote profile cacheErik Johnston2017-08-251-1/+80
* Add per user ratelimiting overridesErik Johnston2017-05-101-1/+1
* Ignore backoff history for invites, aliases, and roomdirsRichard van der Hoff2017-03-231-2/+4
* Don't recreate so many setsErik Johnston2017-03-161-4/+4
* handlers/profile: added admin override for set_displayname and set_avatar_urlPatrik Oldsberg2016-10-061-4/+4
* Add `create_requester` functionRichard van der Hoff2016-07-261-5/+7
* Remove registered_users from the distributor.Mark Haines2016-06-171-7/+0
* changed_presencelike_data isn't observed anywhere in synapse so can be removedMark Haines2016-04-081-15/+0
* Call profile handler get_displayname directly rather than using collect_prese...Mark Haines2016-04-071-28/+0
* Pass whole requester to ratelimitingDaniel Wagner-Hall2016-03-031-8/+9
* Merge pull request #582 from matrix-org/erikj/presenceErik Johnston2016-02-191-0/+3
|\
| * Initial cutErik Johnston2016-02-171-0/+3
* | Add commentDaniel Wagner-Hall2016-02-161-1/+1
* | Use update_membership for profile updatesDaniel Wagner-Hall2016-02-151-16/+12
|/
* Revert "Merge two of the room join codepaths"Daniel Wagner-Hall2016-02-121-9/+2
* Merge two of the room join codepathsDaniel Wagner-Hall2016-02-121-2/+9
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Wrap calls to distributor.fire in appropriately named functions so that stati...Mark Haines2015-12-011-13/+15
* Treat setting your display name to the empty string as removing it (SYN-186).David Baker2015-05-141-0/+3
* Unwrap defer.gatherResults failuresErik Johnston2015-05-121-1/+2
* PEP8Erik Johnston2015-05-081-1/+0
* Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-081-8/+7
* Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This us...Erik Johnston2015-03-091-2/+1
* When setting display name more graciously handle failures to update room state.Erik Johnston2015-03-061-7/+13
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-1/+2
* Merge branch 'erikj-perf' of github.com:matrix-org/synapse into developErik Johnston2015-01-061-5/+5
|\
| * We don't need the full events for get_rooms_for_user_where_membership_isErik Johnston2015-01-061-5/+5
* | Update copyright noticesMark Haines2015-01-061-1/+1
|/
* Rate limit display names and avatar urls per request rather than per event.Kegan Dougal2014-12-191-2/+4
* Rename MessageHandler.handle_event. Add a few comments.Erik Johnston2014-12-151-1/+1
* Remove unused snapshotErik Johnston2014-12-091-2/+0
* Convert rest and handlers to use new event structureErik Johnston2014-12-041-11/+8
* Change DomainSpecificString so that it doesn't use a HomeServer objectErik Johnston2014-12-021-7/+7
* Add a few missing yields, Move deferred lists inside PreserveLoggingContext b...Mark Haines2014-11-201-8/+10
* Don't add a 'prev' key to m.room.member messagesErik Johnston2014-11-191-1/+0
* Add an EventValidator. Fix bugs in auth ++ storageErik Johnston2014-11-101-4/+7
* Implement new replace_state and changed prev_stateErik Johnston2014-11-061-5/+1
* Begin making auth use event.old_state_eventsErik Johnston2014-10-151-2/+3
* SYN-40: When a user updates their displayname or avatar update all their join...Erik Johnston2014-09-171-3/+43
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Now that HS->HS Profile lookups use Federation Queries, we don't need the 'lo...Paul "LeoNerd" Evans2014-08-131-8/+4
* Use new Federation Query API to implement HS->HS fetching of remote users' pr...Paul "LeoNerd" Evans2014-08-131-25/+41
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
* Reference Matrix Home Servermatrix.org2014-08-121-0/+169