Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge commit 'd2f0ec12d' into anoa/dinsic_release_1_31_0 | Andrew Morgan | 2021-04-23 | 1 | -1/+2 |
|\ | |||||
| * | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -1/+2 |
| | | | | | | | | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | | Merge commit '98a64b7f7' into anoa/dinsic_release_1_31_0 | Andrew Morgan | 2021-04-22 | 1 | -3/+11 |
|\| | |||||
| * | Remove user's avatar URL and displayname when deactivated. (#8932) | Dirk Klimpel | 2021-01-12 | 1 | -1/+7 |
| | | | | | | This only applies if the user's data is to be erased. | ||||
* | | Merge commit '0312266ee' into anoa/dinsic_release_1_31_0 | Andrew Morgan | 2021-04-21 | 1 | -2/+2 |
|\| | |||||
| * | Handle a display name / avatar URL not included in a federation request. (#9023) | Patrick Cloke | 2021-01-06 | 1 | -2/+2 |
| | | | | | | | | These may be omitted if not set, but Synapse assumed they would be in the response. | ||||
| * | Add admin API for logging in as a user (#8617) | Erik Johnston | 2020-11-17 | 1 | -2/+6 |
| | | |||||
* | | Merged commit 'deff8f628' into anoa/dinsic_release_1_23_1 | Andrew Morgan | 2020-12-31 | 1 | -1/+11 |
| | | |||||
* | | Merge commit 'c3119d153' into anoa/dinsic_release_1_23_1 | Andrew Morgan | 2020-12-31 | 1 | -2/+6 |
|\| | |||||
| * | Improve error messages of non-str displayname/avatar_url (#8705) | Andrew Morgan | 2020-11-02 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | This PR fixes two things: * Corrects the copy/paste error of telling the client their displayname is wrong when they are submitting an `avatar_url`. * Returns a `M_INVALID_PARAM` instead of `M_UNKNOWN` for non-str type parameters. Reported by @t3chguy. | ||||
* | | Merge commit 'ef2d62701' into anoa/dinsic_release_1_23_1 | Andrew Morgan | 2020-12-31 | 1 | -7/+1 |
|\| | |||||
* | | Merge commit '24229fac0' into anoa/dinsic_release_1_23_1 | Andrew Morgan | 2020-12-31 | 1 | -2/+9 |
|\| | |||||
| * | Add type hints for account validity handler (#8620) | Patrick Cloke | 2020-10-26 | 1 | -2/+2 |
| | | | | | | This also fixes a bug by fixing handling of an account which doesn't expire. | ||||
| * | Check status codes that profile handler returns (#8580) | LEdoian | 2020-10-26 | 1 | -0/+7 |
| | | | | | | | | | | | | | | Fixes #8520 Signed-off-by: Pavel Turinsky <pavel.turinsky@matfyz.cz> Co-authored-by: Erik Johnston <erikj@jki.re> | ||||
* | | Merge commit '2b7c18087' into anoa/dinsic_release_1_23_1 | Andrew Morgan | 2020-12-31 | 1 | -1/+1 |
|\| | |||||
| * | Fix typos and spelling errors. (#8639) | Patrick Cloke | 2020-10-23 | 1 | -1/+1 |
| | | |||||
* | | Merge commit 'de5cafe98' into dinsic | Andrew Morgan | 2020-12-31 | 1 | -33/+53 |
|\| | |||||
| * | Add type hints to profile and base handlers. (#8609) | Patrick Cloke | 2020-10-21 | 1 | -25/+49 |
| | | |||||
| * | Consistently use wrap_as_background_task in more places (#8599) | Patrick Cloke | 2020-10-20 | 1 | -7/+3 |
| | | |||||
* | | Merge commit '74976a8e4' into dinsic | Andrew Morgan | 2020-12-31 | 1 | -19/+7 |
|\| | |||||
| * | Move additional tasks to the background worker, part 4 (#8513) | Patrick Cloke | 2020-10-13 | 1 | -18/+11 |
| | | |||||
* | | Merge commit '4325be1a5' into anoa/dinsic_release_1_21_x | Andrew Morgan | 2020-10-21 | 1 | -2/+2 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '4325be1a5': Fix missing null character check on guest_access room state Fixed a bug with reactivating users with the admin API (#8362) Admin API for reported events (#8217) Fix wording of deprecation notice in changelog Deprecation warning for synapse admin api being accessible under /_matrix Create function to check for long names in devices (#8364) Add a comment re #1691 Fix a bad merge from release-v1.20.0. (#8354) Admin API for querying rooms where a user is a member (#8306) Catch-up after Federation Outage (bonus): Catch-up on Synapse Startup (#8322) Simplify super() calls to Python 3 syntax. (#8344) Allow appservice users to /login (#8320) Update test logging to be able to accept braces (#8335) Move lint dependencies to extras_require (#8330) | ||||
| * | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py | ||||
* | | Merge commit 'abeab964d' into anoa/dinsic_release_1_21_x | Andrew Morgan | 2020-10-20 | 1 | -0/+6 |
|\| | | | | | | | | | | | | | | | | | | | * commit 'abeab964d': Make _get_e2e_device_keys_and_signatures_txn return an attrs (#8224) Fix errors when updating the user directory with invalid data (#8223) Explain better what GDPR-erased means (#8189) Convert additional databases to async/await part 3 (#8201) Convert appservice code to async/await. (#8207) Rename `_get_e2e_device_keys_txn` (#8222) | ||||
| * | Fix errors when updating the user directory with invalid data (#8223) | Patrick Cloke | 2020-09-01 | 1 | -0/+6 |
| | | |||||
* | | Merge commit 'a466b6797' into anoa/dinsic_release_1_21_x | Andrew Morgan | 2020-10-20 | 1 | -30/+45 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a466b6797': Reduce run-times of tests by advancing the reactor less (#7757) Update debian systemd service to use Type=notify (#8169) Remove remaining is_guest argument uses from get_room_data calls (#8181) Do not propagate typing notifications from shadow-banned users. (#8176) Remove unused parameter from, and add safeguard in, get_room_data (#8174) Add required Debian dependencies to allow docker builds on the arm platform (#8144) Allow running mypy directly. (#8175) Update the test federation client to handle streaming responses (#8130) Do not propagate profile changes of shadow-banned users into rooms. (#8157) Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171) Convert simple_select_one and simple_select_one_onecol to async (#8162) | ||||
| * | Do not propagate profile changes of shadow-banned users into rooms. (#8157) | Patrick Cloke | 2020-08-26 | 1 | -2/+15 |
| | | |||||
* | | Merge commit 'c9c544cda' into anoa/dinsic_release_1_21_x | Andrew Morgan | 2020-10-19 | 1 | -2/+6 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c9c544cda': Remove `ChainedIdGenerator`. (#8123) Switch the JSON byte producer from a pull to a push producer. (#8116) Updated docs: Added note about missing 308 redirect support. (#8120) Be stricter about JSON that is accepted by Synapse (#8106) Convert runWithConnection to async. (#8121) Remove the unused inlineCallbacks code-paths in the caching code (#8119) Separate `get_current_token` into two. (#8113) Convert events worker database to async/await. (#8071) Add a link to the matrix-synapse-rest-password-provider. (#8111) | ||||
* | | dinsic lint | Andrew Morgan | 2020-08-03 | 1 | -1/+1 |
| | | | | | | | | linting after the v1.18.0 mainline merge | ||||
* | | Merge commit 'de119063f' into anoa/dinsic_release_1_18_x | Andrew Morgan | 2020-08-03 | 1 | -37/+28 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'de119063f': (31 commits) Convert room list handler to async/await. (#7912) Element CSS and logo in email templates (#7919) Lint the contrib/ directory in CI and linting scripts, add synctl to linting script (#7914) Remove unused code from synapse.logging.utils. (#7897) Fix a typo in the sample config. (#7890) Fix deprecation warning: import ABC from collections.abc (#7892) Change sample config's postgres user to synapse_user (#7889) Fix deprecation warning due to invalid escape sequences (#7895) Remove Ubuntu Eoan that is now EOL (#7888) Fix the trace function for async functions. (#7872) Add help for creating a user via docker (#7885) Switch to Debian:Slim from Alpine for the docker image (#7839) Stop using 'device_max_stream_id' (#7882) Fix TypeError in synapse.notifier (#7880) Add a default limit (of 100) to get/sync operations. (#7858) Change "unknown room ver" logging to warning. (#7881) Convert device handler to async/await (#7871) Convert synapse.app to async/await. (#7868) Convert _base, profile, and _receipts handlers to async/await (#7860) Add admin endpoint to get members in a room. (#7842) ... | ||||
| * | Convert _base, profile, and _receipts handlers to async/await (#7860) | Patrick Cloke | 2020-07-17 | 1 | -36/+27 |
| | | |||||
* | | Merge commit 'a3f11567d' into dinsic | Andrew Morgan | 2020-08-03 | 1 | -4/+3 |
|\| | | | | | | | | | * commit 'a3f11567d': Replace all remaining six usage with native Python 3 equivalents (#7704) | ||||
| * | Replace all remaining six usage with native Python 3 equivalents (#7704) | Dagfinn Ilmari Mannsåker | 2020-06-16 | 1 | -5/+3 |
| | | |||||
* | | Performance improvements to marking expired users as inactive (#47) | Andrew Morgan | 2020-06-19 | 1 | -13/+28 |
| | | | | | | This is a performance-related improvement to #13, which queried and hid active *and* already inactive users, one-by-one. This PR updates the code to query only **active**, expired users, all at once, and then mark them as inactive, all at once. | ||||
* | | Merge branch 'release-v1.13.0' of github.com:matrix-org/synapse into ↵ | Andrew Morgan | 2020-06-10 | 1 | -34/+36 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dinsic-release-v1.14.x * 'release-v1.13.0' of github.com:matrix-org/synapse: (257 commits) Update changelog based on feedback. Move warnings in the changelog and re-iterate changes to branches. 1.13.0 update dh-virtualenv (#7526) 1.13.0rc3 Hash passwords earlier in the registration process (#7523) 1.13.0rc2 1.13.0rc2 Stop `get_joined_users` corruption from custom statuses (#7376) Do not validate that the client dict is stable during UI Auth. (#7483) Fix new flake8 errors (#7489) Don't UPGRADE database rows RST indenting Put rollback instructions in upgrade notes Fix changelog typo Oh yeah, RST Absolute URL it is then Fix upgrade notes link Provide summary of upgrade issues in changelog. Fix ) Move next version notes from changelog to upgrade notes ... | ||||
| * | async/await is_server_admin (#7363) | Andrew Morgan | 2020-05-01 | 1 | -19/+20 |
| | | |||||
| * | Add options to prevent users from changing their profile. (#7096) | Dirk Klimpel | 2020-03-27 | 1 | -0/+16 |
| | | |||||
| * | Revert "Add options to disable setting profile info for prevent changes. ↵ | Richard van der Hoff | 2020-03-17 | 1 | -16/+0 |
| | | | | | | | | | | | | | | (#7053)" This reverts commit 54dd28621b070ca67de9f773fe9a89e1f4dc19da, reversing changes made to 6640460d054e8f4444046a34bdf638921b31c01e. | ||||
| * | lint, fix tests | dklimpel | 2020-03-09 | 1 | -1/+3 |
| | | |||||
| * | updates after review | dklimpel | 2020-03-09 | 1 | -4/+4 |
| | | |||||
| * | lint | dklimpel | 2020-03-08 | 1 | -4/+2 |
| | | |||||
| * | changelog | dklimpel | 2020-03-08 | 1 | -2/+8 |
| | | |||||
| * | Add options to disable setting profile info for prevent changes. | dklimpel | 2020-03-08 | 1 | -0/+10 |
| | | |||||
* | | Fix sytest CI | Andrew Morgan | 2020-05-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | * Switch sytest-synapse to sytest-dinsic * Be sure to invalidate our caches properly! * Remove duplicate encryption state key definition * Remove old config option name in comment * Make dinsic the default in merge_base_branch | ||||
* | | Change displayname of user as admin in rooms (#6876) | Andrew Morgan | 2020-03-24 | 1 | -1/+11 |
|\| | | | | | | | | | * commit '7b0e2d961': Change displayname of user as admin in rooms (#6876) | ||||
| * | Change displayname of user as admin in rooms (#6876) | Dirk Klimpel | 2020-02-21 | 1 | -1/+11 |
| | | |||||
* | | Add option to allow profile queries without sharing a room (#6523) | Andrew Morgan | 2020-03-19 | 1 | -5/+5 |
|\| | | | | | | | | | * commit 'bfb95654c': Add option to allow profile queries without sharing a room (#6523) | ||||
| * | Add option to allow profile queries without sharing a room (#6523) | Will Hunt | 2019-12-16 | 1 | -1/+5 |
| | | |||||
* | | Replace instance variations of homeserver with correct case/spacing (#6357) | Andrew Morgan | 2020-03-18 | 1 | -3/+3 |
|\| | | | | | | | | | | | | | | | * commit '6e1b40dc2': sample config Add changelog A couple more instances Replace instance variations of homeserver with correct case/spacing | ||||
| * | Replace instance variations of homeserver with correct case/spacing | Andrew Morgan | 2019-11-12 | 1 | -3/+3 |
| | | |||||
* | | Remove usage of deprecated logger.warn method from codebase (#6271) | Andrew Morgan | 2020-03-16 | 1 | -1/+1 |
|\| | |||||
| * | Remove usage of deprecated logger.warn method from codebase (#6271) | Andrew Morgan | 2019-10-31 | 1 | -1/+1 |
| | | | | | | Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated. | ||||
* | | Merge pull request #5906 from matrix-org/neilj/increase_display_name_limit | Andrew Morgan | 2020-02-21 | 1 | -1/+1 |
|\| | |||||
| * | Increase max display name limit | Neil Johnson | 2019-08-24 | 1 | -1/+1 |
| | | |||||
* | | Replace returnValue with return (#5736) | Andrew Morgan | 2020-02-19 | 1 | -9/+9 |
|\| | |||||
| * | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -9/+9 |
| | | |||||
* | | Merge pull request #5644 from matrix-org/babolivier/profile-allow-self | Andrew Morgan | 2020-02-17 | 1 | -0/+4 |
|\| | |||||
| * | Allow newly-registered users to lookup their own profiles | Brendan Abolivier | 2019-07-08 | 1 | -0/+4 |
| | | | | | | | | When a user creates an account and the 'require_auth_for_profile_requests' config flag is set, and a client that performed the registration wants to lookup the newly-created profile, the request will be denied because the user doesn't share a room with themselves yet. | ||||
| * | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -46/+19 |
| | | |||||
* | | Fix with isort==4.3.21 and black==19.3b0 | Andrew Morgan | 2020-02-14 | 1 | -2/+1 |
| | | |||||
* | | Fix incorrect run_in_background import statement | Andrew Morgan | 2020-02-14 | 1 | -1/+1 |
| | | |||||
* | | Dinsic Blacking with black==18.6b2 | Andrew Morgan | 2020-02-11 | 1 | -62/+50 |
| | | |||||
* | | Merge pull request #5385 from matrix-org/erikj/reduce_http_exceptions | Andrew Morgan | 2020-02-10 | 1 | -13/+16 |
|\| | |||||
| * | Handle HttpResponseException when using federation client. | Erik Johnston | 2019-06-07 | 1 | -13/+16 |
| | | | | | | | | Otherwise we just log exceptions everywhere. | ||||
* | | Add the ability to restrict max avatar filesize and content-type (#19) | Andrew Morgan | 2019-12-12 | 1 | -0/+46 |
| | | |||||
* | | Add limit_profile_requests_to_known_users option (#18) | Andrew Morgan | 2019-12-05 | 1 | -2/+2 |
| | | |||||
* | | Allow newly-registered users to lookup their own profiles | Brendan Abolivier | 2019-07-09 | 1 | -0/+4 |
| | | | | | | | | When a user creates an account and the 'require_auth_for_profile_requests' config flag is set, and a client that performed the registration wants to lookup the newly-created profile, the request will be denied because the user doesn't share a room with themselves yet. | ||||
* | | Merge branch 'master' into dinsic | Brendan Abolivier | 2019-06-12 | 1 | -0/+13 |
|\| | |||||
| * | Limit displaynames and avatar URLs | Richard van der Hoff | 2019-06-01 | 1 | -0/+13 |
| | | | | | | | | | | | | These end up in join events everywhere, so let's limit them. Fixes #5079 | ||||
* | | Merge branch 'release-v0.99.4' into dinsic dinsic_2019-05-14 | Brendan Abolivier | 2019-05-14 | 1 | -0/+43 |
|\| | |||||
| * | add options to require an access_token to GET /profile and /publicRooms on ↵ | Matthew Hodgson | 2019-05-08 | 1 | -0/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CS API (#5083) This commit adds two config options: * `restrict_public_rooms_to_local_users` Requires auth to fetch the public rooms directory through the CS API and disables fetching it through the federation API. * `require_auth_for_profile_requests` When set to `true`, requires that requests to `/profile` over the CS API are authenticated, and only returns the user's profile if the requester shares a room with the profile's owner, as per MSC1301. MSC1301 also specifies a behaviour for federation (only returning the profile if the server asking for it shares a room with the profile's owner), but that's currently really non-trivial to do in a not too expensive way. Next step is writing down a MSC that allows a HS to specify which user sent the profile query. In this implementation, Synapse won't send a profile query over federation if it doesn't believe it already shares a room with the profile's owner, though. Groups have been intentionally omitted from this commit. | ||||
* | | Merge branch 'master' of github.com:matrix-org/synapse into dinsic | Erik Johnston | 2019-04-05 | 1 | -2/+8 |
|\| | |||||
| * | Support 3PID login in password providers (#4931) | Andrew Morgan | 2019-03-26 | 1 | -2/+8 |
| | | | | | | | | | | Adds a new method, check_3pid_auth, which gives password providers the chance to allow authentication with third-party identifiers such as email or msisdn. | ||||
* | | Isort | Erik Johnston | 2019-03-15 | 1 | -2/+2 |
| | | |||||
* | | Fixups | Erik Johnston | 2019-03-15 | 1 | -9/+13 |
| | | |||||
* | | hide_profile: false should mean not to hide the profile :/ github/matthew/red_list matthew/red_list | Matthew Hodgson | 2018-12-12 | 1 | -3/+3 |
| | | |||||
* | | add im.vector.hide_profile to user account_data | Matthew Hodgson | 2018-11-04 | 1 | -3/+6 |
| | | |||||
* | | merge master into dinsic, again... | Matthew Hodgson | 2018-11-03 | 1 | -11/+25 |
|\| | |||||
| * | Fix exception handling in fetching remote profiles | Erik Johnston | 2018-10-03 | 1 | -6/+2 |
| | | |||||
| * | Replaced all occurences of e.message with str(e) | Schnuffle | 2018-09-27 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Schnuffle <schnuffle@github.com> | ||||
| * | Rename WorkerProfileHandler to BaseProfileHandler | Erik Johnston | 2018-08-22 | 1 | -3/+10 |
| | | |||||
| * | Add assert to ensure handler is only run on master | Erik Johnston | 2018-08-22 | 1 | -0/+2 |
| | | |||||
| * | Remove redundant vars | Erik Johnston | 2018-08-22 | 1 | -3/+0 |
| | | |||||
| * | Call UserDirectoryHandler methods directly | Erik Johnston | 2018-08-17 | 1 | -21/+5 |
| | | | | | | | | | | | | | | | | Turns out that the user directory handling is fairly racey as a bunch of stuff assumes that the processing happens on master, which it doesn't when there is a synapse.app.user_dir worker. So lets just call the function directly until we actually get round to fixing it, since it doesn't make the situation any worse. | ||||
| * | Split ProfileHandler into master and worker | Erik Johnston | 2018-08-17 | 1 | -7/+14 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2018-08-09 | 1 | -31/+58 |
| |\ | | | | | | | | | | erikj/split_profiles | ||||
| * | | Allow profile changes to happen on workers | Erik Johnston | 2018-08-07 | 1 | -5/+21 |
| | | | |||||
* | | | merge in master | Matthew Hodgson | 2018-10-22 | 1 | -32/+66 |
|\ \ \ | | |/ | |/| | |||||
| * | | Return M_NOT_FOUND when a profile could not be found. (#3596) | Will Hunt | 2018-08-03 | 1 | -31/+58 |
| |/ | |||||
| * | Fix some looping_call calls which were broken in #3604 | Richard van der Hoff | 2018-07-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | It turns out that looping_call does check the deferred returned by its callback, and (at least in the case of client_ips), we were relying on this, and I broke it in #3604. Update run_as_background_process to return the deferred, and make sure we return it to clock.looping_call. | ||||
| * | Fix updating of cached remote profiles | Richard van der Hoff | 2018-07-25 | 1 | -1/+8 |
| | | | | | | | | | | | | _update_remote_profile_cache was missing its `defer.inlineCallbacks`, so when it was called, would just return a generator object, without actually running any of the method body. | ||||
* | | fix missing import and run isort dinsic_2018-07-20 | Matthew Hodgson | 2018-07-20 | 1 | -3/+3 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into dinsic | David Baker | 2018-07-19 | 1 | -1/+2 |
|\| | |||||
| * | run isort | Amber Brown | 2018-07-09 | 1 | -1/+2 |
| | | |||||
* | | Add hopefully enlightening comment | David Baker | 2018-07-18 | 1 | -1/+2 |
| | | |||||
* | | Oops, didn't mean to commit that | David Baker | 2018-07-18 | 1 | -1/+1 |
| | | |||||
* | | Remove deactivated users from profile search | David Baker | 2018-07-18 | 1 | -3/+24 |
| | | |||||
* | | don't pass a requester if we don't have one to set_displayname | Matthew Hodgson | 2018-05-04 | 1 | -4/+5 |
| | | |||||
* | | Merge branch 'dinsic' into matthew/derive-mxid-from-3pid | Matthew Hodgson | 2018-05-03 | 1 | -1/+11 |
|\ \ | |||||
| * \ | Merge pull request #3179 from matrix-org/matthew/disable-set-profile | Matthew Hodgson | 2018-05-03 | 1 | -0/+10 |
| |\ \ | | | | | | | | | options to disable setting profile info | ||||
| | * | | options to disable setting profile info | Matthew Hodgson | 2018-05-03 | 1 | -0/+10 |
| | | | | |||||
| * | | | Change profile replication URI | David Baker | 2018-05-03 | 1 | -1/+1 |
| |/ / | |||||
* / / | improve mxid & displayname selection for register_mxid_from_3pid | Matthew Hodgson | 2018-05-03 | 1 | -1/+1 |
|/ / | | | | | | | | | | | | | | | * [x] strip invalid characters from generated mxid * [x] append numbers to disambiguate clashing mxids * [x] generate displayanames from 3pids using a dodgy heuristic * [x] get rid of the create_profile_with_localpart and instead explicitly set displaynames so they propagate correctly | ||||
* | | Fix python synatx | David Baker | 2018-05-01 | 1 | -1/+2 |
| | | |||||
* | | Fix profile repl | David Baker | 2018-05-01 | 1 | -0/+1 |
| | | |||||
* | | PR feedback | David Baker | 2018-04-25 | 1 | -1/+1 |
| | | | | | | | | | | Unnecessary inlineCallbacks, missing yield, SQL comments & trailing commas. | ||||
* | | Comment why the looping call loops | David Baker | 2018-04-25 | 1 | -0/+3 |
| | | |||||
* | | pep8 again | David Baker | 2018-04-17 | 1 | -1/+3 |
| | | |||||
* | | Don't do profile repl if no repl targets | David Baker | 2018-04-17 | 1 | -7/+14 |
| | | |||||
* | | Update profile cache only on master | David Baker | 2018-04-17 | 1 | -5/+3 |
| | | | | | | | | and same for the profile replication | ||||
* | | pep8 | David Baker | 2018-04-17 | 1 | -2/+2 |
| | | |||||
* | | Handle current batch number being null | David Baker | 2018-04-17 | 1 | -2/+4 |
| | | |||||
* | | Merge remote-tracking branch 'origin/dinsic' into dbkr/profile_replication | David Baker | 2018-04-16 | 1 | -0/+5 |
|\| | |||||
| * | Only update remote profile cache on master | Erik Johnston | 2018-03-13 | 1 | -1/+4 |
| | | |||||
* | | Include origin_server in the sig! | David Baker | 2018-04-12 | 1 | -4/+5 |
| | | | | | | | | Also be consistent with underscores | ||||
* | | Trigger profile replication on profile change | David Baker | 2018-04-11 | 1 | -2/+13 |
| | | |||||
* | | Written but untested profile replication | David Baker | 2018-04-10 | 1 | -1/+69 |
|/ | |||||
* | s/replication_client/federation_client/ | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Split replication layer into two | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Split out edu/query registration to a separate class | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Move RoomMemberHandler out of Handlers | Erik Johnston | 2018-03-01 | 1 | -1/+1 |
| | |||||
* | fix pep8 and tests | Matthew Hodgson | 2017-12-04 | 1 | -1/+1 |
| | |||||
* | switch to a simpler 'search_all_users' button as per review feedback | Matthew Hodgson | 2017-12-04 | 1 | -2/+2 |
| | |||||
* | untested WIP but might actually work | Matthew Hodgson | 2017-11-29 | 1 | -0/+14 |
| | |||||
* | removed unused import flagged by flake8a | Francois Granade | 2017-11-03 | 1 | -1/+0 |
| | |||||
* | Fix for issue 2635: correctly update rooms avatar/display name when modified ↵ | Francois Granade | 2017-11-03 | 1 | -12/+8 |
| | | | | by admin | ||||
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -3/+3 |
| | | | | what could possibly go wrong | ||||
* | Add user profiles to summary from group server | Erik Johnston | 2017-08-25 | 1 | -0/+23 |
| | |||||
* | Fix typos and reinherit | Erik Johnston | 2017-08-25 | 1 | -12/+6 |
| | |||||
* | Split out profile handler to fix tests | Erik Johnston | 2017-08-25 | 1 | -5/+8 |
| | |||||
* | Add remote profile cache | Erik Johnston | 2017-08-25 | 1 | -1/+80 |
| | |||||
* | Add per user ratelimiting overrides | Erik Johnston | 2017-05-10 | 1 | -1/+1 |
| | |||||
* | Ignore backoff history for invites, aliases, and roomdirs | Richard van der Hoff | 2017-03-23 | 1 | -2/+4 |
| | | | | | Add a param to the federation client which lets us ignore historical backoff data for federation queries, and set it for a handful of operations. | ||||
* | Don't recreate so many sets | Erik Johnston | 2017-03-16 | 1 | -4/+4 |
| | |||||
* | handlers/profile: added admin override for set_displayname and set_avatar_url | Patrik Oldsberg | 2016-10-06 | 1 | -4/+4 |
| | | | | Signed-off-by: Patrik Oldsberg <patrik.oldsberg@ericsson.com> | ||||
* | Add `create_requester` function | Richard van der Hoff | 2016-07-26 | 1 | -5/+7 |
| | | | | | Wrap the `Requester` constructor with a function which provides sensible defaults, and use it throughout | ||||
* | Remove registered_users from the distributor. | Mark Haines | 2016-06-17 | 1 | -7/+0 |
| | | | | | | | | | | The only place that was observed was to set the profile. I've made it so that the profile is set within store.register in the same transaction that creates the user. This required some slight changes to the registration code for upgrading guest users, since it previously relied on the distributor swallowing errors if the profile already existed. | ||||
* | changed_presencelike_data isn't observed anywhere in synapse so can be removed | Mark Haines | 2016-04-08 | 1 | -15/+0 |
| | |||||
* | Call profile handler get_displayname directly rather than using ↵ | Mark Haines | 2016-04-07 | 1 | -28/+0 |
| | | | | collect_presencelike_data | ||||
* | Pass whole requester to ratelimiting | Daniel Wagner-Hall | 2016-03-03 | 1 | -8/+9 |
| | | | | This will enable more detailed decisions | ||||
* | Merge pull request #582 from matrix-org/erikj/presence | Erik Johnston | 2016-02-19 | 1 | -0/+3 |
|\ | | | | | Rewrite presence for performance. | ||||
| * | Initial cut | Erik Johnston | 2016-02-17 | 1 | -0/+3 |
| | | |||||
* | | Add comment | Daniel Wagner-Hall | 2016-02-16 | 1 | -1/+1 |
| | | |||||
* | | Use update_membership for profile updates | Daniel Wagner-Hall | 2016-02-15 | 1 | -16/+12 |
|/ | |||||
* | Revert "Merge two of the room join codepaths" | Daniel Wagner-Hall | 2016-02-12 | 1 | -9/+2 |
| | | | | | | This reverts commit cf81375b94c4763766440471e632fc4b103450ab. It subtly violates a guest joining auth check | ||||
* | Merge two of the room join codepaths | Daniel Wagner-Hall | 2016-02-12 | 1 | -2/+9 |
| | | | | | | | | | | | | | There's at least one more to merge in. Side-effects: * Stop reporting None as displayname and avatar_url in some cases * Joining a room by alias populates guest-ness in join event * Remove unspec'd PUT version of /join/<room_id_or_alias> which has not been called on matrix.org according to logs * Stop recording access_token_id on /join/room_id - currently we don't record it on /join/room_alias; I can try to thread it through at some point. | ||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Wrap calls to distributor.fire in appropriately named functions so that ↵ | Mark Haines | 2015-12-01 | 1 | -13/+15 |
| | | | | static analysis can work out want is calling what | ||||
* | Treat setting your display name to the empty string as removing it (SYN-186). | David Baker | 2015-05-14 | 1 | -0/+3 |
| | |||||
* | Unwrap defer.gatherResults failures | Erik Johnston | 2015-05-12 | 1 | -1/+2 |
| | |||||
* | PEP8 | Erik Johnston | 2015-05-08 | 1 | -1/+0 |
| | |||||
* | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 1 | -8/+7 |
| | |||||
* | Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This ↵ | Erik Johnston | 2015-03-09 | 1 | -2/+1 |
| | | | | uses the a storage api that is cached. | ||||
* | When setting display name more graciously handle failures to update room state. | Erik Johnston | 2015-03-06 | 1 | -7/+13 |
| | |||||
* | Replace hs.parse_userid with UserID.from_string | Mark Haines | 2015-01-23 | 1 | -1/+2 |
| | |||||
* | Merge branch 'erikj-perf' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-01-06 | 1 | -5/+5 |
|\ | |||||
| * | We don't need the full events for get_rooms_for_user_where_membership_is | Erik Johnston | 2015-01-06 | 1 | -5/+5 |
| | | |||||
* | | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
|/ | |||||
* | Rate limit display names and avatar urls per request rather than per event. | Kegan Dougal | 2014-12-19 | 1 | -2/+4 |
| | |||||
* | Rename MessageHandler.handle_event. Add a few comments. | Erik Johnston | 2014-12-15 | 1 | -1/+1 |
| | |||||
* | Remove unused snapshot | Erik Johnston | 2014-12-09 | 1 | -2/+0 |
| | |||||
* | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 1 | -11/+8 |
| | |||||
* | Change DomainSpecificString so that it doesn't use a HomeServer object | Erik Johnston | 2014-12-02 | 1 | -7/+7 |
| | |||||
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 1 | -8/+10 |
| | | | | because they don't interact well with the logging contexts | ||||
* | Don't add a 'prev' key to m.room.member messages | Erik Johnston | 2014-11-19 | 1 | -1/+0 |
| | |||||
* | Add an EventValidator. Fix bugs in auth ++ storage | Erik Johnston | 2014-11-10 | 1 | -4/+7 |
| | |||||
* | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -5/+1 |
| | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced. | ||||
* | Begin making auth use event.old_state_events | Erik Johnston | 2014-10-15 | 1 | -2/+3 |
| | |||||
* | SYN-40: When a user updates their displayname or avatar update all their ↵ | Erik Johnston | 2014-09-17 | 1 | -3/+43 |
| | | | | join events for all the rooms they are currently in. | ||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Now that HS->HS Profile lookups use Federation Queries, we don't need the ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -8/+4 |
| | | | | 'local_only' antirecursion hack | ||||
* | Use new Federation Query API to implement HS->HS fetching of remote users' ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -25/+41 |
| | | | | profile information instead of (ab)using the client-side REST API | ||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+169 |