Commit graph

617 commits

Author SHA1 Message Date
silverpill
a095ea7061 Add periodic task that monitors subscription events 2022-02-05 23:52:56 +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
20a7e127c7 Update IAdapter interface artifact 2022-02-05 23:51:07 +00:00
silverpill
a3a0a6053d Add relationship type column to relationship table 2022-02-03 00:15:52 +00:00
silverpill
7de7f7a501 Refactor get_relationship function and optimize SQL query 2022-02-02 21:56:34 +00:00
silverpill
a81d0ef216 Remove get_relationships function and use get_relationship instead 2022-02-02 21:31:40 +00:00
silverpill
548e000b3e Add test for get_relationship function 2022-02-02 19:55:01 +00:00
silverpill
9f1f950aa3 Validate wallet address when logging in 2022-02-01 23:56:58 +00:00
silverpill
7e5917a821 Enable search by wallet address 2022-01-31 23:45:15 +00:00
silverpill
4797bacf32 Refactor search::helpers module 2022-01-31 23:27:59 +00:00
silverpill
333f90e293 Validate wallet address when creating new user 2022-01-31 19:10:51 +00:00
silverpill
dfc9902092 Move get_nft_contract function to ethereum::contracts module
Preparing for more contracts.
2022-01-30 17:47:07 +00:00
silverpill
c4a0f12555 Keep "pre" and "code" tags when cleaning post content 2022-01-28 00:42:36 +00:00
silverpill
fd0c7edb59 Retrieve event ABI from Contract instance in process_events() 2022-01-28 00:42:36 +00:00
silverpill
a3f20149cf Remove actual ethereum contracts and use interfaces instead 2022-01-28 00:42:36 +00:00
silverpill
237185bb14 Move functions for creating ethereum signatures to ethereum::signatures module 2022-01-28 00:42:36 +00:00
silverpill
8b2474c448 Rename blockchain-related properties returned by /api/v1/instance method 2022-01-28 00:42:31 +00:00
silverpill
f2fb44bb63 Change configuration options related to blockchain integration 2022-01-28 00:41:23 +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
5d2c3e85eb Allow author of parent post to be added to audience of direct message 2022-01-21 12:34:45 +00:00
silverpill
8e53214830 Fix parsing of mentions of local users 2022-01-21 12:34:41 +00:00
silverpill
269318da76 Accept Note attachments of type Image 2022-01-17 11:28:44 +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
eed648f140 Don't send direct messages to followers 2022-01-15 14:53:42 +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
aea6db5acb Try to find actor by href when parsing mention tags 2022-01-14 00:16:54 +00:00
silverpill
34ca9059b3 Fix object_id unwrap error in favourite() API method 2022-01-13 21:31:04 +00:00
silverpill
1d089d4b35 Add "Created at" attribute to IPFS representation of a post 2022-01-11 19:46:26 +00:00
silverpill
1de82674aa Move PostMetadata type to ipfs::posts module 2022-01-11 18:16:19 +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
b8e87f13ac Fix visibility filter 2022-01-09 12:23:15 +00:00
silverpill
19f0a4bed6 Ensure visibility settings are not violated when creating a reply to non-public post 2022-01-09 12:10:20 +00:00
silverpill
de37f606e3 Skip Note attachments with type other than Document 2022-01-08 21:23:21 +00:00
silverpill
d4ab05ce1f Treat all notes that aren't public-addressed as direct messages 2022-01-08 19:24:23 +00:00
silverpill
f0d021853a Refactor timeline and thread queries
Added tests for home timeline query.
2022-01-08 14:56:38 +00:00
silverpill
f8bb82d6cb Set correct primary and secondary audience for direct messages 2022-01-07 22:28:34 +00:00
silverpill
3ff4c79f0d Add macro for building SQL queries 2022-01-07 22:12:31 +00:00
silverpill
5bdee5585a Allow to set visibility of new posts 2022-01-07 22:12:21 +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
ba52cf0be1 Check view permission when reposting a post 2022-01-06 19:26:14 +00:00
silverpill
2d2ec704a2 Refactor can_view_post() into async function 2022-01-06 19:25:20 +00:00
silverpill
011951c129 Set up tests for database queries 2022-01-06 14:31:29 +00:00
silverpill
040934da2d Don't create database conn pool when running mitractl 2022-01-06 11:28:07 +00:00
silverpill
81d60656e6 Set correct primary audience for Update(Person) activities 2022-01-04 21:55:35 +00:00