summary refs log tree commit diff
path: root/synapse/handlers/message.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #144 from matrix-org/erikj/logging_contextMark Haines2015-05-121-2/+3
|\ | | | | Preserving logging contexts
| * Unwrap defer.gatherResults failuresErik Johnston2015-05-121-2/+3
| |
* | Make get_current_token accept a direction parameter, which tells whether the ↵Erik Johnston2015-05-121-1/+3
| | | | | | | | source whether we want a token for going 'forwards' or 'backwards'
* | Initial hack at wiring together pagination and backfillErik Johnston2015-05-111-1/+9
|/
* Make simple query rather than long one and then throw away half the resultsErik Johnston2015-04-301-2/+1
|
* Do more parellelization for initialSyncErik Johnston2015-04-151-7/+11
|
* Parellelize initial syncErik Johnston2015-04-151-2/+8
|
* Reindent code to be less human-readable to keep pep8 from complainingPaul "LeoNerd" Evans2015-02-121-1/+1
|
* Appease pyflakesPaul "LeoNerd" Evans2015-02-121-1/+1
|
* Can now remove the FIXME tooPaul "LeoNerd" Evans2015-02-121-10/+3
|
* Only attempt to fetch presence state of JOINed members in room initialSync ↵Paul "LeoNerd" Evans2015-02-121-0/+1
| | | | (SYN-202)
* During room intial sync, only calculate current state once.Erik Johnston2015-02-091-10/+22
|
* SYN-202: Log as WARN the 404 'Presence information not visible' errors ↵Erik Johnston2015-02-051-5/+12
| | | | instead of as ERROR since they were spamming the logs
* Extract the id token of the token when authing users, include the token and ↵Mark Haines2015-01-281-1/+11
| | | | device_id in the internal meta data for the event along with the transaction id when sending events
* Pass the current time to serialize event, rather than passing anMark Haines2015-01-261-6/+15
| | | | | | HS and getting a clock from it and calling time_msec on the clock. Remove the serialize_event method from the HS since it is no longer needed.
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-6/+7
|
* Add raw query param for scrollback.Kegan Dougal2015-01-081-2/+5
|
* Return the raw federation event rather than adding extra keys for federation ↵Kegan Dougal2015-01-081-2/+3
| | | | data.
* Add missing continuation indent.Erik Johnston2015-01-081-1/+2
|
* Add 'raw' query parameter to expose the event graph and signatures to savvy ↵Kegan Dougal2015-01-081-2/+4
| | | | clients.
* RoomsForUser now has sender instead of user_idErik Johnston2015-01-061-1/+1
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* bump_presence_active_time when sending a message eventMark Haines2014-12-191-0/+6
|
* Don't ratelimit room create eventsMark Haines2014-12-191-2/+3
|
* Merge branch 'release-v0.6.0' into developMark Haines2014-12-161-0/+5
|\
| * Enable rate limiting for all eventsErik Johnston2014-12-161-0/+5
| |
* | Remove send_message since nothing was calling it. Remove Snapshot because ↵Mark Haines2014-12-161-38/+0
|/ | | | only send_message was using it
* Kill off synapse.api.events.*Erik Johnston2014-12-161-1/+0
|
* Rename MessageHandler.handle_event. Add a few comments.Erik Johnston2014-12-151-1/+13
|
* Validate message, topic and name event contentsErik Johnston2014-12-121-1/+1
|
* Add some basic event validationErik Johnston2014-12-101-2/+6
|
* Fix bug when uploading state with empty state_keyErik Johnston2014-12-101-15/+0
|
* Try and figure out how and why signatures are being changed.Erik Johnston2014-12-101-1/+0
|
* More bug fixesErik Johnston2014-12-081-0/+12
|
* Convert rest and handlers to use new event structureErik Johnston2014-12-041-1/+22
|
* Change DomainSpecificString so that it doesn't use a HomeServer objectErik Johnston2014-12-021-1/+1
|
* Fix bugs in invite/join dances.Erik Johnston2014-11-251-1/+1
| | | | | We now do more implement more of the auth on the events so that we don't reject valid events.
* SYN-58: Allow passing explicit limit=0 to initialSync to request no messages ↵Paul "LeoNerd" Evans2014-11-201-1/+1
| | | | at all; missing still implies default 10
* Fix pep8 codestyle warningsMark Haines2014-11-201-3/+3
|
* Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵Mark Haines2014-11-201-3/+5
| | | | because they don't interact well with the logging contexts
* Remove unused variableMark Haines2014-11-181-1/+1
|
* Rename message handler's new snapshot_room to room_initial_sync() as that ↵Paul "LeoNerd" Evans2014-11-181-1/+1
| | | | better suits its purpose
* Include room members' presence in room initialSyncPaul "LeoNerd" Evans2014-11-181-1/+22
|
* Include 'messages' snapshot in room initialSyncPaul "LeoNerd" Evans2014-11-181-1/+20
|
* Merge branch 'develop' into room-initial-syncPaul "LeoNerd" Evans2014-11-171-63/+26
|\ | | | | | | | | Conflicts: synapse/handlers/message.py
| * PEP8ifyErik Johnston2014-11-111-9/+12
| |
| * Only allow people in a room to look up room state.Erik Johnston2014-11-111-34/+4
| |
| * Implement new replace_state and changed prev_stateErik Johnston2014-11-061-8/+3
| | | | | | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced.
| * Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2014-10-301-3/+7
| |\ | | | | | | | | | federation_authorization
| * \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2014-10-271-13/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/federation/transport.py synapse/handlers/message.py
| * | | Use state groups to get current state. Make join dance actually work.Erik Johnston2014-10-171-3/+3
| | | |
| * | | Begin making auth use event.old_state_eventsErik Johnston2014-10-151-10/+3
| | | |
* | | | Include room membership in room initialSyncPaul "LeoNerd" Evans2014-11-101-1/+7
| | | |
* | | | Put room state in room initialSync output - I guess this is right; I really ↵Paul "LeoNerd" Evans2014-11-101-2/+5
| | | | | | | | | | | | | | | | can't find any other tests similar...
* | | | Have room initialSync return the room's room_idPaul "LeoNerd" Evans2014-11-101-0/+11
| |_|/ |/| |
* | | Construct a source-specific 'SourcePaginationConfig' to pass into ↵Paul "LeoNerd" Evans2014-10-291-3/+7
| |/ |/| | | | | get_pagination_rows; meaning each source doesn't have to care about its own name any more
* | SPEC-7: Don't stamp event contents with 'hsob_ts'Mark Haines2014-10-171-13/+3
|/
* Implemented /rooms/$roomid/state API.Kegan Dougal2014-09-231-0/+16
|
* SYWEB-3 : Added 'visibility' key to rooms returned via /initialSyncKegan Dougal2014-09-171-0/+5
|
* Correctly handle the 'age' key in events and pdusErik Johnston2014-09-151-3/+3
|
* Generate m.room.aliases event when the HS creates a room aliasErik Johnston2014-09-051-2/+2
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Snapshot prev_state for generic eventsErik Johnston2014-09-031-1/+6
|
* rate limiting for message sendingMark Haines2014-09-021-0/+2
|
* Add message to assertionErik Johnston2014-09-021-1/+1
|
* Bump a user's presence last_active time every time they send a message to a roomPaul "LeoNerd" Evans2014-09-011-0/+4
|
* Perform room unit tests with 'local' users actually in the right domain ;)Paul "LeoNerd" Evans2014-09-011-0/+4
|
* Rename 'events_key' to 'room_key' so it matches the name of the event sourcePaul "LeoNerd" Evans2014-08-291-3/+3
|
* Get the equalities right.Erik Johnston2014-08-291-2/+5
|
* Split out MessageHandlerErik Johnston2014-08-271-0/+301