hivemind merge requestshttps://gitlab.syncad.com/hive/hivemind/-/merge_requests2024-03-26T12:48:09Zhttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/682Updated publishing job2024-03-26T12:48:09ZKonrad BotorUpdated publishing jobUpdated publishing jobUpdated publishing jobKonrad BotorKonrad Botorhttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/673Updated publishing script to publish the minimal image2024-03-15T16:18:52ZBartek WronaUpdated publishing script to publish the minimal imagehttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/659Add benchmark script2024-02-16T13:00:26ZKrzysztof Mochockikmochocki@syncad.comAdd benchmark scriptvars to mani[ulate in script:
```
PSQL_URL="postgresql://hivemind@haf/haf_block_log"
WDIR="./wdir"
```vars to mani[ulate in script:
```
PSQL_URL="postgresql://hivemind@haf/haf_block_log"
WDIR="./wdir"
```Bartek WronaBartek Wronahttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/650Draft: Dn testing2024-02-07T21:26:52ZDan NotesteinDraft: Dn testinghttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/648correctly detach context during massive sync2024-01-30T11:17:35ZMarcincorrectly detach context during massive syncit is sure that context is detached or nothing has changed with context current block when massive sync is brokenit is sure that context is detached or nothing has changed with context current block when massive sync is brokenMarcinMarcinhttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/642CI rewrite for parallel replay2024-03-27T10:04:30ZKonrad BotorCI rewrite for parallel replayRequires haf!433 to be merged first.
See hive!1191 for details on how changes in this merge request work.Requires haf!433 to be merged first.
See hive!1191 for details on how changes in this merge request work.Konrad BotorKonrad Botorhttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/626Adds a new field in all posts apis to return an array containing the reason w...2024-03-27T03:19:46ZHowoAdds a new field in all posts apis to return an array containing the reason why the post is mutedfixes https://gitlab.syncad.com/hive/hivemind/-/issues/219
There are 5 muted reasons:
- 'MUTED_COMMUNITY_MODERATION': 0
- 'MUTED_COMMUNITY_TYPE': 1
- 'MUTED_PARENT': 2
- 'MUTED_REPUTATION': 3
- 'MUTED_ROLE_COMMUNITY': 4
## tests:
- [...fixes https://gitlab.syncad.com/hive/hivemind/-/issues/219
There are 5 muted reasons:
- 'MUTED_COMMUNITY_MODERATION': 0
- 'MUTED_COMMUNITY_TYPE': 1
- 'MUTED_PARENT': 2
- 'MUTED_REPUTATION': 3
- 'MUTED_ROLE_COMMUNITY': 4
## tests:
- [x] MUTED_COMMUNITY_MODERATION
- [x] MUTED_COMMUNITY_TYPE
- [x] MUTED_PARENT
- [x] MUTED_REPUTATION
- [x] MUTED_ROLE_COMMUNITY
- [x] both MUTED_PARENT and MUTED_COMMUNITY_TYPE
- [x] list muted reasons enumJulyHivemindHowoHowohttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/621Draft: Communities beneficiaries settings2024-01-04T23:47:40ZHowoDraft: Communities beneficiaries settingsRestored benchmark collector job spawn after fixes done in MR: https://gitlab.syncad.com/hive/benchmark-results-collector/-/merge_requests/7Restored benchmark collector job spawn after fixes done in MR: https://gitlab.syncad.com/hive/benchmark-results-collector/-/merge_requests/7HowoHowohttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/611Draft: Switch to poetry build backend2023-09-29T10:44:02ZMateusz ŻebrakDraft: Switch to poetry build backendMateusz ŻebrakMateusz Żebrakhttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/500WIP: add long/short form content switch2021-05-18T12:03:42ZNelmin AnocWIP: add long/short form content switchD.Buzz, as a microblogging platform, has already garnered monthly stats of 600 users a month according to https://www.stateofthedapps.com/dapps/dbuzz, and is a Top no. 5 Social Dapp worldwide.
In order to accomodate D.Buzz users, and fu...D.Buzz, as a microblogging platform, has already garnered monthly stats of 600 users a month according to https://www.stateofthedapps.com/dapps/dbuzz, and is a Top no. 5 Social Dapp worldwide.
In order to accomodate D.Buzz users, and future short-form content on HIVE, a change should be made to Hivemind so that short-from Dapps like D.Buzz are interoperable with long-form Dapps like Ecency, PeakD and Hive.Blog (or at least could be).
It would involve differentiating between short-form content, and long-form content in Hivemind, so that Dapps like Ecency could then easily add filter tools so their users could switch between only viewing short-form content, only view long-form content, both at once (currently the only option) or could theoretically, switch between viewing long-form and short-form content back and forth, in the main feeds, based entirely on their user's preferences, and from moment to moment.
With that said, this MR is intended to increase interoperability between PeakD, Hive.Blog, Ecency, D.Buzz in the simplest and most intuitive way, and could then increase the options and user experience of people from every end of the short-form/long-from debate.
Since D.Buzz understands the need for this, @coffeebender, our Lead Dev, created & submitted this MR for the Hivemind repo.
#Options #ChoicesForUsers #Interoperability #HIVENelmin AnocNelmin Anochttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/469Add missing tags_api mapping for get_trending_tags method2021-02-23T13:00:50ZEmreAdd missing tags_api mapping for get_trending_tags methodAs described in [devportal](https://developers.hive.io/apidefinitions/#tags_api.get_trending_tags), `tags_api.get_trending_tags` should be an alias to `condenser_api.get_trending_tags`.
I suspect while offloading tags API calls to Hive...As described in [devportal](https://developers.hive.io/apidefinitions/#tags_api.get_trending_tags), `tags_api.get_trending_tags` should be an alias to `condenser_api.get_trending_tags`.
I suspect while offloading tags API calls to Hivemind, this mapping is forgotten.
I've tested the patch on my API node, and it works as expected:
```
$ curl - s--data '{"jsonrpc":"2.0", "method":"tags_api.get_trending_tags", "params":{"start_tag":"hive","limit":1}, "id":1}'
https: //hived.emre.sh
{
"jsonrpc": "2.0",
"result": [{
"name": "hive-189157",
"comments": 139,
"top_posts": 38,
"total_payouts": "190.898 HBD"
}],
"id": 1
}
```https://gitlab.syncad.com/hive/hivemind/-/merge_requests/460WIP: [DLN] testing use of PARALLEL SAFE for a bunch of get_ functions2023-11-11T22:20:49ZDan NotesteinWIP: [DLN] testing use of PARALLEL SAFE for a bunch of get_ functionsTesting usage of PARALLEL SAFE to see if it improves performance (and testing to be sure it doesn't have any negative effects).
I decided it was probably safe to set "PARALLEL SAFE" on functions containing CTEs, despite vague messaging ...Testing usage of PARALLEL SAFE to see if it improves performance (and testing to be sure it doesn't have any negative effects).
I decided it was probably safe to set "PARALLEL SAFE" on functions containing CTEs, despite vague messaging in Postgres manual, based on this discussion: https://www.postgresql.org/message-id/CAGHENJ6dF12ewNS%3DbrvGfafi8tPu6WQ2usati7Occqni-htSnw%40mail.gmail.com
Anyways, so far it's far from clear yet whether allowing parallelizing helps or harms in our current queries in terms of performance.Dan NotesteinDan Notesteinhttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/450WIP: refresh notify cache correctly2020-12-23T13:53:52ZMarcinWIP: refresh notify cache correctlyMarcinMarcinhttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/259Added separate file to store sql script names2021-01-27T11:02:57ZDariusz KędzierskiAdded separate file to store sql script names* Scripts are loaded with order given in file_order_list.txt
* Added validator to setup.py to detect if there are any
differences between sql scripts defined in file_order_list.txt and
sql scripts present in hive/db/sql_scripts/* Scripts are loaded with order given in file_order_list.txt
* Added validator to setup.py to detect if there are any
differences between sql scripts defined in file_order_list.txt and
sql scripts present in hive/db/sql_scripts/Bartek WronaBartek Wronahttps://gitlab.syncad.com/hive/hivemind/-/merge_requests/153logging update2023-10-20T08:20:35ZKrzysztof Mochockikmochocki@syncad.comlogging updateadded comments in queries, this increase visibility of block number.
Moreover improved stats gathering and code readability
@bwronaadded comments in queries, this increase visibility of block number.
Moreover improved stats gathering and code readability
@bwronaKrzysztof Mochockikmochocki@syncad.comKrzysztof Mochockikmochocki@syncad.com