Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump undici from 5.28.3 to 5.28.4 #1454

Merged
merged 3 commits into from
Jul 7, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 4, 2024

Bumps undici from 5.28.3 to 5.28.4.

Release notes

Sourced from undici's releases.

v5.28.4

⚠️ Security Release ⚠️

Full Changelog: nodejs/undici@v5.28.3...v5.28.4

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [undici](https://github.com/nodejs/undici) from 5.28.3 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.28.3...v5.28.4)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 4, 2024
@mohammadranjbarz mohammadranjbarz merged commit dc2009f into staging Jul 7, 2024
5 checks passed
@mohammadranjbarz mohammadranjbarz deleted the dependabot/npm_and_yarn/undici-5.28.4 branch July 7, 2024 11:34
mohammadranjbarz added a commit that referenced this pull request Jul 21, 2024
* Change for Project Ownship

* i have fixed the issue for transfer project ownership in adminBro and fixed for eslint

* Revert "651 run migration files as js file (#1604)"

This reverts commit 5140a93.

* Update staging-pipeline.yml

* Update staging-pipeline.yml

* Update staging-pipeline.yml

* Create funding.json

* Fix issue in db migration scripts (#1608)

* Change commands to use typeorm cli

* Select migration files based on node env

* Fix eslint errors on staging branch

* add cache to mainCategories query

* add cache to findQfRounds query

* add cache to findQfRounds query

* fix MainCategory test case

* removed unnecessary comments and changed email to admin id

* fix: filter unique donors based on passport score and knownAsSybilAddress

* set cache duration as env var

* allow refresh concurrently of materialized views (#1611)

* add logger to updateProjectStatistics

* fix: add new field isDataAnalysisDone to QF Round

* fix: refactor condition where data analysis shouldn't be edited

* fix: issue while listing recurrring donations

* revert concurrent flag for failed views

* fix: requested change (using subquery to get unique donors count)

* add getUserAnalysisScore

* revert all materialized views concurrent flag

* reactivate concurrent flag for all materialized views

* move refresh estimated matching view last

* Add some error logs and complete some error messages (#1623)

* move refreshProjectEstimatedMatchingView

* fix: retrieve correct usd value of donations for an archived QF round

* skip if there's a wrong tx hash

* skip if there's a wrong error in insertDonationsFromQfRoundHistory

* Get giv price from coingecko instead of subgraph (#1621)

* Get giv price from coingecko instead of subgraph

related to Giveth/giveth-dapps-v2#4168

* Fix linter errors

* Remove poignArt stuff

* remove unused logs

* remove unused logs

* force findActiveQfRound to use read replica

* rewrite updateProjectStatistics

* move refreshProjectEstimatedMatchingView

* optimize updateProjectStatistics

* ProjectEstimatedMatchingView V3

* resolve ProjectEstimatedMatchingView V2 errors

* update donationRepository.test.ts

* update donationRepository.ts

* update project.ts

* update ProjectEstimatedMatchingView.ts

* update projectRepository.ts

* update projectService.ts with new estimated matching structure

* update qfRoundHistory.ts with new estimated matching structure

* update qfRoundRepository.test.ts with new estimated matching structure

* update qfRoundRepository.ts with new estimated matching structure

* update qfRoundResolver.ts with new estimated matching structure

* update qfUtils.ts with new estimated matching structure

* add verified status

* add minimumPassportScore to getProjectQfRoundStats

* add check for begin and end date to getProjectQfRoundStats

* remove refreshProjectEstimatedMatchingView from tests

* fix qfRoundRepository.test.ts tests

* remove qfRound stats from projects when added or removed from QF round

* update added projects only

* update added projects only

* optimize refreshProjectEstimatedMatchingView

* set NODE_ENV for refreshProjectEstimatedMatchingView

* merge getQfRoundUniqueDonors and getQfRoundTotalDonations

* fix adding valueUsd to query

* add userQfRoundModelScore

* remove minimumPassportScore from getProjectQfRoundStats

* remove user join from getProjectQfRoundStats

* remove insertDonationsFromQfRoundHistory from syncDonationStatusWithBlockchainNetwork

* enable replica

* projectVerificationRepository.ts replace .save with update method

* projectVerificationRepository.ts replace .save with update method

* remove unused fields from logs

* remove user from badge warning

* optimize projectsWithoutUpdateAfterTimeFrame

* Zkevm integration (#1635)

* Integrate with zkevm chain

related to #1617 #1615 #1618 #1619 #1614 #1620

* Add coingeckoId for wbtc zkevm token

* Fix lint errors

* Remove duplicate keys in provider.ts

* Fix AAve token on zkevm chain

* fix merge conflicts

* add projectId to projectRepository.ts

* remove unnecessary updatedAt

* fix: get unique_donors based on user wallet address not added to sybil table

* add cache to findActiveQfRound

* Add on conflicrt do nothing for add zkevm tokens

* Fix add polygon zkevm token migration

* remove updateTotalDonationsOfProject from migrations

* replace updateTotalDonationsOfProject with updateProjectStatistics

* replace updateTotalDonationsOfProject with updateProjectStatistics

* remove sumDonationValueUsd from project

* do email verification on project verification form through Ortto

* add solana to available networks for qfround

* remove knownAsSybilAddress from user

* wrong query cache in some functions

* User Story - Rejected project owner reason

* use networkId instead of optimism-only flag (#1653)

* Use networkId instead of optimismOnly flag

* Update graphql queries for tests

* fatal errors (#1640)

* change critical error logs to fatal

* add fatal log for donation verification failure with time threshold

* added on final step for verification project data

* Replace ortto External Embedded Webform for Onboarding guide

* fix: findArchivedQfRounds query

* fix subscribeOnboarding args

* change output to boolean

* WIP: add API key to request & add fetch MBD score record from DB

* fixed last step verification

* fixed typo

* WIP: add field to user that holds user MBD score for an active round

* disable DB Replica on staging

* fetch data uere with the score from MBD & remove non needed query

* Fix some test cases about stable coin donations

* fix: issue with adminJs authentication when user has hash as null

* "Last Update" on project card is not correct

* Fix some test cases about stable coin donations (#1665)

* Fix some test cases about stable coin donations

* Fix few test cases of projectResolver

* Fix few test cases of projectResolver

* Fix test cases of project resolver

* Fix donationResolver test cases

* Bump follow-redirects from 1.15.5 to 1.15.6 (#1414)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mohammadranjbarz <[email protected]>

* Bump @solana/web3.js from 1.87.6 to 1.87.7 (#1492)

Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.87.6 to 1.87.7.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/commits)

---
updated-dependencies:
- dependency-name: "@solana/web3.js"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mohammadranjbarz <[email protected]>

* Bump express from 4.18.2 to 4.19.2 (#1430)

Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mohammadranjbarz <[email protected]>

* Bump braces from 3.0.2 to 3.0.3 (#1629)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mohammadranjbarz <[email protected]>

* Bump undici from 5.28.3 to 5.28.4 (#1454)

Bumps [undici](https://github.com/nodejs/undici) from 5.28.3 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.28.3...v5.28.4)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mohammadranjbarz <[email protected]>

* fix types

* Updated project verification form resolver test

fixed previos 3 test with terms and condition update and added one last step test when user complete form and clicked "FINISH" button

* fix extracting last comment

* get donation to giveth with donation box analytics (#1661)

* Add a method for finding relevant donations to the donationRepository.ts

* Add a method for calculating donations metrics to the donationService.ts

* Add a gql resolver for donations metrics to the donationResolver.ts

* Add unit test for gql query resolver

* Fix division by zero issue

* times 100 average percentage to represent percent

* add useDonationBox field to donation and draftDonation

* fill useDonationBox field with correct data in migrations

* Change donationMetrics endpoint based on change in data schema

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add false removed imports

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix tests based on changes

* fix tests

* send useDonationBox as last arg and make it optional

* add relevant donation tx hash to donation creation flow

* calculate related donations based on relevant donation tx hash

* add unit tests

* update unit test

* fix bug

* fix bug in donation repository and tests are pass

* Clear All donations after donation metrics test cases

* Add new function for deleting project from db and use it to don't affect other test cases

* comment new test cases to ensure bug is related to that or not

* Clear donations after tests

* Comments new test cases in donationRepository.test.ts

* uncomment tests and Clean up test effects on DB

* Remove project addresses too

* Add a new method to testUtils.ts for removing project from db by id

* change donation dates to now

* Remove clear donations sections

* Change update count to a bigger number to pass test

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add test for fetching and refreshing qfroundscore for model

* revert changes on package,json

* revert changes on package,json

* fix migration error

* fix migration error

* fix: turn minimumValidUsdValue to nullable when querying

* remove updatedAt from projects tab

* Remove old donation and add new ones (#1674)

* remove verified from projects tab edit menu

* remove verified from projectVerificationTab edit menu

* fix total donations query

* fix archived_round totals

* fix latestUpdate column if not exists

* fix join for totals

* fix total donations with subquery

* fix add some error handling and remove commented interface

* fix: resolve conflict

* fix: resolve conflict

* fix USD value not showing

* fix: convert timestap retrieved from RPC provider to milisconds

* fix: donation test cases (milliseconds)

* fix: donation test cases (milliseconds)

* Endaoment integration (#1663)

* Remove giving block projects that don't have any donation

related to #1599

* Add needed fields to organization entity for endaoment projects

related to Giveth/Roadmap#111

* Remove giving-blocks stuff and endaoment integration thing

* Add categories to endaoment projects

* Fix test cases

* Fix some test cases about stable coin donations

* Add endaoment categories

* Fix remove giving-blocks projects migration

* Add default image for endaoment projects

* Fix linter

* Fix add useDonationBox to draft_donation migration

* Fix migration of adding useDonationBox to donation

* Fix eslint error

* Fix disabling recurring donations for endaoment projects

* Change givingBlock organization to endaoment in pre-test script

* Remove test case of accepted tokens of giving blocks

* Relate all base, optimism and mainnet tokens to endaoment organization

related to #1626

* Fix migration query syntax

* fix: donation test cases (milliseconds)

* fix: donation test cases (milliseconds)

* Modify ormconfig for running migrations

* Run ts files for migrations

* Make isRecipient of project_addresses of endaoment project true

* Fix type error of one of endaoment projects

* add test case for filling prices

* Modify add endaoment organization migration to pass the tests

* fix: convert minimumUserAnalysisScore to Float on qfRound entity

* fix: revert migration changes

* add log for filling prices

* feat: add github on project socialmedia enum

* Merge master to staging (#1696)

* Release relevant donations (#1687)

* get donation to giveth with donation box analytics (#1661)

* Add a method for finding relevant donations to the donationRepository.ts

* Add a method for calculating donations metrics to the donationService.ts

* Add a gql resolver for donations metrics to the donationResolver.ts

* Add unit test for gql query resolver

* Fix division by zero issue

* times 100 average percentage to represent percent

* add useDonationBox field to donation and draftDonation

* fill useDonationBox field with correct data in migrations

* Change donationMetrics endpoint based on change in data schema

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add false removed imports

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix tests based on changes

* fix tests

* send useDonationBox as last arg and make it optional

* add relevant donation tx hash to donation creation flow

* calculate related donations based on relevant donation tx hash

* add unit tests

* update unit test

* fix bug

* fix bug in donation repository and tests are pass

* Clear All donations after donation metrics test cases

* Add new function for deleting project from db and use it to don't affect other test cases

* comment new test cases to ensure bug is related to that or not

* Clear donations after tests

* Comments new test cases in donationRepository.test.ts

* uncomment tests and Clean up test effects on DB

* Remove project addresses too

* Add a new method to testUtils.ts for removing project from db by id

* change donation dates to now

* Remove clear donations sections

* Change update count to a bigger number to pass test

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Remove old donation and add new ones (#1674)

* Remove unused variable

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* release analytics dashboard dropdown menu related chagnes (#1686)

* use networkId instead of optimism-only flag (#1653)

* Use networkId instead of optimismOnly flag

* Update graphql queries for tests

* Change network id to float in gql schema to fix unit tests

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Add organization filter to projectsTab.ts in admin panel

related to #1599 (comment)

* Fill description summary for endaoment projects

related to #1599 (comment)

* Fix eslint errors

* Replace special characters of slugs of endaoment projects with -

related to Giveth/giveth-dapps-v2#4280 (comment)

* Fix eslint errors

* return hardcoded  as user MBD score

* rename qfRound minimumUserAnalysisScore field

* Resolve conflicts (#1703)

* Release relevant donations (#1687)

* get donation to giveth with donation box analytics (#1661)

* Add a method for finding relevant donations to the donationRepository.ts

* Add a method for calculating donations metrics to the donationService.ts

* Add a gql resolver for donations metrics to the donationResolver.ts

* Add unit test for gql query resolver

* Fix division by zero issue

* times 100 average percentage to represent percent

* add useDonationBox field to donation and draftDonation

* fill useDonationBox field with correct data in migrations

* Change donationMetrics endpoint based on change in data schema

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add false removed imports

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix tests based on changes

* fix tests

* send useDonationBox as last arg and make it optional

* add relevant donation tx hash to donation creation flow

* calculate related donations based on relevant donation tx hash

* add unit tests

* update unit test

* fix bug

* fix bug in donation repository and tests are pass

* Clear All donations after donation metrics test cases

* Add new function for deleting project from db and use it to don't affect other test cases

* comment new test cases to ensure bug is related to that or not

* Clear donations after tests

* Comments new test cases in donationRepository.test.ts

* uncomment tests and Clean up test effects on DB

* Remove project addresses too

* Add a new method to testUtils.ts for removing project from db by id

* change donation dates to now

* Remove clear donations sections

* Change update count to a bigger number to pass test

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Remove old donation and add new ones (#1674)

* Remove unused variable

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* release analytics dashboard dropdown menu related chagnes (#1686)

* use networkId instead of optimism-only flag (#1653)

* Use networkId instead of optimismOnly flag

* Update graphql queries for tests

* Change network id to float in gql schema to fix unit tests

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Modify endaoment categories and relate them to projects

related to #1664 (comment)

* Add canUseOnFrontend to category so can show a category but don't allow users to select them when create/update projects

related to #1685

* Fix project resolver test case

* fix CPU spikes

* add new test case for project update

* fix test case

* Fix add endaoment integration

* Filter isActive and canUseOnFrontend categories in projectResolver

* Filter isActive and canUseOnFrontend categories in projectResolver

* Return canUseOnFrontend in main category list

* Comment migrations related to endaoment (#1706)

* 1.24.0

* Test ci/cd

* Fix build problem

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Lovel George <[email protected]>
Co-authored-by: Lovel George <[email protected]>
Co-authored-by: Ramin <[email protected]>
Co-authored-by: Moe Shehab <[email protected]>
Co-authored-by: Mitch <[email protected]>
Co-authored-by: ali ebrahimi <[email protected]>
Co-authored-by: Meriem-BM <[email protected]>
Co-authored-by: CarlosQ96 <[email protected]>
Co-authored-by: Carlos <[email protected]>
Co-authored-by: kkatusic <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Reshzera <[email protected]>
mohammadranjbarz added a commit that referenced this pull request Aug 11, 2024
* update qfRoundResolver.ts with new estimated matching structure

* update qfUtils.ts with new estimated matching structure

* add verified status

* add minimumPassportScore to getProjectQfRoundStats

* add check for begin and end date to getProjectQfRoundStats

* remove refreshProjectEstimatedMatchingView from tests

* fix qfRoundRepository.test.ts tests

* remove qfRound stats from projects when added or removed from QF round

* update added projects only

* update added projects only

* optimize refreshProjectEstimatedMatchingView

* set NODE_ENV for refreshProjectEstimatedMatchingView

* merge getQfRoundUniqueDonors and getQfRoundTotalDonations

* fix adding valueUsd to query

* add userQfRoundModelScore

* remove minimumPassportScore from getProjectQfRoundStats

* remove user join from getProjectQfRoundStats

* remove insertDonationsFromQfRoundHistory from syncDonationStatusWithBlockchainNetwork

* enable replica

* projectVerificationRepository.ts replace .save with update method

* projectVerificationRepository.ts replace .save with update method

* remove unused fields from logs

* remove user from badge warning

* optimize projectsWithoutUpdateAfterTimeFrame

* Zkevm integration (#1635)

* Integrate with zkevm chain

related to #1617 #1615 #1618 #1619 #1614 #1620

* Add coingeckoId for wbtc zkevm token

* Fix lint errors

* Remove duplicate keys in provider.ts

* Fix AAve token on zkevm chain

* fix merge conflicts

* add projectId to projectRepository.ts

* remove unnecessary updatedAt

* fix: get unique_donors based on user wallet address not added to sybil table

* add cache to findActiveQfRound

* Add on conflicrt do nothing for add zkevm tokens

* Fix add polygon zkevm token migration

* remove updateTotalDonationsOfProject from migrations

* replace updateTotalDonationsOfProject with updateProjectStatistics

* replace updateTotalDonationsOfProject with updateProjectStatistics

* remove sumDonationValueUsd from project

* do email verification on project verification form through Ortto

* add solana to available networks for qfround

* remove knownAsSybilAddress from user

* wrong query cache in some functions

* User Story - Rejected project owner reason

* use networkId instead of optimism-only flag (#1653)

* Use networkId instead of optimismOnly flag

* Update graphql queries for tests

* fatal errors (#1640)

* change critical error logs to fatal

* add fatal log for donation verification failure with time threshold

* added on final step for verification project data

* Replace ortto External Embedded Webform for Onboarding guide

* fix: findArchivedQfRounds query

* fix subscribeOnboarding args

* change output to boolean

* WIP: add API key to request & add fetch MBD score record from DB

* fixed last step verification

* fixed typo

* WIP: add field to user that holds user MBD score for an active round

* disable DB Replica on staging

* fetch data uere with the score from MBD & remove non needed query

* Fix some test cases about stable coin donations

* fix: issue with adminJs authentication when user has hash as null

* "Last Update" on project card is not correct

* Fix some test cases about stable coin donations (#1665)

* Fix some test cases about stable coin donations

* Fix few test cases of projectResolver

* Fix few test cases of projectResolver

* Fix test cases of project resolver

* Fix donationResolver test cases

* Bump follow-redirects from 1.15.5 to 1.15.6 (#1414)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mohammadranjbarz <[email protected]>

* Bump @solana/web3.js from 1.87.6 to 1.87.7 (#1492)

Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.87.6 to 1.87.7.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/commits)

---
updated-dependencies:
- dependency-name: "@solana/web3.js"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mohammadranjbarz <[email protected]>

* Bump express from 4.18.2 to 4.19.2 (#1430)

Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mohammadranjbarz <[email protected]>

* Bump braces from 3.0.2 to 3.0.3 (#1629)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mohammadranjbarz <[email protected]>

* Bump undici from 5.28.3 to 5.28.4 (#1454)

Bumps [undici](https://github.com/nodejs/undici) from 5.28.3 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.28.3...v5.28.4)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mohammadranjbarz <[email protected]>

* fix types

* Updated project verification form resolver test

fixed previos 3 test with terms and condition update and added one last step test when user complete form and clicked "FINISH" button

* fix extracting last comment

* get donation to giveth with donation box analytics (#1661)

* Add a method for finding relevant donations to the donationRepository.ts

* Add a method for calculating donations metrics to the donationService.ts

* Add a gql resolver for donations metrics to the donationResolver.ts

* Add unit test for gql query resolver

* Fix division by zero issue

* times 100 average percentage to represent percent

* add useDonationBox field to donation and draftDonation

* fill useDonationBox field with correct data in migrations

* Change donationMetrics endpoint based on change in data schema

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add false removed imports

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix tests based on changes

* fix tests

* send useDonationBox as last arg and make it optional

* add relevant donation tx hash to donation creation flow

* calculate related donations based on relevant donation tx hash

* add unit tests

* update unit test

* fix bug

* fix bug in donation repository and tests are pass

* Clear All donations after donation metrics test cases

* Add new function for deleting project from db and use it to don't affect other test cases

* comment new test cases to ensure bug is related to that or not

* Clear donations after tests

* Comments new test cases in donationRepository.test.ts

* uncomment tests and Clean up test effects on DB

* Remove project addresses too

* Add a new method to testUtils.ts for removing project from db by id

* change donation dates to now

* Remove clear donations sections

* Change update count to a bigger number to pass test

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add test for fetching and refreshing qfroundscore for model

* revert changes on package,json

* revert changes on package,json

* fix migration error

* fix migration error

* fix: turn minimumValidUsdValue to nullable when querying

* remove updatedAt from projects tab

* Remove old donation and add new ones (#1674)

* remove verified from projects tab edit menu

* remove verified from projectVerificationTab edit menu

* fix total donations query

* fix archived_round totals

* fix latestUpdate column if not exists

* fix join for totals

* fix total donations with subquery

* fix add some error handling and remove commented interface

* fix: resolve conflict

* fix: resolve conflict

* fix USD value not showing

* fix: convert timestap retrieved from RPC provider to milisconds

* fix: donation test cases (milliseconds)

* fix: donation test cases (milliseconds)

* Endaoment integration (#1663)

* Remove giving block projects that don't have any donation

related to #1599

* Add needed fields to organization entity for endaoment projects

related to Giveth/Roadmap#111

* Remove giving-blocks stuff and endaoment integration thing

* Add categories to endaoment projects

* Fix test cases

* Fix some test cases about stable coin donations

* Add endaoment categories

* Fix remove giving-blocks projects migration

* Add default image for endaoment projects

* Fix linter

* Fix add useDonationBox to draft_donation migration

* Fix migration of adding useDonationBox to donation

* Fix eslint error

* Fix disabling recurring donations for endaoment projects

* Change givingBlock organization to endaoment in pre-test script

* Remove test case of accepted tokens of giving blocks

* Relate all base, optimism and mainnet tokens to endaoment organization

related to #1626

* Fix migration query syntax

* fix: donation test cases (milliseconds)

* fix: donation test cases (milliseconds)

* Modify ormconfig for running migrations

* Run ts files for migrations

* Make isRecipient of project_addresses of endaoment project true

* Fix type error of one of endaoment projects

* add test case for filling prices

* Modify add endaoment organization migration to pass the tests

* fix: convert minimumUserAnalysisScore to Float on qfRound entity

* fix: revert migration changes

* add log for filling prices

* feat: add github on project socialmedia enum

* Merge master to staging (#1696)

* Release relevant donations (#1687)

* get donation to giveth with donation box analytics (#1661)

* Add a method for finding relevant donations to the donationRepository.ts

* Add a method for calculating donations metrics to the donationService.ts

* Add a gql resolver for donations metrics to the donationResolver.ts

* Add unit test for gql query resolver

* Fix division by zero issue

* times 100 average percentage to represent percent

* add useDonationBox field to donation and draftDonation

* fill useDonationBox field with correct data in migrations

* Change donationMetrics endpoint based on change in data schema

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add false removed imports

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix tests based on changes

* fix tests

* send useDonationBox as last arg and make it optional

* add relevant donation tx hash to donation creation flow

* calculate related donations based on relevant donation tx hash

* add unit tests

* update unit test

* fix bug

* fix bug in donation repository and tests are pass

* Clear All donations after donation metrics test cases

* Add new function for deleting project from db and use it to don't affect other test cases

* comment new test cases to ensure bug is related to that or not

* Clear donations after tests

* Comments new test cases in donationRepository.test.ts

* uncomment tests and Clean up test effects on DB

* Remove project addresses too

* Add a new method to testUtils.ts for removing project from db by id

* change donation dates to now

* Remove clear donations sections

* Change update count to a bigger number to pass test

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Remove old donation and add new ones (#1674)

* Remove unused variable

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* release analytics dashboard dropdown menu related chagnes (#1686)

* use networkId instead of optimism-only flag (#1653)

* Use networkId instead of optimismOnly flag

* Update graphql queries for tests

* Change network id to float in gql schema to fix unit tests

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Add organization filter to projectsTab.ts in admin panel

related to #1599 (comment)

* Fill description summary for endaoment projects

related to #1599 (comment)

* Fix eslint errors

* Replace special characters of slugs of endaoment projects with -

related to Giveth/giveth-dapps-v2#4280 (comment)

* Fix eslint errors

* return hardcoded  as user MBD score

* rename qfRound minimumUserAnalysisScore field

* Resolve conflicts (#1703)

* Release relevant donations (#1687)

* get donation to giveth with donation box analytics (#1661)

* Add a method for finding relevant donations to the donationRepository.ts

* Add a method for calculating donations metrics to the donationService.ts

* Add a gql resolver for donations metrics to the donationResolver.ts

* Add unit test for gql query resolver

* Fix division by zero issue

* times 100 average percentage to represent percent

* add useDonationBox field to donation and draftDonation

* fill useDonationBox field with correct data in migrations

* Change donationMetrics endpoint based on change in data schema

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* remove unused import

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add false removed imports

* add default value for useDonationBox field

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix tests based on changes

* fix tests

* send useDonationBox as last arg and make it optional

* add relevant donation tx hash to donation creation flow

* calculate related donations based on relevant donation tx hash

* add unit tests

* update unit test

* fix bug

* fix bug in donation repository and tests are pass

* Clear All donations after donation metrics test cases

* Add new function for deleting project from db and use it to don't affect other test cases

* comment new test cases to ensure bug is related to that or not

* Clear donations after tests

* Comments new test cases in donationRepository.test.ts

* uncomment tests and Clean up test effects on DB

* Remove project addresses too

* Add a new method to testUtils.ts for removing project from db by id

* change donation dates to now

* Remove clear donations sections

* Change update count to a bigger number to pass test

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Remove old donation and add new ones (#1674)

* Remove unused variable

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* release analytics dashboard dropdown menu related chagnes (#1686)

* use networkId instead of optimism-only flag (#1653)

* Use networkId instead of optimismOnly flag

* Update graphql queries for tests

* Change network id to float in gql schema to fix unit tests

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Modify endaoment categories and relate them to projects

related to #1664 (comment)

* Add canUseOnFrontend to category so can show a category but don't allow users to select them when create/update projects

related to #1685

* Fix project resolver test case

* feat: add tacking recurring donations queries

* fix: delete unwanted recurring donation test cases

* fix CPU spikes

* add new test case for project update

* fix test case

* Fix add endaoment integration

* Filter isActive and canUseOnFrontend categories in projectResolver

* Filter isActive and canUseOnFrontend categories in projectResolver

* Return canUseOnFrontend in main category list

* optimize projectUpdates query

* Comment migrations related to endaoment (#1706)

* 1.24.0

* Test ci/cd

* Fix build problem

* optimize projectUpdates endpoint

* optimize projectUpdates endpoint - add cache

* add dynamic field selection

* add a default value for etc mordor url (#1709)

* Remove redundant backslash

* fix test cases

* feat: add per token data for recurring donations statistcs (pie chart - dashboard analytics)

* Change commands to run migrations as js (#1714)

* Change commands to run migrations as js

* Remove unnecessary mkdir steps from build command in package.json

* Fix migrations address in ormconfig.ts

* Fix build command (#1715)

* make config directory and the copy the configs

* Add -p option to mkdir command

* Check config directory existing and then copy content to it

* Revert migration changes (#1717)

* Revert "Check config directory existing and then copy content to it"

This reverts commit 1fb9fa2.

* Revert "Fix build command (#1715)"

This reverts commit 4b570a7.

* Revert "Change commands to run migrations as js (#1714)"

This reverts commit 18f3239.

* Optimise relevant donation flow (#1698)

* Add migrations to add donation percentage and fill it

* Add donation percentage and use it in donation metrics calculation

* Fix bug in converting to number

* Fix bug unit test

* Add donation percentage to test data to correctly calculate donation metrics

* remove giveth old project to fix the test

* Apply review changes

* Skip heavy migrations related to relevantDonations on test environment to speedup pipelines

* Fix typo

* change argument name

* Fix tests based on changes

* fix: minimumPassportScore issue when tapping float number on adminJS

* Add index to useDonationBox field (#1723)

* Run migrations as js files (#1718)

* Change commands to run migrations as js

* Remove unnecessary mkdir steps from build command in package.json

* Fix migrations address in ormconfig.ts

* Change build command to work correctly if config folder is not exists

* Revert "Run migrations as js files (#1718)" (#1724)

This reverts commit 015e383.

* Which tokens are used the most on each chain by unique donors

* change getDonationStats to typeorm

* update Bull

* Use raw select query instead of find function from typeorm (#1729)

* gitcoin API update

* gitcoin API update

* gitcoin API update

* Add all network labels in admin panel, project tab

* Fix eslint errors

* added graphql query to fetch recurring donations by date adn project id

* fixed lint

* Add all network labels in admin panel, project tab

* allow to download email addresses

* fix: returning QF tag to the user bookmarked projects

* removed unnecessary ql fields

* added test cases for recurring donations by date resolver

* Make sure all Endaoment projects have been added to our DB (#1751)

* Make sure all Endaoment projects have been added to our DB

related to #1598 (comment)

* Fix eslint errors

* Add appropriate banner images for imported endaoment projects

related to #1600 (comment)

* Add on conflict do nothing for create endaoment organization migration

* Make organizationId serial if it's not already

* Fix eslint errors

* Fix add endaoment organization migration

* Fix eslint errors

* Comment run migrations on production ci

* Fix categories of endaoment projects

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Ramin <[email protected]>
Co-authored-by: Carlos <[email protected]>
Co-authored-by: Meriem-BM <[email protected]>
Co-authored-by: Ali Ebrahimi <[email protected]>
Co-authored-by: kkatusic <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: CarlosQ96 <[email protected]>
Co-authored-by: Reshzera <[email protected]>
Co-authored-by: ali ebrahimi <[email protected]>
Co-authored-by: Lovel George <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Review dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants