Commit graph

517 commits

Author SHA1 Message Date
silverpill cdb304a8b7 Update profile page URL template to match mitra-web 2023-03-21 16:48:14 +00:00
silverpill 848a0685de Add configuration option that disables federation 2023-03-21 16:17:44 +00:00
silverpill 7640598431 Replace DbActorProfile::actor_address with ActorAddress::from_profile 2023-03-18 18:29:56 +00:00
silverpill f76438b6f8 Move DbActorProfile::actor_id function to activitypub::identifiers 2023-03-18 18:29:45 +00:00
silverpill 306fd7b75b Move DbActorProfile::actor_url function to activitypub::identifiers 2023-03-18 18:29:34 +00:00
silverpill a515af1111 Move Post::object_id function to activitypub::identifiers 2023-03-18 18:29:15 +00:00
silverpill f037a4d58c Move media deletion helper to media module 2023-03-18 11:27:16 +00:00
silverpill b56e11e81d Add "aliases" column to actor profile table
It is used to store unverified aliases,
and potentially can be used for verified aliases too.
2023-03-17 20:27:50 +00:00
silverpill c80bfccd6a Add "manually_approves_followers" column to actor_profile table 2023-03-17 19:20:42 +00:00
silverpill 0b65e7473e Move DID types to mitra-utils crate 2023-03-16 17:59:45 +00:00
silverpill 1637e38ee4 Add fep-e232 feature flag 2023-03-15 20:05:21 +00:00
silverpill 43b56be722 Remove verify_eip191_identity_proof and verify_ed25519_signature functions 2023-03-14 23:28:12 +00:00
silverpill 1d4bb200d2 Move identity::signatures to json_signatures module 2023-03-14 20:53:25 +00:00
silverpill 8b8f1bb678 Ignore emojis with non-unique names in remote posts 2023-03-14 18:48:36 +00:00
silverpill a3a4579e03 Log invalid emoji names 2023-03-14 18:42:21 +00:00
silverpill c7fd3ddc83 Remove hardcoded upload size limit 2023-03-14 15:17:56 +00:00
silverpill c87c5da17c Rename SignatureType to ProofType 2023-03-13 21:29:48 +00:00
silverpill d4f701332f Use numbers to represent identity proof type in database 2023-03-13 21:29:40 +00:00
silverpill 50f31e96fc Add federation.onion_proxy_url configuration parameter 2023-03-07 14:53:24 +00:00
silverpill 0817177282 Move federation client builders to activitypub::http_client module 2023-03-06 18:50:55 +00:00
silverpill 70c2d2aa25 Create profile_emoji database table 2023-03-04 21:12:02 +00:00
silverpill bd53e147ca Save emojis attached to actor objects 2023-03-03 23:22:04 +00:00
silverpill 4204350375 Deserialize actor tag to Vec<Value> 2023-03-03 22:11:41 +00:00
silverpill 721238d897 Deserialize object tag to Vec<Value> 2023-02-28 17:02:29 +00:00
silverpill 849b201ab9 Deserialize actor attachments into Vec instead of Option<Vec> 2023-02-28 00:34:23 +00:00
silverpill baec22272d Follow FEP-e232 links when importing post 2023-02-26 23:04:56 +00:00
silverpill 49b0011a9c Fetch missing profiles before doing follower migration 2023-02-26 20:21:21 +00:00
silverpill 62069dc011 Increase number of delivery attempts and increase intervals between them 2023-02-26 20:16:39 +00:00
silverpill c201f3ea2b Store information about failed activity deliveries in database 2023-02-26 14:49:01 +00:00
silverpill ca2e541ff5 Store delivery statuses in delivery job data
Preparing for migration to a new delivery queue mechanism.
2023-02-25 19:28:23 +00:00
silverpill 0f3c247069 Put activities generated by CLI commands in a queue 2023-02-25 19:28:23 +00:00
silverpill 49f51f44d8 Replace magic numbers in activitypub::queues module with constants 2023-02-25 19:28:19 +00:00
silverpill f5c012769f Prefer Group actor when doing webfinger query on Lemmy server 2023-02-24 13:12:38 +00:00
silverpill 0245eb59a2 Set deliverer timeout to 30 seconds 2023-02-22 21:54:08 +00:00
silverpill 872fe8fef3 Set fetcher timeout to 3 minutes 2023-02-22 21:48:19 +00:00
silverpill 2b5d4562aa Make activities pass JSON-LD validation 2023-02-22 17:30:28 +00:00
silverpill 50176b00cc Make actor objects pass JSON-LD validation 2023-02-22 17:29:36 +00:00
silverpill 10f2596830 Move config parser to mitra-config crate 2023-02-19 00:39:15 +00:00
silverpill 7d3c558ede Move utils to mitra-utils crate 2023-02-18 23:12:36 +00:00
silverpill 6945ded963 Group imports 2023-02-12 23:07:19 +00:00
silverpill bc3184cf77 Rename new_uuid function to generate_ulid 2023-02-12 22:04:31 +00:00
silverpill 2acf50fa01 Move some functions from utils::files to media module 2023-02-12 19:10:33 +00:00
silverpill eeae9e3ad7 Remove dependency on activitypub module from config::main 2023-02-07 18:28:19 +00:00
silverpill 53d012c9d0 Use header name constants in activitypub::views module 2023-02-07 12:00:22 +00:00
silverpill 239bdcf97d Process Delete() and Undo() activities in background to preserve ordering 2023-02-07 00:03:41 +00:00
silverpill 831739d215 Ignore Announce(Delete) activities 2023-02-05 21:01:12 +00:00
silverpill 151b068d97 Make maximum size of media attachment configurable 2023-02-04 22:03:32 +00:00
silverpill 4559f74881 Use "warn" log level for delivery errors 2023-02-04 22:00:03 +00:00
silverpill 0b442f6a2c Ignore forwarded Like activities 2023-02-02 00:48:03 +00:00
silverpill 5a3ef41277 Append attachment URL to post content if attachment is too large 2023-01-31 19:03:03 +00:00