Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 2022-02-23 | 1 | -1/+1 |
| | | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733 | ||||
* | Require type hints in the handlers module. (#10831) | Patrick Cloke | 2021-09-20 | 1 | -3/+5 |
| | | | | | | | Adds missing type hints to methods in the synapse.handlers module and requires all methods to have type hints there. This also removes the unused construct_auth_difference method from the FederationHandler. | ||||
* | Use inline type hints in `handlers/` and `rest/`. (#10382) | Jonathan de Jong | 2021-07-16 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -16/+8 |
| | | | | | | | - 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 | ||||
* | Add type hints to various handlers. (#9223) | Patrick Cloke | 2021-01-26 | 1 | -41/+42 |
| | | | | With this change all handlers except the e2e_* ones have type hints enabled. | ||||
* | Check if group IDs are valid before using them. (#8977) | Patrick Cloke | 2020-12-30 | 1 | -1/+1 |
| | |||||
* | Fix typos and spelling errors. (#8639) | Patrick Cloke | 2020-10-23 | 1 | -2/+2 |
| | |||||
* | Don't 500 for invalid group IDs (#8628) | Erik Johnston | 2020-10-22 | 1 | -1/+4 |
| | |||||
* | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 1 | -1/+1 |
| | | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Convert federation client to async/await. (#7975) | Patrick Cloke | 2020-07-30 | 1 | -21/+14 |
| | |||||
* | Add `HomeServer.signing_key` property (#7805) | Richard van der Hoff | 2020-07-08 | 1 | -1/+1 |
| | | | ... instead of duplicating `config.signing_key[0]` everywhere | ||||
* | Replace iteritems/itervalues/iterkeys with native versions. (#7692) | Patrick Cloke | 2020-06-15 | 1 | -3/+1 |
| | |||||
* | Convert groups local and server to async/await. (#7600) | Patrick Cloke | 2020-06-01 | 1 | -47/+35 |
| | |||||
* | async/await is_server_admin (#7363) | Andrew Morgan | 2020-05-01 | 1 | -12/+12 |
| | |||||
* | Allow moving group read APIs to workers (#6866) | Erik Johnston | 2020-02-07 | 1 | -131/+139 |
| | |||||
* | Correctly proxy remote group HTTP errors. (#6654) | Erik Johnston | 2020-01-07 | 1 | -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 Morgan | 2019-10-31 | 1 | -1/+1 |
| | | | Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated. | ||||
* | Correctly handle errors doing requests to group servers | Erik Johnston | 2019-07-29 | 1 | -32/+57 |
| | |||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -13/+13 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -54/+41 |
| | |||||
* | Handle HttpResponseException when using federation client. | Erik Johnston | 2019-06-07 | 1 | -3/+1 |
| | | | | Otherwise we just log exceptions everywhere. | ||||
* | Correctly handle RequestSendFailed exceptions | Erik Johnston | 2019-02-14 | 1 | -3/+9 |
| | | | | This mainly reduces the number of exceptions we log. | ||||
* | Comments help | Travis Ralston | 2018-10-23 | 1 | -0/+5 |
| | |||||
* | isort | Travis Ralston | 2018-10-12 | 1 | -1/+1 |
| | |||||
* | More sane handling of group errors and pep8 | Travis Ralston | 2018-10-12 | 1 | -4/+5 |
| | |||||
* | Remove debugging statement | Travis Ralston | 2018-09-26 | 1 | -1/+0 |
| | |||||
* | Handle HttpResponseException more safely for federated groups | Travis Ralston | 2018-09-26 | 1 | -2/+11 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -3/+4 |
| | |||||
* | replace some iteritems with six | Adrian Tschira | 2018-05-19 | 1 | -1/+2 |
| | | | | Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | Implement group join API | David Baker | 2018-04-06 | 1 | -1/+39 |
| | |||||
* | Use join_policy API instead of joinable | Luke Barnard | 2018-04-03 | 1 | -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 groups | David Baker | 2018-03-28 | 1 | -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 Telatynski | 2018-01-10 | 1 | -2/+3 |
| | | | | Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> | ||||
* | Fix publicised groups API (singular) over federation | Michael Telatynski | 2018-01-10 | 1 | -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 bulk | Luke Barnard | 2017-11-16 | 1 | -0/+5 |
| | |||||
* | Add automagical AS Publicised Group(s) | Luke Barnard | 2017-11-16 | 1 | -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 config | Erik Johnston | 2017-11-08 | 1 | -0/+1 |
| | |||||
* | 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. | ||||
* | _create_rererouter for get_invited_users_in_group | Luke Barnard | 2017-10-16 | 1 | -17/+2 |
| | |||||
* | Implement GET /groups/$groupId/invited_users | Luke Barnard | 2017-10-16 | 1 | -0/+17 |
| | |||||
* | Log a warning when no profile for invited member | Luke Barnard | 2017-10-16 | 1 | -2/+5 |
| | | | | And return empty profile | ||||
* | Fix fetching remote summaries | Erik Johnston | 2017-10-11 | 1 | -2/+2 |
| | |||||
* | Fix attestations to check correct server name | Erik Johnston | 2017-10-11 | 1 | -10/+20 |
| | |||||
* | Add remove room API | Erik Johnston | 2017-09-26 | 1 | -0/+1 |
| | |||||
* | Add is_publicised to group summary | Erik Johnston | 2017-09-26 | 1 | -25/+31 |
| | |||||
* | Ensure that creator of group sees group down /sync | Erik Johnston | 2017-09-19 | 1 | -4/+30 |
| | |||||
* | Split out profile handler to fix tests | Erik Johnston | 2017-08-25 | 1 | -2/+1 |
| | |||||
* | Add remote profile cache | Erik Johnston | 2017-08-25 | 1 | -4/+13 |
| | |||||
* | Fixup | Erik Johnston | 2017-08-11 | 1 | -9/+13 |
| | |||||
* | Add bulk group publicised lookup API | Erik Johnston | 2017-08-09 | 1 | -0/+42 |
| | |||||
* | Store whether the user wants to publicise their membership of a group | Erik Johnston | 2017-08-08 | 1 | -0/+4 |
| | |||||
* | Remove stale TODO comments | Erik Johnston | 2017-08-04 | 1 | -10/+0 |
| | |||||
* | Merge pull request #2378 from matrix-org/erikj/group_sync_support | Erik Johnston | 2017-07-21 | 1 | -4/+17 |
|\ | | | | | Add groups to sync stream | ||||
| * | Add notifier | Erik Johnston | 2017-07-20 | 1 | -0/+1 |
| | | |||||
| * | Fix replication. And notify | Erik Johnston | 2017-07-20 | 1 | -4/+16 |
| | | |||||
* | | Add update group profile API | Erik Johnston | 2017-07-20 | 1 | -0/+1 |
|/ | |||||
* | Comments | Erik Johnston | 2017-07-18 | 1 | -10/+19 |
| | |||||
* | Fix typos | Erik Johnston | 2017-07-18 | 1 | -2/+3 |
| | |||||
* | Update federation client pokes | Erik Johnston | 2017-07-18 | 1 | -13/+22 |
| | |||||
* | Add client apis | Erik Johnston | 2017-07-18 | 1 | -1/+1 |
| | |||||
* | Comments | Erik Johnston | 2017-07-18 | 1 | -0/+3 |
| | |||||
* | Use transport client directly | Erik Johnston | 2017-07-18 | 1 | -18/+25 |
| | |||||
* | Add local group server support | Erik Johnston | 2017-07-17 | 1 | -0/+278 |