lemmy/crates/apub/src
leoseg ba779b978f
New parameter read_only for /api/v3/post/list (#5264)
* added option to get only read only posts with unittests

* formatted code

* added index on (person_id, read) on post actions where read is not null

* formatted sql

* Update migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/up.sql

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

* Fixxed error in down.sql for migration of index on (person_id,read_only,post_id) on post_actions

* Fixxed error in unittests

* Update crates/db_views/src/post_view.rs

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

---------

Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2025-01-03 11:08:00 +01:00
..
activities Applying some clippy fixes. (#5292) 2025-01-01 12:47:21 -05:00
api New parameter read_only for /api/v3/post/list (#5264) 2025-01-03 11:08:00 +01:00
collections Replace clippy allow annotation with expect (fixes #5012) (#5048) 2024-09-24 13:29:02 -04:00
fetcher refactor: avoid using format! when String creation is unnecessary (#5268) 2024-12-19 15:42:01 -05:00
http More test coverage for private community, fix some bugs (#5207) 2024-11-22 10:49:56 -05:00
objects Applying some clippy fixes. (#5292) 2025-01-01 12:47:21 -05:00
protocol Add note wrapper (fixes #2657) (#5221) (#5236) 2024-12-02 05:28:23 -05:00
activity_lists.rs Add note wrapper (fixes #2657) (#5221) (#5236) 2024-12-02 05:28:23 -05:00
lib.rs Add helper method for caching function results (#5220) 2024-11-22 09:33:35 -05:00
mentions.rs Add test for unused errors, move federation errors into separate struct (#5024) 2024-10-28 11:07:13 -04:00