Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Load push rules in storage layer, so that they get cached | Erik Johnston | 2016-06-03 | 1 | -4/+2 |
| | |||||
* | Fix regression where synapse checked whether push rules were valid JSON ↵ | Mark Haines | 2016-03-14 | 1 | -2/+2 |
| | | | | before the compatibility hack that handled clients sending invalid JSON | ||||
* | Add a parse_json_object function | Mark Haines | 2016-03-09 | 1 | -13/+3 |
| | | | | | to deduplicate all the copy+pasted _parse_json functions. Also document the parse_.* functions. | ||||
* | Hook up the push rules stream to account_data in /sync | Mark Haines | 2016-03-04 | 1 | -1/+1 |
| | |||||
* | Move the code for formatting push rules into a separate function | Mark Haines | 2016-03-03 | 1 | -86/+4 |
| | |||||
* | Hook up the push rules to the notifier | Mark Haines | 2016-03-03 | 1 | -15/+29 |
| | |||||
* | Add support for changing the actions for default rules | Mark Haines | 2016-02-26 | 1 | -4/+27 |
| | | | | | | See matrix-org/matrix-doc#283 Works by adding dummy rules to the push rules table with a negative priority class and then using those rules to clobber the default rule actions when adding the default rules in ``list_with_base_rules`` | ||||
* | Make sure we return a JSON object when returning the values of specif… | Mark Haines | 2016-02-25 | 1 | -1/+3 |
| | | | | …ic keys from a push rule | ||||
* | Remove unused get_rule_attr method | Mark Haines | 2016-02-24 | 1 | -8/+0 |
| | |||||
* | Remove dead code for setting device specific rules. | Mark Haines | 2016-02-18 | 1 | -85/+5 |
| | | | | | | It wasn't possible to hit the code from the API because of a typo in parsing the request path. Since no-one was using the feature we might as well remove the dead code. | ||||
* | Fix typo in request validation for adding push rules. | Mark Haines | 2016-02-16 | 1 | -1/+1 |
| | |||||
* | Fix adding push rules relative to other rules | Mark Haines | 2016-01-27 | 1 | -5/+10 |
| | |||||
* | Add missing yield in push_rules set enabled | Mark Haines | 2016-01-25 | 1 | -2/+2 |
| | |||||
* | Take a deepcopy of push rules before mutating them | Erik Johnston | 2016-01-19 | 1 | -1/+3 |
| | |||||
* | Use static for const dicts | Erik Johnston | 2016-01-18 | 1 | -1/+7 |
| | |||||
* | Remove internal ids | Erik Johnston | 2016-01-18 | 1 | -0/+4 |
| | |||||
* | Fix enabling & disabling push rules | David Baker | 2016-01-14 | 1 | -1/+1 |
| | |||||
* | Rename 'user_name' to 'user_id' in push to make it consistent with the rest ↵ | Mark Haines | 2016-01-13 | 1 | -5/+5 |
| | | | | of the code | ||||
* | Introduce a Requester object | Daniel Wagner-Hall | 2016-01-11 | 1 | -6/+7 |
| | | | | | | | | | This tracks data about the entity which made the request. This is instead of passing around a tuple, which requires call-site modifications every time a new piece of optional context is passed around. I tried to introduce a User object. I gave up. | ||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Take object not bool | Daniel Wagner-Hall | 2015-12-07 | 1 | -0/+5 |
| | | | | | | Allows bool as legacy fallback See https://github.com/matrix-org/matrix-doc/pull/212 | ||||
* | Host /unstable and /r0 versions of r0 APIs | Daniel Wagner-Hall | 2015-12-01 | 1 | -2/+2 |
| | |||||
* | Allow guests to register and call /events?room_id= | Daniel Wagner-Hall | 2015-11-04 | 1 | -3/+3 |
| | | | | | | | This follows the same flows-based flow as regular registration, but as the only implemented flow has no requirements, it auto-succeeds. In the future, other flows (e.g. captcha) may be required, so clients should treat this like the regular registration flow choices. | ||||
* | SYN-390: Don't modify the dictionary returned from the data store | Mark Haines | 2015-05-26 | 1 | -5/+8 |
| | |||||
* | Add the master push rule for the break-my-push button. Allow server default ↵ | David Baker | 2015-03-10 | 1 | -1/+4 |
| | | | | rules to be disabled by default. | ||||
* | s/user_name/user/ as per mjark's comment | David Baker | 2015-03-02 | 1 | -3/+3 |
| | |||||
* | Oops, missed a replacement. | David Baker | 2015-03-02 | 1 | -1/+1 |
| | |||||
* | Blank lines | David Baker | 2015-03-02 | 1 | -0/+1 |
| | |||||
* | It's set_tweak now, not set_sound | David Baker | 2015-02-27 | 1 | -1/+1 |
| | |||||
* | Add API for getting/setting enabled-ness of push rules. | David Baker | 2015-02-26 | 1 | -5/+49 |
| | |||||
* | SYWEB-278 Don't allow rules with no rule_id. | David Baker | 2015-02-25 | 1 | -1/+1 |
| | |||||
* | Blunty replace json with simplejson | Erik Johnston | 2015-02-11 | 1 | -1/+1 |
| | |||||
* | Code-style fixes | Mark Haines | 2015-02-10 | 1 | -5/+13 |
| | |||||
* | priority class now dealt with in namespaced rule_id | David Baker | 2015-02-05 | 1 | -4/+0 |
| | |||||
* | Give server default rules the 'default' attribute and fix various brokenness. | David Baker | 2015-02-05 | 1 | -1/+3 |
| | |||||
* | Server default rules now of all kinds rather than all being at lowest prio. | David Baker | 2015-02-05 | 1 | -39/+32 |
| | |||||
* | namespace rule IDs to be unique within their scope and rule type. | David Baker | 2015-02-05 | 1 | -123/+129 |
| | |||||
* | More s/instance_handle/profile_tag/ | David Baker | 2015-02-04 | 1 | -5/+5 |
| | |||||
* | s/instance_handle/profile_tag/ | David Baker | 2015-02-03 | 1 | -14/+14 |
| | |||||
* | Spit out server default rules too. | David Baker | 2015-01-30 | 1 | -4/+12 |
| | |||||
* | Add glob asterisks when running rules. | David Baker | 2015-01-30 | 1 | -4/+1 |
| | | | | | | 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. | ||||
* | Renumber priority classes so we can use 0 for defaults. | David Baker | 2015-01-29 | 1 | -5/+5 |
| | |||||
* | Code style fixes. | Mark Haines | 2015-01-29 | 1 | -7/+22 |
| | |||||
* | Change uses of get_user_by_req because it returns a tuple now. | David Baker | 2015-01-28 | 1 | -3/+3 |
| | |||||
* | spaces | David Baker | 2015-01-28 | 1 | -2/+2 |
| | |||||
* | Unnecessary newlines. | David Baker | 2015-01-28 | 1 | -5/+0 |
| | |||||
* | Unnecessary newline. | David Baker | 2015-01-28 | 1 | -1/+0 |
| | |||||
* | Better style | David Baker | 2015-01-28 | 1 | -2/+5 |
| | |||||
* | Another superfluous newline | David Baker | 2015-01-28 | 1 | -1/+0 |
| | |||||
* | Ah, the comma of doom. | David Baker | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Brackets are nicer | David Baker | 2015-01-28 | 1 | -2/+2 |
| | |||||
* | Oops, bad merge: needed to change the base class of the rest servlets too. | David Baker | 2015-01-28 | 1 | -2/+2 |
| | |||||
* | Add API to delete push rules. | David Baker | 2015-01-23 | 1 | -1/+40 |
| | |||||
* | Use push settings! | David Baker | 2015-01-23 | 1 | -14/+29 |
| | |||||
* | more pep8 | David Baker | 2015-01-23 | 1 | -2/+4 |
| | |||||
* | Make string format tuple an actual tuple | David Baker | 2015-01-23 | 1 | -1/+1 |
| | |||||
* | redundant parens | David Baker | 2015-01-23 | 1 | -1/+1 |
| | |||||
* | stray space | David Baker | 2015-01-23 | 1 | -1/+1 |
| | |||||
* | make per-device rules work | David Baker | 2015-01-23 | 1 | -5/+15 |
| | |||||
* | Add slightly pedantic trailing slash error. | David Baker | 2015-01-23 | 1 | -2/+13 |
| | |||||
* | Fix adding rules without before/after & add the rule that we couldn't find ↵ | David Baker | 2015-01-23 | 1 | -2/+2 |
| | | | | to the error | ||||
* | This really serves me right for ever making a map called 'map'. | David Baker | 2015-01-23 | 1 | -1/+1 |
| | |||||
* | As yet fairly untested GET API for push rules | David Baker | 2015-01-22 | 1 | -10/+128 |
| | |||||
* | Merge branch 'develop' into pushers | David Baker | 2015-01-22 | 1 | -0/+195 |
Conflicts: synapse/rest/__init__.py |