Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support pagination tokens from /sync and /messages in the relations API. ↵ | Patrick Cloke | 2022-02-10 | 1 | -6/+9 |
| | | | | (#11952) | ||||
* | Use auto_attribs/native type hints for attrs classes. (#11692) | Patrick Cloke | 2022-01-13 | 1 | -10/+10 |
| | |||||
* | Name the type of token in "Invalid token" messages (#10815) | David Robertson | 2021-09-14 | 1 | -2/+2 |
| | | | | | | I had one of these error messages yesterday and assumed it was an invalid auth token (because that was an HTTP query parameter in the test) I was working on. In fact, it was an invalid next batch token for syncing. | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Add additional type hints to the storage module. (#8980) | Patrick Cloke | 2020-12-30 | 1 | -21/+23 |
| | |||||
* | Use slots in attrs classes where possible (#8296) | Patrick Cloke | 2020-09-14 | 1 | -1/+1 |
| | | | | | slots use less memory (and attribute access is faster) while slightly limiting the flexibility of the class attributes. This focuses on objects which are instantiated "often" and for short periods of time. | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -3/+3 |
| | |||||
* | Move storage classes into a main "data store". | Erik Johnston | 2019-10-21 | 1 | -359/+0 |
| | | | | | This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage. | ||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -3/+1 |
| | |||||
* | Include the original event in /relations (#5626) | Andrew Morgan | 2019-07-09 | 1 | -1/+1 |
| | | | When asking for the relations of an event, include the original event in the response. This will mostly be used for efficiently showing edit history, but could be useful in other circumstances. | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -5/+1 |
| | |||||
* | Merge pull request #5203 from matrix-org/erikj/aggregate_by_sender | Erik Johnston | 2019-05-21 | 1 | -1/+1 |
|\ | | | | | Only count aggregations from distinct senders | ||||
| * | Only count aggregations from distinct senders | Erik Johnston | 2019-05-17 | 1 | -1/+1 |
| | | | | | | | | As a user isn't allowed to send a single emoji more than once. | ||||
* | | Block attempts to annotate the same event twice | Erik Johnston | 2019-05-20 | 1 | -3/+45 |
| | | |||||
* | | Rename relation types to match MSC | Erik Johnston | 2019-05-20 | 1 | -4/+4 |
| | | |||||
* | | Correctly update aggregation counts after redaction | Erik Johnston | 2019-05-20 | 1 | -0/+17 |
|/ | |||||
* | Fixup bsaed on review comments | Erik Johnston | 2019-05-17 | 1 | -15/+17 |
| | |||||
* | Add basic editing support | Erik Johnston | 2019-05-16 | 1 | -2/+58 |
| | |||||
* | Move parsing of tokens out of storage layer | Erik Johnston | 2019-05-16 | 1 | -14/+2 |
| | |||||
* | Indirect tuple conversion | Erik Johnston | 2019-05-16 | 1 | -0/+6 |
| | |||||
* | Fix relations in worker mode | Erik Johnston | 2019-05-16 | 1 | -1/+3 |
| | |||||
* | Add cache to relations | Erik Johnston | 2019-05-16 | 1 | -0/+8 |
| | |||||
* | Add aggregations API | Erik Johnston | 2019-05-16 | 1 | -6/+219 |
| | |||||
* | Actually check for None rather falsey | Erik Johnston | 2019-05-15 | 1 | -2/+2 |
| | |||||
* | Add simple pagination API | Erik Johnston | 2019-05-15 | 1 | -0/+80 |
| | |||||
* | Add simple send_relation API and track in DB | Erik Johnston | 2019-05-15 | 1 | -0/+62 |