summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/groups.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-957/+0
|
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-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 Cloke2021-03-231-1/+1
|
* Fix additional type hints from Twisted 21.2.0. (#9591)Patrick Cloke2021-03-121-32/+73
|
* Use the proper Request in type hints. (#9515)Patrick Cloke2021-03-011-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 Cloke2021-02-171-23/+120
|
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-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 Cloke2021-02-081-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 Cloke2020-12-301-3/+45
|
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-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 Cloke2020-08-201-0/+4
|
* Port rest.client.v2Erik Johnston2019-12-051-130/+96
|
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-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 Brown2019-07-231-32/+32
|
* Run Black. (#5482)Amber Brown2019-06-201-86/+71
|
* Unify v1 and v2 REST client APIs (#5226)Amber Brown2019-06-031-25/+25
|
* run isortAmber Brown2018-07-091-2/+2
|
* Use "/settings/" (plural)Luke Barnard2018-04-051-1/+1
|
* Use join_policy API instead of joinableLuke Barnard2018-04-031-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 PUTDavid Baker2018-03-281-1/+1
|
* Add joinability for groupsDavid Baker2018-03-281-0/+28
| | | | | Adds API to set the 'joinable' flag, and corresponding flag in the table.
* Allow guest access to group APIs for readingLuke Barnard2017-11-281-11/+11
|
* Register group servletErik Johnston2017-11-091-0/+1
|
* Have an explicit API to update room configErik Johnston2017-11-081-0/+27
|
* Revert "Modify group room association API to allow modification of is_public"Erik Johnston2017-11-081-2/+2
|
* Modify group room association API to allow modification of is_publicLuke Barnard2017-10-311-2/+2
| | | | also includes renamings to make things more consistent.
* delintLuke Barnard2017-10-261-4/+17
|
* Add is_public to groups table to allow for private groupsLuke Barnard2017-10-261-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() methodRichard van der Hoff2017-10-201-1/+1
| | | | | It just calls the constructor, so we may as well kill it rather than having random codepaths.
* DelintLuke Barnard2017-10-161-0/+1
|
* Implement GET /groups/$groupId/invited_usersLuke Barnard2017-10-161-0/+21
|
* Add remove room APIErik Johnston2017-09-261-0/+11
|
* FixupErik Johnston2017-08-111-0/+1
|
* Add bulk group publicised lookup APIErik Johnston2017-08-091-0/+54
|
* Allow update group publicityErik Johnston2017-08-081-0/+28
|
* Remove spurious content paramErik Johnston2017-07-201-1/+1
|
* Add update group profile APIErik Johnston2017-07-201-0/+12
|
* CommentsErik Johnston2017-07-181-1/+3
|
* CommentsErik Johnston2017-07-181-103/+48
|
* Add local group server supportErik Johnston2017-07-171-0/+642