lemmy/crates
leoseg ba779b978f
New parameter read_only for /api/v3/post/list ()
* 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
..
api reset_password API to always return success () 2025-01-02 12:37:13 -05:00
api_common New parameter read_only for /api/v3/post/list () 2025-01-03 11:08:00 +01:00
api_crud Applying some clippy fixes. () 2025-01-01 12:47:21 -05:00
apub New parameter read_only for /api/v3/post/list () 2025-01-03 11:08:00 +01:00
db_perf Upgrading diesel and a few other deps. () 2024-11-18 10:23:02 -07:00
db_schema Cleaning up oauth providers conversion. () 2024-12-27 12:52:05 -05:00
db_views New parameter read_only for /api/v3/post/list () 2025-01-03 11:08:00 +01:00
db_views_actor Shorten "options" variable name () 2025-01-01 12:52:20 -05:00
db_views_moderator Running cargo-features-manager prune. () 2024-12-20 23:20:16 +01:00
federate Running cargo-features-manager prune. () 2024-12-20 23:20:16 +01:00
routes refactor: avoid using format! when String creation is unnecessary () 2024-12-19 15:42:01 -05:00
utils Reduce false positives in URL blocklist to reduce scunthorpe problem by matching at word boundaries. () 2024-12-27 12:53:23 -05:00