Commit graph

77 commits

Author SHA1 Message Date
silverpill f2575a0a79 Add test for delete_post() 2022-12-14 09:34:45 +00:00
silverpill fcab5b000a Ignore Announce() activity if repost already exists but with a different object ID 2022-12-13 19:42:57 +00:00
silverpill d1939b10d5 Move DatabaseError to database module 2022-12-03 22:57:09 +00:00
silverpill 11ed4c1e48 Remove unnecessary as_str() conversions 2022-12-03 21:11:28 +00:00
silverpill 9b96ce4700 Add CLI command for password reset 2022-11-11 00:53:23 +00:00
silverpill 0ce634564b Rename some functions 2022-10-15 13:08:50 +00:00
silverpill 93ebdfadd4 Restrict module visibility and remove dead code 2022-10-02 21:23:16 +00:00
silverpill 5b7979b9d4 Use add_related_posts helper in outbox and object views 2022-10-02 21:23:16 +00:00
silverpill 81c590559e Use u16 when working with page size 2022-09-29 21:47:35 +00:00
silverpill f9465693a3 Allow remote posts without content 2022-09-29 15:37:26 +00:00
silverpill 0ce0cd15c3 Don't show subscribers-only posts if viewer is not mentioned 2022-09-27 22:18:58 +00:00
silverpill de80bd0b40 Populate "quote" field in reposted posts 2022-09-11 21:17:09 +00:00
silverpill 9f3b95c41d Mention all subscribers when creating subscribers-only post 2022-09-11 14:25:30 +00:00
silverpill d9def75b32 Create post_link table to store links between posts 2022-08-21 22:36:31 +00:00
silverpill d63c19a996 Add total numbers of local users and posts to NodeInfo response 2022-07-07 19:26:06 +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 e2d2e2e5de Save post CID and attachment CID in a single database transaction 2022-05-12 14:53:43 +00:00
silverpill dc34c980f6 Handle Update(Note) activities 2022-05-11 13:31:08 +00:00
silverpill 50699b5ab5 Don't use update_post() to set ipfs_cid, token_id and token_tx_id fields 2022-05-10 22:18:43 +00:00
silverpill 1ea55b5d1a Add API method for getting local timeline 2022-05-09 00:02:36 +00:00
silverpill 56d1ebf9e5 Add include_reposts parameter to get_posts_by_author() func 2022-04-13 21:26:30 +00:00
silverpill 78d66f8a06 Prevent interactions with reposts 2022-04-13 21:26:30 +00:00
silverpill 2ebcc10dcb Add comments to home timeline SQL query 2022-04-08 18:55:29 +00:00
silverpill 60b683b657 Allow to hide replies from given author from home timeline 2022-03-09 20:42:02 +00:00
silverpill f14e762ee3 Allow to hide reposts made by given actor from home timeline 2022-02-23 16:55:25 +00:00
silverpill 8b4325ad96 Add CLI command that deletes old remote posts 2022-02-20 23:36:04 +00:00
silverpill 54277e410d Delete media attached to descendants of post when it is deleted 2022-02-20 23:24:17 +00:00
silverpill 9330038141 Add "subscribers-only" post visibility setting 2022-02-06 12:05:20 +00:00
silverpill a3a0a6053d Add relationship type column to relationship table 2022-02-03 00:15:52 +00:00
silverpill 59a86ea827 Add "followers-only" post visibility setting 2022-01-15 20:40:37 +00:00
silverpill b8e87f13ac Fix visibility filter 2022-01-09 12:23:15 +00:00
silverpill f0d021853a Refactor timeline and thread queries
Added tests for home timeline query.
2022-01-08 14:56:38 +00:00
silverpill 3ff4c79f0d Add macro for building SQL queries 2022-01-07 22:12:31 +00:00
silverpill bce194ebda Show direct messages in timelines and threads 2022-01-07 20:44:36 +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 bcaf6a08c7 Fix repost notifications 2021-12-10 15:31:57 +00:00
silverpill c4fdb46df7 Parse and store hashtags 2021-12-10 00:38:24 +00:00
silverpill e7955d8ebb Add get_post_author() to posts::queries 2021-12-05 01:46:25 +00:00
silverpill d33899f56e Use token_tx_id field to find posts awaiting tokenization 2021-12-03 19:07:36 +00:00
silverpill 4b5b98135d Add API method for registering minted tokens 2021-12-03 19:07:32 +00:00
silverpill e4f60695d8 Fix thread query 2021-12-02 13:38:45 +00:00
silverpill e43e6c3d0a Paginate home timeline 2021-12-02 01:36:51 +00:00
silverpill 12c21d86f8 Use ULIDs instead of v4 UUIDs for identifiers 2021-12-02 01:36:35 +00:00
silverpill b2150f9259 Reorder functions in posts::queries module 2021-12-01 21:58:18 +00:00
silverpill 0ec69adbe2 Refactor favourite/unfavourite API methods to make fewer DB queries 2021-12-01 14:46:09 +00:00
silverpill 683996aaf3 Send notification when user's post is reposted 2021-11-30 22:37:23 +00:00
silverpill 2111bae373 Send notification when user is mentioned 2021-11-30 22:20:20 +00:00
silverpill 47826628cd Add API endpoints for making and deleting reposts 2021-11-25 23:31:10 +00:00