David Baker
|
de22001ab5
|
pep8
|
2016-05-04 11:41:35 +01:00 |
|
Matthew Hodgson
|
f1026418ea
|
copyright
|
2016-05-04 11:38:01 +01:00 |
|
Matthew Hodgson
|
17cbf773b9
|
fix assorted typos in default config
|
2016-05-04 11:38:01 +01:00 |
|
Erik Johnston
|
984d4a2c0f
|
Add /report endpoint
|
2016-05-04 11:28:10 +01:00 |
|
David Baker
|
e6bffa4475
|
Unused import
|
2016-05-04 11:26:58 +01:00 |
|
David Baker
|
92f0f3d21d
|
Catch all exceptions when creating a pusher
|
2016-05-04 11:24:07 +01:00 |
|
Erik Johnston
|
a438a6d2bc
|
Implement basic ignore user
|
2016-05-04 10:16:46 +01:00 |
|
Erik Johnston
|
7ea3b4118d
|
Merge pull request #757 from matrix-org/erikj/event_auth_typo
Fix typo in event_auth servlet path
|
2016-05-03 14:23:15 +01:00 |
|
David Baker
|
2df75de505
|
Merge remote-tracking branch 'origin/develop' into dbkr/email_notifs
|
2016-04-29 20:28:47 +01:00 |
|
David Baker
|
b084e4d963
|
Add constant for throttle multiplier
|
2016-04-29 20:14:55 +01:00 |
|
David Baker
|
35b7b8e4bc
|
Remove unused function
|
2016-04-29 20:10:34 +01:00 |
|
David Baker
|
6b9b6a9169
|
Remove unused arg
|
2016-04-29 20:02:52 +01:00 |
|
David Baker
|
c7c75e87dc
|
Docstring
|
2016-04-29 19:47:35 +01:00 |
|
David Baker
|
b0a1036d93
|
Use explicit join
|
2016-04-29 19:28:56 +01:00 |
|
David Baker
|
8f99cd5996
|
Oops, actually specify the user id
|
2016-04-29 19:27:03 +01:00 |
|
David Baker
|
60f44c098d
|
Remove unnecessary if
|
2016-04-29 19:17:10 +01:00 |
|
David Baker
|
50ad8005e4
|
Put spaces at start of line
|
2016-04-29 19:16:15 +01:00 |
|
David Baker
|
83618d719a
|
Try imports in config
|
2016-04-29 19:13:52 +01:00 |
|
David Baker
|
e7a76b5123
|
Use the constant
|
2016-04-29 19:10:45 +01:00 |
|
David Baker
|
29c8cf8db8
|
Avoid vars builtin
|
2016-04-29 19:09:28 +01:00 |
|
David Baker
|
d3da5294e8
|
Use named parameter format
|
2016-04-29 19:04:40 +01:00 |
|
David Baker
|
765f2b8446
|
Default enable email notifs to False
|
2016-04-29 14:46:18 +01:00 |
|
David Baker
|
311b5ce051
|
pep8
|
2016-04-29 14:37:30 +01:00 |
|
David Baker
|
3facde2536
|
Remove rather pointless get function
|
2016-04-29 14:36:45 +01:00 |
|
David Baker
|
4364ea1272
|
Stop processing notifs once we've sent a mail
|
2016-04-29 14:31:27 +01:00 |
|
David Baker
|
4b0c3a3270
|
Correct public_baseurl default
|
2016-04-29 14:30:15 +01:00 |
|
David Baker
|
5048455965
|
Nicer get() shorthand
|
2016-04-29 14:27:40 +01:00 |
|
David Baker
|
6c8957be7f
|
Remove redundant docstring
|
2016-04-29 14:25:28 +01:00 |
|
David Baker
|
18ce88bd2d
|
Correct default template and add text template
|
2016-04-29 14:24:25 +01:00 |
|
David Baker
|
40d40e470d
|
Send mail notifs with a plaintext part too
|
2016-04-29 13:56:21 +01:00 |
|
David Baker
|
dc2c527ce9
|
Fix password reset
Default requester to None, otherwise it isn't defined when resetting using email auth
|
2016-04-29 12:07:54 +01:00 |
|
Erik Johnston
|
62b51b8452
|
Fix typo in event_auth servlet path
|
2016-04-29 12:00:51 +01:00 |
|
David Baker
|
b2c04da8dc
|
Add an email pusher for new users
If they registered with an email address and email notifs are enabled on the HS
|
2016-04-29 11:43:57 +01:00 |
|
David Baker
|
ec9cbe847d
|
pep8 newline
|
2016-04-29 10:07:30 +01:00 |
|
David Baker
|
acded821c4
|
Merge remote-tracking branch 'origin/develop' into dbkr/email_notifs
|
2016-04-29 10:05:20 +01:00 |
|
David Baker
|
e800ee2f63
|
May as well always include room link
|
2016-04-28 17:28:27 +01:00 |
|
David Baker
|
cc0874cf71
|
Put back real delay before mailing
|
2016-04-28 17:00:40 +01:00 |
|
David Baker
|
68f8fc2f14
|
Support file messages & fix plain text
|
2016-04-28 16:59:57 +01:00 |
|
David Baker
|
4845c7359d
|
Support image notifs
|
2016-04-28 15:55:53 +01:00 |
|
Mark Haines
|
351b50a887
|
Fix more typos in per-request metrics
|
2016-04-28 15:29:46 +01:00 |
|
David Baker
|
60f86fc876
|
pep8
|
2016-04-28 15:16:30 +01:00 |
|
David Baker
|
937c407eef
|
Only import email pusher if email notifs are on
|
2016-04-28 15:12:14 +01:00 |
|
Mark Haines
|
dcfc10b129
|
Fix typo in request metrics
|
2016-04-28 15:11:06 +01:00 |
|
Matthew Hodgson
|
aebd0c9717
|
fix typo
|
2016-04-28 15:09:25 +01:00 |
|
Mark Haines
|
1a12766e3b
|
Add a comment explaining why automatic metric reporting is disabled for JsonResource
|
2016-04-28 12:31:26 +01:00 |
|
Mark Haines
|
6037349512
|
Check if report_metrics is True
|
2016-04-28 12:26:07 +01:00 |
|
David Baker
|
ebbabc4986
|
Handle room invites in email notifs
|
2016-04-28 11:49:36 +01:00 |
|
Mark Haines
|
8d7ad44331
|
Report per request metrics for all of the things using request_handler
|
2016-04-28 10:57:49 +01:00 |
|
David Baker
|
9dba1b668c
|
Linkify plain text messages too
|
2016-04-28 10:55:08 +01:00 |
|
David Baker
|
424a7f48f8
|
Run filter_events_for_client
so we don't accidentally mail out events people shouldn't see
|
2016-04-27 17:50:49 +01:00 |
|
David Baker
|
4ed1e45869
|
Make html messages work
|
2016-04-27 17:18:51 +01:00 |
|
Mark Haines
|
21d188bf95
|
Merge pull request #755 from matrix-org/markjh/right_direction
Fix backfill replication to advance the stream correctly
|
2016-04-27 15:54:48 +01:00 |
|
Mark Haines
|
8a65666454
|
Fix backfill replication to advance the stream correctly
|
2016-04-27 15:38:43 +01:00 |
|
David Baker
|
8781083960
|
Better grammar for multiple messages in a room
Say who the messages are from if there's no room name, otherwise it's a bit nonsensical
|
2016-04-27 15:30:41 +01:00 |
|
David Baker
|
fa12209c1b
|
Hopefully all remaining bits for email notifs
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-27 15:09:55 +01:00 |
|
Mark Haines
|
871357d539
|
Check that somethign has happend before running the selects
|
2016-04-27 11:54:13 +01:00 |
|
Mark Haines
|
71df327190
|
Actually start the pusher daemon
|
2016-04-26 17:07:09 +01:00 |
|
Mark Haines
|
c9eab73f2a
|
Fix typo in default pusher config
|
2016-04-26 17:06:18 +01:00 |
|
Mark Haines
|
b80b93ea0f
|
Add a log context to the daemonized pusher
|
2016-04-26 15:57:28 +01:00 |
|
Mark Haines
|
6df5a6a833
|
Optionally daemonize the pusher
|
2016-04-26 15:37:41 +01:00 |
|
Erik Johnston
|
3306cf45ca
|
Merge pull request #750 from matrix-org/erikj/jwt_optional
Make pyjwt dependency optional
|
2016-04-26 11:07:22 +01:00 |
|
Mark Haines
|
9c417c54d4
|
Add a couple of update methods to the PusherSlaveStore
|
2016-04-26 10:45:02 +01:00 |
|
David Baker
|
7b4715bad7
|
More variable calculation for email notifs
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-25 18:27:04 +01:00 |
|
Mark Haines
|
f15e9e8de4
|
Remove the uncomments from the comments
|
2016-04-25 17:56:24 +01:00 |
|
Mark Haines
|
72e2fafa20
|
Add a metrics listener and a ssh listener to the pusher
|
2016-04-25 17:34:25 +01:00 |
|
Mark Haines
|
f22f46f4f9
|
Move the listenTCP call outside the manhole function
|
2016-04-25 14:59:21 +01:00 |
|
David Baker
|
290f125a13
|
Typo
|
2016-04-25 14:42:59 +01:00 |
|
Erik Johnston
|
52ecbc2843
|
Make pyjwt dependency optional
|
2016-04-25 14:30:15 +01:00 |
|
David Baker
|
05e49ffbdf
|
No we don't: it's just the display name
|
2016-04-22 18:44:17 +01:00 |
|
David Baker
|
bd0f9c2065
|
Actually do UTF8 correctly
|
2016-04-22 18:42:00 +01:00 |
|
David Baker
|
c5b3c6e101
|
Sort member events
So names of people in a room are given in order
|
2016-04-22 18:33:36 +01:00 |
|
David Baker
|
83bf65297a
|
Mime part is binary so encode it first.
Doesn't get character enocind right yet but makes it not error.
|
2016-04-22 18:31:47 +01:00 |
|
David Baker
|
e8701e64b9
|
Implement group-of-people names
|
2016-04-22 17:28:42 +01:00 |
|
David Baker
|
c553797c4f
|
No inlineCallbacks necessary on this
|
2016-04-22 17:27:54 +01:00 |
|
Mark Haines
|
5905f36f05
|
Split out setting up the manhole to a separate file
|
2016-04-22 17:09:15 +01:00 |
|
Mark Haines
|
62607d5452
|
Merge branch 'develop' into markjh/split_out_site.py
Conflicts:
synapse/app/homeserver.py
|
2016-04-22 16:26:57 +01:00 |
|
Mark Haines
|
e856036f4c
|
Move SynapseSite to its own file
|
2016-04-22 16:09:55 +01:00 |
|
Mark Haines
|
9e7aa98c22
|
Split out create_resource_tree to a separate file
|
2016-04-22 15:40:51 +01:00 |
|
Mark Haines
|
2022ae0fb9
|
Merge pull request #746 from matrix-org/markjh/split_out_pusher
Optionally split out the pushers into a separate process
|
2016-04-22 11:34:08 +01:00 |
|
Erik Johnston
|
64ec3493c1
|
Merge pull request #745 from matrix-org/erikj/search-index
Optimise event_search in postgres
|
2016-04-22 11:23:49 +01:00 |
|
Erik Johnston
|
183cacac90
|
Simplify query and handle finishing correctly
|
2016-04-22 10:01:57 +01:00 |
|
David Baker
|
c10ed26c30
|
Flesh out email templating
Mostly WIP porting the room name calculation logic from the web client so our room names in the email mirror the clients.
|
2016-04-21 19:19:07 +01:00 |
|
Erik Johnston
|
ae571810f2
|
Order NULLs first
|
2016-04-21 18:14:18 +01:00 |
|
Erik Johnston
|
3ddbb1687c
|
Fix query
|
2016-04-21 18:02:36 +01:00 |
|
Erik Johnston
|
8fae3d7b1e
|
Use special UPDATE syntax
|
2016-04-21 18:01:49 +01:00 |
|
Erik Johnston
|
b57dcb4b51
|
Typo
|
2016-04-21 17:49:00 +01:00 |
|
Erik Johnston
|
26db18bc90
|
Need to do _background_update_progress_txn in actual transaction
|
2016-04-21 17:45:56 +01:00 |
|
Erik Johnston
|
b9675ef6e6
|
Merge pull request #687 from nikriek/jwt-fix
Fix issues with JWT login
|
2016-04-21 17:42:25 +01:00 |
|
Erik Johnston
|
e395eb1108
|
Update progress when creating index
|
2016-04-21 17:39:24 +01:00 |
|
Erik Johnston
|
3b0fa77f50
|
Fix SQL statement
|
2016-04-21 17:37:42 +01:00 |
|
Erik Johnston
|
129e403487
|
Create index must be on a conn
|
2016-04-21 17:35:51 +01:00 |
|
Mark Haines
|
a3ac837599
|
Optionally split out the pushers into a separate process
|
2016-04-21 17:22:37 +01:00 |
|
Mark Haines
|
78741cf025
|
Merge pull request #743 from matrix-org/markjh/slave_pushers
Replicate the pushers
|
2016-04-21 17:21:29 +01:00 |
|
Erik Johnston
|
51bb339ab2
|
Create index concurrently
|
2016-04-21 17:16:11 +01:00 |
|
Erik Johnston
|
b743c1237e
|
Add missing run_upgrade
|
2016-04-21 17:12:04 +01:00 |
|
Mark Haines
|
31719ad124
|
Merge pull request #744 from matrix-org/markjh/replication_remove_pusher
Add a replication endpoint for deleting pushers
|
2016-04-21 17:10:49 +01:00 |
|
Niklas Riekenbrauck
|
565c2edb0a
|
Fix issues with JWT login
|
2016-04-21 18:10:48 +02:00 |
|
Erik Johnston
|
c877f0f034
|
Optimise event_search in postgres
|
2016-04-21 16:56:14 +01:00 |
|
Mark Haines
|
cfe1ff4bdb
|
Add a replication endpoint for deleting pushers
|
2016-04-21 16:33:05 +01:00 |
|
Mark Haines
|
d4823efad9
|
Replicate the pushers
|
2016-04-21 16:18:00 +01:00 |
|