Commit graph

194 commits

Author SHA1 Message Date
silverpill 6ddfb5b52d Do EIP-4361 verification at signup 2022-02-15 01:35:02 +00:00
silverpill d3e3c1eb3e Refactor struct conversion in create_account() handler 2022-02-14 22:08:35 +00:00
silverpill e48a8999f5 Make /api/v1/accounts return validation error if user already exists 2022-02-11 21:32:37 +00:00
silverpill 0198a944ac Log successful login attempts 2022-02-11 20:40:56 +00:00
silverpill b03b6e52aa Return empty array in response to pinned statuses query
https://codeberg.org/silverpill/mitra/issues/6
2022-02-08 01:30:58 +00:00
silverpill 4e0f14df4c Add API method for getting authorization of paid subscription setup transaction 2022-02-05 23:51:12 +00:00
silverpill 464d4886fa Add wallet address to data returned by /api/v1/accounts/{account_id} method 2022-02-05 23:51:12 +00:00
silverpill a81d0ef216 Remove get_relationships function and use get_relationship instead 2022-02-02 21:31:40 +00:00
silverpill 333f90e293 Validate wallet address when creating new user 2022-01-31 19:10:51 +00:00
silverpill f2fb44bb63 Change configuration options related to blockchain integration 2022-01-28 00:41:23 +00:00
silverpill cd8791c881 Add profile URL field to Account type 2022-01-15 00:18:17 +00:00
silverpill 82508e103c Update /{account_id}/statuses method to return 404 if profile doesn't exist 2022-01-11 16:58:40 +00:00
silverpill bce194ebda Show direct messages in timelines and threads 2022-01-07 20:44:36 +00:00
silverpill 810e67f88e Refactor create_account view 2022-01-06 19:26:14 +00:00
silverpill 6d331f7669 Allow calling follow/unfollow API methods multiple times
For compatibility with Mastodon.
2022-01-03 18:37:07 +00:00
silverpill 3993c76c65 Add API methods for retrieving followers and following lists 2022-01-02 22:06:25 +00:00
silverpill c11cd26961 Move get_followers to relationships::queries module 2022-01-02 13:42:10 +00:00
silverpill 9156dec5bb Convert actor_json value into Actor type when reading from database 2022-01-02 01:27:50 +00:00
silverpill a9a99d7172 Update actor JSON object in database when receiving Update(Person) activity 2021-12-31 19:43:11 +00:00
silverpill 9cd2c26e06 Refactor accounts::views module 2021-12-26 15:54:22 +00:00
silverpill 3662d1a558 Don't call get_relationship in relationships::queries::(un)follow 2021-12-26 15:06:21 +00:00
silverpill 81a260e691 Don't require wallet address during registration 2021-12-24 17:52:52 +00:00
silverpill 42624ab9a5 Enable pagination on profile timeline 2021-12-14 16:20:16 +00:00
silverpill 12c21d86f8 Use ULIDs instead of v4 UUIDs for identifiers 2021-12-02 01:36:35 +00:00
silverpill 47826628cd Add API endpoints for making and deleting reposts 2021-11-25 23:31:10 +00:00
silverpill cf5d4db031 Hide direct messages from profile timeline 2021-11-19 00:32:22 +00:00
silverpill c473070fd4 Configure linter and fix its warnings 2021-11-13 17:37:31 +00:00
silverpill e9c5bda55c Send Update(Person) to followers after updating profile 2021-11-13 01:27:53 +00:00
silverpill a5e3bef70c Refactor activitypub::actor module 2021-11-13 01:07:19 +00:00
silverpill aa1ef71857 Refactor some mastodon API modules 2021-11-07 13:37:36 +00:00
silverpill 64dddf3f7e Hide replies from profile feed 2021-11-01 20:49:36 +00:00
silverpill 5c10ffc590 Add actor() method to DbActorProfile type 2021-10-31 20:46:29 +00:00
silverpill e10804be64 Refactor deliverer 2021-10-30 22:35:18 +00:00
silverpill b6be5c8489 Add action attributes to Status entity when served to authorized user 2021-10-19 00:05:55 +00:00
silverpill 56d073e1d8 Add source field to Account entity only if user is authenticated 2021-10-10 16:53:17 +00:00
silverpill 9f114f4255 Add tests for create_note function 2021-10-09 12:53:53 +00:00
silverpill 8c18a0ab86 Allow retrieval of local Note objects using /objects/ URL 2021-10-08 22:59:04 +00:00
silverpill d4adb55c53 Replace cookie auth with token auth 2021-10-05 22:53:33 +00:00
silverpill 9519786788 Change path of user creation endpoint 2021-10-05 22:52:13 +00:00
silverpill b39733beb7 Make User API methods return Account entity 2021-10-05 16:24:28 +00:00
silverpill f6e9c082e2 Implement Oauth 2.0 token service 2021-10-05 00:00:14 +00:00
silverpill d2adda2034 Keep value source when editing extra fields 2021-09-17 14:43:02 +00:00
silverpill 6dec1a5da1 Add extra fields to actor profile 2021-09-16 20:14:48 +00:00
silverpill fdef4b6e6a Initial commit 2021-09-14 12:24:05 +00:00