Commit graph

218 commits

Author SHA1 Message Date
silverpill 86fe717a77 Add API method for checking invoice status 2022-09-07 10:48:40 +00:00
silverpill 383fc13059 Change invoice status to "timeout" after 30 minutes of inactivity 2022-09-06 22:32:32 +00:00
silverpill d2366589cf Truncate remote profile bio if it's too long 2022-09-04 11:45:56 +00:00
silverpill 64fb51e92a Update subscription state after processing invoice 2022-08-31 20:42:59 +00:00
silverpill 6b60e9a0da Add periodic task for monitoring Monero payments 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 084e0064be Create invoice table 2022-08-31 20:42:58 +00:00
silverpill 423eec0a2c Add MoneroSubscription payment option 2022-08-31 20:42:57 +00:00
silverpill 2eb7ec2f64 Add chain ID column to subscription table
Set chain ID to "eip155:31337" for existing entries.
2022-08-31 20:42:56 +00:00
silverpill 2ed8d44001 Add expires_at field to object returned by subscribers API endpoint 2022-08-31 20:42:56 +00:00
silverpill c5c3911de6 Require chain ID field in payment options of ethereum type 2022-08-29 22:28:34 +00:00
silverpill 8df8fd3c8c Add Monero to currencies enum 2022-08-29 12:12:26 +00:00
silverpill b3fb1c612c Rewrite /api/v1/subscriptions/enable handler to support more subscription types 2022-08-26 15:57:35 +00:00
silverpill 742e731b95 Convert PaymentOption type into enum 2022-08-25 19:16:38 +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 d9def75b32 Create post_link table to store links between posts 2022-08-21 22:36:31 +00:00
silverpill fcf7db97cb Rename posts::tags module to posts::hashtags 2022-08-21 21:35:12 +00:00
silverpill ee0095ce53 Perform consistency checks on reposts in Post::new() 2022-08-21 18:11:49 +00:00
silverpill 9d501ac7f6 Update chrono and regex crates 2022-08-17 19:09:15 +00:00
silverpill e2f8408b1e Search for subscription recipient by DID instead of login address 2022-08-15 22:02:11 +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 596871e6e3 Rewrite wallet address validator to work with non-ethereum addresses 2022-08-15 15:45:21 +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 21df4fa35c Support search by DID 2022-08-04 18:33:17 +00:00
silverpill 46526fd4be Add currency() method to DidPkh type 2022-08-04 15:44:48 +00:00
silverpill 3c8c0c7163 Move currencies module to utils 2022-08-04 12:34:31 +00:00
silverpill ce694cb88c Allow brackets around hashtags and mentions 2022-08-04 12:34:30 +00:00
silverpill 1061220ee1 Reset subscriptions if update-current-block command is called with --reset-db parameter 2022-07-25 21:39:06 +00:00
silverpill 33a711b91c Attach subscription page link to actor object 2022-07-25 21:39:06 +00:00
silverpill 1554780b35 Add API method for adding subscription as payment option 2022-07-25 21:38:58 +00:00
silverpill e573ecb27b Add payment_options field to actor profile 2022-07-25 17:44:36 +00:00
silverpill a00b704cf4 Rename actor module to actors::types 2022-07-23 21:41:49 +00:00
silverpill d2ba86315c Move AP ID helpers to activitypub::identifiers module 2022-07-16 01:49:48 +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 3bfb7dc9eb Add command for deleting orphaned files 2022-07-12 22:54:38 +00:00
silverpill c78af51398 Increase max size of profile field name 2022-07-12 19:03:44 +00:00
silverpill cedc6667bd Try to find profile by acct if couldn't find it by actor ID
This should prevent violation of unique constraint on "acct" column
when importing profile by actor ID.
2022-07-10 21:26:44 +00:00
silverpill a06f1b4aba Use character count instead of bytes in validate_display_name() 2022-07-09 21:25:15 +00:00
silverpill 5d3e5dc693 Re-fetch remote profiles automatically 2022-07-09 21:25:11 +00:00
silverpill d658c3e802 Add updated_at column to actor_profile table 2022-07-08 20:02:28 +00:00
silverpill d63c19a996 Add total numbers of local users and posts to NodeInfo response 2022-07-07 19:26:06 +00:00
silverpill 94bd5bdbb5 Remove duplicates before creating deletion queue 2022-07-06 22:39:27 +00:00
silverpill 255aca68de Allow hashtags to be followed by comma 2022-07-06 22:17:21 +00:00
silverpill 5fc17effaa Show only public posts in local timeline 2022-07-03 21:24:49 +00:00
silverpill f312fdff9e Show posts that mention user in home timeline
Even if visibility is not "direct".
2022-06-15 13:10:05 +00:00
silverpill f700d79754 Ignore subscription event if sender changes their ethereum address in profile 2022-06-05 19:42:48 +00:00
silverpill 90d0a6870e Refactor unfollow_account view 2022-06-02 03:28:58 +00:00
silverpill 1c098cb6b2 Add test for remote follow sequence 2022-06-02 03:28:58 +00:00