1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-15 04:07:43 +00:00
Commit graph

16 commits

Author SHA1 Message Date
Erik Johnston
23740eaa3d
Correctly mention previous copyright ()
During the migration the automated script to update the copyright
headers accidentally got rid of some of the existing copyright lines.
Reinstate them.
2024-01-23 11:26:48 +00:00
Patrick Cloke
8e1e62c9e0 Update license headers 2023-11-21 15:29:58 -05:00
Erik Johnston
6204c3663e
Revert pruning of old devices ()
* Revert "Fix registering a device on an account with lots of devices ()"

This reverts commit f0d8f66eaa.

* Revert "Delete stale non-e2e devices for users, take 3 ()"

This reverts commit 78cdb72cd6.
2023-03-31 13:51:51 +01:00
Erik Johnston
78cdb72cd6
Delete stale non-e2e devices for users, take 3 ()
This should help reduce the number of devices e.g. simple bots the repeatedly login rack up.

We only delete non-e2e devices as they should be safe to delete, whereas if we delete e2e devices for a user we may accidentally break their ability to receive e2e keys for a message.
2023-03-29 12:07:14 +01:00
Dirk Klimpel
a068ad7dd4
Add information on uploaded media to user export command. () 2023-02-23 13:14:17 -05:00
Dirk Klimpel
61bfcd669a
Add account data to export command ()
* Add account data to to export command

* newsfile

* remove not needed function

* update newsfile

* adopt 
2023-02-17 13:54:55 +00:00
Dirk Klimpel
bf82b56bab
Add more user information to export-data command. ()
* The user's profile information.
* The user's devices.
* The user's connections / IP address information.
2023-02-01 15:45:19 +00:00
Patrick Cloke
e10a2fe0c2
Add some type hints to the tests.handlers module. () 2022-03-11 07:07:15 -05:00
Rafael Gonçalves
0e16b418f6
Add knock information in admin exported data ()
Signed-off-by: Rafael Goncalves <rafaelgoncalves@riseup.net>
2021-10-28 18:54:38 +01:00
reivilibre
642a42edde
Flatten the synapse.rest.client package () 2021-08-17 11:57:58 +00:00
Jonathan de Jong
4b965c862d
Remove redundant "coding: utf-8" lines ()
Part of 

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>`
2021-04-14 15:34:27 +01:00
Patrick Cloke
0b3112123d
Use mock from the stdlib. () 2021-04-09 13:44:38 -04:00
Eric Eastwood
0a00b7ff14
Update black, and run auto formatting over the codebase ()
- Update black version to the latest
 - Run black auto formatting over the codebase
    - Run autoformatting according to [`docs/code_style.md
`](80d6dc9783/docs/code_style.md)
 - Update `code_style.md` docs around installing black to use the correct version
2021-02-16 22:32:34 +00:00
Patrick Cloke
c9c0ad5e20
Remove the deprecated Handlers object ()
All handlers now available via get_*_handler() methods on the HomeServer.
2020-10-09 07:24:34 -04:00
Erik Johnston
c061d4f237 Fixup from review comments. 2019-07-04 11:41:06 +01:00
Erik Johnston
8ee69f299c Add basic function to get all data for a user out of synapse 2019-07-02 12:09:04 +01:00