SYMBOL INDEX (4492 symbols across 748 files) FILE: api_tests/src/comment.spec.ts function assertCommentFederation (line 70) | function assertCommentFederation( function checkCommentReportReason (line 1044) | function checkCommentReportReason(rcv: ReportCombinedView, reason: strin... FILE: api_tests/src/community.spec.ts function checkCommunityReportName (line 843) | function checkCommunityReportName( FILE: api_tests/src/post.spec.ts function assertPostFederation (line 76) | async function assertPostFederation( function checkPostReportName (line 1045) | function checkPostReportName(rcv: ReportCombinedView, report: PostReport) { FILE: api_tests/src/private_comm.spec.ts function approveFollower (line 359) | async function approveFollower(user: LemmyHttp, community_id: number) { FILE: api_tests/src/shared.ts function setupLogins (line 116) | async function setupLogins() { function allowInstance (line 215) | async function allowInstance(api: LemmyHttp, instance: string) { function createPost (line 229) | async function createPost( function editPost (line 250) | async function editPost( function createPostWithThumbnail (line 262) | async function createPostWithThumbnail( function deletePost (line 277) | async function deletePost( function removePost (line 289) | async function removePost( function featurePost (line 302) | async function featurePost( function lockPost (line 315) | async function lockPost( function resolvePost (line 328) | async function resolvePost( function searchPostLocal (line 341) | async function searchPostLocal( function waitForPost (line 356) | async function waitForPost( function getPost (line 367) | async function getPost( function lockComment (line 377) | async function lockComment( function getComment (line 390) | async function getComment( function getComments (line 400) | async function getComments( function getUnreadCounts (line 414) | async function getUnreadCounts( function listNotifications (line 420) | async function listNotifications( function resolveComment (line 432) | async function resolveComment( function resolveBetaCommunity (line 445) | async function resolveBetaCommunity( function resolveCommunity (line 458) | async function resolveCommunity( function resolvePerson (line 471) | async function resolvePerson( function banPersonFromSite (line 484) | async function banPersonFromSite( function banPersonFromCommunity (line 500) | async function banPersonFromCommunity( function followCommunity (line 517) | async function followCommunity( function likePost (line 539) | async function likePost( function createComment (line 552) | async function createComment( function editComment (line 566) | async function editComment( function deleteComment (line 578) | async function deleteComment( function removeComment (line 590) | async function removeComment( function likeComment (line 605) | async function likeComment( function createCommunity (line 617) | async function createCommunity( function editCommunity (line 632) | async function editCommunity( function getCommunity (line 639) | async function getCommunity( function getCommunityByName (line 649) | async function getCommunityByName( function deleteCommunity (line 659) | async function deleteCommunity( function removeCommunity (line 671) | async function removeCommunity( function createPrivateMessage (line 684) | async function createPrivateMessage( function editPrivateMessage (line 696) | async function editPrivateMessage( function deletePrivateMessage (line 708) | async function deletePrivateMessage( function registerUser (line 720) | async function registerUser( function loginUser (line 740) | async function loginUser( function saveUserSettingsBio (line 751) | async function saveUserSettingsBio( function saveUserSettingsFederated (line 768) | async function saveUserSettingsFederated( function saveUserSettings (line 786) | async function saveUserSettings( function getPersonDetails (line 793) | async function getPersonDetails( function listPersonContent (line 803) | async function listPersonContent( function deleteUser (line 815) | async function deleteUser( function getSite (line 826) | async function getSite(api: LemmyHttp): Promise { function getMyUser (line 830) | async function getMyUser(api: LemmyHttp): Promise { function unfollowRemotes (line 834) | async function unfollowRemotes(api: LemmyHttp): Promise { function followBeta (line 846) | async function followBeta(api: LemmyHttp): Promise { function reportPost (line 856) | async function reportPost( function reportCommunity (line 868) | async function reportCommunity( function listReports (line 880) | async function listReports( function reportComment (line 888) | async function reportComment( function reportPrivateMessage (line 900) | async function reportPrivateMessage( function getPosts (line 912) | function getPosts( function userBlockInstanceCommunities (line 925) | function userBlockInstanceCommunities( function blockCommunity (line 937) | function blockCommunity( function listCommunityPendingFollows (line 949) | function listCommunityPendingFollows( function approveCommunityPendingFollow (line 960) | function approveCommunityPendingFollow( function getModlog (line 973) | function getModlog(api: LemmyHttp): Promise> { function wrapper (line 978) | function wrapper(form: any): string { function randomString (line 982) | function randomString(length: number): string { function deleteAllMedia (line 993) | async function deleteAllMedia(api: LemmyHttp) { function unfollows (line 1009) | async function unfollows() { function purgeAllPosts (line 1026) | async function purgeAllPosts(api: LemmyHttp) { function getCommentParentId (line 1037) | function getCommentParentId(comment: Comment): number | undefined { function waitUntil (line 1050) | async function waitUntil( function delay (line 1074) | function delay(millis = 500) { function assertCommunityFederation (line 1078) | function assertCommunityFederation( function jestLemmyError (line 1102) | async function jestLemmyError( FILE: api_tests/src/speed.spec.ts type Result (line 502) | type Result = { function timeApiCall (line 541) | async function timeApiCall(promise: () => Promise): Promise(promise: () => Promise, times = 10) { function timeDiff (line 561) | function timeDiff(start: number, end: number) { function average (line 565) | function average(arr: number[]) { function formatMs (line 569) | function formatMs(time: number): string { FILE: api_tests/src/user.spec.ts function assertUserFederation (line 51) | function assertUserFederation(userOne?: PersonView, userTwo?: PersonView) { FILE: crates/api/api/src/comment/distinguish.rs function distinguish_comment (line 17) | pub async fn distinguish_comment( FILE: crates/api/api/src/comment/like.rs function like_comment (line 33) | pub async fn like_comment( FILE: crates/api/api/src/comment/list_comment_likes.rs function list_comment_likes (line 10) | pub async fn list_comment_likes( FILE: crates/api/api/src/comment/lock.rs function lock_comment (line 21) | pub async fn lock_comment( FILE: crates/api/api/src/comment/save.rs function save_comment (line 14) | pub async fn save_comment( FILE: crates/api/api/src/comment/warning.rs function create_comment_warning (line 17) | pub async fn create_comment_warning( FILE: crates/api/api/src/community/add_mod.rs function add_mod_to_community (line 21) | pub async fn add_mod_to_community( FILE: crates/api/api/src/community/ban.rs function ban_from_community (line 31) | pub async fn ban_from_community( FILE: crates/api/api/src/community/block.rs function user_block_community (line 24) | pub async fn user_block_community( FILE: crates/api/api/src/community/follow.rs function follow_community (line 14) | pub async fn follow_community( FILE: crates/api/api/src/community/mod.rs function do_follow_community (line 29) | pub(super) async fn do_follow_community( FILE: crates/api/api/src/community/multi_community_follow.rs function follow_multi_community (line 18) | pub async fn follow_multi_community( FILE: crates/api/api/src/community/pending_follows/approve.rs function post_pending_follows_approve (line 15) | pub async fn post_pending_follows_approve( FILE: crates/api/api/src/community/pending_follows/list.rs function get_pending_follows_list (line 11) | pub async fn get_pending_follows_list( FILE: crates/api/api/src/community/random.rs function get_random_community (line 16) | pub async fn get_random_community( FILE: crates/api/api/src/community/tag.rs function create_community_tag (line 28) | pub async fn create_community_tag( function edit_community_tag (line 71) | pub async fn edit_community_tag( function delete_community_tag (line 100) | pub async fn delete_community_tag( FILE: crates/api/api/src/community/transfer.rs function transfer_community (line 28) | pub async fn transfer_community( FILE: crates/api/api/src/community/update_notifications.rs function edit_community_notifications (line 13) | pub async fn edit_community_notifications( FILE: crates/api/api/src/federation/fetcher.rs function resolve_ap_identifier (line 24) | async fn resolve_ap_identifier( function resolve_community_identifier (line 73) | pub(crate) async fn resolve_community_identifier( function resolve_person_identifier (line 90) | pub(crate) async fn resolve_person_identifier( function resolve_multi_community_identifier (line 110) | pub(crate) async fn resolve_multi_community_identifier( FILE: crates/api/api/src/federation/list_comments.rs function list_comments_common (line 19) | async fn list_comments_common( function list_comments (line 80) | pub async fn list_comments( function list_comments_slim (line 90) | pub async fn list_comments_slim( FILE: crates/api/api/src/federation/list_person_content.rs function list_person_content (line 15) | pub async fn list_person_content( FILE: crates/api/api/src/federation/list_posts.rs function list_posts (line 22) | pub async fn list_posts( FILE: crates/api/api/src/federation/mod.rs function listing_type_with_default (line 20) | fn listing_type_with_default( function post_sort_type_with_default (line 41) | fn post_sort_type_with_default( function post_time_range_seconds_with_default (line 56) | fn post_time_range_seconds_with_default( function comment_sort_type_with_default (line 75) | fn comment_sort_type_with_default( function fetch_limit_with_default (line 89) | fn fetch_limit_with_default( FILE: crates/api/api/src/federation/read_community.rs function get_community (line 18) | pub async fn get_community( FILE: crates/api/api/src/federation/read_multi_community.rs function read_multi_community (line 14) | pub async fn read_multi_community( FILE: crates/api/api/src/federation/read_person.rs function read_person (line 19) | pub async fn read_person( FILE: crates/api/api/src/federation/resolve_object.rs function resolve_object (line 23) | pub async fn resolve_object( function resolve_object_internal (line 38) | pub(super) async fn resolve_object_internal( function search_query_to_object_id (line 88) | async fn search_query_to_object_id( function search_query_to_object_id_local (line 112) | async fn search_query_to_object_id_local( function test_object_visibility (line 137) | async fn test_object_visibility() -> LemmyResult<()> { function assert_response (line 203) | fn assert_response(res: SearchCombinedView, expected_post: &Post) { FILE: crates/api/api/src/federation/search.rs function search (line 17) | pub async fn search( FILE: crates/api/api/src/federation/user_settings_backup.rs constant PARALLELISM (line 42) | const PARALLELISM: usize = 10; function export_settings (line 44) | pub async fn export_settings( function import_settings (line 54) | pub async fn import_settings( function fetch_and_import (line 262) | async fn fetch_and_import( function test_settings_export_import (line 322) | async fn test_settings_export_import() -> LemmyResult<()> { function disallow_large_backup (line 393) | async fn disallow_large_backup() -> LemmyResult<()> { function import_partial_backup (line 430) | async fn import_partial_backup() -> LemmyResult<()> { FILE: crates/api/api/src/lib.rs function check_report_reason (line 21) | pub(crate) fn check_report_reason(reason: &str, slur_regex: &Regex) -> L... function check_totp_2fa_valid (line 32) | pub(crate) fn check_totp_2fa_valid( function generate_totp_2fa_secret (line 57) | pub(crate) fn generate_totp_2fa_secret() -> String { function build_totp_2fa (line 61) | fn build_totp_2fa(hostname: &str, username: &str, secret: &str) -> Lemmy... function hide_modlog_names (line 83) | async fn hide_modlog_names( function test_build_totp (line 105) | fn test_build_totp() { FILE: crates/api/api/src/local_user/add_admin.rs function add_admin (line 14) | pub async fn add_admin( FILE: crates/api/api/src/local_user/ban_person.rs function ban_from_site (line 27) | pub async fn ban_from_site( FILE: crates/api/api/src/local_user/block.rs function user_block_person (line 14) | pub async fn user_block_person( FILE: crates/api/api/src/local_user/change_password.rs function change_password (line 16) | pub async fn change_password( FILE: crates/api/api/src/local_user/change_password_after_reset.rs function change_password_after_reset (line 11) | pub async fn change_password_after_reset( FILE: crates/api/api/src/local_user/donation_dialog_shown.rs function donation_dialog_shown (line 9) | pub async fn donation_dialog_shown( FILE: crates/api/api/src/local_user/export_data.rs function export_data (line 17) | pub async fn export_data( FILE: crates/api/api/src/local_user/generate_totp_secret.rs function generate_totp_secret (line 12) | pub async fn generate_totp_secret( FILE: crates/api/api/src/local_user/get_captcha.rs function get_captcha (line 14) | pub async fn get_captcha() -> LemmyResult { FILE: crates/api/api/src/local_user/list_hidden.rs function list_person_hidden (line 10) | pub async fn list_person_hidden( FILE: crates/api/api/src/local_user/list_liked.rs function list_person_liked (line 10) | pub async fn list_person_liked( FILE: crates/api/api/src/local_user/list_logins.rs function list_logins (line 8) | pub async fn list_logins( FILE: crates/api/api/src/local_user/list_media.rs function list_media (line 8) | pub async fn list_media( FILE: crates/api/api/src/local_user/list_read.rs function list_person_read (line 10) | pub async fn list_person_read( FILE: crates/api/api/src/local_user/list_saved.rs function list_person_saved (line 11) | pub async fn list_person_saved( FILE: crates/api/api/src/local_user/login.rs function login (line 19) | pub async fn login( FILE: crates/api/api/src/local_user/logout.rs function logout (line 12) | pub async fn logout( FILE: crates/api/api/src/local_user/note_person.rs function user_note_person (line 18) | pub async fn user_note_person( FILE: crates/api/api/src/local_user/notifications/list.rs function list_notifications (line 9) | pub async fn list_notifications( FILE: crates/api/api/src/local_user/notifications/mark_all_read.rs function mark_all_notifications_read (line 8) | pub async fn mark_all_notifications_read( FILE: crates/api/api/src/local_user/notifications/mark_notification_read.rs function mark_notification_as_read (line 9) | pub async fn mark_notification_as_read( FILE: crates/api/api/src/local_user/resend_verification_email.rs function resend_verification_email (line 11) | pub async fn resend_verification_email( FILE: crates/api/api/src/local_user/reset_password.rs function reset_password (line 15) | pub async fn reset_password( function try_reset_password (line 26) | async fn try_reset_password(email: &str, context: &LemmyContext) -> Lemm... FILE: crates/api/api/src/local_user/save_settings.rs function save_user_settings (line 37) | pub async fn save_user_settings( FILE: crates/api/api/src/local_user/unread_counts.rs function get_unread_counts (line 15) | pub async fn get_unread_counts( FILE: crates/api/api/src/local_user/update_totp.rs function edit_totp (line 17) | pub async fn edit_totp( FILE: crates/api/api/src/local_user/user_block_instance.rs function user_block_instance_communities (line 17) | pub async fn user_block_instance_communities( function user_block_instance_persons (line 40) | pub async fn user_block_instance_persons( FILE: crates/api/api/src/local_user/validate_auth.rs function validate_auth (line 14) | pub async fn validate_auth( FILE: crates/api/api/src/local_user/verify_email.rs function verify_email (line 15) | pub async fn verify_email( FILE: crates/api/api/src/post/feature.rs function feature_post (line 22) | pub async fn feature_post( FILE: crates/api/api/src/post/get_link_metadata.rs function get_link_metadata (line 8) | pub async fn get_link_metadata( FILE: crates/api/api/src/post/hide.rs function hide_post (line 11) | pub async fn hide_post( FILE: crates/api/api/src/post/like.rs function like_post (line 33) | pub async fn like_post( FILE: crates/api/api/src/post/list_post_likes.rs function list_post_likes (line 11) | pub async fn list_post_likes( FILE: crates/api/api/src/post/lock.rs function lock_post (line 22) | pub async fn lock_post( FILE: crates/api/api/src/post/mark_many_read.rs function mark_posts_as_read (line 9) | pub async fn mark_posts_as_read( FILE: crates/api/api/src/post/mark_read.rs function mark_post_as_read (line 11) | pub async fn mark_post_as_read( FILE: crates/api/api/src/post/mod_update.rs function mod_edit_post (line 27) | pub async fn mod_edit_post( FILE: crates/api/api/src/post/save.rs function save_post (line 14) | pub async fn save_post( FILE: crates/api/api/src/post/update_notifications.rs function edit_post_notifications (line 16) | pub async fn edit_post_notifications( FILE: crates/api/api/src/post/warning.rs function create_post_warning (line 18) | pub async fn create_post_warning( FILE: crates/api/api/src/reports/comment_report/create.rs function create_comment_report (line 31) | pub async fn create_comment_report( FILE: crates/api/api/src/reports/comment_report/resolve.rs function resolve_comment_report (line 18) | pub async fn resolve_comment_report( FILE: crates/api/api/src/reports/community_report/create.rs function create_community_report (line 29) | pub async fn create_community_report( FILE: crates/api/api/src/reports/community_report/resolve.rs function resolve_community_report (line 20) | pub async fn resolve_community_report( FILE: crates/api/api/src/reports/post_report/create.rs function create_post_report (line 31) | pub async fn create_post_report( FILE: crates/api/api/src/reports/post_report/resolve.rs function resolve_post_report (line 18) | pub async fn resolve_post_report( FILE: crates/api/api/src/reports/private_message_report/create.rs function create_pm_report (line 25) | pub async fn create_pm_report( FILE: crates/api/api/src/reports/private_message_report/resolve.rs function resolve_pm_report (line 11) | pub async fn resolve_pm_report( FILE: crates/api/api/src/reports/report_combined/list.rs function list_reports (line 14) | pub async fn list_reports( FILE: crates/api/api/src/site/admin_allow_instance.rs function admin_allow_instance (line 13) | pub async fn admin_allow_instance( FILE: crates/api/api/src/site/admin_block_instance.rs function admin_block_instance (line 16) | pub async fn admin_block_instance( FILE: crates/api/api/src/site/admin_list_users.rs function admin_list_users (line 7) | pub async fn admin_list_users( FILE: crates/api/api/src/site/federated_instances.rs function get_federated_instances (line 7) | pub async fn get_federated_instances( FILE: crates/api/api/src/site/list_all_media.rs function list_all_media (line 8) | pub async fn list_all_media( FILE: crates/api/api/src/site/mod_log.rs function get_mod_log (line 10) | pub async fn get_mod_log( function test_mod_remove_or_restore_data (line 77) | async fn test_mod_remove_or_restore_data() -> LemmyResult<()> { function test_bulk_parent_id_propagated (line 369) | async fn test_bulk_parent_id_propagated() -> LemmyResult<()> { FILE: crates/api/api/src/site/purge/comment.rs function purge_comment (line 19) | pub async fn purge_comment( FILE: crates/api/api/src/site/purge/community.rs function purge_community (line 21) | pub async fn purge_community( FILE: crates/api/api/src/site/purge/person.rs function purge_person (line 23) | pub async fn purge_person( FILE: crates/api/api/src/site/purge/post.rs function purge_post (line 19) | pub async fn purge_post( FILE: crates/api/api/src/site/registration_applications/approve.rs function approve_registration_application (line 19) | pub async fn approve_registration_application( FILE: crates/api/api/src/site/registration_applications/get.rs function get_registration_application (line 11) | pub async fn get_registration_application( FILE: crates/api/api/src/site/registration_applications/list.rs function list_registration_applications (line 15) | pub async fn list_registration_applications( FILE: crates/api/api/src/site/registration_applications/tests.rs function create_test_site (line 32) | async fn create_test_site(context: &Data) -> LemmyResult<(... function signup (line 63) | async fn signup( function get_application_statuses (line 92) | async fn get_application_statuses( function test_application_approval (line 128) | async fn test_application_approval() -> LemmyResult<()> { FILE: crates/api/api/src/sitemap.rs function generate_urlset (line 14) | fn generate_urlset(posts: Vec<(DbUrl, chrono::DateTime)>) -... function get_sitemap (line 28) | pub async fn get_sitemap(context: Data) -> LemmyResult LemmyResult<()> { FILE: crates/api/api_crud/src/comment/create.rs function create_comment (line 39) | pub async fn create_comment( FILE: crates/api/api_crud/src/comment/delete.rs function delete_comment (line 18) | pub async fn delete_comment( FILE: crates/api/api_crud/src/comment/read.rs function get_comment (line 12) | pub async fn get_comment( FILE: crates/api/api_crud/src/comment/remove.rs function remove_comment (line 27) | pub async fn remove_comment( FILE: crates/api/api_crud/src/comment/update.rs function edit_comment (line 28) | pub async fn edit_comment( FILE: crates/api/api_crud/src/community/create.rs function create_community (line 50) | pub async fn create_community( FILE: crates/api/api_crud/src/community/delete.rs function delete_community (line 16) | pub async fn delete_community( FILE: crates/api/api_crud/src/community/list.rs function list_communities (line 9) | pub async fn list_communities( FILE: crates/api/api_crud/src/community/remove.rs function remove_community (line 24) | pub async fn remove_community( FILE: crates/api/api_crud/src/community/update.rs function edit_community (line 34) | pub async fn edit_community( FILE: crates/api/api_crud/src/custom_emoji/create.rs function create_custom_emoji (line 16) | pub async fn create_custom_emoji( FILE: crates/api/api_crud/src/custom_emoji/delete.rs function delete_custom_emoji (line 11) | pub async fn delete_custom_emoji( FILE: crates/api/api_crud/src/custom_emoji/list.rs function list_custom_emojis (line 9) | pub async fn list_custom_emojis( FILE: crates/api/api_crud/src/custom_emoji/update.rs function edit_custom_emoji (line 16) | pub async fn edit_custom_emoji( FILE: crates/api/api_crud/src/lib.rs function community_use_pending (line 17) | async fn community_use_pending(community: &Community, context: &LemmyCon... FILE: crates/api/api_crud/src/multi_community/create.rs function create_multi_community (line 33) | pub async fn create_multi_community( FILE: crates/api/api_crud/src/multi_community/create_entry.rs function create_multi_community_entry (line 24) | pub async fn create_multi_community_entry( FILE: crates/api/api_crud/src/multi_community/delete_entry.rs function delete_multi_community_entry (line 22) | pub async fn delete_multi_community_entry( FILE: crates/api/api_crud/src/multi_community/list.rs function list_multi_communities (line 13) | pub async fn list_multi_communities( FILE: crates/api/api_crud/src/multi_community/mod.rs function check_multi_community_creator (line 17) | fn check_multi_community_creator( function send_federation_update (line 30) | fn send_federation_update( FILE: crates/api/api_crud/src/multi_community/update.rs function edit_multi_community (line 25) | pub async fn edit_multi_community( FILE: crates/api/api_crud/src/oauth_provider/create.rs function create_oauth_provider (line 11) | pub async fn create_oauth_provider( FILE: crates/api/api_crud/src/oauth_provider/delete.rs function delete_oauth_provider (line 10) | pub async fn delete_oauth_provider( FILE: crates/api/api_crud/src/oauth_provider/update.rs function edit_oauth_provider (line 14) | pub async fn edit_oauth_provider( FILE: crates/api/api_crud/src/post/create.rs function create_post (line 48) | pub async fn create_post( FILE: crates/api/api_crud/src/post/delete.rs function delete_post (line 18) | pub async fn delete_post( FILE: crates/api/api_crud/src/post/mod.rs function convert_published_time (line 13) | async fn convert_published_time( FILE: crates/api/api_crud/src/post/read.rs function get_post (line 24) | pub async fn get_post( FILE: crates/api/api_crud/src/post/remove.rs function remove_post (line 27) | pub async fn remove_post( FILE: crates/api/api_crud/src/post/update.rs function edit_post (line 54) | pub async fn edit_post( FILE: crates/api/api_crud/src/private_message/create.rs function create_private_message (line 32) | pub async fn create_private_message( FILE: crates/api/api_crud/src/private_message/delete.rs function delete_private_message (line 17) | pub async fn delete_private_message( FILE: crates/api/api_crud/src/private_message/update.rs function edit_private_message (line 24) | pub async fn edit_private_message( FILE: crates/api/api_crud/src/site/create.rs function create_site (line 49) | pub async fn create_site( function validate_create_payload (line 171) | fn validate_create_payload(local_site: &LocalSite, create_site: &CreateS... function test_validate_invalid_create_payload (line 219) | fn test_validate_invalid_create_payload() { function test_validate_valid_create_payload (line 334) | fn test_validate_valid_create_payload() { FILE: crates/api/api_crud/src/site/mod.rs function site_default_post_listing_type_check (line 9) | pub fn site_default_post_listing_type_check( function application_question_check (line 25) | pub fn application_question_check( function not_zero (line 43) | fn not_zero(val: Option) -> Option { function test_site_default_post_listing_type_check (line 57) | fn test_site_default_post_listing_type_check() { function test_application_question_check (line 65) | fn test_application_question_check() { function test_not_zero (line 118) | fn test_not_zero() { FILE: crates/api/api_crud/src/site/read.rs function get_site (line 20) | pub async fn get_site( function read_site (line 41) | async fn read_site(context: &LemmyContext) -> LemmyResult Vec { function create_local_user (line 504) | async fn create_local_user( function validate_registration_answer (line 550) | fn validate_registration_answer( function oauth_request_access_token (line 561) | async fn oauth_request_access_token( function oidc_get_user_info (line 601) | async fn oidc_get_user_info( function read_user_info (line 627) | fn read_user_info(user_info: &serde_json::Value, key: &str) -> LemmyResu... function check_code_verifier (line 637) | fn check_code_verifier(code_verifier: &str) -> LemmyResult<()> { function fetch_community_list (line 650) | fn fetch_community_list(context: Data) { function create_welcome_post (line 711) | fn create_welcome_post(local_user: LocalUser, context: &LemmyContext) { FILE: crates/api/api_crud/src/user/delete.rs function delete_account (line 19) | pub async fn delete_account( FILE: crates/api/api_crud/src/user/my_user.rs function get_my_user (line 22) | pub async fn get_my_user( FILE: crates/api/api_utils/src/build_response.rs function build_comment_response (line 14) | pub async fn build_comment_response( function build_community_response (line 31) | pub async fn build_community_response( function build_post_response (line 55) | pub async fn build_post_response( FILE: crates/api/api_utils/src/claims.rs type Claims (line 14) | pub struct Claims { method validate (line 26) | pub async fn validate(jwt: &str, context: &LemmyContext) -> LemmyResul... method generate (line 37) | pub async fn generate( function test_should_not_validate_user_token_after_password_change (line 99) | async fn test_should_not_validate_user_token_after_password_change() -> ... FILE: crates/api/api_utils/src/context.rs type LemmyContext (line 13) | pub struct LemmyContext { method create (line 24) | pub fn create( method pool (line 39) | pub fn pool(&self) -> DbPool<'_> { method inner_pool (line 42) | pub fn inner_pool(&self) -> &ActualDbPool { method client (line 45) | pub fn client(&self) -> &ClientWithMiddleware { method pictrs_client (line 48) | pub fn pictrs_client(&self) -> &ClientWithMiddleware { method settings (line 51) | pub fn settings(&self) -> &'static Settings { method secret (line 54) | pub fn secret(&self) -> &Secret { method rate_limit_cell (line 57) | pub fn rate_limit_cell(&self) -> &RateLimit { method init_test_federation_config (line 65) | pub async fn init_test_federation_config() -> FederationConfig Data { FILE: crates/api/api_utils/src/notify.rs type NotifyData (line 35) | pub struct NotifyData { method send (line 73) | pub fn send(self, context: &LemmyContext) { method send_internal (line 79) | pub async fn send_internal(self, context: LemmyContext) -> LemmyResult... method check_notifications_allowed (line 129) | async fn check_notifications_allowed( method content (line 163) | fn content(&self) -> String { method link (line 171) | fn link(&self, context: &LemmyContext) -> LemmyResult { method notify_parent_creator (line 179) | async fn notify_parent_creator<'a>( method notify_mentions (line 209) | async fn notify_mentions<'a>( method notify_subscribers (line 246) | async fn notify_subscribers<'a>( type CollectedNotifyData (line 47) | struct CollectedNotifyData<'a> { method eq (line 56) | fn eq(&self, other: &CollectedNotifyData<'_>) -> bool { method hash (line 62) | fn hash(&self, state: &mut H) { function notify_private_message (line 285) | pub fn notify_private_message(view: &PrivateMessageView, is_create: bool... function notify_private_message_internal (line 290) | async fn notify_private_message_internal( function notify_mod_action (line 323) | pub fn notify_mod_action(actions: Vec, context: &LemmyContext) { type Data (line 406) | struct Data { function init_data (line 417) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function insert_private_message (line 459) | async fn insert_private_message( function setup_private_messages (line 469) | async fn setup_private_messages(data: &Data, context: &LemmyContext) -> ... function cleanup (line 501) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function replies (line 510) | async fn replies() -> LemmyResult<()> { function mentions (line 606) | async fn mentions() -> LemmyResult<()> { function to_pm (line 737) | fn to_pm(x: NotificationView) -> Option { function read_private_messages (line 747) | async fn read_private_messages() -> LemmyResult<()> { function ensure_private_message_person_block (line 796) | async fn ensure_private_message_person_block() -> LemmyResult<()> { function ensure_private_message_instance_block (line 838) | async fn ensure_private_message_instance_block() -> LemmyResult<()> { function private_message_delete_by_recipient (line 884) | async fn private_message_delete_by_recipient() -> LemmyResult<()> { FILE: crates/api/api_utils/src/plugins.rs constant GET_PLUGIN_TIMEOUT (line 37) | const GET_PLUGIN_TIMEOUT: Duration = Duration::from_secs(1); function plugin_hook_after (line 40) | pub fn plugin_hook_after(name: &'static str, data: &T) function plugin_hook_notification (line 55) | pub async fn plugin_hook_notification( function plugin_get_captcha (line 73) | pub async fn plugin_get_captcha() -> LemmyResult { function plugin_validate_captcha (line 77) | pub async fn plugin_validate_captcha(answer: String, uuid: String) -> Le... function call_captcha_plugin (line 81) | async fn call_captcha_plugin< function is_captcha_plugin_loaded (line 106) | pub fn is_captcha_plugin_loaded() -> bool { function run_plugin_hook_after (line 110) | fn run_plugin_hook_after(name: &'static str, data: T) -> LemmyResult<()> function plugin_hook_before (line 127) | pub async fn plugin_hook_before(name: &'static str, data: T) -> Lemmy... function plugin_metadata (line 151) | pub fn plugin_metadata() -> Vec { type LemmyPlugins (line 190) | struct LemmyPlugins { method get_or_init (line 266) | fn get_or_init() -> Self { method function_exists (line 307) | fn function_exists(&self, name: &'static str) -> bool { type LemmyPlugin (line 196) | struct LemmyPlugin { method init (line 202) | fn init(settings: PluginSettings) -> LemmyResult { method get (line 250) | fn get(&self, name: &'static str) -> LemmyResult> { FILE: crates/api/api_utils/src/request.rs function client_builder (line 42) | pub fn client_builder(settings: &Settings) -> ClientBuilder { function fetch_link_metadata (line 60) | pub async fn fetch_link_metadata( function v4_is_invalid (line 166) | fn v4_is_invalid(v4: Ipv4Addr) -> bool { function v6_is_invalid (line 176) | fn v6_is_invalid(v6: Ipv6Addr) -> bool { function collect_bytes_until_limit (line 190) | async fn collect_bytes_until_limit( function generate_post_link_metadata (line 216) | pub async fn generate_post_link_metadata( function extract_opengraph_data (line 294) | fn extract_opengraph_data(html_bytes: &[u8], url: &Url) -> LemmyResult) -> ... function extract_opengraph_int_field (line 364) | fn extract_opengraph_int_field(ogo: &OpengraphObject, field: &str) -> Op... type PictrsResponse (line 370) | pub struct PictrsResponse { type PictrsFile (line 377) | pub struct PictrsFile { method image_url (line 383) | pub fn image_url(&self, protocol_and_hostname: &str) -> Result ImageDe... type PictrsPurgeResponse (line 418) | struct PictrsPurgeResponse { function purge_image_from_pictrs_url (line 428) | pub async fn purge_image_from_pictrs_url( function purge_image_from_pictrs (line 443) | pub async fn purge_image_from_pictrs(alias: &str, context: &LemmyContext... function delete_image_alias (line 482) | pub async fn delete_image_alias(alias: &str, context: &LemmyContext) -> ... function generate_pictrs_thumbnail (line 504) | async fn generate_pictrs_thumbnail( function fetch_pictrs_proxied_image_details (line 564) | pub async fn fetch_pictrs_proxied_image_details( function is_image_content_type (line 600) | async fn is_image_content_type(client: &ClientWithMiddleware, url: &Url)... function test_link_metadata (line 630) | async fn test_link_metadata() -> LemmyResult<()> { function test_resolve_image_url (line 659) | fn test_resolve_image_url() -> LemmyResult<()> { FILE: crates/api/api_utils/src/send_activity.rs type SendActivityData (line 33) | pub enum SendActivityData { type ActivityChannel (line 127) | pub struct ActivityChannel { method retrieve_activity (line 134) | pub async fn retrieve_activity() -> Option { method submit_activity (line 139) | pub fn submit_activity(data: SendActivityData, _context: &Data) -> LemmyR... FILE: crates/api/api_utils/src/utils.rs constant AUTH_COOKIE_NAME (line 71) | pub const AUTH_COOKIE_NAME: &str = "jwt"; function check_is_mod_or_admin (line 73) | pub async fn check_is_mod_or_admin( function check_is_mod_of_any_or_admin (line 93) | pub(crate) async fn check_is_mod_of_any_or_admin( function is_mod_or_admin (line 111) | pub async fn is_mod_or_admin( function is_mod_or_admin_opt (line 120) | pub async fn is_mod_or_admin_opt( function check_community_mod_of_any_or_admin_action (line 139) | pub async fn check_community_mod_of_any_or_admin_action( function is_admin (line 149) | pub fn is_admin(local_user_view: &LocalUserView) -> LemmyResult<()> { function is_top_mod (line 158) | pub fn is_top_mod( function update_read_comments (line 176) | pub async fn update_read_comments( function check_local_user_valid (line 188) | pub fn check_local_user_valid(local_user_view: &LocalUserView) -> LemmyR... function check_local_user_deleted (line 197) | pub fn check_local_user_deleted(local_user_view: &LocalUserView) -> Lemm... function check_email_verified (line 207) | pub fn check_email_verified( function check_registration_application (line 220) | pub async fn check_registration_application( function check_community_user_action (line 249) | pub async fn check_community_user_action( function check_community_deleted_removed (line 263) | pub fn check_community_deleted_removed(community: &Community) -> LemmyRe... function check_community_mod_action (line 274) | pub async fn check_community_mod_action( function check_post_deleted_or_removed (line 291) | pub fn check_post_deleted_or_removed(post: &Post) -> LemmyResult<()> { function check_comment_deleted_or_removed (line 299) | pub fn check_comment_deleted_or_removed(comment: &Comment) -> LemmyResul... function check_local_vote_mode (line 307) | pub async fn check_local_vote_mode( function check_bot_account (line 339) | pub fn check_bot_account(person: &Person) -> LemmyResult<()> { function check_private_instance (line 347) | pub fn check_private_instance( function check_private_messages_enabled (line 359) | pub fn check_private_messages_enabled(local_user_view: &LocalUserView) -... function password_length_check (line 368) | pub fn password_length_check(pass: &str) -> LemmyResult<()> { function honeypot_check (line 377) | pub fn honeypot_check(honeypot: &Option) -> LemmyResult<()> { function local_site_rate_limit_to_rate_limit_config (line 385) | pub fn local_site_rate_limit_to_rate_limit_config( function slur_regex (line 403) | pub async fn slur_regex(context: &LemmyContext) -> LemmyResult { function get_url_blocklist (line 424) | pub async fn get_url_blocklist(context: &LemmyContext) -> LemmyResult, local_site: Option<&LocalS... function read_site_for_actor (line 465) | pub async fn read_site_for_actor( function purge_post_images (line 474) | pub async fn purge_post_images( function delete_local_user_images (line 490) | fn delete_local_user_images(person_id: PersonId, context: &LemmyContext) { function remove_or_restore_user_data (line 507) | pub async fn remove_or_restore_user_data( function create_modlog_entries_for_removed_or_restored_posts (line 607) | async fn create_modlog_entries_for_removed_or_restored_posts( function create_modlog_entries_for_removed_or_restored_comments (line 634) | async fn create_modlog_entries_for_removed_or_restored_comments( function create_modlog_entries_for_removed_or_restored_comments_in_community (line 664) | async fn create_modlog_entries_for_removed_or_restored_comments_in_commu... function remove_or_restore_user_data_in_community (line 693) | pub async fn remove_or_restore_user_data_in_community( function purge_user_account (line 743) | pub async fn purge_user_account( function generate_followers_url (line 777) | pub fn generate_followers_url(ap_id: &DbUrl) -> Result { function generate_inbox_url (line 781) | pub fn generate_inbox_url() -> LemmyResult { function generate_outbox_url (line 786) | pub fn generate_outbox_url(ap_id: &DbUrl) -> Result { function generate_featured_url (line 790) | pub fn generate_featured_url(ap_id: &DbUrl) -> Result { function generate_moderators_url (line 794) | pub fn generate_moderators_url(community_id: &DbUrl) -> LemmyResult) -> LemmyResult) -> LemmyResult LemmyResult> { function send_webmention (line 984) | pub fn send_webmention(post: Post, community: &Community) { function check_comment_depth (line 1008) | pub fn check_comment_depth(comment: &Comment) -> LemmyResult<()> { function update_post_tags (line 1019) | pub async fn update_post_tags( function password_length (line 1050) | fn password_length() { function honeypot (line 1058) | fn honeypot() { function test_limit_ban_term (line 1066) | fn test_limit_ban_term() -> LemmyResult<()> { function test_proxy_image_link (line 1084) | async fn test_proxy_image_link() -> LemmyResult<()> { function test_comment_depth (line 1118) | fn test_comment_depth() -> LemmyResult<()> { FILE: crates/api/routes/src/lib.rs function config (line 191) | pub fn config(cfg: &mut ServiceConfig, rate_limit: &RateLimit) { FILE: crates/api/routes_v3/src/convert.rs function convert_local_user_view2 (line 97) | pub(crate) fn convert_local_user_view2(local_user_view: LocalUserView) -... function convert_local_user (line 117) | pub(crate) fn convert_local_user(local_user: LocalUser) -> LocalUserV3 { function convert_community_view (line 171) | pub(crate) fn convert_community_view(community_view: CommunityView) -> C... function convert_subscribed_type (line 202) | fn convert_subscribed_type(state: Option) -> Sub... function convert_post_view (line 212) | pub(crate) fn convert_post_view(post_view: PostView) -> PostViewV3 { function convert_comment_view (line 249) | pub(crate) fn convert_comment_view(comment_view: CommentView) -> Comment... function convert_comment (line 283) | pub(crate) fn convert_comment(comment: Comment) -> (CommentV3, CommentAg... function convert_my_user (line 336) | pub(crate) fn convert_my_user(my_user: Option) -> Option (PersonV3, PersonAggrega... function convert_community (line 413) | pub(crate) fn convert_community(community: Community) -> CommunityV3 { function convert_post (line 463) | pub(crate) fn convert_post(post: Post) -> (PostV3, PostAggregates) { function convert_site_view (line 548) | pub(crate) fn convert_site_view(site_view: SiteView) -> SiteViewV3 { function convert_site (line 572) | pub(crate) fn convert_site(site: Site) -> SiteV3 { function convert_db_url (line 607) | pub(crate) fn convert_db_url(db_url: DbUrl) -> DbUrlV3 { function convert_local_site (line 612) | pub(crate) fn convert_local_site(local_site: LocalSite) -> LocalSiteV3 { function dummy_local_site_rate_limit (line 667) | fn dummy_local_site_rate_limit() -> LocalSiteRateLimitV3 { function convert_person_view (line 689) | pub(crate) fn convert_person_view(person_view: PersonView) -> PersonView... function convert_sensitive (line 699) | pub(crate) fn convert_sensitive(s: SensitiveString) -> SensitiveStringV3 { function convert_score (line 703) | pub(crate) fn convert_score(score: i16) -> Option { function convert_search_response (line 712) | pub(crate) fn convert_search_response( function convert_post_listing_sort (line 735) | pub(crate) fn convert_post_listing_sort( function convert_comment_listing_sort (line 772) | pub(crate) fn convert_comment_listing_sort(sort_type: CommentSortTypeV3)... function convert_community_listing_sort (line 782) | pub(crate) fn convert_community_listing_sort( function convert_listing_type (line 819) | pub(crate) fn convert_listing_type(listing_type: ListingTypeV3) -> Listi... function convert_post_response (line 827) | pub(crate) fn convert_post_response(res: Json) -> LemmyRes... function convert_comment_response (line 832) | pub(crate) fn convert_comment_response( function convert_language_ids (line 841) | pub(crate) fn convert_language_ids(data: Vec) -> Vec LemmyResult<... FILE: crates/api/routes_v3/src/handlers.rs function get_post_v3 (line 141) | pub(crate) async fn get_post_v3( function list_posts_v3 (line 159) | pub(crate) async fn list_posts_v3( function list_comments_v3 (line 197) | pub(crate) async fn list_comments_v3( function logout_v3 (line 234) | pub(crate) async fn logout_v3( function get_site_v3 (line 242) | pub(crate) async fn get_site_v3( function login_v3 (line 298) | pub(crate) async fn login_v3( function like_comment_v3 (line 307) | pub(crate) async fn like_comment_v3( function like_post_v3 (line 321) | pub(crate) async fn like_post_v3( function create_comment_v3 (line 335) | pub(crate) async fn create_comment_v3( function create_post_v3 (line 344) | pub(crate) async fn create_post_v3( function search_v3 (line 377) | pub(crate) async fn search_v3( function resolve_object_v3 (line 403) | pub(crate) async fn resolve_object_v3( function save_post_v3 (line 418) | pub(crate) async fn save_post_v3( function save_comment_v3 (line 427) | pub(crate) async fn save_comment_v3( function unread_count_v3 (line 436) | pub async fn unread_count_v3( function mark_all_notifications_read_v3 (line 448) | pub async fn mark_all_notifications_read_v3( function create_post_report_v3 (line 456) | pub async fn create_post_report_v3( function create_comment_report_v3 (line 502) | pub async fn create_comment_report_v3( function get_community_v3 (line 544) | pub(crate) async fn get_community_v3( function follow_community_v3 (line 565) | pub(crate) async fn follow_community_v3( function block_community_v3 (line 577) | pub(crate) async fn block_community_v3( function delete_post_v3 (line 592) | pub(crate) async fn delete_post_v3( function update_post_v3 (line 600) | pub(crate) async fn update_post_v3( function delete_comment_v3 (line 608) | pub(crate) async fn delete_comment_v3( function update_comment_v3 (line 616) | pub(crate) async fn update_comment_v3( function list_communities_v3 (line 624) | pub(crate) async fn list_communities_v3( function register_v3 (line 653) | pub(crate) async fn register_v3( function block_person_v3 (line 662) | pub(crate) async fn block_person_v3( FILE: crates/api/routes_v3/src/lib.rs function config (line 38) | pub fn config(cfg: &mut ServiceConfig, rate_limit: &RateLimit) { FILE: crates/apub/activities/src/activity_lists.rs type SharedInboxActivities (line 41) | pub enum SharedInboxActivities { type AnnouncableActivities (line 56) | pub enum AnnouncableActivities { method community (line 77) | async fn community(&self, context: &Data) -> LemmyResult LemmyResult<()> { FILE: crates/apub/activities/src/block/block_user.rs method new (line 40) | pub(in crate::block) async fn new( method send (line 65) | pub async fn send( type DataType (line 101) | type DataType = LemmyContext; type Error (line 102) | type Error = LemmyError; method id (line 104) | fn id(&self) -> &Url { method actor (line 108) | fn actor(&self) -> &Url { method verify (line 112) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 126) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/block/mod.rs type SiteOrCommunity (line 22) | pub type SiteOrCommunity = Either; function generate_cc (line 24) | async fn generate_cc(target: &SiteOrCommunity, pool: &mut DbPool<'_>) ->... function send_ban_from_site (line 35) | pub(crate) async fn send_ban_from_site( function send_ban_from_community (line 71) | pub(crate) async fn send_ban_from_community( function to (line 107) | fn to(target: &SiteOrCommunity) -> LemmyResult> { function update_removed_for_instance (line 117) | async fn update_removed_for_instance( FILE: crates/apub/activities/src/block/undo_block_user.rs method send (line 39) | pub async fn send( type DataType (line 78) | type DataType = LemmyContext; type Error (line 79) | type Error = LemmyError; method id (line 81) | fn id(&self) -> &Url { method actor (line 85) | fn actor(&self) -> &Url { method verify (line 89) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 95) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/community/announce.rs type DataType (line 31) | type DataType = LemmyContext; type Error (line 32) | type Error = LemmyError; method id (line 34) | fn id(&self) -> &Url { method actor (line 38) | fn actor(&self) -> &Url { method verify (line 42) | async fn verify(&self, _data: &Data) -> Result<(), Self:... method receive (line 46) | async fn receive(self, context: &Data) -> Result<(), Sel... method id (line 76) | fn id(&self) -> &Url { method new (line 82) | pub fn new( method send (line 109) | pub async fn send( type DataType (line 141) | type DataType = LemmyContext; type Error (line 142) | type Error = LemmyError; method id (line 144) | fn id(&self) -> &Url { method actor (line 148) | fn actor(&self) -> &Url { method verify (line 152) | async fn verify(&self, _context: &Data) -> LemmyResult<(... method receive (line 156) | async fn receive(self, context: &Data) -> LemmyResult<()> { type Error (line 175) | type Error = serde_json::error::Error; method try_from (line 177) | fn try_from(value: RawAnnouncableActivities) -> Result { type Error (line 186) | type Error = serde_json::error::Error; method try_from (line 188) | fn try_from(value: AnnouncableActivities) -> Result { function can_accept_activity_in_community (line 199) | async fn can_accept_activity_in_community( FILE: crates/apub/activities/src/community/collection_add.rs method send_add_mod (line 43) | async fn send_add_mod( method send_add_featured_post (line 66) | async fn send_add_featured_post( type DataType (line 98) | type DataType = LemmyContext; type Error (line 99) | type Error = LemmyError; method id (line 101) | fn id(&self) -> &Url { method actor (line 105) | fn actor(&self) -> &Url { method verify (line 109) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 117) | async fn receive(self, context: &Data) -> LemmyResult<()> { function send_add_mod_to_community (line 160) | pub(crate) async fn send_add_mod_to_community( function send_feature_post (line 181) | pub(crate) async fn send_feature_post( FILE: crates/apub/activities/src/community/collection_remove.rs method send_remove_mod (line 40) | pub(super) async fn send_remove_mod( method send_remove_featured_post (line 63) | pub(super) async fn send_remove_featured_post( type DataType (line 95) | type DataType = LemmyContext; type Error (line 96) | type Error = LemmyError; method id (line 98) | fn id(&self) -> &Url { method actor (line 102) | fn actor(&self) -> &Url { method verify (line 106) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 114) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/community/lock.rs type DataType (line 37) | type DataType = LemmyContext; type Error (line 38) | type Error = LemmyError; method id (line 40) | fn id(&self) -> &Url { method actor (line 44) | fn actor(&self) -> &Url { method verify (line 48) | async fn verify(&self, context: &Data) -> Result<(), Sel... method receive (line 56) | async fn receive(self, context: &Data) -> Result<(), Sel... type DataType (line 93) | type DataType = LemmyContext; type Error (line 94) | type Error = LemmyError; method id (line 96) | fn id(&self) -> &Url { method actor (line 100) | fn actor(&self) -> &Url { method verify (line 104) | async fn verify(&self, context: &Data) -> Result<(), Sel... method receive (line 112) | async fn receive(self, context: &Data) -> Result<(), Sel... function send_lock (line 150) | pub(crate) async fn send_lock( FILE: crates/apub/activities/src/community/mod.rs function send_activity_in_community (line 51) | pub(crate) async fn send_activity_in_community( function report_inboxes (line 84) | async fn report_inboxes( function local_community (line 126) | fn local_community(site_or_community: &Either) ... function verify_mod_or_admin_action (line 130) | async fn verify_mod_or_admin_action( FILE: crates/apub/activities/src/community/report.rs method new (line 52) | pub(crate) fn new( method send (line 73) | pub(crate) async fn send( type DataType (line 89) | type DataType = LemmyContext; type Error (line 90) | type Error = LemmyError; method id (line 92) | fn id(&self) -> &Url { method actor (line 96) | fn actor(&self) -> &Url { method verify (line 100) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 128) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/community/resolve_report.rs method send (line 42) | pub(crate) async fn send( type DataType (line 68) | type DataType = LemmyContext; type Error (line 69) | type Error = LemmyError; method id (line 71) | fn id(&self) -> &Url { method actor (line 75) | fn actor(&self) -> &Url { method verify (line 79) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 88) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/community/update.rs function send_update_community (line 32) | pub(crate) async fn send_update_community( function send_update_multi_community (line 62) | pub(crate) async fn send_update_multi_community( type DataType (line 88) | type DataType = LemmyContext; type Error (line 89) | type Error = LemmyError; method id (line 91) | fn id(&self) -> &Url { method actor (line 95) | fn actor(&self) -> &Url { method verify (line 99) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 113) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/create_or_update/comment.rs method send (line 43) | pub(crate) async fn send( type DataType (line 85) | type DataType = LemmyContext; type Error (line 86) | type Error = LemmyError; method id (line 88) | fn id(&self) -> &Url { method actor (line 92) | fn actor(&self) -> &Url { method verify (line 96) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 111) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/create_or_update/mod.rs function tagged_user_inboxes (line 14) | async fn tagged_user_inboxes( function parse_apub_mentions (line 28) | async fn parse_apub_mentions( FILE: crates/apub/activities/src/create_or_update/note_wrapper.rs type DataType (line 18) | type DataType = LemmyContext; type Error (line 19) | type Error = LemmyError; method id (line 21) | fn id(&self) -> &Url { method actor (line 25) | fn actor(&self) -> &Url { method verify (line 29) | async fn verify(&self, _context: &Data) -> LemmyResult<(... method receive (line 34) | async fn receive(self, context: &Data) -> LemmyResult<()> { method community (line 60) | async fn community(&self, context: &Data) -> LemmyResult &Url { method actor (line 91) | fn actor(&self) -> &Url { method verify (line 95) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 104) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/create_or_update/private_message.rs function send_create_or_update_pm (line 19) | pub(crate) async fn send_create_or_update_pm( type DataType (line 43) | type DataType = LemmyContext; type Error (line 44) | type Error = LemmyError; method id (line 46) | fn id(&self) -> &Url { method actor (line 50) | fn actor(&self) -> &Url { method verify (line 54) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 63) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/deletion/delete.rs type DataType (line 29) | type DataType = LemmyContext; type Error (line 30) | type Error = LemmyError; method id (line 32) | fn id(&self) -> &Url { method actor (line 36) | fn actor(&self) -> &Url { method verify (line 40) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 45) | async fn receive(self, context: &Data) -> LemmyResult<()> { method new (line 76) | pub(in crate::deletion) fn new( function receive_remove_action (line 102) | pub(crate) async fn receive_remove_action( FILE: crates/apub/activities/src/deletion/mod.rs function send_apub_delete_in_community (line 56) | pub(crate) async fn send_apub_delete_in_community( function send_apub_delete_private_message (line 106) | pub(crate) async fn send_apub_delete_private_message( function send_apub_delete_user (line 145) | pub async fn send_apub_delete_user( type DeletableObjects (line 170) | pub enum DeletableObjects { method read_from_db (line 179) | pub(crate) async fn read_from_db( method id (line 201) | pub(crate) fn id(&self) -> &Url { function verify_delete_activity (line 212) | pub(crate) async fn verify_delete_activity( function verify_delete_post_or_comment (line 266) | async fn verify_delete_post_or_comment( function receive_delete_action (line 285) | async fn receive_delete_action( FILE: crates/apub/activities/src/deletion/undo_delete.rs type DataType (line 22) | type DataType = LemmyContext; type Error (line 23) | type Error = LemmyError; method id (line 25) | fn id(&self) -> &Url { method actor (line 29) | fn actor(&self) -> &Url { method verify (line 33) | async fn verify(&self, data: &Data) -> Result<(), Self::... method receive (line 39) | async fn receive(self, context: &Data) -> LemmyResult<()> { method new (line 56) | pub(in crate::deletion) fn new( method receive_undo_remove_action (line 88) | pub(crate) async fn receive_undo_remove_action( FILE: crates/apub/activities/src/following/accept.rs method send (line 22) | pub async fn send(follow: Follow, context: &Data) -> Lemmy... type DataType (line 40) | type DataType = LemmyContext; type Error (line 41) | type Error = LemmyError; method id (line 43) | fn id(&self) -> &Url { method actor (line 47) | fn actor(&self) -> &Url { method verify (line 51) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 60) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/following/follow.rs method new (line 33) | pub(in crate::following) fn new( method send (line 47) | pub async fn send( type DataType (line 60) | type DataType = LemmyContext; type Error (line 61) | type Error = LemmyError; method id (line 63) | fn id(&self) -> &Url { method actor (line 67) | fn actor(&self) -> &Url { method verify (line 71) | async fn verify(&self, _context: &Data) -> LemmyResult<()> { method receive (line 78) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/following/mod.rs function send_follow (line 26) | pub async fn send_follow( function send_accept_or_reject_follow (line 40) | pub async fn send_accept_or_reject_follow( function send_activity_from_user_or_community_or_multi (line 64) | async fn send_activity_from_user_or_community_or_multi( FILE: crates/apub/activities/src/following/reject.rs method send (line 22) | pub async fn send(follow: Follow, context: &Data) -> Lemmy... type DataType (line 40) | type DataType = LemmyContext; type Error (line 41) | type Error = LemmyError; method id (line 43) | fn id(&self) -> &Url { method actor (line 47) | fn actor(&self) -> &Url { method verify (line 51) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 60) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/following/undo_follow.rs method send (line 31) | pub async fn send( type DataType (line 51) | type DataType = LemmyContext; type Error (line 52) | type Error = LemmyError; method id (line 54) | fn id(&self) -> &Url { method actor (line 58) | fn actor(&self) -> &Url { method verify (line 62) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 71) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/lib.rs constant MOD_ACTION_DEFAULT_REASON (line 62) | const MOD_ACTION_DEFAULT_REASON: &str = "No reason provided"; function verify_person (line 66) | async fn verify_person( function check_community_deleted_or_removed (line 75) | pub(crate) fn check_community_deleted_or_removed(community: &Community) ... function generate_activity_id (line 85) | fn generate_activity_id(kind: T, context: &LemmyContext) -> Result( function handle_outgoing_activities (line 145) | pub async fn handle_outgoing_activities(context: Data) { function match_outgoing_activities (line 153) | pub async fn match_outgoing_activities( function post_or_comment_community (line 391) | pub(crate) async fn post_or_comment_community( FILE: crates/apub/activities/src/protocol/block/block_user.rs type BlockUser (line 23) | pub struct BlockUser { method community (line 45) | async fn community(&self, context: &Data) -> LemmyResult LemmyResult<()> { FILE: crates/apub/activities/src/protocol/block/undo_block_user.rs type UndoBlockUser (line 15) | pub struct UndoBlockUser { FILE: crates/apub/activities/src/protocol/community/announce.rs type AnnounceActivity (line 14) | pub struct AnnounceActivity { type RawAnnouncableActivities (line 29) | pub struct RawAnnouncableActivities { FILE: crates/apub/activities/src/protocol/community/collection_add.rs type CollectionAdd (line 19) | pub struct CollectionAdd { method community (line 34) | async fn community(&self, context: &Data) -> LemmyResult) -> LemmyResult) -> LemmyResult LemmyResult<()> { FILE: crates/apub/activities/src/protocol/community/report.rs type Report (line 19) | pub struct Report { method reason (line 35) | pub fn reason(&self) -> LemmyResult { type ReportObject (line 46) | pub(crate) enum ReportObject { method dereference (line 53) | pub(crate) async fn dereference( method object_id (line 73) | pub(crate) async fn object_id( method community (line 96) | async fn community(&self, context: &Data) -> LemmyResult) -> LemmyResult LemmyResult<()> { FILE: crates/apub/activities/src/protocol/create_or_update/note.rs type CreateOrUpdateNote (line 21) | pub struct CreateOrUpdateNote { method community (line 37) | async fn community(&self, context: &Data) -> LemmyResult) -> LemmyResult) -> LemmyResult LemmyResult<()> { FILE: crates/apub/activities/src/protocol/deletion/undo_delete.rs type UndoDelete (line 15) | pub struct UndoDelete { FILE: crates/apub/activities/src/protocol/following/accept.rs type AcceptFollow (line 13) | pub struct AcceptFollow { FILE: crates/apub/activities/src/protocol/following/follow.rs type Follow (line 12) | pub struct Follow { FILE: crates/apub/activities/src/protocol/following/mod.rs function test_parse_lemmy_accept_follow (line 13) | fn test_parse_lemmy_accept_follow() -> LemmyResult<()> { FILE: crates/apub/activities/src/protocol/following/reject.rs type RejectFollow (line 13) | pub struct RejectFollow { FILE: crates/apub/activities/src/protocol/following/undo_follow.rs type UndoFollow (line 13) | pub struct UndoFollow { FILE: crates/apub/activities/src/protocol/mod.rs type CreateOrUpdateType (line 17) | pub enum CreateOrUpdateType { type IdOrNestedObject (line 24) | pub enum IdOrNestedObject { function id (line 30) | pub(crate) fn id(&self) -> &Url { function object (line 36) | pub async fn object(self, context: &Data) -> LemmyResult LemmyResult<()> { function test_parse_pleroma_activities (line 64) | fn test_parse_pleroma_activities() -> LemmyResult<()> { function test_parse_mastodon_activities (line 72) | fn test_parse_mastodon_activities() -> LemmyResult<()> { function test_parse_lotide_activities (line 84) | fn test_parse_lotide_activities() -> LemmyResult<()> { function test_parse_friendica_activities (line 93) | fn test_parse_friendica_activities() -> LemmyResult<()> { function test_parse_gnusocial_activities (line 106) | fn test_parse_gnusocial_activities() -> LemmyResult<()> { function test_parse_peertube_activities (line 114) | fn test_parse_peertube_activities() -> LemmyResult<()> { function test_parse_mbin_activities (line 120) | fn test_parse_mbin_activities() -> LemmyResult<()> { function test_parse_wordpress_activities (line 127) | fn test_parse_wordpress_activities() -> LemmyResult<()> { FILE: crates/apub/activities/src/protocol/voting/mod.rs function test_parse_lemmy_voting (line 11) | fn test_parse_lemmy_voting() -> LemmyResult<()> { FILE: crates/apub/activities/src/protocol/voting/undo_vote.rs type UndoVote (line 9) | pub struct UndoVote { FILE: crates/apub/activities/src/protocol/voting/vote.rs type Vote (line 15) | pub struct Vote { type VoteType (line 25) | pub enum VoteType { method from (line 31) | fn from(value: bool) -> Self { function from (line 41) | fn from(value: &VoteType) -> Self { method community (line 47) | async fn community(&self, context: &Data) -> LemmyResult &Url { method actor (line 47) | fn actor(&self) -> &Url { method verify (line 51) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 60) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/activities/src/voting/vote.rs method new (line 23) | pub(in crate::voting) fn new( type DataType (line 42) | type DataType = LemmyContext; type Error (line 43) | type Error = LemmyError; method id (line 45) | fn id(&self) -> &Url { method actor (line 49) | fn actor(&self) -> &Url { method verify (line 53) | async fn verify(&self, context: &Data) -> LemmyResult<()> { method receive (line 60) | async fn receive(self, context: &Data) -> LemmyResult<()> { FILE: crates/apub/apub/src/collections/community_featured.rs type ApubCommunityFeatured (line 19) | pub(crate) struct ApubCommunityFeatured(()); type Owner (line 23) | type Owner = ApubCommunity; type DataType (line 24) | type DataType = LemmyContext; type Kind (line 25) | type Kind = GroupFeatured; type Error (line 26) | type Error = LemmyError; method read_local (line 28) | async fn read_local( method verify (line 48) | async fn verify( method from_json (line 57) | async fn from_json( FILE: crates/apub/apub/src/collections/community_follower.rs type ApubCommunityFollower (line 16) | pub(crate) struct ApubCommunityFollower(()); type Owner (line 20) | type Owner = ApubCommunity; type DataType (line 21) | type DataType = LemmyContext; type Kind (line 22) | type Kind = GroupFollowers; type Error (line 23) | type Error = LemmyError; method read_local (line 25) | async fn read_local( method verify (line 41) | async fn verify( method from_json (line 50) | async fn from_json( FILE: crates/apub/apub/src/collections/community_moderators.rs type ApubCommunityModerators (line 17) | pub(crate) struct ApubCommunityModerators(()); type Owner (line 21) | type Owner = ApubCommunity; type DataType (line 22) | type DataType = LemmyContext; type Kind (line 23) | type Kind = GroupModerators; type Error (line 24) | type Error = LemmyError; method read_local (line 26) | async fn read_local(owner: &Self::Owner, data: &Data) ->... method verify (line 39) | async fn verify( method from_json (line 48) | async fn from_json( function handle_community_moderators (line 60) | pub(super) async fn handle_community_moderators( function test_parse_lemmy_community_moderators (line 118) | async fn test_parse_lemmy_community_moderators() -> LemmyResult<()> { FILE: crates/apub/apub/src/collections/community_outbox.rs type ApubCommunityOutbox (line 27) | pub(crate) struct ApubCommunityOutbox(()); type Owner (line 31) | type Owner = ApubCommunity; type DataType (line 32) | type DataType = LemmyContext; type Kind (line 33) | type Kind = GroupOutbox; type Error (line 34) | type Error = LemmyError; method read_local (line 36) | async fn read_local(owner: &Self::Owner, data: &Data) ->... method verify (line 82) | async fn verify( method from_json (line 91) | async fn from_json( FILE: crates/apub/apub/src/collections/mod.rs function fetch_community_collections (line 30) | pub fn fetch_community_collections( method new_response (line 70) | pub(crate) async fn new_response( method new_empty_response (line 88) | pub(crate) fn new_empty_response(id: String) -> LemmyResult { FILE: crates/apub/apub/src/http/comment.rs type CommentQuery (line 19) | pub(crate) struct CommentQuery { function get_comment (line 23) | async fn get_comment( function get_apub_comment (line 38) | pub(crate) async fn get_apub_comment( function get_apub_comment_context (line 47) | pub(crate) async fn get_apub_comment_context( FILE: crates/apub/apub/src/http/community.rs type CommunityPath (line 45) | pub(crate) struct CommunityPath { type CommunityIsFollowerQuery (line 50) | pub(crate) struct CommunityIsFollowerQuery { function get_apub_community_http (line 55) | pub(crate) async fn get_apub_community_http( function get_apub_community_followers (line 71) | pub(crate) async fn get_apub_community_followers( function check_is_follower (line 89) | async fn check_is_follower( function get_apub_community_outbox (line 124) | pub(crate) async fn get_apub_community_outbox( function get_apub_community_moderators (line 139) | pub(crate) async fn get_apub_community_moderators( function get_apub_community_featured (line 154) | pub(crate) async fn get_apub_community_featured( type MultiCommunityQuery (line 170) | pub(crate) struct MultiCommunityQuery { function get_apub_person_multi_community (line 174) | pub(crate) async fn get_apub_person_multi_community( function get_apub_person_multi_community_follows (line 187) | pub(crate) async fn get_apub_person_multi_community_follows( type CommunityTagPath (line 201) | pub(crate) struct CommunityTagPath { function get_apub_community_tag_http (line 207) | pub(crate) async fn get_apub_community_tag_http( function init (line 249) | async fn init( function decode_response (line 275) | async fn decode_response(res: HttpResponse) -> Lemm... function test_get_community (line 283) | async fn test_get_community() -> LemmyResult<()> { function test_get_deleted_community (line 322) | async fn test_get_deleted_community() -> LemmyResult<()> { function test_get_local_only_community (line 352) | async fn test_get_local_only_community() -> LemmyResult<()> { function test_outbox_deleted_user (line 378) | async fn test_outbox_deleted_user() -> LemmyResult<()> { FILE: crates/apub/apub/src/http/mod.rs constant INCOMING_ACTIVITY_TIMEOUT (line 42) | const INCOMING_ACTIVITY_TIMEOUT: Duration = Duration::from_secs(9); function shared_inbox (line 44) | pub async fn shared_inbox( type Dummy (line 62) | struct Dummy; method hook (line 65) | async fn hook( type ActivityQuery (line 88) | struct ActivityQuery { function get_activity (line 94) | async fn get_activity( function check_community_fetchable (line 117) | fn check_community_fetchable(community: &Community) -> LemmyResult<()> { function check_community_content_fetchable (line 125) | async fn check_community_content_fetchable( function get_instance_id (line 162) | pub(in crate::http) fn get_instance_id(s: &SiteOrMultiOrCommunityOrUser)... FILE: crates/apub/apub/src/http/person.rs type PersonQuery (line 14) | pub(crate) struct PersonQuery { function get_apub_person_http (line 19) | pub(crate) async fn get_apub_person_http( function get_apub_person_outbox (line 33) | pub(crate) async fn get_apub_person_outbox( FILE: crates/apub/apub/src/http/post.rs type PostQuery (line 19) | pub(crate) struct PostQuery { function get_post (line 23) | async fn get_post( function get_apub_post (line 39) | pub(crate) async fn get_apub_post( function get_apub_post_context (line 48) | pub(crate) async fn get_apub_post_context( FILE: crates/apub/apub/src/http/routes.rs function config (line 25) | pub fn config(cfg: &mut web::ServiceConfig) { type InboxRequestGuard (line 88) | struct InboxRequestGuard; method check (line 91) | fn check(&self, ctx: &GuardContext) -> bool { FILE: crates/apub/apub/src/http/site.rs function get_apub_site_http (line 9) | pub(crate) async fn get_apub_site_http(context: Data) -> L... function get_apub_site_outbox (line 15) | pub(crate) async fn get_apub_site_outbox(context: Data) ->... FILE: crates/apub/apub/src/lib.rs constant FEDERATION_HTTP_FETCH_LIMIT (line 17) | pub const FEDERATION_HTTP_FETCH_LIMIT: u32 = 100; type VerifyUrlData (line 20) | pub struct VerifyUrlData(pub ActualDbPool); method verify (line 24) | async fn verify(&self, url: &Url) -> Result<(), ActivityPubError> { function is_new_instance (line 51) | async fn is_new_instance(context: &LemmyContext) -> LemmyResult { FILE: crates/apub/apub/src/protocol/collections/group_featured.rs type GroupFeatured (line 8) | pub struct GroupFeatured { FILE: crates/apub/apub/src/protocol/collections/group_followers.rs type GroupFollowers (line 7) | pub(crate) struct GroupFollowers { FILE: crates/apub/apub/src/protocol/collections/group_moderators.rs type GroupModerators (line 11) | pub struct GroupModerators { FILE: crates/apub/apub/src/protocol/collections/group_outbox.rs type GroupOutbox (line 8) | pub struct GroupOutbox { FILE: crates/apub/apub/src/protocol/collections/mod.rs function test_parse_lemmy_collections (line 22) | fn test_parse_lemmy_collections() -> LemmyResult<()> { function test_parse_mastodon_collections (line 34) | fn test_parse_mastodon_collections() -> LemmyResult<()> { FILE: crates/apub/apub/src/protocol/collections/url_collection.rs type UrlCollection (line 7) | pub(crate) struct UrlCollection { FILE: crates/apub/objects/src/objects/comment.rs type ApubComment (line 55) | pub struct ApubComment(pub Comment); method from (line 65) | fn from(c: Comment) -> Self { type Target (line 58) | type Target = Comment; method deref (line 59) | fn deref(&self) -> &Self::Target { type DataType (line 72) | type DataType = LemmyContext; type Kind (line 73) | type Kind = Note; type Error (line 74) | type Error = LemmyError; method id (line 76) | fn id(&self) -> &Url { method read_from_id (line 80) | async fn read_from_id( method delete (line 91) | async fn delete(&self, context: &Data) -> LemmyResult<()> { method is_deleted (line 102) | fn is_deleted(&self) -> bool { method into_json (line 106) | async fn into_json(self, context: &Data) -> LemmyResult<... method verify (line 153) | async fn verify( method from_json (line 199) | async fn from_json(note: Note, context: &Data) -> LemmyRes... function prepare_comment_test (line 264) | async fn prepare_comment_test( function test_parse_lemmy_comment (line 280) | pub(crate) async fn test_parse_lemmy_comment() -> LemmyResult<()> { function test_parse_pleroma_comment (line 305) | async fn test_parse_pleroma_comment() -> LemmyResult<()> { function test_html_to_markdown_sanitize (line 332) | async fn test_html_to_markdown_sanitize() { FILE: crates/apub/objects/src/objects/community.rs type ApubCommunity (line 59) | pub struct ApubCommunity(pub Community); method from (line 69) | fn from(c: Community) -> Self { type Target (line 62) | type Target = Community; method deref (line 63) | fn deref(&self) -> &Self::Target { type DataType (line 76) | type DataType = LemmyContext; type Kind (line 77) | type Kind = Group; type Error (line 78) | type Error = LemmyError; method id (line 80) | fn id(&self) -> &Url { method last_refreshed_at (line 84) | fn last_refreshed_at(&self) -> Option> { method read_from_id (line 88) | async fn read_from_id( method delete (line 99) | async fn delete(&self, context: &Data) -> LemmyResult<()> { method is_deleted (line 108) | fn is_deleted(&self) -> bool { method into_json (line 112) | async fn into_json(self, data: &Data) -> LemmyResult) -> Lemm... method public_key_pem (line 270) | fn public_key_pem(&self) -> &str { method private_key_pem (line 274) | fn private_key_pem(&self) -> Option { method inbox (line 278) | fn inbox(&self) -> Url { method shared_inbox (line 282) | fn shared_inbox(&self) -> Option { method actor_type (line 288) | fn actor_type(&self) -> ActorType { function test_parse_lemmy_community (line 303) | async fn test_parse_lemmy_community() -> LemmyResult<()> { FILE: crates/apub/objects/src/objects/instance.rs type ApubSite (line 45) | pub struct ApubSite(pub Site); method from (line 55) | fn from(s: Site) -> Self { type Target (line 48) | type Target = Site; method deref (line 49) | fn deref(&self) -> &Self::Target { type DataType (line 62) | type DataType = LemmyContext; type Kind (line 63) | type Kind = Instance; type Error (line 64) | type Error = LemmyError; method id (line 66) | fn id(&self) -> &Url { method last_refreshed_at (line 70) | fn last_refreshed_at(&self) -> Option> { method read_from_id (line 74) | async fn read_from_id(object_id: Url, data: &Data) -> Le... method delete (line 82) | async fn delete(&self, _data: &Data) -> LemmyResult<()> { method into_json (line 86) | async fn into_json(self, data: &Data) -> LemmyResult) -> ... method public_key_pem (line 171) | fn public_key_pem(&self) -> &str { method private_key_pem (line 175) | fn private_key_pem(&self) -> Option { method inbox (line 179) | fn inbox(&self) -> Url { method actor_type (line 184) | fn actor_type(&self) -> ActorType { function fetch_instance_actor_for_object (line 190) | pub(crate) async fn fetch_instance_actor_for_object + Clone>( function test_parse_lemmy_instance (line 226) | async fn test_parse_lemmy_instance() -> LemmyResult<()> { FILE: crates/apub/objects/src/objects/mod.rs type PostOrComment (line 20) | pub type PostOrComment = Either; type SearchableObjects (line 22) | pub type SearchableObjects = Either; type UserOrCommunity (line 26) | pub type UserOrCommunity = Either; type SiteOrMultiOrCommunityOrUser (line 28) | pub type SiteOrMultiOrCommunityOrUser = type CommunityOrMulti (line 31) | pub type CommunityOrMulti = Either; type UserOrCommunityOrMulti (line 33) | pub type UserOrCommunityOrMulti = Either; FILE: crates/apub/objects/src/objects/multi_community.rs type ApubMultiCommunity (line 55) | pub struct ApubMultiCommunity(MultiCommunity); method from (line 66) | fn from(m: MultiCommunity) -> Self { type Target (line 58) | type Target = MultiCommunity; method deref (line 60) | fn deref(&self) -> &Self::Target { type DataType (line 73) | type DataType = LemmyContext; type Kind (line 74) | type Kind = Feed; type Error (line 75) | type Error = LemmyError; method id (line 77) | fn id(&self) -> &Url { method last_refreshed_at (line 81) | fn last_refreshed_at(&self) -> Option> { method read_from_id (line 85) | async fn read_from_id( method delete (line 96) | async fn delete(&self, _context: &Data) -> LemmyResult<(... method is_deleted (line 100) | fn is_deleted(&self) -> bool { method into_json (line 104) | async fn into_json(self, context: &Data) -> LemmyResult<... method verify (line 125) | async fn verify( method from_json (line 137) | async fn from_json(json: Self::Kind, context: &Data) -> Le... method public_key_pem (line 194) | fn public_key_pem(&self) -> &str { method private_key_pem (line 198) | fn private_key_pem(&self) -> Option { method inbox (line 202) | fn inbox(&self) -> Url { method shared_inbox (line 206) | fn shared_inbox(&self) -> Option { method actor_type (line 212) | fn actor_type(&self) -> ActorType { FILE: crates/apub/objects/src/objects/multi_community_collection.rs type ApubFeedCollection (line 27) | pub struct ApubFeedCollection; type DataType (line 31) | type DataType = LemmyContext; type Kind (line 32) | type Kind = FeedCollection; type Owner (line 33) | type Owner = ApubMultiCommunity; type Error (line 34) | type Error = LemmyError; method read_local (line 36) | async fn read_local( method verify (line 49) | async fn verify( method from_json (line 58) | async fn from_json( FILE: crates/apub/objects/src/objects/person.rs type ApubPerson (line 45) | pub struct ApubPerson(pub DbPerson); method from (line 55) | fn from(p: DbPerson) -> Self { type Target (line 48) | type Target = DbPerson; method deref (line 49) | fn deref(&self) -> &Self::Target { type DataType (line 62) | type DataType = LemmyContext; type Kind (line 63) | type Kind = Person; type Error (line 64) | type Error = LemmyError; method id (line 66) | fn id(&self) -> &Url { method last_refreshed_at (line 70) | fn last_refreshed_at(&self) -> Option> { method read_from_id (line 74) | async fn read_from_id( method delete (line 85) | async fn delete(&self, context: &Data) -> LemmyResult<()> { method is_deleted (line 94) | fn is_deleted(&self) -> bool { method into_json (line 98) | async fn into_json(self, _context: &Data) -> LemmyResult... method verify (line 125) | async fn verify( method from_json (line 137) | async fn from_json(person: Person, context: &Data) -> Le... method public_key_pem (line 185) | fn public_key_pem(&self) -> &str { method private_key_pem (line 189) | fn private_key_pem(&self) -> Option { method inbox (line 193) | fn inbox(&self) -> Url { method shared_inbox (line 197) | fn shared_inbox(&self) -> Option { method actor_type (line 203) | fn actor_type(&self) -> ActorType { function test_parse_lemmy_person (line 222) | async fn test_parse_lemmy_person() -> LemmyResult<()> { function test_parse_pleroma_person (line 238) | async fn test_parse_pleroma_person() -> LemmyResult<()> { FILE: crates/apub/objects/src/objects/post.rs constant MAX_TITLE_LENGTH (line 66) | const MAX_TITLE_LENGTH: usize = 200; type ApubPost (line 69) | pub struct ApubPost(pub Post); method from (line 79) | fn from(p: Post) -> Self { type Target (line 72) | type Target = Post; method deref (line 73) | fn deref(&self) -> &Self::Target { type DataType (line 86) | type DataType = LemmyContext; type Kind (line 87) | type Kind = Page; type Error (line 88) | type Error = LemmyError; method id (line 90) | fn id(&self) -> &Url { method read_from_id (line 94) | async fn read_from_id( method delete (line 105) | async fn delete(&self, context: &Data) -> LemmyResult<()> { method is_deleted (line 116) | fn is_deleted(&self) -> bool { method into_json (line 122) | async fn into_json(self, context: &Data) -> LemmyResult<... method verify (line 184) | async fn verify( method from_json (line 210) | async fn from_json(page: Page, context: &Data) -> LemmyR... function update_apub_post_tags (line 331) | pub async fn update_apub_post_tags( function post_nsfw (line 352) | pub async fn post_nsfw( function test_parse_lemmy_post (line 391) | async fn test_parse_lemmy_post() -> LemmyResult<()> { function test_convert_mastodon_post_title (line 417) | async fn test_convert_mastodon_post_title() -> LemmyResult<()> { FILE: crates/apub/objects/src/objects/private_message.rs type ApubPrivateMessage (line 45) | pub struct ApubPrivateMessage(pub DbPrivateMessage); method from (line 55) | fn from(pm: DbPrivateMessage) -> Self { type Target (line 48) | type Target = DbPrivateMessage; method deref (line 49) | fn deref(&self) -> &Self::Target { type DataType (line 62) | type DataType = LemmyContext; type Kind (line 63) | type Kind = PrivateMessage; type Error (line 64) | type Error = LemmyError; method id (line 66) | fn id(&self) -> &Url { method read_from_id (line 70) | async fn read_from_id( method delete (line 81) | async fn delete(&self, _context: &Data) -> LemmyResult<(... method is_deleted (line 86) | fn is_deleted(&self) -> bool { method into_json (line 90) | async fn into_json(self, context: &Data) -> LemmyResult<... method verify (line 122) | async fn verify( method from_json (line 137) | async fn from_json( function prepare_comment_test (line 192) | async fn prepare_comment_test( function test_parse_lemmy_pm (line 210) | async fn test_parse_lemmy_pm() -> LemmyResult<()> { function test_parse_pleroma_pm (line 234) | async fn test_parse_pleroma_pm() -> LemmyResult<()> { FILE: crates/apub/objects/src/protocol/group.rs type Group (line 24) | pub struct Group { FILE: crates/apub/objects/src/protocol/instance.rs type Instance (line 18) | pub struct Instance { FILE: crates/apub/objects/src/protocol/mod.rs function test_parse_objects_lemmy (line 25) | fn test_parse_objects_lemmy() -> LemmyResult<()> { function test_parse_objects_pleroma (line 37) | fn test_parse_objects_pleroma() -> LemmyResult<()> { function test_parse_objects_smithereen (line 44) | fn test_parse_objects_smithereen() -> LemmyResult<()> { function test_parse_objects_mastodon (line 51) | fn test_parse_objects_mastodon() -> LemmyResult<()> { function test_parse_objects_lotide (line 60) | fn test_parse_objects_lotide() -> LemmyResult<()> { function test_parse_object_friendica (line 70) | fn test_parse_object_friendica() -> LemmyResult<()> { function test_parse_object_gnusocial (line 81) | fn test_parse_object_gnusocial() -> LemmyResult<()> { function test_parse_object_peertube (line 90) | fn test_parse_object_peertube() -> LemmyResult<()> { function test_parse_object_mobilizon (line 99) | fn test_parse_object_mobilizon() -> LemmyResult<()> { function test_parse_object_discourse (line 107) | fn test_parse_object_discourse() -> LemmyResult<()> { function test_parse_object_nodebb (line 115) | fn test_parse_object_nodebb() -> LemmyResult<()> { function test_parse_object_wordpress (line 123) | fn test_parse_object_wordpress() -> LemmyResult<()> { function test_parse_object_mbin (line 132) | fn test_parse_object_mbin() -> LemmyResult<()> { FILE: crates/apub/objects/src/protocol/multi_community.rs type Feed (line 20) | pub struct Feed { type FeedType (line 42) | pub enum FeedType { type FeedCollection (line 49) | pub struct FeedCollection { FILE: crates/apub/objects/src/protocol/note.rs type Note (line 36) | pub struct Note { method get_parents (line 64) | pub async fn get_parents( method community (line 106) | async fn community(&self, context: &Data) -> LemmyResult LemmyResult> { type Link (line 84) | pub struct Link { type Image (line 92) | pub struct Image { type Document (line 102) | pub struct Document { type Attachment (line 113) | pub enum Attachment { method url (line 120) | pub(crate) fn url(self) -> Url { method alt_text (line 131) | pub(crate) fn alt_text(self) -> Option { method as_markdown (line 139) | pub(crate) async fn as_markdown(&self, context: &Data) -... method new (line 177) | pub(crate) fn new(url: Url, media_type: Option, alt_text: Opti... type DataType (line 198) | type DataType = LemmyContext; type Error (line 199) | type Error = LemmyError; method id (line 200) | fn id(&self) -> &Url { method actor (line 204) | fn actor(&self) -> &Url { method verify (line 208) | async fn verify(&self, data: &Data) -> LemmyResult<()> { method receive (line 211) | async fn receive(self, data: &Data) -> LemmyResult<()> { method community (line 218) | async fn community(&self, context: &Data) -> LemmyResult(deserializer: D) -> Result Option<&Url> { method mention_id (line 31) | pub fn mention_id(&self) -> Option<&ObjectId> { type Mention (line 40) | pub struct Mention { type Hashtag (line 48) | pub struct Hashtag { type HashtagType (line 56) | pub enum HashtagType { type CommunityTagType (line 64) | enum CommunityTagType { type ApubCommunityTag (line 72) | pub struct ApubCommunityTag { method to_json (line 83) | pub fn to_json(tag: CommunityTag) -> Self { method to_insert_form (line 94) | pub fn to_insert_form(&self, community_id: CommunityId) -> CommunityTa... FILE: crates/apub/objects/src/utils/functions.rs function read_from_string_or_source (line 33) | pub fn read_from_string_or_source( function read_from_string_or_source_opt (line 50) | pub fn read_from_string_or_source_opt( type LocalSiteData (line 61) | pub struct LocalSiteData { function local_site_data_cached (line 67) | pub async fn local_site_data_cached(pool: &mut DbPool<'_>) -> LemmyResul... function check_apub_id_valid_with_strictness (line 101) | pub async fn check_apub_id_valid_with_strictness( function check_apub_id_valid (line 148) | pub fn check_apub_id_valid(apub_id: &Url, local_site_data: &LocalSiteDat... type GetActorType (line 184) | pub trait GetActorType { method actor_type (line 185) | fn actor_type(&self) -> ActorType; method actor_type (line 189) | fn actor_type(&self) -> ActorType { function generate_to (line 198) | pub fn generate_to(community: &Community) -> LemmyResult> { function verify_person_in_community (line 212) | pub async fn verify_person_in_community( function verify_person_in_site_or_community (line 224) | pub async fn verify_person_in_site_or_community( function verify_is_public (line 239) | pub fn verify_is_public(to: &[Url], cc: &[Url]) -> LemmyResult<()> { function verify_visibility (line 249) | pub fn verify_visibility(to: &[Url], cc: &[Url], community: &ApubCommuni... function append_attachments_to_comment (line 259) | pub async fn append_attachments_to_comment( function community_visibility (line 276) | pub fn community_visibility(group: &Group) -> CommunityVisibility { function context_url (line 287) | pub fn context_url(id: &Url) -> String { function verify_mod_action (line 300) | pub async fn verify_mod_action( FILE: crates/apub/objects/src/utils/markdown_links.rs function markdown_rewrite_remote_links_opt (line 9) | pub async fn markdown_rewrite_remote_links_opt( function markdown_rewrite_remote_links (line 25) | pub async fn markdown_rewrite_remote_links( function to_local_url (line 49) | pub(crate) async fn to_local_url(url: &str, context: &Data... function test_markdown_rewrite_remote_links (line 86) | async fn test_markdown_rewrite_remote_links() -> LemmyResult<()> { FILE: crates/apub/objects/src/utils/mentions.rs type MentionsAndAddresses (line 20) | pub(crate) struct MentionsAndAddresses { function collect_non_local_mentions (line 28) | pub(crate) async fn collect_non_local_mentions( function get_comment_parent_creator (line 82) | pub(crate) async fn get_comment_parent_creator( FILE: crates/apub/objects/src/utils/protocol.rs type Source (line 22) | pub struct Source { method new (line 28) | pub(crate) fn new(content: String) -> Self { type InCommunity (line 36) | pub trait InCommunity { method community (line 37) | fn community( type ImageObject (line 45) | pub struct ImageObject { method new (line 52) | pub(crate) fn new(url: DbUrl) -> Self { type AttributedTo (line 62) | pub enum AttributedTo { method url (line 82) | pub fn url(self) -> Option { type PersonOrGroupType (line 68) | pub enum PersonOrGroupType { type AttributedToPeertube (line 75) | pub struct AttributedToPeertube { type PersonOrGroupModerators (line 91) | pub struct PersonOrGroupModerators(Url); method from (line 102) | fn from(value: DbUrl) -> Self { method creator (line 108) | pub(crate) fn creator(&self) -> ObjectId { method moderators (line 112) | pub fn moderators(&self) -> Url { type Target (line 94) | type Target = Url; method deref (line 96) | fn deref(&self) -> &Self::Target { type LanguageTag (line 120) | pub(crate) struct LanguageTag { method new_single (line 135) | pub(crate) async fn new_single( method new_multiple (line 152) | pub(crate) async fn new_multiple( method to_language_id_single (line 172) | pub(crate) async fn to_language_id_single( method to_language_id_multiple (line 179) | pub(crate) async fn to_language_id_multiple( method default (line 126) | fn default() -> Self { type Endpoints (line 196) | pub struct Endpoints { type Id (line 200) | pub trait Id { method id (line 201) | fn id(&self) -> &Url; method id (line 205) | fn id(&self) -> &Url { FILE: crates/apub/objects/src/utils/test.rs function file_to_json_object (line 13) | pub fn file_to_json_object(path: &str) -> LemmyResu... function test_json (line 19) | pub fn test_json(path: &str) -> LemmyResult) -... function parse_lemmy_person (line 47) | pub async fn parse_lemmy_person( function parse_lemmy_community (line 59) | pub async fn parse_lemmy_community(context: &Data) -> Lemm... FILE: crates/apub/send/src/inboxes.rs type DataSource (line 44) | pub trait DataSource: Send + Sync { method read_site_from_instance_id (line 45) | async fn read_site_from_instance_id(&self, instance_id: InstanceId) ->... method get_instance_followed_community_inboxes (line 46) | async fn get_instance_followed_community_inboxes( method read_site_from_instance_id (line 63) | async fn read_site_from_instance_id(&self, instance_id: InstanceId) ->... method get_instance_followed_community_inboxes (line 67) | async fn get_instance_followed_community_inboxes( type DbDataSource (line 52) | pub struct DbDataSource { method new (line 57) | pub fn new(pool: ActualDbPool) -> Self { type CommunityInboxCollector (line 81) | pub(crate) struct CommunityInboxCollector { type RealCommunityInboxCollector (line 96) | pub type RealCommunityInboxCollector = CommunityInboxCollector Lemmy... function update_communities (line 169) | pub async fn update_communities(&mut self) -> LemmyResult<()> { function get_communities (line 198) | async fn get_communities( function setup_collector (line 247) | fn setup_collector() -> CommunityInboxCollector { function test_get_inbox_urls_empty (line 255) | async fn test_get_inbox_urls_empty() -> LemmyResult<()> { function test_get_inbox_urls_send_all_instances (line 277) | async fn test_get_inbox_urls_send_all_instances() -> LemmyResult<()> { function test_get_inbox_urls_community_followers (line 324) | async fn test_get_inbox_urls_community_followers() -> LemmyResult<()> { function test_get_inbox_urls_send_inboxes (line 364) | async fn test_get_inbox_urls_send_inboxes() -> LemmyResult<()> { function test_get_inbox_urls_combined (line 397) | async fn test_get_inbox_urls_combined() -> LemmyResult<()> { function test_update_communities (line 463) | async fn test_update_communities() -> LemmyResult<()> { function test_get_inbox_urls_no_duplicates (line 514) | async fn test_get_inbox_urls_no_duplicates() -> LemmyResult<()> { FILE: crates/apub/send/src/lib.rs type Opts (line 31) | pub struct Opts { type SendManager (line 38) | pub struct SendManager { method new (line 48) | fn new( method run (line 71) | pub fn run( method do_loop (line 100) | async fn do_loop(&mut self, cancel: CancellationToken) -> LemmyResult<... method cancel (line 172) | pub async fn cancel(self) -> LemmyResult<()> { type TestData (line 216) | struct TestData { method init (line 222) | async fn init(process_count: i32, process_index: i32) -> LemmyResult LemmyResult<()> { method cleanup (line 268) | async fn cleanup(self) -> LemmyResult<()> { function test_send_manager (line 278) | async fn test_send_manager() -> LemmyResult<()> { function test_send_manager_processes (line 294) | async fn test_send_manager_processes() -> LemmyResult<()> { function test_send_manager_blocked (line 319) | async fn test_send_manager_blocked() -> LemmyResult<()> { function test_send_manager_allowed (line 341) | async fn test_send_manager_allowed() -> LemmyResult<()> { function test_send_manager_dead (line 362) | async fn test_send_manager_dead() -> LemmyResult<()> { FILE: crates/apub/send/src/send.rs type SendSuccessInfo (line 25) | pub(crate) struct SendSuccessInfo { method eq (line 33) | fn eq(&self, other: &Self) -> bool { method partial_cmp (line 40) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 45) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { type SendActivityResult (line 66) | pub(crate) enum SendActivityResult { type SendRetryTask (line 74) | pub(crate) struct SendRetryTask<'a> { function send_retry_loop (line 99) | pub async fn send_retry_loop(self) -> Result<()> { type DummyActivity (line 161) | struct DummyActivity { type DataType (line 170) | type DataType = LemmyContext; type Error (line 172) | type Error = LemmyError; method id (line 174) | fn id(&self) -> &Url { method actor (line 178) | fn actor(&self) -> &Url { method verify (line 182) | async fn verify(&self, _context: &Data) -> LemmyResult<(... method receive (line 186) | async fn receive(self, _context: &Data) -> LemmyResult<()> { FILE: crates/apub/send/src/stats.rs function receive_print_stats (line 13) | pub(crate) async fn receive_print_stats( function print_stats (line 40) | async fn print_stats( function print_stats_with_error (line 50) | async fn print_stats_with_error( FILE: crates/apub/send/src/util.rs type CancellableTask (line 83) | pub struct CancellableTask { method spawn (line 89) | pub fn spawn( method cancel (line 128) | pub async fn cancel(self) -> Result<(), anyhow::Error> { function get_actor_cached (line 135) | pub(crate) async fn get_actor_cached( type CachedActivityInfo (line 177) | type CachedActivityInfo = Option>; function get_activity_cached (line 182) | pub(crate) async fn get_activity_cached( function get_latest_activity_id (line 197) | pub(crate) async fn get_latest_activity_id(pool: &mut DbPool<'_>) -> Res... type FederationQueueStateWithDomain (line 220) | pub(crate) struct FederationQueueStateWithDomain { FILE: crates/apub/send/src/worker.rs constant MAX_SUCCESSFULS (line 43) | const MAX_SUCCESSFULS: usize = 1000; constant MIN_ACTIVITY_SEND_RESULTS_TO_HANDLE (line 47) | const MIN_ACTIVITY_SEND_RESULTS_TO_HANDLE: usize = 4; constant MIN_ACTIVITY_SEND_RESULTS_TO_HANDLE (line 49) | const MIN_ACTIVITY_SEND_RESULTS_TO_HANDLE: usize = 0; type InstanceWorker (line 61) | pub(crate) struct InstanceWorker { method init_and_loop (line 84) | pub(crate) async fn init_and_loop( method loop_until_stopped (line 120) | async fn loop_until_stopped(&mut self) -> LemmyResult<()> { method initial_fail_sleep (line 201) | async fn initial_fail_sleep(&mut self) -> Result<()> { method get_last_sent_id (line 231) | async fn get_last_sent_id(&mut self) -> Result { method handle_send_results (line 250) | async fn handle_send_results(&mut self) -> Result<(), anyhow::Error> { method mark_instance_alive (line 296) | async fn mark_instance_alive(&mut self) -> Result<()> { method pop_successfuls_and_write (line 318) | async fn pop_successfuls_and_write(&mut self, force_write: bool) -> Re... method spawn_send_if_needed (line 358) | async fn spawn_send_if_needed(&mut self, activity_id: ActivityId) -> L... method save_and_send_state (line 432) | async fn save_and_send_state(&mut self) -> Result<()> { method pool (line 445) | fn pool(&self) -> DbPool<'_> { type Data (line 481) | struct Data { method init (line 495) | async fn init() -> LemmyResult { method cleanup (line 549) | async fn cleanup(&mut self) -> LemmyResult<()> { method setup (line 566) | async fn setup() -> Data { method teardown (line 569) | async fn teardown(mut self) { function test_stats (line 578) | async fn test_stats(data: &mut Data) -> LemmyResult<()> { function test_send_40 (line 618) | async fn test_send_40(data: &mut Data) -> LemmyResult<()> { function test_send_15_20_30 (line 644) | async fn test_send_15_20_30(data: &mut Data) -> LemmyResult<()> { function test_update_instance (line 671) | async fn test_update_instance(data: &mut Data) -> LemmyResult<()> { function test_errors (line 689) | async fn test_errors(data: &mut Data) -> LemmyResult<()> { function wait_receive (line 720) | async fn wait_receive( function listen_activities (line 734) | fn listen_activities( function send_activity (line 772) | async fn send_activity( function compare_sent_with_receive (line 806) | async fn compare_sent_with_receive(data: &mut Data, mut sent: Vec, form: SentActivityForm) -> Le... method read_from_apub_id (line 25) | pub async fn read_from_apub_id(pool: &mut DbPool<'_>, object_id: &DbUrl)... method read (line 34) | pub async fn read(pool: &mut DbPool<'_>, object_id: ActivityId) -> Lemmy... method create (line 46) | pub async fn create(pool: &mut DbPool<'_>, ap_id_: &DbUrl) -> LemmyResul... function receive_activity_duplicate (line 78) | async fn receive_activity_duplicate() -> LemmyResult<()> { function sent_activity_write_read (line 93) | async fn sent_activity_write_read() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/actor_language.rs constant UNDETERMINED_ID (line 34) | pub const UNDETERMINED_ID: LanguageId = LanguageId(0); method read (line 37) | pub async fn read( method update (line 55) | pub async fn update( method read_local_raw (line 107) | pub async fn read_local_raw(pool: &mut DbPool<'_>) -> LemmyResult, for_site_id: SiteId) -> LemmyRe... method update (line 131) | pub async fn update( method is_allowed_community_language (line 187) | async fn is_allowed_community_language( method limit_languages (line 212) | async fn limit_languages( method read (line 238) | pub async fn read( method update (line 257) | pub async fn update( function validate_post_language (line 311) | pub async fn validate_post_language( function convert_update_languages (line 323) | async fn convert_update_languages( function convert_read_languages (line 342) | async fn convert_read_languages( function test_langs1 (line 385) | async fn test_langs1(pool: &mut DbPool<'_>) -> LemmyResult) -> LemmyResult LemmyResult<()> { function test_convert_read_languages (line 419) | async fn test_convert_read_languages() -> LemmyResult<()> { function test_site_languages (line 440) | async fn test_site_languages() -> LemmyResult<()> { function test_user_languages (line 463) | async fn test_user_languages() -> LemmyResult<()> { function test_community_languages (line 495) | async fn test_community_languages() -> LemmyResult<()> { function test_validate_post_language (line 550) | async fn test_validate_post_language() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/comment.rs method permadelete_for_creator (line 45) | pub async fn permadelete_for_creator( method update_removed_for_creator (line 62) | pub async fn update_removed_for_creator( method creator_comments_in_community (line 79) | async fn creator_comments_in_community( method creator_comments_in_instance (line 97) | async fn creator_comments_in_instance( method update_removed_for_creator_and_community (line 116) | pub async fn update_removed_for_creator_and_community( method update_removed_for_creator_and_instance (line 139) | pub async fn update_removed_for_creator_and_instance( method create (line 161) | pub async fn create( method insert_apub (line 169) | pub async fn insert_apub( method read_from_apub_id (line 196) | pub async fn read_from_apub_id( method parent_comment_id (line 209) | pub fn parent_comment_id(&self) -> Option { method update_hot_rank (line 220) | pub async fn update_hot_rank(pool: &mut DbPool<'_>, comment_id: CommentI... method local_url (line 229) | pub fn local_url(&self, settings: &Settings) -> LemmyResult { method set_not_pending (line 235) | pub async fn set_not_pending(&self, pool: &mut DbPool<'_>) -> LemmyResul... method update_locked_for_comment_and_children (line 247) | pub async fn update_locked_for_comment_and_children( method update_removed_for_comment_and_children (line 260) | pub async fn update_removed_for_comment_and_children( method update_comment_and_children (line 275) | async fn update_comment_and_children( method update_removed_for_post (line 290) | pub async fn update_removed_for_post( method read_ap_ids_for_post (line 307) | pub async fn read_ap_ids_for_post( type InsertForm (line 326) | type InsertForm = CommentInsertForm; type UpdateForm (line 327) | type UpdateForm = CommentUpdateForm; type IdType (line 328) | type IdType = CommentId; method create (line 331) | async fn create(_pool: &mut DbPool<'_>, _comment_form: &Self::InsertForm... method update (line 335) | async fn update( type Form (line 350) | type Form = CommentLikeForm; type IdType (line 351) | type IdType = CommentId; method like (line 353) | async fn like(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult, form: &Self::Form) -> LemmyResult, form: &Self::Form) -> LemmyResult... method read (line 425) | pub async fn read( function test_crud (line 464) | async fn test_crud() -> LemmyResult<()> { function test_aggregates (line 578) | async fn test_aggregates() -> LemmyResult<()> { function test_update_children (line 675) | async fn test_update_children() -> LemmyResult<()> { function test_remove_post_children (line 742) | async fn test_remove_post_children() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/comment_report.rs type Form (line 24) | type Form = CommentReportForm; type IdType (line 25) | type IdType = CommentReportId; type ObjectIdType (line 26) | type ObjectIdType = CommentId; method report (line 31) | async fn report(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult... method update_resolved (line 45) | async fn update_resolved( method resolve_apub (line 63) | async fn resolve_apub( method resolve_all_for_object (line 87) | async fn resolve_all_for_object( method resolve_all_for_thread (line 106) | pub async fn resolve_all_for_thread( method resolve_all_for_post (line 129) | pub async fn resolve_all_for_post( FILE: crates/db_schema/src/impls/community.rs type InsertForm (line 55) | type InsertForm = CommunityInsertForm; type UpdateForm (line 56) | type UpdateForm = CommunityUpdateForm; type IdType (line 57) | type IdType = CommunityId; method create (line 59) | async fn create(pool: &mut DbPool<'_>, form: &Self::InsertForm) -> Lemmy... method update (line 74) | async fn update( method join (line 89) | pub async fn join(pool: &mut DbPool<'_>, form: &CommunityModeratorForm) ... method leave (line 105) | pub async fn leave( type CollectionType (line 119) | pub enum CollectionType { method insert_apub (line 125) | pub async fn insert_apub( method get_by_collection_url (line 156) | pub async fn get_by_collection_url( method set_featured_posts (line 181) | pub async fn set_featured_posts( method get_random_community_id (line 202) | pub async fn get_random_community_id( method hide_removed_and_deleted (line 266) | pub fn hide_removed_and_deleted() -> _ { method update_federated_followers (line 272) | pub async fn update_federated_followers( method read (line 287) | pub async fn read( method delete_mods_for_community (line 301) | pub async fn delete_mods_for_community( method leave_mod_team_for_all_communities (line 314) | pub async fn leave_mod_team_for_all_communities( method get_person_moderated_communities (line 326) | pub async fn get_person_moderated_communities( method check_accept_activity_in_community (line 345) | pub async fn check_accept_activity_in_community( method approve_private_community_follower (line 368) | pub async fn approve_private_community_follower( method fetch_largest_subscribed_community (line 389) | pub async fn fetch_largest_subscribed_community( method update_notification_state (line 417) | pub async fn update_notification_state( method list_subscribers (line 443) | pub async fn list_subscribers( type Form (line 474) | type Form = CommunityPersonBanForm; method ban (line 475) | async fn ban(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult, form: &Self::Form) -> LemmyResult<... type Form (line 503) | type Form = CommunityFollowerForm; type IdType (line 504) | type IdType = CommunityId; method follow (line 506) | async fn follow(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult... method follow_accepted (line 521) | async fn follow_accepted( method unfollow (line 538) | async fn unfollow( type Form (line 555) | type Form = CommunityBlockForm; type ObjectIdType (line 556) | type ObjectIdType = CommunityId; type ObjectType (line 557) | type ObjectType = Community; method block (line 559) | async fn block(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult<... method unblock (line 574) | async fn unblock( method read_block (line 589) | async fn read_block( method read_blocks_for_person (line 606) | async fn read_blocks_for_person( method read_from_apub_id (line 626) | async fn read_from_apub_id( method read_from_name (line 639) | async fn read_from_name( method actor_url (line 665) | fn actor_url(&self, settings: &Settings) -> LemmyResult { method generate_local_actor_url (line 675) | fn generate_local_actor_url(name: &str, settings: &Settings) -> LemmyRes... function test_crud (line 711) | async fn test_crud() -> LemmyResult<()> { function test_aggregates (line 862) | async fn test_aggregates() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/community_community_follow.rs method follow (line 13) | pub async fn follow( method unfollow (line 29) | pub async fn unfollow( FILE: crates/db_schema/src/impls/community_report.rs type Form (line 19) | type Form = CommunityReportForm; type IdType (line 20) | type IdType = CommunityReportId; type ObjectIdType (line 21) | type ObjectIdType = CommunityId; method report (line 26) | async fn report(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult... method update_resolved (line 40) | async fn update_resolved( method resolve_apub (line 58) | async fn resolve_apub( method resolve_all_for_object (line 82) | async fn resolve_all_for_object( FILE: crates/db_schema/src/impls/community_tag.rs type InsertForm (line 38) | type InsertForm = CommunityTagInsertForm; type UpdateForm (line 39) | type UpdateForm = CommunityTagUpdateForm; type IdType (line 40) | type IdType = CommunityTagId; method create (line 42) | async fn create(pool: &mut DbPool<'_>, form: &Self::InsertForm) -> Lemmy... method update (line 51) | async fn update( method read_for_community (line 66) | pub async fn read_for_community( method update_many (line 79) | pub async fn update_many( method read_for_post (line 127) | pub async fn read_for_post( method read_apub (line 142) | pub async fn read_apub(pool: &mut DbPool<'_>, ap_id: &DbUrl) -> LemmyRes... method from_sql (line 155) | fn from_sql(bytes: PgValue) -> diesel::deserialize::Result { method from_nullable_sql (line 159) | fn from_nullable_sql( method to_sql (line 170) | fn to_sql(&self, out: &mut diesel::serialize::Output) -> diesel::ser... method update (line 177) | pub async fn update( FILE: crates/db_schema/src/impls/custom_emoji.rs type InsertForm (line 21) | type InsertForm = CustomEmojiInsertForm; type UpdateForm (line 22) | type UpdateForm = CustomEmojiUpdateForm; type IdType (line 23) | type IdType = CustomEmojiId; method create (line 25) | async fn create(pool: &mut DbPool<'_>, form: &Self::InsertForm) -> Lemmy... method update (line 34) | async fn update( method create_from_keywords (line 49) | pub async fn create_from_keywords( method create (line 65) | pub async fn create( method delete (line 76) | pub async fn delete(pool: &mut DbPool<'_>, emoji_id: CustomEmojiId) -> L... FILE: crates/db_schema/src/impls/email_verification.rs method create (line 15) | pub async fn create(pool: &mut DbPool<'_>, form: &EmailVerificationForm)... method read_for_token (line 24) | pub async fn read_for_token(pool: &mut DbPool<'_>, token: &str) -> Lemmy... method delete_old_tokens_for_local_user (line 33) | pub async fn delete_old_tokens_for_local_user( FILE: crates/db_schema/src/impls/federation_allowlist.rs method allow (line 9) | pub async fn allow(pool: &mut DbPool<'_>, form: &FederationAllowListForm... method unallow (line 17) | pub async fn unallow(pool: &mut DbPool<'_>, instance_id_: InstanceId) ->... function test_allowlist_insert_and_clear (line 37) | async fn test_allowlist_insert_and_clear() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/federation_blocklist.rs method block (line 9) | pub async fn block(pool: &mut DbPool<'_>, form: &FederationBlockListForm... method unblock (line 17) | pub async fn unblock(pool: &mut DbPool<'_>, instance_id_: InstanceId) ->... FILE: crates/db_schema/src/impls/federation_queue_state.rs method load (line 10) | pub async fn load(pool: &mut DbPool<'_>, instance_id: InstanceId) -> Lem... method upsert (line 28) | pub async fn upsert(pool: &mut DbPool<'_>, state: &FederationQueueState)... FILE: crates/db_schema/src/impls/images.rs method create (line 29) | pub async fn create( method validate_by_alias_and_user (line 53) | pub async fn validate_by_alias_and_user( method delete_by_alias (line 73) | pub async fn delete_by_alias(pool: &mut DbPool<'_>, alias: &str) -> Lemm... method delete_by_aliases (line 82) | pub async fn delete_by_aliases(pool: &mut DbPool<'_>, aliases: &[String]... method create (line 92) | pub async fn create(pool: &mut DbPool<'_>, links: Vec) -> LemmyResu... method validate (line 106) | pub async fn validate(pool: &mut DbPool<'_>, link_: DbUrl) -> LemmyResul... method create (line 120) | pub async fn create(pool: &mut DbPool<'_>, form: &ImageDetailsInsertForm... FILE: crates/db_schema/src/impls/instance.rs method read_or_create (line 47) | pub async fn read_or_create(pool: &mut DbPool<'_>, domain_: &str) -> Lem... method read (line 80) | pub async fn read(pool: &mut DbPool<'_>, instance_id: InstanceId) -> Lem... method update (line 89) | pub async fn update( method delete (line 102) | pub async fn delete(pool: &mut DbPool<'_>, instance_id: InstanceId) -> L... method read_all (line 110) | pub async fn read_all(pool: &mut DbPool<'_>) -> LemmyResult) -> LemmyResult { method allowlist (line 131) | pub async fn allowlist(pool: &mut DbPool<'_>) -> LemmyResult> { method blocklist (line 141) | pub async fn blocklist(pool: &mut DbPool<'_>) -> LemmyResult> { method read_federated_with_blocked_and_dead (line 153) | pub async fn read_federated_with_blocked_and_dead( method block_communities (line 193) | pub async fn block_communities( method unblock_communities (line 209) | pub async fn unblock_communities( method read_communities_block (line 222) | pub async fn read_communities_block( method read_communities_block_for_person (line 238) | pub async fn read_communities_block_for_person( method block_persons (line 254) | pub async fn block_persons( method unblock_persons (line 270) | pub async fn unblock_persons( method read_persons_block (line 283) | pub async fn read_persons_block( method read_persons_block_for_person (line 299) | pub async fn read_persons_block_for_person( method check_ban (line 315) | pub async fn check_ban( type Form (line 338) | type Form = InstanceBanForm; method ban (line 339) | async fn ban(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult, form: &Self::Form) -> LemmyResult<... FILE: crates/db_schema/src/impls/keyword_block.rs method read (line 12) | pub async fn read( method update (line 25) | pub async fn update( FILE: crates/db_schema/src/impls/language.rs method read_all (line 16) | pub async fn read_all(pool: &mut DbPool<'_>) -> LemmyResult> { method read_from_id (line 33) | pub async fn read_from_id(pool: &mut DbPool<'_>, id_: LanguageId) -> Lem... method read_id_from_code (line 43) | pub async fn read_id_from_code(pool: &mut DbPool<'_>, code_: &str) -> Le... function test_languages (line 68) | async fn test_languages() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/local_site.rs method create (line 9) | pub async fn create(pool: &mut DbPool<'_>, form: &LocalSiteInsertForm) -... method update (line 18) | pub async fn update(pool: &mut DbPool<'_>, form: &LocalSiteUpdateForm) -... method delete (line 27) | pub async fn delete(pool: &mut DbPool<'_>) -> LemmyResult { function read_local_site (line 59) | async fn read_local_site(pool: &mut DbPool<'_>) -> LemmyResult { function prepare_site_with_community (line 67) | async fn prepare_site_with_community( function test_aggregates (line 89) | async fn test_aggregates() -> LemmyResult<()> { function test_soft_delete (line 159) | async fn test_soft_delete() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/local_site_rate_limit.rs method read (line 16) | pub async fn read(pool: &mut DbPool<'_>) -> LemmyResult> { method create (line 25) | pub async fn create( method update (line 36) | pub async fn update( method is_empty (line 54) | fn is_empty(&self) -> bool { FILE: crates/db_schema/src/impls/local_site_url_blocklist.rs method replace (line 9) | pub async fn replace(pool: &mut DbPool<'_>, url_blocklist: Vec) ... method clear (line 36) | async fn clear(conn: &mut AsyncPgConnection) -> LemmyResult { method get_all (line 43) | pub async fn get_all(pool: &mut DbPool<'_>) -> LemmyResult> { FILE: crates/db_schema/src/impls/local_user.rs method create (line 35) | pub async fn create( method update (line 58) | pub async fn update( method delete (line 76) | pub async fn delete(pool: &mut DbPool<'_>, id: LocalUserId) -> LemmyResu... method update_password (line 84) | pub async fn update_password( method set_all_users_email_verified (line 99) | pub async fn set_all_users_email_verified(pool: &mut DbPool<'_>) -> Lemm... method set_all_users_registration_applications_accepted (line 108) | pub async fn set_all_users_registration_applications_accepted( method delete_old_denied_local_users (line 119) | pub async fn delete_old_denied_local_users(pool: &mut DbPool<'_>) -> Lem... method check_is_email_taken (line 147) | pub async fn check_is_email_taken(pool: &mut DbPool<'_>, email: &str) ->... method export_backup (line 160) | pub async fn export_backup( method is_higher_admin_check (line 247) | pub async fn is_higher_admin_check( method is_higher_mod_or_admin_check (line 276) | pub async fn is_higher_mod_or_admin_check( type LocalUserOptionHelper (line 315) | pub trait LocalUserOptionHelper { method person_id (line 316) | fn person_id(&self) -> Option; method local_user_id (line 317) | fn local_user_id(&self) -> Option; method show_bot_accounts (line 318) | fn show_bot_accounts(&self) -> bool; method show_read_posts (line 319) | fn show_read_posts(&self) -> bool; method is_admin (line 320) | fn is_admin(&self) -> bool; method show_nsfw (line 321) | fn show_nsfw(&self, site: &Site) -> bool; method hide_media (line 322) | fn hide_media(&self) -> bool; method visible_communities_only (line 323) | fn visible_communities_only(&self, query: Q) -> Q method person_id (line 332) | fn person_id(&self) -> Option { method local_user_id (line 336) | fn local_user_id(&self) -> Option { method show_bot_accounts (line 340) | fn show_bot_accounts(&self) -> bool { method show_read_posts (line 344) | fn show_read_posts(&self) -> bool { method is_admin (line 348) | fn is_admin(&self) -> bool { method show_nsfw (line 352) | fn show_nsfw(&self, site: &Site) -> bool { method hide_media (line 358) | fn hide_media(&self) -> bool { method visible_communities_only (line 363) | fn visible_communities_only(&self, query: Q) -> Q method test_form (line 379) | pub fn test_form(person_id: PersonId) -> Self { method test_form_admin (line 383) | pub fn test_form_admin(person_id: PersonId) -> Self { type UserBackupLists (line 391) | pub struct UserBackupLists { function test_admin_higher_check (line 414) | async fn test_admin_higher_check() -> LemmyResult<()> { function test_email_taken (line 453) | async fn test_email_taken() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/login_token.rs method create (line 13) | pub async fn create(pool: &mut DbPool<'_>, form: LoginTokenCreateForm) -... method validate (line 23) | pub async fn validate( method list (line 38) | pub async fn list(pool: &mut DbPool<'_>, user_id_: LocalUserId) -> Lemmy... method invalidate (line 49) | pub async fn invalidate(pool: &mut DbPool<'_>, token_: &str) -> LemmyRes... method invalidate_all (line 58) | pub async fn invalidate_all(pool: &mut DbPool<'_>, user_id_: LocalUserId... FILE: crates/db_schema/src/impls/modlog.rs method create (line 20) | pub async fn create<'a>( function admin_ban (line 34) | pub fn admin_ban( function admin_add (line 49) | pub fn admin_add(mod_person: &Person, target_person_id: PersonId, added:... function mod_remove_post (line 56) | pub fn mod_remove_post( function mod_remove_comment (line 72) | pub fn mod_remove_comment( function mod_lock_comment (line 90) | pub fn mod_lock_comment( function mod_lock_post (line 106) | pub fn mod_lock_post( function mod_create_comment_warning (line 120) | pub fn mod_create_comment_warning( function mod_create_post_warning (line 135) | pub fn mod_create_post_warning(mod_person_id: PersonId, post: &Post, rea... function admin_remove_community (line 144) | pub fn admin_remove_community( function mod_change_community_visibility (line 160) | pub fn mod_change_community_visibility( function mod_ban_from_community (line 173) | pub fn mod_ban_from_community( function mod_add_to_community (line 189) | pub fn mod_add_to_community( function mod_transfer_community (line 201) | pub fn mod_transfer_community( function admin_allow_instance (line 212) | pub fn admin_allow_instance( function admin_block_instance (line 224) | pub fn admin_block_instance( function admin_purge_comment (line 236) | pub fn admin_purge_comment( function admin_purge_post (line 250) | pub fn admin_purge_post( function admin_purge_community (line 261) | pub fn admin_purge_community(mod_person_id: PersonId, reason: &'a str) -... function admin_purge_person (line 267) | pub fn admin_purge_person(mod_person_id: PersonId, reason: &'a str) -> S... function mod_feature_post_community (line 273) | pub fn mod_feature_post_community(mod_person_id: PersonId, post: &Post, ... function admin_feature_post_site (line 284) | pub fn admin_feature_post_site(mod_person: &Person, post: &Post, feature... FILE: crates/db_schema/src/impls/multi_community.rs constant MULTI_COMMUNITY_ENTRY_LIMIT (line 50) | const MULTI_COMMUNITY_ENTRY_LIMIT: i8 = 50; type InsertForm (line 53) | type InsertForm = MultiCommunityInsertForm; type UpdateForm (line 54) | type UpdateForm = MultiCommunityUpdateForm; type IdType (line 55) | type IdType = MultiCommunityId; method create (line 57) | async fn create(pool: &mut DbPool<'_>, form: &Self::InsertForm) -> Lemmy... method update (line 67) | async fn update( method upsert (line 83) | pub async fn upsert(pool: &mut DbPool<'_>, form: &MultiCommunityInsertFo... method follow (line 96) | pub async fn follow( method unfollow (line 115) | pub async fn unfollow( method follower_inboxes (line 133) | pub async fn follower_inboxes( method update_entries (line 151) | pub async fn update_entries( method read_community_ap_ids (line 210) | pub async fn read_community_ap_ids( method read_from_apub_id (line 232) | async fn read_from_apub_id( method read_from_name (line 245) | async fn read_from_name( method actor_url (line 271) | fn actor_url(&self, settings: &Settings) -> LemmyResult { method generate_local_actor_url (line 281) | fn generate_local_actor_url(name: &str, settings: &Settings) -> LemmyRes... method create (line 288) | pub async fn create(pool: &mut DbPool<'_>, form: &MultiCommunityEntryFor... method delete (line 298) | pub async fn delete(pool: &mut DbPool<'_>, form: &MultiCommunityEntryFor... method check_entry_limit (line 312) | pub async fn check_entry_limit( method community_used_in_multiple (line 331) | pub async fn community_used_in_multiple( type Data (line 363) | struct Data { function setup (line 370) | async fn setup(pool: &mut DbPool<'_>) -> LemmyResult { function test_counts (line 400) | async fn test_counts() -> LemmyResult<()> { function test_multi_community_apub (line 458) | async fn test_multi_community_apub() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/notification.rs method create (line 17) | pub async fn create( method mark_read_by_comment_and_recipient (line 30) | pub async fn mark_read_by_comment_and_recipient( method mark_read_by_post_and_recipient (line 48) | pub async fn mark_read_by_post_and_recipient( method mark_all_as_read (line 66) | pub async fn mark_all_as_read( method mark_read_by_id_and_person (line 82) | pub async fn mark_read_by_id_and_person( method delete (line 101) | pub async fn delete(pool: &mut DbPool<'_>, id: NotificationId) -> LemmyR... FILE: crates/db_schema/src/impls/oauth_account.rs method create (line 12) | pub async fn create(pool: &mut DbPool<'_>, form: &OAuthAccountInsertForm... method delete_user_accounts (line 21) | pub async fn delete_user_accounts( FILE: crates/db_schema/src/impls/oauth_provider.rs type InsertForm (line 20) | type InsertForm = OAuthProviderInsertForm; type UpdateForm (line 21) | type UpdateForm = OAuthProviderUpdateForm; type IdType (line 22) | type IdType = OAuthProviderId; method create (line 24) | async fn create(pool: &mut DbPool<'_>, form: &Self::InsertForm) -> Lemmy... method update (line 33) | async fn update( method get_all (line 48) | pub async fn get_all(pool: &mut DbPool<'_>) -> LemmyResult> { method convert_providers_to_public (line 58) | pub fn convert_providers_to_public( method get_all_public (line 75) | pub async fn get_all_public(pool: &mut DbPool<'_>) -> LemmyResult, token_: &str) -> Lem... function test_password_reset (line 62) | async fn test_password_reset() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/person.rs type InsertForm (line 44) | type InsertForm = PersonInsertForm; type UpdateForm (line 45) | type UpdateForm = PersonUpdateForm; type IdType (line 46) | type IdType = PersonId; method read (line 49) | async fn read(pool: &mut DbPool<'_>, person_id: PersonId) -> LemmyResult... method create (line 59) | async fn create(pool: &mut DbPool<'_>, form: &PersonInsertForm) -> Lemmy... method update (line 67) | async fn update( method upsert (line 86) | pub async fn upsert(pool: &mut DbPool<'_>, form: &PersonInsertForm) -> L... method delete_account (line 98) | pub async fn delete_account( method check_username_taken (line 143) | pub async fn check_username_taken(pool: &mut DbPool<'_>, username: &str)... method test_form (line 158) | pub fn test_form(instance_id: InstanceId, name: &str) -> Self { method read_from_apub_id (line 164) | async fn read_from_apub_id( method read_from_name (line 177) | async fn read_from_name( method actor_url (line 203) | fn actor_url(&self, settings: &Settings) -> LemmyResult { method generate_local_actor_url (line 213) | fn generate_local_actor_url(name: &str, settings: &Settings) -> LemmyRes... type Form (line 220) | type Form = PersonFollowerForm; type IdType (line 221) | type IdType = PersonId; method follow (line 223) | async fn follow(pool: &mut DbPool<'_>, form: &PersonFollowerForm) -> Lem... method follow_accepted (line 237) | async fn follow_accepted(_: &mut DbPool<'_>, _: CommunityId, _: PersonId... method unfollow (line 241) | async fn unfollow( type Form (line 257) | type Form = PersonBlockForm; type ObjectIdType (line 258) | type ObjectIdType = PersonId; type ObjectType (line 259) | type ObjectType = Person; method block (line 261) | async fn block(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult<... method unblock (line 274) | async fn unblock(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResul... method read_block (line 283) | async fn read_block( method read_blocks_for_person (line 300) | async fn read_blocks_for_person( method follower_inboxes (line 324) | pub async fn follower_inboxes( method note (line 340) | pub async fn note(pool: &mut DbPool<'_>, form: &PersonNoteForm) -> Lemmy... method delete_note (line 353) | pub async fn delete_note( method like (line 367) | pub async fn like( function test_crud (line 434) | async fn test_crud() -> LemmyResult<()> { function follow (line 486) | async fn follow() -> LemmyResult<()> { function test_aggregates (line 513) | async fn test_aggregates() -> LemmyResult<()> { function person_vote_counts (line 640) | async fn person_vote_counts() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/post.rs type InsertForm (line 53) | type InsertForm = PostInsertForm; type UpdateForm (line 54) | type UpdateForm = PostUpdateForm; type IdType (line 55) | type IdType = PostId; method create (line 57) | async fn create(pool: &mut DbPool<'_>, form: &Self::InsertForm) -> Lemmy... method update (line 66) | async fn update( method read (line 78) | async fn read(pool: &mut DbPool<'_>, id: PostId) -> LemmyResult { method insert_apub (line 89) | pub async fn insert_apub( method list_featured_for_community (line 106) | pub async fn list_featured_for_community( method list_for_sitemap (line 123) | pub async fn list_for_sitemap( method permadelete_for_creator (line 140) | pub async fn permadelete_for_creator( method creator_post_ids_in_community (line 159) | async fn creator_post_ids_in_community( method creator_post_ids_in_instance (line 177) | async fn creator_post_ids_in_instance( method update_removed_for_creator_and_community (line 194) | pub async fn update_removed_for_creator_and_community( method update_removed_for_creator_and_instance (line 211) | pub async fn update_removed_for_creator_and_instance( method update_removed_for_creator (line 229) | pub async fn update_removed_for_creator( method is_post_creator (line 244) | pub fn is_post_creator(person_id: PersonId, post_creator_id: PersonId) -... method read_from_apub_id (line 248) | pub async fn read_from_apub_id( method delete_from_apub_id (line 262) | pub async fn delete_from_apub_id( method user_scheduled_post_count (line 276) | pub async fn user_scheduled_post_count( method update_ranks (line 299) | pub async fn update_ranks(pool: &mut DbPool<'_>, post_id: PostId) -> Lem... method local_url (line 330) | pub fn local_url(&self, settings: &Settings) -> LemmyResult { method set_not_pending (line 336) | pub async fn set_not_pending(&self, pool: &mut DbPool<'_>) -> LemmyResul... type Form (line 349) | type Form = PostLikeForm; type IdType (line 350) | type IdType = PostId; method like (line 352) | async fn like(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult, form: &Self::Form) -> LemmyResult, form: &Self::Form) -> LemmyResult... method mark_as_unread (line 423) | pub async fn mark_as_unread( method mark_as_read (line 442) | pub async fn mark_as_read( method hide (line 466) | pub async fn hide(pool: &mut DbPool<'_>, form: &PostHideForm) -> LemmyRe... method unhide (line 479) | pub async fn unhide(pool: &mut DbPool<'_>, form: &PostHideForm) -> Lemmy... method update_read_comments (line 495) | pub async fn update_read_comments( method read (line 513) | pub async fn read( method update_notification_state (line 527) | pub async fn update_notification_state( method list_subscribers (line 550) | pub async fn list_subscribers( function test_crud (line 590) | async fn test_crud() -> LemmyResult<()> { function test_aggregates (line 730) | async fn test_aggregates() -> LemmyResult<()> { function test_aggregates_soft_delete (line 835) | async fn test_aggregates_soft_delete() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/post_report.rs type Form (line 19) | type Form = PostReportForm; type IdType (line 20) | type IdType = PostReportId; type ObjectIdType (line 21) | type ObjectIdType = PostId; method report (line 23) | async fn report(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult... method update_resolved (line 32) | async fn update_resolved( method resolve_apub (line 50) | async fn resolve_apub( method resolve_all_for_object (line 74) | async fn resolve_all_for_object( function init (line 105) | async fn init(pool: &mut DbPool<'_>) -> LemmyResult<(Person, PostReport)> { function test_resolve_post_report (line 134) | async fn test_resolve_post_report() -> LemmyResult<()> { function test_resolve_all_post_reports (line 154) | async fn test_resolve_all_post_reports() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/private_message.rs type InsertForm (line 26) | type InsertForm = PrivateMessageInsertForm; type UpdateForm (line 27) | type UpdateForm = PrivateMessageUpdateForm; type IdType (line 28) | type IdType = PrivateMessageId; method create (line 30) | async fn create(pool: &mut DbPool<'_>, form: &Self::InsertForm) -> Lemmy... method update (line 39) | async fn update( method insert_apub (line 54) | pub async fn insert_apub( method read_from_apub_id (line 73) | pub async fn read_from_apub_id( method local_url (line 85) | pub fn local_url(&self, settings: &Settings) -> LemmyResult { method update_removed_for_creator (line 90) | pub async fn update_removed_for_creator( method clear_deleted_by_recipient (line 107) | pub fn clear_deleted_by_recipient(&mut self, my_person: Option<&Person>) { function test_crud (line 130) | async fn test_crud() -> LemmyResult<()> { FILE: crates/db_schema/src/impls/private_message_report.rs type Form (line 18) | type Form = PrivateMessageReportForm; type IdType (line 19) | type IdType = PrivateMessageReportId; type ObjectIdType (line 20) | type ObjectIdType = PrivateMessageId; method report (line 22) | async fn report(pool: &mut DbPool<'_>, form: &Self::Form) -> LemmyResult... method update_resolved (line 31) | async fn update_resolved( method resolve_apub (line 48) | async fn resolve_apub( method resolve_all_for_object (line 58) | async fn resolve_all_for_object( FILE: crates/db_schema/src/impls/registration_application.rs type InsertForm (line 19) | type InsertForm = RegistrationApplicationInsertForm; type UpdateForm (line 20) | type UpdateForm = RegistrationApplicationUpdateForm; type IdType (line 21) | type IdType = RegistrationApplicationId; method create (line 23) | async fn create(pool: &mut DbPool<'_>, form: &Self::InsertForm) -> Lemmy... method update (line 32) | async fn update( method find_by_local_user_id (line 47) | pub async fn find_by_local_user_id( method last_updated (line 60) | pub async fn last_updated(pool: &mut DbPool<'_>) -> LemmyResult { method updated_published_duration (line 73) | pub fn updated_published_duration(&self) -> Option { method is_unread (line 81) | pub fn is_unread() -> _ { FILE: crates/db_schema/src/impls/secret.rs method init (line 10) | pub async fn init(pool: &mut DbPool<'_>) -> LemmyResult { method read_secrets (line 14) | async fn read_secrets(pool: &mut DbPool<'_>) -> LemmyResult { FILE: crates/db_schema/src/impls/site.rs type InsertForm (line 21) | type InsertForm = SiteInsertForm; type UpdateForm (line 22) | type UpdateForm = SiteUpdateForm; type IdType (line 23) | type IdType = SiteId; method read (line 26) | async fn read(_pool: &mut DbPool<'_>, _site_id: SiteId) -> LemmyResult, form: &Self::InsertForm) -> Lemmy... method update (line 54) | async fn update( method read_from_instance_id (line 69) | pub async fn read_from_instance_id( method read_from_apub_id (line 80) | pub async fn read_from_apub_id( method read_remote_sites (line 94) | pub async fn read_remote_sites(pool: &mut DbPool<'_>) -> LemmyResult Url { FILE: crates/db_schema/src/impls/tagline.rs type InsertForm (line 25) | type InsertForm = TaglineInsertForm; type UpdateForm (line 26) | type UpdateForm = TaglineUpdateForm; type IdType (line 27) | type IdType = TaglineId; method create (line 29) | async fn create(pool: &mut DbPool<'_>, form: &Self::InsertForm) -> Lemmy... method update (line 38) | async fn update( type PaginatedType (line 53) | type PaginatedType = Tagline; method to_cursor (line 55) | fn to_cursor(&self) -> CursorData { method from_cursor (line 59) | async fn from_cursor( method list (line 68) | pub async fn list( method get_random (line 88) | pub async fn get_random(pool: &mut DbPool<'_>) -> LemmyResult { FILE: crates/db_schema/src/lib.rs type SearchSortType (line 38) | pub enum SearchSortType { type CommunitySortType (line 50) | pub enum CommunitySortType { type LocalUserSortType (line 72) | pub enum LocalUserSortType { type MultiCommunitySortType (line 82) | pub enum MultiCommunitySortType { type MultiCommunityListingType (line 98) | pub enum MultiCommunityListingType { type SearchType (line 115) | pub enum SearchType { type NotificationTypeFilter (line 132) | pub enum NotificationTypeFilter { type ModlogKindFilter (line 146) | pub enum ModlogKindFilter { type PersonContentType (line 158) | pub enum PersonContentType { type ReportType (line 169) | pub enum ReportType { type PostFeatureType (line 184) | pub enum PostFeatureType { type LikeType (line 199) | pub enum LikeType { type Person1AliasAllColumnsTuple (line 215) | pub type Person1AliasAllColumnsTuple = ( type Person2AliasAllColumnsTuple (line 242) | pub type Person2AliasAllColumnsTuple = ( type MyInstancePersonsActionsAllColumnsTuple (line 269) | pub type MyInstancePersonsActionsAllColumnsTuple = ( FILE: crates/db_schema/src/newtypes.rs type PostId (line 11) | pub struct PostId(pub i32); method fmt (line 14) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type CommentId (line 24) | pub struct CommentId(pub i32); method fmt (line 27) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type PostOrCommentId (line 32) | pub enum PostOrCommentId { type CommunityId (line 42) | pub struct CommunityId(pub i32); type LocalUserId (line 49) | pub struct LocalUserId(pub i32); type PrivateMessageId (line 56) | pub struct PrivateMessageId(pub i32); method fmt (line 59) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type NotificationId (line 68) | pub struct NotificationId(pub i32); type CommentReportId (line 75) | pub struct CommentReportId(pub i32); type CommunityReportId (line 82) | pub struct CommunityReportId(pub i32); type PostReportId (line 89) | pub struct PostReportId(pub i32); type PrivateMessageReportId (line 96) | pub struct PrivateMessageReportId(pub i32); type SiteId (line 103) | pub struct SiteId(pub i32); type LanguageId (line 110) | pub struct LanguageId(pub i32); type ActivityId (line 118) | pub struct ActivityId(pub i64); type LocalSiteId (line 125) | pub struct LocalSiteId(i32); type CustomEmojiId (line 132) | pub struct CustomEmojiId(i32); type TaglineId (line 139) | pub struct TaglineId(pub i32); type RegistrationApplicationId (line 146) | pub struct RegistrationApplicationId(pub i32); type OAuthProviderId (line 153) | pub struct OAuthProviderId(pub i32); type LtreeDef (line 159) | pub struct LtreeDef(pub String); type ReportCombinedId (line 164) | pub struct ReportCombinedId(i32); type PersonContentCombinedId (line 169) | pub struct PersonContentCombinedId(i32); type PersonSavedCombinedId (line 174) | pub struct PersonSavedCombinedId(i32); type PersonLikedCombinedId (line 179) | pub struct PersonLikedCombinedId(i32); type SearchCombinedId (line 184) | pub struct SearchCombinedId(i32); type ModlogId (line 190) | pub struct ModlogId(pub i32); type MultiCommunityId (line 196) | pub struct MultiCommunityId(pub i32); type CommunityTagId (line 203) | pub struct CommunityTagId(pub i32); FILE: crates/db_schema/src/source/activity.rs type ActivitySendTargets (line 15) | pub struct ActivitySendTargets { method empty (line 26) | pub fn empty() -> ActivitySendTargets { method to_inbox (line 29) | pub fn to_inbox(url: Url) -> ActivitySendTargets { method to_local_community_followers (line 34) | pub fn to_local_community_followers(id: CommunityId) -> ActivitySendTa... method to_all_instances (line 39) | pub fn to_all_instances() -> ActivitySendTargets { method set_all_instances (line 44) | pub fn set_all_instances(&mut self) { method add_inbox (line 48) | pub fn add_inbox(&mut self, inbox: Url) { method add_inboxes (line 51) | pub fn add_inboxes(&mut self, inboxes: Vec) { type SentActivity (line 60) | pub struct SentActivity { type SentActivityForm (line 75) | pub struct SentActivityForm { type ReceivedActivity (line 91) | pub struct ReceivedActivity { FILE: crates/db_schema/src/source/actor_language.rs type LocalUserLanguage (line 11) | pub struct LocalUserLanguage { type LocalUserLanguageForm (line 19) | pub struct LocalUserLanguageForm { type CommunityLanguage (line 32) | pub struct CommunityLanguage { type CommunityLanguageForm (line 40) | pub struct CommunityLanguageForm { type SiteLanguage (line 53) | pub struct SiteLanguage { type SiteLanguageForm (line 61) | pub struct SiteLanguageForm { FILE: crates/db_schema/src/source/combined/person_content.rs type PersonContentCombined (line 21) | pub struct PersonContentCombined { FILE: crates/db_schema/src/source/combined/person_liked.rs type PersonLikedCombined (line 21) | pub struct PersonLikedCombined { FILE: crates/db_schema/src/source/combined/person_saved.rs type PersonSavedCombined (line 21) | pub struct PersonSavedCombined { FILE: crates/db_schema/src/source/combined/report.rs type ReportCombined (line 26) | pub struct ReportCombined { FILE: crates/db_schema/src/source/combined/search.rs type SearchCombined (line 21) | pub struct SearchCombined { FILE: crates/db_schema/src/source/comment.rs type Comment (line 28) | pub struct Comment { type CommentInsertForm (line 75) | pub struct CommentInsertForm { type CommentUpdateForm (line 104) | pub struct CommentUpdateForm { type CommentActions (line 131) | pub struct CommentActions { type CommentLikeForm (line 150) | pub struct CommentLikeForm { method new (line 159) | pub fn new(comment_id: CommentId, person_id: PersonId, is_upvote: Opti... type CommentSavedForm (line 178) | pub struct CommentSavedForm { FILE: crates/db_schema/src/source/comment_report.rs type CommentReport (line 21) | pub struct CommentReport { type CommentReportForm (line 37) | pub struct CommentReportForm { FILE: crates/db_schema/src/source/community.rs type Community (line 29) | pub struct Community { type CommunityInsertForm (line 102) | pub struct CommunityInsertForm { type CommunityUpdateForm (line 152) | pub struct CommunityUpdateForm { type CommunityActions (line 193) | pub struct CommunityActions { type CommunityModeratorForm (line 219) | pub struct CommunityModeratorForm { type CommunityPersonBanForm (line 229) | pub struct CommunityPersonBanForm { type CommunityFollowerForm (line 241) | pub struct CommunityFollowerForm { type CommunityBlockForm (line 254) | pub struct CommunityBlockForm { FILE: crates/db_schema/src/source/community_community_follow.rs type CommunityCommunityFollow (line 8) | pub struct CommunityCommunityFollow { FILE: crates/db_schema/src/source/community_report.rs type CommunityReport (line 25) | pub struct CommunityReport { type CommunityReportForm (line 45) | pub struct CommunityReportForm { FILE: crates/db_schema/src/source/community_tag.rs type CommunityTag (line 21) | pub struct CommunityTag { type CommunityTagInsertForm (line 38) | pub struct CommunityTagInsertForm { type CommunityTagUpdateForm (line 51) | pub struct CommunityTagUpdateForm { type CommunityTagsView (line 68) | pub struct CommunityTagsView(pub Vec); type PostCommunityTag (line 85) | pub struct PostCommunityTag { type PostCommunityTagForm (line 94) | pub struct PostCommunityTagForm { FILE: crates/db_schema/src/source/custom_emoji.rs type CustomEmoji (line 17) | pub struct CustomEmoji { type CustomEmojiInsertForm (line 30) | pub struct CustomEmojiInsertForm { type CustomEmojiUpdateForm (line 40) | pub struct CustomEmojiUpdateForm { FILE: crates/db_schema/src/source/custom_emoji_keyword.rs type CustomEmojiKeyword (line 21) | pub struct CustomEmojiKeyword { type CustomEmojiKeywordInsertForm (line 29) | pub struct CustomEmojiKeywordInsertForm { FILE: crates/db_schema/src/source/email_verification.rs type EmailVerification (line 10) | pub struct EmailVerification { type EmailVerificationForm (line 20) | pub struct EmailVerificationForm { FILE: crates/db_schema/src/source/federation_allowlist.rs type FederationAllowList (line 22) | pub struct FederationAllowList { type FederationAllowListForm (line 32) | pub struct FederationAllowListForm { FILE: crates/db_schema/src/source/federation_blocklist.rs type FederationBlockList (line 22) | pub struct FederationBlockList { type FederationBlockListForm (line 33) | pub struct FederationBlockListForm { FILE: crates/db_schema/src/source/federation_queue_state.rs type FederationQueueState (line 19) | pub struct FederationQueueState { FILE: crates/db_schema/src/source/images.rs type LocalImage (line 27) | pub struct LocalImage { type LocalImageForm (line 38) | pub struct LocalImageForm { type RemoteImage (line 52) | pub struct RemoteImage { type ImageDetails (line 65) | pub struct ImageDetails { type ImageDetailsInsertForm (line 76) | pub struct ImageDetailsInsertForm { FILE: crates/db_schema/src/source/instance.rs type Instance (line 25) | pub struct Instance { type InstanceForm (line 40) | pub struct InstanceForm { type InstanceActions (line 64) | pub struct InstanceActions { type InstanceCommunitiesBlockForm (line 82) | pub struct InstanceCommunitiesBlockForm { type InstancePersonsBlockForm (line 92) | pub struct InstancePersonsBlockForm { type InstanceBanForm (line 102) | pub struct InstanceBanForm { FILE: crates/db_schema/src/source/keyword_block.rs type LocalUserKeywordBlock (line 11) | pub struct LocalUserKeywordBlock { type LocalUserKeywordBlockForm (line 18) | pub struct LocalUserKeywordBlockForm { FILE: crates/db_schema/src/source/language.rs type Language (line 13) | pub struct Language { FILE: crates/db_schema/src/source/local_site.rs type LocalSite (line 29) | pub struct LocalSite { type LocalSiteInsertForm (line 121) | pub struct LocalSiteInsertForm { type LocalSiteUpdateForm (line 200) | pub struct LocalSiteUpdateForm { FILE: crates/db_schema/src/source/local_site_rate_limit.rs type LocalSiteRateLimit (line 21) | pub struct LocalSiteRateLimit { type LocalSiteRateLimitInsertForm (line 44) | pub struct LocalSiteRateLimitInsertForm { type LocalSiteRateLimitUpdateForm (line 79) | pub struct LocalSiteRateLimitUpdateForm { FILE: crates/db_schema/src/source/local_site_url_blocklist.rs type LocalSiteUrlBlocklist (line 14) | pub struct LocalSiteUrlBlocklist { type LocalSiteUrlBlocklistForm (line 24) | pub struct LocalSiteUrlBlocklistForm { FILE: crates/db_schema/src/source/local_user.rs type LocalUser (line 22) | pub struct LocalUser { type LocalUserInsertForm (line 86) | pub struct LocalUserInsertForm { type LocalUserUpdateForm (line 158) | pub struct LocalUserUpdateForm { FILE: crates/db_schema/src/source/login_token.rs type LoginToken (line 18) | pub struct LoginToken { type LoginTokenCreateForm (line 33) | pub struct LoginTokenCreateForm { FILE: crates/db_schema/src/source/mod.rs function placeholder_apub_url (line 52) | fn placeholder_apub_url() -> DbUrl { FILE: crates/db_schema/src/source/modlog.rs type Modlog (line 20) | pub struct Modlog { type ModlogInsertForm (line 45) | pub struct ModlogInsertForm<'a> { FILE: crates/db_schema/src/source/multi_community.rs type MultiCommunity (line 30) | pub struct MultiCommunity { type MultiCommunityInsertForm (line 62) | pub struct MultiCommunityInsertForm { type MultiCommunityUpdateForm (line 90) | pub struct MultiCommunityUpdateForm { type MultiCommunityFollow (line 104) | pub struct MultiCommunityFollow { type MultiCommunityFollowForm (line 113) | pub struct MultiCommunityFollowForm { type MultiCommunityEntry (line 130) | pub struct MultiCommunityEntry { type MultiCommunityEntryForm (line 138) | pub struct MultiCommunityEntryForm { FILE: crates/db_schema/src/source/notification.rs type Notification (line 23) | pub struct Notification { type NotificationInsertForm (line 39) | pub struct NotificationInsertForm { method new_post (line 54) | pub fn new_post(post: &Post, recipient_id: PersonId, kind: Notificatio... method new_comment (line 60) | pub fn new_comment(comment: &Comment, recipient_id: PersonId, kind: No... method new_private_message (line 66) | pub fn new_private_message(private_message: &PrivateMessage) -> Self { method new_mod_action (line 76) | pub fn new_mod_action(modlog_id: ModlogId, recipient_id: PersonId, cre... FILE: crates/db_schema/src/source/oauth_account.rs type OAuthAccount (line 16) | pub struct OAuthAccount { type OAuthAccountInsertForm (line 27) | pub struct OAuthAccountInsertForm { FILE: crates/db_schema/src/source/oauth_provider.rs type AdminOAuthProvider (line 17) | pub struct AdminOAuthProvider { type PublicOAuthProvider (line 67) | pub struct PublicOAuthProvider { type OAuthProviderInsertForm (line 88) | pub struct OAuthProviderInsertForm { type OAuthProviderUpdateForm (line 107) | pub struct OAuthProviderUpdateForm { FILE: crates/db_schema/src/source/password_reset_request.rs type PasswordResetRequest (line 11) | pub struct PasswordResetRequest { type PasswordResetRequestForm (line 20) | pub struct PasswordResetRequestForm { FILE: crates/db_schema/src/source/person.rs type Person (line 24) | pub struct Person { type PersonInsertForm (line 67) | pub struct PersonInsertForm { type PersonUpdateForm (line 104) | pub struct PersonUpdateForm { type PersonActions (line 133) | pub struct PersonActions { type PersonFollowerForm (line 159) | pub struct PersonFollowerForm { type PersonBlockForm (line 170) | pub struct PersonBlockForm { type PersonNoteForm (line 180) | pub struct PersonNoteForm { FILE: crates/db_schema/src/source/post.rs type Post (line 25) | pub struct Post { type PostInsertForm (line 97) | pub struct PostInsertForm { type PostUpdateForm (line 152) | pub struct PostUpdateForm { type PostActions (line 191) | pub struct PostActions { type PostLikeForm (line 217) | pub struct PostLikeForm { method new (line 226) | pub fn new(post_id: PostId, person_id: PersonId, is_upvote: Option) -> LemmyResult { method delete (line 45) | pub async fn delete(self, pool: &mut DbPool<'_>) -> LemmyResult<()> { FILE: crates/db_schema/src/traits.rs type Followable (line 9) | pub trait Followable: Sized { method follow (line 12) | fn follow( method follow_accepted (line 16) | fn follow_accepted( method unfollow (line 21) | fn unfollow( type Likeable (line 28) | pub trait Likeable: Sized { method like (line 31) | fn like( method remove_all_likes (line 36) | fn remove_all_likes( method remove_likes_in_community (line 41) | fn remove_likes_in_community( type Bannable (line 48) | pub trait Bannable: Sized { method ban (line 50) | fn ban( method unban (line 54) | fn unban( type Saveable (line 60) | pub trait Saveable: Sized { method save (line 62) | fn save( method unsave (line 66) | fn unsave( type Blockable (line 72) | pub trait Blockable: Sized { method block (line 76) | fn block( method unblock (line 80) | fn unblock( method read_block (line 84) | fn read_block( method read_blocks_for_person (line 90) | fn read_blocks_for_person( type Reportable (line 97) | pub trait Reportable: Sized { method report (line 101) | fn report( method update_resolved (line 105) | fn update_resolved( method resolve_apub (line 111) | fn resolve_apub( method resolve_all_for_object (line 117) | fn resolve_all_for_object( type ApubActor (line 124) | pub trait ApubActor: Sized { method read_from_apub_id (line 125) | fn read_from_apub_id( method read_from_name (line 132) | fn read_from_name( method generate_local_actor_url (line 139) | fn generate_local_actor_url(name: &str, settings: &Settings) -> LemmyR... method actor_url (line 140) | fn actor_url(&self, settings: &Settings) -> LemmyResult; type InternalToCombinedView (line 143) | pub trait InternalToCombinedView { method map_to_enum (line 147) | fn map_to_enum(self) -> Option; FILE: crates/db_schema/src/utils/mod.rs constant FETCH_LIMIT_DEFAULT (line 10) | const FETCH_LIMIT_DEFAULT: i64 = 20; constant FETCH_LIMIT_MAX (line 11) | pub const FETCH_LIMIT_MAX: usize = 50; constant SITEMAP_LIMIT (line 12) | pub const SITEMAP_LIMIT: i64 = 50000; constant SITEMAP_DAYS (line 13) | pub const SITEMAP_DAYS: TimeDelta = TimeDelta::days(31); constant RANK_DEFAULT (line 14) | pub const RANK_DEFAULT: f32 = 0.0001; constant DELETED_REPLACEMENT_TEXT (line 15) | pub const DELETED_REPLACEMENT_TEXT: &str = "*Permanently Deleted*"; function limit_fetch (line 17) | pub fn limit_fetch(limit: Option, no_limit: Option) -> LemmyR... function limit_fetch_check (line 28) | pub fn limit_fetch_check(limit: i64) -> LemmyResult { function format_actor_url (line 36) | pub(crate) fn format_actor_url( FILE: crates/db_schema/src/utils/queries/filters.rs function filter_blocked (line 25) | pub fn filter_blocked() -> _ { type IsSubscribedType (line 38) | type IsSubscribedType = function filter_is_subscribed (line 41) | pub fn filter_is_subscribed() -> IsSubscribedType { type IsNotUnlistedType (line 45) | type IsNotUnlistedType = function filter_not_unlisted_or_is_subscribed (line 49) | pub fn filter_not_unlisted_or_is_subscribed() -> _ { function filter_suggested_communities (line 56) | pub fn filter_suggested_communities() -> _ { FILE: crates/db_schema/src/utils/queries/selects.rs function creator_is_admin (line 43) | pub fn creator_is_admin() -> _ { function local_user_is_admin (line 52) | pub fn local_user_is_admin() -> _ { function comment_creator_is_admin (line 58) | pub fn comment_creator_is_admin() -> _ { function post_creator_is_admin (line 69) | pub fn post_creator_is_admin() -> _ { function creator_is_moderator (line 80) | pub fn creator_is_moderator() -> _ { function creator_banned_from_community (line 88) | pub fn creator_banned_from_community() -> _ { function creator_ban_expires_from_community (line 96) | pub fn creator_ban_expires_from_community() -> _ { function creator_local_banned (line 104) | fn creator_local_banned() -> _ { function creator_local_ban_expires (line 112) | fn creator_local_ban_expires() -> _ { function creator_community_instance_banned (line 120) | fn creator_community_instance_banned() -> _ { function creator_community_instance_ban_expires (line 128) | fn creator_community_instance_ban_expires() -> _ { function creator_home_banned (line 136) | pub fn creator_home_banned() -> _ { function creator_home_ban_expires (line 145) | pub fn creator_home_ban_expires() -> _ { function creator_local_home_banned (line 155) | pub fn creator_local_home_banned() -> _ { type CreatorLocalHomeBanExpiresType (line 159) | pub type CreatorLocalHomeBanExpiresType = coalesce_2_nullable< function creator_local_home_ban_expires (line 165) | pub fn creator_local_home_ban_expires() -> CreatorLocalHomeBanExpiresType { function creator_local_home_community_banned (line 174) | pub fn creator_local_home_community_banned() -> _ { type CreatorLocalHomeCommunityBanExpiresType (line 180) | pub type CreatorLocalHomeCommunityBanExpiresType = coalesce_3_nullable< function creator_local_home_community_ban_expires (line 187) | pub fn creator_local_home_community_ban_expires() -> CreatorLocalHomeCom... function am_higher_mod (line 196) | fn am_higher_mod() -> _ { function local_user_can_mod (line 217) | pub fn local_user_can_mod() -> _ { function local_user_can_mod_post (line 223) | pub fn local_user_can_mod_post() -> _ { function local_user_can_mod_comment (line 229) | pub fn local_user_can_mod_comment() -> _ { function local_user_community_can_mod (line 235) | pub fn local_user_community_can_mod() -> _ { function comment_select_remove_deletes (line 246) | pub fn comment_select_remove_deletes() -> _ { function post_select_remove_deletes (line 288) | pub fn post_select_remove_deletes() -> _ { function post_community_tags_fragment (line 345) | pub fn post_community_tags_fragment() -> _ { function community_tags_fragment (line 358) | pub fn community_tags_fragment() -> _ { function person1_select (line 374) | pub fn person1_select() -> Person1AliasAllColumnsTuple { function person2_select (line 379) | pub fn person2_select() -> Person2AliasAllColumnsTuple { FILE: crates/db_schema_file/src/enums.rs type PostSortType (line 17) | pub enum PostSortType { type CommentSortType (line 41) | pub enum CommentSortType { type ListingType (line 61) | pub enum ListingType { type RegistrationMode (line 86) | pub enum RegistrationMode { type PostListingMode (line 107) | pub enum PostListingMode { type CommunityVisibility (line 128) | pub enum CommunityVisibility { method can_federate (line 144) | pub fn can_federate(&self) -> bool { method can_view_without_login (line 148) | pub fn can_view_without_login(&self) -> bool { type FederationMode (line 165) | pub enum FederationMode { type ImageMode (line 186) | pub enum ImageMode { type ActorType (line 213) | pub enum ActorType { type CommunityFollowerState (line 230) | pub enum CommunityFollowerState { type TagColor (line 247) | pub enum TagColor { type VoteShow (line 272) | pub enum VoteShow { type PostNotificationsMode (line 290) | pub enum PostNotificationsMode { type CommunityNotificationsMode (line 308) | pub enum CommunityNotificationsMode { type NotificationType (line 327) | pub enum NotificationType { type ModlogKind (line 348) | pub enum ModlogKind { FILE: crates/db_schema_file/src/joins.rs function creator_local_user_admin_join (line 31) | pub fn creator_local_user_admin_join() -> _ { function community_join (line 40) | pub fn community_join() -> _ { function creator_home_instance_actions_join (line 44) | pub fn creator_home_instance_actions_join() -> _ { function creator_community_instance_actions_join (line 57) | pub fn creator_community_instance_actions_join() -> _ { function creator_local_instance_actions_join (line 74) | pub fn creator_local_instance_actions_join(local_instance_id: InstanceId... function my_instance_communities_actions_join (line 89) | pub fn my_instance_communities_actions_join(my_person_id: Option) ... function my_instance_persons_actions_join_1 (line 110) | pub fn my_instance_persons_actions_join_1(my_person_id: Option... function image_details_join (line 125) | pub fn image_details_join() -> _ { function my_community_actions_join (line 130) | pub fn my_community_actions_join(my_person_id: Option) -> _ { function my_post_actions_join (line 139) | pub fn my_post_actions_join(my_person_id: Option) -> _ { function my_comment_actions_join (line 148) | pub fn my_comment_actions_join(my_person_id: Option) -> _ { function my_person_actions_join (line 157) | pub fn my_person_actions_join(my_person_id: Option) -> _ { function my_local_user_admin_join (line 166) | pub fn my_local_user_admin_join(my_person_id: Option) -> _ { function my_multi_community_follower_join (line 176) | pub fn my_multi_community_follower_join(my_person_id: Option) ... function creator_community_actions_join (line 189) | pub fn creator_community_actions_join() -> _ { FILE: crates/db_schema_file/src/lib.rs type PersonId (line 34) | pub struct PersonId(pub i32); type InstanceId (line 43) | pub struct InstanceId(pub i32); method inner (line 46) | pub fn inner(self) -> i32 { FILE: crates/db_schema_file/src/schema.rs type ActorTypeEnum (line 6) | pub struct ActorTypeEnum; type CommentSortTypeEnum (line 10) | pub struct CommentSortTypeEnum; type CommunityFollowerState (line 14) | pub struct CommunityFollowerState; type CommunityNotificationsModeEnum (line 18) | pub struct CommunityNotificationsModeEnum; type CommunityVisibility (line 22) | pub struct CommunityVisibility; type FederationModeEnum (line 26) | pub struct FederationModeEnum; type ImageModeEnum (line 30) | pub struct ImageModeEnum; type ListingTypeEnum (line 34) | pub struct ListingTypeEnum; type Ltree (line 38) | pub struct Ltree; type ModlogKind (line 42) | pub struct ModlogKind; type NotificationTypeEnum (line 46) | pub struct NotificationTypeEnum; type PostListingModeEnum (line 50) | pub struct PostListingModeEnum; type PostNotificationsModeEnum (line 54) | pub struct PostNotificationsModeEnum; type PostSortTypeEnum (line 58) | pub struct PostSortTypeEnum; type RegistrationModeEnum (line 62) | pub struct RegistrationModeEnum; type TagColorEnum (line 66) | pub struct TagColorEnum; type VoteShowEnum (line 70) | pub struct VoteShowEnum; FILE: crates/db_schema_file/src/table_impls.rs type Key (line 10) | type Key = (comment_actions::person_id, comment_actions::comment_id); type AdditionalIgnoredColumns (line 11) | type AdditionalIgnoredColumns = (); type Key (line 15) | type Key = ( type AdditionalIgnoredColumns (line 19) | type AdditionalIgnoredColumns = (); type Key (line 23) | type Key = (instance_actions::person_id, instance_actions::instance_id); type AdditionalIgnoredColumns (line 24) | type AdditionalIgnoredColumns = (); type Key (line 28) | type Key = (person_actions::person_id, person_actions::target_id); type AdditionalIgnoredColumns (line 29) | type AdditionalIgnoredColumns = (); type Key (line 33) | type Key = (post_actions::person_id, post_actions::post_id); type AdditionalIgnoredColumns (line 34) | type AdditionalIgnoredColumns = (); FILE: crates/db_views/comment/src/api.rs type CommentResponse (line 13) | pub struct CommentResponse { type CreateComment (line 22) | pub struct CreateComment { type CreateCommentLike (line 33) | pub struct CreateCommentLike { type DeleteComment (line 44) | pub struct DeleteComment { type DistinguishComment (line 54) | pub struct DistinguishComment { type GetComment (line 64) | pub struct GetComment { type GetComments (line 73) | pub struct GetComments { type ListCommentLikes (line 93) | pub struct ListCommentLikes { type LockComment (line 104) | pub struct LockComment { type PurgeComment (line 115) | pub struct PurgeComment { type RemoveComment (line 125) | pub struct RemoveComment { type SaveComment (line 138) | pub struct SaveComment { type EditComment (line 148) | pub struct EditComment { type CreateCommentWarning (line 159) | pub struct CreateCommentWarning { FILE: crates/db_views/comment/src/impls.rs type PaginatedType (line 65) | type PaginatedType = Comment; method to_cursor (line 66) | fn to_cursor(&self) -> CursorData { method from_cursor (line 70) | async fn from_cursor( method joins (line 80) | fn joins(my_person_id: Option, local_instance_id: InstanceId) ... method read (line 111) | pub async fn read( method map_to_slim (line 144) | pub fn map_to_slim(self) -> CommentSlimView { type CommentQuery (line 160) | pub struct CommentQuery<'a> { function list (line 174) | pub async fn list( type Data (line 366) | struct Data { function init_data (line 379) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function test_crud (line 496) | async fn test_crud() -> LemmyResult<()> { function test_comment_tree (line 552) | async fn test_comment_tree() -> LemmyResult<()> { function test_languages (line 631) | async fn test_languages() -> LemmyResult<()> { function test_distinguished_first (line 690) | async fn test_distinguished_first() -> LemmyResult<()> { function test_creator_is_moderator (line 715) | async fn test_creator_is_moderator() -> LemmyResult<()> { function test_creator_is_admin (line 744) | async fn test_creator_is_admin() -> LemmyResult<()> { function cleanup (line 767) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function local_only_instance (line 780) | async fn local_only_instance() -> LemmyResult<()> { function comment_listing_local_user_banned_from_community (line 828) | async fn comment_listing_local_user_banned_from_community() -> LemmyResu... function comment_listing_local_user_not_banned_from_community (line 871) | async fn comment_listing_local_user_not_banned_from_community() -> Lemmy... function comment_listings_hide_nsfw (line 891) | async fn comment_listings_hide_nsfw() -> LemmyResult<()> { function comment_listing_private_community (line 920) | async fn comment_listing_private_community() -> LemmyResult<()> { function comment_removed (line 1013) | async fn comment_removed() -> LemmyResult<()> { FILE: crates/db_views/comment/src/lib.rs type CommentView (line 39) | pub struct CommentView { type CommentSlimView (line 116) | pub struct CommentSlimView { FILE: crates/db_views/community/src/api.rs type AddModToCommunity (line 22) | pub struct AddModToCommunity { type AddModToCommunityResponse (line 32) | pub struct AddModToCommunityResponse { type ApproveCommunityPendingFollower (line 39) | pub struct ApproveCommunityPendingFollower { type BanFromCommunity (line 50) | pub struct BanFromCommunity { type BlockCommunity (line 68) | pub struct BlockCommunity { type CommunityIdQuery (line 78) | pub struct CommunityIdQuery { type CommunityResponse (line 86) | pub struct CommunityResponse { type CreateCommunity (line 96) | pub struct CreateCommunity { type DeleteCommunity (line 122) | pub struct DeleteCommunity { type EditCommunity (line 132) | pub struct EditCommunity { type FollowCommunity (line 152) | pub struct FollowCommunity { type GetCommunity (line 163) | pub struct GetCommunity { type GetCommunityResponse (line 174) | pub struct GetCommunityResponse { type GetRandomCommunity (line 186) | pub struct GetRandomCommunity { type HideCommunity (line 196) | pub struct HideCommunity { type ListCommunities (line 207) | pub struct ListCommunities { type PurgeCommunity (line 223) | pub struct PurgeCommunity { type RemoveCommunity (line 233) | pub struct RemoveCommunity { type TransferCommunity (line 243) | pub struct TransferCommunity { type CreateMultiCommunity (line 251) | pub struct CreateMultiCommunity { type EditMultiCommunity (line 261) | pub struct EditMultiCommunity { type CreateOrDeleteMultiCommunityEntry (line 272) | pub struct CreateOrDeleteMultiCommunityEntry { type ListMultiCommunities (line 280) | pub struct ListMultiCommunities { type GetMultiCommunity (line 294) | pub struct GetMultiCommunity { type GetMultiCommunityResponse (line 302) | pub struct GetMultiCommunityResponse { type MultiCommunityResponse (line 310) | pub struct MultiCommunityResponse { type FollowMultiCommunity (line 317) | pub struct FollowMultiCommunity { type EditCommunityNotifications (line 326) | pub struct EditCommunityNotifications { type CreateCommunityTag (line 336) | pub struct CreateCommunityTag { type EditCommunityTag (line 349) | pub struct EditCommunityTag { type DeleteCommunityTag (line 361) | pub struct DeleteCommunityTag { FILE: crates/db_views/community/src/impls.rs method joins (line 61) | fn joins(person_id: Option) -> _ { method read (line 73) | pub async fn read( type PaginatedType (line 102) | type PaginatedType = Community; method to_cursor (line 103) | fn to_cursor(&self) -> CursorData { method from_cursor (line 107) | async fn from_cursor( type CommunityQuery (line 116) | pub struct CommunityQuery<'a> { function list (line 128) | pub async fn list( method joins (line 223) | fn joins(person_id: Option) -> _ { method read (line 232) | pub async fn read( type PaginatedType (line 249) | type PaginatedType = MultiCommunity; method to_cursor (line 250) | fn to_cursor(&self) -> CursorData { method from_cursor (line 254) | async fn from_cursor( type MultiCommunityQuery (line 263) | pub struct MultiCommunityQuery { method list (line 275) | pub async fn list(self, pool: &mut DbPool<'_>) -> LemmyResult) -> LemmyResult { function cleanup (line 456) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function follow_state (line 468) | async fn follow_state() -> LemmyResult<()> { function local_only_community (line 540) | async fn local_only_community() -> LemmyResult<()> { function community_sort_name (line 585) | async fn community_sort_name() -> LemmyResult<()> { function can_mod (line 615) | async fn can_mod() -> LemmyResult<()> { function test_multi_community_list (line 662) | async fn test_multi_community_list() -> LemmyResult<()> { FILE: crates/db_views/community/src/lib.rs type CommunityView (line 31) | pub struct CommunityView { type MultiCommunityView (line 56) | pub struct MultiCommunityView { FILE: crates/db_views/community_follower/src/impls.rs method joins (line 28) | fn joins() -> _ { method get_instance_followed_community_inboxes (line 36) | pub async fn get_instance_followed_community_inboxes( method count_community_followers (line 62) | pub async fn count_community_followers( method for_person (line 76) | pub async fn for_person(pool: &mut DbPool<'_>, person_id: PersonId) -> L... method is_follower (line 93) | pub async fn is_follower( FILE: crates/db_views/community_follower/src/lib.rs type CommunityFollowerView (line 17) | pub struct CommunityFollowerView { type PendingFollow (line 30) | pub struct PendingFollow { FILE: crates/db_views/community_follower_approval/src/api.rs type ListCommunityPendingFollows (line 9) | pub struct ListCommunityPendingFollows { FILE: crates/db_views/community_follower_approval/src/impls.rs method joins (line 47) | fn joins() -> _ { method list_approval_required (line 71) | pub async fn list_approval_required( method count_approval_required (line 155) | pub async fn count_approval_required( method check_private_community_action (line 174) | pub async fn check_private_community_action( method check_has_followers_from_instance (line 194) | pub async fn check_has_followers_from_instance( type PaginatedType (line 215) | type PaginatedType = CommunityActions; method to_cursor (line 217) | fn to_cursor(&self) -> CursorData { method from_cursor (line 221) | async fn from_cursor( function test_has_followers_from_instance (line 255) | async fn test_has_followers_from_instance() -> LemmyResult<()> { function test_pending_followers (line 324) | async fn test_pending_followers() -> LemmyResult<()> { FILE: crates/db_views/community_follower_approval/src/lib.rs type PendingFollowerView (line 18) | pub struct PendingFollowerView { FILE: crates/db_views/community_moderator/src/impls.rs method joins (line 26) | fn joins() -> _ { method check_is_community_moderator (line 33) | pub async fn check_is_community_moderator( method is_community_moderator_of_any (line 50) | pub async fn is_community_moderator_of_any( method for_community (line 64) | pub async fn for_community( method top_mod_for_community (line 78) | pub async fn top_mod_for_community( method for_person (line 93) | pub async fn for_person( method get_community_first_mods (line 126) | pub async fn get_community_first_mods(pool: &mut DbPool<'_>) -> LemmyRes... method check (line 144) | pub async fn check( FILE: crates/db_views/community_moderator/src/lib.rs type CommunityModeratorView (line 15) | pub struct CommunityModeratorView { type CommunityPersonBanView (line 26) | pub struct CommunityPersonBanView { FILE: crates/db_views/custom_emoji/src/api.rs type CreateCustomEmoji (line 11) | pub struct CreateCustomEmoji { type CustomEmojiResponse (line 23) | pub struct CustomEmojiResponse { type DeleteCustomEmoji (line 31) | pub struct DeleteCustomEmoji { type EditCustomEmoji (line 39) | pub struct EditCustomEmoji { type ListCustomEmojis (line 53) | pub struct ListCustomEmojis { type ListCustomEmojisResponse (line 61) | pub struct ListCustomEmojisResponse { FILE: crates/db_views/custom_emoji/src/impls.rs type SelectionType (line 13) | type SelectionType = ( function selection (line 18) | fn selection() -> SelectionType { type CustomEmojiTuple (line 24) | type CustomEmojiTuple = (CustomEmoji, Option); method joins (line 29) | fn joins() -> _ { method get (line 35) | pub async fn get(pool: &mut DbPool<'_>, emoji_id: CustomEmojiId) -> Lemm... method list (line 52) | pub async fn list(pool: &mut DbPool<'_>, category: &Option) -> L... method from_tuple_to_vec (line 71) | fn from_tuple_to_vec(items: Vec) -> Vec { FILE: crates/db_views/custom_emoji/src/lib.rs type CustomEmojiView (line 19) | pub struct CustomEmojiView { FILE: crates/db_views/local_image/src/api.rs type DeleteImageParams (line 9) | pub struct DeleteImageParams { type ImageGetParams (line 17) | pub struct ImageGetParams { type ImageProxyParams (line 26) | pub struct ImageProxyParams { type ListMedia (line 37) | pub struct ListMedia { type UploadImageResponse (line 46) | pub struct UploadImageResponse { FILE: crates/db_views/local_image/src/impls.rs method joins (line 27) | fn joins() -> _ { method get_all_paged_by_person_id (line 33) | pub async fn get_all_paged_by_person_id( method get_all_by_person_id (line 60) | pub async fn get_all_by_person_id( method get_all_paged (line 73) | pub async fn get_all_paged( type PaginatedType (line 97) | type PaginatedType = LocalImage; method to_cursor (line 98) | fn to_cursor(&self) -> CursorData { method from_cursor (line 103) | async fn from_cursor( FILE: crates/db_views/local_image/src/lib.rs type LocalImageView (line 18) | pub struct LocalImageView { FILE: crates/db_views/local_user/src/api.rs type AdminListUsers (line 10) | pub struct AdminListUsers { FILE: crates/db_views/local_user/src/impls.rs method joins (line 47) | fn joins() -> _ { method read (line 53) | pub async fn read(pool: &mut DbPool<'_>, local_user_id: LocalUserId) -> ... method read_person (line 63) | pub async fn read_person(pool: &mut DbPool<'_>, person_id: PersonId) -> ... method read_from_name (line 73) | pub async fn read_from_name(pool: &mut DbPool<'_>, name: &str) -> LemmyR... method find_by_email_or_name (line 83) | pub async fn find_by_email_or_name( method find_by_email (line 100) | pub async fn find_by_email(pool: &mut DbPool<'_>, from_email: &str) -> L... method find_by_oauth_id (line 110) | pub async fn find_by_oauth_id( method list_admins_with_emails (line 126) | pub async fn list_admins_with_emails(pool: &mut DbPool<'_>) -> LemmyResu... method create_test_user (line 137) | pub async fn create_test_user( type LocalUserQuery (line 162) | pub struct LocalUserQuery { method list (line 171) | pub async fn list(self, pool: &mut DbPool<'_>) -> LemmyResult>; method from_request (line 220) | fn from_request(req: &HttpRequest, _payload: &mut Payload) -> Self::Futu... type PaginatedType (line 229) | type PaginatedType = Person; method to_cursor (line 231) | fn to_cursor(&self) -> CursorData { method from_cursor (line 235) | async fn from_cursor( type Data (line 265) | struct Data { function init_data (line 269) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function cleanup (line 283) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function list_banned (line 290) | async fn list_banned() -> LemmyResult<()> { FILE: crates/db_views/local_user/src/lib.rs type LocalUserView (line 20) | pub struct LocalUserView { FILE: crates/db_views/modlog/src/api.rs type GetModlog (line 15) | pub struct GetModlog { FILE: crates/db_views/modlog/src/impls.rs method joins (line 49) | fn joins(my_person_id: Option) -> _ { type PaginatedType (line 75) | type PaginatedType = Modlog; method to_cursor (line 76) | fn to_cursor(&self) -> CursorData { method from_cursor (line 80) | async fn from_cursor( type ModlogQuery (line 96) | pub struct ModlogQuery<'a> { function list (line 113) | pub async fn list(self, pool: &mut DbPool<'_>) -> LemmyResult Self { type Data (line 230) | struct Data { function init_data (line 243) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function cleanup (line 300) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function admin_types (line 308) | async fn admin_types() -> LemmyResult<()> { function mod_types (line 460) | async fn mod_types() -> LemmyResult<()> { function hide_modlog_names (line 855) | async fn hide_modlog_names() -> LemmyResult<()> { function individual_modlog_is_not_bulk (line 896) | async fn individual_modlog_is_not_bulk() -> LemmyResult<()> { function bulk_modlog_has_parent_id (line 922) | async fn bulk_modlog_has_parent_id() -> LemmyResult<()> { function bulk_action_parent_id_isolation (line 1006) | async fn bulk_action_parent_id_isolation() -> LemmyResult<()> { FILE: crates/db_views/modlog/src/lib.rs type ModlogView (line 28) | pub struct ModlogView { FILE: crates/db_views/notification/src/api.rs type MarkNotificationAsRead (line 8) | pub struct MarkNotificationAsRead { FILE: crates/db_views/notification/src/impls.rs method get_unread_count (line 42) | pub async fn get_unread_count( method read (line 73) | pub async fn read( type PaginatedType (line 93) | type PaginatedType = Notification; method to_cursor (line 95) | fn to_cursor(&self) -> CursorData { method from_cursor (line 99) | async fn from_cursor( type NotificationQuery (line 114) | pub struct NotificationQuery { method list (line 126) | pub fn list( function map_to_enum (line 204) | fn map_to_enum( FILE: crates/db_views/notification/src/lib.rs type NotificationViewInternal (line 55) | struct NotificationViewInternal { type NotificationView (line 111) | pub struct NotificationView { type NotificationData (line 120) | pub enum NotificationData { type ListNotifications (line 132) | pub struct ListNotifications { FILE: crates/db_views/notification/src/tests.rs type Data (line 24) | struct Data { function init_data (line 29) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function cleanup (line 41) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function test_private_message (line 48) | async fn test_private_message() -> LemmyResult<()> { function test_post (line 80) | async fn test_post() -> LemmyResult<()> { function test_modlog (line 151) | async fn test_modlog() -> LemmyResult<()> { FILE: crates/db_views/notification_sql/src/lib.rs function notification_joins (line 31) | pub fn notification_joins(person_id: PersonId, instance_id: InstanceId) ... FILE: crates/db_views/person/src/api.rs type AddAdmin (line 13) | pub struct AddAdmin { type AddAdminResponse (line 22) | pub struct AddAdminResponse { type BanPerson (line 31) | pub struct BanPerson { type BlockPerson (line 48) | pub struct BlockPerson { type PersonResponse (line 57) | pub struct PersonResponse { type GetPersonDetails (line 68) | pub struct GetPersonDetails { type GetPersonDetailsResponse (line 79) | pub struct GetPersonDetailsResponse { type PurgePerson (line 91) | pub struct PurgePerson { type NotePerson (line 102) | pub struct NotePerson { FILE: crates/db_views/person/src/impls.rs type PaginatedType (line 23) | type PaginatedType = Person; method to_cursor (line 25) | fn to_cursor(&self) -> CursorData { method from_cursor (line 29) | async fn from_cursor( method joins (line 39) | fn joins(my_person_id: Option, local_instance_id: InstanceId) ... method read (line 51) | pub async fn read( method list_admins (line 74) | pub async fn list_admins( type Data (line 116) | struct Data { function init_data (line 122) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function cleanup (line 147) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function exclude_deleted (line 154) | async fn exclude_deleted() -> LemmyResult<()> { function list_admins (line 181) | async fn list_admins() -> LemmyResult<()> { function note (line 215) | async fn note() -> LemmyResult<()> { FILE: crates/db_views/person/src/lib.rs type PersonView (line 26) | pub struct PersonView { FILE: crates/db_views/person_content_combined/src/api.rs type ListPersonHidden (line 10) | pub struct ListPersonHidden { type ListPersonRead (line 20) | pub struct ListPersonRead { FILE: crates/db_views/person_content_combined/src/impls.rs type PostCommentCombinedViewWrapper (line 59) | struct PostCommentCombinedViewWrapper(PostCommentCombinedView); type PaginatedType (line 62) | type PaginatedType = PersonContentCombined; method to_cursor (line 64) | fn to_cursor(&self) -> CursorData { method from_cursor (line 72) | async fn from_cursor( type PersonContentCombinedQuery (line 95) | pub struct PersonContentCombinedQuery { method joins (line 109) | fn joins(my_person_id: Option, local_instance_id: InstanceId... method list (line 147) | pub async fn list( type Data (line 252) | struct Data { function init_data (line 266) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function cleanup (line 353) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function combined (line 361) | async fn combined() -> LemmyResult<()> { function private_community (line 430) | async fn private_community() -> LemmyResult<()> { FILE: crates/db_views/person_content_combined/src/lib.rs type ListPersonContent (line 20) | pub struct ListPersonContent { FILE: crates/db_views/person_liked_combined/src/impls.rs type PersonLikedCombinedQuery (line 57) | pub struct PersonLikedCombinedQuery { method joins (line 104) | pub(crate) fn joins(my_person_id: PersonId, local_instance_id: Instanc... method list (line 145) | pub async fn list( type PostCommentCombinedViewWrapper (line 67) | struct PostCommentCombinedViewWrapper(PostCommentCombinedView); type PaginatedType (line 70) | type PaginatedType = PersonLikedCombined; method to_cursor (line 72) | fn to_cursor(&self) -> CursorData { method from_cursor (line 80) | async fn from_cursor( type Data (line 238) | struct Data { function init_data (line 248) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function cleanup (line 305) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function test_combined (line 313) | async fn test_combined() -> LemmyResult<()> { FILE: crates/db_views/person_liked_combined/src/lib.rs type ListPersonLiked (line 16) | pub struct ListPersonLiked { FILE: crates/db_views/person_saved_combined/src/impls.rs type PersonSavedCombinedQuery (line 55) | pub struct PersonSavedCombinedQuery { method joins (line 101) | fn joins(my_person_id: PersonId, local_instance_id: InstanceId) -> _ { method list (line 142) | pub async fn list( type PostCommentCombinedViewWrapper (line 64) | struct PostCommentCombinedViewWrapper(PostCommentCombinedView); type PaginatedType (line 67) | type PaginatedType = PersonSavedCombined; method to_cursor (line 69) | fn to_cursor(&self) -> CursorData { method from_cursor (line 77) | async fn from_cursor( type Data (line 227) | struct Data { function init_data (line 237) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function cleanup (line 294) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function test_combined (line 302) | async fn test_combined() -> LemmyResult<()> { FILE: crates/db_views/person_saved_combined/src/lib.rs type ListPersonSaved (line 16) | pub struct ListPersonSaved { FILE: crates/db_views/post/src/api.rs type CreatePost (line 16) | pub struct CreatePost { type CreatePostLike (line 39) | pub struct CreatePostLike { type DeletePost (line 49) | pub struct DeletePost { type EditPost (line 59) | pub struct EditPost { type ModEditPost (line 81) | pub struct ModEditPost { type FeaturePost (line 91) | pub struct FeaturePost { type EditPostNotifications (line 101) | pub struct EditPostNotifications { type GetPosts (line 111) | pub struct GetPosts { type GetSiteMetadata (line 144) | pub struct GetSiteMetadata { type GetSiteMetadataResponse (line 152) | pub struct GetSiteMetadataResponse { type LinkMetadata (line 161) | pub struct LinkMetadata { type HidePost (line 172) | pub struct HidePost { type ListPostLikes (line 182) | pub struct ListPostLikes { type LockPost (line 192) | pub struct LockPost { type MarkPostAsRead (line 203) | pub struct MarkPostAsRead { type OpenGraphData (line 213) | pub struct OpenGraphData { type PostResponse (line 227) | pub struct PostResponse { type PurgePost (line 236) | pub struct PurgePost { type RemovePost (line 246) | pub struct RemovePost { type SavePost (line 259) | pub struct SavePost { type MarkManyPostsAsRead (line 269) | pub struct MarkManyPostsAsRead { type CreatePostWarning (line 278) | pub struct CreatePostWarning { FILE: crates/db_views/post/src/db_perf/mod.rs type CmdArgs (line 29) | struct CmdArgs { function get_option (line 37) | fn get_option(suffix: &str, default: T) -> Result<... function db_perf (line 49) | async fn db_perf() -> LemmyResult<()> { function site (line 182) | fn site() -> LemmyResult { FILE: crates/db_views/post/src/db_perf/series.rs type ValuesFromSeries (line 34) | pub struct ValuesFromSeries { function walk_ast (line 41) | fn walk_ast<'b>(&'b self, mut out: AstPass<'_, 'b, Pg>) -> Result<(), Er... type SqlType (line 54) | type SqlType = S::SqlType; type Values (line 65) | type Values = as Insertable>::Values; function values (line 67) | fn values(self) -> Self::Values { type IsAggregate (line 75) | type IsAggregate = is_aggregate::No; type current_value (line 80) | pub struct current_value; method walk_ast (line 83) | fn walk_ast<'b>(&'b self, mut out: AstPass<'_, 'b, Pg>) -> Result<(), ... type IsAggregate (line 99) | type IsAggregate = is_aggregate::No; type SqlType (line 91) | type SqlType = sql_types::BigInt; FILE: crates/db_views/post/src/impls.rs type PaginatedType (line 82) | type PaginatedType = Post; method to_cursor (line 83) | fn to_cursor(&self) -> CursorData { method from_cursor (line 87) | async fn from_cursor( type PostViewDummy (line 96) | struct PostViewDummy(PostActions); type PaginatedType (line 98) | type PaginatedType = PostActions; method to_cursor (line 99) | fn to_cursor(&self) -> CursorData { method from_cursor (line 103) | async fn from_cursor( method joins (line 118) | fn joins(my_person_id: Option, local_instance_id: InstanceId) ... method post_action_joins (line 149) | fn post_action_joins(my_person_id: Option, local_instance_id: ... method read (line 178) | pub async fn read( method list_read (line 237) | pub async fn list_read( method list_hidden (line 270) | pub async fn list_hidden( type PostQuery (line 304) | pub struct PostQuery<'a> { function prefetch_cursor_before_data (line 324) | async fn prefetch_cursor_before_data( function list_inner (line 384) | async fn list_inner( function list (line 612) | pub async fn list( FILE: crates/db_views/post/src/lib.rs type PostView (line 42) | pub struct PostView { FILE: crates/db_views/post/src/test.rs constant POST_BY_BLOCKED_PERSON (line 66) | const POST_BY_BLOCKED_PERSON: &str = "post by blocked person"; constant POST_BY_BOT (line 67) | const POST_BY_BOT: &str = "post by bot"; constant POST (line 68) | const POST: &str = "post"; constant POST_WITH_TAGS (line 69) | const POST_WITH_TAGS: &str = "post with tags"; constant POST_KEYWORD_BLOCKED (line 70) | const POST_KEYWORD_BLOCKED: &str = "blocked_keyword"; function names (line 72) | fn names(post_views: &[PostView]) -> Vec<&str> { type Data (line 76) | struct Data { method pool (line 92) | fn pool(&self) -> ActualDbPool { method pool2 (line 95) | pub fn pool2(&self) -> DbPool<'_> { method default_post_query (line 98) | fn default_post_query(&self) -> PostQuery<'_> { method setup_inner (line 106) | async fn setup_inner() -> LemmyResult { method teardown_inner (line 261) | async fn teardown_inner(data: Data) -> LemmyResult<()> { method setup (line 276) | async fn setup() -> Self { method teardown (line 279) | async fn teardown(self) { function post_listing_with_person (line 287) | async fn post_listing_with_person(data: &mut Data) -> LemmyResult<()> { function post_listing_no_person (line 347) | async fn post_listing_no_person(data: &mut Data) -> LemmyResult<()> { function post_listing_block_community (line 380) | async fn post_listing_block_community(data: &mut Data) -> LemmyResult<()> { function post_listing_like (line 403) | async fn post_listing_like(data: &mut Data) -> LemmyResult<()> { function person_note (line 469) | async fn person_note(data: &mut Data) -> LemmyResult<()> { function post_listing_person_vote_totals (line 519) | async fn post_listing_person_vote_totals(data: &mut Data) -> LemmyResult... function post_listing_read_only (line 694) | async fn post_listing_read_only(data: &mut Data) -> LemmyResult<()> { function creator_info (line 718) | async fn creator_info(data: &mut Data) -> LemmyResult<()> { function post_listing_person_language (line 841) | async fn post_listing_person_language(data: &mut Data) -> LemmyResult<()> { function post_listings_removed (line 908) | async fn post_listings_removed(data: &mut Data) -> LemmyResult<()> { function post_listings_deleted (line 942) | async fn post_listings_deleted(data: &mut Data) -> LemmyResult<()> { function post_listings_hidden_community (line 981) | async fn post_listings_hidden_community(data: &mut Data) -> LemmyResult<... function post_listing_instance_block_communities (line 1018) | async fn post_listing_instance_block_communities(data: &mut Data) -> Lem... function post_listing_instance_block_persons (line 1107) | async fn post_listing_instance_block_persons(data: &mut Data) -> LemmyRe... function pagination_includes_each_post_once (line 1188) | async fn pagination_includes_each_post_once(data: &mut Data) -> LemmyRes... function pagination_hidden_cursors (line 1289) | async fn pagination_hidden_cursors(data: &mut Data) -> LemmyResult<()> { function pagination_recovery_cursors (line 1406) | async fn pagination_recovery_cursors(data: &mut Data) -> LemmyResult<()> { function post_listings_hide_read (line 1536) | async fn post_listings_hide_read(data: &mut Data) -> LemmyResult<()> { function post_listings_hide_hidden (line 1584) | async fn post_listings_hide_hidden(data: &mut Data) -> LemmyResult<()> { function post_listings_hide_nsfw (line 1630) | async fn post_listings_hide_nsfw(data: &mut Data) -> LemmyResult<()> { function local_only_instance (line 1675) | async fn local_only_instance(data: &mut Data) -> LemmyResult<()> { function post_listing_local_user_banned_from_community (line 1724) | async fn post_listing_local_user_banned_from_community(data: &mut Data) ... function post_listing_local_user_not_banned_from_community (line 1768) | async fn post_listing_local_user_not_banned_from_community(data: &mut Da... function micros (line 1789) | fn micros(dt: DateTime) -> i64 { function post_listing_creator_banned (line 1796) | async fn post_listing_creator_banned(data: &mut Data) -> LemmyResult<()> { function post_listing_creator_community_banned (line 1847) | async fn post_listing_creator_community_banned(data: &mut Data) -> Lemmy... function speed_check (line 1902) | async fn speed_check(data: &mut Data) -> LemmyResult<()> { function post_listings_no_comments_only (line 1954) | async fn post_listings_no_comments_only(data: &mut Data) -> LemmyResult<... function post_listing_private_community (line 1984) | async fn post_listing_private_community(data: &mut Data) -> LemmyResult<... function post_listings_hide_media (line 2083) | async fn post_listings_hide_media(data: &mut Data) -> LemmyResult<()> { function post_with_blocked_keywords (line 2143) | async fn post_with_blocked_keywords(data: &mut Data) -> LemmyResult<()> { function post_tags_present (line 2216) | async fn post_tags_present(data: &mut Data) -> LemmyResult<()> { function post_listing_multi_community (line 2246) | async fn post_listing_multi_community(data: &mut Data) -> LemmyResult<()> { FILE: crates/db_views/post_comment_combined/src/lib.rs type PostCommentCombinedViewInternal (line 34) | pub struct PostCommentCombinedViewInternal { type PostCommentCombinedView (line 78) | pub enum PostCommentCombinedView { method to_post_view (line 133) | pub fn to_post_view(&self) -> Option<&PostView> { type CombinedView (line 85) | type CombinedView = PostCommentCombinedView; method map_to_enum (line 87) | fn map_to_enum(self) -> Option { FILE: crates/db_views/private_message/src/api.rs type CreatePrivateMessage (line 10) | pub struct CreatePrivateMessage { type DeletePrivateMessage (line 19) | pub struct DeletePrivateMessage { type EditPrivateMessage (line 28) | pub struct EditPrivateMessage { type PrivateMessageResponse (line 37) | pub struct PrivateMessageResponse { FILE: crates/db_views/private_message/src/impls.rs method joins (line 14) | fn joins() -> _ { method read (line 39) | pub async fn read( FILE: crates/db_views/private_message/src/lib.rs type PrivateMessageView (line 20) | pub struct PrivateMessageView { FILE: crates/db_views/registration_applications/src/api.rs type ApproveRegistrationApplication (line 15) | pub struct ApproveRegistrationApplication { type GetRegistrationApplication (line 26) | pub struct GetRegistrationApplication { type ListRegistrationApplications (line 35) | pub struct ListRegistrationApplications { type Register (line 47) | pub struct Register { type CaptchaAnswer (line 69) | pub struct CaptchaAnswer { type RegistrationApplicationResponse (line 78) | pub struct RegistrationApplicationResponse { FILE: crates/db_views/registration_applications/src/impls.rs type PaginatedType (line 39) | type PaginatedType = RegistrationApplication; method to_cursor (line 40) | fn to_cursor(&self) -> CursorData { method from_cursor (line 44) | async fn from_cursor( method joins (line 54) | fn joins() -> _ { method read (line 68) | pub async fn read(pool: &mut DbPool<'_>, id: RegistrationApplicationId) ... method read_by_person (line 78) | pub async fn read_by_person(pool: &mut DbPool<'_>, person_id: PersonId) ... method get_unread_count (line 89) | pub async fn get_unread_count( type RegistrationApplicationQuery (line 112) | pub struct RegistrationApplicationQuery { method list (line 120) | pub async fn list( function test_crud (line 180) | async fn test_crud() -> LemmyResult<()> { FILE: crates/db_views/registration_applications/src/lib.rs type RegistrationApplicationView (line 25) | pub struct RegistrationApplicationView { FILE: crates/db_views/report_combined/src/api.rs type ListReports (line 24) | pub struct ListReports { type CommentReportResponse (line 45) | pub struct CommentReportResponse { type CommunityReportResponse (line 53) | pub struct CommunityReportResponse { type CreateCommentReport (line 61) | pub struct CreateCommentReport { type CreateCommunityReport (line 73) | pub struct CreateCommunityReport { type CreatePostReport (line 82) | pub struct CreatePostReport { type ResolveCommentReport (line 94) | pub struct ResolveCommentReport { type ResolveCommunityReport (line 103) | pub struct ResolveCommunityReport { type ResolvePostReport (line 112) | pub struct ResolvePostReport { type ResolvePrivateMessageReport (line 121) | pub struct ResolvePrivateMessageReport { type CreatePrivateMessageReport (line 130) | pub struct CreatePrivateMessageReport { type PrivateMessageReportResponse (line 139) | pub struct PrivateMessageReportResponse { type PostReportResponse (line 147) | pub struct PostReportResponse { FILE: crates/db_views/report_combined/src/impls.rs method read_comment_report (line 64) | pub async fn read_comment_report( method read_post_report (line 83) | pub async fn read_post_report( method read_community_report (line 102) | pub async fn read_community_report( method read_private_message_report (line 121) | pub async fn read_private_message_report( method get_report_count (line 141) | pub async fn get_report_count(pool: &mut DbPool<'_>, user: &LocalUserVie... type PaginatedType (line 165) | type PaginatedType = ReportCombined; method to_cursor (line 167) | fn to_cursor(&self) -> CursorData { method from_cursor (line 177) | async fn from_cursor( type ReportCombinedQuery (line 202) | pub struct ReportCombinedQuery { method list (line 215) | pub async fn list( function filter_mod_reports (line 301) | fn filter_mod_reports() -> _ { function filter_admin_reports (line 313) | fn filter_admin_reports(interval: DateTime) -> _ { function filter_violates_instance_rules (line 323) | fn filter_violates_instance_rules() -> _ { type CombinedView (line 331) | type CombinedView = ReportCombinedView; method map_to_enum (line 333) | fn map_to_enum(self) -> Option { type Data (line 468) | struct Data { function init_data (line 481) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function cleanup (line 562) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function combined (line 570) | async fn combined() -> LemmyResult<()> { function private_message_reports (line 741) | async fn private_message_reports() -> LemmyResult<()> { function post_reports (line 806) | async fn post_reports() -> LemmyResult<()> { function comment_reports (line 939) | async fn comment_reports() -> LemmyResult<()> { function community_reports (line 1062) | async fn community_reports() -> LemmyResult<()> { function violates_instance_rules (line 1134) | async fn violates_instance_rules() -> LemmyResult<()> { function my_reports_only (line 1224) | async fn my_reports_only() -> LemmyResult<()> { function ensure_creator_data_is_correct (line 1275) | async fn ensure_creator_data_is_correct() -> LemmyResult<()> { FILE: crates/db_views/report_combined/src/lib.rs type ReportCombinedViewInternal (line 42) | pub struct ReportCombinedViewInternal { type ReportCombinedView (line 102) | pub enum ReportCombinedView { type PrivateMessageReportView (line 114) | pub struct PrivateMessageReportView { type CommentReportView (line 130) | pub struct CommentReportView { type CommunityReportView (line 154) | pub struct CommunityReportView { type PostReportView (line 172) | pub struct PostReportView { FILE: crates/db_views/report_combined_sql/src/lib.rs function report_combined_joins (line 38) | pub fn report_combined_joins(my_person_id: PersonId, local_instance_id: ... FILE: crates/db_views/search_combined/src/api.rs type GetPost (line 13) | pub struct GetPost { type GetPostResponse (line 23) | pub struct GetPostResponse { FILE: crates/db_views/search_combined/src/impls.rs method joins (line 89) | fn joins(my_person_id: Option, local_instance_id: InstanceId) ... method to_post_view (line 173) | pub fn to_post_view(&self) -> Option<&PostView> { type PaginatedType (line 183) | type PaginatedType = SearchCombined; method to_cursor (line 185) | fn to_cursor(&self) -> CursorData { method from_cursor (line 196) | async fn from_cursor( type SearchCombinedQuery (line 222) | pub struct SearchCombinedQuery { method list (line 240) | pub async fn list( type CombinedView (line 437) | type CombinedView = SearchCombinedView; method map_to_enum (line 439) | fn map_to_enum(self) -> Option { type Data (line 543) | struct Data { function init_data (line 564) | async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult { function cleanup (line 710) | async fn cleanup(data: Data, pool: &mut DbPool<'_>) -> LemmyResult<()> { function combined (line 718) | async fn combined() -> LemmyResult<()> { function community (line 895) | async fn community() -> LemmyResult<()> { function person (line 969) | async fn person() -> LemmyResult<()> { function post (line 1051) | async fn post() -> LemmyResult<()> { function no_children (line 1191) | async fn no_children() -> LemmyResult<()> { function nsfw_post (line 1233) | async fn nsfw_post() -> LemmyResult<()> { function nsfw_comment (line 1262) | async fn nsfw_comment() -> LemmyResult<()> { function private_community (line 1292) | async fn private_community() -> LemmyResult<()> { function comment (line 1361) | async fn comment() -> LemmyResult<()> { function multi_community (line 1468) | async fn multi_community() -> LemmyResult<()> { FILE: crates/db_views/search_combined/src/lib.rs type SearchCombinedViewInternal (line 51) | pub(crate) struct SearchCombinedViewInternal { type SearchCombinedView (line 103) | pub enum SearchCombinedView { type Search (line 116) | pub struct Search { type SearchResponse (line 143) | pub struct SearchResponse { FILE: crates/db_views/site/src/api.rs type AdminAllowInstanceParams (line 48) | pub struct AdminAllowInstanceParams { type AdminBlockInstanceParams (line 57) | pub struct AdminBlockInstanceParams { type AuthenticateWithOauth (line 72) | pub struct AuthenticateWithOauth { type CreateOAuthProvider (line 91) | pub struct CreateOAuthProvider { type CreateSite (line 112) | pub struct CreateSite { type DeleteOAuthProvider (line 173) | pub struct DeleteOAuthProvider { type EditOAuthProvider (line 182) | pub struct EditOAuthProvider { type EditSite (line 202) | pub struct EditSite { type GetFederatedInstancesKind (line 309) | pub enum GetFederatedInstancesKind { type GetFederatedInstances (line 321) | pub struct GetFederatedInstances { type GetSiteResponse (line 333) | pub struct GetSiteResponse { type SiteResponse (line 357) | pub struct SiteResponse { type CaptchaResponse (line 367) | pub struct CaptchaResponse { type ChangePassword (line 380) | pub struct ChangePassword { type DeleteAccount (line 392) | pub struct DeleteAccount { type GetCaptchaResponse (line 402) | pub struct GetCaptchaResponse { type GenerateTotpSecretResponse (line 410) | pub struct GenerateTotpSecretResponse { type ListLoginsResponse (line 417) | pub struct ListLoginsResponse { type Login (line 429) | pub struct Login { type LoginResponse (line 443) | pub struct LoginResponse { type MyUserInfo (line 457) | pub struct MyUserInfo { type PasswordChangeAfterReset (line 474) | pub struct PasswordChangeAfterReset { type PasswordReset (line 484) | pub struct PasswordReset { type ResendVerificationEmail (line 492) | pub struct ResendVerificationEmail { type SaveUserSettings (line 501) | pub struct SaveUserSettings { type EditTotp (line 571) | pub struct EditTotp { type EditTotpResponse (line 579) | pub struct EditTotpResponse { type UserBlockInstancePersonsParams (line 587) | pub struct UserBlockInstancePersonsParams { type UserBlockInstanceCommunitiesParams (line 596) | pub struct UserBlockInstanceCommunitiesParams { type VerifyEmail (line 605) | pub struct VerifyEmail { type CreateTagline (line 613) | pub struct CreateTagline { type DeleteTagline (line 621) | pub struct DeleteTagline { type ListTaglines (line 630) | pub struct ListTaglines { type TaglineResponse (line 638) | pub struct TaglineResponse { type EditTagline (line 646) | pub struct EditTagline { type PluginMetadata (line 656) | pub struct PluginMetadata { method new (line 663) | pub fn new(name: &'static str, url: &'static str, description: &'stati... type ResolveObject (line 676) | pub struct ResolveObject { type PostOrCommentOrPrivateMessage (line 685) | pub enum PostOrCommentOrPrivateMessage { type UserSettingsBackup (line 703) | pub struct UserSettingsBackup { type ExportDataResponse (line 739) | pub struct ExportDataResponse { type SuccessResponse (line 752) | pub struct SuccessResponse { method default (line 757) | fn default() -> Self { type UnreadCountsResponse (line 769) | pub struct UnreadCountsResponse { FILE: crates/db_views/site/src/impls.rs method read_local (line 57) | pub async fn read_local(pool: &mut DbPool<'_>) -> LemmyResult { method read_system_account (line 82) | pub async fn read_system_account(pool: &mut DbPool<'_>) -> LemmyResult _ { method list (line 138) | pub async fn list( method read (line 181) | pub async fn read(pool: &mut DbPool<'_>, instance_id: InstanceId) -> Lem... type PaginatedType (line 193) | type PaginatedType = Instance; method to_cursor (line 194) | fn to_cursor(&self) -> CursorData { method from_cursor (line 198) | async fn from_cursor( function test_instance_list (line 228) | async fn test_instance_list() -> LemmyResult<()> { FILE: crates/db_views/site/src/lib.rs type SiteView (line 25) | pub struct SiteView { type FederatedInstanceView (line 42) | pub struct FederatedInstanceView { FILE: crates/db_views/vote/src/impls.rs method list_for_post (line 31) | pub async fn list_for_post( method list_for_comment (line 82) | pub async fn list_for_comment( function paginate_vote_response (line 136) | fn paginate_vote_response< type PaginatedType (line 157) | type PaginatedType = PostActions; method to_cursor (line 158) | fn to_cursor(&self) -> CursorData { method from_cursor (line 162) | async fn from_cursor( type PaginatedType (line 172) | type PaginatedType = CommentActions; method to_cursor (line 173) | fn to_cursor(&self) -> CursorData { method from_cursor (line 177) | async fn from_cursor( function post_and_comment_vote_views (line 207) | async fn post_and_comment_vote_views() -> LemmyResult<()> { FILE: crates/db_views/vote/src/lib.rs type VoteViewPost (line 25) | struct VoteViewPost { type VoteViewComment (line 46) | struct VoteViewComment { type VoteView (line 67) | pub struct VoteView { method from (line 76) | fn from(v: VoteViewComment) -> Self { method from (line 87) | fn from(v: VoteViewPost) -> Self { FILE: crates/diesel_utils/build.rs function main (line 3) | fn main() -> Result<(), Box> { FILE: crates/diesel_utils/replaceable_schema/triggers.sql function r (line 328) | CREATE FUNCTION r.delete_follow_before_person () function r (line 343) | CREATE FUNCTION r.comment_change_values () function r (line 381) | CREATE FUNCTION r.private_message_change_values () FILE: crates/diesel_utils/replaceable_schema/utils.sql function r (line 3) | CREATE FUNCTION r.controversy_rank (upvotes numeric, downvotes numeric) function r (line 18) | CREATE FUNCTION r.hot_rank (score numeric, published_at timestamp with t... function r (line 36) | CREATE FUNCTION r.scaled_rank (score numeric, published_at timestamp wit... function r (line 49) | CREATE FUNCTION r.is_counted (item record) function r (line 60) | CREATE FUNCTION r.local_url (url_path text) function r (line 106) | CREATE FUNCTION r.thing_update_statement ( ) function r (line 237) | CREATE OR REPLACE FUNCTION r.site_aggregates_activity (i text) FILE: crates/diesel_utils/src/connection.rs type ActualDbPool (line 42) | pub type ActualDbPool = Pool; type DbPool (line 48) | pub enum DbPool<'a> { type DbConn (line 53) | pub enum DbConn<'a> { function get_conn (line 58) | pub async fn get_conn<'a, 'b: 'a>(pool: &'a mut DbPool<'b>) -> Result(&mut self, callback: F) -> LemmyR... type Target (line 81) | type Target = AsyncPgConnection; method deref (line 83) | fn deref(&self) -> &Self::Target { method deref_mut (line 92) | fn deref_mut(&mut self) -> &mut Self::Target { function from (line 103) | fn from(value: &'a mut AsyncPgConnection) -> Self { function from (line 109) | fn from(value: &'a mut DbConn<'b>) -> Self { function from (line 115) | fn from(value: &'a ActualDbPool) -> Self { function build_db_pool (line 158) | pub fn build_db_pool() -> LemmyResult { function build_db_pool_for_tests (line 195) | pub fn build_db_pool_for_tests() -> ActualDbPool { function establish_connection (line 199) | fn establish_connection(config: &str) -> BoxFuture<'_, ConnectionResult<... type NoCertVerifier (line 229) | struct NoCertVerifier {} method verify_server_cert (line 232) | fn verify_server_cert( method verify_tls12_signature (line 244) | fn verify_tls12_signature( method verify_tls13_signature (line 258) | fn verify_tls13_signature( method supported_verify_schemes (line 272) | fn supported_verify_schemes(&self) -> Vec { FILE: crates/diesel_utils/src/dburl.rs type DbUrl (line 28) | pub struct DbUrl(pub Box); method to_lowercase (line 31) | pub fn to_lowercase(&self) -> String { method inner (line 37) | pub fn inner(&self) -> &Url { method into (line 57) | fn into(self) -> Url { method from (line 92) | fn from(value: CollectionId) -> Self { method to_sql (line 108) | fn to_sql(&self, out: &mut Output) -> diesel::serialize::Result { method from_sql (line 118) | fn from_sql(value: DB::RawValue<'_>) -> diesel::deserialize::Result) -> Self { method fmt (line 43) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { method into (line 51) | fn into(self) -> DbUrl { function from (line 68) | fn from(value: DbUrl) -> Self { function from (line 80) | fn from(value: DbUrl) -> Self { type Target (line 99) | type Target = Url; method deref (line 101) | fn deref(&self) -> &Self::Target { FILE: crates/diesel_utils/src/main.rs function main (line 3) | fn main() -> anyhow::Result<()> { FILE: crates/diesel_utils/src/pagination.rs type CursorData (line 32) | pub struct CursorData(String); method new_id (line 36) | pub fn new_id(id: i32) -> Self { method id (line 39) | pub fn id(self) -> LemmyResult { method new_with_prefix (line 43) | pub fn new_with_prefix(prefix: char, id: i32) -> Self { method id_and_prefix (line 46) | pub fn id_and_prefix(self) -> LemmyResult<(char, i32)> { method new_plain (line 58) | pub fn new_plain(data: String) -> Self { method plain (line 61) | pub fn plain(self) -> String { method new_multi (line 65) | pub fn new_multi(data: [i32; N]) -> Self { method multi (line 68) | pub fn multi(self) -> LemmyResult<[i32; N]> { type PaginationCursorConversion (line 82) | pub trait PaginationCursorConversion { method to_cursor (line 85) | fn to_cursor(&self) -> CursorData; method from_cursor (line 87) | fn from_cursor( method paginate (line 93) | fn paginate( type PaginationCursor (line 145) | pub struct PaginationCursor(String); method into_internal (line 149) | fn into_internal(self) -> LemmyResult { method from_internal (line 153) | fn from_internal(other: PaginationCursorInternal) -> LemmyResult { method is_back (line 159) | pub fn is_back(self) -> LemmyResult { type PaginationCursorInternal (line 168) | struct PaginationCursorInternal { type PagedResponse (line 186) | pub struct PagedResponse<#[cfg(feature = "ts-rs")] T: ts_rs::TS, #[cfg(n... type Target (line 196) | type Target = Vec; method deref (line 197) | fn deref(&self) -> &Vec { method deref_mut (line 206) | fn deref_mut(&mut self) -> &mut Self::Target { type Item (line 215) | type Item = T; type IntoIter (line 216) | type IntoIter = std::vec::IntoIter; method into_iter (line 219) | fn into_iter(self) -> Self::IntoIter { function paginate_response (line 228) | pub fn paginate_response<#[cfg(feature = "ts-rs")] T: ts_rs::TS, #[cfg(n... function test_cursor (line 317) | fn test_cursor() -> LemmyResult<()> { function do_test_cursor (line 327) | fn do_test_cursor(data: CursorData) -> LemmyResult<()> { function test_internal_format (line 341) | fn test_internal_format() -> LemmyResult<()> { FILE: crates/diesel_utils/src/schema_setup/diff_check.rs function get_dump (line 17) | pub(crate) fn get_dump() -> String { function check_dump_diff (line 70) | pub(crate) fn check_dump_diff(dumps: [&str; 2], label_of_change_from_0_t... function is_ignored_trigger (line 102) | fn is_ignored_trigger(chunk: &str) -> bool { function is_view (line 127) | fn is_view(chunk: &str) -> bool { function is_comment (line 137) | fn is_comment(s: &str) -> bool { function remove_ignored_uniqueness_from_statement (line 141) | fn remove_ignored_uniqueness_from_statement(statement: &str) -> Cow<'_, ... function sort_within_sections (line 167) | fn sort_within_sections(vec: &mut [&T], mut section: im... function select_pairs (line 173) | fn select_pairs<'a>([a, b]: [&'a [&'a str]; 2]) -> impl Iterator isize { function deferr_constraint_check (line 197) | pub(crate) fn deferr_constraint_check(dump: &str) { function test_select_pairs (line 206) | fn test_select_pairs() { FILE: crates/diesel_utils/src/schema_setup/mod.rs function migrations (line 35) | fn migrations() -> diesel_migrations::EmbeddedMigrations { function replaceable_schema (line 44) | fn replaceable_schema() -> String { constant REPLACEABLE_SCHEMA_PATH (line 53) | const REPLACEABLE_SCHEMA_PATH: &str = "crates/diesel_utils/replaceable_s... type MigrationHarnessWrapper (line 55) | struct MigrationHarnessWrapper<'a> { function run_migration_inner (line 63) | fn run_migration_inner( function run_migration (line 82) | fn run_migration( function revert_migration (line 107) | fn revert_migration( function applied_migrations (line 124) | fn applied_migrations(&mut self) -> diesel::migration::Result Self { method run (line 146) | pub fn run(mut self) -> Self { method revert (line 151) | pub fn revert(mut self) -> Self { method limit (line 156) | pub fn limit(mut self, limit: u64) -> Self { method print_output (line 163) | pub fn print_output(mut self) -> Self { method print (line 168) | fn print(&self, text: &str) { type Branch (line 179) | pub enum Branch { function run (line 185) | pub fn run(options: Options, db_url: &str) -> anyhow::Result { function run_replaceable_schema (line 258) | fn run_replaceable_schema(conn: &mut PgConnection) -> anyhow::Result<()> { function revert_replaceable_schema (line 274) | fn revert_replaceable_schema(conn: &mut PgConnection) -> anyhow::Result<... function run_selected_migrations (line 285) | fn run_selected_migrations( function convert_err (line 320) | fn convert_err(e: Box) -> anyhow::E... constant INITIAL_MIGRATIONS_COUNT (line 343) | const INITIAL_MIGRATIONS_COUNT: u64 = 40; constant TEST_USER_ID_1 (line 346) | const TEST_USER_ID_1: i32 = 101; constant USER1_NAME (line 347) | const USER1_NAME: &str = "test_user_1"; constant USER1_ACTOR_ID (line 348) | const USER1_ACTOR_ID: &str = "test_user_1@fedi.example"; constant USER1_PREFERRED_NAME (line 349) | const USER1_PREFERRED_NAME: &str = "preferred_1"; constant USER1_EMAIL (line 350) | const USER1_EMAIL: &str = "email1@example.com"; constant USER1_PASSWORD (line 351) | const USER1_PASSWORD: &str = "test_password_1"; constant USER1_PUBLIC_KEY (line 352) | const USER1_PUBLIC_KEY: &str = "test_public_key_1"; constant TEST_USER_ID_2 (line 354) | const TEST_USER_ID_2: i32 = 102; constant USER2_NAME (line 355) | const USER2_NAME: &str = "test_user_2"; constant USER2_ACTOR_ID (line 356) | const USER2_ACTOR_ID: &str = "test_user_2@fedi.example"; constant USER2_PREFERRED_NAME (line 357) | const USER2_PREFERRED_NAME: &str = "preferred2"; constant USER2_EMAIL (line 358) | const USER2_EMAIL: &str = "email2@example.com"; constant USER2_PASSWORD (line 359) | const USER2_PASSWORD: &str = "test_password_2"; constant USER2_PUBLIC_KEY (line 360) | const USER2_PUBLIC_KEY: &str = "test_public_key_2"; constant TEST_COMMUNITY_ID_1 (line 362) | const TEST_COMMUNITY_ID_1: i32 = 101; constant COMMUNITY_NAME (line 363) | const COMMUNITY_NAME: &str = "test_community_1"; constant COMMUNITY_TITLE (line 364) | const COMMUNITY_TITLE: &str = "Test Community 1"; constant COMMUNITY_DESCRIPTION (line 365) | const COMMUNITY_DESCRIPTION: &str = "This is a test community."; constant CATEGORY_ID (line 366) | const CATEGORY_ID: i32 = 4; constant COMMUNITY_ACTOR_ID (line 367) | const COMMUNITY_ACTOR_ID: &str = "https://fedi.example/community/12345"; constant COMMUNITY_PUBLIC_KEY (line 368) | const COMMUNITY_PUBLIC_KEY: &str = "test_public_key_community_1"; constant TEST_POST_ID_1 (line 370) | const TEST_POST_ID_1: i32 = 101; constant POST_NAME (line 371) | const POST_NAME: &str = "Post Title"; constant POST_URL (line 372) | const POST_URL: &str = "https://fedi.example/post/12345"; constant POST_BODY (line 373) | const POST_BODY: &str = "Post Body."; constant POST_AP_ID (line 374) | const POST_AP_ID: &str = "https://fedi.example/post/12345"; constant TEST_COMMENT_ID_1 (line 376) | const TEST_COMMENT_ID_1: i32 = 101; constant COMMENT1_CONTENT (line 377) | const COMMENT1_CONTENT: &str = "Comment"; constant COMMENT1_AP_ID (line 378) | const COMMENT1_AP_ID: &str = "https://fedi.example/comment/12345"; constant TEST_COMMENT_ID_2 (line 380) | const TEST_COMMENT_ID_2: i32 = 102; constant COMMENT2_CONTENT (line 381) | const COMMENT2_CONTENT: &str = "Reply"; constant COMMENT2_AP_ID (line 382) | const COMMENT2_AP_ID: &str = "https://fedi.example/comment/12346"; function test_schema_setup (line 386) | fn test_schema_setup() -> LemmyResult<()> { function insert_test_data (line 453) | fn insert_test_data(conn: &mut PgConnection) -> LemmyResult<()> { function check_test_data (line 539) | fn check_test_data(conn: &mut PgConnection) -> LemmyResult<()> { constant FOREIGN_KEY (line 658) | const FOREIGN_KEY: &str = "f"; function get_foreign_keys_with_missing_indexes (line 660) | fn get_foreign_keys_with_missing_indexes(conn: &mut PgConnection) -> Lem... FILE: crates/diesel_utils/src/sensitive.rs type SensitiveString (line 11) | pub struct SensitiveString(String); method into_inner (line 14) | pub fn into_inner(self) -> String { method as_ref (line 26) | fn as_ref(&self) -> &[u8] { method from (line 40) | fn from(t: String) -> Self { method fmt (line 20) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Target (line 32) | type Target = str; method deref (line 34) | fn deref(&self) -> &Self::Target { FILE: crates/diesel_utils/src/traits.rs type Delete (line 17) | type Delete = DeleteStatement<::Table, = dsl::Find<::Table, ::IdType>; type Crud (line 24) | pub trait Crud: HasTable + Sized method create (line 36) | fn create( method read (line 41) | fn read(pool: &mut DbPool<'_>, id: Self::IdType) -> impl Future(pub K); type SqlType (line 28) | type SqlType = sql_types::Text; type CursorValue (line 29) | type CursorValue = functions::lower; type SqlValue (line 30) | type SqlValue = functions::lower; function get_cursor_value (line 32) | fn get_cursor_value(cursor: &C) -> Self::CursorValue { function get_sql_value (line 36) | fn get_sql_value() -> Self::SqlValue { type Subpath (line 42) | pub struct Subpath(pub K); type SqlType (line 48) | type SqlType = diesel_ltree::sql_types::Ltree; type CursorValue (line 49) | type CursorValue = diesel_ltree::subpath; type SqlValue (line 50) | type SqlValue = diesel_ltree::subpath; function get_cursor_value (line 52) | fn get_cursor_value(cursor: &C) -> Self::CursorValue { function get_sql_value (line 56) | fn get_sql_value() -> Self::SqlValue { type CoalesceKey (line 61) | pub struct CoalesceKey(pub A, pub B); type SqlType (line 68) | type SqlType = B::SqlType; type CursorValue (line 69) | type CursorValue = functions::coalesce; function get_cursor_value (line 72) | fn get_cursor_value(cursor: &C) -> Self::CursorValue { function get_sql_value (line 78) | fn get_sql_value() -> Self::SqlValue { type Commented (line 85) | pub struct Commented { function new (line 91) | pub fn new(inner: T) -> Self { function text_if (line 99) | fn text_if(mut self, text: &str, condition: bool) -> Self { function text (line 110) | pub fn text(self, text: &str) -> Self { type SqlType (line 116) | type SqlType = T::SqlType; function walk_ast (line 120) | fn walk_ast<'b>( type Output (line 134) | type Output = Commented; method limit (line 136) | fn limit(self, limit: i64) -> Self::Output { function fuzzy_search (line 144) | pub fn fuzzy_search(q: &str) -> String { function diesel_string_update (line 154) | pub fn diesel_string_update(opt: Option<&str>) -> Option> { function diesel_opt_number_update (line 164) | pub fn diesel_opt_number_update(opt: Option) -> Option> { function diesel_required_string_update (line 175) | pub fn diesel_required_string_update(opt: Option<&str>) -> Option { function diesel_url_update (line 186) | pub fn diesel_url_update(opt: Option<&str>) -> LemmyResult) -> LemmyResult) -> LemmyResult> { function now (line 256) | pub fn now() -> AsExprOf PgInterval { type AsRecordOutput (line 266) | pub type AsRecordOutput = dsl::AsExprOf = BoxFuture<'a, Result>; function test_fuzzy_search (line 276) | fn test_fuzzy_search() { function test_diesel_option_overwrite (line 285) | fn test_diesel_option_overwrite() { function test_diesel_option_overwrite_to_url (line 295) | fn test_diesel_option_overwrite_to_url() -> LemmyResult<()> { FILE: crates/email/build.rs function main (line 3) | fn main() -> Result<(), Box> { FILE: crates/email/src/account.rs function send_password_reset_email (line 16) | pub async fn send_password_reset_email( function send_verification_email (line 40) | pub async fn send_verification_email( function send_verification_email_if_required (line 74) | pub async fn send_verification_email_if_required( function send_application_approved_email (line 92) | pub fn send_application_approved_email( function send_application_denied_email (line 104) | pub fn send_application_denied_email( function send_email_verified_email (line 123) | pub fn send_email_verified_email( FILE: crates/email/src/admin.rs function send_new_applicant_email_to_admins (line 7) | pub async fn send_new_applicant_email_to_admins( function send_new_report_email_to_admins (line 32) | pub async fn send_new_report_email_to_admins( FILE: crates/email/src/lib.rs function inbox_link (line 22) | fn inbox_link(settings: &Settings) -> String { function user_language (line 27) | pub fn user_language(local_user: &LocalUser) -> Lang { function user_email (line 35) | fn user_email(local_user_view: &LocalUserView) -> LemmyResult { function send_notification_email (line 38) | pub fn send_notification_email( FILE: crates/email/src/send.rs type AsyncSmtpTransport (line 17) | type AsyncSmtpTransport = lettre::AsyncSmtpTransport PostSortType { method get_limit (line 55) | fn get_limit(&self) -> i64 { function config (line 60) | pub fn config(cfg: &mut web::ServiceConfig) { function get_all_feed (line 98) | async fn get_all_feed( function get_local_feed (line 115) | async fn get_local_feed( function get_feed_data (line 132) | async fn get_feed_data( function get_feed_user (line 167) | async fn get_feed_user( function split_name (line 211) | fn split_name(name: &str) -> (&str, Option<&str>) { function get_feed_community (line 219) | async fn get_feed_community( function get_feed_multi_community (line 260) | async fn get_feed_multi_community( function get_feed_front (line 297) | async fn get_feed_front( function send_feed_response (line 326) | fn send_feed_response( function get_feed_notifs (line 351) | async fn get_feed_notifs( function get_feed_modlog (line 380) | async fn get_feed_modlog( function create_reply_and_mention_items (line 408) | fn create_reply_and_mention_items( function create_modlog_items (line 465) | fn create_modlog_items( function build_modlog_item (line 665) | fn build_modlog_item>( function build_item (line 696) | fn build_item( function create_post_items (line 734) | fn create_post_items( FILE: crates/routes/src/feeds/negotiate_content.rs function get_lang_or_negotiate (line 9) | pub(crate) async fn get_lang_or_negotiate( function negotiate_lang (line 26) | fn negotiate_lang(req: &HttpRequest) -> Option { function parse_lang_items (line 41) | fn parse_lang_items( function test_negotiate_language_lang_supported_by_server (line 51) | fn test_negotiate_language_lang_supported_by_server() { function test_negotiate_language_lang_unsupported_by_server (line 66) | fn test_negotiate_language_lang_unsupported_by_server() { function test_negotiate_language_wildcard_alone (line 79) | fn test_negotiate_language_wildcard_alone() { function test_negotiate_language_wildcard_with_langs_after (line 90) | fn test_negotiate_language_wildcard_with_langs_after() { FILE: crates/routes/src/images/delete.rs function delete_site_icon (line 21) | pub async fn delete_site_icon( function delete_site_banner (line 38) | pub async fn delete_site_banner( function delete_community_icon (line 56) | pub async fn delete_community_icon( function delete_community_banner (line 75) | pub async fn delete_community_banner( function delete_user_avatar (line 94) | pub async fn delete_user_avatar( function delete_user_banner (line 109) | pub async fn delete_user_banner( function delete_image (line 125) | pub async fn delete_image( function delete_image_admin (line 143) | pub async fn delete_image_admin( FILE: crates/routes/src/images/download.rs function get_image (line 20) | pub async fn get_image( function image_proxy (line 46) | pub async fn image_proxy( function do_get_image (line 96) | pub(super) async fn do_get_image( type PictrsFileType (line 128) | enum PictrsFileType { function file_type (line 140) | fn file_type(file_type: Option, name: &str) -> LemmyResult LemmyResult<()> { FILE: crates/routes/src/images/mod.rs function pictrs_health (line 11) | pub async fn pictrs_health(context: Data) -> LemmyResult(mut stream: S) -> impl Stream... type SendStream (line 67) | struct SendStream { type Item (line 75) | type Item = T; method poll_next (line 77) | fn poll_next( function convert_method (line 87) | pub(super) fn convert_method(method: &Method) -> http::Method { function convert_header (line 91) | pub(super) fn convert_header<'a>( function delete_old_image (line 99) | pub(super) async fn delete_old_image( FILE: crates/routes/src/middleware/idempotency.rs constant IDEMPOTENCY_HEADER (line 21) | const IDEMPOTENCY_HEADER: &str = "Idempotency-Key"; constant CLEANUP_INTERVAL_SECS (line 24) | const CLEANUP_INTERVAL_SECS: u32 = 120; type InstantSecs (line 29) | struct InstantSecs { method now (line 37) | pub fn now() -> Self { type Entry (line 46) | struct Entry { method eq (line 54) | fn eq(&self, other: &Self) -> bool { method hash (line 61) | fn hash(&self, state: &mut H) { type IdempotencySet (line 68) | pub struct IdempotencySet { method default (line 73) | fn default() -> Self { type IdempotencyMiddleware (line 96) | pub struct IdempotencyMiddleware { method new (line 101) | pub fn new(idempotency_set: IdempotencySet) -> Self { type Response (line 112) | type Response = ServiceResponse>; type Error (line 113) | type Error = Error; type InitError (line 114) | type InitError = (); type Transform (line 115) | type Transform = IdempotencyService; type Future (line 116) | type Future = Ready>; method new_transform (line 118) | fn new_transform(&self, service: S) -> Self::Future { type IdempotencyService (line 126) | pub struct IdempotencyService { type Response (line 137) | type Response = ServiceResponse>; type Error (line 138) | type Error = Error; type Future (line 139) | type Future = LocalBoxFuture<'static, Result>; function call (line 144) | fn call(&self, req: ServiceRequest) -> Self::Future { FILE: crates/routes/src/middleware/session.rs type SessionMiddleware (line 17) | pub struct SessionMiddleware { method new (line 22) | pub fn new(context: LemmyContext) -> Self { type Response (line 32) | type Response = ServiceResponse; type Error (line 33) | type Error = Error; type Transform (line 34) | type Transform = SessionService; type InitError (line 35) | type InitError = (); type Future (line 36) | type Future = Ready>; method new_transform (line 38) | fn new_transform(&self, service: S) -> Self::Future { type SessionService (line 46) | pub struct SessionService { type Response (line 57) | type Response = ServiceResponse; type Error (line 58) | type Error = Error; type Future (line 59) | type Future = LocalBoxFuture<'static, Result>; function call (line 63) | fn call(&self, req: ServiceRequest) -> Self::Future { function test_session_auth (line 117) | async fn test_session_auth() -> LemmyResult<()> { FILE: crates/routes/src/nodeinfo.rs function config (line 16) | pub fn config(cfg: &mut web::ServiceConfig) { function node_info_well_known (line 32) | async fn node_info_well_known(context: web::Data) -> Lemmy... function node_info (line 45) | async fn node_info(context: web::Data) -> Result Cors { FILE: crates/routes/src/utils/prometheus_metrics.rs function new_prometheus_metrics (line 13) | pub fn new_prometheus_metrics() -> LemmyResult { type PromContext (line 22) | struct PromContext { type DbPoolMetrics (line 27) | struct DbPoolMetrics { function serve_prometheus (line 33) | pub fn serve_prometheus(config: PrometheusConfig, lemmy_context: LemmyCo... function metrics (line 62) | async fn metrics(context: web::Data>) -> LemmyResult LemmyResult { function collect_db_pool_metrics (line 104) | fn collect_db_pool_metrics(context: &PromContext) { FILE: crates/routes/src/utils/scheduled_tasks.rs function setup (line 63) | pub async fn setup(context: Data) -> LemmyResult<()> { function update_hot_ranks (line 156) | async fn update_hot_ranks(pool: &mut DbPool<'_>) -> LemmyResult<()> { type HotRanksUpdateResult (line 184) | struct HotRanksUpdateResult { function process_ranks_in_batches (line 193) | async fn process_ranks_in_batches( function process_post_aggregates_ranks_in_batches (line 237) | async fn process_post_aggregates_ranks_in_batches(conn: &mut AsyncPgConn... function clear_old_activities (line 280) | async fn clear_old_activities(pool: &mut DbPool<'_>) -> LemmyResult<()> { function delete_old_denied_users (line 300) | async fn delete_old_denied_users(pool: &mut DbPool<'_>) -> LemmyResult<(... function overwrite_deleted_posts_and_comments (line 307) | async fn overwrite_deleted_posts_and_comments(pool: &mut DbPool<'_>) -> ... constant ONE_DAY (line 338) | const ONE_DAY: (&str, &str) = ("1 day", "day"); constant ONE_WEEK (line 339) | const ONE_WEEK: (&str, &str) = ("1 week", "week"); constant ONE_MONTH (line 340) | const ONE_MONTH: (&str, &str) = ("1 month", "month"); constant SIX_MONTHS (line 341) | const SIX_MONTHS: (&str, &str) = ("6 months", "half_year"); constant ALL_ACTIVE_INTERVALS (line 343) | const ALL_ACTIVE_INTERVALS: [(&str, &str); 4] = [ONE_DAY, ONE_WEEK, ONE_... type SiteActivitySelectResult (line 346) | struct SiteActivitySelectResult { type CommunityAggregatesUpdateResult (line 352) | struct CommunityAggregatesUpdateResult { function active_counts (line 358) | async fn active_counts(pool: &mut DbPool<'_>, interval: (&str, &str)) ->... function all_active_counts (line 378) | async fn all_active_counts(pool: &mut DbPool<'_>) -> LemmyResult<()> { function process_site_aggregates (line 393) | async fn process_site_aggregates( function process_community_aggregates (line 427) | async fn process_community_aggregates( function update_local_user_count (line 491) | async fn update_local_user_count(pool: &mut DbPool<'_>) -> LemmyResult<(... function update_banned_when_expired (line 522) | async fn update_banned_when_expired(pool: &mut DbPool<'_>) -> LemmyResul... function delete_instance_block_when_expired (line 543) | async fn delete_instance_block_when_expired(pool: &mut DbPool<'_>) -> Le... function publish_scheduled_posts (line 556) | async fn publish_scheduled_posts(context: &Data) -> LemmyR... function update_instance_software (line 609) | async fn update_instance_software( function build_update_instance_form (line 630) | async fn build_update_instance_form( function test_nodeinfo_lemmy_ml (line 716) | async fn test_nodeinfo_lemmy_ml() -> LemmyResult<()> { function test_nodeinfo_mastodon_social (line 726) | async fn test_nodeinfo_mastodon_social() -> LemmyResult<()> { function test_scheduled_tasks (line 737) | async fn test_scheduled_tasks() -> LemmyResult<()> { FILE: crates/routes/src/utils/setup_local_site.rs function setup_local_site (line 35) | pub async fn setup_local_site(pool: &mut DbPool<'_>, settings: &Settings... FILE: crates/routes/src/webfinger.rs type Params (line 20) | struct Params { function config (line 24) | pub fn config(cfg: &mut web::ServiceConfig) { function get_webfinger_response (line 37) | async fn get_webfinger_response( function webfinger_link_for_actor (line 97) | fn webfinger_link_for_actor( FILE: crates/server/src/lib.rs constant ACTIVITY_SENDING_TIMEOUT (line 67) | const ACTIVITY_SENDING_TIMEOUT: Duration = Duration::from_secs(125); type CmdArgs (line 77) | pub struct CmdArgs { type CmdSubcommand (line 117) | enum CmdSubcommand { type MigrationSubcommand (line 132) | enum MigrationSubcommand { function start_lemmy_server (line 140) | pub async fn start_lemmy_server(args: CmdArgs) -> LemmyResult<()> { function create_startup_server (line 309) | fn create_startup_server() -> LemmyResult { function create_http_server (line 328) | fn create_http_server( FILE: crates/server/src/main.rs function main (line 8) | pub async fn main() -> LemmyResult<()> { FILE: crates/utils/src/cache_header.rs function cache_header (line 10) | fn cache_header(seconds: usize) -> DefaultHeaders { function cache_1hour (line 15) | pub fn cache_1hour() -> DefaultHeaders { function cache_3days (line 20) | pub fn cache_3days() -> DefaultHeaders { FILE: crates/utils/src/error.rs type LemmyErrorType (line 12) | pub enum LemmyErrorType { type UntranslatedError (line 134) | pub enum UntranslatedError { FILE: crates/utils/src/lib.rs type ConnectionId (line 18) | pub type ConnectionId = usize; constant REQWEST_TIMEOUT (line 22) | pub const REQWEST_TIMEOUT: Duration = Duration::from_secs(10); constant DAY (line 26) | const DAY: Duration = Duration::from_secs(24 * 60 * 60); constant CACHE_DURATION_FEDERATION (line 29) | pub const CACHE_DURATION_FEDERATION: Duration = Duration::from_secs(0); constant CACHE_DURATION_FEDERATION (line 31) | pub const CACHE_DURATION_FEDERATION: Duration = Duration::from_secs(60); constant CACHE_DURATION_API (line 34) | pub const CACHE_DURATION_API: Duration = Duration::from_secs(0); constant CACHE_DURATION_API (line 36) | pub const CACHE_DURATION_API: Duration = Duration::from_secs(1); constant CACHE_DURATION_LARGEST_COMMUNITY (line 39) | pub const CACHE_DURATION_LARGEST_COMMUNITY: Duration = Duration::from_se... constant CACHE_DURATION_LARGEST_COMMUNITY (line 41) | pub const CACHE_DURATION_LARGEST_COMMUNITY: Duration = DAY; constant MAX_COMMENT_DEPTH_LIMIT (line 43) | pub const MAX_COMMENT_DEPTH_LIMIT: usize = 50; constant DB_BATCH_SIZE (line 46) | pub const DB_BATCH_SIZE: i64 = 1000; function version (line 48) | fn version() -> String { function federate_retry_sleep_duration (line 134) | pub fn federate_retry_sleep_duration(retry_count: i32) -> Duration { function test_federate_retry_sleep_duration (line 150) | fn test_federate_retry_sleep_duration() { FILE: crates/utils/src/main.rs function main (line 3) | fn main() { function config_to_string (line 13) | fn config_to_string() -> String { function test_config_defaults_updated (line 35) | fn test_config_defaults_updated() -> lemmy_utils::error::LemmyResult<()> { FILE: crates/utils/src/rate_limit/backend.rs type LemmyBackend (line 23) | pub struct LemmyBackend { method new (line 35) | pub(crate) fn new(configs: EnumMap, enable_g... method garbage_collector (line 50) | fn garbage_collector(map: Arc>, interval: D... type Output (line 66) | type Output = SimpleOutput; type RollbackToken (line 67) | type RollbackToken = LemmyInput; type Error (line 68) | type Error = Infallible; method request (line 71) | async fn request( method rollback (line 115) | async fn rollback(&self, token: Self::RollbackToken) -> Result<(), Sel... type Value (line 29) | struct Value { method drop (line 124) | fn drop(&mut self) { constant MINUTE_SECS (line 140) | const MINUTE_SECS: u32 = 60; constant MINUTE (line 141) | const MINUTE: Duration = Duration::from_secs(60); function test_config (line 143) | fn test_config(interval: u32, max_requests: u32) -> EnumMap LemmyResult<()> { function test_reset (line 194) | async fn test_reset() -> LemmyResult<()> { function test_garbage_collection (line 214) | async fn test_garbage_collection() -> LemmyResult<()> { function test_output (line 232) | async fn test_output() -> LemmyResult<()> { function test_rollback (line 259) | async fn test_rollback() -> LemmyResult<()> { FILE: crates/utils/src/rate_limit/input.rs type LemmyInput (line 9) | pub struct LemmyInput(pub(crate) RateLimitIpAddr, pub(crate) ActionType); type LemmyInputFuture (line 11) | pub(crate) type LemmyInputFuture = Ready Self { function raw_ip_key (line 34) | pub(crate) fn raw_ip_key(ip_str: Option<&str>) -> RateLimitIpAddr { function parse_ip (line 38) | fn parse_ip(addr: Option<&str>) -> IpAddr { function test_get_ip (line 55) | fn test_get_ip() -> LemmyResult<()> { FILE: crates/utils/src/rate_limit/mod.rs type ActionType (line 15) | pub enum ActionType { type BucketConfig (line 26) | pub struct BucketConfig { type RateLimit (line 32) | pub struct RateLimit { method new (line 37) | pub fn new(configs: EnumMap) -> Self { method with_debug_config (line 43) | pub fn with_debug_config() -> Self { method set_config (line 77) | pub fn set_config(&self, configs: EnumMap) { method build_rate_limiter (line 81) | fn build_rate_limiter( method message (line 95) | pub fn message( method search (line 102) | pub fn search( method register (line 108) | pub fn register( method post (line 114) | pub fn post( method image (line 120) | pub fn image( method comment (line 126) | pub fn comment( method import_user_settings (line 132) | pub fn import_user_settings( function new_input (line 140) | fn new_input(action_type: ActionType) -> impl Fn(&ServiceRequest) -> Lem... FILE: crates/utils/src/response.rs function jsonify_plain_text_errors (line 9) | pub fn jsonify_plain_text_errors( function build_error_response (line 38) | fn build_error_response( function test_non_error_responses_are_not_modified (line 69) | async fn test_non_error_responses_are_not_modified() { function test_lemmy_errors_are_not_modified (line 78) | async fn test_lemmy_errors_are_not_modified() { function test_generic_errors_are_jsonified_as_unknown_errors (line 92) | async fn test_generic_errors_are_jsonified_as_unknown_errors() { function test_anyhow_errors_wrapped_in_lemmy_errors_are_jsonified_correctly (line 106) | async fn test_anyhow_errors_wrapped_in_lemmy_errors_are_jsonified_correc... function test_rate_limit_error (line 120) | async fn test_rate_limit_error() { function check_for_jsonification (line 133) | async fn check_for_jsonification( FILE: crates/utils/src/settings/mod.rs constant CONNECTION_OPTIONS (line 14) | const CONNECTION_OPTIONS: [&str; 1] = ["geqo_threshold=12"]; method init (line 37) | pub(crate) fn init() -> LemmyResult { method get_database_url (line 49) | pub fn get_database_url(&self) -> String { method get_protocol_string (line 58) | fn get_protocol_string(&self) -> &'static str { method get_protocol_and_hostname (line 64) | pub fn get_protocol_and_hostname(&self) -> String { method get_hostname_without_port (line 71) | pub fn get_hostname_without_port(&self) -> Result { method pictrs (line 83) | pub fn pictrs(&self) -> LemmyResult { method get_database_url_with_options (line 91) | pub fn get_database_url_with_options(&self) -> LemmyResult { function pictrs_placeholder_url (line 116) | fn pictrs_placeholder_url() -> Url { function test_load_config (line 126) | fn test_load_config() -> LemmyResult<()> { FILE: crates/utils/src/settings/structs.rs type Settings (line 14) | pub struct Settings { method cors_origin (line 60) | pub fn cors_origin(&self) -> Vec { type PictrsConfig (line 70) | pub struct PictrsConfig { type DatabaseConfig (line 82) | pub struct DatabaseConfig { type EmailConfig (line 102) | pub struct EmailConfig { type SetupConfig (line 114) | pub struct SetupConfig { type PrometheusConfig (line 139) | pub struct PrometheusConfig { type FederationWorkerConfig (line 153) | pub struct FederationWorkerConfig { type PluginSettings (line 164) | pub struct PluginSettings { FILE: crates/utils/src/utils/markdown/identifier_rule.rs type Identifier (line 11) | pub struct Identifier { method render (line 18) | fn render(&self, node: &Node, fmt: &mut dyn Renderer) { type CommunityIdentifierScanner (line 33) | struct CommunityIdentifierScanner; type PersonIdentifierScanner (line 34) | struct PersonIdentifierScanner; constant MARKER (line 37) | const MARKER: char = '!'; method run (line 39) | fn run(state: &mut InlineState) -> Option<(Node, usize)> { constant MARKER (line 45) | const MARKER: char = '@'; method run (line 47) | fn run(state: &mut InlineState) -> Option<(Node, usize)> { function scan_for_identifier (line 52) | fn scan_for_identifier( function add (line 107) | pub fn add(md: &mut MarkdownIt) { FILE: crates/utils/src/utils/markdown/image_links.rs function markdown_rewrite_image_links (line 17) | pub fn markdown_rewrite_image_links(mut src: String) -> (String, Vec (&s... function markdown_find_links (line 61) | pub fn markdown_find_links(src: &str) -> Vec<(usize, usize)> { function find_urls (line 66) | fn find_urls(src: &str) -> Vec<(usize, usize... type UrlAndTitle (line 94) | trait UrlAndTitle { method url_len (line 95) | fn url_len(&self) -> usize; method title_len (line 96) | fn title_len(&self) -> usize; method url_len (line 100) | fn url_len(&self) -> usize { method title_len (line 104) | fn title_len(&self) -> usize { method url_len (line 109) | fn url_len(&self) -> usize { method title_len (line 112) | fn title_len(&self) -> usize { type NoopLinkFormatter (line 120) | struct NoopLinkFormatter; method validate_link (line 123) | fn validate_link(&self, _url: &str) -> Option<()> { method normalize_link (line 127) | fn normalize_link(&self, url: &str) -> String { method normalize_link_text (line 131) | fn normalize_link_text(&self, url: &str) -> String { function test_find_links (line 143) | fn test_find_links() { function test_markdown_proxy_images (line 158) | fn test_markdown_proxy_images() { FILE: crates/utils/src/utils/markdown/link_rule.rs type Link (line 18) | pub struct Link { method render (line 24) | fn render(&self, node: &Node, fmt: &mut dyn Renderer) { function add (line 47) | pub fn add(md: &mut MarkdownIt) { FILE: crates/utils/src/utils/markdown/mod.rs function markdown_to_html (line 25) | pub fn markdown_to_html(text: &str) -> String { function markdown_check_for_blocked_urls (line 29) | pub fn markdown_check_for_blocked_urls(text: &str, blocklist: &RegexSet)... function test_basic_markdown (line 45) | fn test_basic_markdown() { function create_url_blocklist_test_regex_set (line 160) | fn create_url_blocklist_test_regex_set(patterns: Vec<&str>) -> LemmyResu... function test_url_blocking (line 169) | fn test_url_blocking() -> LemmyResult<()> { FILE: crates/utils/src/utils/mention.rs type MentionData (line 11) | pub struct MentionData { method is_local (line 17) | pub fn is_local(&self, hostname: &str) -> bool { method full_name (line 20) | pub fn full_name(&self) -> String { function scrape_text_for_mentions (line 25) | pub fn scrape_text_for_mentions(text: &str) -> Vec { function test_mentions_regex (line 45) | fn test_mentions_regex() { FILE: crates/utils/src/utils/slurs.rs function remove_slurs (line 4) | pub fn remove_slurs(test: &str, slur_regex: &Regex) -> String { function slur_check (line 8) | pub(crate) fn slur_check<'a>(test: &'a str, slur_regex: &'a Regex) -> Re... function check_slurs (line 22) | pub fn check_slurs(text: &str, slur_regex: &Regex) -> LemmyResult<()> { function check_slurs_opt (line 30) | pub fn check_slurs_opt(text: &Option, slur_regex: &Regex) -> Lem... function slurs_vec_to_str (line 37) | pub(crate) fn slurs_vec_to_str(slurs: &[&str]) -> String { function test_slur_filter (line 54) | fn test_slur_filter() -> LemmyResult<()> { FILE: crates/utils/src/utils/validation.rs constant ALLOWED_POST_URL_SCHEMES (line 20) | const ALLOWED_POST_URL_SCHEMES: [&str; 3] = ["http", "https", "magnet"]; constant BODY_MAX_LENGTH (line 22) | const BODY_MAX_LENGTH: usize = 10000; constant POST_BODY_MAX_LENGTH (line 23) | const POST_BODY_MAX_LENGTH: usize = 50000; constant BIO_MAX_LENGTH (line 24) | const BIO_MAX_LENGTH: usize = 1000; constant URL_MAX_LENGTH (line 25) | const URL_MAX_LENGTH: usize = 2000; constant ALT_TEXT_MAX_LENGTH (line 26) | const ALT_TEXT_MAX_LENGTH: usize = 1500; constant SITE_NAME_MAX_LENGTH (line 27) | const SITE_NAME_MAX_LENGTH: usize = 20; constant SITE_NAME_MIN_LENGTH (line 28) | const SITE_NAME_MIN_LENGTH: usize = 1; constant SITE_SUMMARY_MAX_LENGTH (line 29) | const SITE_SUMMARY_MAX_LENGTH: usize = 150; constant MIN_LENGTH_BLOCKING_KEYWORD (line 30) | const MIN_LENGTH_BLOCKING_KEYWORD: usize = 3; constant MAX_LENGTH_BLOCKING_KEYWORD (line 31) | const MAX_LENGTH_BLOCKING_KEYWORD: usize = 50; constant ACTOR_NAME_MAX_LENGTH (line 32) | const ACTOR_NAME_MAX_LENGTH: usize = 20; constant DISPLAY_NAME_MAX_LENGTH (line 33) | const DISPLAY_NAME_MAX_LENGTH: usize = 50; function has_newline (line 35) | fn has_newline(name: &str) -> bool { function is_valid_actor_name (line 39) | pub fn is_valid_actor_name(name: &str) -> LemmyResult<()> { function has_3_permitted_display_chars (line 57) | fn has_3_permitted_display_chars(name: &str) -> bool { function is_valid_display_name (line 74) | pub fn is_valid_display_name(name: &str) -> LemmyResult<()> { function is_valid_matrix_id (line 87) | pub fn is_valid_matrix_id(matrix_id: &str) -> LemmyResult<()> { function is_valid_post_title (line 96) | pub fn is_valid_post_title(title: &str) -> LemmyResult<()> { function is_valid_body_field (line 108) | pub fn is_valid_body_field(body: &str, post: bool) -> LemmyResult<()> { function is_valid_bio_field (line 117) | pub fn is_valid_bio_field(bio: &str) -> LemmyResult<()> { function is_valid_alt_text_field (line 121) | pub fn is_valid_alt_text_field(alt_text: &str) -> LemmyResult<()> { function site_name_length_check (line 132) | pub fn site_name_length_check(name: &str) -> LemmyResult<()> { function summary_length_check (line 142) | pub fn summary_length_check(description: &str) -> LemmyResult<()> { function max_length_check (line 156) | fn max_length_check(item: &str, max_length: usize, max_msg: LemmyErrorTy... function min_length_check (line 165) | fn min_length_check(item: &str, min_length: usize, min_msg: LemmyErrorTy... function build_and_check_regex (line 175) | pub fn build_and_check_regex(regex_str_opt: Option<&str>) -> LemmyResult... function clean_url (line 201) | pub fn clean_url(url: &Url) -> Url { function clean_urls_in_text (line 210) | pub fn clean_urls_in_text(text: &str) -> String { function is_valid_url (line 218) | pub fn is_valid_url(url: &Url) -> LemmyResult<()> { function is_url_blocked (line 232) | pub fn is_url_blocked(url: &Url, blocklist: &RegexSet) -> LemmyResult<()> { function check_urls_are_valid (line 241) | pub fn check_urls_are_valid(urls: &Vec) -> LemmyResult... function build_url_str_without_scheme (line 268) | fn build_url_str_without_scheme(url_str: &str) -> LemmyResult { function truncate_for_db (line 301) | fn truncate_for_db(text: &str, len: usize) -> String { function truncate_summary (line 347) | pub fn truncate_summary(text: &str) -> String { function check_api_elements_count (line 351) | pub fn check_api_elements_count(len: usize) -> LemmyResult<()> { constant URL_WITH_TRACKING (line 386) | const URL_WITH_TRACKING: &str = "https://example.com/path/123?utm_conten... constant URL_TRACKING_REMOVED (line 387) | const URL_TRACKING_REMOVED: &str = "https://example.com/path/123?user+na... function test_clean_url_params (line 390) | fn test_clean_url_params() -> LemmyResult<()> { function test_clean_body (line 404) | fn test_clean_body() -> LemmyResult<()> { function regex_checks (line 418) | fn regex_checks() { function test_valid_actor_name (line 431) | fn test_valid_actor_name() { function test_valid_display_name (line 460) | fn test_valid_display_name() { function test_valid_post_title (line 472) | fn test_valid_post_title() { function test_valid_matrix_id (line 487) | fn test_valid_matrix_id() { function test_valid_site_name (line 498) | fn test_valid_site_name() -> LemmyResult<()> { function test_valid_bio (line 539) | fn test_valid_bio() { function test_valid_site_description (line 552) | fn test_valid_site_description() { function test_valid_slur_regex (line 577) | fn test_valid_slur_regex() -> LemmyResult<()> { function test_too_permissive_slur_regex (line 595) | fn test_too_permissive_slur_regex() { function test_check_url_valid (line 618) | fn test_check_url_valid() -> LemmyResult<()> { function test_url_block (line 648) | fn test_url_block() -> LemmyResult<()> { function test_url_parsed (line 665) | fn test_url_parsed() -> LemmyResult<()> { function test_truncate (line 685) | fn test_truncate() -> LemmyResult<()> { FILE: crates/utils/tests/test_errors_used.rs function test_errors_used (line 7) | fn test_errors_used() { FILE: migrations/00000000000000_diesel_initial_setup/up.sql function diesel_set_updated_at (line 25) | CREATE OR REPLACE FUNCTION diesel_set_updated_at () FILE: migrations/2019-02-26-002946_create_user/up.sql type user_ (line 1) | CREATE TABLE user_ ( type user_ban (line 16) | CREATE TABLE user_ban ( FILE: migrations/2019-02-27-170003_create_community/up.sql type category (line 1) | CREATE TABLE category ( type community (line 35) | CREATE TABLE community ( type community_moderator (line 47) | CREATE TABLE community_moderator ( type community_follower (line 55) | CREATE TABLE community_follower ( type community_user_ban (line 63) | CREATE TABLE community_user_ban ( type site (line 74) | CREATE TABLE site ( FILE: migrations/2019-03-03-163336_create_post/up.sql type post (line 1) | CREATE TABLE post ( type post_like (line 14) | CREATE TABLE post_like ( type post_saved (line 23) | CREATE TABLE post_saved ( type post_read (line 31) | CREATE TABLE post_read ( FILE: migrations/2019-03-05-233828_create_comment/up.sql type comment (line 1) | CREATE TABLE comment ( type comment_like (line 13) | CREATE TABLE comment_like ( type comment_saved (line 23) | CREATE TABLE comment_saved ( FILE: migrations/2019-03-30-212058_create_post_view/up.sql function hot_rank (line 2) | CREATE OR REPLACE FUNCTION hot_rank (score numeric, published timestamp ... type post_view (line 12) | CREATE VIEW post_view AS FILE: migrations/2019-04-03-155205_create_community_view/up.sql type community_view (line 1) | CREATE VIEW community_view AS type community_moderator_view (line 67) | CREATE VIEW community_moderator_view AS type community_follower_view (line 87) | CREATE VIEW community_follower_view AS type community_user_ban_view (line 107) | CREATE VIEW community_user_ban_view AS type site_view (line 127) | CREATE VIEW site_view AS FILE: migrations/2019-04-03-155309_create_comment_view/up.sql type comment_view (line 1) | CREATE VIEW comment_view AS type reply_view (line 81) | CREATE VIEW reply_view AS FILE: migrations/2019-04-07-003142_create_moderation_logs/up.sql type mod_remove_post (line 1) | CREATE TABLE mod_remove_post ( type mod_lock_post (line 10) | CREATE TABLE mod_lock_post ( type mod_remove_comment (line 18) | CREATE TABLE mod_remove_comment ( type mod_remove_community (line 27) | CREATE TABLE mod_remove_community ( type mod_ban_from_community (line 38) | CREATE TABLE mod_ban_from_community ( type mod_ban (line 49) | CREATE TABLE mod_ban ( type mod_add_community (line 59) | CREATE TABLE mod_add_community ( type mod_add (line 69) | CREATE TABLE mod_add ( FILE: migrations/2019-04-08-015947_create_user_view/up.sql type user_view (line 1) | CREATE VIEW user_view AS FILE: migrations/2019-04-11-144915_create_mod_views/up.sql type mod_remove_post_view (line 1) | CREATE VIEW mod_remove_post_view AS type mod_lock_post_view (line 39) | CREATE VIEW mod_lock_post_view AS type mod_remove_comment_view (line 77) | CREATE VIEW mod_remove_comment_view AS type mod_remove_community_view (line 153) | CREATE VIEW mod_remove_community_view AS type mod_ban_from_community_view (line 173) | CREATE VIEW mod_ban_from_community_view AS type mod_ban_view (line 200) | CREATE VIEW mod_ban_view AS type mod_add_community_view (line 220) | CREATE VIEW mod_add_community_view AS type mod_add_view (line 247) | CREATE VIEW mod_add_view AS FILE: migrations/2019-04-29-175834_add_delete_columns/down.sql type community_view (line 18) | CREATE VIEW community_view AS type post_view (line 84) | CREATE OR REPLACE VIEW post_view AS type comment_view (line 180) | CREATE VIEW comment_view AS type reply_view (line 260) | CREATE VIEW reply_view AS FILE: migrations/2019-04-29-175834_add_delete_columns/up.sql type community_view (line 13) | CREATE VIEW community_view AS type post_view (line 81) | CREATE VIEW post_view AS type comment_view (line 188) | CREATE VIEW comment_view AS type reply_view (line 268) | CREATE VIEW reply_view AS FILE: migrations/2019-05-02-051656_community_view_hot_rank/down.sql type community_view (line 3) | CREATE VIEW community_view AS FILE: migrations/2019-05-02-051656_community_view_hot_rank/up.sql type community_view (line 3) | CREATE VIEW community_view AS FILE: migrations/2019-08-11-000918_add_nsfw_columns/down.sql type community_view (line 15) | CREATE VIEW community_view AS type post_view (line 88) | CREATE VIEW post_view AS FILE: migrations/2019-08-11-000918_add_nsfw_columns/up.sql type community_view (line 13) | CREATE VIEW community_view AS type post_view (line 88) | CREATE VIEW post_view AS FILE: migrations/2019-08-29-040006_add_community_count/down.sql type site_view (line 3) | CREATE VIEW site_view AS FILE: migrations/2019-08-29-040006_add_community_count/up.sql type site_view (line 3) | CREATE VIEW site_view AS FILE: migrations/2019-09-05-230317_add_mod_ban_views/down.sql type post_view (line 4) | CREATE VIEW post_view AS FILE: migrations/2019-09-05-230317_add_mod_ban_views/up.sql type post_view (line 4) | CREATE VIEW post_view AS FILE: migrations/2019-09-09-042010_add_stickied_posts/down.sql type post_view (line 10) | CREATE VIEW post_view AS FILE: migrations/2019-09-09-042010_add_stickied_posts/up.sql type mod_sticky_post (line 6) | CREATE TABLE mod_sticky_post ( type mod_sticky_post_view (line 15) | CREATE VIEW mod_sticky_post_view AS type post_view (line 56) | CREATE VIEW post_view AS FILE: migrations/2019-10-19-052737_create_user_mention/up.sql type user_mention (line 1) | CREATE TABLE user_mention ( type user_mention_view (line 10) | CREATE VIEW user_mention_view AS FILE: migrations/2019-10-24-002614_create_password_reset_request/up.sql type password_reset_request (line 1) | CREATE TABLE password_reset_request ( FILE: migrations/2019-12-11-181820_add_site_fields/down.sql type site_view (line 14) | CREATE VIEW site_view AS FILE: migrations/2019-12-11-181820_add_site_fields/up.sql type site_view (line 14) | CREATE VIEW site_view AS FILE: migrations/2019-12-29-164820_add_avatar/down.sql type user_view (line 11) | CREATE VIEW user_view AS type post_view (line 58) | CREATE VIEW post_view AS type community_view (line 186) | CREATE VIEW community_view AS type comment_view (line 259) | CREATE VIEW comment_view AS type reply_view (line 339) | CREATE VIEW reply_view AS type user_mention_view (line 374) | CREATE VIEW user_mention_view AS type community_moderator_view (line 413) | CREATE VIEW community_moderator_view AS type community_follower_view (line 433) | CREATE VIEW community_follower_view AS type community_user_ban_view (line 453) | CREATE VIEW community_user_ban_view AS type site_view (line 473) | CREATE VIEW site_view AS FILE: migrations/2019-12-29-164820_add_avatar/up.sql type user_view (line 11) | CREATE VIEW user_view AS type post_view (line 59) | CREATE VIEW post_view AS type community_view (line 194) | CREATE VIEW community_view AS type comment_view (line 280) | CREATE VIEW comment_view AS type reply_view (line 367) | CREATE VIEW reply_view AS type user_mention_view (line 402) | CREATE VIEW user_mention_view AS type community_moderator_view (line 442) | CREATE VIEW community_moderator_view AS type community_follower_view (line 468) | CREATE VIEW community_follower_view AS type community_user_ban_view (line 494) | CREATE VIEW community_user_ban_view AS type site_view (line 520) | CREATE VIEW site_view AS FILE: migrations/2020-01-01-200418_add_email_to_user_view/down.sql type user_view (line 4) | CREATE VIEW user_view AS FILE: migrations/2020-01-01-200418_add_email_to_user_view/up.sql type user_view (line 4) | CREATE VIEW user_view AS FILE: migrations/2020-01-02-172755_add_show_avatar_and_email_notifications_to_user/down.sql type user_view (line 11) | CREATE VIEW user_view AS FILE: migrations/2020-01-02-172755_add_show_avatar_and_email_notifications_to_user/up.sql type user_view (line 11) | CREATE VIEW user_view AS FILE: migrations/2020-01-11-012452_add_indexes/up.sql type idx_post_creator (line 2) | CREATE INDEX idx_post_creator ON post (creator_id) type idx_post_community (line 4) | CREATE INDEX idx_post_community ON post (community_id) type idx_post_like_post (line 6) | CREATE INDEX idx_post_like_post ON post_like (post_id) type idx_post_like_user (line 8) | CREATE INDEX idx_post_like_user ON post_like (user_id) type idx_comment_creator (line 10) | CREATE INDEX idx_comment_creator ON comment (creator_id) type idx_comment_parent (line 12) | CREATE INDEX idx_comment_parent ON comment (parent_id) type idx_comment_post (line 14) | CREATE INDEX idx_comment_post ON comment (post_id) type idx_comment_like_comment (line 16) | CREATE INDEX idx_comment_like_comment ON comment_like (comment_id) type idx_comment_like_user (line 18) | CREATE INDEX idx_comment_like_user ON comment_like (user_id) type idx_comment_like_post (line 20) | CREATE INDEX idx_comment_like_post ON comment_like (post_id) type idx_community_creator (line 22) | CREATE INDEX idx_community_creator ON community (creator_id) type idx_community_category (line 24) | CREATE INDEX idx_community_category ON community (category_id) FILE: migrations/2020-01-13-025151_create_materialized_views/down.sql type post_view (line 38) | CREATE VIEW post_view AS type user_view (line 181) | CREATE VIEW user_view AS type community_view (line 237) | CREATE VIEW community_view AS type comment_view (line 329) | CREATE VIEW comment_view AS type reply_view (line 416) | CREATE VIEW reply_view AS type user_mention_view (line 451) | CREATE VIEW user_mention_view AS FILE: migrations/2020-01-13-025151_create_materialized_views/up.sql type post_aggregates_view (line 2) | CREATE VIEW post_aggregates_view AS type idx_post_aggregates_mview_id (line 95) | CREATE UNIQUE INDEX idx_post_aggregates_mview_id ON post_aggregates_mvie... type post_view (line 99) | CREATE VIEW post_view AS type post_mview (line 150) | CREATE VIEW post_mview AS type user_view (line 204) | CREATE VIEW user_view AS type idx_user_mview_id (line 257) | CREATE UNIQUE INDEX idx_user_mview_id ON user_mview (id) type community_aggregates_view (line 260) | CREATE VIEW community_aggregates_view AS type idx_community_aggregates_mview_id (line 322) | CREATE UNIQUE INDEX idx_community_aggregates_mview_id ON community_aggre... type community_view (line 326) | CREATE VIEW community_view AS type community_mview (line 355) | CREATE VIEW community_mview AS type comment_aggregates_view (line 385) | CREATE VIEW comment_aggregates_view AS type idx_comment_aggregates_mview_id (line 450) | CREATE UNIQUE INDEX idx_comment_aggregates_mview_id ON comment_aggregate... type comment_view (line 458) | CREATE VIEW comment_view AS type comment_mview (line 491) | CREATE VIEW comment_mview AS type reply_view (line 524) | CREATE VIEW reply_view AS type user_mention_view (line 559) | CREATE VIEW user_mention_view AS function refresh_user (line 591) | CREATE OR REPLACE FUNCTION refresh_user () function refresh_post (line 610) | CREATE OR REPLACE FUNCTION refresh_post () function refresh_post_like (line 627) | CREATE OR REPLACE FUNCTION refresh_post_like () function refresh_community (line 644) | CREATE OR REPLACE FUNCTION refresh_community () function refresh_community_follower (line 662) | CREATE OR REPLACE FUNCTION refresh_community_follower () function refresh_community_user_ban (line 679) | CREATE OR REPLACE FUNCTION refresh_community_user_ban () function refresh_comment (line 696) | CREATE OR REPLACE FUNCTION refresh_comment () function refresh_comment_like (line 715) | CREATE OR REPLACE FUNCTION refresh_comment_like () FILE: migrations/2020-01-21-001001_create_private_message/down.sql type user_view (line 14) | CREATE VIEW user_view AS type idx_user_mview_id (line 67) | CREATE UNIQUE INDEX idx_user_mview_id ON user_mview (id) FILE: migrations/2020-01-21-001001_create_private_message/up.sql type private_message (line 2) | CREATE TABLE private_message ( type private_message_view (line 14) | CREATE VIEW private_message_view AS type idx_private_message_mview_id (line 32) | CREATE UNIQUE INDEX idx_private_message_mview_id ON private_message_mvie... function refresh_private_message (line 35) | CREATE OR REPLACE FUNCTION refresh_private_message () type user_view (line 56) | CREATE VIEW user_view AS type idx_user_mview_id (line 110) | CREATE UNIQUE INDEX idx_user_mview_id ON user_mview (id) FILE: migrations/2020-01-29-011901_create_reply_materialized_view/down.sql type reply_view (line 4) | CREATE VIEW reply_view AS FILE: migrations/2020-01-29-011901_create_reply_materialized_view/up.sql type reply_view (line 5) | CREATE VIEW reply_view AS FILE: migrations/2020-01-29-030825_create_user_mention_materialized_view/up.sql type user_mention_mview (line 1) | CREATE VIEW user_mention_mview AS FILE: migrations/2020-02-02-004806_add_case_insensitive_usernames/up.sql type idx_user_name_lower (line 22) | CREATE UNIQUE INDEX idx_user_name_lower ON user_ (lower(name)) type idx_user_email_lower (line 25) | CREATE UNIQUE INDEX idx_user_email_lower ON user_ (lower(email)) FILE: migrations/2020-02-06-165953_change_post_title_length/down.sql type post_aggregates_view (line 22) | CREATE VIEW post_aggregates_view AS type idx_post_aggregates_mview_id (line 115) | CREATE UNIQUE INDEX idx_post_aggregates_mview_id ON post_aggregates_mvie... type post_view (line 117) | CREATE VIEW post_view AS type post_mview (line 168) | CREATE VIEW post_mview AS type mod_remove_post_view (line 220) | CREATE VIEW mod_remove_post_view AS type mod_lock_post_view (line 258) | CREATE VIEW mod_lock_post_view AS type mod_remove_comment_view (line 296) | CREATE VIEW mod_remove_comment_view AS type mod_sticky_post_view (line 372) | CREATE VIEW mod_sticky_post_view AS FILE: migrations/2020-02-06-165953_change_post_title_length/up.sql type post_aggregates_view (line 23) | CREATE VIEW post_aggregates_view AS type idx_post_aggregates_mview_id (line 116) | CREATE UNIQUE INDEX idx_post_aggregates_mview_id ON post_aggregates_mvie... type post_view (line 118) | CREATE VIEW post_view AS type post_mview (line 169) | CREATE VIEW post_mview AS type mod_remove_post_view (line 221) | CREATE VIEW mod_remove_post_view AS type mod_lock_post_view (line 259) | CREATE VIEW mod_lock_post_view AS type mod_remove_comment_view (line 297) | CREATE VIEW mod_remove_comment_view AS type mod_sticky_post_view (line 373) | CREATE VIEW mod_sticky_post_view AS FILE: migrations/2020-02-07-210055_add_comment_subscribed/down.sql type comment_aggregates_view (line 16) | CREATE VIEW comment_aggregates_view AS type idx_comment_aggregates_mview_id (line 81) | CREATE UNIQUE INDEX idx_comment_aggregates_mview_id ON comment_aggregate... type comment_view (line 83) | CREATE VIEW comment_view AS type comment_mview (line 116) | CREATE VIEW comment_mview AS type reply_view (line 150) | CREATE VIEW reply_view AS type user_mention_view (line 185) | CREATE VIEW user_mention_view AS type user_mention_mview (line 216) | CREATE VIEW user_mention_mview AS FILE: migrations/2020-02-07-210055_add_comment_subscribed/up.sql type comment_aggregates_view (line 18) | CREATE VIEW comment_aggregates_view AS type idx_comment_aggregates_mview_id (line 93) | CREATE UNIQUE INDEX idx_comment_aggregates_mview_id ON comment_aggregate... type comment_view (line 95) | CREATE VIEW comment_view AS type comment_mview (line 137) | CREATE VIEW comment_mview AS type reply_view (line 180) | CREATE VIEW reply_view AS type user_mention_view (line 215) | CREATE VIEW user_mention_view AS type user_mention_mview (line 248) | CREATE VIEW user_mention_mview AS FILE: migrations/2020-02-08-145624_add_post_newest_activity_time/down.sql type post_aggregates_view (line 10) | CREATE VIEW post_aggregates_view AS type idx_post_aggregates_mview_id (line 103) | CREATE UNIQUE INDEX idx_post_aggregates_mview_id ON post_aggregates_mvie... type post_view (line 105) | CREATE VIEW post_view AS type post_mview (line 156) | CREATE VIEW post_mview AS FILE: migrations/2020-02-08-145624_add_post_newest_activity_time/up.sql type post_aggregates_view (line 11) | CREATE VIEW post_aggregates_view AS type idx_post_aggregates_mview_id (line 124) | CREATE UNIQUE INDEX idx_post_aggregates_mview_id ON post_aggregates_mvie... type post_view (line 126) | CREATE VIEW post_view AS type post_mview (line 177) | CREATE VIEW post_mview AS FILE: migrations/2020-03-06-202329_add_post_iframely_data/down.sql type post_aggregates_view (line 24) | CREATE VIEW post_aggregates_view AS type idx_post_aggregates_mview_id (line 137) | CREATE UNIQUE INDEX idx_post_aggregates_mview_id ON post_aggregates_mvie... type post_view (line 139) | CREATE VIEW post_view AS type post_mview (line 190) | CREATE VIEW post_mview AS FILE: migrations/2020-03-06-202329_add_post_iframely_data/up.sql type post_aggregates_view (line 25) | CREATE VIEW post_aggregates_view AS type idx_post_aggregates_mview_id (line 138) | CREATE UNIQUE INDEX idx_post_aggregates_mview_id ON post_aggregates_mvie... type post_view (line 140) | CREATE VIEW post_view AS type post_mview (line 191) | CREATE VIEW post_mview AS FILE: migrations/2020-03-26-192410_add_activitypub_tables/up.sql type activity (line 3) | CREATE TABLE activity ( type idx_activity_unique_apid (line 13) | CREATE UNIQUE INDEX idx_activity_unique_apid ON activity ((data ->> 'id'... FILE: migrations/2020-04-07-135912_add_user_community_apub_constraints/down.sql type user_view (line 16) | CREATE VIEW user_view AS type idx_user_mview_id (line 70) | CREATE UNIQUE INDEX idx_user_mview_id ON user_mview (id) FILE: migrations/2020-04-07-135912_add_user_community_apub_constraints/up.sql type user_view (line 16) | CREATE VIEW user_view AS type idx_user_mview_id (line 69) | CREATE UNIQUE INDEX idx_user_mview_id ON user_mview (id) FILE: migrations/2020-04-14-163701_update_views_for_activitypub/down.sql type user_view (line 4) | CREATE VIEW user_view AS type idx_user_mview_id (line 57) | CREATE UNIQUE INDEX idx_user_mview_id ON user_mview (id) type community_aggregates_view (line 62) | CREATE VIEW community_aggregates_view AS type idx_community_aggregates_mview_id (line 124) | CREATE UNIQUE INDEX idx_community_aggregates_mview_id ON community_aggre... type community_view (line 126) | CREATE VIEW community_view AS type community_mview (line 155) | CREATE VIEW community_mview AS type community_moderator_view (line 191) | CREATE VIEW community_moderator_view AS type community_follower_view (line 217) | CREATE VIEW community_follower_view AS type community_user_ban_view (line 243) | CREATE VIEW community_user_ban_view AS type post_aggregates_view (line 279) | CREATE VIEW post_aggregates_view AS type idx_post_aggregates_mview_id (line 392) | CREATE UNIQUE INDEX idx_post_aggregates_mview_id ON post_aggregates_mvie... type post_view (line 394) | CREATE VIEW post_view AS type post_mview (line 445) | CREATE VIEW post_mview AS type comment_aggregates_view (line 512) | CREATE VIEW comment_aggregates_view AS type idx_comment_aggregates_mview_id (line 587) | CREATE UNIQUE INDEX idx_comment_aggregates_mview_id ON comment_aggregate... type comment_view (line 589) | CREATE VIEW comment_view AS type comment_mview (line 631) | CREATE VIEW comment_mview AS type reply_view (line 674) | CREATE VIEW reply_view AS type user_mention_view (line 709) | CREATE VIEW user_mention_view AS type user_mention_mview (line 742) | CREATE VIEW user_mention_mview AS FILE: migrations/2020-04-14-163701_update_views_for_activitypub/up.sql type user_view (line 4) | CREATE VIEW user_view AS type idx_user_mview_id (line 60) | CREATE UNIQUE INDEX idx_user_mview_id ON user_mview (id) type community_aggregates_view (line 65) | CREATE VIEW community_aggregates_view AS type idx_community_aggregates_mview_id (line 155) | CREATE UNIQUE INDEX idx_community_aggregates_mview_id ON community_aggre... type community_view (line 157) | CREATE VIEW community_view AS type community_mview (line 186) | CREATE VIEW community_mview AS type community_moderator_view (line 222) | CREATE VIEW community_moderator_view AS type community_follower_view (line 276) | CREATE VIEW community_follower_view AS type community_user_ban_view (line 330) | CREATE VIEW community_user_ban_view AS type post_aggregates_view (line 394) | CREATE VIEW post_aggregates_view AS type idx_post_aggregates_mview_id (line 535) | CREATE UNIQUE INDEX idx_post_aggregates_mview_id ON post_aggregates_mvie... type post_view (line 537) | CREATE VIEW post_view AS type post_mview (line 588) | CREATE VIEW post_mview AS type comment_aggregates_view (line 655) | CREATE VIEW comment_aggregates_view AS type idx_comment_aggregates_mview_id (line 762) | CREATE UNIQUE INDEX idx_comment_aggregates_mview_id ON comment_aggregate... type comment_view (line 764) | CREATE VIEW comment_view AS type comment_mview (line 806) | CREATE VIEW comment_mview AS type reply_view (line 849) | CREATE VIEW reply_view AS type user_mention_view (line 884) | CREATE VIEW user_mention_view AS type user_mention_mview (line 935) | CREATE VIEW user_mention_mview AS FILE: migrations/2020-04-21-123957_remove_unique_user_constraints/down.sql type idx_user_name_lower (line 4) | CREATE UNIQUE INDEX idx_user_name_lower ON user_ (lower(name)) FILE: migrations/2020-04-21-123957_remove_unique_user_constraints/up.sql type idx_user_name_lower_actor_id (line 3) | CREATE UNIQUE INDEX idx_user_name_lower_actor_id ON user_ (lower(name), ... FILE: migrations/2020-05-05-210233_add_activitypub_for_private_messages/down.sql type private_message_view (line 9) | CREATE VIEW private_message_view AS type idx_private_message_mview_id (line 27) | CREATE UNIQUE INDEX idx_private_message_mview_id ON private_message_mvie... FILE: migrations/2020-05-05-210233_add_activitypub_for_private_messages/up.sql type private_message_view (line 9) | CREATE VIEW private_message_view AS type idx_private_message_mview_id (line 31) | CREATE UNIQUE INDEX idx_private_message_mview_id ON private_message_mvie... FILE: migrations/2020-06-30-135809_remove_mat_views/down.sql type idx_private_message_mview_id (line 28) | CREATE UNIQUE INDEX idx_private_message_mview_id ON private_message_mvie... function refresh_private_message (line 31) | CREATE OR REPLACE FUNCTION refresh_private_message () function refresh_user (line 47) | CREATE OR REPLACE FUNCTION refresh_user () type user_view (line 69) | CREATE VIEW user_view AS type idx_user_mview_id (line 125) | CREATE UNIQUE INDEX idx_user_mview_id ON user_mview (id) function refresh_community (line 135) | CREATE OR REPLACE FUNCTION refresh_community () type community_aggregates_view (line 149) | CREATE VIEW community_aggregates_view AS type idx_community_aggregates_mview_id (line 239) | CREATE UNIQUE INDEX idx_community_aggregates_mview_id ON community_aggre... type community_view (line 241) | CREATE VIEW community_view AS type community_mview (line 270) | CREATE VIEW community_mview AS type post_aggregates_view (line 305) | CREATE VIEW post_aggregates_view AS type idx_post_aggregates_mview_id (line 446) | CREATE UNIQUE INDEX idx_post_aggregates_mview_id ON post_aggregates_mvie... type post_view (line 448) | CREATE VIEW post_view AS type post_mview (line 499) | CREATE VIEW post_mview AS function refresh_post (line 557) | CREATE OR REPLACE FUNCTION refresh_post () type comment_aggregates_view (line 576) | CREATE VIEW comment_aggregates_view AS type idx_comment_aggregates_mview_id (line 683) | CREATE UNIQUE INDEX idx_comment_aggregates_mview_id ON comment_aggregate... type comment_view (line 685) | CREATE VIEW comment_view AS type comment_mview (line 727) | CREATE VIEW comment_mview AS type reply_view (line 770) | CREATE VIEW reply_view AS type user_mention_view (line 805) | CREATE VIEW user_mention_view AS type user_mention_mview (line 856) | CREATE VIEW user_mention_mview AS FILE: migrations/2020-06-30-135809_remove_mat_views/up.sql type user_view (line 27) | CREATE VIEW user_view AS type user_fast (line 69) | CREATE TABLE user_fast AS function refresh_user (line 91) | CREATE OR REPLACE FUNCTION refresh_user () type post_aggregates_view (line 147) | CREATE VIEW post_aggregates_view AS type post_view (line 209) | CREATE VIEW post_view AS type post_aggregates_fast (line 250) | CREATE TABLE post_aggregates_fast AS type idx_post_aggregates_fast_hot_rank_published (line 260) | CREATE INDEX idx_post_aggregates_fast_hot_rank_published ON post_aggrega... type post_fast_view (line 262) | CREATE VIEW post_fast_view AS function refresh_post (line 317) | CREATE OR REPLACE FUNCTION refresh_post () type community_aggregates_view (line 395) | CREATE VIEW community_aggregates_view AS type community_view (line 443) | CREATE VIEW community_view AS type community_moderator_view (line 466) | CREATE VIEW community_moderator_view AS type community_follower_view (line 481) | CREATE VIEW community_follower_view AS type community_user_ban_view (line 496) | CREATE VIEW community_user_ban_view AS type community_aggregates_fast (line 512) | CREATE TABLE community_aggregates_fast AS type community_fast_view (line 521) | CREATE VIEW community_fast_view AS function refresh_community (line 563) | CREATE OR REPLACE FUNCTION refresh_community () type comment_aggregates_view (line 622) | CREATE VIEW comment_aggregates_view AS type comment_view (line 671) | CREATE OR REPLACE VIEW comment_view AS ( type comment_aggregates_fast (line 705) | CREATE TABLE comment_aggregates_fast AS type comment_fast_view (line 714) | CREATE VIEW comment_fast_view AS type reply_fast_view (line 748) | CREATE VIEW reply_fast_view AS type user_mention_view (line 783) | CREATE VIEW user_mention_view AS type user_mention_fast_view (line 834) | CREATE VIEW user_mention_fast_view AS function refresh_comment (line 960) | CREATE OR REPLACE FUNCTION refresh_comment () function refresh_post_like (line 1046) | CREATE OR REPLACE FUNCTION refresh_post_like () function refresh_comment_like (line 1113) | CREATE OR REPLACE FUNCTION refresh_comment_like () function refresh_community_user_ban (line 1191) | CREATE OR REPLACE FUNCTION refresh_community_user_ban () function refresh_community_follower (line 1241) | CREATE OR REPLACE FUNCTION refresh_community_follower () FILE: migrations/2020-07-08-202609_add_creator_published/down.sql type comment_aggregates_view (line 15) | CREATE VIEW comment_aggregates_view AS type comment_view (line 64) | CREATE OR REPLACE VIEW comment_view AS ( type comment_aggregates_fast (line 97) | CREATE TABLE comment_aggregates_fast AS type comment_fast_view (line 106) | CREATE VIEW comment_fast_view AS type user_mention_view (line 139) | CREATE VIEW user_mention_view AS type user_mention_fast_view (line 190) | CREATE VIEW user_mention_fast_view AS type reply_fast_view (line 302) | CREATE VIEW reply_fast_view AS type post_aggregates_view (line 345) | CREATE VIEW post_aggregates_view AS type post_view (line 407) | CREATE VIEW post_view AS type post_aggregates_fast (line 447) | CREATE TABLE post_aggregates_fast AS type post_fast_view (line 456) | CREATE VIEW post_fast_view AS type idx_post_aggregates_fast_hot_rank_published (line 496) | CREATE INDEX idx_post_aggregates_fast_hot_rank_published ON post_aggrega... FILE: migrations/2020-07-08-202609_add_creator_published/up.sql type comment_aggregates_view (line 15) | CREATE VIEW comment_aggregates_view AS type comment_view (line 65) | CREATE OR REPLACE VIEW comment_view AS ( type comment_aggregates_fast (line 98) | CREATE TABLE comment_aggregates_fast AS type comment_fast_view (line 107) | CREATE VIEW comment_fast_view AS type user_mention_view (line 140) | CREATE VIEW user_mention_view AS type user_mention_fast_view (line 191) | CREATE VIEW user_mention_fast_view AS type reply_fast_view (line 303) | CREATE VIEW reply_fast_view AS type post_aggregates_view (line 346) | CREATE VIEW post_aggregates_view AS type post_view (line 409) | CREATE VIEW post_view AS type post_aggregates_fast (line 449) | CREATE TABLE post_aggregates_fast AS type post_fast_view (line 458) | CREATE VIEW post_fast_view AS FILE: migrations/2020-07-12-100442_add_post_title_to_comments_view/down.sql type comment_aggregates_view (line 15) | CREATE VIEW comment_aggregates_view AS type comment_view (line 65) | CREATE OR REPLACE VIEW comment_view AS ( type comment_aggregates_fast (line 98) | CREATE TABLE comment_aggregates_fast AS type comment_fast_view (line 107) | CREATE VIEW comment_fast_view AS type user_mention_view (line 140) | CREATE VIEW user_mention_view AS type user_mention_fast_view (line 191) | CREATE VIEW user_mention_fast_view AS type reply_fast_view (line 303) | CREATE VIEW reply_fast_view AS FILE: migrations/2020-07-12-100442_add_post_title_to_comments_view/up.sql type comment_aggregates_view (line 15) | CREATE VIEW comment_aggregates_view AS type comment_view (line 67) | CREATE OR REPLACE VIEW comment_view AS ( type comment_aggregates_fast (line 100) | CREATE TABLE comment_aggregates_fast AS type comment_fast_view (line 109) | CREATE VIEW comment_fast_view AS type user_mention_view (line 142) | CREATE VIEW user_mention_view AS type user_mention_fast_view (line 194) | CREATE VIEW user_mention_fast_view AS type reply_fast_view (line 308) | CREATE VIEW reply_fast_view AS FILE: migrations/2020-07-18-234519_add_unique_community_user_actor_ids/down.sql type idx_user_name_lower_actor_id (line 31) | CREATE UNIQUE INDEX idx_user_name_lower_actor_id ON user_ (lower(name), ... FILE: migrations/2020-07-18-234519_add_unique_community_user_actor_ids/up.sql function generate_unique_changeme (line 3) | CREATE OR REPLACE FUNCTION generate_unique_changeme () type idx_user_lower_actor_id (line 75) | CREATE UNIQUE INDEX idx_user_lower_actor_id ON user_ (lower(actor_id)) type idx_community_lower_actor_id (line 77) | CREATE UNIQUE INDEX idx_community_lower_actor_id ON community (lower(act... FILE: migrations/2020-08-03-000110_add_preferred_usernames_banners_and_icons/down.sql type site_view (line 58) | CREATE VIEW site_view AS type user_view (line 99) | CREATE VIEW user_view AS type user_fast (line 141) | CREATE TABLE user_fast AS type post_aggregates_view (line 151) | CREATE VIEW post_aggregates_view AS type post_view (line 214) | CREATE VIEW post_view AS type post_aggregates_fast (line 254) | CREATE TABLE post_aggregates_fast AS type post_fast_view (line 263) | CREATE VIEW post_fast_view AS type community_aggregates_view (line 304) | CREATE VIEW community_aggregates_view AS type community_view (line 352) | CREATE VIEW community_view AS type community_moderator_view (line 375) | CREATE VIEW community_moderator_view AS type community_follower_view (line 390) | CREATE VIEW community_follower_view AS type community_user_ban_view (line 405) | CREATE VIEW community_user_ban_view AS type community_aggregates_fast (line 421) | CREATE TABLE community_aggregates_fast AS type community_fast_view (line 430) | CREATE VIEW community_fast_view AS type private_message_view (line 458) | CREATE VIEW private_message_view AS type comment_aggregates_view (line 475) | CREATE VIEW comment_aggregates_view AS type comment_view (line 527) | CREATE OR REPLACE VIEW comment_view AS ( type comment_aggregates_fast (line 560) | CREATE TABLE comment_aggregates_fast AS type comment_fast_view (line 569) | CREATE VIEW comment_fast_view AS type user_mention_view (line 602) | CREATE VIEW user_mention_view AS type user_mention_fast_view (line 654) | CREATE VIEW user_mention_fast_view AS type reply_fast_view (line 768) | CREATE VIEW reply_fast_view AS function refresh_post (line 803) | CREATE OR REPLACE FUNCTION refresh_post () function refresh_comment (line 869) | CREATE OR REPLACE FUNCTION refresh_comment () FILE: migrations/2020-08-03-000110_add_preferred_usernames_banners_and_icons/up.sql type site_view (line 22) | CREATE VIEW site_view AS type user_view (line 57) | CREATE VIEW user_view AS type user_fast (line 101) | CREATE TABLE user_fast AS type private_message_view (line 113) | CREATE VIEW private_message_view AS type post_aggregates_view (line 140) | CREATE VIEW post_aggregates_view AS type post_view (line 196) | CREATE VIEW post_view AS type post_aggregates_fast (line 236) | CREATE TABLE post_aggregates_fast AS type idx_post_aggregates_fast_hot_rank_published (line 246) | CREATE INDEX idx_post_aggregates_fast_hot_rank_published ON post_aggrega... type idx_post_aggregates_fast_hot_rank_active_published (line 248) | CREATE INDEX idx_post_aggregates_fast_hot_rank_active_published ON post_... type post_fast_view (line 250) | CREATE VIEW post_fast_view AS type community_aggregates_view (line 305) | CREATE VIEW community_aggregates_view AS type community_view (line 356) | CREATE VIEW community_view AS type community_moderator_view (line 379) | CREATE VIEW community_moderator_view AS type community_follower_view (line 396) | CREATE VIEW community_follower_view AS type community_user_ban_view (line 413) | CREATE VIEW community_user_ban_view AS type community_aggregates_fast (line 431) | CREATE TABLE community_aggregates_fast AS type community_fast_view (line 440) | CREATE VIEW community_fast_view AS type comment_aggregates_view (line 482) | CREATE VIEW comment_aggregates_view AS type comment_view (line 537) | CREATE OR REPLACE VIEW comment_view AS ( type comment_aggregates_fast (line 570) | CREATE TABLE comment_aggregates_fast AS type comment_fast_view (line 579) | CREATE VIEW comment_fast_view AS type user_mention_view (line 612) | CREATE VIEW user_mention_view AS type user_mention_fast_view (line 667) | CREATE VIEW user_mention_fast_view AS type reply_fast_view (line 787) | CREATE VIEW reply_fast_view AS function refresh_post (line 822) | CREATE OR REPLACE FUNCTION refresh_post () function refresh_comment (line 889) | CREATE OR REPLACE FUNCTION refresh_comment () FILE: migrations/2020-08-06-205355_update_community_post_count/down.sql type community_aggregates_view (line 10) | CREATE VIEW community_aggregates_view AS type community_view (line 61) | CREATE VIEW community_view AS type community_aggregates_fast (line 85) | CREATE TABLE community_aggregates_fast AS type community_fast_view (line 94) | CREATE VIEW community_fast_view AS FILE: migrations/2020-08-06-205355_update_community_post_count/up.sql type community_aggregates_view (line 10) | CREATE VIEW community_aggregates_view AS type community_view (line 61) | CREATE VIEW community_view AS type community_aggregates_fast (line 85) | CREATE TABLE community_aggregates_fast AS type community_fast_view (line 94) | CREATE VIEW community_fast_view AS FILE: migrations/2020-09-07-231141_add_migration_utils/up.sql type utils (line 3) | CREATE TABLE utils.deps_saved_ddl ( function utils (line 11) | CREATE OR REPLACE FUNCTION utils.save_and_drop_views (p_view_schema name... function utils (line 95) | CREATE OR REPLACE FUNCTION utils.restore_views (p_view_schema character ... FILE: migrations/2020-10-07-234221_fix_fast_triggers/down.sql function refresh_community (line 1) | CREATE OR REPLACE FUNCTION refresh_community () function refresh_user (line 53) | CREATE OR REPLACE FUNCTION refresh_user () function refresh_post (line 103) | CREATE OR REPLACE FUNCTION refresh_post () function refresh_comment (line 169) | CREATE OR REPLACE FUNCTION refresh_comment () FILE: migrations/2020-10-07-234221_fix_fast_triggers/up.sql function refresh_community (line 3) | CREATE OR REPLACE FUNCTION refresh_community () function refresh_user (line 61) | CREATE OR REPLACE FUNCTION refresh_user () function refresh_post (line 117) | CREATE OR REPLACE FUNCTION refresh_post () function refresh_comment (line 187) | CREATE OR REPLACE FUNCTION refresh_comment () FILE: migrations/2020-10-10-035723_fix_fast_triggers_2/down.sql function refresh_post (line 1) | CREATE OR REPLACE FUNCTION refresh_post () function refresh_comment (line 71) | CREATE OR REPLACE FUNCTION refresh_comment () FILE: migrations/2020-10-10-035723_fix_fast_triggers_2/up.sql function refresh_post (line 2) | CREATE OR REPLACE FUNCTION refresh_post () function refresh_comment (line 73) | CREATE OR REPLACE FUNCTION refresh_comment () FILE: migrations/2020-10-13-212240_create_report_tables/up.sql type comment_report (line 1) | CREATE TABLE comment_report ( type post_report (line 14) | CREATE TABLE post_report ( type comment_report_view (line 29) | CREATE OR REPLACE VIEW comment_report_view AS type post_report_view (line 62) | CREATE OR REPLACE VIEW post_report_view AS FILE: migrations/2020-12-02-152437_create_site_aggregates/up.sql type site_aggregates (line 2) | CREATE TABLE site_aggregates ( function site_aggregates_site (line 46) | CREATE FUNCTION site_aggregates_site () function site_aggregates_user_insert (line 69) | CREATE FUNCTION site_aggregates_user_insert () function site_aggregates_user_delete (line 82) | CREATE FUNCTION site_aggregates_user_delete () function site_aggregates_post_insert (line 113) | CREATE FUNCTION site_aggregates_post_insert () function site_aggregates_post_delete (line 126) | CREATE FUNCTION site_aggregates_post_delete () function site_aggregates_comment_insert (line 156) | CREATE FUNCTION site_aggregates_comment_insert () function site_aggregates_comment_delete (line 169) | CREATE FUNCTION site_aggregates_comment_delete () function site_aggregates_community_insert (line 199) | CREATE FUNCTION site_aggregates_community_insert () function site_aggregates_community_delete (line 212) | CREATE FUNCTION site_aggregates_community_delete () FILE: migrations/2020-12-03-035643_create_user_aggregates/up.sql type user_aggregates (line 2) | CREATE TABLE user_aggregates ( function user_aggregates_user (line 44) | CREATE FUNCTION user_aggregates_user () function user_aggregates_post_count (line 66) | CREATE FUNCTION user_aggregates_post_count () function user_aggregates_post_score (line 115) | CREATE FUNCTION user_aggregates_post_score () function user_aggregates_comment_count (line 152) | CREATE FUNCTION user_aggregates_comment_count () function user_aggregates_comment_score (line 201) | CREATE FUNCTION user_aggregates_comment_score () FILE: migrations/2020-12-04-183345_create_community_aggregates/up.sql type community_aggregates (line 2) | CREATE TABLE community_aggregates ( function community_aggregates_community (line 42) | CREATE FUNCTION community_aggregates_community () function community_aggregates_post_count (line 64) | CREATE FUNCTION community_aggregates_post_count () function community_aggregates_comment_count (line 113) | CREATE FUNCTION community_aggregates_comment_count () function community_aggregates_subscriber_count (line 153) | CREATE FUNCTION community_aggregates_subscriber_count () FILE: migrations/2020-12-10-152350_create_post_aggregates/up.sql type post_aggregates (line 2) | CREATE TABLE post_aggregates ( function post_aggregates_post (line 49) | CREATE FUNCTION post_aggregates_post () function post_aggregates_comment_count (line 71) | CREATE FUNCTION post_aggregates_comment_count () function post_aggregates_score (line 113) | CREATE FUNCTION post_aggregates_score () function post_aggregates_stickied (line 167) | CREATE FUNCTION post_aggregates_stickied () FILE: migrations/2020-12-14-020038_create_comment_aggregates/up.sql type comment_aggregates (line 2) | CREATE TABLE comment_aggregates ( function comment_aggregates_comment (line 44) | CREATE FUNCTION comment_aggregates_comment () function comment_aggregates_score (line 66) | CREATE FUNCTION comment_aggregates_score () FILE: migrations/2020-12-17-030456_create_alias_views/up.sql type user_alias_1 (line 4) | CREATE VIEW user_alias_1 AS type user_alias_2 (line 10) | CREATE VIEW user_alias_2 AS type comment_alias_1 (line 16) | CREATE VIEW comment_alias_1 AS FILE: migrations/2021-01-05-200932_add_hot_rank_indexes/down.sql function hot_rank (line 2) | CREATE OR REPLACE FUNCTION hot_rank (score numeric, published timestamp ... FILE: migrations/2021-01-05-200932_add_hot_rank_indexes/up.sql function hot_rank (line 3) | CREATE OR REPLACE FUNCTION hot_rank (score numeric, published timestamp ... type idx_post_aggregates_stickied_hot (line 15) | CREATE INDEX idx_post_aggregates_stickied_hot ON post_aggregates (sticki... type idx_post_aggregates_hot (line 17) | CREATE INDEX idx_post_aggregates_hot ON post_aggregates (hot_rank (score... type idx_post_aggregates_stickied_active (line 19) | CREATE INDEX idx_post_aggregates_stickied_active ON post_aggregates (sti... type idx_post_aggregates_active (line 21) | CREATE INDEX idx_post_aggregates_active ON post_aggregates (hot_rank (sc... type idx_post_aggregates_stickied_score (line 23) | CREATE INDEX idx_post_aggregates_stickied_score ON post_aggregates (stic... type idx_post_aggregates_score (line 25) | CREATE INDEX idx_post_aggregates_score ON post_aggregates (score DESC) type idx_post_aggregates_stickied_published (line 27) | CREATE INDEX idx_post_aggregates_stickied_published ON post_aggregates (... type idx_post_aggregates_published (line 29) | CREATE INDEX idx_post_aggregates_published ON post_aggregates (published... type idx_comment_published (line 32) | CREATE INDEX idx_comment_published ON comment (published DESC) type idx_comment_aggregates_hot (line 35) | CREATE INDEX idx_comment_aggregates_hot ON comment_aggregates (hot_rank ... type idx_comment_aggregates_score (line 37) | CREATE INDEX idx_comment_aggregates_score ON comment_aggregates (score D... type idx_user_published (line 40) | CREATE INDEX idx_user_published ON user_ (published DESC) type idx_user_aggregates_comment_score (line 43) | CREATE INDEX idx_user_aggregates_comment_score ON user_aggregates (comme... type idx_community_published (line 46) | CREATE INDEX idx_community_published ON community (published DESC) type idx_community_aggregates_hot (line 49) | CREATE INDEX idx_community_aggregates_hot ON community_aggregates (hot_r... type idx_community_aggregates_subscribers (line 51) | CREATE INDEX idx_community_aggregates_subscribers ON community_aggregate... FILE: migrations/2021-01-26-173850_default_actor_id/down.sql function generate_unique_changeme (line 1) | CREATE OR REPLACE FUNCTION generate_unique_changeme () FILE: migrations/2021-01-26-173850_default_actor_id/up.sql function generate_unique_changeme (line 1) | CREATE OR REPLACE FUNCTION generate_unique_changeme () FILE: migrations/2021-01-27-202728_active_users_monthly/up.sql function site_aggregates_activity (line 27) | CREATE OR REPLACE FUNCTION site_aggregates_activity (i text) function community_aggregates_activity (line 94) | CREATE OR REPLACE FUNCTION community_aggregates_activity (i text) FILE: migrations/2021-01-31-050334_add_forum_sort_index/up.sql type idx_post_aggregates_comments (line 1) | CREATE INDEX idx_post_aggregates_comments ON post_aggregates (comments D... FILE: migrations/2021-02-10-164051_add_new_comments_sort_index/down.sql function post_aggregates_comment_count (line 8) | CREATE OR REPLACE FUNCTION post_aggregates_comment_count () FILE: migrations/2021-02-10-164051_add_new_comments_sort_index/up.sql type idx_post_aggregates_newest_comment_time (line 16) | CREATE INDEX idx_post_aggregates_newest_comment_time ON post_aggregates ... type idx_post_aggregates_stickied_newest_comment_time (line 18) | CREATE INDEX idx_post_aggregates_stickied_newest_comment_time ON post_ag... type idx_post_aggregates_stickied_comments (line 21) | CREATE INDEX idx_post_aggregates_stickied_comments ON post_aggregates (s... function post_aggregates_comment_count (line 24) | CREATE OR REPLACE FUNCTION post_aggregates_comment_count () FILE: migrations/2021-02-13-210612_set_correct_aggregates_time_columns/down.sql function comment_aggregates_comment (line 1) | CREATE OR REPLACE FUNCTION comment_aggregates_comment () function post_aggregates_post (line 17) | CREATE OR REPLACE FUNCTION post_aggregates_post () function community_aggregates_community (line 33) | CREATE OR REPLACE FUNCTION community_aggregates_community () FILE: migrations/2021-02-13-210612_set_correct_aggregates_time_columns/up.sql function comment_aggregates_comment (line 4) | CREATE OR REPLACE FUNCTION comment_aggregates_comment () function post_aggregates_post (line 20) | CREATE OR REPLACE FUNCTION post_aggregates_post () function community_aggregates_community (line 36) | CREATE OR REPLACE FUNCTION community_aggregates_community () FILE: migrations/2021-02-25-112959_remove-categories/down.sql type category (line 1) | CREATE TABLE category ( type idx_community_category (line 42) | CREATE INDEX idx_community_category ON community (category_id) FILE: migrations/2021-03-09-171136_split_user_table_2/down.sql type idx_user_email_lower (line 267) | CREATE UNIQUE INDEX idx_user_email_lower ON user_ (lower(email)) type user_alias_1 (line 269) | CREATE VIEW user_alias_1 AS type user_alias_2 (line 275) | CREATE VIEW user_alias_2 AS function user_aggregates_user (line 285) | CREATE FUNCTION user_aggregates_user () function user_aggregates_post_count (line 307) | CREATE FUNCTION user_aggregates_post_count () function user_aggregates_post_score (line 356) | CREATE FUNCTION user_aggregates_post_score () function user_aggregates_comment_count (line 393) | CREATE FUNCTION user_aggregates_comment_count () function user_aggregates_comment_score (line 442) | CREATE FUNCTION user_aggregates_comment_score () function site_aggregates_activity (line 479) | CREATE OR REPLACE FUNCTION site_aggregates_activity (i text) FILE: migrations/2021-03-09-171136_split_user_table_2/up.sql type local_user (line 12) | CREATE TABLE local_user ( type person_alias_1 (line 85) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 91) | CREATE VIEW person_alias_2 AS function person_aggregates_person (line 128) | CREATE FUNCTION person_aggregates_person () function person_aggregates_post_count (line 150) | CREATE FUNCTION person_aggregates_post_count () function person_aggregates_post_score (line 199) | CREATE FUNCTION person_aggregates_post_score () function person_aggregates_comment_count (line 236) | CREATE FUNCTION person_aggregates_comment_count () function person_aggregates_comment_score (line 285) | CREATE FUNCTION person_aggregates_comment_score () function site_aggregates_activity (line 489) | CREATE OR REPLACE FUNCTION site_aggregates_activity (i text) FILE: migrations/2021-03-20-185321_move_matrix_id_to_person/down.sql type person_alias_1 (line 26) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 32) | CREATE VIEW person_alias_2 AS FILE: migrations/2021-03-20-185321_move_matrix_id_to_person/up.sql type person_alias_1 (line 26) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 32) | CREATE VIEW person_alias_2 AS FILE: migrations/2021-03-31-105915_add_bot_account/down.sql type person_alias_1 (line 6) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 12) | CREATE VIEW person_alias_2 AS FILE: migrations/2021-03-31-105915_add_bot_account/up.sql type person_alias_1 (line 7) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 13) | CREATE VIEW person_alias_2 AS FILE: migrations/2021-04-01-173552_rename_preferred_username_to_display_name/down.sql type person_alias_1 (line 6) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 12) | CREATE VIEW person_alias_2 AS FILE: migrations/2021-04-01-173552_rename_preferred_username_to_display_name/up.sql type person_alias_1 (line 6) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 12) | CREATE VIEW person_alias_2 AS FILE: migrations/2021-04-01-181826_add_community_agg_active_monthly_index/up.sql type idx_community_aggregates_users_active_month (line 1) | CREATE INDEX idx_community_aggregates_users_active_month ON community_ag... FILE: migrations/2021-04-02-021422_remove_community_creator/down.sql type idx_community_creator (line 6) | CREATE INDEX idx_community_creator ON community (creator_id) FILE: migrations/2021-07-20-102033_actor_name_length/down.sql type person_alias_1 (line 17) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 23) | CREATE VIEW person_alias_2 AS FILE: migrations/2021-07-20-102033_actor_name_length/up.sql type person_alias_1 (line 17) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 23) | CREATE VIEW person_alias_2 AS FILE: migrations/2021-08-02-002342_comment_count_fixes/down.sql function post_aggregates_comment_count (line 5) | CREATE OR REPLACE FUNCTION post_aggregates_comment_count () FILE: migrations/2021-08-02-002342_comment_count_fixes/up.sql function post_aggregates_comment_deleted (line 2) | CREATE OR REPLACE FUNCTION post_aggregates_comment_deleted () function post_aggregates_comment_count (line 32) | CREATE OR REPLACE FUNCTION post_aggregates_comment_count () FILE: migrations/2021-08-04-223559_create_user_community_block/up.sql type person_block (line 1) | CREATE TABLE person_block ( type community_block (line 9) | CREATE TABLE community_block ( FILE: migrations/2021-08-16-004209_fix_remove_bots_from_aggregates/down.sql function community_aggregates_activity (line 1) | CREATE OR REPLACE FUNCTION community_aggregates_activity (i text) function site_aggregates_activity (line 34) | CREATE OR REPLACE FUNCTION site_aggregates_activity (i text) FILE: migrations/2021-08-16-004209_fix_remove_bots_from_aggregates/up.sql function community_aggregates_activity (line 2) | CREATE OR REPLACE FUNCTION community_aggregates_activity (i text) function site_aggregates_activity (line 39) | CREATE OR REPLACE FUNCTION site_aggregates_activity (i text) FILE: migrations/2021-08-17-210508_create_mod_transfer_community/up.sql type mod_transfer_community (line 2) | CREATE TABLE mod_transfer_community ( FILE: migrations/2021-09-20-112945_jwt-secret/up.sql type secret (line 4) | CREATE TABLE secret ( FILE: migrations/2021-10-01-141650_create_admin_purge/up.sql type admin_purge_person (line 2) | CREATE TABLE admin_purge_person ( type admin_purge_community (line 9) | CREATE TABLE admin_purge_community ( type admin_purge_post (line 16) | CREATE TABLE admin_purge_post ( type admin_purge_comment (line 24) | CREATE TABLE admin_purge_comment ( FILE: migrations/2021-11-22-135324_add_activity_ap_id_index/down.sql type idx_activity_unique_apid (line 4) | CREATE UNIQUE INDEX idx_activity_unique_apid ON activity ((data ->> 'id'... FILE: migrations/2021-11-22-135324_add_activity_ap_id_index/up.sql type idx_activity_ap_id (line 25) | CREATE UNIQUE INDEX idx_activity_ap_id ON activity (ap_id) FILE: migrations/2021-11-23-031528_add_report_published_index/up.sql type idx_comment_report_published (line 1) | CREATE INDEX idx_comment_report_published ON comment_report (published D... type idx_post_report_published (line 3) | CREATE INDEX idx_post_report_published ON post_report (published DESC) FILE: migrations/2021-11-23-132840_email_verification/up.sql type email_verification (line 15) | CREATE TABLE email_verification ( FILE: migrations/2021-11-23-153753_add_invite_only_columns/up.sql type registration_application (line 15) | CREATE TABLE registration_application ( type idx_registration_application_published (line 25) | CREATE INDEX idx_registration_application_published ON registration_appl... FILE: migrations/2021-12-14-181537_add_temporary_bans/down.sql type person_alias_1 (line 9) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 15) | CREATE VIEW person_alias_2 AS FILE: migrations/2021-12-14-181537_add_temporary_bans/up.sql type person_alias_1 (line 10) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 16) | CREATE VIEW person_alias_2 AS FILE: migrations/2022-01-04-034553_add_hidden_column/up.sql type mod_hide_community (line 4) | CREATE TABLE mod_hide_community ( FILE: migrations/2022-02-01-154240_add_community_title_index/up.sql type idx_community_title (line 1) | CREATE INDEX idx_community_title ON community (title) FILE: migrations/2022-04-04-183652_update_community_aggregates_on_soft_delete/down.sql function community_aggregates_post_count (line 26) | CREATE OR REPLACE FUNCTION community_aggregates_post_count () function community_aggregates_comment_count (line 69) | CREATE OR REPLACE FUNCTION community_aggregates_comment_count () function site_aggregates_post_insert (line 115) | CREATE OR REPLACE FUNCTION site_aggregates_post_insert () function site_aggregates_post_delete (line 128) | CREATE OR REPLACE FUNCTION site_aggregates_post_delete () function site_aggregates_comment_insert (line 145) | CREATE OR REPLACE FUNCTION site_aggregates_comment_insert () function site_aggregates_comment_delete (line 158) | CREATE OR REPLACE FUNCTION site_aggregates_comment_delete () function site_aggregates_community_insert (line 175) | CREATE OR REPLACE FUNCTION site_aggregates_community_insert () function site_aggregates_community_delete (line 188) | CREATE OR REPLACE FUNCTION site_aggregates_community_delete () function person_aggregates_post_count (line 243) | CREATE OR REPLACE FUNCTION person_aggregates_post_count () function person_aggregates_comment_count (line 286) | CREATE OR REPLACE FUNCTION person_aggregates_comment_count () FILE: migrations/2022-04-04-183652_update_community_aggregates_on_soft_delete/up.sql function was_removed_or_deleted (line 21) | CREATE OR REPLACE FUNCTION was_removed_or_deleted (TG_OP text, OLD recor... function was_restored_or_created (line 40) | CREATE OR REPLACE FUNCTION was_restored_or_created (TG_OP text, OLD reco... function community_aggregates_post_count (line 60) | CREATE OR REPLACE FUNCTION community_aggregates_post_count () function community_aggregates_comment_count (line 137) | CREATE OR REPLACE FUNCTION community_aggregates_comment_count () function site_aggregates_post_insert (line 185) | CREATE OR REPLACE FUNCTION site_aggregates_post_insert () function site_aggregates_post_delete (line 204) | CREATE OR REPLACE FUNCTION site_aggregates_post_delete () function site_aggregates_comment_insert (line 223) | CREATE OR REPLACE FUNCTION site_aggregates_comment_insert () function site_aggregates_comment_delete (line 242) | CREATE OR REPLACE FUNCTION site_aggregates_comment_delete () function site_aggregates_community_insert (line 261) | CREATE OR REPLACE FUNCTION site_aggregates_community_insert () function site_aggregates_community_delete (line 280) | CREATE OR REPLACE FUNCTION site_aggregates_community_delete () function person_aggregates_post_count (line 343) | CREATE OR REPLACE FUNCTION person_aggregates_post_count () function person_aggregates_comment_count (line 388) | CREATE OR REPLACE FUNCTION person_aggregates_comment_count () FILE: migrations/2022-04-11-210137_fix_unique_changeme/down.sql function generate_unique_changeme (line 1) | CREATE OR REPLACE FUNCTION generate_unique_changeme () FILE: migrations/2022-04-11-210137_fix_unique_changeme/up.sql function generate_unique_changeme (line 1) | CREATE OR REPLACE FUNCTION generate_unique_changeme () FILE: migrations/2022-06-21-123144_language-tags/up.sql type LANGUAGE (line 1) | CREATE TABLE type local_user_language (line 8) | CREATE TABLE local_user_language ( FILE: migrations/2022-07-07-182650_comment_ltrees/down.sql type idx_comment_parent (line 8) | CREATE INDEX idx_comment_parent ON comment (parent_id) type comment_alias_1 (line 38) | CREATE VIEW comment_alias_1 AS FILE: migrations/2022-07-07-182650_comment_ltrees/up.sql type comment_reply (line 8) | CREATE TABLE comment_reply ( type comment_temp (line 56) | CREATE TEMPORARY TABLE comment_temp AS type idx_comment_creator (line 174) | CREATE INDEX idx_comment_creator ON comment (creator_id) type idx_comment_post (line 176) | CREATE INDEX idx_comment_post ON comment (post_id) type idx_comment_published (line 178) | CREATE INDEX idx_comment_published ON comment (published DESC) type idx_path_gist (line 181) | CREATE INDEX idx_path_gist ON comment USING gist (path) FILE: migrations/2022-08-05-203502_add_person_post_aggregates/up.sql type person_post_aggregates (line 4) | CREATE TABLE person_post_aggregates ( FILE: migrations/2022-09-07-113813_drop_ccnew_indexes_function/up.sql function drop_ccnew_indexes (line 1) | CREATE OR REPLACE FUNCTION drop_ccnew_indexes () FILE: migrations/2022-09-07-114618_pm-reports/up.sql type private_message_report (line 1) | CREATE TABLE private_message_report ( FILE: migrations/2022-09-08-102358_site-and-community-languages/up.sql type site_language (line 1) | CREATE TABLE site_language ( type community_language (line 10) | CREATE TABLE community_language ( FILE: migrations/2022-09-24-161829_remove_table_aliases/down.sql type person_alias_1 (line 1) | CREATE VIEW person_alias_1 AS type person_alias_2 (line 7) | CREATE VIEW person_alias_2 AS FILE: migrations/2022-10-06-183632_move_blocklist_to_db/up.sql type instance (line 3) | CREATE TABLE instance ( type federation_allowlist (line 82) | CREATE TABLE federation_allowlist ( type federation_blocklist (line 89) | CREATE TABLE federation_blocklist ( type local_site (line 98) | CREATE TABLE local_site ( type local_site_rate_limit (line 132) | CREATE TABLE local_site_rate_limit ( FILE: migrations/2022-11-13-181529_create_taglines/up.sql type tagline (line 1) | CREATE TABLE tagline ( FILE: migrations/2022-11-20-032430_sticky_local/down.sql function post_aggregates_stickied (line 47) | CREATE FUNCTION post_aggregates_stickied () type idx_post_aggregates_stickied_newest_comment_time (line 68) | CREATE INDEX idx_post_aggregates_stickied_newest_comment_time ON post_ag... type idx_post_aggregates_stickied_comments (line 70) | CREATE INDEX idx_post_aggregates_stickied_comments ON post_aggregates (s... type idx_post_aggregates_stickied_hot (line 72) | CREATE INDEX idx_post_aggregates_stickied_hot ON post_aggregates (sticki... type idx_post_aggregates_stickied_active (line 74) | CREATE INDEX idx_post_aggregates_stickied_active ON post_aggregates (sti... type idx_post_aggregates_stickied_score (line 76) | CREATE INDEX idx_post_aggregates_stickied_score ON post_aggregates (stic... type idx_post_aggregates_stickied_published (line 78) | CREATE INDEX idx_post_aggregates_stickied_published ON post_aggregates (... FILE: migrations/2022-11-20-032430_sticky_local/up.sql function post_aggregates_featured_community (line 43) | CREATE FUNCTION post_aggregates_featured_community () function post_aggregates_featured_local (line 58) | CREATE FUNCTION post_aggregates_featured_local () FILE: migrations/2022-11-21-204256_user-following/up.sql type person_follower (line 2) | CREATE TABLE person_follower ( FILE: migrations/2023-01-17-165819_cleanup_post_aggregates_indexes/down.sql type idx_post_aggregates_newest_comment_time (line 5) | CREATE INDEX idx_post_aggregates_newest_comment_time ON post_aggregates ... type idx_post_aggregates_comments (line 7) | CREATE INDEX idx_post_aggregates_comments ON post_aggregates (comments D... type idx_post_aggregates_hot (line 9) | CREATE INDEX idx_post_aggregates_hot ON post_aggregates (hot_rank (score... type idx_post_aggregates_active (line 11) | CREATE INDEX idx_post_aggregates_active ON post_aggregates (hot_rank (sc... type idx_post_aggregates_score (line 13) | CREATE INDEX idx_post_aggregates_score ON post_aggregates (score DESC) type idx_post_aggregates_published (line 15) | CREATE INDEX idx_post_aggregates_published ON post_aggregates (published... FILE: migrations/2023-01-17-165819_cleanup_post_aggregates_indexes/up.sql type idx_post_aggregates_featured_local_newest_comment_time (line 7) | CREATE INDEX idx_post_aggregates_featured_local_newest_comment_time ON p... type idx_post_aggregates_featured_community_newest_comment_time (line 9) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time ... type idx_post_aggregates_featured_local_comments (line 11) | CREATE INDEX idx_post_aggregates_featured_local_comments ON post_aggrega... type idx_post_aggregates_featured_community_comments (line 13) | CREATE INDEX idx_post_aggregates_featured_community_comments ON post_agg... type idx_post_aggregates_featured_local_hot (line 15) | CREATE INDEX idx_post_aggregates_featured_local_hot ON post_aggregates (... type idx_post_aggregates_featured_community_hot (line 17) | CREATE INDEX idx_post_aggregates_featured_community_hot ON post_aggregat... type idx_post_aggregates_featured_local_active (line 19) | CREATE INDEX idx_post_aggregates_featured_local_active ON post_aggregate... type idx_post_aggregates_featured_community_active (line 21) | CREATE INDEX idx_post_aggregates_featured_community_active ON post_aggre... type idx_post_aggregates_featured_local_score (line 23) | CREATE INDEX idx_post_aggregates_featured_local_score ON post_aggregates... type idx_post_aggregates_featured_community_score (line 25) | CREATE INDEX idx_post_aggregates_featured_community_score ON post_aggreg... type idx_post_aggregates_featured_local_published (line 27) | CREATE INDEX idx_post_aggregates_featured_local_published ON post_aggreg... type idx_post_aggregates_featured_community_published (line 29) | CREATE INDEX idx_post_aggregates_featured_community_published ON post_ag... FILE: migrations/2023-02-01-012747_fix_active_index/down.sql type idx_post_aggregates_featured_local_active (line 3) | CREATE INDEX idx_post_aggregates_featured_local_active ON post_aggregate... type idx_post_aggregates_featured_community_active (line 5) | CREATE INDEX idx_post_aggregates_featured_community_active ON post_aggre... FILE: migrations/2023-02-01-012747_fix_active_index/up.sql type idx_post_aggregates_featured_local_active (line 4) | CREATE INDEX idx_post_aggregates_featured_local_active ON post_aggregate... type idx_post_aggregates_featured_community_active (line 6) | CREATE INDEX idx_post_aggregates_featured_community_active ON post_aggre... FILE: migrations/2023-02-11-173347_custom_emojis/up.sql type custom_emoji (line 1) | CREATE TABLE custom_emoji ( type custom_emoji_keyword (line 12) | CREATE TABLE custom_emoji_keyword ( type idx_custom_emoji_category (line 19) | CREATE INDEX idx_custom_emoji_category ON custom_emoji (id, category) FILE: migrations/2023-02-15-212546_add_post_comment_saved_indexes/up.sql type idx_post_saved_person_id (line 1) | CREATE INDEX idx_post_saved_person_id ON post_saved (person_id) type idx_comment_saved_person_id (line 3) | CREATE INDEX idx_comment_saved_person_id ON comment_saved (person_id) FILE: migrations/2023-04-23-164732_add_person_details_indexes/up.sql type idx_person_lower_name (line 2) | CREATE INDEX idx_person_lower_name ON person (lower(name)) type idx_community_lower_name (line 4) | CREATE INDEX idx_community_lower_name ON community (lower(name)) type idx_community_moderator_published (line 6) | CREATE INDEX idx_community_moderator_published ON community_moderator (p... type idx_community_moderator_community (line 8) | CREATE INDEX idx_community_moderator_community ON community_moderator (c... type idx_community_moderator_person (line 10) | CREATE INDEX idx_community_moderator_person ON community_moderator (pers... type idx_comment_saved_comment (line 12) | CREATE INDEX idx_comment_saved_comment ON comment_saved (comment_id) type idx_comment_saved_person (line 14) | CREATE INDEX idx_comment_saved_person ON comment_saved (person_id) type idx_community_block_community (line 16) | CREATE INDEX idx_community_block_community ON community_block (community... type idx_community_block_person (line 18) | CREATE INDEX idx_community_block_person ON community_block (person_id) type idx_community_follower_community (line 20) | CREATE INDEX idx_community_follower_community ON community_follower (com... type idx_community_follower_person (line 22) | CREATE INDEX idx_community_follower_person ON community_follower (person... type idx_person_block_person (line 24) | CREATE INDEX idx_person_block_person ON person_block (person_id) type idx_person_block_target (line 26) | CREATE INDEX idx_person_block_target ON person_block (target_id) type idx_post_language (line 28) | CREATE INDEX idx_post_language ON post (language_id) type idx_comment_language (line 30) | CREATE INDEX idx_comment_language ON comment (language_id) type idx_person_aggregates_person (line 32) | CREATE INDEX idx_person_aggregates_person ON person_aggregates (person_id) type idx_person_post_aggregates_post (line 34) | CREATE INDEX idx_person_post_aggregates_post ON person_post_aggregates (... type idx_person_post_aggregates_person (line 36) | CREATE INDEX idx_person_post_aggregates_person ON person_post_aggregates... type idx_comment_reply_comment (line 38) | CREATE INDEX idx_comment_reply_comment ON comment_reply (comment_id) type idx_comment_reply_recipient (line 40) | CREATE INDEX idx_comment_reply_recipient ON comment_reply (recipient_id) type idx_comment_reply_published (line 42) | CREATE INDEX idx_comment_reply_published ON comment_reply (published DESC) FILE: migrations/2023-06-06-104440_index_post_url/up.sql type idx_post_url (line 17) | CREATE INDEX idx_post_url ON post (url) FILE: migrations/2023-06-07-105918_add_hot_rank_columns/down.sql type idx_post_aggregates_featured_local_newest_comment_time (line 28) | CREATE INDEX idx_post_aggregates_featured_local_newest_comment_time ON p... type idx_post_aggregates_featured_community_newest_comment_time (line 30) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time ... type idx_post_aggregates_featured_local_comments (line 32) | CREATE INDEX idx_post_aggregates_featured_local_comments ON public.post_... type idx_post_aggregates_featured_community_comments (line 34) | CREATE INDEX idx_post_aggregates_featured_community_comments ON public.p... type idx_post_aggregates_featured_local_hot (line 36) | CREATE INDEX idx_post_aggregates_featured_local_hot ON public.post_aggre... type idx_post_aggregates_featured_community_hot (line 38) | CREATE INDEX idx_post_aggregates_featured_community_hot ON public.post_a... type idx_post_aggregates_featured_local_score (line 40) | CREATE INDEX idx_post_aggregates_featured_local_score ON public.post_agg... type idx_post_aggregates_featured_community_score (line 42) | CREATE INDEX idx_post_aggregates_featured_community_score ON public.post... type idx_post_aggregates_featured_local_published (line 44) | CREATE INDEX idx_post_aggregates_featured_local_published ON public.post... type idx_post_aggregates_featured_community_published (line 46) | CREATE INDEX idx_post_aggregates_featured_community_published ON public.... type idx_post_aggregates_featured_local_active (line 48) | CREATE INDEX idx_post_aggregates_featured_local_active ON public.post_ag... type idx_post_aggregates_featured_community_active (line 50) | CREATE INDEX idx_post_aggregates_featured_community_active ON public.pos... type idx_comment_aggregates_hot (line 52) | CREATE INDEX idx_comment_aggregates_hot ON public.comment_aggregates USI... type idx_community_aggregates_hot (line 54) | CREATE INDEX idx_community_aggregates_hot ON public.community_aggregates... FILE: migrations/2023-06-07-105918_add_hot_rank_columns/up.sql type idx_post_aggregates_score (line 70) | CREATE INDEX idx_post_aggregates_score ON post_aggregates (score DESC) type idx_post_aggregates_published (line 72) | CREATE INDEX idx_post_aggregates_published ON post_aggregates (published... type idx_post_aggregates_newest_comment_time (line 74) | CREATE INDEX idx_post_aggregates_newest_comment_time ON post_aggregates ... type idx_post_aggregates_newest_comment_time_necro (line 76) | CREATE INDEX idx_post_aggregates_newest_comment_time_necro ON post_aggre... type idx_post_aggregates_featured_community (line 78) | CREATE INDEX idx_post_aggregates_featured_community ON post_aggregates (... type idx_post_aggregates_featured_local (line 80) | CREATE INDEX idx_post_aggregates_featured_local ON post_aggregates (feat... type idx_post_aggregates_hot (line 82) | CREATE INDEX idx_post_aggregates_hot ON post_aggregates (hot_rank DESC) type idx_post_aggregates_active (line 84) | CREATE INDEX idx_post_aggregates_active ON post_aggregates (hot_rank_act... type idx_comment_aggregates_hot (line 86) | CREATE INDEX idx_comment_aggregates_hot ON comment_aggregates (hot_rank ... type idx_community_aggregates_hot (line 88) | CREATE INDEX idx_community_aggregates_hot ON community_aggregates (hot_r... FILE: migrations/2023-06-19-120700_no_double_deletion/down.sql function was_removed_or_deleted (line 2) | CREATE OR REPLACE FUNCTION was_removed_or_deleted (TG_OP text, OLD recor... FILE: migrations/2023-06-19-120700_no_double_deletion/up.sql function was_removed_or_deleted (line 2) | CREATE OR REPLACE FUNCTION was_removed_or_deleted (TG_OP text, OLD recor... FILE: migrations/2023-06-21-153242_add_captcha/up.sql type captcha_answer (line 1) | CREATE TABLE captcha_answer ( FILE: migrations/2023-06-24-185942_aggegates_published_indexes/up.sql type idx_community_aggregates_published (line 2) | CREATE INDEX idx_community_aggregates_published ON community_aggregates ... type idx_comment_aggregates_published (line 4) | CREATE INDEX idx_comment_aggregates_published ON comment_aggregates (pub... FILE: migrations/2023-07-04-153335_add_optimized_indexes/down.sql type idx_post_aggregates_score (line 31) | CREATE INDEX idx_post_aggregates_score ON post_aggregates (score DESC) type idx_post_aggregates_published (line 33) | CREATE INDEX idx_post_aggregates_published ON post_aggregates (published... type idx_post_aggregates_newest_comment_time (line 35) | CREATE INDEX idx_post_aggregates_newest_comment_time ON post_aggregates ... type idx_post_aggregates_newest_comment_time_necro (line 37) | CREATE INDEX idx_post_aggregates_newest_comment_time_necro ON post_aggre... type idx_post_aggregates_featured_community (line 39) | CREATE INDEX idx_post_aggregates_featured_community ON post_aggregates (... type idx_post_aggregates_featured_local (line 41) | CREATE INDEX idx_post_aggregates_featured_local ON post_aggregates (feat... type idx_post_aggregates_hot (line 43) | CREATE INDEX idx_post_aggregates_hot ON post_aggregates (hot_rank DESC) type idx_post_aggregates_active (line 45) | CREATE INDEX idx_post_aggregates_active ON post_aggregates (hot_rank_act... FILE: migrations/2023-07-04-153335_add_optimized_indexes/up.sql type idx_person_admin (line 2) | CREATE INDEX IF NOT EXISTS idx_person_admin ON person (admin) type idx_post_aggregates_featured_local_score (line 23) | CREATE INDEX idx_post_aggregates_featured_local_score ON post_aggregates... type idx_post_aggregates_featured_local_newest_comment_time (line 25) | CREATE INDEX idx_post_aggregates_featured_local_newest_comment_time ON p... type idx_post_aggregates_featured_local_newest_comment_time_necro (line 27) | CREATE INDEX idx_post_aggregates_featured_local_newest_comment_time_necr... type idx_post_aggregates_featured_local_hot (line 29) | CREATE INDEX idx_post_aggregates_featured_local_hot ON post_aggregates (... type idx_post_aggregates_featured_local_active (line 31) | CREATE INDEX idx_post_aggregates_featured_local_active ON post_aggregate... type idx_post_aggregates_featured_local_published (line 33) | CREATE INDEX idx_post_aggregates_featured_local_published ON post_aggreg... type idx_post_aggregates_published (line 35) | CREATE INDEX idx_post_aggregates_published ON post_aggregates (published... type idx_post_aggregates_featured_community_score (line 38) | CREATE INDEX idx_post_aggregates_featured_community_score ON post_aggreg... type idx_post_aggregates_featured_community_newest_comment_time (line 40) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time ... type idx_post_aggregates_featured_community_newest_comment_time_necro (line 42) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time_... type idx_post_aggregates_featured_community_hot (line 44) | CREATE INDEX idx_post_aggregates_featured_community_hot ON post_aggregat... type idx_post_aggregates_featured_community_active (line 46) | CREATE INDEX idx_post_aggregates_featured_community_active ON post_aggre... type idx_post_aggregates_featured_community_published (line 48) | CREATE INDEX idx_post_aggregates_featured_community_published ON post_ag... FILE: migrations/2023-07-05-000058_person-admin/down.sql type idx_person_admin (line 3) | CREATE INDEX idx_person_admin ON person (admin) FILE: migrations/2023-07-05-000058_person-admin/up.sql type idx_person_admin (line 3) | CREATE INDEX idx_person_admin ON person (admin) FILE: migrations/2023-07-06-151124_hot-rank-future/down.sql function hot_rank (line 1) | CREATE OR REPLACE FUNCTION hot_rank (score numeric, published timestamp ... FILE: migrations/2023-07-06-151124_hot-rank-future/up.sql function hot_rank (line 1) | CREATE OR REPLACE FUNCTION hot_rank (score numeric, published timestamp ... FILE: migrations/2023-07-08-101154_fix_soft_delete_aggregates/down.sql function was_removed_or_deleted (line 2) | CREATE OR REPLACE FUNCTION was_removed_or_deleted (TG_OP text, OLD recor... function was_restored_or_created (line 22) | CREATE OR REPLACE FUNCTION was_restored_or_created (TG_OP text, OLD reco... function post_aggregates_comment_deleted (line 42) | CREATE OR REPLACE FUNCTION post_aggregates_comment_deleted () function post_aggregates_comment_count (line 71) | CREATE OR REPLACE FUNCTION post_aggregates_comment_count () FILE: migrations/2023-07-08-101154_fix_soft_delete_aggregates/up.sql function was_removed_or_deleted (line 2) | CREATE OR REPLACE FUNCTION was_removed_or_deleted (TG_OP text, OLD recor... function was_restored_or_created (line 21) | CREATE OR REPLACE FUNCTION was_restored_or_created (TG_OP text, OLD reco... function post_aggregates_comment_count (line 45) | CREATE OR REPLACE FUNCTION post_aggregates_comment_count () FILE: migrations/2023-07-11-084714_receive_activity_table/down.sql type activity (line 1) | CREATE TABLE activity ( type idx_activity_ap_id (line 29) | CREATE UNIQUE INDEX idx_activity_ap_id ON activity (ap_id) FILE: migrations/2023-07-11-084714_receive_activity_table/up.sql type sent_activity (line 4) | CREATE TABLE sent_activity ( type received_activity (line 13) | CREATE TABLE received_activity ( FILE: migrations/2023-07-14-154840_add_optimized_indexes_published/down.sql type idx_post_aggregates_featured_local_hot (line 24) | CREATE INDEX idx_post_aggregates_featured_local_hot ON post_aggregates (... type idx_post_aggregates_featured_local_active (line 26) | CREATE INDEX idx_post_aggregates_featured_local_active ON post_aggregate... type idx_post_aggregates_featured_local_score (line 28) | CREATE INDEX idx_post_aggregates_featured_local_score ON post_aggregates... type idx_post_aggregates_featured_community_hot (line 31) | CREATE INDEX idx_post_aggregates_featured_community_hot ON post_aggregat... type idx_post_aggregates_featured_community_active (line 33) | CREATE INDEX idx_post_aggregates_featured_community_active ON post_aggre... type idx_post_aggregates_featured_community_score (line 35) | CREATE INDEX idx_post_aggregates_featured_community_score ON post_aggreg... type idx_comment_aggregates_hot (line 37) | CREATE INDEX idx_comment_aggregates_hot ON comment_aggregates (hot_rank ... type idx_comment_aggregates_score (line 39) | CREATE INDEX idx_comment_aggregates_score ON comment_aggregates (score D... FILE: migrations/2023-07-14-154840_add_optimized_indexes_published/up.sql type idx_post_aggregates_featured_local_most_comments (line 20) | CREATE INDEX idx_post_aggregates_featured_local_most_comments ON post_ag... type idx_post_aggregates_featured_community_most_comments (line 22) | CREATE INDEX idx_post_aggregates_featured_community_most_comments ON pos... type idx_post_aggregates_featured_local_hot (line 25) | CREATE INDEX idx_post_aggregates_featured_local_hot ON post_aggregates (... type idx_post_aggregates_featured_local_active (line 27) | CREATE INDEX idx_post_aggregates_featured_local_active ON post_aggregate... type idx_post_aggregates_featured_local_score (line 29) | CREATE INDEX idx_post_aggregates_featured_local_score ON post_aggregates... type idx_post_aggregates_featured_community_hot (line 32) | CREATE INDEX idx_post_aggregates_featured_community_hot ON post_aggregat... type idx_post_aggregates_featured_community_active (line 34) | CREATE INDEX idx_post_aggregates_featured_community_active ON post_aggre... type idx_post_aggregates_featured_community_score (line 36) | CREATE INDEX idx_post_aggregates_featured_community_score ON post_aggreg... type idx_comment_aggregates_hot (line 39) | CREATE INDEX idx_comment_aggregates_hot ON comment_aggregates (hot_rank ... type idx_comment_aggregates_score (line 41) | CREATE INDEX idx_comment_aggregates_score ON comment_aggregates (score D... FILE: migrations/2023-07-14-215339_aggregates_nonzero_indexes/up.sql type idx_community_aggregates_nonzero_hotrank (line 2) | CREATE INDEX idx_community_aggregates_nonzero_hotrank ON community_aggre... type idx_comment_aggregates_nonzero_hotrank (line 6) | CREATE INDEX idx_comment_aggregates_nonzero_hotrank ON comment_aggregate... type idx_post_aggregates_nonzero_hotrank (line 10) | CREATE INDEX idx_post_aggregates_nonzero_hotrank ON post_aggregates (pub... FILE: migrations/2023-07-18-082614_post_aggregates_community_id/down.sql function post_aggregates_post (line 2) | CREATE OR REPLACE FUNCTION post_aggregates_post () FILE: migrations/2023-07-18-082614_post_aggregates_community_id/up.sql function post_aggregates_post (line 6) | CREATE OR REPLACE FUNCTION post_aggregates_post () FILE: migrations/2023-07-19-163511_comment_sort_hot_rank_then_score/down.sql type idx_comment_aggregates_hot (line 3) | CREATE INDEX idx_comment_aggregates_hot ON comment_aggregates (hot_rank ... type idx_comment_aggregates_score (line 5) | CREATE INDEX idx_comment_aggregates_score ON comment_aggregates (score D... FILE: migrations/2023-07-19-163511_comment_sort_hot_rank_then_score/up.sql type idx_comment_aggregates_hot (line 6) | CREATE INDEX idx_comment_aggregates_hot ON comment_aggregates (hot_rank ... type idx_comment_aggregates_score (line 9) | CREATE INDEX idx_comment_aggregates_score ON comment_aggregates (score D... FILE: migrations/2023-07-24-232635_trigram-index/up.sql type idx_comment_content_trigram (line 3) | CREATE INDEX IF NOT EXISTS idx_comment_content_trigram ON comment USING ... type idx_post_trigram (line 5) | CREATE INDEX IF NOT EXISTS idx_post_trigram ON post USING gin (name gin_... type idx_person_trigram (line 7) | CREATE INDEX IF NOT EXISTS idx_person_trigram ON person USING gin (name ... type idx_community_trigram (line 9) | CREATE INDEX IF NOT EXISTS idx_community_trigram ON community USING gin ... FILE: migrations/2023-07-26-000217_create_controversial_indexes/down.sql function comment_aggregates_score (line 2) | CREATE OR REPLACE FUNCTION comment_aggregates_score () function post_aggregates_score (line 51) | CREATE OR REPLACE FUNCTION post_aggregates_score () FILE: migrations/2023-07-26-000217_create_controversial_indexes/up.sql function controversy_rank (line 7) | CREATE OR REPLACE FUNCTION controversy_rank (upvotes numeric, downvotes ... type idx_post_aggregates_featured_local_controversy (line 45) | CREATE INDEX idx_post_aggregates_featured_local_controversy ON post_aggr... type idx_post_aggregates_featured_community_controversy (line 47) | CREATE INDEX idx_post_aggregates_featured_community_controversy ON post_... type idx_comment_aggregates_controversy (line 49) | CREATE INDEX idx_comment_aggregates_controversy ON comment_aggregates (c... function post_aggregates_score (line 52) | CREATE OR REPLACE FUNCTION post_aggregates_score () function comment_aggregates_score (line 119) | CREATE OR REPLACE FUNCTION comment_aggregates_score () FILE: migrations/2023-07-26-222023_site-aggregates-one/down.sql function site_aggregates_site (line 1) | CREATE OR REPLACE FUNCTION site_aggregates_site () FILE: migrations/2023-07-26-222023_site-aggregates-one/up.sql function site_aggregates_site (line 1) | CREATE OR REPLACE FUNCTION site_aggregates_site () FILE: migrations/2023-07-27-134652_remove-expensive-broken-trigger/down.sql function person_aggregates_comment_count (line 1) | CREATE OR REPLACE FUNCTION person_aggregates_comment_count () function person_aggregates_post_count (line 46) | CREATE OR REPLACE FUNCTION person_aggregates_post_count () function community_aggregates_comment_count (line 91) | CREATE OR REPLACE FUNCTION community_aggregates_comment_count () FILE: migrations/2023-07-27-134652_remove-expensive-broken-trigger/up.sql function person_aggregates_comment_count (line 1) | CREATE OR REPLACE FUNCTION person_aggregates_comment_count () function person_aggregates_post_count (line 25) | CREATE OR REPLACE FUNCTION person_aggregates_post_count () function community_aggregates_comment_count (line 49) | CREATE OR REPLACE FUNCTION community_aggregates_comment_count () FILE: migrations/2023-08-01-101826_admin_flag_local_user/down.sql type idx_person_admin (line 17) | CREATE INDEX idx_person_admin ON person (admin) FILE: migrations/2023-08-01-115243_persistent-activity-queue/up.sql type federation_queue_state (line 22) | CREATE TABLE federation_queue_state ( type idx_community_follower_published (line 31) | CREATE INDEX idx_community_follower_published ON community_follower (pub... FILE: migrations/2023-08-02-174444_fix-timezones/down.sql function hot_rank (line 333) | CREATE FUNCTION hot_rank (score numeric, published timestamp without tim... FILE: migrations/2023-08-02-174444_fix-timezones/up.sql function hot_rank (line 336) | CREATE OR REPLACE FUNCTION hot_rank (score numeric, published timestamp ... FILE: migrations/2023-08-09-101305_user_instance_block/down.sql function post_aggregates_post (line 6) | CREATE OR REPLACE FUNCTION post_aggregates_post () FILE: migrations/2023-08-09-101305_user_instance_block/up.sql type instance_block (line 1) | CREATE TABLE instance_block ( function post_aggregates_post (line 12) | CREATE OR REPLACE FUNCTION post_aggregates_post () FILE: migrations/2023-08-23-182533_scaled_rank/down.sql function hot_rank (line 20) | CREATE OR REPLACE FUNCTION hot_rank (score numeric, published timestamp ... type idx_community_aggregates_nonzero_hotrank (line 91) | CREATE INDEX idx_community_aggregates_nonzero_hotrank ON community_aggre... type idx_comment_aggregates_nonzero_hotrank (line 95) | CREATE INDEX idx_comment_aggregates_nonzero_hotrank ON comment_aggregate... type idx_post_aggregates_nonzero_hotrank (line 99) | CREATE INDEX idx_post_aggregates_nonzero_hotrank ON post_aggregates (pub... FILE: migrations/2023-08-23-182533_scaled_rank/up.sql function hot_rank (line 18) | CREATE OR REPLACE FUNCTION hot_rank (score numeric, published timestamp ... function scaled_rank (line 38) | CREATE OR REPLACE FUNCTION scaled_rank (score numeric, published timesta... type idx_post_aggregates_featured_community_scaled (line 63) | CREATE INDEX idx_post_aggregates_featured_community_scaled ON post_aggre... type idx_post_aggregates_featured_local_scaled (line 65) | CREATE INDEX idx_post_aggregates_featured_local_scaled ON post_aggregate... FILE: migrations/2023-08-31-205559_add_image_upload/up.sql type image_upload (line 1) | CREATE TABLE image_upload ( type idx_image_upload_local_user_id (line 9) | CREATE INDEX idx_image_upload_local_user_id ON image_upload (local_user_id) FILE: migrations/2023-09-01-112158_auto_resolve_report/up.sql function post_removed_resolve_reports (line 2) | CREATE OR REPLACE FUNCTION post_removed_resolve_reports () function comment_removed_resolve_reports (line 26) | CREATE OR REPLACE FUNCTION comment_removed_resolve_reports () FILE: migrations/2023-09-07-215546_post-queries-efficient/down.sql type idx_post_aggregates_featured_community_active (line 19) | CREATE INDEX idx_post_aggregates_featured_community_active ON post_aggre... type idx_post_aggregates_featured_community_controversy (line 21) | CREATE INDEX idx_post_aggregates_featured_community_controversy ON post_... type idx_post_aggregates_featured_community_hot (line 23) | CREATE INDEX idx_post_aggregates_featured_community_hot ON post_aggregat... type idx_post_aggregates_featured_community_scaled (line 25) | CREATE INDEX idx_post_aggregates_featured_community_scaled ON post_aggre... type idx_post_aggregates_featured_community_most_comments (line 27) | CREATE INDEX idx_post_aggregates_featured_community_most_comments ON pos... type idx_post_aggregates_featured_community_newest_comment_time (line 29) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time ... type idx_post_aggregates_featured_community_newest_comment_time_necro (line 31) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time_... type idx_post_aggregates_featured_community_published (line 33) | CREATE INDEX idx_post_aggregates_featured_community_published ON post_ag... type idx_post_aggregates_featured_community_score (line 35) | CREATE INDEX idx_post_aggregates_featured_community_score ON post_aggreg... FILE: migrations/2023-09-07-215546_post-queries-efficient/up.sql type idx_post_aggregates_community_active (line 4) | CREATE INDEX idx_post_aggregates_community_active ON post_aggregates (co... type idx_post_aggregates_community_controversy (line 6) | CREATE INDEX idx_post_aggregates_community_controversy ON post_aggregate... type idx_post_aggregates_community_hot (line 8) | CREATE INDEX idx_post_aggregates_community_hot ON post_aggregates (commu... type idx_post_aggregates_community_scaled (line 10) | CREATE INDEX idx_post_aggregates_community_scaled ON post_aggregates (co... type idx_post_aggregates_community_most_comments (line 12) | CREATE INDEX idx_post_aggregates_community_most_comments ON post_aggrega... type idx_post_aggregates_community_newest_comment_time (line 14) | CREATE INDEX idx_post_aggregates_community_newest_comment_time ON post_a... type idx_post_aggregates_community_newest_comment_time_necro (line 16) | CREATE INDEX idx_post_aggregates_community_newest_comment_time_necro ON ... type idx_post_aggregates_community_published (line 18) | CREATE INDEX idx_post_aggregates_community_published ON post_aggregates ... type idx_post_aggregates_community_score (line 20) | CREATE INDEX idx_post_aggregates_community_score ON post_aggregates (com... type idx_post_aggregates_featured_community_active (line 42) | CREATE INDEX idx_post_aggregates_featured_community_active ON post_aggre... type idx_post_aggregates_featured_community_controversy (line 44) | CREATE INDEX idx_post_aggregates_featured_community_controversy ON post_... type idx_post_aggregates_featured_community_hot (line 46) | CREATE INDEX idx_post_aggregates_featured_community_hot ON post_aggregat... type idx_post_aggregates_featured_community_scaled (line 48) | CREATE INDEX idx_post_aggregates_featured_community_scaled ON post_aggre... type idx_post_aggregates_featured_community_most_comments (line 50) | CREATE INDEX idx_post_aggregates_featured_community_most_comments ON pos... type idx_post_aggregates_featured_community_newest_comment_time (line 52) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time ... type idx_post_aggregates_featured_community_newest_comment_time_necro (line 54) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time_... type idx_post_aggregates_featured_community_published (line 56) | CREATE INDEX idx_post_aggregates_featured_community_published ON post_ag... type idx_post_aggregates_featured_community_score (line 58) | CREATE INDEX idx_post_aggregates_featured_community_score ON post_aggreg... FILE: migrations/2023-09-12-194850_add_federation_worker_index/up.sql type idx_person_local_instance (line 1) | CREATE INDEX idx_person_local_instance ON person (local DESC, instance_id) FILE: migrations/2023-09-18-141700_login-token/up.sql type login_token (line 1) | CREATE TABLE login_token ( type idx_login_token_user_token (line 10) | CREATE INDEX idx_login_token_user_token ON login_token (user_id, token) FILE: migrations/2023-10-02-145002_community_followers_count_federated/down.sql function community_aggregates_subscriber_count (line 1) | CREATE OR REPLACE FUNCTION community_aggregates_subscriber_count () FILE: migrations/2023-10-02-145002_community_followers_count_federated/up.sql function community_aggregates_subscriber_count (line 3) | CREATE OR REPLACE FUNCTION community_aggregates_subscriber_count () FILE: migrations/2023-10-23-184941_hot_rank_greatest_fix/down.sql function hot_rank (line 1) | CREATE OR REPLACE FUNCTION hot_rank (score numeric, published timestamp ... FILE: migrations/2023-10-23-184941_hot_rank_greatest_fix/up.sql function hot_rank (line 6) | CREATE OR REPLACE FUNCTION hot_rank (score numeric, published timestamp ... FILE: migrations/2023-10-24-030352_change_primary_keys_and_remove_some_id_columns/down.sql type idx_comment_like_person (line 11) | CREATE INDEX idx_comment_like_person ON comment_like (person_id) type idx_comment_saved_person_id (line 18) | CREATE INDEX idx_comment_saved_person_id ON comment_saved (person_id) type idx_community_block_person (line 30) | CREATE INDEX idx_community_block_person ON community_block (person_id) type idx_community_follower_person (line 37) | CREATE INDEX idx_community_follower_person ON community_follower (person... type idx_community_moderator_person (line 49) | CREATE INDEX idx_community_moderator_person ON community_moderator (pers... type idx_post_like_person (line 136) | CREATE INDEX idx_post_like_person ON post_like (person_id) type idx_post_saved_person_id (line 153) | CREATE INDEX idx_post_saved_person_id ON post_saved (person_id) function site_aggregates_site (line 169) | CREATE OR REPLACE FUNCTION site_aggregates_site () FILE: migrations/2023-10-24-030352_change_primary_keys_and_remove_some_id_columns/up.sql function site_aggregates_site (line 206) | CREATE OR REPLACE FUNCTION site_aggregates_site () FILE: migrations/2023-10-24-131607_proxy_links/up.sql type remote_image (line 1) | CREATE TABLE remote_image ( FILE: migrations/2023-12-06-180359_edit_active_users/down.sql function community_aggregates_activity (line 1) | CREATE OR REPLACE FUNCTION community_aggregates_activity (i text) function site_aggregates_activity (line 38) | CREATE OR REPLACE FUNCTION site_aggregates_activity (i text) FILE: migrations/2023-12-06-180359_edit_active_users/up.sql function community_aggregates_activity (line 2) | CREATE OR REPLACE FUNCTION community_aggregates_activity (i text) function site_aggregates_activity (line 62) | CREATE OR REPLACE FUNCTION site_aggregates_activity (i text) FILE: migrations/2023-12-19-210053_tolerable-batch-insert-speed/down.sql function post_aggregates_post (line 1) | CREATE OR REPLACE FUNCTION post_aggregates_post () function site_aggregates_post_insert (line 47) | CREATE OR REPLACE FUNCTION site_aggregates_post_insert () function generate_unique_changeme (line 73) | CREATE OR REPLACE FUNCTION generate_unique_changeme () FILE: migrations/2023-12-19-210053_tolerable-batch-insert-speed/up.sql function post_aggregates_post (line 3) | CREATE OR REPLACE FUNCTION post_aggregates_post () function community_aggregates_post_count_insert (line 30) | CREATE OR REPLACE FUNCTION community_aggregates_post_count_insert () function person_aggregates_post_insert (line 53) | CREATE OR REPLACE FUNCTION person_aggregates_post_insert () function site_aggregates_post_update (line 93) | CREATE OR REPLACE FUNCTION site_aggregates_post_update () function site_aggregates_post_insert (line 112) | CREATE OR REPLACE FUNCTION site_aggregates_post_insert () function generate_unique_changeme (line 159) | CREATE OR REPLACE FUNCTION generate_unique_changeme () FILE: migrations/2023-12-22-040137_make-mixed-sorting-directions-work-with-tuple-comparison/up.sql function reverse_timestamp_sort (line 1) | CREATE FUNCTION reverse_timestamp_sort (t timestamp with time zone) type idx_post_aggregates_community_published_asc (line 11) | CREATE INDEX idx_post_aggregates_community_published_asc ON public.post_... type idx_post_aggregates_featured_community_published_asc (line 13) | CREATE INDEX idx_post_aggregates_featured_community_published_asc ON pub... type idx_post_aggregates_featured_local_published_asc (line 15) | CREATE INDEX idx_post_aggregates_featured_local_published_asc ON public.... type idx_post_aggregates_published_asc (line 17) | CREATE INDEX idx_post_aggregates_published_asc ON public.post_aggregates... FILE: migrations/2024-01-05-213000_community_aggregates_add_local_subscribers/down.sql function community_aggregates_subscriber_count (line 7) | CREATE OR REPLACE FUNCTION community_aggregates_subscriber_count () FILE: migrations/2024-01-05-213000_community_aggregates_add_local_subscribers/up.sql function community_aggregates_subscriber_count (line 29) | CREATE OR REPLACE FUNCTION community_aggregates_subscriber_count () function delete_follow_before_person (line 66) | CREATE FUNCTION delete_follow_before_person () FILE: migrations/2024-01-25-151400_remove_auto_resolve_report_trigger/down.sql function post_removed_resolve_reports (line 2) | CREATE OR REPLACE FUNCTION post_removed_resolve_reports () function comment_removed_resolve_reports (line 26) | CREATE OR REPLACE FUNCTION comment_removed_resolve_reports () FILE: migrations/2024-02-12-211114_add_vote_display_mode_setting/up.sql type local_user_vote_display_mode (line 3) | CREATE TABLE local_user_vote_display_mode ( FILE: migrations/2024-02-24-034523_replaceable-schema/down.sql function comment_aggregates_comment (line 5) | CREATE FUNCTION comment_aggregates_comment () function comment_aggregates_score (line 21) | CREATE FUNCTION comment_aggregates_score () function community_aggregates_comment_count (line 87) | CREATE FUNCTION community_aggregates_comment_count () function community_aggregates_community (line 117) | CREATE FUNCTION community_aggregates_community () function community_aggregates_post_count (line 133) | CREATE FUNCTION community_aggregates_post_count () function community_aggregates_post_count_insert (line 209) | CREATE FUNCTION community_aggregates_post_count_insert () function community_aggregates_subscriber_count (line 232) | CREATE FUNCTION community_aggregates_subscriber_count () function delete_follow_before_person (line 268) | CREATE FUNCTION delete_follow_before_person () function person_aggregates_comment_count (line 279) | CREATE FUNCTION person_aggregates_comment_count () function person_aggregates_comment_score (line 303) | CREATE FUNCTION person_aggregates_comment_score () function person_aggregates_person (line 334) | CREATE FUNCTION person_aggregates_person () function person_aggregates_post_count (line 350) | CREATE FUNCTION person_aggregates_post_count () function person_aggregates_post_insert (line 374) | CREATE FUNCTION person_aggregates_post_insert () function person_aggregates_post_score (line 397) | CREATE FUNCTION person_aggregates_post_score () function post_aggregates_comment_count (line 428) | CREATE FUNCTION post_aggregates_comment_count () function post_aggregates_featured_community (line 482) | CREATE FUNCTION post_aggregates_featured_community () function post_aggregates_featured_local (line 497) | CREATE FUNCTION post_aggregates_featured_local () function post_aggregates_post (line 512) | CREATE FUNCTION post_aggregates_post () function post_aggregates_score (line 539) | CREATE FUNCTION post_aggregates_score () function site_aggregates_comment_delete (line 605) | CREATE FUNCTION site_aggregates_comment_delete () function site_aggregates_comment_insert (line 624) | CREATE FUNCTION site_aggregates_comment_insert () function site_aggregates_community_delete (line 643) | CREATE FUNCTION site_aggregates_community_delete () function site_aggregates_community_insert (line 662) | CREATE FUNCTION site_aggregates_community_insert () function site_aggregates_person_delete (line 681) | CREATE FUNCTION site_aggregates_person_delete () function site_aggregates_person_insert (line 699) | CREATE FUNCTION site_aggregates_person_insert () function site_aggregates_post_delete (line 712) | CREATE FUNCTION site_aggregates_post_delete () function site_aggregates_post_insert (line 731) | CREATE FUNCTION site_aggregates_post_insert () function site_aggregates_post_update (line 752) | CREATE FUNCTION site_aggregates_post_update () function site_aggregates_site (line 771) | CREATE FUNCTION site_aggregates_site () function was_removed_or_deleted (line 794) | CREATE FUNCTION was_removed_or_deleted (tg_op text, old record, new record) function was_restored_or_created (line 813) | CREATE FUNCTION was_restored_or_created (tg_op text, old record, new rec... function controversy_rank (line 999) | CREATE FUNCTION controversy_rank (upvotes numeric, downvotes numeric) function hot_rank (line 1017) | CREATE FUNCTION hot_rank (score numeric, published timestamp with time z... function scaled_rank (line 1037) | CREATE FUNCTION scaled_rank (score numeric, published timestamp with tim... FILE: migrations/2024-02-24-034523_replaceable-schema/up.sql type idx_site_aggregates_1_row_only (line 1) | CREATE UNIQUE INDEX idx_site_aggregates_1_row_only ON site_aggregates ((... FILE: migrations/2024-02-28-144211_hide_posts/up.sql type post_hide (line 1) | CREATE TABLE post_hide ( FILE: migrations/2024-03-06-201637_url_blocklist/up.sql type local_site_url_blocklist (line 1) | CREATE TABLE local_site_url_blocklist ( FILE: migrations/2024-04-23-020604_add_post_id_index/down.sql type idx_post_aggregates_community_active (line 61) | CREATE INDEX idx_post_aggregates_community_active ON public.post_aggrega... type idx_post_aggregates_community_controversy (line 63) | CREATE INDEX idx_post_aggregates_community_controversy ON public.post_ag... type idx_post_aggregates_community_hot (line 65) | CREATE INDEX idx_post_aggregates_community_hot ON public.post_aggregates... type idx_post_aggregates_community_most_comments (line 67) | CREATE INDEX idx_post_aggregates_community_most_comments ON public.post_... type idx_post_aggregates_community_newest_comment_time (line 69) | CREATE INDEX idx_post_aggregates_community_newest_comment_time ON public... type idx_post_aggregates_community_newest_comment_time_necro (line 71) | CREATE INDEX idx_post_aggregates_community_newest_comment_time_necro ON ... type idx_post_aggregates_community_published (line 73) | CREATE INDEX idx_post_aggregates_community_published ON public.post_aggr... type idx_post_aggregates_community_published_asc (line 75) | CREATE INDEX idx_post_aggregates_community_published_asc ON public.post_... type idx_post_aggregates_community_scaled (line 77) | CREATE INDEX idx_post_aggregates_community_scaled ON public.post_aggrega... type idx_post_aggregates_community_score (line 79) | CREATE INDEX idx_post_aggregates_community_score ON public.post_aggregat... type idx_post_aggregates_featured_community_active (line 81) | CREATE INDEX idx_post_aggregates_featured_community_active ON public.pos... type idx_post_aggregates_featured_community_controversy (line 83) | CREATE INDEX idx_post_aggregates_featured_community_controversy ON publi... type idx_post_aggregates_featured_community_hot (line 85) | CREATE INDEX idx_post_aggregates_featured_community_hot ON public.post_a... type idx_post_aggregates_featured_community_most_comments (line 87) | CREATE INDEX idx_post_aggregates_featured_community_most_comments ON pub... type idx_post_aggregates_featured_community_newest_comment_time (line 89) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time ... type idx_post_aggregates_featured_community_newest_comment_time_necr (line 91) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time_... type idx_post_aggregates_featured_community_published (line 93) | CREATE INDEX idx_post_aggregates_featured_community_published ON public.... type idx_post_aggregates_featured_community_published_asc (line 95) | CREATE INDEX idx_post_aggregates_featured_community_published_asc ON pub... type idx_post_aggregates_featured_community_scaled (line 97) | CREATE INDEX idx_post_aggregates_featured_community_scaled ON public.pos... type idx_post_aggregates_featured_community_score (line 99) | CREATE INDEX idx_post_aggregates_featured_community_score ON public.post... type idx_post_aggregates_featured_local_active (line 101) | CREATE INDEX idx_post_aggregates_featured_local_active ON public.post_ag... type idx_post_aggregates_featured_local_controversy (line 103) | CREATE INDEX idx_post_aggregates_featured_local_controversy ON public.po... type idx_post_aggregates_featured_local_hot (line 105) | CREATE INDEX idx_post_aggregates_featured_local_hot ON public.post_aggre... type idx_post_aggregates_featured_local_most_comments (line 107) | CREATE INDEX idx_post_aggregates_featured_local_most_comments ON public.... type idx_post_aggregates_featured_local_newest_comment_time (line 109) | CREATE INDEX idx_post_aggregates_featured_local_newest_comment_time ON p... type idx_post_aggregates_featured_local_newest_comment_time_necro (line 111) | CREATE INDEX idx_post_aggregates_featured_local_newest_comment_time_necr... type idx_post_aggregates_featured_local_published (line 113) | CREATE INDEX idx_post_aggregates_featured_local_published ON public.post... type idx_post_aggregates_featured_local_published_asc (line 115) | CREATE INDEX idx_post_aggregates_featured_local_published_asc ON public.... type idx_post_aggregates_featured_local_scaled (line 117) | CREATE INDEX idx_post_aggregates_featured_local_scaled ON public.post_ag... type idx_post_aggregates_featured_local_score (line 119) | CREATE INDEX idx_post_aggregates_featured_local_score ON public.post_agg... FILE: migrations/2024-04-23-020604_add_post_id_index/up.sql type idx_post_aggregates_community_active (line 62) | CREATE INDEX idx_post_aggregates_community_active ON public.post_aggrega... type idx_post_aggregates_community_controversy (line 64) | CREATE INDEX idx_post_aggregates_community_controversy ON public.post_ag... type idx_post_aggregates_community_hot (line 66) | CREATE INDEX idx_post_aggregates_community_hot ON public.post_aggregates... type idx_post_aggregates_community_most_comments (line 68) | CREATE INDEX idx_post_aggregates_community_most_comments ON public.post_... type idx_post_aggregates_community_newest_comment_time (line 70) | CREATE INDEX idx_post_aggregates_community_newest_comment_time ON public... type idx_post_aggregates_community_newest_comment_time_necro (line 72) | CREATE INDEX idx_post_aggregates_community_newest_comment_time_necro ON ... type idx_post_aggregates_community_published (line 74) | CREATE INDEX idx_post_aggregates_community_published ON public.post_aggr... type idx_post_aggregates_community_published_asc (line 76) | CREATE INDEX idx_post_aggregates_community_published_asc ON public.post_... type idx_post_aggregates_community_scaled (line 78) | CREATE INDEX idx_post_aggregates_community_scaled ON public.post_aggrega... type idx_post_aggregates_community_score (line 80) | CREATE INDEX idx_post_aggregates_community_score ON public.post_aggregat... type idx_post_aggregates_featured_community_active (line 82) | CREATE INDEX idx_post_aggregates_featured_community_active ON public.pos... type idx_post_aggregates_featured_community_controversy (line 84) | CREATE INDEX idx_post_aggregates_featured_community_controversy ON publi... type idx_post_aggregates_featured_community_hot (line 86) | CREATE INDEX idx_post_aggregates_featured_community_hot ON public.post_a... type idx_post_aggregates_featured_community_most_comments (line 88) | CREATE INDEX idx_post_aggregates_featured_community_most_comments ON pub... type idx_post_aggregates_featured_community_newest_comment_time (line 90) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time ... type idx_post_aggregates_featured_community_newest_comment_time_necr (line 92) | CREATE INDEX idx_post_aggregates_featured_community_newest_comment_time_... type idx_post_aggregates_featured_community_published (line 94) | CREATE INDEX idx_post_aggregates_featured_community_published ON public.... type idx_post_aggregates_featured_community_published_asc (line 96) | CREATE INDEX idx_post_aggregates_featured_community_published_asc ON pub... type idx_post_aggregates_featured_community_scaled (line 98) | CREATE INDEX idx_post_aggregates_featured_community_scaled ON public.pos... type idx_post_aggregates_featured_community_score (line 100) | CREATE INDEX idx_post_aggregates_featured_community_score ON public.post... type idx_post_aggregates_featured_local_active (line 102) | CREATE INDEX idx_post_aggregates_featured_local_active ON public.post_ag... type idx_post_aggregates_featured_local_controversy (line 104) | CREATE INDEX idx_post_aggregates_featured_local_controversy ON public.po... type idx_post_aggregates_featured_local_hot (line 106) | CREATE INDEX idx_post_aggregates_featured_local_hot ON public.post_aggre... type idx_post_aggregates_featured_local_most_comments (line 108) | CREATE INDEX idx_post_aggregates_featured_local_most_comments ON public.... type idx_post_aggregates_featured_local_newest_comment_time (line 110) | CREATE INDEX idx_post_aggregates_featured_local_newest_comment_time ON p... type idx_post_aggregates_featured_local_newest_comment_time_necro (line 112) | CREATE INDEX idx_post_aggregates_featured_local_newest_comment_time_necr... type idx_post_aggregates_featured_local_published (line 114) | CREATE INDEX idx_post_aggregates_featured_local_published ON public.post... type idx_post_aggregates_featured_local_published_asc (line 116) | CREATE INDEX idx_post_aggregates_featured_local_published_asc ON public.... type idx_post_aggregates_featured_local_scaled (line 118) | CREATE INDEX idx_post_aggregates_featured_local_scaled ON public.post_ag... type idx_post_aggregates_featured_local_score (line 120) | CREATE INDEX idx_post_aggregates_featured_local_score ON public.post_agg... FILE: migrations/2024-05-05-162540_add_image_detail_table/up.sql type image_details (line 9) | CREATE TABLE image_details ( FILE: migrations/2024-11-12-090437_move-triggers/down.sql function community_aggregates_activity (line 2) | CREATE OR REPLACE FUNCTION community_aggregates_activity (i text) function site_aggregates_activity (line 62) | CREATE OR REPLACE FUNCTION site_aggregates_activity (i text) FILE: migrations/2025-02-24-173152_search-alt-text-of-posts/down.sql type idx_post_trigram (line 3) | CREATE INDEX IF NOT EXISTS idx_post_trigram ON post USING gin (name gin_... FILE: migrations/2025-02-24-173152_search-alt-text-of-posts/up.sql type idx_post_trigram (line 3) | CREATE INDEX IF NOT EXISTS idx_post_trigram ON post USING gin (name gin_... FILE: migrations/2025-05-15-154113_missing_post_indexes/up.sql type idx_post_read_post (line 1) | CREATE INDEX idx_post_read_post ON post_read (post_id) type idx_post_hide_post (line 3) | CREATE INDEX idx_post_hide_post ON post_hide (post_id) type idx_post_saved_post (line 5) | CREATE INDEX idx_post_saved_post ON post_saved (post_id) FILE: migrations/2025-07-29-152742_add_indexes_for_aggregates_activity/up.sql type idx_post_published (line 2) | CREATE INDEX idx_post_published ON post (published) type idx_post_like_published (line 4) | CREATE INDEX idx_post_like_published ON post_like (published) type idx_comment_like_published (line 6) | CREATE INDEX idx_comment_like_published ON comment_like (published) FILE: migrations/2025-07-29-152743_post-aggregates-creator-community-indexes/up.sql type idx_post_aggregates_creator (line 1) | CREATE INDEX idx_post_aggregates_creator ON post_aggregates (creator_id) type idx_post_aggregates_community (line 3) | CREATE INDEX idx_post_aggregates_community ON post_aggregates (community... FILE: migrations/2025-08-01-000007_schedule-post/up.sql type idx_post_scheduled_publish_time (line 4) | CREATE INDEX idx_post_scheduled_publish_time ON post (scheduled_publish_... FILE: migrations/2025-08-01-000008_create_oauth_provider/up.sql type oauth_provider (line 4) | CREATE TABLE oauth_provider ( type oauth_account (line 25) | CREATE TABLE oauth_account ( FILE: migrations/2025-08-01-000013_comment-vote-remote-postid/down.sql type idx_comment_like_post (line 16) | CREATE INDEX idx_comment_like_post ON comment_like (post_id) FILE: migrations/2025-08-01-000014_private-community/down.sql function convert_follower_state (line 22) | CREATE OR REPLACE FUNCTION convert_follower_state (s community_follower_... FILE: migrations/2025-08-01-000014_private-community/up.sql function convert_follower_state (line 14) | CREATE OR REPLACE FUNCTION convert_follower_state (b bool) FILE: migrations/2025-08-01-000016_smoosh-tables-together/down.sql type comment_saved (line 2) | CREATE TABLE comment_saved ( type community_block (line 20) | CREATE TABLE community_block ( type community_person_ban (line 37) | CREATE TABLE community_person_ban ( type community_moderator (line 59) | CREATE TABLE community_moderator ( type person_block (line 77) | CREATE TABLE person_block ( type person_post_aggregates (line 94) | CREATE TABLE IF NOT EXISTS person_post_aggregates ( type post_hide (line 113) | CREATE TABLE post_hide ( type post_like (line 130) | CREATE TABLE IF NOT EXISTS post_like ( type post_saved (line 154) | CREATE TABLE post_saved ( type comment_like (line 188) | CREATE TABLE IF NOT EXISTS comment_like ( type post_read (line 218) | CREATE TABLE IF NOT EXISTS post_read ( type idx_community_follower_published (line 316) | CREATE INDEX idx_community_follower_published ON community_follower (pub... type idx_comment_saved_comment (line 321) | CREATE INDEX idx_comment_saved_comment ON comment_saved (comment_id) type idx_comment_saved_person (line 323) | CREATE INDEX idx_comment_saved_person ON comment_saved (person_id) type idx_community_block_community (line 325) | CREATE INDEX idx_community_block_community ON community_block (community... type idx_community_moderator_community (line 327) | CREATE INDEX idx_community_moderator_community ON community_moderator (c... type idx_community_moderator_published (line 329) | CREATE INDEX idx_community_moderator_published ON community_moderator (p... type idx_person_block_person (line 331) | CREATE INDEX idx_person_block_person ON person_block (person_id) type idx_person_block_target (line 333) | CREATE INDEX idx_person_block_target ON person_block (target_id) type idx_person_post_aggregates_person (line 335) | CREATE INDEX IF NOT EXISTS idx_person_post_aggregates_person ON person_p... type idx_person_post_aggregates_post (line 337) | CREATE INDEX IF NOT EXISTS idx_person_post_aggregates_post ON person_pos... type idx_post_like_post (line 339) | CREATE INDEX IF NOT EXISTS idx_post_like_post ON post_like (post_id) type idx_comment_like_comment (line 341) | CREATE INDEX idx_comment_like_comment ON comment_like (comment_id) type idx_post_hide_post (line 343) | CREATE INDEX idx_post_hide_post ON post_hide (post_id) type idx_post_read_post (line 345) | CREATE INDEX idx_post_read_post ON post_read (post_id) type idx_post_saved_post (line 347) | CREATE INDEX idx_post_saved_post ON post_saved (post_id) type idx_post_like_published (line 349) | CREATE INDEX idx_post_like_published ON post_like (published) type idx_comment_like_published (line 351) | CREATE INDEX idx_comment_like_published ON comment_like (published) FILE: migrations/2025-08-01-000016_smoosh-tables-together/up.sql type comment_actions (line 6) | CREATE TABLE comment_actions AS type idx_comment_actions_person (line 49) | CREATE INDEX idx_comment_actions_person ON comment_actions (person_id) type idx_comment_actions_comment (line 51) | CREATE INDEX idx_comment_actions_comment ON comment_actions (comment_id) type idx_comment_actions_liked_not_null (line 53) | CREATE INDEX idx_comment_actions_liked_not_null ON comment_actions (pers... type idx_comment_actions_saved_not_null (line 57) | CREATE INDEX idx_comment_actions_saved_not_null ON comment_actions (pers... type post_actions (line 64) | CREATE TABLE post_actions AS type idx_post_actions_person (line 158) | CREATE INDEX idx_post_actions_person ON post_actions (person_id) type idx_post_actions_post (line 160) | CREATE INDEX idx_post_actions_post ON post_actions (post_id) type idx_post_actions_read_not_null (line 162) | CREATE INDEX idx_post_actions_read_not_null ON post_actions (person_id, ... type idx_post_actions_read_comments_not_null (line 166) | CREATE INDEX idx_post_actions_read_comments_not_null ON post_actions (pe... type idx_post_actions_saved_not_null (line 170) | CREATE INDEX idx_post_actions_saved_not_null ON post_actions (person_id,... type idx_post_actions_liked_not_null (line 174) | CREATE INDEX idx_post_actions_liked_not_null ON post_actions (person_id,... type idx_post_actions_hidden_not_null (line 178) | CREATE INDEX idx_post_actions_hidden_not_null ON post_actions (person_id... type community_actions (line 183) | CREATE TABLE community_actions AS type idx_community_actions_person (line 265) | CREATE INDEX idx_community_actions_person ON community_actions (person_id) type idx_community_actions_community (line 267) | CREATE INDEX idx_community_actions_community ON community_actions (commu... type idx_community_actions_followed (line 269) | CREATE INDEX idx_community_actions_followed ON community_actions (followed) type idx_community_actions_followed_not_null (line 273) | CREATE INDEX idx_community_actions_followed_not_null ON community_action... type idx_community_actions_became_moderator (line 277) | CREATE INDEX idx_community_actions_became_moderator ON community_actions... type idx_community_actions_became_moderator_not_null (line 281) | CREATE INDEX idx_community_actions_became_moderator_not_null ON communit... type idx_community_actions_blocked_not_null (line 285) | CREATE INDEX idx_community_actions_blocked_not_null ON community_actions... type idx_community_actions_received_ban_not_null (line 289) | CREATE INDEX idx_community_actions_received_ban_not_null ON community_ac... type instance_actions (line 294) | CREATE TABLE instance_actions AS type idx_instance_actions_person (line 314) | CREATE INDEX idx_instance_actions_person ON instance_actions (person_id) type idx_instance_actions_instance (line 316) | CREATE INDEX idx_instance_actions_instance ON instance_actions (instance... type idx_instance_actions_blocked_not_null (line 318) | CREATE INDEX idx_instance_actions_blocked_not_null ON instance_actions (... type person_actions (line 323) | CREATE TABLE person_actions AS type idx_person_actions_person (line 363) | CREATE INDEX idx_person_actions_person ON person_actions (person_id) type idx_person_actions_target (line 365) | CREATE INDEX idx_person_actions_target ON person_actions (target_id) type idx_person_actions_followed_not_null (line 367) | CREATE INDEX idx_person_actions_followed_not_null ON person_actions (per... type idx_person_actions_blocked_not_null (line 371) | CREATE INDEX idx_person_actions_blocked_not_null ON person_actions (pers... FILE: migrations/2025-08-01-000017_forbid_diesel_cli/up.sql function forbid_diesel_cli (line 14) | CREATE FUNCTION forbid_diesel_cli () FILE: migrations/2025-08-01-000018_custom_migration_runner/up.sql type previously_run_sql (line 3) | CREATE TABLE previously_run_sql ( FILE: migrations/2025-08-01-000022_instance-block-mod-log/up.sql type admin_block_instance (line 4) | CREATE TABLE admin_block_instance ( type admin_allow_instance (line 14) | CREATE TABLE admin_allow_instance ( FILE: migrations/2025-08-01-000023_add_report_combined_table/up.sql type report_combined (line 3) | CREATE TABLE report_combined ( type idx_report_combined_published (line 13) | CREATE INDEX idx_report_combined_published ON report_combined (published... type idx_report_combined_published_asc (line 15) | CREATE INDEX idx_report_combined_published_asc ON report_combined (rever... FILE: migrations/2025-08-01-000024_add_person_content_combined_table/up.sql type person_content_combined (line 4) | CREATE TABLE person_content_combined AS type idx_person_content_combined_creator_published (line 33) | CREATE INDEX idx_person_content_combined_creator_published ON person_con... type person_saved_combined (line 36) | CREATE TABLE person_saved_combined AS type idx_person_saved_combined_person_saved (line 81) | CREATE INDEX idx_person_saved_combined_person_saved ON person_saved_comb... type idx_person_saved_combined_person (line 83) | CREATE INDEX idx_person_saved_combined_person ON person_saved_combined (... type idx_person_saved_combined_creator (line 85) | CREATE INDEX idx_person_saved_combined_creator ON person_saved_combined ... FILE: migrations/2025-08-01-000025_add_modlog_combined_table/up.sql type modlog_combined (line 55) | CREATE TABLE modlog_combined ( type idx_modlog_combined_published (line 198) | CREATE INDEX idx_modlog_combined_published ON modlog_combined (published... FILE: migrations/2025-08-01-000026_add_inbox_combined_table/up.sql type person_post_mention (line 8) | CREATE TABLE person_post_mention ( type inbox_combined (line 18) | CREATE TABLE inbox_combined AS type idx_inbox_combined_published (line 68) | CREATE INDEX idx_inbox_combined_published ON inbox_combined (published D... type idx_inbox_combined_published_asc (line 70) | CREATE INDEX idx_inbox_combined_published_asc ON inbox_combined (reverse... FILE: migrations/2025-08-01-000027_add_search_combined_table/up.sql type search_combined (line 22) | CREATE TABLE search_combined AS type idx_search_combined_published (line 79) | CREATE INDEX idx_search_combined_published ON search_combined (published... type idx_search_combined_published_asc (line 81) | CREATE INDEX idx_search_combined_published_asc ON search_combined (rever... type idx_search_combined_score (line 83) | CREATE INDEX idx_search_combined_score ON search_combined (score DESC, i... FILE: migrations/2025-08-01-000028_add_index_on_person_id_read_for_read_only_post_actions/up.sql type idx_post_actions_on_read_read_not_null (line 1) | CREATE INDEX idx_post_actions_on_read_read_not_null ON post_actions (per... FILE: migrations/2025-08-01-000029_community-post-tags/up.sql type tag (line 6) | CREATE TABLE tag ( type post_tag (line 19) | CREATE TABLE post_tag ( FILE: migrations/2025-08-01-000030_optimize_get_random_community/up.sql function random_smallint (line 5) | CREATE FUNCTION random_smallint () type idx_community_random_number (line 17) | CREATE INDEX idx_community_random_number ON community (random_number) IN... FILE: migrations/2025-08-01-000032_community_report/up.sql type community_report (line 1) | CREATE TABLE community_report ( type idx_community_report_published (line 19) | CREATE INDEX idx_community_report_published ON community_report (publish... FILE: migrations/2025-08-01-000033_add_post_keyword_block_table/up.sql type local_user_keyword_block (line 1) | CREATE TABLE local_user_keyword_block ( FILE: migrations/2025-08-01-000035_media_filter/up.sql type idx_post_url_content_type (line 4) | CREATE INDEX idx_post_url_content_type ON post USING gin (url_content_ty... FILE: migrations/2025-08-01-000041_remove-aggregate-tables/down.sql type comment_aggregates (line 2) | CREATE TABLE IF NOT EXISTS comment_aggregates ( type idx_comment_aggregates_controversy (line 54) | CREATE INDEX IF NOT EXISTS idx_comment_aggregates_controversy ON comment... type idx_comment_aggregates_hot (line 56) | CREATE INDEX IF NOT EXISTS idx_comment_aggregates_hot ON comment_aggrega... type idx_comment_aggregates_nonzero_hotrank (line 58) | CREATE INDEX IF NOT EXISTS idx_comment_aggregates_nonzero_hotrank ON com... type idx_comment_aggregates_published (line 61) | CREATE INDEX IF NOT EXISTS idx_comment_aggregates_published ON comment_a... type idx_comment_aggregates_score (line 63) | CREATE INDEX IF NOT EXISTS idx_comment_aggregates_score ON comment_aggre... type post_aggregates (line 66) | CREATE TABLE IF NOT EXISTS post_aggregates ( type idx_post_aggregates_community (line 162) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community ON post_aggrega... type idx_post_aggregates_community_active (line 164) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community_active ON post_... type idx_post_aggregates_community_controversy (line 166) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community_controversy ON ... type idx_post_aggregates_community_hot (line 168) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community_hot ON post_agg... type idx_post_aggregates_community_most_comments (line 170) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community_most_comments O... type idx_post_aggregates_community_newest_comment_time (line 172) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community_newest_comment_... type idx_post_aggregates_community_newest_comment_time_necro (line 174) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community_newest_comment_... type idx_post_aggregates_community_published (line 176) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community_published ON po... type idx_post_aggregates_community_published_asc (line 178) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community_published_asc O... type idx_post_aggregates_community_scaled (line 180) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community_scaled ON post_... type idx_post_aggregates_community_score (line 182) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_community_score ON post_a... type idx_post_aggregates_featured_community_active (line 184) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_community_active... type idx_post_aggregates_featured_community_controversy (line 186) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_community_contro... type idx_post_aggregates_featured_community_hot (line 188) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_community_hot ON... type idx_post_aggregates_featured_community_most_comments (line 190) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_community_most_c... type idx_post_aggregates_featured_community_newest_comment_time (line 192) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_community_newest... type idx_post_aggregates_featured_community_newest_comment_time_necr (line 194) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_community_newest... type idx_post_aggregates_featured_community_published (line 196) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_community_publis... type idx_post_aggregates_featured_community_published_asc (line 198) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_community_publis... type idx_post_aggregates_featured_community_scaled (line 200) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_community_scaled... type idx_post_aggregates_featured_community_score (line 202) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_community_score ... type idx_post_aggregates_featured_local_active (line 204) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_local_active ON ... type idx_post_aggregates_featured_local_controversy (line 206) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_local_controvers... type idx_post_aggregates_featured_local_hot (line 208) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_local_hot ON pos... type idx_post_aggregates_featured_local_most_comments (line 210) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_local_most_comme... type idx_post_aggregates_featured_local_newest_comment_time (line 212) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_local_newest_com... type idx_post_aggregates_featured_local_newest_comment_time_necro (line 214) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_local_newest_com... type idx_post_aggregates_featured_local_published (line 216) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_local_published ... type idx_post_aggregates_featured_local_published_asc (line 218) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_local_published_... type idx_post_aggregates_featured_local_scaled (line 220) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_local_scaled ON ... type idx_post_aggregates_featured_local_score (line 222) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_featured_local_score ON p... type idx_post_aggregates_nonzero_hotrank (line 224) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_nonzero_hotrank ON post_a... type idx_post_aggregates_published (line 227) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_published ON post_aggrega... type idx_post_aggregates_published_asc (line 229) | CREATE INDEX IF NOT EXISTS idx_post_aggregates_published_asc ON post_agg... type community_aggregates (line 242) | CREATE TABLE community_aggregates ( type idx_community_aggregates_hot (line 295) | CREATE INDEX idx_community_aggregates_hot ON public.community_aggregates... type idx_community_aggregates_nonzero_hotrank (line 297) | CREATE INDEX idx_community_aggregates_nonzero_hotrank ON public.communit... type idx_community_aggregates_published (line 300) | CREATE INDEX idx_community_aggregates_published ON public.community_aggr... type idx_community_aggregates_subscribers (line 302) | CREATE INDEX idx_community_aggregates_subscribers ON public.community_ag... type idx_community_aggregates_users_active_month (line 304) | CREATE INDEX idx_community_aggregates_users_active_month ON public.commu... type person_aggregates (line 307) | CREATE TABLE person_aggregates ( type local_user_vote_display_mode (line 383) | CREATE TABLE local_user_vote_display_mode ( type idx_search_combined_score (line 407) | CREATE INDEX idx_search_combined_score ON public.search_combined USING b... type idx_site_aggregates_1_row_only (line 412) | CREATE UNIQUE INDEX idx_site_aggregates_1_row_only ON public.site_aggreg... FILE: migrations/2025-08-01-000041_remove-aggregate-tables/up.sql type idx_comment_controversy (line 81) | CREATE INDEX idx_comment_controversy ON comment USING btree (controversy... type idx_comment_hot (line 83) | CREATE INDEX idx_comment_hot ON comment USING btree (hot_rank DESC, scor... type idx_comment_nonzero_hotrank (line 85) | CREATE INDEX idx_comment_nonzero_hotrank ON comment USING btree (published) type idx_comment_score (line 89) | CREATE INDEX idx_comment_score ON comment USING btree (score DESC) type idx_post_community_active (line 185) | CREATE INDEX idx_post_community_active ON post USING btree (community_id... type idx_post_community_controversy (line 187) | CREATE INDEX idx_post_community_controversy ON post USING btree (communi... type idx_post_community_hot (line 189) | CREATE INDEX idx_post_community_hot ON post USING btree (community_id, f... type idx_post_community_most_comments (line 191) | CREATE INDEX idx_post_community_most_comments ON post USING btree (commu... type idx_post_community_newest_comment_time (line 193) | CREATE INDEX idx_post_community_newest_comment_time ON post USING btree ... type idx_post_community_newest_comment_time_necro (line 195) | CREATE INDEX idx_post_community_newest_comment_time_necro ON post USING ... type idx_post_community_scaled (line 199) | CREATE INDEX idx_post_community_scaled ON post USING btree (community_id... type idx_post_community_score (line 201) | CREATE INDEX idx_post_community_score ON post USING btree (community_id,... type idx_post_featured_community_active (line 203) | CREATE INDEX idx_post_featured_community_active ON post USING btree (com... type idx_post_featured_community_controversy (line 205) | CREATE INDEX idx_post_featured_community_controversy ON post USING btree... type idx_post_featured_community_hot (line 207) | CREATE INDEX idx_post_featured_community_hot ON post USING btree (commun... type idx_post_featured_community_most_comments (line 209) | CREATE INDEX idx_post_featured_community_most_comments ON post USING btr... type idx_post_featured_community_newest_comment_time (line 211) | CREATE INDEX idx_post_featured_community_newest_comment_time ON post USI... type idx_post_featured_community_newest_comment_time_necr (line 213) | CREATE INDEX idx_post_featured_community_newest_comment_time_necr ON pos... type idx_post_featured_community_published_asc (line 216) | CREATE INDEX idx_post_featured_community_published_asc ON post USING btr... type idx_post_featured_community_scaled (line 218) | CREATE INDEX idx_post_featured_community_scaled ON post USING btree (com... type idx_post_featured_community_score (line 220) | CREATE INDEX idx_post_featured_community_score ON post USING btree (comm... type idx_post_featured_local_active (line 222) | CREATE INDEX idx_post_featured_local_active ON post USING btree (feature... type idx_post_featured_local_controversy (line 224) | CREATE INDEX idx_post_featured_local_controversy ON post USING btree (fe... type idx_post_featured_local_hot (line 226) | CREATE INDEX idx_post_featured_local_hot ON post USING btree (featured_l... type idx_post_featured_local_most_comments (line 228) | CREATE INDEX idx_post_featured_local_most_comments ON post USING btree (... type idx_post_featured_local_newest_comment_time (line 230) | CREATE INDEX idx_post_featured_local_newest_comment_time ON post USING b... type idx_post_featured_local_newest_comment_time_necro (line 232) | CREATE INDEX idx_post_featured_local_newest_comment_time_necro ON post U... type idx_post_featured_local_published (line 234) | CREATE INDEX idx_post_featured_local_published ON post USING btree (feat... type idx_post_featured_local_published_asc (line 236) | CREATE INDEX idx_post_featured_local_published_asc ON post USING btree (... type idx_post_featured_local_scaled (line 238) | CREATE INDEX idx_post_featured_local_scaled ON post USING btree (feature... type idx_post_featured_local_score (line 240) | CREATE INDEX idx_post_featured_local_score ON post USING btree (featured... type idx_post_nonzero_hotrank (line 242) | CREATE INDEX idx_post_nonzero_hotrank ON post USING btree (published DESC) type idx_post_published_asc (line 245) | CREATE INDEX idx_post_published_asc ON post USING btree (reverse_timesta... type idx_community_hot (line 338) | CREATE INDEX idx_community_hot ON public.community USING btree (hot_rank... type idx_community_nonzero_hotrank (line 340) | CREATE INDEX idx_community_nonzero_hotrank ON community USING btree (pub... type idx_community_subscribers (line 343) | CREATE INDEX idx_community_subscribers ON public.community USING btree (... type idx_community_users_active_month (line 345) | CREATE INDEX idx_community_users_active_month ON public.community USING ... FILE: migrations/2025-08-01-000042_community-hidden-visibility/down.sql type idx_community_random_number (line 47) | CREATE INDEX idx_community_random_number ON community (random_number) IN... type mod_hide_community (line 54) | CREATE TABLE mod_hide_community ( FILE: migrations/2025-08-01-000042_community-hidden-visibility/up.sql type idx_community_random_number (line 29) | CREATE INDEX idx_community_random_number ON community (random_number) IN... type mod_change_community_visibility (line 55) | CREATE TABLE mod_change_community_visibility ( FILE: migrations/2025-08-01-000048_cursor_pagination_indexes/down.sql type idx_community_lower_name (line 20) | CREATE INDEX idx_community_lower_name ON community USING btree (lower((n... type idx_community_hot (line 22) | CREATE INDEX idx_community_hot ON community USING btree (hot_rank DESC) type idx_community_published (line 24) | CREATE INDEX idx_community_published ON community USING btree (published... type idx_community_subscribers (line 26) | CREATE INDEX idx_community_subscribers ON community USING btree (subscri... type idx_community_title (line 28) | CREATE INDEX idx_community_title ON community USING btree (title) type idx_community_users_active_month (line 30) | CREATE INDEX idx_community_users_active_month ON community USING btree (... type idx_post_featured_community_published_asc (line 50) | CREATE INDEX idx_post_featured_community_published_asc ON post USING btr... type idx_post_featured_local_published_asc (line 52) | CREATE INDEX idx_post_featured_local_published_asc ON post USING btree (... type idx_post_published_asc (line 54) | CREATE INDEX idx_post_published_asc ON post USING btree (reverse_timesta... FILE: migrations/2025-08-01-000048_cursor_pagination_indexes/up.sql type idx_tagline_published_id (line 2) | CREATE INDEX idx_tagline_published_id ON tagline (published DESC, id DESC) type idx_comment_actions_like_score (line 5) | CREATE INDEX idx_comment_actions_like_score ON comment_actions (comment_... type idx_post_actions_like_score (line 9) | CREATE INDEX idx_post_actions_like_score ON post_actions (post_id, vote_... type idx_community_lower_name (line 26) | CREATE INDEX idx_community_lower_name ON community USING btree (lower((n... type idx_community_hot (line 28) | CREATE INDEX idx_community_hot ON community USING btree (hot_rank DESC, ... type idx_community_published (line 30) | CREATE INDEX idx_community_published ON community USING btree (published... type idx_community_subscribers (line 32) | CREATE INDEX idx_community_subscribers ON community USING btree (subscri... type idx_community_title (line 34) | CREATE INDEX idx_community_title ON community USING btree (title DESC, i... type idx_community_users_active_month (line 36) | CREATE INDEX idx_community_users_active_month ON community USING btree (... type idx_community_users_active_half_year (line 39) | CREATE INDEX idx_community_users_active_half_year ON community USING btr... type idx_community_users_active_week (line 41) | CREATE INDEX idx_community_users_active_week ON community USING btree (u... type idx_community_users_active_day (line 43) | CREATE INDEX idx_community_users_active_day ON community USING btree (us... type idx_community_subscribers_local (line 45) | CREATE INDEX idx_community_subscribers_local ON community USING btree (s... type idx_community_comments (line 47) | CREATE INDEX idx_community_comments ON community USING btree (comments D... type idx_community_posts (line 49) | CREATE INDEX idx_community_posts ON community USING btree (posts DESC, i... type idx_post_featured_community_published (line 58) | CREATE INDEX idx_post_featured_community_published ON post USING btree (... type idx_post_community_published (line 60) | CREATE INDEX idx_post_community_published ON post USING btree (community... FILE: migrations/2025-08-01-000049_add_liked_combined/up.sql type person_liked_combined (line 12) | CREATE TABLE person_liked_combined AS type idx_person_liked_combined_person (line 67) | CREATE INDEX idx_person_liked_combined_person ON person_liked_combined (... type idx_person_liked_combined_creator (line 69) | CREATE INDEX idx_person_liked_combined_creator ON person_liked_combined ... type idx_person_liked_combined_person_voted_at (line 71) | CREATE INDEX idx_person_liked_combined_person_voted_at ON person_liked_c... FILE: migrations/2025-08-01-000051_local_image_person/down.sql type local_image (line 22) | CREATE TABLE local_image ( type idx_image_upload_local_user_id (line 33) | CREATE INDEX idx_image_upload_local_user_id ON local_image USING btree (... FILE: migrations/2025-08-01-000051_local_image_person/up.sql type idx_image_upload_person_id (line 26) | CREATE INDEX idx_image_upload_person_id ON local_image (person_id) FILE: migrations/2025-08-01-000057_multi-community/up.sql type multi_community (line 1) | CREATE TABLE multi_community ( type multi_community_entry (line 20) | CREATE TABLE multi_community_entry ( type multi_community_follow (line 26) | CREATE TABLE multi_community_follow ( type idx_multi_community_read_from_name (line 78) | CREATE INDEX idx_multi_community_read_from_name ON multi_community (local) type idx_multi_community_ap_id (line 82) | CREATE INDEX idx_multi_community_ap_id ON multi_community (ap_id) type idx_multi_creator_id (line 84) | CREATE INDEX idx_multi_creator_id ON multi_community (creator_id) type idx_multi_community_follow_multi_id (line 86) | CREATE INDEX idx_multi_community_follow_multi_id ON multi_community_foll... type idx_multi_community_entry_community_id (line 88) | CREATE INDEX idx_multi_community_entry_community_id ON multi_community_e... FILE: migrations/2025-08-01-000061_drop-person-ban/down.sql type person_ban (line 1) | CREATE TABLE person_ban ( FILE: migrations/2025-08-01-000063_post-or-comment-notification/down.sql type person_post_mention (line 1) | CREATE TABLE person_post_mention ( type person_mention (line 10) | CREATE TABLE person_mention ( type comment_reply (line 27) | CREATE TABLE comment_reply ( type inbox_combined (line 37) | CREATE TABLE inbox_combined ( type idx_comment_reply_comment (line 124) | CREATE INDEX idx_comment_reply_comment ON comment_reply USING btree (com... type idx_comment_reply_recipient (line 126) | CREATE INDEX idx_comment_reply_recipient ON comment_reply USING btree (r... type idx_comment_reply_published (line 128) | CREATE INDEX idx_comment_reply_published ON comment_reply USING btree (p... type idx_inbox_combined_published_asc (line 130) | CREATE INDEX idx_inbox_combined_published_asc ON inbox_combined USING bt... type idx_inbox_combined_published (line 132) | CREATE INDEX idx_inbox_combined_published ON inbox_combined USING btree ... FILE: migrations/2025-08-01-000063_post-or-comment-notification/up.sql type idx_notification_recipient_published (line 78) | CREATE INDEX idx_notification_recipient_published ON notification (recip... type idx_notification_post (line 80) | CREATE INDEX idx_notification_post ON notification (post_id) type idx_notification_private_message (line 84) | CREATE INDEX idx_notification_private_message ON notification (private_m... FILE: migrations/2025-08-01-000064_add_missing_foreign_key_indexes/up.sql type idx_registration_application_admin (line 1) | CREATE INDEX idx_registration_application_admin ON registration_applicat... type idx_admin_allow_instance_admin (line 3) | CREATE INDEX idx_admin_allow_instance_admin ON admin_allow_instance (adm... type idx_admin_block_instance_admin (line 5) | CREATE INDEX idx_admin_block_instance_admin ON admin_block_instance (adm... type idx_admin_purge_comment_admin (line 7) | CREATE INDEX idx_admin_purge_comment_admin ON admin_purge_comment (admin... type idx_admin_purge_community_admin (line 9) | CREATE INDEX idx_admin_purge_community_admin ON admin_purge_community (a... type idx_admin_purge_person_admin (line 11) | CREATE INDEX idx_admin_purge_person_admin ON admin_purge_person (admin_p... type idx_admin_purge_post_admin (line 13) | CREATE INDEX idx_admin_purge_post_admin ON admin_purge_post (admin_perso... type idx_mod_remove_comment_comment (line 15) | CREATE INDEX idx_mod_remove_comment_comment ON mod_remove_comment (comme... type idx_person_liked_combined_comment (line 17) | CREATE INDEX idx_person_liked_combined_comment ON person_liked_combined ... type idx_person_saved_combined_comment (line 21) | CREATE INDEX idx_person_saved_combined_comment ON person_saved_combined ... type idx_comment_report_creator (line 25) | CREATE INDEX idx_comment_report_creator ON comment_report (creator_id) type idx_community_report_creator (line 27) | CREATE INDEX idx_community_report_creator ON community_report (creator_id) type idx_post_report_creator (line 29) | CREATE INDEX idx_post_report_creator ON post_report (creator_id) type idx_private_message_creator (line 31) | CREATE INDEX idx_private_message_creator ON private_message (creator_id) type idx_private_message_report_creator (line 33) | CREATE INDEX idx_private_message_report_creator ON private_message_repor... type idx_admin_purge_post_community (line 35) | CREATE INDEX idx_admin_purge_post_community ON admin_purge_post (communi... type idx_mod_add_community_community (line 37) | CREATE INDEX idx_mod_add_community_community ON mod_add_community (commu... type idx_mod_ban_from_community_community (line 39) | CREATE INDEX idx_mod_ban_from_community_community ON mod_ban_from_commun... type idx_mod_change_community_visibility_community (line 41) | CREATE INDEX idx_mod_change_community_visibility_community ON mod_change... type idx_mod_remove_community_community (line 43) | CREATE INDEX idx_mod_remove_community_community ON mod_remove_community ... type idx_mod_transfer_community_community (line 45) | CREATE INDEX idx_mod_transfer_community_community ON mod_transfer_commun... type idx_tag_community (line 47) | CREATE INDEX idx_tag_community ON tag (community_id) type idx_community_actions_follow_approver (line 49) | CREATE INDEX idx_community_actions_follow_approver ON community_actions ... type idx_admin_allow_instance_instance (line 51) | CREATE INDEX idx_admin_allow_instance_instance ON admin_allow_instance (... type idx_admin_block_instance_instance (line 53) | CREATE INDEX idx_admin_block_instance_instance ON admin_block_instance (... type idx_community_instance (line 55) | CREATE INDEX idx_community_instance ON community (instance_id) type idx_mod_ban_instance (line 57) | CREATE INDEX idx_mod_ban_instance ON mod_ban (instance_id) type idx_multi_community_instance (line 59) | CREATE INDEX idx_multi_community_instance ON multi_community (instance_id) type idx_person_instance (line 61) | CREATE INDEX idx_person_instance ON person (instance_id) type idx_community_language_language (line 63) | CREATE INDEX idx_community_language_language ON community_language (lang... type idx_local_user_language_language (line 65) | CREATE INDEX idx_local_user_language_language ON local_user_language (la... type idx_site_language_language (line 67) | CREATE INDEX idx_site_language_language ON site_language (language_id) type idx_email_verification_user (line 69) | CREATE INDEX idx_email_verification_user ON email_verification (local_us... type idx_oauth_account_user (line 71) | CREATE INDEX idx_oauth_account_user ON oauth_account (local_user_id) type idx_password_reset_request_user (line 73) | CREATE INDEX idx_password_reset_request_user ON password_reset_request (... type idx_modlog_combined_mod_change_community_visibility_id (line 75) | CREATE INDEX idx_modlog_combined_mod_change_community_visibility_id ON m... type idx_mod_add_community_mod (line 79) | CREATE INDEX idx_mod_add_community_mod ON mod_add_community (mod_person_id) type idx_mod_add_mod (line 81) | CREATE INDEX idx_mod_add_mod ON mod_add (mod_person_id) type idx_mod_ban_from_community_mod (line 83) | CREATE INDEX idx_mod_ban_from_community_mod ON mod_ban_from_community (m... type idx_mod_ban_mod (line 85) | CREATE INDEX idx_mod_ban_mod ON mod_ban (mod_person_id) type idx_mod_change_community_visibility_mod (line 87) | CREATE INDEX idx_mod_change_community_visibility_mod ON mod_change_commu... type idx_mod_feature_post_mod (line 89) | CREATE INDEX idx_mod_feature_post_mod ON mod_feature_post (mod_person_id) type idx_mod_lock_post_mod (line 91) | CREATE INDEX idx_mod_lock_post_mod ON mod_lock_post (mod_person_id) type idx_mod_remove_comment_mod (line 93) | CREATE INDEX idx_mod_remove_comment_mod ON mod_remove_comment (mod_perso... type idx_mod_remove_community_mod (line 95) | CREATE INDEX idx_mod_remove_community_mod ON mod_remove_community (mod_p... type idx_mod_remove_post_mod (line 97) | CREATE INDEX idx_mod_remove_post_mod ON mod_remove_post (mod_person_id) type idx_mod_transfer_community_mod (line 99) | CREATE INDEX idx_mod_transfer_community_mod ON mod_transfer_community (m... type idx_local_site_system_account (line 101) | CREATE INDEX idx_local_site_system_account ON local_site (system_account) type idx_search_combined_multi_community (line 103) | CREATE INDEX idx_search_combined_multi_community ON search_combined (mul... type idx_mod_add_community_other_person (line 107) | CREATE INDEX idx_mod_add_community_other_person ON mod_add_community (ot... type idx_mod_add_other_person (line 109) | CREATE INDEX idx_mod_add_other_person ON mod_add (other_person_id) type idx_mod_ban_from_community_other_person (line 111) | CREATE INDEX idx_mod_ban_from_community_other_person ON mod_ban_from_com... type idx_mod_other_person (line 113) | CREATE INDEX idx_mod_other_person ON mod_ban (other_person_id) type idx_mod_transfer_community_other_person (line 115) | CREATE INDEX idx_mod_transfer_community_other_person ON mod_transfer_com... type idx_admin_purge_comment_post (line 117) | CREATE INDEX idx_admin_purge_comment_post ON admin_purge_comment (post_id) type idx_mod_feature_post_post (line 119) | CREATE INDEX idx_mod_feature_post_post ON mod_feature_post (post_id) type idx_mod_lock_post_post (line 121) | CREATE INDEX idx_mod_lock_post_post ON mod_lock_post (post_id) type idx_mod_remove_post_post (line 123) | CREATE INDEX idx_mod_remove_post_post ON mod_remove_post (post_id) type idx_person_liked_combined_post (line 125) | CREATE INDEX idx_person_liked_combined_post ON person_liked_combined (po... type idx_person_saved_combined_post (line 129) | CREATE INDEX idx_person_saved_combined_post ON person_saved_combined (po... type idx_private_message_recipient (line 133) | CREATE INDEX idx_private_message_recipient ON private_message (recipient... type idx_comment_report_resolver (line 135) | CREATE INDEX idx_comment_report_resolver ON comment_report (resolver_id) type idx_community_report_resolver (line 137) | CREATE INDEX idx_community_report_resolver ON community_report (resolver... type idx_post_report_resolver (line 139) | CREATE INDEX idx_post_report_resolver ON post_report (resolver_id) type idx_private_message_report_resolver (line 141) | CREATE INDEX idx_private_message_report_resolver ON private_message_repo... type idx_local_site_suggested_communities (line 143) | CREATE INDEX idx_local_site_suggested_communities ON local_site (suggest... type idx_post_tag_tag (line 145) | CREATE INDEX idx_post_tag_tag ON post_tag (tag_id) type idx_local_image_thumbnail_post (line 147) | CREATE INDEX idx_local_image_thumbnail_post ON local_image (thumbnail_fo... FILE: migrations/2025-08-01-000065_group-follow/up.sql type community_community_follow (line 1) | CREATE TABLE community_community_follow ( type idx_community_community_follow_target (line 8) | CREATE INDEX idx_community_community_follow_target ON community_communit... FILE: migrations/2025-08-06-170325_add_indexes_for_aggregates_activity_new/up.sql type idx_post_actions_voted_at (line 1) | CREATE INDEX idx_post_actions_voted_at ON post_actions (voted_at) type idx_comment_actions_voted_at (line 5) | CREATE INDEX idx_comment_actions_voted_at ON comment_actions (voted_at) FILE: migrations/2025-08-20-000000_comment-lock/up.sql type mod_lock_comment (line 4) | CREATE TABLE mod_lock_comment ( type idx_mod_lock_comment_mod (line 13) | CREATE INDEX idx_mod_lock_comment_mod ON mod_lock_comment (mod_person_id) type idx_mod_lock_comment_comment (line 15) | CREATE INDEX idx_mod_lock_comment_comment ON mod_lock_comment (comment_id) FILE: migrations/2025-09-19-090047_notify-mod-action/up.sql type idx_notification_unread (line 26) | CREATE INDEX idx_notification_unread ON notification (read) type idx_notification_admin_add_id (line 28) | CREATE INDEX idx_notification_admin_add_id ON notification (admin_add_id) type idx_notification_mod_add_to_community_id (line 32) | CREATE INDEX idx_notification_mod_add_to_community_id ON notification (m... type idx_notification_admin_ban_id (line 36) | CREATE INDEX idx_notification_admin_ban_id ON notification (admin_ban_id) type idx_notification_mod_ban_from_community_id (line 40) | CREATE INDEX idx_notification_mod_ban_from_community_id ON notification ... type idx_notification_mod_lock_post_id (line 44) | CREATE INDEX idx_notification_mod_lock_post_id ON notification (mod_lock... type idx_notification_mod_remove_comment_id (line 48) | CREATE INDEX idx_notification_mod_remove_comment_id ON notification (mod... type idx_notification_admin_remove_community_id (line 52) | CREATE INDEX idx_notification_admin_remove_community_id ON notification ... type idx_notification_mod_remove_post_id (line 56) | CREATE INDEX idx_notification_mod_remove_post_id ON notification (mod_re... type idx_notification_mod_lock_comment_id (line 60) | CREATE INDEX idx_notification_mod_lock_comment_id ON notification (mod_l... type idx_notification_mod_transfer_community_id (line 64) | CREATE INDEX idx_notification_mod_transfer_community_id ON notification ... FILE: migrations/2025-10-08-084508-0000_multi-comm-index-lower/up.sql type idx_multi_community_lower_actor_id (line 1) | CREATE UNIQUE INDEX idx_multi_community_lower_actor_id ON multi_communit... FILE: migrations/2025-10-15-114811-0000_merge-modlog-tables/down.sql type mod_add_to_community (line 1) | CREATE TABLE mod_add_to_community ( type admin_purge_comment (line 28) | CREATE TABLE admin_purge_comment ( type admin_add (line 37) | CREATE TABLE admin_add ( type mod_transfer_community (line 60) | CREATE TABLE mod_transfer_community ( type admin_allow_instance (line 69) | CREATE TABLE admin_allow_instance ( type mod_lock_post (line 79) | CREATE TABLE mod_lock_post ( type mod_remove_post (line 90) | CREATE TABLE mod_remove_post ( type mod_change_community_visibility (line 101) | CREATE TABLE mod_change_community_visibility ( type mod_remove_comment (line 110) | CREATE TABLE mod_remove_comment ( type admin_remove_community (line 121) | CREATE TABLE admin_remove_community ( type mod_lock_comment (line 145) | CREATE TABLE mod_lock_comment ( type mod_feature_post (line 154) | CREATE TABLE mod_feature_post ( type admin_block_instance (line 179) | CREATE TABLE admin_block_instance ( type admin_ban (line 190) | CREATE TABLE admin_ban ( type admin_purge_post (line 219) | CREATE TABLE admin_purge_post ( type admin_purge_person (line 228) | CREATE TABLE admin_purge_person ( type admin_purge_community (line 236) | CREATE TABLE admin_purge_community ( type mod_ban_from_community (line 244) | CREATE TABLE mod_ban_from_community ( type modlog_combined (line 258) | CREATE TABLE modlog_combined ( type idx_mod_add_mod (line 324) | CREATE INDEX idx_mod_add_mod ON admin_add USING btree (mod_person_id) type idx_mod_ban_mod (line 326) | CREATE INDEX idx_mod_ban_mod ON admin_ban USING btree (mod_person_id) type idx_mod_ban_instance (line 328) | CREATE INDEX idx_mod_ban_instance ON admin_ban USING btree (instance_id) type idx_mod_lock_post_post (line 330) | CREATE INDEX idx_mod_lock_post_post ON mod_lock_post USING btree (post_id) type idx_mod_other_person (line 332) | CREATE INDEX idx_mod_other_person ON admin_ban USING btree (other_person... type idx_mod_remove_post_post (line 334) | CREATE INDEX idx_mod_remove_post_post ON mod_remove_post USING btree (po... type idx_mod_lock_post_mod (line 336) | CREATE INDEX idx_mod_lock_post_mod ON mod_lock_post USING btree (mod_per... type idx_mod_add_other_person (line 338) | CREATE INDEX idx_mod_add_other_person ON admin_add USING btree (other_pe... type idx_mod_feature_post_post (line 340) | CREATE INDEX idx_mod_feature_post_post ON mod_feature_post USING btree (... type idx_mod_remove_post_mod (line 342) | CREATE INDEX idx_mod_remove_post_mod ON mod_remove_post USING btree (mod... type idx_mod_feature_post_mod (line 344) | CREATE INDEX idx_mod_feature_post_mod ON mod_feature_post USING btree (m... type idx_mod_lock_comment_mod (line 346) | CREATE INDEX idx_mod_lock_comment_mod ON mod_lock_comment USING btree (m... type idx_admin_purge_comment_post (line 348) | CREATE INDEX idx_admin_purge_comment_post ON admin_purge_comment USING b... type idx_mod_lock_comment_comment (line 350) | CREATE INDEX idx_mod_lock_comment_comment ON mod_lock_comment USING btre... type idx_admin_purge_post_admin (line 352) | CREATE INDEX idx_admin_purge_post_admin ON admin_purge_post USING btree ... type idx_mod_remove_comment_mod (line 354) | CREATE INDEX idx_mod_remove_comment_mod ON mod_remove_comment USING btre... type idx_admin_purge_post_community (line 356) | CREATE INDEX idx_admin_purge_post_community ON admin_purge_post USING bt... type idx_mod_add_community_mod (line 358) | CREATE INDEX idx_mod_add_community_mod ON mod_add_to_community USING btr... type idx_mod_remove_comment_comment (line 360) | CREATE INDEX idx_mod_remove_comment_comment ON mod_remove_comment USING ... type idx_admin_purge_person_admin (line 362) | CREATE INDEX idx_admin_purge_person_admin ON admin_purge_person USING bt... type idx_admin_purge_comment_admin (line 364) | CREATE INDEX idx_admin_purge_comment_admin ON admin_purge_comment USING ... type idx_mod_add_community_community (line 366) | CREATE INDEX idx_mod_add_community_community ON mod_add_to_community USI... type idx_mod_remove_community_mod (line 368) | CREATE INDEX idx_mod_remove_community_mod ON admin_remove_community USIN... type idx_admin_allow_instance_instance (line 370) | CREATE INDEX idx_admin_allow_instance_instance ON admin_allow_instance U... type idx_admin_block_instance_instance (line 372) | CREATE INDEX idx_admin_block_instance_instance ON admin_block_instance U... type idx_admin_allow_instance_admin (line 374) | CREATE INDEX idx_admin_allow_instance_admin ON admin_allow_instance USIN... type idx_admin_block_instance_admin (line 376) | CREATE INDEX idx_admin_block_instance_admin ON admin_block_instance USIN... type idx_mod_ban_from_community_mod (line 378) | CREATE INDEX idx_mod_ban_from_community_mod ON mod_ban_from_community US... type idx_mod_transfer_community_mod (line 380) | CREATE INDEX idx_mod_transfer_community_mod ON mod_transfer_community US... type idx_admin_purge_community_admin (line 382) | CREATE INDEX idx_admin_purge_community_admin ON admin_purge_community US... type idx_mod_remove_community_community (line 384) | CREATE INDEX idx_mod_remove_community_community ON admin_remove_communit... type idx_mod_add_community_other_person (line 386) | CREATE INDEX idx_mod_add_community_other_person ON mod_add_to_community ... type idx_mod_ban_from_community_community (line 388) | CREATE INDEX idx_mod_ban_from_community_community ON mod_ban_from_commun... type idx_mod_transfer_community_community (line 390) | CREATE INDEX idx_mod_transfer_community_community ON mod_transfer_commun... type idx_modlog_combined_published (line 392) | CREATE INDEX idx_modlog_combined_published ON modlog_combined USING btre... type idx_mod_ban_from_community_other_person (line 394) | CREATE INDEX idx_mod_ban_from_community_other_person ON mod_ban_from_com... type idx_mod_transfer_community_other_person (line 396) | CREATE INDEX idx_mod_transfer_community_other_person ON mod_transfer_com... type idx_mod_change_community_visibility_mod (line 398) | CREATE INDEX idx_mod_change_community_visibility_mod ON mod_change_commu... type idx_notification_admin_add_id (line 400) | CREATE INDEX idx_notification_admin_add_id ON notification USING btree (... type idx_notification_admin_ban_id (line 403) | CREATE INDEX idx_notification_admin_ban_id ON notification USING btree (... type idx_mod_change_community_visibility_community (line 406) | CREATE INDEX idx_mod_change_community_visibility_community ON mod_change... type idx_notification_mod_lock_post_id (line 408) | CREATE INDEX idx_notification_mod_lock_post_id ON notification USING btr... type idx_notification_mod_remove_post_id (line 411) | CREATE INDEX idx_notification_mod_remove_post_id ON notification USING b... type idx_notification_mod_lock_comment_id (line 414) | CREATE INDEX idx_notification_mod_lock_comment_id ON notification USING ... type idx_notification_mod_remove_comment_id (line 417) | CREATE INDEX idx_notification_mod_remove_comment_id ON notification USIN... type idx_notification_mod_add_to_community_id (line 420) | CREATE INDEX idx_notification_mod_add_to_community_id ON notification US... type idx_notification_admin_remove_community_id (line 423) | CREATE INDEX idx_notification_admin_remove_community_id ON notification ... type idx_notification_mod_ban_from_community_id (line 426) | CREATE INDEX idx_notification_mod_ban_from_community_id ON notification ... type idx_notification_mod_transfer_community_id (line 429) | CREATE INDEX idx_notification_mod_transfer_community_id ON notification ... type idx_modlog_combined_mod_change_community_visibility_id (line 432) | CREATE INDEX idx_modlog_combined_mod_change_community_visibility_id ON m... FILE: migrations/2025-10-15-114811-0000_merge-modlog-tables/up.sql type modlog (line 26) | CREATE TABLE modlog ( type idx_notification_modlog_id (line 360) | CREATE INDEX idx_notification_modlog_id ON notification USING btree (mod... FILE: migrations/2025-11-05-181519-0000_add_registration_application_updated_at/up.sql type idx_registration_application_updated (line 4) | CREATE INDEX idx_registration_application_updated ON registration_applic... FILE: migrations/2025-11-08-123111-0000_add_multi_community_subscribers_community_count/up.sql type idx_multi_community_lower_name (line 7) | CREATE INDEX idx_multi_community_lower_name ON multi_community (lower(na... type idx_multi_community_subscribers (line 9) | CREATE INDEX idx_multi_community_subscribers ON multi_community (subscri... type idx_multi_community_subscribers_local (line 11) | CREATE INDEX idx_multi_community_subscribers_local ON multi_community (s... type idx_multi_community_communities (line 13) | CREATE INDEX idx_multi_community_communities ON multi_community (communi... type idx_multi_community_published (line 15) | CREATE INDEX idx_multi_community_published ON multi_community (published... FILE: migrations/2026-01-28-115414-0000_captcha-plugin/down.sql type captcha_answer (line 1) | CREATE TABLE captcha_answer ( FILE: migrations/2026-02-19-120000-0000_add_bulk_to_modlog/up.sql type idx_modlog_bulk_action_parent_id (line 4) | CREATE INDEX idx_modlog_bulk_action_parent_id ON modlog (bulk_action_par... FILE: migrations/2026-02-24-205759-0000_add_notification_creator_id/up.sql type idx_notification_creator (line 51) | CREATE INDEX idx_notification_creator ON notification (creator_id) FILE: migrations/2026-03-08-021022-0000_fixup_post_action_indexes/down.sql type idx_post_actions_hidden_not_null (line 3) | CREATE INDEX idx_post_actions_hidden_not_null ON post_actions (person_id... type idx_post_actions_read_not_null (line 9) | CREATE INDEX idx_post_actions_read_not_null ON post_actions (person_id, ... type idx_post_actions_on_read_read_not_null (line 13) | CREATE INDEX idx_post_actions_on_read_read_not_null ON post_actions (per... FILE: migrations/2026-03-08-021022-0000_fixup_post_action_indexes/up.sql type idx_post_actions_person_hidden (line 4) | CREATE INDEX idx_post_actions_person_hidden ON post_actions (person_id, ... type idx_post_actions_person_read (line 11) | CREATE INDEX idx_post_actions_person_read ON post_actions (person_id, re... FILE: migrations/2026-03-08-202630-0000_add_modlog_foreign_keys/up.sql type idx_modlog_kind (line 10) | CREATE INDEX idx_modlog_kind ON modlog (kind) type idx_modlog_mod (line 12) | CREATE INDEX idx_modlog_mod ON modlog (mod_id) type idx_modlog_target_person (line 14) | CREATE INDEX idx_modlog_target_person ON modlog (target_person_id) type idx_modlog_target_community (line 18) | CREATE INDEX idx_modlog_target_community ON modlog (target_community_id) type idx_modlog_target_post (line 22) | CREATE INDEX idx_modlog_target_post ON modlog (target_post_id) type idx_modlog_target_comment (line 26) | CREATE INDEX idx_modlog_target_comment ON modlog (target_comment_id) type idx_modlog_target_instance (line 30) | CREATE INDEX idx_modlog_target_instance ON modlog (target_instance_id) type idx_modlog_published_id (line 34) | CREATE INDEX idx_modlog_published_id ON modlog (published_at DESC, id DESC) FILE: migrations/2026-03-09-014616-0000_add_resolved_report_combined/down.sql type idx_report_combined_published_asc (line 6) | CREATE INDEX idx_report_combined_published_asc ON report_combined (rever... FILE: migrations/2026-03-09-014616-0000_add_resolved_report_combined/up.sql type idx_report_combined_published_asc (line 48) | CREATE INDEX idx_report_combined_published_asc ON report_combined (resol...