Matthias Ahouansou
2dce87546a
ci: check for typos
12 months ago
Matthias Ahouansou
21af83ea72
feat: knocking
...
You may notice that we do no database migration for populating the state cache for knocking.
This is because that in all the places where we use the state cache, it doesn't make a difference:
- For local users, the clients wouldn't have been able to knock on rooms, as the `/knock`
endpoint wasn't implemented yet, and I am not aware of any client which tries to knock over
`/state`, as it would fail if the server is not currently in the room
- It is not used for remote users
1 year ago
Matthias Ahouansou
f4d90e9989
refactor: move duplicate code and some other small optimizations
1 year ago
Matthias Ahouansou
86b6551dee
make error if content disposition migration fails clearer, as well as logging the name of the responsible file
1 year ago
Matthias Ahouansou
3686f6d260
remove unused backends
...
they have been disabled for a long time, and are unlikely to ever make a comeback
1 year ago
Laurențiu Nicola
a2b72f48b9
fix: remove content-disposition debug prints
1 year ago
Timo Kösters
fea85b0894
fix: Migration typo for media
1 year ago
Timo Kösters
a7405cddc0
fix: Matrix media repo
1 year ago
Timo Kösters
3df21e8257
fix: old media used spaces in content disposition without quotes
1 year ago
Matthias Ahouansou
144d548ef7
fix: permission checks for aliases
2 years ago
Matthias Ahouansou
19154a9f70
refactor: add server_user to globals
2 years ago
mikoto
a888c7cb16
OpenID routes
...
Co-Authored-By: Matthias Ahouansou <matthias@ahouansou.cz>
2 years ago
Matthias Ahouansou
256dae983b
chore: bump rust
...
and fix new lints that come with it
2 years ago
Timo Kösters
0bb28f60cf
refactor: minor appservice code cleanup
2 years ago
Timo Kösters
d2817679e5
refactor: remove previous typing implementation and add sync wakeup for new one
2 years ago
Matthias Ahouansou
fa930182ae
fix(appservices): don't panic on empty registration url
...
perf(appservices): cache regex for namespaces
2 years ago
Charles Hall
1274b48ebb
run `cargo update`
...
`IndexMap::remove` was deprecated in favor of explicitly named methods.
I assume that we actually needed to be using `shift_remove`, otherwise
we probably wouldn't be bothering with `indexmap` here in the first
place. I wonder if this fixes any bugs lol
2 years ago
Timo Kösters
c028e0553c
feat: registration tokens
3 years ago
Timo Kösters
b8c164dc60
feat: version checker
3 years ago
Timo Kösters
be877ef719
Improve sync performance with more caching and wrapping things in Arcs to avoid copies
3 years ago
Timo Kösters
72eb1972c1
Add relations endpoints, edits and threads work now
3 years ago
Timo Kösters
c7e0ea525a
feat: WIP relationships and threads
3 years ago
Kévin Commaille
1929ca5d9d
Add a database migration to fix and update the default pushrules
3 years ago
Timo Kösters
eae0989c40
fix: refactor backfill and add support for search
3 years ago
Timo Kösters
7bdd9660aa
feat: ask for backfill
3 years ago
Timo Kösters
a4f18f99ad
fix: ignore bad user ids
3 years ago
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
3 years ago
Timo Kösters
2a0515f528
Replace println/dbg calls with corresponding macros from tracing crate
3 years ago
Paul Beziau
a2d8aec1e3
Moving the unwraping of a variable
...
Moving the unwraping of the variable "rule" inside the condition instead of the if body, for the migration of the database from version 11 to 12.
3 years ago
Timo Kösters
02dd3d32f2
fix: element android did not reset notification counts
3 years ago
Paul Beziau
d47c1a8ba6
Fix database version check & code formating
3 years ago
Paul Beziau
9c0c74f547
Migrate database to use correct rule id in pushrules.
...
it convert :
- ".m.rules.call" to ".m.rule.call"
- ".m.rules.room_one_to_one" to ".m.rule.room_one_to_one"
- ".m.rules.encrypted_room_one_to_one" to ".m.rule.encrypted_room_one_to_one"
- ".m.rules.message" to ".m.rule.message"
- ".m.rules.encrypted" to ".m.rule.encrypted"
related to issue #264
3 years ago
Nyaaori
f430b87459
cargo clippy
3 years ago
Timo Kösters
ca82b2940d
fix: sending does not work
...
We were inserting one too many 0xff bytes
3 years ago
Timo Kösters
076e9810ba
cargo fix
3 years ago
Timo Kösters
6b131202b9
Bump ruma
3 years ago
Timo Kösters
8b5b7a1f63
fix: panic on launch
...
Now we start the admin and sending threads at a later time.
3 years ago
Timo Kösters
50b0eb9929
cargo fix
3 years ago
Timo Kösters
7822a385bb
cargo fmt
3 years ago
Timo Kösters
d5b4754cf4
0 errors left!
3 years ago
Timo Kösters
f47a5cd5d5
cargo fix
3 years ago
Timo Kösters
a4637e2ba1
cargo fmt
3 years ago
Timo Kösters
44fe6d1554
127 errors left
3 years ago
Timo Kösters
cff52d7ebb
messing around with arcs
3 years ago
Timo Kösters
face766e0f
messing with trait objects
3 years ago
Timo Kösters
8708cd3b63
431 errors left
3 years ago
Timo Kösters
bd8b616ca0
Fixed more compile time errors
3 years ago
Timo Kösters
057f8364cc
fix: some compile time errors
...
Only 174 errors left!
3 years ago
Timo Kösters
865e35df17
Work on rooms/state, database, alias, directory, edus services, event_handler, lazy_loading, metadata, outlier, and pdu_metadata
4 years ago
Timo Kösters
025b64befc
refactor: renames and split room.rs
4 years ago