Commit Graph

127 Commits (06ba71083eefbe1fd9a8eeed10e541dd7b52796f)

Author SHA1 Message Date
Ashish Kumar 0cfbb35131
fix broken avatar checks when server_name contains a port (#13927) 2 years ago
Nick Mills-Barrett 2b5ab8e367
Use a single query in `ProfileHandler.get_profile` (#13209) 2 years ago
Patrick Cloke f7baffd8ec
Remove remaining pieces of groups code. (#12966) 3 years ago
David Robertson fffb3c4c8f
Always allow the empty string as an avatar_url. (#12261) 3 years ago
Brendan Abolivier 300ed0b8a6
Add module callbacks called for reacting to deactivation status change and profile update (#12062) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Brendan Abolivier bf60da1a60
Configurable limits on avatars (#11846) 3 years ago
reivilibre 75ca0a6168
Annotate `log_function` decorator (#10943) 3 years ago
Patrick Cloke eb9ddc8c2e
Remove the deprecated BaseHandler. (#11005) 3 years ago
Patrick Cloke a0f48ee89d
Use direct references for configuration variables (part 7). (#10959) 3 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 3 years ago
Patrick Cloke 47854c71e9
Use direct references for configuration variables (part 4). (#10893) 3 years ago
David Robertson 60453315bd
Always add local users to the user directory (#10796) 3 years ago
Patrick Cloke b3590614da
Require type hints in the handlers module. (#10831) 3 years ago
Patrick Cloke 01c88a09cd
Use direct references for some configuration variables (#10798) 3 years ago
Jonathan de Jong 98aec1cc9d
Use inline type hints in `handlers/` and `rest/`. (#10382) 3 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke b7748d3c00
Import HomeServer from the proper module. (#9665) 4 years ago
Patrick Cloke c4a55ac4a4 Fix style checking due to updated black. 4 years ago
AndrewFerr 9bc74743d5
Add configs to make profile data more private (#9203) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Dirk Klimpel 7a2e9b549d
Remove user's avatar URL and displayname when deactivated. (#8932) 4 years ago
Patrick Cloke 0248409bfa
Handle a display name / avatar URL not included in a federation request. (#9023) 4 years ago
Erik Johnston f737368a26
Add admin API for logging in as a user (#8617) 4 years ago
Andrew Morgan e89bd3ea92
Improve error messages of non-str displayname/avatar_url (#8705) 4 years ago
Patrick Cloke 10f45d85bb
Add type hints for account validity handler (#8620) 4 years ago
LEdoian 7b13780c54
Check status codes that profile handler returns (#8580) 4 years ago
Patrick Cloke 34a5696f93
Fix typos and spelling errors. (#8639) 4 years ago
Patrick Cloke de5cafe980
Add type hints to profile and base handlers. (#8609) 4 years ago
Patrick Cloke 9e0f22874f
Consistently use wrap_as_background_task in more places (#8599) 4 years ago
Patrick Cloke 629a951b49
Move additional tasks to the background worker, part 4 (#8513) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Patrick Cloke b939251c37
Fix errors when updating the user directory with invalid data (#8223) 4 years ago
Patrick Cloke 2e6c90ff84
Do not propagate profile changes of shadow-banned users into rooms. (#8157) 4 years ago
Patrick Cloke 6fca1b3506
Convert _base, profile, and _receipts handlers to async/await (#7860) 4 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Andrew Morgan 6b22921b19
async/await is_server_admin (#7363) 5 years ago
Dirk Klimpel 8327eb9280
Add options to prevent users from changing their profile. (#7096) 5 years ago
Richard van der Hoff 6a35046363 Revert "Add options to disable setting profile info for prevent changes. (#7053)" 5 years ago
dklimpel 39f6595b4a lint, fix tests 5 years ago
dklimpel 885134529f updates after review 5 years ago
dklimpel ce460dc31c lint 5 years ago
dklimpel fb078f921b changelog 5 years ago
dklimpel 1f5f3ae8b1 Add options to disable setting profile info for prevent changes. 5 years ago
Dirk Klimpel 7b0e2d961c
Change displayname of user as admin in rooms (#6876) 5 years ago
Will Hunt bfb95654c9 Add option to allow profile queries without sharing a room (#6523) 5 years ago
Andrew Morgan bc29a19731 Replace instance variations of homeserver with correct case/spacing 5 years ago
Andrew Morgan 54fef094b3
Remove usage of deprecated logger.warn method from codebase (#6271) 5 years ago
Neil Johnson 27d3fc421a Increase max display name limit 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago