summary refs log tree commit diff
path: root/synapse/storage/pusher.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use a stream id generator for backfilled idsMark Haines2016-04-011-1/+1
|
* Fix a couple of errors when deleting pushersMark Haines2016-03-151-2/+2
|
* Add replication stream for pushersMark Haines2016-03-151-15/+48
|
* Load the current id in the IdGenerator constructorMark Haines2016-03-011-1/+1
| | | | | | | | | Rather than loading them lazily. This allows us to remove all the yield statements and spurious arguments for the get_next methods. It also allows us to replace all instances of get_next_txn with get_next since get_next no longer needs to access the db.
* 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.
* Rename 'user_name' to 'user_id' in push to make it consistent with the rest ↵Mark Haines2016-01-131-11/+11
| | | | of the code
* Remove the PushersTable and EventPushActionsTable objectsMark Haines2016-01-121-9/+5
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* synapse/storage/_base.py:Table was unusedMark Haines2015-09-221-2/+2
|
* Remove syutil dependency in favour of smaller single-purpose librariesMark Haines2015-08-241-1/+1
|
* Correctly decode, for sqlite and postgres, rows from pushers tableErik Johnston2015-04-291-19/+24
|
* pushkey' are also bytes.Erik Johnston2015-04-291-8/+17
|
* Actually return rowsErik Johnston2015-04-291-0/+2
|
* Typo, args wrong way roundErik Johnston2015-04-291-4/+1
|
* Decode buffers in same threadErik Johnston2015-04-291-13/+19
|
* We store pusher data as bytesErik Johnston2015-04-291-2/+2
|
* Decode the data json in the storage layer (was moved but this part was missed)David Baker2015-04-291-0/+9
|
* Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-281-66/+24
|\
| * Delete pushers when changing passwordDavid Baker2015-03-261-35/+10
| |
| * Allow multiple pushers for a single app ID & pushkey, honouring the 'append' ↵David Baker2015-03-251-13/+14
| | | | | | | | 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.
* | PEP8Erik Johnston2015-04-161-3/+0
| |
* | Move encoding and decoding of JSON into storage layerErik Johnston2015-04-161-20/+6
| |
* | Add missing yieldErik Johnston2015-04-151-1/+1
| |
* | pushers table requires a unique id.Erik Johnston2015-04-151-0/+4
|/
* Give sensible names for '_simple_...' transactionsErik Johnston2015-03-201-5/+11
|
* Also give _execute() a descriptionPaul "LeoNerd" Evans2015-03-111-2/+3
|
* Update pushers by app id and pushkey, not user id and pushkeyDavid Baker2015-02-131-6/+6
|
* s/instance_handle/profile_tag/David Baker2015-02-031-7/+7
|
* Code style fixes.Mark Haines2015-01-291-1/+1
|
* add instance_handles to pushers so we have a way to refer to them even if ↵David Baker2015-01-201-21/+25
| | | | the push token changes.
* Require device language when adding a pusher.David Baker2015-01-161-1/+2
| | | | | Because this seems like it might be useful to do sooner rather than later.
* Honour the 'rejected' return from push gatewaysDavid Baker2015-01-131-11/+23
| | | | | | | 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.
* Thank you, pyflakesDavid Baker2014-12-181-1/+0
|
* after a few rethinks, a working implementation of pushers.David Baker2014-12-181-26/+57
|
* Update to app_id / app_instance_id (partially) and mangle to be PEP8 compliant.David Baker2014-12-031-22/+32
|
* More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP ↵David Baker2014-11-211-4/+22
| | | | pokes work or not yet but the retry semantics are pretty good.
* Start creating a module to do generic notifications (just prints them to ↵David Baker2014-11-191-0/+98
stdout currently!)