Commit graph

1079 commits

Author SHA1 Message Date
silverpill
bf2e38a397 Add User-Agent header to fetcher requests 2022-02-08 19:51:40 +00:00
silverpill
f1fd0af6bc Remove blockchain_contract_name property from instance info 2022-02-08 18:32:54 +00:00
silverpill
0a2a145807 Optimize database queries in can_view_post() 2022-02-08 18:25:48 +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
a63da82b85 Allow cross-origin requests from localhost in production environment
https://codeberg.org/silverpill/mitra/issues/5
2022-02-08 13:16:46 +00:00
silverpill
0a8fbdafba Update readme 2022-02-08 01:48:59 +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
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
d9f0095787 Allow to reply to public post with a direct message 2022-02-07 01:06:18 +00:00
silverpill
9330038141 Add "subscribers-only" post visibility setting 2022-02-06 12:05:20 +00:00
silverpill
71fc2d9dad Save subscription state to database when processing blockchain event 2022-02-06 12:05:14 +00:00
silverpill
4e49f113e7 Add subscription relationship type 2022-02-05 23:53:01 +00:00
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