Commit graph

146 commits

Author SHA1 Message Date
silverpill 5ff2d19837 Add expires_at field to Invoice object
Also increase timeout to 3 hours

https://codeberg.org/silverpill/mitra/issues/23
2022-11-25 15:04:46 +00:00
silverpill 2a9794f8f7 Add API methods for exporting followers and follows 2022-11-24 21:58:00 +00:00
silverpill 6765674118 Add token gate feature flag to instance info 2022-11-16 15:11:25 +00:00
silverpill 57c5ab3c4e Add API method for changing password 2022-11-15 22:43:49 +00:00
silverpill 6de2b572a4 Add documentation for /verify_credentials and /update_credentials API methods 2022-11-15 22:32:14 +00:00
silverpill 445177d9a7 Add API method for revoking access token 2022-11-15 15:45:30 +00:00
silverpill 14a123ad7e Implement minisign identity proofs 2022-11-11 00:53:19 +00:00
silverpill 99f7b334d1 Change identity proof API to avoid key-to-DID converion at client side 2022-11-10 13:06:59 +00:00
silverpill 1ec8cb4ddd Add views for signing Update(Person) activity 2022-11-02 16:08:34 +00:00
silverpill 0063a14264 Send notifications when actor moves to another instance 2022-10-23 17:56:32 +00:00
silverpill 8d271fe4e3 Replace "quote" property on Status object with array of linked posts 2022-10-15 21:08:03 +00:00
silverpill b26b2419ed Add support for posts authored in markdown 2022-10-14 16:00:39 +00:00
silverpill 33b04c9bdd Add optional content_type parameter to /api/v1/status data and set default to text/html 2022-10-13 19:19:11 +00:00
silverpill 6fd0c16997 Add instance stats to object returned by /api/v1/instance 2022-10-04 21:18:55 +00:00
silverpill cde324c07d Show only local profiles in profile directory 2022-10-02 21:23:16 +00:00
silverpill a8dae2a621 Enable hashtag search 2022-09-19 18:39:56 +00:00
silverpill a1ab21a702 Store requested payment amount for each invoice 2022-09-19 00:50:31 +00:00
silverpill 02408ae57a Allow user to change subscription settings 2022-09-15 20:50:31 +00:00
silverpill 7600efccb5 Add subscribers_count field to Account object 2022-09-13 19:15:58 +00:00
silverpill 5b071f050b Rename /api/v1/subscriptions/enable to /api/v1/subscriptions/options 2022-09-08 10:05:34 +00:00
silverpill 714b872a5d Prevent creation of invoices where sender is the same as the recipient 2022-09-07 11:57:25 +00:00
silverpill 86fe717a77 Add API method for checking invoice status 2022-09-07 10:48:40 +00:00
silverpill b0e79e26a4 Change invoice API to accept sender ID instead of acct 2022-09-06 19:08:50 +00:00
silverpill 982a8e8bc2 Add API method for searching profiles by username or acct 2022-09-06 19:08:50 +00:00
silverpill 6accf8ac2e Add API method for finding subscription by participants 2022-09-06 19:08:50 +00:00
silverpill 05e295744d Add information about payment options to Account object 2022-09-06 18:08:28 +00:00
silverpill f218936caa Create API method /api/v1/subscriptions/options 2022-09-06 17:54:51 +00:00
silverpill 26ae1036de Change representation of blockchain config in Instance API response
Allowed multiple blockchain configs.
2022-08-31 21:30:03 +00:00
silverpill 64fb51e92a Update subscription state after processing invoice 2022-08-31 20:42:59 +00:00
silverpill cd09fe0801 Add API method for generating invoices 2022-08-31 20:42:58 +00:00
silverpill 423eec0a2c Add MoneroSubscription payment option 2022-08-31 20:42:57 +00:00
silverpill 2ed8d44001 Add expires_at field to object returned by subscribers API endpoint 2022-08-31 20:42:56 +00:00
silverpill b3fb1c612c Rewrite /api/v1/subscriptions/enable handler to support more subscription types 2022-08-26 15:57:35 +00:00
silverpill daaa0855a6 Use /api/v1/subscriptions prefix for subscription API methods 2022-08-25 19:16:46 +00:00
silverpill 5e97debebb Add "quote" property to Status object and treat first link as a quote 2022-08-22 12:13:40 +00:00
silverpill 5f24af4dbf Allow users of password auth to create identity proofs 2022-08-15 20:16:34 +00:00
silverpill a80c11b99c Allow users of password auth to use subscriptions 2022-08-15 20:16:03 +00:00
silverpill 1721eb4a88 Add API method for listing incoming subscriptions 2022-08-08 01:13:52 +00:00
silverpill bdcdb06c51 Add pagination headers to followers/following API responses 2022-08-07 18:27:28 +00:00
silverpill acb139b0ee Add API method for searching profiles by DID 2022-08-04 20:23:40 +00:00
silverpill 1554780b35 Add API method for adding subscription as payment option 2022-07-25 21:38:58 +00:00
silverpill 6f247ad40d Send notification to sender when subscription expires
Only if sender is local.
2022-07-15 23:53:21 +00:00
silverpill 2a22a0bedd Add exclude_replies query parameter to /accounts/:id/statuses API method 2022-07-07 14:56:01 +00:00
silverpill 545dd6d92b Enable contract feature detection
Contracts updated to version 0.5.0.
2022-06-30 12:20:14 +00:00
silverpill f8aaeb01a7 Update contracts to v0.4.0
configureSubscription() method signature has changed.
2022-06-28 18:28:40 +00:00
silverpill 6b06d6d18e Add mapping with additional blockchain info to instance API response 2022-06-22 21:38:04 +00:00
silverpill b95d409010 Add blockchain ID to instance API response 2022-05-28 22:43:38 +00:00
silverpill f9689807e3 Expose login address via API only if it's verified 2022-05-27 21:58:18 +00:00
silverpill b9722afebe Require verified wallet address when minting NFT 2022-05-27 21:58:13 +00:00
silverpill dc8a7bed2e Require verified wallet address when setting up subscription 2022-05-26 10:42:04 +00:00
silverpill 5e7d3ab434 Don't expose wallet address in /api/v1/accounts/{account_id} response 2022-05-19 23:01:12 +00:00
silverpill dc34c980f6 Handle Update(Note) activities 2022-05-11 13:31:08 +00:00
silverpill b7849c8264 Check TX ID when saving token ID to database 2022-05-10 22:12:54 +00:00
silverpill 1ea55b5d1a Add API method for getting local timeline 2022-05-09 00:02:36 +00:00
silverpill 439959c977 Update IPFS guide 2022-05-06 23:09:38 +00:00
silverpill a1af46f566 Change default login message and update config example
Consider "ethereum" auth flow deprecated.
2022-04-30 16:35:54 +00:00
silverpill 8deea0c867 Save submitted identity proofs to database 2022-04-26 20:43:39 +00:00
silverpill 356592bc71 Add views for generating address ownership proof 2022-04-26 19:56:26 +00:00
silverpill 8a6dbca214 Change /reblog method to return repost info instead of original post
This is done to comply with Mastodon API spec.
2022-04-08 18:55:51 +00:00
silverpill 60b683b657 Allow to hide replies from given author from home timeline 2022-03-09 20:42:02 +00:00
silverpill 3a584f52b5 Add attachment type "video" 2022-02-23 17:55:53 +00:00
silverpill f14e762ee3 Allow to hide reposts made by given actor from home timeline 2022-02-23 16:55:25 +00:00
silverpill 227e3d3729 Allow passwordless registration 2022-02-15 19:43:22 +00:00
silverpill 6ddfb5b52d Do EIP-4361 verification at signup 2022-02-15 01:35:02 +00:00
silverpill e8a29a3af1 Implement EIP-4361 authentication 2022-02-14 23:16:00 +00:00
silverpill 6fc319f7dd Validate content of incoming Note objects 2022-02-09 13:53:11 +00:00
silverpill 2747e7b174 Add post character limit config option 2022-02-08 21:19:39 +00:00
silverpill f1fd0af6bc Remove blockchain_contract_name property from instance info 2022-02-08 18:32:54 +00:00
silverpill 7d89f65b37 Hide posts that user is not allowed to view from search results 2022-02-08 18:00:30 +00:00
silverpill 9591be4df0 Use Pleroma-compliant instance version in /api/v1/instance
https://codeberg.org/silverpill/mitra/issues/4
2022-02-08 01:13:21 +00:00
silverpill 9330038141 Add "subscribers-only" post visibility setting 2022-02-06 12:05:20 +00:00
silverpill 4e49f113e7 Add subscription relationship type 2022-02-05 23:53:01 +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 8b2474c448 Rename blockchain-related properties returned by /api/v1/instance method 2022-01-28 00:42:31 +00:00
silverpill 5730ae0072 Return status 403 in response to signature request if post is not saved to IPFS 2022-01-23 23:12:58 +00:00
silverpill 59a86ea827 Add "followers-only" post visibility setting 2022-01-15 20:40:37 +00:00
silverpill 05205c398e Allow clients to add mentions to a post 2022-01-15 16:36:31 +00:00
silverpill 5676d53cbb Disable reposts and reactions if post is not public 2022-01-15 15:25:37 +00:00
silverpill 572ea53827 Add IPFS node guide 2022-01-15 11:57:44 +00:00
silverpill cd8791c881 Add profile URL field to Account type 2022-01-15 00:18:17 +00:00
silverpill f1f3829b8d Enable pagination for notification list 2022-01-14 22:02:22 +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 5bdee5585a Allow to set visibility of new posts 2022-01-07 22:12:21 +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 81a260e691 Don't require wallet address during registration 2021-12-24 17:52:52 +00:00
silverpill 8d5cabc08b Add documentation for /oauth/token and /api/v1/accounts 2021-12-17 13:26:29 +00:00
silverpill a07f118159 Enable profile directory pagination 2021-12-16 23:09:08 +00:00
silverpill 42624ab9a5 Enable pagination on profile timeline 2021-12-14 16:20:16 +00:00
silverpill da918d2296 Add API method for retrieving tag timeline 2021-12-12 18:42:09 +00:00
silverpill 40dbfc05a2 Add API method for deleting posts 2021-12-05 01:55:32 +00:00
silverpill 4b5b98135d Add API method for registering minted tokens 2021-12-03 19:07:32 +00:00
silverpill 057cac1ac7 Return error if post is already saved to IPFS 2021-12-03 18:22:15 +00:00
silverpill d668ee78d6 Add OpenAPI specification 2021-12-03 17:29:56 +00:00