Commits on Source (32)
-
Bartek Wrona authored
-
Bartek Wrona authored
-
Bartek Wrona authored
-
Bartek Wrona authored
-
Bartek Wrona authored
-
Bartek Wrona authored
-
Bartek Wrona authored
- psql spawned during db_upgrade.sh execution will do echoing of all commands to be executed. - Eliminated ineffective index creation from upgrade_table_schema.sql
-
Bartek Wrona authored
-
Bartek Wrona authored
-
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
-
Jason Salyers authored
[JES] More changes to muting in communities. If sort type is muted, return everything, otherwise move the observer checks to the inner loops for more efficiency and to not mess with paginated results
-
Jason Salyers authored
[JES] Passed True instead of False when trying to look up an observer. Observers can be null/don't have to exist
-
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)
-
Andrzej Lisak authored
-
Bartek Wrona authored
Conflicts resolved: hive/db/sql_scripts/upgrade/upgrade_runtime_migration.sql hive/indexer/blocks.py
-
Jason Salyers authored
[JES] Case when was actually slowing queries down. I'm still not sure I understand that but ok. Updated the functions to check for mutes on ids instead of strings.
-
Jason Salyers authored
[JES] More updates to muting. Filter on inner queries, use IDs instead of Strings for slightly faster processing
-
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
-
Andrzej Lisak authored
-
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)
-
Jason Salyers authored
[JES] More changes to muting in communities. If sort type is muted, return everything, otherwise move the observer checks to the inner loops for more efficiency and to not mess with paginated results
-
Jason Salyers authored
[JES] Passed True instead of False when trying to look up an observer. Observers can be null/don't have to exist
-
Jason Salyers authored
[JES] Case when was actually slowing queries down. I'm still not sure I understand that but ok. Updated the functions to check for mutes on ids instead of strings.
-
Jason Salyers authored
[JES] More updates to muting. Filter on inner queries, use IDs instead of Strings for slightly faster processing
-
Jason Salyers authored
Merge branch 'jsalyers-more-community-muting-changes' of gitlab.syncad.com:hive/hivemind into jsalyers-more-community-muting-changes
-
Jason Salyers 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
-
Bartek Wrona authored
changes in various places to clean the code and fix small problems See merge request !387
-
Dan Notestein authored
Jsalyers more community muting changes See merge request !392
-
Bartek Wrona authored
-
Bartek Wrona authored
Reputation calc enabled at LIVE SYNC again See merge request !393
Showing
- .gitlab-ci.yaml 331 additions, 313 deletions.gitlab-ci.yaml
- hive/db/schema.py 2 additions, 0 deletionshive/db/schema.py
- hive/db/sql_scripts/bridge_get_by_feed_with_reblog.sql 1 addition, 0 deletionshive/db/sql_scripts/bridge_get_by_feed_with_reblog.sql
- hive/db/sql_scripts/bridge_get_discussion.sql 22 additions, 32 deletionshive/db/sql_scripts/bridge_get_discussion.sql
- hive/db/sql_scripts/bridge_get_ranked_post_for_all.sql 18 additions, 7 deletionshive/db/sql_scripts/bridge_get_ranked_post_for_all.sql
- hive/db/sql_scripts/bridge_get_ranked_post_for_communities.sql 27 additions, 12 deletions...db/sql_scripts/bridge_get_ranked_post_for_communities.sql
- hive/db/sql_scripts/bridge_get_ranked_post_for_observer_communities.sql 7 additions, 8 deletions...ripts/bridge_get_ranked_post_for_observer_communities.sql
- hive/db/sql_scripts/bridge_get_ranked_post_for_tag.sql 18 additions, 7 deletionshive/db/sql_scripts/bridge_get_ranked_post_for_tag.sql
- hive/db/sql_scripts/bridge_get_ranked_post_type.sql 45 additions, 0 deletionshive/db/sql_scripts/bridge_get_ranked_post_type.sql
- hive/db/sql_scripts/bridge_get_relationship_between_accounts.sql 4 additions, 2 deletions.../sql_scripts/bridge_get_relationship_between_accounts.sql
- hive/db/sql_scripts/calculate_account_reputations.sql 149 additions, 5 deletionshive/db/sql_scripts/calculate_account_reputations.sql
- hive/db/sql_scripts/db_upgrade.sh 4 additions, 2 deletionshive/db/sql_scripts/db_upgrade.sh
- hive/db/sql_scripts/hive_muted_accounts_by_id_view.sql 16 additions, 0 deletionshive/db/sql_scripts/hive_muted_accounts_by_id_view.sql
- hive/db/sql_scripts/mutes.sql 106 additions, 0 deletionshive/db/sql_scripts/mutes.sql
- hive/db/sql_scripts/upgrade/upgrade_runtime_migration.sql 21 additions, 0 deletionshive/db/sql_scripts/upgrade/upgrade_runtime_migration.sql
- hive/db/sql_scripts/upgrade/upgrade_table_schema.sql 9 additions, 4 deletionshive/db/sql_scripts/upgrade/upgrade_table_schema.sql
- hive/indexer/blocks.py 1 addition, 1 deletionhive/indexer/blocks.py
- hive/server/bridge_api/methods.py 56 additions, 73 deletionshive/server/bridge_api/methods.py
- hive/server/bridge_api/objects.py 8 additions, 9 deletionshive/server/bridge_api/objects.py
- hive/server/bridge_api/thread.py 4 additions, 4 deletionshive/server/bridge_api/thread.py
hive/db/sql_scripts/mutes.sql
0 → 100644