Commit graph

194 commits

Author SHA1 Message Date
Rafael Caricio 60a27b5b11
Make generic errors carry more details 2023-04-26 12:55:42 +02:00
Rafael Caricio b7fafe6458
Rename to Fedimovies 2023-04-25 15:49:35 +02:00
Rafael Caricio 272d06897a
In this server all accounts are bots 2023-04-24 18:57:48 +02:00
Rafael Caricio 47529ff703
Apply cargo fmt 2023-04-24 17:35:32 +02:00
silverpill 7471c03ed1
Make /api/v1/accounts/{account_id}/follow work with form-data 2023-04-24 16:53:18 +02:00
silverpill 8daf566eb2
Add create-user command 2023-04-24 16:26:31 +02:00
Rafael Caricio 5ef024d923
Fuck blockchain 2023-04-08 21:20:12 +02:00
silverpill fc82c83421 Create API endpoint for managing client configurations 2023-04-06 21:59:57 +00:00
silverpill dcaa2227d2 Support account migration from Mastodon 2023-04-05 19:33:58 +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 95daa94a97 Move contents of database and models modules to mitra-models crate 2023-03-31 00:20:19 +00:00
silverpill eb1f815548 Use manually_approves_followers field in Account::from_profile 2023-03-27 02:17:59 +04:00
silverpill ef852d781e Move profile data cleaning code to validators::profiles module 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 e3ee144889 Grant delete_any_post and delete_any_profile permissions to admin role 2023-03-19 19:21:31 +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 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 43b56be722 Remove verify_eip191_identity_proof and verify_ed25519_signature functions 2023-03-14 23:28:12 +00:00
silverpill c7fd3ddc83 Remove hardcoded upload size limit 2023-03-14 15:17:56 +00:00
silverpill d4f701332f Use numbers to represent identity proof type in database 2023-03-13 21:29:40 +00:00
silverpill ba1c694294 Add "emojis" field to Mastodon API Account entity 2023-03-05 19:09:58 +00:00
silverpill 70c2d2aa25 Create profile_emoji database table 2023-03-04 21:12:02 +00:00
silverpill 6335e216a9 Add registration.default_role configuration option 2023-03-03 18:14:02 +00:00
silverpill 82b6c4e7cf Add /api/v1/accounts/{account_id}/aliases API endpoint 2023-02-26 23:18:45 +00:00
silverpill e4254e7a3d Add "error" and "error_description" fields to Mastodon API error responses 2023-02-25 23:38:42 +00:00
silverpill e1e9851d5c Make media URLs in Mastodon API responses relative to current origin 2023-02-22 17:56:43 +00:00
silverpill c796cddff8 Change order of parameters in some functions 2023-02-22 17:30:31 +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 4ace00736b Refactor search::helpers module 2023-02-10 17:14:34 +00:00
silverpill 79404fdc71 Don't allow read-only users to manage subscriptions 2023-02-04 22:00:03 +00:00
silverpill 01f956b6ce Add configuration option for automatic assigning of "read-only user" role after registration 2023-01-26 00:00:14 +00:00
silverpill 2ea14635d2 Implement role system
https://codeberg.org/silverpill/mitra/issues/25
2023-01-25 23:59:39 +00:00
silverpill 771f45baab Add registration.type configuration option 2023-01-25 23:47:36 +00:00
silverpill b958b8fb4c Save sizes of media attachments and other files to database 2023-01-21 19:52:32 +00:00
silverpill 99d45ee048 Create custom type for emoji images 2023-01-20 22:11:01 +00:00
silverpill c26fc9235d Group imports in some modules 2023-01-19 22:00:04 +00:00
silverpill 01f56d9ef7 Use re-exported tokio_postgres::GenericClient trait 2023-01-18 01:01:45 +00:00
silverpill 56df3d82a0 Add /api/v1/settings/import_follows API endpoint 2023-01-13 01:31:41 +00:00
silverpill 5fec0c187d Sign Move() activity with server key 2023-01-11 21:26:48 +00:00
silverpill 8d41a94b94 Rename /api/v1/accounts/move_followers to /api/v1/settings/move_followers 2023-01-09 22:10:04 +00:00
silverpill 228299c5b7 Remove prepare_signed_update_person() function 2023-01-09 16:22:47 +00:00
silverpill 44ce9a73a2 Save media types of uploaded avatar and banner images 2023-01-07 16:05:15 +00:00