Commit Graph

68 Commits (9f633bc1252ceb98999fb74c56cc3e3914067743)

Author SHA1 Message Date
Erik Johnston dce6395395 When creating a room and a user supplies a room_alias but no name, use the room_alias as the name. 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Mark Haines c6eafdfbaf Add copyright notices and fix pyflakes errors 10 years ago
Mark Haines 780548b577 rate limiting for message sending 10 years ago
Erik Johnston 10e7821461 By default, only room ops can change the name and topic. 10 years ago
Erik Johnston 040d985908 Add support for setting room name and topic when creating rooms 10 years ago
Erik Johnston 48142a01dd Don't set a 'default' key in the creation event 10 years ago
Erik Johnston 6d28560626 Don't put required power levels on permission state events 10 years ago
Erik Johnston b8ab9f1c0a Add all the necessary checks to make banning work. 10 years ago
Erik Johnston db7109c43b Add beginnings of ban support. 10 years ago
Erik Johnston 865469f233 Implement power level lists, default power levels and send_evnet_level/add_state_level events. 10 years ago
Paul "LeoNerd" Evans a8e8d1d06c Renamed get_current_token_part to get_current_key 10 years ago
Paul "LeoNerd" Evans eec67a675f Have EventSource's get_new_events_for_user() API work only on keys within that source, not overall eventstream tokens 10 years ago
Paul "LeoNerd" Evans 4bfdec1eb2 Rename 'events_key' to 'room_key' so it matches the name of the event source 10 years ago
Paul "LeoNerd" Evans 20d0db6cfb Move the *EventSource classes into the handlers they relate to, so it's easier to find the code 10 years ago
Erik Johnston b485d622cc Fix bug where we used UserID objects instead of strigns 10 years ago
Erik Johnston d2bc5d6f29 Create the correct events with the right configuration when creating a new room. 10 years ago
Erik Johnston c2b4b73751 Split out MessageHandler 10 years ago
Mark Haines b30358f439 add _get_room_member, fix datastore methods 10 years ago
Erik Johnston 52cb5e6324 Remove stale FIXMEs 10 years ago
Erik Johnston 8af5e360d6 Remove store_id from notifier.on_new_room_event calls. 10 years ago
Erik Johnston bfe9faad5a Index sources in a nicer fashion. 10 years ago
Erik Johnston 05672a6a8c Convert get_paginat_rows to use PaginationConfig. This allows people to supply directions. 10 years ago
Mark Haines a0d1f5a014 Start updating state handling to use snapshots 10 years ago
Erik Johnston 77a255c7c3 PEP8 tweaks. 10 years ago
Erik Johnston bd16b93e8f Implement presence event source. Change the way the notifier indexes listeners 10 years ago
Mark Haines d2798de660 Fold federation/handler into handlers/federation 10 years ago
Erik Johnston 67c5f89244 Enable presence again. Fix up api to match old api. 10 years ago
Erik Johnston 3a2a5b959c WIP: Completely change how event streaming and pagination work. This reflects the change in the underlying storage model. 10 years ago
Mark Haines a498df0428 Move new event boilerplate in room handlers into a method on a base clase. 10 years ago
Erik Johnston 9a93e83d90 Respect 'limit' param in initialSync api 10 years ago
Mark Haines 3281fec07a Use state_key rather than target_user_id 10 years ago
Mark Haines ac21dfff6d Fix pyflakes errors 10 years ago
Mark Haines 32347bfcc9 fix a few pyflakes errors 10 years ago
Kegan Dougal cab3095803 Removed member list servlet: now using generic state paths. 10 years ago
Erik Johnston b18db63c06 Turn off more spammy logging. 10 years ago
Mark Haines 1379dcae6f Take a snapshot of the state of the room before performing updates 10 years ago
Erik Johnston e7ee0b9fc1 Change IM sync api to also return the current presence list. 10 years ago
Erik Johnston 3d1cae0e79 In the initial sync api, return the inviter for rooms in the 'invited' state 10 years ago
Erik Johnston c6950b18cc Return the current state in the initial sync api. 10 years ago
Paul "LeoNerd" Evans 583add34fe Use the "collect_presencelike_data" distributor signal instead of re-implementing its behaviour 10 years ago
Paul "LeoNerd" Evans 50718825bd Fix exception name in _fill_out_join_content() exception 10 years ago
Paul "LeoNerd" Evans 9c0e570496 Kill the "_homeserver_" injected messages for room membership changes 10 years ago
Erik Johnston 5ef0948eaa Better handle the edge cases of trying to remote join rooms 10 years ago
Erik Johnston 849627b82e Don't generate room membership messages. Include previous state of in membership messages. 10 years ago
Erik Johnston 598a1d8ff9 Change the way pagination works to support out of order events. 10 years ago
Erik Johnston 1422a22970 Fix typos in SQL and where we still had rowid's (which no longer exist) 10 years ago
Erik Johnston 4eb8f84aa8 Make snapshot_all_rooms return results in the correct form, including start and end tokens. 10 years ago
Erik Johnston dccb2f57be Disable the ability to GET individualy messages. We need to think about the correct API to do this, as the current one doesn't make much sense. 10 years ago
Erik Johnston 6efc688917 Fix typo of key name 10 years ago