-
- Downloads
Implement MSC4133 to support custom profile fields. (#17488)
Implementation of [MSC4133](https://github.com/matrix-org/matrix-spec-proposals/pull/4133) to support custom profile fields. It is behind an experimental flag and includes tests. ### Pull Request Checklist <!-- Please read https://element-hq.github.io/synapse/latest/development/contributing_guide.html before submitting your pull request --> * [x] Pull request is based on the develop branch * [x] Pull request includes a [changelog file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog). The entry should: - Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from `EventStore` to `EventWorkerStore`.". - Use markdown where necessary, mostly for `code blocks`. - End with either a period (.) or an exclamation mark (!). - Start with a capital letter. - Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry. * [x] [Code style](https://element-hq.github.io/synapse/latest/code_style.html) is correct (run the [linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters) ) --------- Co-authored-by:Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Showing
- changelog.d/17488.feature 1 addition, 0 deletionschangelog.d/17488.feature
- synapse/api/errors.py 4 additions, 0 deletionssynapse/api/errors.py
- synapse/config/experimental.py 3 additions, 0 deletionssynapse/config/experimental.py
- synapse/handlers/profile.py 133 additions, 5 deletionssynapse/handlers/profile.py
- synapse/rest/client/capabilities.py 17 additions, 0 deletionssynapse/rest/client/capabilities.py
- synapse/rest/client/profile.py 189 additions, 4 deletionssynapse/rest/client/profile.py
- synapse/rest/client/versions.py 2 additions, 0 deletionssynapse/rest/client/versions.py
- synapse/storage/databases/main/profile.py 296 additions, 16 deletionssynapse/storage/databases/main/profile.py
- synapse/storage/schema/main/delta/88/01_custom_profile_fields.sql 15 additions, 0 deletions...storage/schema/main/delta/88/01_custom_profile_fields.sql
- synapse/util/stringutils.py 12 additions, 0 deletionssynapse/util/stringutils.py
- tests/rest/client/test_capabilities.py 44 additions, 0 deletionstests/rest/client/test_capabilities.py
- tests/rest/client/test_profile.py 296 additions, 0 deletionstests/rest/client/test_profile.py
- tests/util/test_stringutils.py 27 additions, 1 deletiontests/util/test_stringutils.py
Loading
Please register or sign in to comment