Commit Graph

90 Commits (eb609c65d0794dd49efcd924bdc8743fd4253a93)

Author SHA1 Message Date
Richard van der Hoff b38bdae3a2
Fix AssertionErrors after purging events (#11642) 3 years ago
David Robertson 2d91b6256e
Fix adding excluded users to the private room sharing tables when joining a room (#11143) 3 years ago
David Robertson 37b845dabc
Don't remove local users from dir when the leave their last room (#11103) 3 years ago
David Robertson e09be0c87a
Correctly exclude users when making a room public or private (#11075) 3 years ago
David Robertson 317e9e415c
Rearrange the user_directory's `_handle_deltas` function (#11035) 3 years ago
David Robertson 670a8d9a1e
Fix overwriting profile when making room public (#11003) 3 years ago
David Robertson e0bf34dada
Don't alter directory entries for local users when setting a per-room nickname (#11002) 3 years ago
David Robertson 370bca32e6
Don't drop user dir deltas when server leaves room (#10982) 3 years ago
David Robertson f7b034a24b
Consistently exclude from user_directory (#10960) 3 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 3 years ago
Patrick Cloke bb7fdd821b
Use direct references for configuration variables (part 5). (#10897) 3 years ago
Patrick Cloke b3590614da
Require type hints in the handlers module. (#10831) 3 years ago
David Robertson 318162f5de
Easy refactors of the user directory (#10789) 3 years ago
Jonathan de Jong 98aec1cc9d
Use inline type hints in `handlers/` and `rest/`. (#10382) 3 years ago
Andrew Morgan c571736c6c
User directory: use calculated room membership state instead (#9821) 4 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 43f1c82457
Add back the guard against the user directory stream position not existing. (#9428) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke 1baab20352
Add type hints to various handlers. (#9223) 4 years ago
Patrick Cloke 31b1905e13
Add type hints to the receipts and user directory handlers. (#8976) 4 years ago
Dirk Klimpel c07022303e
Fix a bug that deactivated users appear in the directory (#8933) 4 years ago
Patrick Cloke be2db93b3c
Do not assume that the contents dictionary includes history_visibility. (#8945) 4 years ago
David Teller f14428b25c
Allow spam-checker modules to be provide async methods. (#8890) 4 years ago
Patrick Cloke 34a5696f93
Fix typos and spelling errors. (#8639) 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 bd6dc17221
Replace iteritems/itervalues/iterkeys with native versions. (#7692) 5 years ago
Patrick Cloke 737b4a936e
Convert user directory handler and related classes to async/await. (#7640) 5 years ago
Patrick Cloke 49f877d32e
Filter the results of user directory searching via the spam checker (#6888) 5 years ago
Erik Johnston ed630ea17c
Reduce amount of logging at INFO level. (#6862) 5 years ago
Richard van der Hoff a139420a3c
Fix races in room stats (and other) updates. (#6187) 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Andrew Morgan 4a4d5c4fd6
Fix grammar and document get_current_users_in_room (#4998) 6 years ago
Amber Brown ac396a0d32
Refactor out state delta handling into its own class (#4917) 6 years ago
Amber Brown 282c97327f
Migrate the user directory initial population to a background task (#4864) 6 years ago
Amber Brown c0332d095f fixup 6 years ago
Amber Brown 10480c4348 fixup 6 years ago
Amber Brown 5ba8ceab4c fixes 6 years ago
Amber Brown 4abc988c6a
initial 6 years ago
Amber Brown f6135d06cf
Rewrite userdir to be faster (#4537) 6 years ago
Amber Brown bb4fd8f927
Run `black` on user directory code (#4635) 6 years ago
Andrew Morgan 82a92ba535 Add metric for user dir current event stream position 6 years ago
Neil Johnson d2f7c4e6b1
create support user (#4141) 6 years ago
Richard van der Hoff b3f6dddad2
Give some more things logcontexts (#4077) 6 years ago
Erik Johnston ab822a2d1f Add some fixmes 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Amber Brown 77ac14b960
Pass around the reactor explicitly (#3385) 7 years ago
David Baker 7a1af504d7 Remove users from user directory on deactivate 7 years ago
Adrian Tschira 933bf2dd35 replace some iteritems with six 7 years ago