summary refs log tree commit diff
path: root/synapse/rest/client/v1/pusher.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug where pusherpool didn't start and broke some roomsErik Johnston2017-07-061-8/+6
| | | | | | | | Since we didn't instansiate the PusherPool at start time it could fail at run time, which it did for some users. This may or may not fix things for those users, but it should happen at start time and stop the server from starting.
* Working unsubscribe links going straight to the HSDavid Baker2016-06-021-1/+3
| | | | and authed by macaroons that let you delete pushers and nothing else
* WIP on unsubscribing email notifs without logging inDavid Baker2016-06-011-1/+54
|
* Make the /set part mandatoryDavid Baker2016-04-121-1/+1
|
* Mis-named functionDavid Baker2016-04-121-1/+1
|
* Split into separate servlet classesDavid Baker2016-04-121-11/+16
|
* Add get endpoint for pushersDavid Baker2016-04-111-1/+34
| | | | As per https://github.com/matrix-org/matrix-doc/pull/308
* Hook up adding a pusher to the notifier for replication.Mark Haines2016-03-151-0/+6
|
* Add a parse_json_object functionMark Haines2016-03-091-14/+3
| | | | | to deduplicate all the copy+pasted _parse_json functions. Also document the parse_.* functions.
* Remove dead code for setting device specific rules.Mark Haines2016-02-181-3/+3
| | | | | | 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 flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-2/+2
|
* Rename 'user_name' to 'user_id' in push to make it consistent with the rest ↵Mark Haines2016-01-131-2/+2
| | | | of the code
* Introduce a Requester objectDaniel Wagner-Hall2016-01-111-2/+3
| | | | | | | | | 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.
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* also do more structured loggingDavid Baker2015-12-071-0/+1
|
* pep8David Baker2015-12-071-0/+1
|
* Add logging to pushers API to log the body of the requestDavid Baker2015-12-071-0/+4
|
* Host /unstable and /r0 versions of r0 APIsDaniel Wagner-Hall2015-12-011-2/+2
|
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-1/+1
| | | | | | | 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.
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-2/+2
| | | | | | | | | | Removes device_id and ClientInfo device_id is never actually written, and the matrix.org DB has no non-null entries for it. Right now, it's just cluttering up code. This doesn't remove the columns from the database, because that's fiddly.
* Allow multiple pushers for a single app ID & pushkey, honouring the 'append' ↵David Baker2015-03-251-1/+12
| | | | flag in the API.
* 1) Pushers are now associated with an access tokenDavid Baker2015-03-241-1/+2
| | | | 2) Change places where we mean unauthenticated to 401, not 403, in C/S v2: hack so it stays as 403 in v1 because web client relies on it.
* Blunty replace json with simplejsonErik Johnston2015-02-111-1/+1
|
* Code-style fixesMark Haines2015-02-101-2/+2
|
* s/instance_handle/profile_tag/David Baker2015-02-031-2/+2
|
* Allow kind to be set to null to delete a pusher.David Baker2015-01-291-1/+10
|
* Change uses of get_user_by_req because it returns a tuple now.David Baker2015-01-281-1/+1
|
* Oops, bad merge: needed to change the base class of the rest servlets too.David Baker2015-01-281-2/+2
|
* Merge branch 'develop' into pushersDavid Baker2015-01-221-0/+80
Conflicts: synapse/rest/__init__.py