lemmy/crates/api_common/src
dullbananas 4120c2fc2f
Changes to get_random_community_id: add filters for nsfw and private, use algorthm that doesn't scan the entire table (#5267)
* get_random_community_id: add filters for nsfw and private, use algorithm that doesn't scan the entire table

* only call random_smallint once for filter

* change migration date

* make random_smallint function work in postgresql 16

* replace "32768 + 32767 + 1" with "65536" and improve comments

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2025-01-16 14:16:57 -05:00
..
reports Adding report_combined table. (#5231) 2024-12-19 17:22:31 -05:00
build_response.rs Adding combined inbox (#5257) 2025-01-15 12:51:39 -05:00
claims.rs Image api rework (#5260) 2025-01-13 16:09:00 -05:00
comment.rs Adding combined person content and person saved tables. (#5251) 2025-01-05 12:48:57 -05:00
community.rs Changes to get_random_community_id: add filters for nsfw and private, use algorthm that doesn't scan the entire table (#5267) 2025-01-16 14:16:57 -05:00
context.rs Image api rework (#5260) 2025-01-13 16:09:00 -05:00
custom_emoji.rs Upgrading ts_rs to 10.0.0 (#5163) 2024-11-06 15:50:13 +01:00
image.rs Pictrs delete token (#5317) 2025-01-15 11:28:43 -05:00
lib.rs Image api rework (#5260) 2025-01-13 16:09:00 -05:00
oauth_provider.rs feat: add PKCE (#5189) 2024-12-02 16:47:03 -05:00
person.rs Add media filter setting (#5325) 2025-01-16 12:57:58 +01:00
post.rs Add media filter setting (#5325) 2025-01-16 12:57:58 +01:00
private_message.rs Adding combined inbox (#5257) 2025-01-15 12:51:39 -05:00
request.rs Pictrs delete token (#5317) 2025-01-15 11:28:43 -05:00
send_activity.rs Adding combined inbox (#5257) 2025-01-15 12:51:39 -05:00
site.rs Adding Combined modlog (#5253) 2025-01-14 15:14:58 +01:00
tagline.rs Upgrading ts_rs to 10.0.0 (#5163) 2024-11-06 15:50:13 +01:00
utils.rs Adding combined inbox (#5257) 2025-01-15 12:51:39 -05:00