Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run black on the rest of the storage module (#4996) | Amber Brown | 2019-04-03 | 1 | -38/+48 |
| | |||||
* | Use native UPSERTs where possible (#4306) | Amber Brown | 2019-01-24 | 1 | -2/+7 |
| | |||||
* | Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase ↵ | Amber Brown | 2018-10-20 | 1 | -1/+1 |
| | | | | on py3) (#4068) | ||||
* | Port storage/ to Python 3 (#3725) | Amber Brown | 2018-08-31 | 1 | -4/+10 |
| | |||||
* | Logcontext fixes | Richard van der Hoff | 2018-07-24 | 1 | -1/+1 |
| | | | | Fix some random logcontext leaks. | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -4/+5 |
| | |||||
* | Attempt to be more performant on PyPy (#3462) | Amber Brown | 2018-06-28 | 1 | -2/+1 |
| | |||||
* | Move storage functions for push calculations | Erik Johnston | 2018-02-27 | 1 | -9/+13 |
| | | | | This will allow push actions for an event to be calculated on workers. | ||||
* | Update copyright | Erik Johnston | 2018-02-23 | 1 | -0/+1 |
| | |||||
* | Split PusherStore | Erik Johnston | 2018-02-21 | 1 | -4/+6 |
| | |||||
* | Avoid locking for upsert on pushers tables | Richard van der Hoff | 2017-11-16 | 1 | -5/+16 |
| | | | | | * replace the upsert into deleted_pushers with an insert * no need to lock for upsert on pusher_throttle | ||||
* | Avoid locking `pushers` table on upsert | Richard van der Hoff | 2017-11-16 | 1 | -27/+28 |
| | | | | | Now that _simple_upsert will retry on IntegrityError, we don't need to lock the table. | ||||
* | Fix up docs | Erik Johnston | 2017-03-31 | 1 | -1/+1 |
| | |||||
* | Add new storage functions for new replication | Erik Johnston | 2017-03-30 | 1 | -0/+42 |
| | | | | | The new replication protocol will keep all the streams separate, rather than muxing multiple streams into one. | ||||
* | Comment | Erik Johnston | 2016-11-04 | 1 | -0/+1 |
| | |||||
* | Remove unused but buggy function | Erik Johnston | 2016-11-04 | 1 | -11/+1 |
| | |||||
* | Remove lru option | Erik Johnston | 2016-08-19 | 1 | -1/+1 |
| | |||||
* | Only get local users | Erik Johnston | 2016-06-03 | 1 | -1/+1 |
| | |||||
* | Use state to calculate get_users_in_room | Erik Johnston | 2016-06-01 | 1 | -11/+27 |
| | |||||
* | Fixup add_pusher | Erik Johnston | 2016-05-13 | 1 | -3/+10 |
| | |||||
* | Merge remote-tracking branch 'origin/develop' into dbkr/email_notifs | David Baker | 2016-04-29 | 1 | -0/+3 |
|\ | |||||
| * | Check that somethign has happend before running the selects | Mark Haines | 2016-04-27 | 1 | -0/+3 |
| | | |||||
* | | Send a rather basic email notif | David Baker | 2016-04-20 | 1 | -1/+1 |
| | | | | | | | | Also pep8 fixes | ||||
* | | First bits of emailpusher | David Baker | 2016-04-19 | 1 | -0/+27 |
|/ | | | | Mostly logic of when to send an email | ||||
* | Add desc arg | Erik Johnston | 2016-04-14 | 1 | -1/+5 |
| | |||||
* | Unneccessarywhitespaceisunnecessary | David Baker | 2016-04-12 | 1 | -1/+0 |
| | |||||
* | Oops, forgot the desc. | David Baker | 2016-04-12 | 1 | -1/+1 |
| | |||||
* | Tidy up get_pusher functions | David Baker | 2016-04-12 | 1 | -32/+30 |
| | | | | Decodes pushers rows on the main thread rather than the db thread and uses _simple_select_list. Also do the same to the function I copied and factor out the duplication into a helper function. | ||||
* | Mis-named function | David Baker | 2016-04-12 | 1 | -1/+1 |
| | |||||
* | Add get endpoint for pushers | David Baker | 2016-04-11 | 1 | -0/+19 |
| | | | | As per https://github.com/matrix-org/matrix-doc/pull/308 | ||||
* | Fix invite pushes | David Baker | 2016-04-08 | 1 | -0/+7 |
| | | | | | | * If the event is an invite event, add the invitee to list of user we run push rules for (if they have a pusher etc) * Move invite_for_me to be higher prio than member events otherwise member events matches them * Spell override right | ||||
* | Literally a dictionary | David Baker | 2016-04-07 | 1 | -17/+17 |
| | |||||
* | generate id in the main thread | David Baker | 2016-04-07 | 1 | -3/+3 |
| | |||||
* | Make pushers use the event_push_actions table instead of listening on an ↵ | David Baker | 2016-04-06 | 1 | -29/+52 |
| | | | | | | | event stream & running the rules again. Sytest passes, but remaining to do: * Make badges work again * Remove old, unused code | ||||
* | Use a stream id generator for backfilled ids | Mark Haines | 2016-04-01 | 1 | -1/+1 |
| | |||||
* | Fix a couple of errors when deleting pushers | Mark Haines | 2016-03-15 | 1 | -2/+2 |
| | |||||
* | Add replication stream for pushers | Mark Haines | 2016-03-15 | 1 | -15/+48 |
| | |||||
* | Load the current id in the IdGenerator constructor | Mark Haines | 2016-03-01 | 1 | -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 Haines | 2016-02-18 | 1 | -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 Haines | 2016-01-13 | 1 | -11/+11 |
| | | | | of the code | ||||
* | Remove the PushersTable and EventPushActionsTable objects | Mark Haines | 2016-01-12 | 1 | -9/+5 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | synapse/storage/_base.py:Table was unused | Mark Haines | 2015-09-22 | 1 | -2/+2 |
| | |||||
* | Remove syutil dependency in favour of smaller single-purpose libraries | Mark Haines | 2015-08-24 | 1 | -1/+1 |
| | |||||
* | Correctly decode, for sqlite and postgres, rows from pushers table | Erik Johnston | 2015-04-29 | 1 | -19/+24 |
| | |||||
* | pushkey' are also bytes. | Erik Johnston | 2015-04-29 | 1 | -8/+17 |
| | |||||
* | Actually return rows | Erik Johnston | 2015-04-29 | 1 | -0/+2 |
| | |||||
* | Typo, args wrong way round | Erik Johnston | 2015-04-29 | 1 | -4/+1 |
| | |||||
* | Decode buffers in same thread | Erik Johnston | 2015-04-29 | 1 | -13/+19 |
| | |||||
* | We store pusher data as bytes | Erik Johnston | 2015-04-29 | 1 | -2/+2 |
| | |||||
* | Decode the data json in the storage layer (was moved but this part was missed) | David Baker | 2015-04-29 | 1 | -0/+9 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into postgres | Erik Johnston | 2015-04-28 | 1 | -66/+24 |
|\ | |||||
| * | Delete pushers when changing password | David Baker | 2015-03-26 | 1 | -35/+10 |
| | | |||||
| * | Allow multiple pushers for a single app ID & pushkey, honouring the 'append' ↵ | David Baker | 2015-03-25 | 1 | -13/+14 |
| | | | | | | | | flag in the API. | ||||
| * | 1) Pushers are now associated with an access token | David Baker | 2015-03-24 | 1 | -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. | ||||
* | | PEP8 | Erik Johnston | 2015-04-16 | 1 | -3/+0 |
| | | |||||
* | | Move encoding and decoding of JSON into storage layer | Erik Johnston | 2015-04-16 | 1 | -20/+6 |
| | | |||||
* | | Add missing yield | Erik Johnston | 2015-04-15 | 1 | -1/+1 |
| | | |||||
* | | pushers table requires a unique id. | Erik Johnston | 2015-04-15 | 1 | -0/+4 |
|/ | |||||
* | Give sensible names for '_simple_...' transactions | Erik Johnston | 2015-03-20 | 1 | -5/+11 |
| | |||||
* | Also give _execute() a description | Paul "LeoNerd" Evans | 2015-03-11 | 1 | -2/+3 |
| | |||||
* | Update pushers by app id and pushkey, not user id and pushkey | David Baker | 2015-02-13 | 1 | -6/+6 |
| | |||||
* | s/instance_handle/profile_tag/ | David Baker | 2015-02-03 | 1 | -7/+7 |
| | |||||
* | Code style fixes. | Mark Haines | 2015-01-29 | 1 | -1/+1 |
| | |||||
* | add instance_handles to pushers so we have a way to refer to them even if ↵ | David Baker | 2015-01-20 | 1 | -21/+25 |
| | | | | the push token changes. | ||||
* | Require device language when adding a pusher. | David Baker | 2015-01-16 | 1 | -1/+2 |
| | | | | | Because this seems like it might be useful to do sooner rather than later. | ||||
* | Honour the 'rejected' return from push gateways | David Baker | 2015-01-13 | 1 | -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, pyflakes | David Baker | 2014-12-18 | 1 | -1/+0 |
| | |||||
* | after a few rethinks, a working implementation of pushers. | David Baker | 2014-12-18 | 1 | -26/+57 |
| | |||||
* | Update to app_id / app_instance_id (partially) and mangle to be PEP8 compliant. | David Baker | 2014-12-03 | 1 | -22/+32 |
| | |||||
* | More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP ↵ | David Baker | 2014-11-21 | 1 | -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 Baker | 2014-11-19 | 1 | -0/+98 |
stdout currently!) |