summary refs log tree commit diff
path: root/synapse/push (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Send room ID in http notifications so clients know which room to go to if ↵David Baker2015-02-191-0/+1
| | | | the user responds to the notification.
* Update pushers by app id and pushkey, not user id and pushkeyDavid Baker2015-02-131-6/+6
|
* Use encode_canonical_json for pushesErik Johnston2015-02-111-1/+3
|
* Blunty replace json with simplejsonErik Johnston2015-02-112-2/+2
|
* Code-style fixesMark Haines2015-02-103-14/+17
|
* Need to use re.search if looking for matches not at the start of the string. ↵David Baker2015-02-091-3/+3
| | | | Also comparisons with None should be 'is'.
* only do word-boundary patches on bodies for nowMatthew Hodgson2015-02-091-1/+4
|
* Fix server default rule injection (downwards, not upwards!)David Baker2015-02-091-6/+6
|
* glob *s should probably be non-greedyMatthew Hodgson2015-02-081-1/+1
|
* oopsMatthew Hodgson2015-02-081-1/+1
|
* kill off fnmatch in favour of word-boundary based push alerts (untested)Matthew Hodgson2015-02-081-12/+20
|
* Give server default rules the 'default' attribute and fix various brokenness.David Baker2015-02-051-0/+1
|
* Server default rules now of all kinds rather than all being at lowest prio.David Baker2015-02-053-12/+66
|
* s/instance_handle/profile_tag/David Baker2015-02-033-12/+12
|
* Use set_tweak instead of set_soundDavid Baker2015-02-032-3/+4
|
* Ignore empty strings for display names & room names in notificationsDavid Baker2015-01-311-2/+2
|
* Again, don't assume all member events have displayname.David Baker2015-01-301-1/+1
|
* Don't assume all member events have a display nme.David Baker2015-01-301-4/+5
|
* Spit out server default rules too.David Baker2015-01-301-6/+5
|
* Add glob asterisks when running rules.David Baker2015-01-301-0/+5
| | | | | | Means that now you can't do exact matches even in override rules, but I think we can live with that. Advantage is that you'll now always get back what was put in to the API.
* Add room member count condition and default rule to make a noise on rooms of ↵David Baker2015-01-302-5/+59
| | | | only 2 people.
* Include content in notification pokesDavid Baker2015-01-291-0/+2
|
* Change 'from' in notification pokes to 'sender' to match client API v2. Send ↵David Baker2015-01-292-5/+14
| | | | sender display names where they exist.
* Add default push rules including setting a sound for messages mentioning ↵David Baker2015-01-292-8/+74
| | | | your username / display name
* Code style fixes.Mark Haines2015-01-293-13/+12
|
* Only send a badge-reset if the user actually has unread notifications.David Baker2015-01-291-2/+7
|
* Easy on the newlinesDavid Baker2015-01-281-1/+0
|
* 2015David Baker2015-01-281-1/+1
|
* doc style fixDavid Baker2015-01-281-1/+1
|
* It is 2015David Baker2015-01-281-1/+1
|
* Oops, bad merge: needed to change the base class of the rest servlets too.David Baker2015-01-281-2/+3
|
* More code style thingsDavid Baker2015-01-281-3/+4
|
* Brackets rather than slashes at endDavid Baker2015-01-281-3/+3
|
* Redundant bracketing & missed spaceDavid Baker2015-01-281-2/+2
|
* Update copyrightDavid Baker2015-01-281-1/+1
|
* Unused importDavid Baker2015-01-281-1/+0
|
* Reset badge count to zero when last active time is bumpedDavid Baker2015-01-283-3/+71
|
* Support membership events and more camelcase/underscoresDavid Baker2015-01-262-4/+8
|
* Pushers should only try & look for rejected devices in something that's a ↵David Baker2015-01-261-1/+1
| | | | list or tuple.
* Use push settings!David Baker2015-01-232-12/+88
|
* more pep8 suggestionsDavid Baker2015-01-231-2/+1
|
* use underscores everywhere, not camelcase.David Baker2015-01-201-3/+3
|
* add instance_handles to pushers so we have a way to refer to them even if ↵David Baker2015-01-203-5/+10
| | | | the push token changes.
* Require device language when adding a pusher.David Baker2015-01-161-3/+5
| | | | | Because this seems like it might be useful to do sooner rather than later.
* Send room name and first alias in notification poke.David Baker2015-01-152-3/+26
|
* Don't make the pushers' event streams cause people to appear onlineDavid Baker2015-01-151-1/+3
|
* Honour the 'rejected' return from push gatewaysDavid Baker2015-01-133-8/+56
| | | | | | | Add a timestamp to push tokens so we know the last time they we got them from the device. Send it to the push gateways so it can determine whether its failure is more recent than the token. Stop and remove pushers that have been rejected.
* Split out function to decide whether to notify or a given eventDavid Baker2015-01-131-2/+17
|
* If we didn't get any events, advance the token or we'll just keep not ↵David Baker2014-12-181-0/+1
| | | | getting the same events again.
* after a few rethinks, a working implementation of pushers.David Baker2014-12-183-36/+48
|
* Update to app_id / app_instance_id (partially) and mangle to be PEP8 compliant.David Baker2014-12-033-92/+155
|
* More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP ↵David Baker2014-11-213-16/+105
| | | | pokes work or not yet but the retry semantics are pretty good.
* remove random half-lineDavid Baker2014-11-191-1/+0
|
* Start creating a module to do generic notifications (just prints them to ↵David Baker2014-11-193-0/+210
stdout currently!)