Commit Graph

12 Commits

Author SHA1 Message Date
Tom Hacohen
233aeab98b Support login and invitations using email rather than just username. 2021-01-27 09:35:36 +02:00
Tom Hacohen
240469342b Move reporting item changes to a background task. 2021-01-12 11:57:43 +02:00
Tom Hacohen
61bd82f1e3 Subscriptions: stream missing items if user passed an old stoken. 2021-01-11 22:15:12 +02:00
Tom Hacohen
f52facad1c Subscriptions: implement live subscriptions for collection items 2021-01-11 22:15:12 +02:00
Tom Hacohen
9f0430a6da Improve types. 2021-01-04 14:23:30 +02:00
Tom Hacohen
2e21fe4994 Django db cleanup: explicitly add it to dependencies.
We can't really add it manually, because some of the deps are auto included as
parameters. These were not being decorated which in turn meeant issues.
2020-12-31 10:03:16 +02:00
Tom Hacohen
6738c2cf20 Remove unused variable. 2020-12-30 13:55:05 +02:00
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.
2020-12-30 10:17:01 +02:00
Tom Hacohen
a7fdb4a108 More typing fixes. 2020-12-29 21:10:03 +02:00
Tom Hacohen
709bc6c1fc Improve typing information. 2020-12-29 18:17:28 +02:00
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.
2020-12-29 17:55:55 +02:00
Tom Hacohen
dbdff06e68 Move all the routers under their own dir. 2020-12-29 15:42:41 +02:00