Commit Graph

1846 Commits (ec2b5d8c284451179c0f7b72c46dda0dd81f6f5f)
 

Author SHA1 Message Date
Paul "LeoNerd" Evans 1731781145 Document that /rooms/:room_id/members/list yields profile and presence information about room members 10 years ago
Paul "LeoNerd" Evans 9c41f635a9 When starting to poll for presence, also include members of all shared rooms 10 years ago
Erik Johnston 40c020ad13 Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor 10 years ago
Paul "LeoNerd" Evans ec1fd20e59 Also include users' presence when responding to /rooms/:room_id/members/list 10 years ago
Erik Johnston 0e938b1ff7 Rename method name to not clash with other ones in storage. 10 years ago
Erik Johnston 6efc688917 Fix typo of key name 10 years ago
Erik Johnston 506711749f We no longer need to special case room config events. 10 years ago
Erik Johnston a17b371384 Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor 10 years ago
Erik Johnston d260a42ca2 PEP8 cleanups 10 years ago
Erik Johnston 8fa3cc37f9 Comment. 10 years ago
Erik Johnston 19946509a4 Support generic events. 10 years ago
Erik Johnston cd2967d271 Fix bug when generating a key when get_room_events_stream returned zero rows 10 years ago
Erik Johnston 86be66c34e Actually use MAX_STREAM_SIZE constant. 10 years ago
Erik Johnston 8d1f763209 Fix pagination to work with new db schema 10 years ago
Paul "LeoNerd" Evans 3c532314ec Fix imsync's SELECT query to only find the rooms I'm actually joined in, not every room I have ever joined 10 years ago
Erik Johnston 01f089d9fb Correctly return new token when returning events. Serialize events correctly. 10 years ago
Paul "LeoNerd" Evans 5c88e57555 Create a room-nuking script as it's useful for emergency debugging 10 years ago
Kegan Dougal 5ac87292c4 Remove old polling stuff from RoomController. Added service comments. Do not start the event stream on startup unless you have credentials. 10 years ago
Kegan Dougal 7ddb7a5cbb Event streaming now happens on an app level, rather than a per-room level. Make eventStreamService manage it's own repolling provided no one calls stop() on it. Couple the stream with eventHandlerService so any controller can just blithely call eventStreamService.resume() and expect to 'get stuff' without having to handle promises (though resume() still returns a promise for that request and proxies it through $q). Kill and reset the stream if you logout. 10 years ago
Kegan Dougal c51cf4efca Store messages in $rootScope so they can be accessed from multiple controllers without duplicated storage for each. This also gives updates. 10 years ago
Kegan Dougal 5dbceaf5a4 Added event handler service which.. handles events. More specifically, it $broadcasts events depending on their type, and does processing on events (shuffling keys, adding events to $rootScope so displays will automatically update, sending delivery receipts, and so on). Some of this logic was previously contained in the RoomController, which fails the moment you add >1 room into the mix, hence requiring a Service to handle events, rather than having each individual controller maintain their part of the world. 10 years ago
Kegan Dougal 8bf3994c2e Added event stream service which neatly blobs together requests / state for the event stream. This depends on matrix service to do the actual hit. Currently this has exactly the same behaviour as before. 10 years ago
Erik Johnston 114984a236 Start chagning the events stream to work with the new DB schema 10 years ago
Erik Johnston d72f897f07 Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor 10 years ago
Erik Johnston c5f2da5875 Add a check to make sure that during state conflict res we only request a PDU we don't have. 10 years ago
Erik Johnston 1a26905cc9 Fix pontenial bug in state resolution handler that compared dicts rather than their id's 10 years ago
Paul "LeoNerd" Evans 33d62c2c66 Remember to reflect membership LEAVE events to the leaving member so they know it happened 10 years ago
Erik Johnston 5002efa31b Reimplement the get public rooms api to work with new DB schema 10 years ago
Kegan Dougal 286e90e58f Updated README about -w in all the places. 10 years ago
Matthew Hodgson 0b179db36d s/Synapse/Matrix/ 10 years ago
Matthew Hodgson 7a025d6368 It's called Matrix :) 10 years ago
Erik Johnston 2c46bb6208 Fix up typos and correct sql queries 10 years ago
Erik Johnston 7e681ad778 Update StreamStore 10 years ago
Matthew Hodgson 3ddfc949dc manual syutil 10 years ago
Kegan Dougal 24dfdb4a7d Update README to mention -w and remove SimpleHTTPServer 10 years ago
Paul "LeoNerd" Evans 94eb2560f4 Add documentation about Federation Queries and EDUs 10 years ago
Matthew Hodgson 856f29c03c fix linewrap 10 years ago
Kegan Dougal 5de086b736 More helpful display when the event stream fails, wiping it when the connection is regained. 10 years ago
Emmanuel ROHEE e6c62d5d7f We can now upload avatar image somewhere 10 years ago
Emmanuel ROHEE deae7f4f5d Create a temporary upload service server side (by hacking demos/webserver.py) and client side with an angularjs service component. 10 years ago
Emmanuel ROHEE f5973d8ddb Create a temporary upload service server side (by hacking demos/webserver.py) and client side with an angularjs service component. 10 years ago
Erik Johnston 661c711765 Start fixing places that use the data store. 10 years ago
Kegan Dougal 30da8c81c7 webclient: You can now paginate in rooms. Defaults to 10 messages, with a button to get more (needs to be hooked into infini-scrolling). 10 years ago
Erik Johnston 78b501eba6 Fix typo 10 years ago
Erik Johnston 2529f2bc01 Rename _execute_query 10 years ago
Kegan Dougal fef3183461 Pass back the user_id in the response to /login in case it has changed. Store and use that on the webclient rather than the input field. 10 years ago
Kegan Dougal ca3747fb2f hs: Make /login accept full user IDs or just local parts. webclient: Only enable Register button when both password fields match. 10 years ago
Paul "LeoNerd" Evans 53147e5ae4 Reflect user's messages up to themselves before pushing it to federatoin; also release roomlock before touching federation so we don't halt progress on the world 10 years ago
Paul "LeoNerd" Evans 93a8be7bef We really don't need debug logging of all the SQL statements we execute; we're quite happy these all work now 10 years ago
Kegan Dougal 6f925f61ff Auto-correct the username when logging in if there isn't an @ 10 years ago