summary refs log tree commit diff
path: root/synapse/storage (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-04-27Better grammar for multiple messages in a roomDavid Baker2-10/+33
Say who the messages are from if there's no room name, otherwise it's a bit nonsensical
2016-04-27Hopefully all remaining bits for email notifsDavid Baker7-42/+195
Add public facing base url to the server so synapse knows what URL to use when converting mxc to http urls for use in emails
2016-04-25More variable calculation for email notifsDavid Baker3-19/+76
Include name of the person we're sending to and add summary text at the top giving an overview of what's happened.
2016-04-25TypoDavid Baker1-1/+1
2016-04-22No we don't: it's just the display nameDavid Baker1-1/+0
2016-04-22Actually do UTF8 correctlyDavid Baker1-1/+1
2016-04-22Sort member eventsDavid Baker1-0/+4
So names of people in a room are given in order
2016-04-22Mime part is binary so encode it first.David Baker1-1/+1
Doesn't get character enocind right yet but makes it not error.
2016-04-22Implement group-of-people namesDavid Baker1-17/+14
2016-04-22No inlineCallbacks necessary on thisDavid Baker1-1/+0
2016-04-21Add WIP email template filesDavid Baker2-0/+20
2016-04-21Flesh out email templatingDavid Baker4-4/+208
Mostly WIP porting the room name calculation logic from the web client so our room names in the email mirror the clients.
2016-04-20Generate mails from a templateDavid Baker4-31/+49
2016-04-20more pep8David Baker1-1/+1
2016-04-20Send a rather basic email notifDavid Baker6-12/+136
Also pep8 fixes
2016-04-19Add single instance & logging stuffDavid Baker1-8/+39
Copy the stuff over from http pusher that prevents multiple instances of process running at once and sets up logging and measure blocks.
2016-04-19First bits of emailpusherDavid Baker7-8/+335
Mostly logic of when to send an email
2016-04-19Move MediaRepository to media_repository moduleErik Johnston5-489/+496
2016-04-19Split out BaseMediaResource into MediaRepositoryErik Johnston6-138/+180
This is so that a single MediaRepository can be shared across all resources, rather than having a "copy" per resource. In particular this allows us to guard against both the thumbnail and download resource triggering a download of remote content at the same time.
2016-04-18Create log context in Measure if one doesn't existErik Johnston2-8/+19
2016-04-15explicitly pass in the charset from Content-Type to lxml to fix cyrillic ↵Matthew Hodgson1-6/+18
woes better
2016-04-15fix cyrillic URL previews by hardcoding all page decoding to UTF-8 for now, ↵Matthew Hodgson1-16/+8
rather than relying on lxml's heuristics which seem to get it wrong
2016-04-15Lower timeout for make_membership_eventErik Johnston1-1/+2
Calls to make_membership_event are done in response to client requests, and so should not be retried over long timeframes.
2016-04-15Simplify _check_passwordErik Johnston1-5/+9
2016-04-15Use SynapseError 504 for Timeout errorsErik Johnston1-1/+2
2016-04-14Fix check_password rather than inverting the meaning of ↵Mark Haines1-9/+12
_check_local_password (#730)
2016-04-14Fix login to error for nonexistent usersDavid Baker1-1/+1
Fixes SYN-680
2016-04-14fix urlparse import thinko breaking tiny URLsMatthew Hodgson1-5/+5
2016-04-14Make v2_alpha reg follow the AS API specificationKegan Dougal1-0/+5
The spec is clear the key should be 'user' not 'username' and this is indeed the case for v1. This is not true for v2_alpha though, which is what this commit is fixing.
2016-04-14comment out 2c838f6459db35ad9812a83184d85a06ca5d940a due to risk of ↵Matthew Hodgson1-16/+16
https://en.wikipedia.org/wiki/Billion_laughs attacks - thanks @torhve
2016-04-14Measure push action generatorErik Johnston1-11/+15
2016-04-14Don't push for everyone who ever sent an RR to the roomDavid Baker1-1/+13
2016-04-14