Commit graph

966 commits

Author SHA1 Message Date
Timo Kösters
dc28536690
fix: panic on launch
Now we start the admin and sending threads at a later time.
2022-10-08 14:07:15 +02:00
Timo Kösters
ec2ef37619
cargo fix 2022-10-08 14:07:15 +02:00
Timo Kösters
419da573d9
cargo fmt 2022-10-08 14:07:14 +02:00
Timo Kösters
342c9bff4f
0 errors left! 2022-10-08 14:07:14 +02:00
Timo Kösters
cc1e4be53d
cargo fix 2022-10-05 20:41:05 +02:00
Timo Kösters
62cbb57ebc
cargo fmt 2022-10-05 20:34:31 +02:00
Timo Kösters
f33dbb855a
37 errors left 2022-10-05 20:33:55 +02:00
Timo Kösters
769c1ecdd4
127 errors left 2022-10-05 18:36:12 +02:00
Timo Kösters
0f618de7fd
messing around with arcs 2022-10-05 15:33:57 +02:00
Timo Kösters
9b08525a18
messing with trait objects 2022-10-05 12:45:54 +02:00
Timo Kösters
79e7115b62
431 errors left 2022-10-05 09:34:25 +02:00
Timo Kösters
d6b32b6ffe
Fixed more compile time errors 2022-09-07 13:25:51 +02:00
Timo Kösters
c8f921c532
fix: some compile time errors
Only 174 errors left!
2022-09-06 23:15:09 +02:00
Timo Kösters
3a09c8e180
refactor state accessor, state cache, user, uiaa 2022-08-14 13:40:12 +02:00
Jakub Kubík
f107f8d160
feat(database/presence): add skeleton for presence maintenance 2022-08-13 23:29:01 +02:00
Timo Kösters
d1138204a6
Refactor appservices, pusher, timeline, transactionids, users 2022-08-07 19:42:22 +02:00
Timo Kösters
5108ce52c2
refactor: work on auth chain and state compressor 2022-07-10 17:23:26 +02:00
Timo Kösters
ada1251a52
refactor: work on search 2022-07-10 16:28:43 +02:00
Timo Kösters
a10e7e7263
refactor: split up database/key_value.rs 2022-07-10 16:03:40 +02:00
Jakub Kubík
8f4f3314c6
refactor(edus): split edus into separate modules 2022-07-10 14:37:34 +02:00
Timo Kösters
173f8b1b4d
Work on event_handler, lazy_loading, metadata, outlier, pdu_metadata 2022-07-10 10:06:23 +02:00
Timo Kösters
b5305ba217
Work on alias, directory and edus services 2022-07-09 18:10:19 +02:00
Timo Kösters
7c166aa468
Work on rooms/state and database 2022-06-25 16:12:23 +02:00
Timo Kösters
03b2867a84
refactor: split up force_state 2022-06-20 12:08:58 +02:00
Timo Kösters
3fd7f6efc2
refactor: event handling code 2022-06-20 11:31:27 +02:00
Timo Kösters
9c71a2cd5e
refactor: renames and split room.rs 2022-06-19 22:56:14 +02:00
Zeyphros
1c31f7905f
Update command comment to coincide with the default action 2022-06-19 18:59:49 +02:00
Zeyphros
f6183e457d
Implement command to deactivate user from admin channel
Use `leave_room` in `leave_all_rooms`

WIP: Add command to delete a list of users
also implements a flag to prevent the user from being removed from their joined rooms.

Report user deactivation failure reason

Don't send leave events by default when mass deactivating user accounts

Don't stop leaving rooms if an error was encountered

WIP: Rename command, make flags consistent, don't deactivate admin accounts.
Accounts should be deactivated as fast as possible and removing users from joined groups is completed afterwards.

Fix admin safety logic, improve command output

Continue leaving rooms if a room_id is invalid

Ignore errors from leave_room

Add notice to the list-local-users command
Output form list-local-users can be used directly without modification with the deactivate-all command

Only get mutex lock for admin room when sending message
2022-06-19 18:59:48 +02:00
Dietrich
7bee9c1c69 Length of passwords consistently use the constant 2022-06-19 07:10:47 +02:00
Timo Kösters
0bc03e90a1
improvement: make more things async 2022-06-18 22:55:37 +02:00
Timo Kösters
9b898248c7
feat: more admin commands, better logging 2022-06-18 22:55:34 +02:00
Timo Kösters
f8547ecba4 Merge branch 'create-user-command' into 'next'
added a command to the admin bot to create a new user, even with registration disabled

See merge request famedly/conduit!354
2022-06-18 13:08:51 +00:00
Timo Kösters
0286a804f4 Merge branch 'filter-users' into 'next'
Hide users from user directory if they are only in private rooms and they don't share a room

Closes #24

See merge request famedly/conduit!325
2022-06-18 11:17:09 +00:00
Radek Stępień
7239243163 Hide users from user directory if they are only in private rooms and they don't share a room 2022-06-18 11:17:09 +00:00
Timo Kösters
124471199c Merge branch 'registration-without-username' into 'next'
Allow registration without username

Closes #111

See merge request famedly/conduit!340
2022-06-18 11:13:37 +00:00
Radek Stępień
84ec057f6e Allow registration without username 2022-06-18 11:13:37 +00:00
Timo Kösters
84cb0667f3 Merge branch 'to_device-existing-txn-id' into 'next'
feat: if txn id exists in the db, skip the event

See merge request famedly/conduit!353
2022-06-18 11:04:16 +00:00
Jakub Kubík
c3924b566b feat: if txn id exists in the db, skip the event 2022-06-18 11:04:16 +00:00
Jakub Doboš
8a63a2cc68 Fix FluffyChat Compatibility 2022-06-15 13:07:07 +00:00
Timo Kösters
39bc84d81c Merge branch 'fix_panic_on_long_message' into 'next'
Don't panic when signing event fails.

Closes #232

See merge request famedly/conduit!343
2022-05-28 20:47:15 +00:00
=
bb033fe02a added a command to the admin bot to create a new user, even with registration disabled 2022-05-01 17:49:02 +02:00
Jan Christian Grünhage
efe9d5000e enable FedDest doc-test
Doc rendering is exactly as before, but it now actually tests the code
2022-04-14 16:42:11 +02:00
Zeyphros
090d0fe684
Fix typo 2022-04-13 00:08:55 +02:00
Jakub Kubík
729d66aa11
feat: register missing add_backup_keys route 2022-04-10 14:56:43 +02:00
Zeyphros
07a3a6fa9a
Return an error when signing an event fails
Prevents the server from crashing/become unresponsive when overly long
messages are sent
2022-04-08 22:05:13 +02:00
Timo Kösters
00b362b43b
fix: cors warning 2022-04-07 17:09:07 +02:00
Timo Kösters
b6b27b66c8
fix: don't allow unjoined users to send typing notifications 2022-04-07 17:07:33 +02:00
Timo Kösters
3573d40027
fix warnings 2022-04-07 17:04:29 +02:00
Timo Kösters
e4600ccfef
bump ruma 2022-04-07 17:02:49 +02:00
Timo Kösters
0ae39807a4
Add V9 to list of allowed versions 2022-04-07 16:50:09 +02:00