Commit graph

413 commits

Author SHA1 Message Date
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 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 43d084de8d Enable audio and video uploads 2023-03-12 20:13:53 +00:00
silverpill 268707a78a Disable post tokenization feature 2023-03-11 14:40:23 +00:00
silverpill 452de34780 Support audio attachments 2023-03-05 19:29:29 +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 49b0011a9c Fetch missing profiles before doing follower migration 2023-02-26 20:21:21 +00:00
silverpill e02ebebe02 Process follower migration request in background 2023-02-26 20:16:43 +00:00
silverpill e4254e7a3d Add "error" and "error_description" fields to Mastodon API error responses 2023-02-25 23:38:42 +00:00
silverpill 56e0ed8f5d Add empty spoiler_text property to Mastodon API Status object 2023-02-24 00:26:39 +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 21054de712 Make /api/v1/statuses endpoint compatible with Mastodon clients 2023-02-19 19:38:27 +00:00
silverpill e8ea52adba Move create_auth_error_handler function to http module 2023-02-19 17:10:29 +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 bcef9bb989 Remove database-specific code from utils::caip2 module 2023-02-18 21:53:20 +00:00
silverpill f1972be8db Add generate_random_sequence() function 2023-02-18 21:29:27 +00:00
silverpill 1d16fb45a5 Change /api/v1/{status_id}/context response format to match Mastodon API 2023-02-13 00:28:34 +00:00
silverpill 23b44ce0db Add /api/v1/{status_id}/thread API endpoint 2023-02-12 23:24:28 +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 0988c0c91e Improve ethereum address validation and move validator to ethereum::utils module 2023-02-12 18:26:39 +00:00
silverpill fdd3a22807 Support "authorization_code" OAuth grant type 2023-02-11 23:30:51 +00:00
silverpill cf69f1394a Add OAuth authorization page 2023-02-11 23:30:46 +00:00
silverpill 2d9a43b076 Add /api/v1/apps endpoint 2023-02-11 17:14:37 +00:00
silverpill 4ace00736b Refactor search::helpers module 2023-02-10 17:14:34 +00:00
silverpill cbc3f7b65a Fix permission error on subscription settings update 2023-02-09 19:56:51 +00:00
silverpill b91e6e77b5 Add limits.posts.character_limit configuration parameter 2023-02-04 22:03:37 +00:00
silverpill 79404fdc71 Don't allow read-only users to manage subscriptions 2023-02-04 22:00:03 +00:00
silverpill 09b16599d9 Don't create invoice if recipient can't accept subscription payments 2023-02-04 22:00:03 +00:00
silverpill e784476344 Add /api/v1/custom_emojis endpoint 2023-02-04 21:59:59 +00:00
silverpill 86beb532e2 Refactor handle_note() function 2023-01-31 14:18:46 +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 f52a55a387 Add approval_required and invites_enabled flags to InstanceInfo object 2023-01-25 20:30:51 +00:00