Commits on Source (15)
-
Dariusz Kędzierski authored
-
Dariusz Kędzierski authored
-
Dariusz Kędzierski authored
-
Mariusz Trela authored
-
Mariusz Trela authored
-
Bartek Wrona authored
The call `get_account_posts` was improved See merge request !219
-
Andrzej Lisak authored
find_votes SQL routine now comes with limit (but limit is 1000 everywhere which might potentially influence vote listing in various API calls, on the other hand it might be seen as safety measure) [Fix] valid_number now properly treats 0 according to lbound:ubound instead of always as an error (influences border case of limit param and specific value of score param) [Change] database_api list_comments/list_votes now have default value (1000) on limit parameter (which became optional) [Fix] checks on database_api find_comments: comment param must be a list; no longer fails on elements that are not (at least) pairs of strings or on (effectively) empty list
-
Dariusz Kędzierski authored
-
Dariusz Kędzierski authored
-
Bartek Wrona authored
Various corner case fixes for database_api See merge request !222
-
Andrzej Lisak authored
[ABW]: [Fix] bridge_get_account_posts_by_comments/bridge_get_account_posts_by_payout/bridge_get_account_posts_by_posts properly enforce existence of given account and post (when not completely skipped) [Fix] bridge_get_account_posts_by_payout properly pages using payout from specified post as a page border [Fix] sum of payout and pending payout is used in bridge_get_account_posts_by_payout instead of just payout (especially important since only not yet paid posts are picked) added validation for observer account in get_account_posts call (when not ignored) [Ign] removed unused pids_by_... routines from bridge_api code [Change] Slightly changed error message on sort check for get_ranked_posts/get_account_posts to make it more informative
-
Dariusz Kędzierski authored
-
Dariusz Kędzierski authored
-
Bartek Wrona authored
Improved live sync logging See merge request !215
-
Bartek Wrona authored
Fixes in bridge.get_account_posts See merge request !223
Showing
- hive/db/db_state.py 12 additions, 12 deletionshive/db/db_state.py
- hive/db/schema.py 8 additions, 3 deletionshive/db/schema.py
- hive/db/sql_scripts/bridge_get_account_posts_by_comments.sql 58 additions, 0 deletionshive/db/sql_scripts/bridge_get_account_posts_by_comments.sql
- hive/db/sql_scripts/bridge_get_account_posts_by_payout.sql 63 additions, 0 deletionshive/db/sql_scripts/bridge_get_account_posts_by_payout.sql
- hive/db/sql_scripts/bridge_get_account_posts_by_posts.sql 58 additions, 0 deletionshive/db/sql_scripts/bridge_get_account_posts_by_posts.sql
- hive/db/sql_scripts/get_account_post_replies.sql 1 addition, 1 deletionhive/db/sql_scripts/get_account_post_replies.sql
- hive/indexer/blocks.py 15 additions, 41 deletionshive/indexer/blocks.py
- hive/indexer/db_adapter_holder.py 4 additions, 13 deletionshive/indexer/db_adapter_holder.py
- hive/indexer/sync.py 30 additions, 19 deletionshive/indexer/sync.py
- hive/server/bridge_api/cursor.py 3 additions, 235 deletionshive/server/bridge_api/cursor.py
- hive/server/bridge_api/methods.py 59 additions, 48 deletionshive/server/bridge_api/methods.py
- hive/server/common/helpers.py 1 addition, 1 deletionhive/server/common/helpers.py
- hive/server/database_api/methods.py 23 additions, 13 deletionshive/server/database_api/methods.py
- hive/utils/post_active.py 2 additions, 0 deletionshive/utils/post_active.py
- hive/utils/timer.py 16 additions, 0 deletionshive/utils/timer.py
- hive/utils/trends.py 2 additions, 0 deletionshive/utils/trends.py
- tests/tests_api 1 addition, 1 deletiontests/tests_api