Commit Graph

24 Commits

Author SHA1 Message Date
strawberry
149d22eef7 make set avatar, displayname, and blurhash async and forgot another let _
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-01-14 20:55:56 -05:00
strawberry
5bb6128149 remove wrong else logic
Signed-off-by: strawberry <strawberry@puppygock.gay>
2023-12-23 11:49:14 -05:00
strawberry
dd8a6ede09 dont allow guest registration if registration disabled with token configured
Signed-off-by: strawberry <strawberry@puppygock.gay>
2023-12-23 11:49:14 -05:00
strawberry
6664259e64 forbid guest users from registering if no real admin user exists
Signed-off-by: strawberry <strawberry@puppygock.gay>
2023-12-23 11:49:14 -05:00
strawberry
01a8f6323d log next steps if a guest account registered and attempted to get admin
this might be an unreachable state with the next commit, but let's be
extra sure here just in case a guest still managed to register before
a real admin was created.

Signed-off-by: strawberry <strawberry@puppygock.gay>
2023-12-23 11:49:14 -05:00
strawberry
dc73df763a don't grant guest users admin, slight user + guest logging improvements
Signed-off-by: strawberry <strawberry@puppygock.gay>
2023-12-23 11:49:14 -05:00
strawberry
b0fdc1351b add config option for guest registration, make guest registration respect allow_registration
Signed-off-by: strawberry <strawberry@puppygock.gay>
2023-12-23 11:49:14 -05:00
Timo Kösters
c028e0553c feat: registration tokens 2023-08-09 18:27:30 +02:00
Timo Kösters
a1bd348977 fix: history visibility 2023-03-13 10:39:19 +01:00
Nyaaori
c86313d4fa chore: code cleanup
https://rust-lang.github.io/rust-clippy/master/index.html#op_ref

https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string

https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
2022-12-21 10:42:12 +01:00
Jonas Platte
d39ce1401d WIP: Upgrade Ruma 2022-12-16 11:57:32 +01:00
Timo Kösters
02dd3d32f2 fix: element android did not reset notification counts 2022-10-30 20:41:32 +01:00
James Blachly
3bc0a1924b Return 403 to 3pid token routes to signal not implemented 2022-10-25 20:47:41 +00:00
Nyaaori
2d0fdddd34 Do not return true for is_guest on whoami for appservice users 2022-10-15 13:17:58 +02:00
Jim
df8703cc13 Lightning bolt optional 2022-10-10 14:34:28 +02:00
Nyaaori
f430b87459 cargo clippy 2022-10-10 14:09:11 +02:00
Timo Kösters
6b131202b9 Bump ruma 2022-10-10 14:02:04 +02:00
Timo Kösters
7822a385bb cargo fmt 2022-10-10 14:02:02 +02:00
Timo Kösters
f47a5cd5d5 cargo fix 2022-10-10 14:02:01 +02:00
Timo Kösters
a4637e2ba1 cargo fmt 2022-10-10 14:02:01 +02:00
Timo Kösters
cff52d7ebb messing around with arcs 2022-10-10 14:02:00 +02:00
Timo Kösters
bd8b616ca0 Fixed more compile time errors 2022-10-10 13:54:00 +02:00
Timo Kösters
057f8364cc fix: some compile time errors
Only 174 errors left!
2022-10-10 13:25:01 +02:00
Timo Kösters
025b64befc refactor: renames and split room.rs 2022-08-15 16:30:34 +02:00