summary refs log tree commit diff
path: root/synapse/push (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add comments and remove dead codeErik Johnston2016-01-181-12/+11
* Do for loop once at startErik Johnston2016-01-181-8/+17
* Use static for const dictsErik Johnston2016-01-183-197/+202
* Don't edit rulesetErik Johnston2016-01-181-5/+4
* Re-enable urnead notificationsErik Johnston2016-01-181-3/+0
* Make notifications go quickerErik Johnston2016-01-182-127/+215
* Temporarily disable notification branchErik Johnston2016-01-131-0/+3
* Rename 'user_name' to 'user_id' in push to make it consistent with the rest o...Mark Haines2016-01-135-54/+54
* Merge pull request #456 from matrix-org/store_event_actionsDavid Baker2016-01-084-22/+200
|\
| * more commasDavid Baker2016-01-071-1/+1
| * Delete notifications for redacted eventsDavid Baker2016-01-061-0/+7
| * Add is_guest flag to users db to track whether a user is a guest user or not....David Baker2016-01-062-8/+25
| * comment typoDavid Baker2016-01-051-1/+1
| * Rename event-actions to event_push_actions as per PR requestDavid Baker2016-01-042-2/+2
| * Address minor PR issuesDavid Baker2016-01-042-5/+4
| * pep8 & unused variableDavid Baker2015-12-223-4/+3
| * Add some comments to areas that could be optimised.David Baker2015-12-222-1/+11
| * Insert push actions in a single db query rather than one per user/profile_tagDavid Baker2015-12-221-4/+6
| * Add bulk push rule evaluator which actually still evaluates rules one by one,...David Baker2015-12-223-22/+118
| * Only run pushers for users on this hs!David Baker2015-12-211-1/+7
| * still very WIP, but now sends unread_notifications_count in the room object o...David Baker2015-12-161-1/+1
| * Store nothing instead of ['dont_notify'] for events with no notification requ...David Baker2015-12-103-21/+14
| * Save event actions to the dbDavid Baker2015-12-101-2/+4
| * Very first cut of calculating actions for events as they come in. Doesn't sto...David Baker2015-12-101-0/+47
* | copyrightsMatthew Hodgson2016-01-076-6/+6
|/
* pep8David Baker2015-12-091-4/+4
* Split out the push rule evaluator into a separate file so it can be more read...David Baker2015-12-092-185/+234
* Merge pull request #413 from matrix-org/markjh/reuse_http_clientMark Haines2015-12-021-4/+3
|\
| * Reuse a single http client, rather than creating new onesMark Haines2015-12-021-4/+3
* | Change the m.room.message rule to be disabled by default so we only notify fo...David Baker2015-12-021-0/+1
|/
* Use raw string for regex here, otherwise \b is the backspace character. Fixes...David Baker2015-10-081-1/+1
* Don't make pushers handle presence/typing eventsErik Johnston2015-08-241-3/+5
* Store the 'last_token' in the db, even if we processed no eventsErik Johnston2015-08-191-0/+6
* Block on storing the current last_tokensErik Johnston2015-08-191-5/+5
* Simplify LoginHander and AuthHandlerDaniel Wagner-Hall2015-08-121-7/+4
* Oops: underride rule had an identifier with override in it.David Baker2015-06-231-1/+1
* Catch any exceptions in the pusher loop. Use a lower timeout for pushers so w...David Baker2015-06-051-112/+133
* Take a dict of the rule, not the rule listMark Haines2015-05-261-1/+1
* SYN-390: Don't modify the dictionary returned from the database here eitherMark Haines2015-05-261-4/+7
* Don't try to use a txn when not in one, remove spurious debug loggingMark Haines2015-05-211-2/+0
* Add caches for things requested by the pushersMark Haines2015-05-211-15/+10
* Add a cache for get_current_state with state_keyMark Haines2015-05-211-0/+4
* Also log when we've started pushersErik Johnston2015-04-291-0/+2
* Only start pushers when synapse has fully startedErik Johnston2015-04-291-3/+0
* Start pushers on reactor threadErik Johnston2015-04-291-0/+3
* Decode the data json in the storage layer (was moved but this part was missed)David Baker2015-04-291-1/+5
* Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-282-17/+69
|\
| * Merge pull request #126 from matrix-org/csauthMark Haines2015-04-282-18/+69
| |\
| | * pep8David Baker2015-03-261-2/+4
| | * Delete pushers when changing passwordDavid Baker2015-03-261-2/+18
| | * pep8 blank linesDavid Baker2015-03-251-1/+0
| | * Allow multiple pushers for a single app ID & pushkey, honouring the 'append' ...David Baker2015-03-252-12/+45
| | * 1) Pushers are now associated with an access tokenDavid Baker2015-03-241-4/+5
* | | Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-272-21/+49
|\| |
| * | Make one-to-one rule an underride otherwise bings don't work in one-to-one wr...David Baker2015-04-241-21/+21
| * | Copyright noticesMark Haines2015-04-242-0/+28
| |/
* / Move encoding and decoding of JSON into storage layerErik Johnston2015-04-161-7/+1
|/
* More sacrifices to the pep8 gods.David Baker2015-03-121-2/+8
* Log the matching push rule.David Baker2015-03-111-2/+4
* Again, underscore, not hyphenDavid Baker2015-03-111-1/+1
* 'false' is not FalseDavid Baker2015-03-111-5/+5
* PEP8 blank linesDavid Baker2015-03-111-0/+1
* Add the master push rule for the break-my-push button. Allow server default r...David Baker2015-03-102-10/+54
* D'oh: underscore, not hyphenDavid Baker2015-03-091-1/+1
* Call notifications should be override else they'll get clobbered by sender/ro...David Baker2015-03-061-21/+21
* Dial down logging for failed pushersDavid Baker2015-03-061-1/+1
* Specify when we don't want to highlightDavid Baker2015-03-061-2/+17
* Remove the fallback rule - we probably don't want to be notifying for everyth...David Baker2015-03-061-9/+1
* Add attribute so push gateways can tell if a member event is about the user i...David Baker2015-03-061-0/+1
* Add more server default rules so we have default rules for whether you get no...David Baker2015-03-062-6/+76
* Comment typoDavid Baker2015-03-061-1/+1
* Suppress notices should trump content/room/sender rules.David Baker2015-03-061-13/+13
* Add the highlight tweak where messages should be highlighted a different colo...David Baker2015-03-061-0/+4
* Add default rule to suppress notices.David Baker2015-03-041-0/+13
* s/user_name/user/ as per mjark's commentDavid Baker2015-03-021-2/+2
* Rename the room-with-two-people rule to be more compatible if we have actual ...David Baker2015-03-021-1/+1
* SYN-267 Add a fallback rule as an explicit server default rule and make the d...David Baker2015-02-262-1/+16
* Add API for getting/setting enabled-ness of push rules.David Baker2015-02-261-4/+4
* Add enable/disable overlay for push rules (REST API not yet hooked up)David Baker2015-02-252-0/+7
* Send room ID in http notifications so clients know which room to go to if the...David Baker2015-02-191-0/+1
* 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
* 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
* Add room member count condition and default rule to make a noise on rooms of ...David Baker2015-01-302-5/+59
* 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
* Add default push rules including setting a sound for messages mentioning your...David Baker2015-01-292-8/+74
* 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 lis...David Baker2015-01-261-1/+1
* 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 the...David Baker2015-01-203-5/+10
* Require device language when adding a pusher.David Baker2015-01-161-3/+5
* 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
* 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 getting...David Baker2014-12-181-0/+1
* 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 p...David Baker2014-11-213-16/+105
* remove random half-lineDavid Baker2014-11-191-1/+0
* Start creating a module to do generic notifications (just prints them to stdo...David Baker2014-11-193-0/+210