1. 09 Apr, 2021 1 commit
  2. 06 Apr, 2021 1 commit
  3. 23 Feb, 2021 1 commit
  4. 05 Feb, 2021 1 commit
  5. 08 Jan, 2021 1 commit
  6. 15 Dec, 2020 2 commits
  7. 04 Dec, 2020 1 commit
  8. 02 Dec, 2020 1 commit
    • Andrzej Lisak's avatar
      [ABW]: [Fix] query updating hive_posts.active no longer stops update on older... · 49780df8
      Andrzej Lisak authored
      [ABW]: [Fix] query updating hive_posts.active no longer stops update on older active (which can come from edit) - fixes second set of problems with active value in 1000_pairs test
      [Fix] delete_hive_post now properly updates active value - fixes first set of problems with it in 1000_pairs test
      [Fix] order of posts in database_api.find_comments is now defined by order requested in call parameters (1000_pairs test)
      [Fix] added escaping to find_comments values (escape_chars test)
      [Fix] unified checks in various community related calls (in some cases it means there is check where there was none)
      added find_community_id SQL function that follows other find_ routines (there is more places where it should be used, community related get_ranked_posts versions in particular)
      49780df8
  9. 30 Nov, 2020 1 commit
    • Andrzej Lisak's avatar
      [ABW]: find_tag_id/find_category_id moved to utility_functions.sql and changed... · 0391230a
      Andrzej Lisak authored
      [ABW]: find_tag_id/find_category_id moved to utility_functions.sql and changed so they follow example of find_comment_id with their error handling
      added extra promotion and new ignored accounts in mock data for observer tests
      observer in get_ranked_posts is now validated (it was actually validated already, but only after main query, now it happens as early as possible)
      fixed problem with default value of limit in get_ranked_posts (when explicit null was passed); also all string params now are empty instead of None
      0391230a
  10. 24 Nov, 2020 1 commit
  11. 19 Nov, 2020 2 commits
    • Andrzej Lisak's avatar
      [ABW]: get_blacklists_for_observer renamed get_blacklisted_for_observer since... · 6c0602bf
      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)
      6c0602bf
    • Andrzej Lisak's avatar
      [ABW]: fixed link to tests (was local commit) · 3c1a653c
      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
      3c1a653c
  12. 18 Nov, 2020 1 commit
  13. 17 Nov, 2020 1 commit
    • Andrzej Lisak's avatar
      [ABW]: changes in various places to clean the code and fix small problems: · d2d3bf9a
      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
      d2d3bf9a
  14. 16 Nov, 2020 1 commit
  15. 13 Nov, 2020 11 commits
  16. 12 Nov, 2020 9 commits
  17. 11 Nov, 2020 1 commit
    • Andrzej Lisak's avatar
      [ABW]: [Change] removed vote muting functionality · 3e358504
      Andrzej Lisak authored
      [Fix] get_account_reputations no longer fails with error when account_lower_bound is skipped; also added real default value for limit (1000)
      [Fix] bridge_get_ranked_post_by_trends_for_observer_communities now validates observer like other functions of the same family
      [Fix] all VOLATILE get_ranked_post related SQL functions turned into STABLE
      3e358504
  18. 10 Nov, 2020 1 commit
    • Andrzej Lisak's avatar
      [ABW]: [Change] removed vote muting functionality · 332529cf
      Andrzej Lisak authored
      [Fix] get_account_reputations no longer fails with error when account_lower_bound is skipped; also added real default value for limit (1000)
      [Fix] bridge_get_ranked_post_by_trends_for_observer_communities now validates observer like other functions of the same family
      [Fix] all VOLATILE get_ranked_post related SQL functions turned into STABLE
      332529cf
  19. 06 Nov, 2020 2 commits