summary refs log tree commit diff
path: root/synapse/rest (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-12-29Bump changelog and version v0.18.6-rc1Mark Haines2-1/+8
2016-12-29Manually abort the underlying TLS connection.Mark Haines1-2/+10
The abort() method calls loseConnection() which tries to shutdown the TLS connection cleanly. We now call abortConnection() directly which should promptly close both the TLS connection and the underlying TCP connection. I also added some TODO markers to consider cancelling the old previous timeout rather than checking time.time(). But given how urgently we want to get this code released I'd rather leave the existing code with the duplicate timeouts and the time.time() check.
2016-12-29Respect long_retries param and default to offErik Johnston1-2/+2
2016-12-29Spelling and commentsErik Johnston1-4/+6
2016-12-29Clean upErik Johnston2-7/+4
2016-12-29Wrap connections in an N minute timeout to ensure they get reaped correctlyErik Johnston2-5/+61
2016-12-16Bump version and changelogErik Johnston2-1/+10
2016-12-15Add some logging for syncing to_device eventsRichard van der Hoff2-5/+10
Attempt to track down the loss of to_device events (https://github.com/vector-im/riot-web/issues/2711 etc).
2016-12-15Update prerequisites instructions on Mac OSmanuroe1-0/+1
2016-12-14Fix crash in url preview when html tag has no textMarcin Bachry2-1/+54
Signed-off-by: Marcin Bachry <hegel666@gmail.com>
2016-12-14CommentErik Johnston1-0/+2
2016-12-14Fix /backfill returning events it shouldn'tErik Johnston1-2/+3
2016-12-14Fixup membership queryErik Johnston1-2/+2
2016-12-13Fix caching on public room listErik Johnston1-2/+4
2016-12-13Update changelog v0.18.5-rc3 github/release-v0.18.5 release-v0.18.5Erik Johnston1-1/+1
2016-12-13Bump changelog and versionErik Johnston2-1/+35
2016-12-12Fix background update that prematurely stoppedErik Johnston1-1/+1
2016-12-12Rename network_id to instance_id on client sideErik Johnston1-1/+1
2016-12-12Add cache to get_public_room_ids_at_stream_idErik Johnston2-1/+4
2016-12-12Notify replication. Use correct network_idErik Johnston1-1/+3
2016-12-12Remove unspecced GET endpoints for e2e keysRichard van der Hoff1-39/+4
GET /keys/claim is a terrible idea, since it isn't idempotent; also it throws 500 errors if you call it without all the right params. GET /keys/query is arguable, but it's unspecced, so let's get rid of it too to stop people relying on unspecced APIs.
2016-12-12DocstringErik Johnston1-0/+12
2016-12-12Remove unused importRichard van der Hoff1-1/+0
2016-12-09E2E key query: handle federation failsRichard van der Hoff1-0/+11
Don't fail the whole request if we can't connect to a particular server.
2016-12-09Implement a null 'test' commandRichard van der Hoff1-2/+15
2016-12-09fix pythonpathRichard van der Hoff1-1/+1
2016-12-09Don't try to run tox from setup.pyRichard van der Hoff1-34/+28
Using tox to run the tests is a bad idea, as per the comments.
2016-12-09Update the readme to use trialRichard van der Hoff1-5/+14
2016-12-09Fix unit testsErik Johnston1-0/+4
2016-12-09Correctly handle timeout errorsErik Johnston2-7/+20
2016-12-09Fix broken README mergeRichard van der Hoff1-1/+1
When 546ec1a was merged into develop, I accidentally overwrote the change introduced in debbea5 (pr #1657). Reintroduce it.
2016-12-09Fix rare notifier bug where listeners dont timeoutErik Johnston2-11/+10
There was a race condition that caused the notifier to 'miss' the timeout notification, since there were no other checks for the timeout this caused listeners to get stuck in a loop until something happened.
2016-12-08Add /room/<room_id>/joined_members APIErik Johnston3-9/+38
This returns the currently joined members in the room with their display names and avatar urls. This is more efficient than /members for large rooms where you don't need the full events.
2016-12-08Add profile data to the room_membership table for joinsErik Johnston4-0/+110
2016-12-08Fix ignored read-receiptsRichard van der Hoff1-1/+5
Don't ignore read-receipts which arrive in the same EDU as a read-receipt for an old event.
2016-12-08Fix result of insert_receiptRichard van der Hoff1-1/+1
This should fix the absence of notifications when new receipts arrive.
2016-12-08Add joined_rooms servletErik Johnston1-0/+17
2016-12-07CommentsErik Johnston3-2/+12
2016-12-06Don't include appservice idErik Johnston1-1/+0
2016-12