Commit graph

1093 commits

Author SHA1 Message Date
silverpill
d22408a4bf Make /api/v1/accounts/{account_id}/follow work with form-data 2023-04-15 19:39:11 +00:00
silverpill
27f048c3d2 Return error if specified Monero account doesn't exist 2023-04-15 19:39:05 +00:00
silverpill
d368661d08 Change reset-subscriptions command arguments 2023-04-14 17:37:37 +00:00
silverpill
d3210d0ea0 Make activity limit in outbox fetcher adjustable 2023-04-12 23:40:25 +00:00
silverpill
ca0643cb20 Ignore errors when importing activities from outbox 2023-04-12 23:28:10 +00:00
silverpill
a46246b6e7 Disable spam detection when importing activities from outbox 2023-04-12 21:11:02 +00:00
silverpill
8ba472a732 Explain database client errors 2023-04-12 19:08:06 +00:00
silverpill
e387df5f82 Add read-outbox command 2023-04-11 23:34:27 +00:00
silverpill
ba4c9fcb9d Add actor validation to Update(Note) and Undo(Follow) handlers 2023-04-11 21:30:38 +00:00
silverpill
4898c95aa2 Remove unused query_params parameter from send_request 2023-04-11 20:33:39 +00:00
silverpill
485378d252 Re-fetch object if attributedTo value doesn't match actor of Create activity 2023-04-11 19:26:45 +00:00
silverpill
f881779b60 Add create-user command 2023-04-11 00:29:07 +00:00
silverpill
4a4e3e9e4a Support Monero Wallet RPC authentication 2023-04-11 00:29:07 +00:00
silverpill
d2d340158e Disable transaction monitor tasks if blockchain integration is disabled 2023-04-09 16:42:44 +00:00
silverpill
bd371189a0 Replace Config::blockchain() with chain-specific methods in preparation for multi-chain deployments 2023-04-09 16:27:47 +00:00
silverpill
0906fd8ae3 Rename Blockchain type to EthereumBlockchain 2023-04-08 22:12:39 +00:00
silverpill
cd7fa6a5d7 Check mention and link counts when creating post 2023-04-08 00:16:40 +00:00
silverpill
23c698e1ad Add emoji count check to profile data validator 2023-04-07 23:57:24 +00:00
silverpill
8708abd9cd Reject unsolicited public posts 2023-04-06 23:00:08 +00:00
silverpill
fc82c83421 Create API endpoint for managing client configurations 2023-04-06 21:59:57 +00:00
silverpill
01494f1770 Increase fetcher timeout to 15 seconds when processing search queries 2023-04-06 16:49:32 +00:00
silverpill
278950252e Refactor get_object_visibility function 2023-04-06 16:14:35 +00:00
silverpill
7c38c0a4d6 Increase object ID size limit to 2000 chars 2023-04-06 16:04:09 +00:00
silverpill
e950189086 Validate emoji name length before saving to database 2023-04-06 15:54:26 +00:00
silverpill
970071a9f0 Validate object ID length before saving post to database 2023-04-06 15:54:21 +00:00
silverpill
b9fdb1ccf4 Allow custom emojis with image/webp media type 2023-04-05 19:38:00 +00:00
silverpill
9768fc6228 Send Update(Person) after adding alias 2023-04-05 19:38:00 +00:00
silverpill
9e5672929b Process incoming Move() activities in background 2023-04-05 19:37:59 +00:00
silverpill
dcaa2227d2 Support account migration from Mastodon 2023-04-05 19:33:58 +00:00
silverpill
b0bf3cf594 Populate alsoKnownAs property on actor object with declared aliases 2023-04-05 00:08:06 +00:00
silverpill
99f6c08e9a Create API endpoint for adding aliases 2023-04-04 23:58:36 +00:00
silverpill
13df9e0478 Create /api/v1/accounts/aliases/all API endpoint 2023-04-04 23:56:38 +00:00
silverpill
59e5f12016 Support calling /api/v1/accounts/search with "resolve" parameter 2023-04-02 22:23:19 +00:00
silverpill
edebae0dc6 Validate actor aliases before saving into database 2023-04-02 21:58:44 +00:00
silverpill
300d2ef6f8 Increase maximum number of custom emojis per post to 50 2023-04-01 23:24:52 +00:00
silverpill
9a32fb9c80 Remove activity from queue if handler times out 2023-03-31 17:56:13 +00:00
silverpill
6604ea8a2b Limit number of mentions and links in remote posts 2023-03-31 17:05:41 +00:00
silverpill
95daa94a97 Move contents of database and models modules to mitra-models crate 2023-03-31 00:20:19 +00:00
silverpill
006665f6fb Save Monero wallet after generating addresses or sending transactions 2023-03-30 13:22:25 +00:00
silverpill
348149bbaa Set fetcher timeout to 5 seconds when processing search queries 2023-03-28 07:57:28 +00:00
silverpill
dd0c53c5e9 Add federation.fetcher_timeout and federation.deliverer_timeout configuration parameters 2023-03-28 11:27:14 +04:00
silverpill
378d94e7b8 Don't reopen monero wallet on each subscription monitor run 2023-03-28 00:11:48 +00:00
silverpill
8cfb2318a2 Order attachments by creation date 2023-03-27 20:50:48 +00:00
silverpill
462da87e9b Create DbActor type and use it to represent actor_profile.actor_json column value 2023-03-27 17:43:01 +00:00
silverpill
4f9a99e6f2 Use "aliases" property in Move() activity handler 2023-03-27 02:17:59 +04:00
silverpill
eb1f815548 Use manually_approves_followers field in Account::from_profile 2023-03-27 02:17:59 +04:00
silverpill
b85a0fb7ac Refactor import_post function 2023-03-26 01:12:03 +00:00
silverpill
5e1f441e8b Add limits.media.emoji_size_limit configuration parameter 2023-03-25 23:11:11 +00:00
silverpill
0521f1f731 Restart stalled background jobs 2023-03-25 20:23:19 +00:00
silverpill
5ba8b8d6ae Move microsyntax parsers to mastodon_api::statuses::microsyntax module 2023-03-25 18:19:10 +00:00