Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement MSC4133 to support custom profile fields. #17488

Merged
merged 48 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
e7ab5a1
Implement MSC4133 to support custom profile fields.
clokep Jul 25, 2024
a80c0eb
Newsfragment
clokep Jul 25, 2024
dcacf35
Move delta.
clokep Jul 25, 2024
60b3f00
Copy & paste error.
clokep Jul 31, 2024
d2ab9c9
Clarify docstring.
clokep Jul 31, 2024
ce405ab
Correct license.
clokep Jul 31, 2024
e4f9d7e
Fix typo.
clokep Jul 31, 2024
2c28bd5
Add more methods.
clokep Aug 9, 2024
00c02ac
Merge remote-tracking branch 'refs/remotes/origin/custom-fields' into…
clokep Aug 9, 2024
f0e02aa
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Aug 9, 2024
8030ba2
Add comment.
clokep Aug 9, 2024
735e8cc
Get tests passing.
clokep Aug 9, 2024
8d9b74e
Review comments.
clokep Aug 12, 2024
3658b6a
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Sep 5, 2024
02b852a
Handle TODO about limiting overall size.
clokep Sep 5, 2024
00ad911
Ensure fields exist.
clokep Sep 6, 2024
87ff9f8
Fix-up capabilities.
clokep Sep 9, 2024
4b44da3
Add to /versions.
clokep Sep 10, 2024
cf7499a
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Sep 10, 2024
d28bf25
Rename delta.
clokep Sep 10, 2024
52fe59f
Updates from MSC.
clokep Oct 9, 2024
66878c4
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Oct 31, 2024
1c98d96
Get postgres working again.
clokep Oct 31, 2024
749e27d
Working on sqlite again.
clokep Nov 1, 2024
6936daf
Move schema delta again.
clokep Nov 1, 2024
64fe222
Fix-up max length checks.
clokep Nov 4, 2024
6c777b2
Fix-up fetching individual fields.
clokep Nov 6, 2024
7cc1264
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Nov 7, 2024
91a29e5
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Nov 14, 2024
4318bdd
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Dec 5, 2024
11cc48a
Remove the PATCH endpoint.
clokep Dec 5, 2024
adb64d8
Match the MSC error codes.
clokep Dec 6, 2024
069d6f9
Merge branch 'develop' into custom-fields
clokep Dec 19, 2024
2a327bf
Remove PUT endpoint.
clokep Dec 20, 2024
2357ae9
Merge remote-tracking branch 'refs/remotes/origin/custom-fields' into…
clokep Dec 20, 2024
f176237
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Dec 20, 2024
8fc0612
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Dec 31, 2024
d82bfcd
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Jan 3, 2025
57bf948
Merge branch 'develop' into custom-fields
clokep Jan 9, 2025
af3567a
Clarify comments & minor nits.
clokep Jan 10, 2025
d2262c2
Add more user_id checks.
clokep Jan 10, 2025
78ea34f
Expand tests.
clokep Jan 10, 2025
cfbdd8c
Fix-up disallowed capabilities
clokep Jan 17, 2025
28421bc
Add better grammar checking.
clokep Jan 17, 2025
48e5d19
Fix negation
clokep Jan 20, 2025
bd23371
Clarify errors.
clokep Jan 20, 2025
5e4a13b
More tests
clokep Jan 20, 2025
c38f229
Merge remote-tracking branch 'upstream/develop' into custom-fields
clokep Jan 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add comment.
  • Loading branch information
clokep committed Aug 9, 2024
commit 8030ba29f4dbcb58c62b84f514cbe2612ba4df10
2 changes: 2 additions & 0 deletions synapse/rest/client/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@ async def on_DELETE(


def register_servlets(hs: "HomeServer", http_server: HttpServer) -> None:
# The specific displayname / avatar URL / custom field endpoints *must* appear
# before their corresponding generic profile endpoint.
ProfileDisplaynameRestServlet(hs).register(http_server)
ProfileAvatarURLRestServlet(hs).register(http_server)
ProfileRestServlet(hs).register(http_server)
Expand Down