Commit graph

1168 commits

Author SHA1 Message Date
silverpill
399a632a88 Prune remote emojis in background 2023-03-25 12:18:22 +00:00
silverpill
ef852d781e Move profile data cleaning code to validators::profiles module 2023-03-25 11:28:48 +00:00
silverpill
441850dd21 Allow emoji names containing hyphens 2023-03-25 11:28:48 +00:00
silverpill
73b576c643 Move normalize_hashtag function to activitypub::handlers::create 2023-03-25 11:28:48 +00:00
silverpill
f5dd0a17c9 Move all validators to validators module 2023-03-25 11:28:48 +00:00
silverpill
37ab3dc456 Add prune-remote-emojis command 2023-03-25 11:26:52 +00:00
silverpill
76e85a3b7b Fix error in emoji update SQL query 2023-03-24 22:54:51 +00:00
silverpill
521c2cbe41 Move mention_to_address function to webfinger::types module 2023-03-23 19:19:17 +00:00
silverpill
3b5c8a4131 Remove Role::from_name function 2023-03-23 00:29:32 +00:00
silverpill
21135d7704 Move get_post_by_object_id to activitypub::fetcher::helpers module 2023-03-22 23:13:31 +00:00
silverpill
dae9be1388 Bump version 2023-03-21 18:45:50 +00:00
silverpill
39ab6bbb13 Don't allow migration if user doesn't have identity proofs 2023-03-21 18:14:24 +00:00
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
608ec096cd Add /api/v1/instance/peers API endpoint 2023-03-20 17:11:00 +00:00
silverpill
28be8dbb31 Update Monero configuration guide 2023-03-19 20:31:34 +00:00
silverpill
e3ee144889 Grant delete_any_post and delete_any_profile permissions to admin role 2023-03-19 19:21:31 +00:00
silverpill
b80b827fde Document valid role names for set-role command 2023-03-19 19:10:51 +00:00
silverpill
fcf63ff317 Revert "Use "git" protocol to access crates.io"
This reverts commit 133e1349cf.
2023-03-19 13:54:04 +04:00
silverpill
9a513c928f Add account_index parameter to Monero configuration 2023-03-18 19:02:54 +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
f27b2e13eb Add webclient redirection rule for /@username routes 2023-03-18 14:09:27 +00:00
silverpill
a07d7ce34a Make webclient-to-object redirects work for remote profiles and posts 2023-03-18 13:38:46 +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
773c36f3df Bump version 2023-03-15 12:03:06 +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
8400241ab4 Add audio/ogg and audio/x-wav to the list of supported media types 2023-03-12 20:14:58 +00:00
silverpill
43d084de8d Enable audio and video uploads 2023-03-12 20:13:53 +00:00
silverpill
cb7bc04b64 Change instance_description value in config example to multiline string 2023-03-12 18:45:08 +00:00
silverpill
2b6de17fb9 Save latest ethereum block number to database instead of file 2023-03-12 17:13:38 +00:00
silverpill
0e9879bacb Remove ability to switch from Ethereum devnet to another chain without resetting subscriptions
Assuming migration is over (migration started at 2eb7ec2f64).
2023-03-12 15:53:40 +00:00
silverpill
138c1e915e Allow ! after hashtags and mentions 2023-03-11 17:12:37 +00:00
silverpill
4f64b2c615 Update Tor federation guide 2023-03-11 17:09:02 +00:00
silverpill
133e1349cf Use "git" protocol to access crates.io 2023-03-11 16:53:21 +00:00
silverpill
268707a78a Disable post tokenization feature 2023-03-11 14:40:23 +00:00
silverpill
b5365099a4 Store NFT monitor state in database 2023-03-11 10:33:52 +00:00
silverpill
a300a822ec Create internal_property database table 2023-03-11 10:33:48 +00:00