summary refs log tree commit diff
path: root/synapse/util/stringutils.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Validate client_secret parameter (#6767)Andrew Morgan2020-01-241-0/+17
|
* Run Black. (#5482)Amber Brown2019-06-201-10/+6
|
* Use SystemRandom for token generationRichard van der Hoff2019-05-031-2/+7
|
* Fix UnicodeDecodeError when postgres is not configured in english (#4253)Richard van der Hoff2018-12-041-1/+38
| | | | This is a bit of a half-assed effort at fixing https://github.com/matrix-org/synapse/issues/4252. Fundamentally the right answer is to drop support for Python 2.
* Port over enough to get some sytests running on Python 3 (#3668)Amber Brown2018-08-201-0/+15
|
* run isortAmber Brown2018-07-091-0/+1
|
* Move more xrange to sixAdrian Tschira2018-04-281-2/+3
| | | | | | plus a bonus next() Signed-off-by: Adrian Tschira <nota@notafile.com>
* Reduce size of joined_user cacheErik Johnston2017-04-251-0/+14
| | | | | | | | The _get_joined_users_from_context cache stores a mapping from user_id to avatar_url and display_name. Instead of storing those in a dict, store them in a namedtuple as that uses much less memory. We also try converting the string to ascii to further reduce the size.
* Remove some unused functions (#711)Mark Haines2016-04-081-4/+0
| | | | | | | | * Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Allow non-ascii filenames for attachmentsMark Haines2015-08-261-0/+2
|
* Enforce ascii filenames for uploadsErik Johnston2015-06-301-0/+9
|
* Implement registering with shared secret.Erik Johnston2015-03-131-0/+10
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+24