Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Flatten the synapse.rest.client package (#10600) | reivilibre | 2021-08-17 | 1 | -957/+0 |
| | |||||
* | 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>` | ||||
* | Import HomeServer from the proper module. (#9665) | Patrick Cloke | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Fix additional type hints from Twisted 21.2.0. (#9591) | Patrick Cloke | 2021-03-12 | 1 | -32/+73 |
| | |||||
* | Use the proper Request in type hints. (#9515) | Patrick Cloke | 2021-03-01 | 1 | -1/+1 |
| | | | | This also pins the Twisted version in the mypy job for CI until proper type hints are fixed throughout Synapse. | ||||
* | Add type hints to groups code. (#9393) | Patrick Cloke | 2021-02-17 | 1 | -23/+120 |
| | |||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -44/+22 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Type hints and validation improvements. (#9321) | Patrick Cloke | 2021-02-08 | 1 | -60/+119 |
| | | | | | * Adds type hints to the groups servlet and stringutils code. * Assert the maximum length of some input values for spec compliance. | ||||
* | Check if group IDs are valid before using them. (#8977) | Patrick Cloke | 2020-12-30 | 1 | -3/+45 |
| | |||||
* | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 1 | -24/+24 |
| | | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py | ||||
* | Ensure a group ID is valid before trying to get rooms for it. (#8129) | Patrick Cloke | 2020-08-20 | 1 | -0/+4 |
| | |||||
* | Port rest.client.v2 | Erik Johnston | 2019-12-05 | 1 | -130/+96 |
| | |||||
* | Remove unnecessary parentheses around return statements (#5931) | Andrew Morgan | 2019-08-30 | 1 | -32/+32 |
| | | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :) | ||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -32/+32 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -86/+71 |
| | |||||
* | Unify v1 and v2 REST client APIs (#5226) | Amber Brown | 2019-06-03 | 1 | -25/+25 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -2/+2 |
| | |||||
* | Use "/settings/" (plural) | Luke Barnard | 2018-04-05 | 1 | -1/+1 |
| | |||||
* | Use join_policy API instead of joinable | Luke Barnard | 2018-04-03 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | The API is now under /groups/$group_id/setting/m.join_policy and expects a JSON blob of the shape ```json { "m.join_policy": { "type": "invite" } } ``` where "invite" could alternatively be "open". | ||||
* | This should probably be a PUT | David Baker | 2018-03-28 | 1 | -1/+1 |
| | |||||
* | Add joinability for groups | David Baker | 2018-03-28 | 1 | -0/+28 |
| | | | | | Adds API to set the 'joinable' flag, and corresponding flag in the table. | ||||
* | Allow guest access to group APIs for reading | Luke Barnard | 2017-11-28 | 1 | -11/+11 |
| | |||||
* | Register group servlet | Erik Johnston | 2017-11-09 | 1 | -0/+1 |
| | |||||
* | Have an explicit API to update room config | Erik Johnston | 2017-11-08 | 1 | -0/+27 |
| | |||||
* | Revert "Modify group room association API to allow modification of is_public" | Erik Johnston | 2017-11-08 | 1 | -2/+2 |
| | |||||
* | Modify group room association API to allow modification of is_public | Luke Barnard | 2017-10-31 | 1 | -2/+2 |
| | | | | also includes renamings to make things more consistent. | ||||
* | delint | Luke Barnard | 2017-10-26 | 1 | -4/+17 |
| | |||||
* | Add is_public to groups table to allow for private groups | Luke Barnard | 2017-10-26 | 1 | -40/+40 |
| | | | | | | Prevent group API access to non-members for private groups Also make all the group code paths consistent with `requester_user_id` always being the User ID of the requesting user. | ||||
* | Remove pointless create() method | Richard van der Hoff | 2017-10-20 | 1 | -1/+1 |
| | | | | | It just calls the constructor, so we may as well kill it rather than having random codepaths. | ||||
* | Delint | Luke Barnard | 2017-10-16 | 1 | -0/+1 |
| | |||||
* | Implement GET /groups/$groupId/invited_users | Luke Barnard | 2017-10-16 | 1 | -0/+21 |
| | |||||
* | Add remove room API | Erik Johnston | 2017-09-26 | 1 | -0/+11 |
| | |||||
* | Fixup | Erik Johnston | 2017-08-11 | 1 | -0/+1 |
| | |||||
* | Add bulk group publicised lookup API | Erik Johnston | 2017-08-09 | 1 | -0/+54 |
| | |||||
* | Allow update group publicity | Erik Johnston | 2017-08-08 | 1 | -0/+28 |
| | |||||
* | Remove spurious content param | Erik Johnston | 2017-07-20 | 1 | -1/+1 |
| | |||||
* | Add update group profile API | Erik Johnston | 2017-07-20 | 1 | -0/+12 |
| | |||||
* | Comments | Erik Johnston | 2017-07-18 | 1 | -1/+3 |
| | |||||
* | Comments | Erik Johnston | 2017-07-18 | 1 | -103/+48 |
| | |||||
* | Add local group server support | Erik Johnston | 2017-07-17 | 1 | -0/+642 |