summary refs log tree commit diff
path: root/synapse/handlers/groups_local.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Correctly proxy remote group HTTP errors. (#6654)Erik Johnston2020-01-071-0/+16
| | | | | e.g. if remote returns a 404 then that shouldn't be treated as an error but should be proxied through.
* Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-1/+1
| | | Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated.
* Correctly handle errors doing requests to group serversErik Johnston2019-07-291-32/+57
|
* Replace returnValue with return (#5736)Amber Brown2019-07-231-13/+13
|
* Run Black. (#5482)Amber Brown2019-06-201-54/+41
|
* Handle HttpResponseException when using federation client.Erik Johnston2019-06-071-3/+1
| | | | Otherwise we just log exceptions everywhere.
* Correctly handle RequestSendFailed exceptionsErik Johnston2019-02-141-3/+9
| | | | This mainly reduces the number of exceptions we log.
* Comments helpTravis Ralston2018-10-231-0/+5
|
* isortTravis Ralston2018-10-121-1/+1
|
* More sane handling of group errors and pep8Travis Ralston2018-10-121-4/+5
|
* Remove debugging statementTravis Ralston2018-09-261-1/+0
|
* Handle HttpResponseException more safely for federated groupsTravis Ralston2018-09-261-2/+11
|
* run isortAmber Brown2018-07-091-3/+4
|
* replace some iteritems with sixAdrian Tschira2018-05-191-1/+2
| | | | Signed-off-by: Adrian Tschira <nota@notafile.com>
* Implement group join APIDavid Baker2018-04-061-1/+39
|
* Use join_policy API instead of joinableLuke Barnard2018-04-031-1/+1
| | | | | | | | | | | | | | | | | 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".
* Add joinability for groupsDavid Baker2018-03-281-0/+3
| | | | | Adds API to set the 'joinable' flag, and corresponding flag in the table.
* fix order of operations derp and also use `.get` to default to {}Michael Telatynski2018-01-101-2/+3
| | | | Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix publicised groups API (singular) over federationMichael Telatynski2018-01-101-4/+4
| | | | | | | which was missing its fed client API, since there is no other API it might as well reuse the bulk one and unwrap it Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Make sure we check AS groups for lookup on bulkLuke Barnard2017-11-161-0/+5
|
* Add automagical AS Publicised Group(s)Luke Barnard2017-11-161-0/+6
| | | | | | | | | | | | | | | | via registration file "users" namespace: ```YAML ... namespaces: users: - exclusive: true regex: '.*luke.*' group_id: '+all_the_lukes:hsdomain' ... ``` This is part of giving App Services their own groups for matching users. With this, ghost users will be given the appeareance that they are in a group and that they have publicised the fact, but _only_ from the perspective of the `get_publicised_groups_for_user` API.
* Have an explicit API to update room configErik Johnston2017-11-081-0/+1
|
* 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.
* _create_rererouter for get_invited_users_in_groupLuke Barnard2017-10-161-17/+2
|
* Implement GET /groups/$groupId/invited_usersLuke Barnard2017-10-161-0/+17
|
* Log a warning when no profile for invited memberLuke Barnard2017-10-161-2/+5
| | | | And return empty profile
* Fix fetching remote summariesErik Johnston2017-10-111-2/+2
|
* Fix attestations to check correct server nameErik Johnston2017-10-111-10/+20
|
* Add remove room APIErik Johnston2017-09-261-0/+1
|
* Add is_publicised to group summaryErik Johnston2017-09-261-25/+31
|
* Ensure that creator of group sees group down /syncErik Johnston2017-09-191-4/+30
|
* Split out profile handler to fix testsErik Johnston2017-08-251-2/+1
|
* Add remote profile cacheErik Johnston2017-08-251-4/+13
|
* FixupErik Johnston2017-08-111-9/+13
|
* Add bulk group publicised lookup APIErik Johnston2017-08-091-0/+42
|
* Store whether the user wants to publicise their membership of a groupErik Johnston2017-08-081-0/+4
|
* Remove stale TODO commentsErik Johnston2017-08-041-10/+0
|
* Merge pull request #2378 from matrix-org/erikj/group_sync_supportErik Johnston2017-07-211-4/+17
|\ | | | | Add groups to sync stream
| * Add notifierErik Johnston2017-07-201-0/+1
| |
| * Fix replication. And notifyErik Johnston2017-07-201-4/+16
| |
* | Add update group profile APIErik Johnston2017-07-201-0/+1
|/
* CommentsErik Johnston2017-07-181-10/+19
|
* Fix typosErik Johnston2017-07-181-2/+3
|
* Update federation client pokesErik Johnston2017-07-181-13/+22
|
* Add client apisErik Johnston2017-07-181-1/+1
|
* CommentsErik Johnston2017-07-181-0/+3
|
* Use transport client directlyErik Johnston2017-07-181-18/+25
|
* Add local group server supportErik Johnston2017-07-171-0/+278