anonymousland-synapse/synapse
Dionysis Grigoropoulos 37ca5924bd
Create function to check for long names in devices (#8364)
* Create a new function to verify that the length of a device name is
under a certain threshold.
* Refactor old code and tests to use said function.
* Verify device name length during registration of device
* Add a test for the above

Signed-off-by: Dionysis Grigoropoulos <dgrig@erethon.com>
2020-09-22 11:42:55 +01:00
..
_scripts Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
api Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
app Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
appservice Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
config Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
crypto Add a comment re #1691 2020-09-21 12:34:06 +01:00
events Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
federation Synapse 1.20.0rc5 (2020-09-18) 2020-09-18 11:17:58 -04:00
groups Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
handlers Create function to check for long names in devices (#8364) 2020-09-22 11:42:55 +01:00
http Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
logging Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
metrics Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
module_api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
push Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
replication Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
res/templates Improve SAML error messages (#8248) 2020-09-14 09:05:36 -04:00
rest Synapse 1.20.0rc5 (2020-09-18) 2020-09-18 11:17:58 -04:00
server_notices Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
spam_checker_api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
state Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
static Clean-up the fallback login code. (#7657) 2020-06-10 09:50:39 -04:00
storage Synapse 1.20.0rc5 (2020-09-18) 2020-09-18 11:17:58 -04:00
streams Clean up types for PaginationConfig (#8250) 2020-09-08 15:00:17 +01:00
util Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
__init__.py 1.20.0rc5 2020-09-18 10:56:50 -04:00
event_auth.py Convert events worker database to async/await. (#8071) 2020-08-18 16:20:49 -04:00
notifier.py Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
python_dependencies.py Move lint dependencies to extras_require (#8330) 2020-09-17 16:45:22 -04:00
secrets.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
server.py Fix ratelimiting for federation /send requests. (#8342) 2020-09-18 10:49:29 +01:00
types.py Switch metaclass initialization to python 3-compatible syntax (#8326) 2020-09-16 15:15:55 -04:00
visibility.py Convert groups and visibility code to async / await. (#7951) 2020-07-27 12:32:08 -04:00