Commits on Source (3)
-
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
-
Andrzej Lisak authored
-
Bartek Wrona authored
Small fixes and mock data for observer tests in get_ranked_posts See merge request !416
Showing
- hive/db/schema.py 0 additions, 1 deletionhive/db/schema.py
- hive/db/sql_scripts/bridge_get_ranked_post_for_all.sql 6 additions, 6 deletionshive/db/sql_scripts/bridge_get_ranked_post_for_all.sql
- hive/db/sql_scripts/bridge_get_ranked_post_for_communities.sql 7 additions, 7 deletions...db/sql_scripts/bridge_get_ranked_post_for_communities.sql
- hive/db/sql_scripts/bridge_get_ranked_post_for_tag.sql 6 additions, 6 deletionshive/db/sql_scripts/bridge_get_ranked_post_for_tag.sql
- hive/db/sql_scripts/condenser_tags.sql 1 addition, 1 deletionhive/db/sql_scripts/condenser_tags.sql
- hive/db/sql_scripts/db_upgrade.sh 0 additions, 1 deletionhive/db/sql_scripts/db_upgrade.sh
- hive/db/sql_scripts/find_tag_id.sql 0 additions, 41 deletionshive/db/sql_scripts/find_tag_id.sql
- hive/db/sql_scripts/utility_functions.sql 48 additions, 0 deletionshive/db/sql_scripts/utility_functions.sql
- hive/server/bridge_api/methods.py 6 additions, 6 deletionshive/server/bridge_api/methods.py
- hive/server/condenser_api/tags.py 1 addition, 1 deletionhive/server/condenser_api/tags.py
- mock_data/block_data/community_op/flow.txt 1 addition, 0 deletionsmock_data/block_data/community_op/flow.txt
- mock_data/block_data/community_op/mock_block_data_community.json 9 additions, 0 deletions...ta/block_data/community_op/mock_block_data_community.json
- mock_data/block_data/follow_op/mock_block_data_follow.json 1 addition, 1 deletionmock_data/block_data/follow_op/mock_block_data_follow.json
- tests/tests_api 1 addition, 1 deletiontests/tests_api
hive/db/sql_scripts/find_tag_id.sql
deleted
100644 → 0