summary refs log tree commit diff
path: root/synapse/rest/media (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-07pep8David Baker1-0/+1
2015-12-07Add logging to pushers API to log the body of the requestDavid Baker1-0/+4
2015-12-07Add a setter for the current log context.Mark Haines1-16/+24
Move the resource tracking inside that setter so that it is easier to make sure that the resource tracking isn't double counting the resource usage.
2015-12-07Take object not boolDaniel Wagner-Hall1-0/+5
Allows bool as legacy fallback See https://github.com/matrix-org/matrix-doc/pull/212
2015-12-05Added installation instructions for postgres on CentOS 7Mads R. Christensen1-2/+15
2015-12-04Bump schema version.Mark Haines5-24/+37
As we released version 26 in v0.11.1
2015-12-04Add metrics to track the cpu on the main thread consumed by each type of requestMark Haines1-0/+17
2015-12-04Add comments to explain why we are hardcoding RUSAGE_THREADMark Haines1-0/+8
2015-12-04Fix warningsMark Haines2-3/+13
2015-12-03Track the cpu used in the main thread by each logging contextMark Haines3-10/+72
2015-12-03Flatten devices into a dict, not a listDaniel Wagner-Hall1-4/+3
2015-12-03Reuse the captcha client rather than creating a new one for each requestMark Haines1-4/+2
2015-12-02Fix implementation of /admin/whoisDaniel Wagner-Hall2-18/+12
2015-12-02Just replace the table definition with the one from full_schema 16David Baker1-11/+10
2015-12-02Fix schema delta 15 on postgres in the very unlikley event that anyone ↵David Baker1-1/+1
upgrades to 15...
2015-12-02Make state updates in the C+S API idempotentMark Haines1-0/+12
2015-12-02Update endpoints to reflect current specDaniel Wagner-Hall6-35/+11
2015-12-02Throw if unrecognized DB typeErik Johnston1-1/+4
2015-12-02Older versions of SQLite don't like IF NOT EXISTS in virtual tablesErik Johnston1-1/+1
2015-12-02Fix so highlight matching works againErik Johnston1-8/+13
2015-12-02Remove deuplication. Add comment about regex.Erik Johnston1-21/+11
2015-12-02Use the context returned by _handle_new_eventMark Haines1-4/+1
2015-12-02Search: Add prefix matching supportErik Johnston1-5/+32
2015-12-02Reuse a single http client, rather than creating new onesMark Haines3-18/+10
2015-12-02Change the m.room.message rule to be disabled by default so we only notify ↵David Baker1-0/+1
for 1:1 rooms / highlights out-of-the-box
2015-12-02Fix typo in collect_presencelike_dataMark Haines1-1/+1
2015-12-02Add commentsMark Haines2-0/+6
2015-12-02Added a single line to explain what the server_name is used forMads R. Christensen1-0/+1
2015-12-02Added a few lines to better explain how to run Synapse on a FQDN that is not ↵Mads R. Christensen1-0/+4
part of the UserID
2015-12-01various fixes - thanks to Mark White for pointing out you need to run ↵Matthew Hodgson1-12/+13
synapse before you try to register a new user
2015-12-01Fix definitions scriptMark Haines1-1/+1
2015-12-01Wrap calls to distributor.fire in appropriately named functions so that ↵Mark Haines7-53/+78
static analysis can work out want is calling what
2015-12-01Only fire user_joined_room if the membership has changedMark Haines1-3/+8
2015-12-01Added --report-status=yes|no as Synapse won't generate the config without itMads R. Christensen1-2/+3
2015-12-01Added libffi-devel in CentOS 7 installation requirements and fixed ↵Mads R. Christensen1-2/+2
indentation of yum groupinstall. Signed-off-by: Mads Robin Christensen <mads@v42.dk>
2015-12-01Add API for setting account_data globaly or on a per room basisMark Haines11-25/+476
2015-12-01Host /unstable and /r0 versions of r0 APIsDaniel Wagner-Hall27-117/+133
2015-12-01Search: Don't disregard grouping info in pagination tokensErik Johnston1-3/+12
2015-12-01rename the method in the tests as wellMark Haines1-3/+3
2015-12-01Only fire user_joined_room on the distributor if the user has actually ↵Mark Haines1-4/+6
joined the room
2015-12-01Rename presence_handler.send_invite to presence_handler.send_presence_invite ↵Mark Haines2-2/+2
to distinguish it from normal invites
2015-12-01Add options to definitions.py to fetch referrers and to output dotMark Haines1-6/+39
2015-12-01Write the tap results for each database to different files when running sytestMark Haines1-2/+2
2015-12-01Set the port when running sytest under postgresqlMark Haines1-1/+1
2015-12-01Use a PORT_BASE environment variable to configure the ports that sytest usesMark Haines1-12/+4
2015-12-01Only add the user_id if the sender is presentMark Haines1-1/+3
2015-12-01Tidy up a bitErik Johnston1-8/+9
2015-11-30Copy rather than move the fields to shuffle between a v1 and a v2 event.Mark Haines1-9/+5
This should make all v1 APIs compatible with v2 clients. While still allowing v1 clients to access the fields. This makes the documentation easier since we can just document the v2 format and explain that some of the fields, in some of the APIs are duplicated for backwards compatibility, rather than having to document two separate event formats.
2015-11-30Allow paginating search ordered by recentsErik Johnston4-84/+219
2015-11-27Return words to highlight in search resultsErik Johnston2-22/+120
2015-11-26Run sytest against postgresql if appropriate databases exist for it to run ↵Mark Haines1-0/+33
against
2015-11-26Allow user to redact with an equal powerErik Johnston1-1/+1
Users only need their power level to be equal to the redact level for them to be allowed to redact events.
2015-11-23Fix SQL for postgres againDaniel Wagner-Hall1-1/+1
2015-11-23Fix SQL for postgresDaniel Wagner-Hall1-1/+1
2015-11-23Remove size specifier for database columnDaniel Wagner-Hall1-1/+3
Postgres doesn't support them like this. We don't have a bool type in common between postgres and sqlite.
2015-11-20Added myself to AUTHORS.rstMads R. Christensen1-0/+3
Signed-off-by: Mads Robin Christensen <mads@v42.dk>
2015-11-20Added prerequisite instructions for CentOS 7Mads R. Christensen1-0/+8
Signed-off-by: Mads Robin Christensen <mads@v42.dk>
2015-11-20Fix typoErik Johnston2-3/+3
2015-11-20Don't limit connections to perspective serversErik Johnston2-22/+21
2015-11-20Add option to include the current room stateErik Johnston1-0/+24
2015-11-20CommentErik Johnston1-0/+8
2015-11-20Optionally include historic profile infoErik Johnston1-1/+30
2015-11-20Use min and not max to set an upper bound on retry intervalErik Johnston1-2/+2
2015-11-19Ignore forgotten rooms in v2 syncDaniel Wagner-Hall1-1/+1
2015-11-19Remove m.login.token from advertised flows.Erik Johnston1-1/+2
2015-11-19Take a boolean not a list of lambdasDaniel Wagner-Hall2-9/+18
2015-11-19Simplify codeDaniel Wagner-Hall2-8/+6
2015-11-19Bump changes and versionErik Johnston2-1/+6
2015-11-19CommentErik Johnston1-0/+2
2015-11-19Put back the 'state.events' subobjectRichard van der Hoff1-1/+1
We're keeping 'events', in case we decide to add more keys later.
2015-11-19v2 /sync: Rename the keys of the 'rooms' object to match member statesRichard van der Hoff1-3/+3
joined->join invited->invite archived->leave
2015-11-19Flatten the /sync response to remove the event_mapRichard van der Hoff2-24/+14
2015-11-19SpellingErik Johnston1-1/+1
2015-11-18Share sytest clone acr