changes in various places to clean the code and fix small problems
- Nov 19, 2020
-
-
Andrzej Lisak authored
-
Andrzej Lisak authored
[Change] blacklisted accounts and blacklists ordered by name to make sure order is always the same [Ign] removed nonimplemented methods from follow_api/tags_api [Ign] mock data slightly extended
-
Andrzej Lisak authored
[ABW]: get_blacklists_for_observer renamed get_blacklisted_for_observer since that's what is in results new get_blacklists_for_observer added that returns list of blacklists/mute lists for observer get_relationship_between_accounts supplemented with new field: follows_muted [Fix] does_user_follow_any_lists works properly again (broken by previous commit)
-
Andrzej Lisak authored
-
Andrzej Lisak authored
mutes_get_blacklists_for_observer slightly modified: added filter flags and explicit information if accounts are blacklisted or muted fixed get_relationship_between_account: is_blacklisted in results was misleading, replaced with blacklists does_user_follow_any_lists and get_follow_list reimplemented with use of get_blacklists_for_observer
-
- Nov 18, 2020
-
-
Andrzej Lisak authored
-
Andrzej Lisak authored
[ABW]: [Change] get_blacklists_for_observer reimplemented as SQL function; no longer needs external id->name map; also source is the account that blacklists/mutes, not hardcoded string Added mock data to emulate old mechanism and match original results (not possible everywhere)
-
- Nov 17, 2020
-
-
Andrzej Lisak authored
[Fix] wrapping of internal routines in @return_error_info etc is superfluous [Fix] reputation used for marking with reputation-0/1 should be the logarithmic one, not raw [Cleanup] is_muted is always present in bridge compatible posts - removed superfluous check [Cleanup] removed no longer used parameter of append_statistics_to_post [Fix] observer is now actually passed to SQL in all cases that fall under _get_ranked_posts_for_all [Cleanup] added bridge_api_post_discussion type (extension to bridge_api_post) and used it in get_discussion (changed to match different order and data of result) [Fix] supplemented is_muted to bridge_api_post_reblogs type and SQL function that used it: bridge_get_by_feed_with_reblog
-