6 Commits (453869d71d04b2bc454126e60515aa09a7bcb8b9)

Author SHA1 Message Date
James 453869d71d Remove port from host_from_request check
This strips the port from the client requests, comparing only the hostnames or IP addresses, and should alleviate nonstandard port and initial testing issues.  Tested on Linux, Mac, and Android clients.  Closes #105.

Code is from this comment:

https://github.com/etesync/server/issues/66#issuecomment-731215345
3 years ago
Tom Hacohen 233aeab98b Support login and invitations using email rather than just username. 4 years ago
Tom Hacohen 9f0430a6da Improve types. 4 years ago
Tom Hacohen 64be7f10bd Remove all of the needless async decorators.
The code uses the django ORM which is sync, and fastapi handles sync paths
just fine. So having all of this extra code for handling async was unnecessary.
4 years ago
Tom Hacohen 332f7e2332 Fix Python 3.7 compatibility
Both cached_property and Literal were introduced in Python 3.8 so they
can't be used.
4 years ago
Tom Hacohen dbdff06e68 Move all the routers under their own dir. 4 years ago