Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add more server default rules so we have default rules for whether you get ↵ | David Baker | 2015-03-06 | 2 | -6/+76 |
| | | | | notifs for invites / random member events | ||||
* | Comment typo | David Baker | 2015-03-06 | 1 | -1/+1 |
| | |||||
* | Suppress notices should trump content/room/sender rules. | David Baker | 2015-03-06 | 1 | -13/+13 |
| | |||||
* | Add the highlight tweak where messages should be highlighted a different ↵ | David Baker | 2015-03-06 | 1 | -0/+4 |
| | | | | colour in appropriate clients. | ||||
* | Add default rule to suppress notices. | David Baker | 2015-03-04 | 1 | -0/+13 |
| | |||||
* | s/user_name/user/ as per mjark's comment | David Baker | 2015-03-02 | 1 | -2/+2 |
| | |||||
* | Rename the room-with-two-people rule to be more compatible if we have actual ↵ | David Baker | 2015-03-02 | 1 | -1/+1 |
| | | | | one to one rooms. | ||||
* | SYN-267 Add a fallback rule as an explicit server default rule and make the ↵ | David Baker | 2015-02-26 | 2 | -1/+16 |
| | | | | default dont-notify so you effectively have a "notify for everything else" switch you can turn on and off. | ||||
* | Add API for getting/setting enabled-ness of push rules. | David Baker | 2015-02-26 | 1 | -4/+4 |
| | |||||
* | Add enable/disable overlay for push rules (REST API not yet hooked up) | David Baker | 2015-02-25 | 2 | -0/+7 |
| | |||||
* | Send room ID in http notifications so clients know which room to go to if ↵ | David Baker | 2015-02-19 | 1 | -0/+1 |
| | | | | the user responds to the notification. | ||||
* | Update pushers by app id and pushkey, not user id and pushkey | David Baker | 2015-02-13 | 1 | -6/+6 |
| | |||||
* | Use encode_canonical_json for pushes | Erik Johnston | 2015-02-11 | 1 | -1/+3 |
| | |||||
* | Blunty replace json with simplejson | Erik Johnston | 2015-02-11 | 2 | -2/+2 |
| | |||||
* | Code-style fixes | Mark Haines | 2015-02-10 | 3 | -14/+17 |
| | |||||
* | Need to use re.search if looking for matches not at the start of the string. ↵ | David Baker | 2015-02-09 | 1 | -3/+3 |
| | | | | Also comparisons with None should be 'is'. | ||||
* | only do word-boundary patches on bodies for now | Matthew Hodgson | 2015-02-09 | 1 | -1/+4 |
| | |||||
* | Fix server default rule injection (downwards, not upwards!) | David Baker | 2015-02-09 | 1 | -6/+6 |
| | |||||
* | glob *s should probably be non-greedy | Matthew Hodgson | 2015-02-08 | 1 | -1/+1 |
| | |||||
* | oops | Matthew Hodgson | 2015-02-08 | 1 | -1/+1 |
| | |||||
* | kill off fnmatch in favour of word-boundary based push alerts (untested) | Matthew Hodgson | 2015-02-08 | 1 | -12/+20 |
| | |||||
* | Give server default rules the 'default' attribute and fix various brokenness. | David Baker | 2015-02-05 | 1 | -0/+1 |
| | |||||
* | Server default rules now of all kinds rather than all being at lowest prio. | David Baker | 2015-02-05 | 3 | -12/+66 |
| | |||||
* | s/instance_handle/profile_tag/ | David Baker | 2015-02-03 | 3 | -12/+12 |
| | |||||
* | Use set_tweak instead of set_sound | David Baker | 2015-02-03 | 2 | -3/+4 |
| | |||||
* | Ignore empty strings for display names & room names in notifications | David Baker | 2015-01-31 | 1 | -2/+2 |
| | |||||
* | Again, don't assume all member events have displayname. | David Baker | 2015-01-30 | 1 | -1/+1 |
| | |||||
* | Don't assume all member events have a display nme. | David Baker | 2015-01-30 | 1 | -4/+5 |
| | |||||
* | Spit out server default rules too. | David Baker | 2015-01-30 | 1 | -6/+5 |
| | |||||
* | Add glob asterisks when running rules. | David Baker | 2015-01-30 | 1 | -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 Baker | 2015-01-30 | 2 | -5/+59 |
| | | | | only 2 people. | ||||
* | Include content in notification pokes | David Baker | 2015-01-29 | 1 | -0/+2 |
| | |||||
* | Change 'from' in notification pokes to 'sender' to match client API v2. Send ↵ | David Baker | 2015-01-29 | 2 | -5/+14 |
| | | | | sender display names where they exist. | ||||
* | Add default push rules including setting a sound for messages mentioning ↵ | David Baker | 2015-01-29 | 2 | -8/+74 |
| | | | | your username / display name | ||||
* | Code style fixes. | Mark Haines | 2015-01-29 | 3 | -13/+12 |
| | |||||
* | Only send a badge-reset if the user actually has unread notifications. | David Baker | 2015-01-29 | 1 | -2/+7 |
| | |||||
* | Easy on the newlines | David Baker | 2015-01-28 | 1 | -1/+0 |
| | |||||
* | 2015 | David Baker | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | doc style fix | David Baker | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | It is 2015 | David Baker | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Oops, bad merge: needed to change the base class of the rest servlets too. | David Baker | 2015-01-28 | 1 | -2/+3 |
| | |||||
* | More code style things | David Baker | 2015-01-28 | 1 | -3/+4 |
| | |||||
* | Brackets rather than slashes at end | David Baker | 2015-01-28 | 1 | -3/+3 |
| | |||||
* | Redundant bracketing & missed space | David Baker | 2015-01-28 | 1 | -2/+2 |
| | |||||
* | Update copyright | David Baker | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Unused import | David Baker | 2015-01-28 | 1 | -1/+0 |
| | |||||
* | Reset badge count to zero when last active time is bumped | David Baker | 2015-01-28 | 3 | -3/+71 |
| | |||||
* | Support membership events and more camelcase/underscores | David Baker | 2015-01-26 | 2 | -4/+8 |
| | |||||
* | Pushers should only try & look for rejected devices in something that's a ↵ | David Baker | 2015-01-26 | 1 | -1/+1 |
| | | | | list or tuple. | ||||
* | Use push settings! | David Baker | 2015-01-23 | 2 | -12/+88 |
| | |||||
* | more pep8 suggestions | David Baker | 2015-01-23 | 1 | -2/+1 |
| | |||||
* | use underscores everywhere, not camelcase. | David Baker | 2015-01-20 | 1 | -3/+3 |
| | |||||
* | add instance_handles to pushers so we have a way to refer to them even if ↵ | David Baker | 2015-01-20 | 3 | -5/+10 |
| | | | | the push token changes. | ||||
* | Require device language when adding a pusher. | David Baker | 2015-01-16 | 1 | -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 Baker | 2015-01-15 | 2 | -3/+26 |
| | |||||
* | Don't make the pushers' event streams cause people to appear online | David Baker | 2015-01-15 | 1 | -1/+3 |
| | |||||
* | Honour the 'rejected' return from push gateways | David Baker | 2015-01-13 | 3 | -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 event | David Baker | 2015-01-13 | 1 | -2/+17 |
| | |||||
* | If we didn't get any events, advance the token or we'll just keep not ↵ | David Baker | 2014-12-18 | 1 | -0/+1 |
| | | | | getting the same events again. | ||||
* | after a few rethinks, a working implementation of pushers. | David Baker | 2014-12-18 | 3 | -36/+48 |
| | |||||
* | Update to app_id / app_instance_id (partially) and mangle to be PEP8 compliant. | David Baker | 2014-12-03 | 3 | -92/+155 |
| | |||||
* | More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP ↵ | David Baker | 2014-11-21 | 3 | -16/+105 |
| | | | | pokes work or not yet but the retry semantics are pretty good. | ||||
* | remove random half-line | David Baker | 2014-11-19 | 1 | -1/+0 |
| | |||||
* | Start creating a module to do generic notifications (just prints them to ↵ | David Baker | 2014-11-19 | 3 | -0/+210 |
stdout currently!) |