silverpill
|
82e24ad8b0
|
Validate and clean bio when profile is created or updated
|
2022-02-17 20:38:56 +00:00 |
|
silverpill
|
4e010f1698
|
Add profile data validation to get_or_import_profile_by_actor_id
|
2022-02-16 23:46:01 +00:00 |
|
silverpill
|
848de1d685
|
Set default tag type to Hashtag
|
2022-02-15 23:14:39 +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
|
d3e3c1eb3e
|
Refactor struct conversion in create_account() handler
|
2022-02-14 22:08:35 +00:00 |
|
silverpill
|
e756bbacf4
|
Add tests for note visibility detection
|
2022-02-13 20:12:31 +00:00 |
|
silverpill
|
a5d3aa488b
|
Require replies to non-public posts to have direct visibility
|
2022-02-13 18:16:59 +00:00 |
|
silverpill
|
79e7d960fb
|
Log more details when processing non-public note
|
2022-02-13 16:42:01 +00:00 |
|
silverpill
|
226fc49b86
|
Allow non-standard wrap width when parsing public keys in PEM format
|
2022-02-13 15:44:28 +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
|
49dc82fb0a
|
Add decoding error type to VerificationError enum
|
2022-02-11 20:40:36 +00:00 |
|
silverpill
|
75fa39718c
|
Add http_cors_allowlist configuration option
|
2022-02-10 23:35:23 +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
|
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
|
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
|
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
|
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 |
|
silverpill
|
de1760230a
|
Set primary audience of Delete(Note) activities to Public
|
2022-01-04 21:55:29 +00:00 |
|
silverpill
|
3e5f5b80d3
|
Set correct primary and secondary audience for outgoing Announce(Note) and Undo(Announce) activities
|
2022-01-04 21:36:52 +00:00 |
|
silverpill
|
7a373831fe
|
Set correct primary and secondary audience for outgoing Create(Note) activities
|
2022-01-04 21:01:45 +00:00 |
|
silverpill
|
c7ee5d94ce
|
Write signer ID to log if actor ID and signer ID do not match
|
2022-01-04 14:42:03 +00:00 |
|
silverpill
|
5dc07c3742
|
Verify object ID when processing Update(Person) activity
|
2022-01-03 23:45:18 +00:00 |
|
silverpill
|
d045df4232
|
Verify post/reaction author when processing Delete() and Undo() activities
Activity sender and the author must be the same.
|
2022-01-03 23:38:31 +00:00 |
|
silverpill
|
adb5a6c651
|
Verify follow request target when processing Accept(Follow)
Activity sender and the target must be the same.
|
2022-01-03 23:22:52 +00:00 |
|
silverpill
|
d4964878f2
|
Return error if actor and request signer do not match
|
2022-01-03 19:34:01 +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
|
d46165f397
|
Process Follow() activity even if relationship already exists
|
2022-01-02 23:50:37 +00:00 |
|
silverpill
|
3993c76c65
|
Add API methods for retrieving followers and following lists
|
2022-01-02 22:06:25 +00:00 |
|
silverpill
|
40958500c1
|
Add ID column to relationship table
|
2022-01-02 15:52:20 +00:00 |
|
silverpill
|
c11cd26961
|
Move get_followers to relationships::queries module
|
2022-01-02 13:42:10 +00:00 |
|
silverpill
|
e2b5147502
|
Make profile search case-insensitive
|
2022-01-02 12:50:17 +00:00 |
|
silverpill
|
9156dec5bb
|
Convert actor_json value into Actor type when reading from database
|
2022-01-02 01:27:50 +00:00 |
|
silverpill
|
97d798eeed
|
Create helper functions for getting recipients of Create, Like and Announce activities
|
2022-01-01 12:07:36 +00:00 |
|
silverpill
|
94aad001f8
|
Add in_reply_to field to Post struct
create_note refactored to accept Post without additional in_reply_to argument.
|
2021-12-31 19:44:17 +00:00 |
|
silverpill
|
a9a99d7172
|
Update actor JSON object in database when receiving Update(Person) activity
|
2021-12-31 19:43:11 +00:00 |
|
silverpill
|
5b0a9ff931
|
Enable strict HTTP signature verification in inbox
|
2021-12-31 19:43:05 +00:00 |
|
silverpill
|
452894c224
|
Ignore Delete(Note) if post is not found in database
|
2021-12-30 14:45:31 +00:00 |
|
silverpill
|
b2f341445b
|
Skip signature verification when processing Delete(Person) activities
|
2021-12-29 20:54:36 +00:00 |
|
silverpill
|
580ba6dfba
|
Make actor and object endpoints compatible with Mastodon fetcher
|
2021-12-29 18:36:50 +00:00 |
|
silverpill
|
f9fca604a9
|
Make media_type property on Attachment type optional
|
2021-12-29 15:07:19 +00:00 |
|
silverpill
|
e71bb9585a
|
Refactor utils::files module
|
2021-12-29 14:34:23 +00:00 |
|