Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 1.24.0 - SuperFluid Release (#1387)
* add null to verificationStatus in projectsWithoutUpdateAfterTimeFrame * update draftDonationMatchWorker.test.ts and draftDonationService.test.ts * Add new fields to the ProjectActualMatchingView * Fix qfRound test cases * Fix qfRound test cases * Change logger.info to logger.debug * add project actual matching address and network * add network addresses to entity * inner join project_address * fix project Latest Updated date calculation * do not query if user exists * rebuild * add isRecipient condition to actualMatching * Implement updateRecurringDonationParams webservice (#1371) * Implement updateRecurringDonationParams webservice related to #1362 * Fix update recurring donation test case * Fix update recurring donation test case * Modify update recurring donation web service * Fix build error * Add currency to updateRecurringDonationParams web service input * F superfluid validate transactions (WIP, not ready for review) (#1352) * add superfluid adapter * add super fluid services for recurring donation * add superfluid columns to donations * add logic to notify user of super token balancer * create donations from virtual periods * fix conflicts * fix conflicts * add email interface for superfluid and new attributes * update recurringdonation totals * fix mock notification adapter for supertokens * fix recurring donation migration * add email job and test for recurring donation service * Remove amount and interval from recurringDonation entity --------- Co-authored-by: Mohammad Ranjbar Z <[email protected]> * Change error message when recurring donation not found in udatedonation webservice * Just a change for rerun the github action job * change project verificationStatus to null when a new update is added * Set default value for finished field in recurring_donation table * remove Ortto tag only if user has no other projects in the round * add project update test case * do not change verificationStatus on project update when status is revoked * return proper error message when user not found * add test case for not changing verificationStatus on project update when a new update is added * Add token filters to recurringDonationsByUserId webservice (#1404) * Add token filters to recurringDonationsByUserId webservice related to #1398 * Add finished filters to recurringDonationsByUserId and recurringDonationsByProjectId webservice related to #1398 * update eslint and prettier config * fix migrations eslint errors * fix migrations eslint errors * fix /test eslint errors * fix /src root files eslint errors * fix /entities eslint errors * fix /src eslint errors part 1 * fix /server eslint errors * fix /routers and /scripts eslint errors * fix /types and /user eslint errors * fix /utils eslint errors * fix /views eslint errors * fix /adapters eslint errors * fix /repositories eslint errors * fix /resolvers eslint errors * fix /services eslint errors * add eslint packages * fix workflows eslint packages * fix /migration eslint packages * fix /src eslint packages * remove old tslint file * fix type-graphql eslint errors * fix getResolvers type error * revert stripe.ts to original state * Fix actual matching view and add test cases for it (#1410) related to Giveth/giveth-dapps-v2#3840 * add eslint-plugin-import and sort imports * Add log * add update recurring donation status (#1412) * Improve Error Logging for adding duplicate token * Join project's anchor contracts in recurringDonationsByUserId web service * fix eslint errors * add uniqueness for slug * remove duplicate slug on tests * fix duplicate slug in featureProjectsTestCases * add migration for unique slug index * fix the recurring donation Id not saved properly (#1420) * write duplicate slug test case * add Queries to fetch stats about new donors * Prevent valueUsd to be null for donations related to recurring_donations * Add logs to getListOfTransactionsByAddress function * Fix eslint errors * add newDonorsDonationTotalUsdPerDate query * fix eslint error * add fetchNewDonorsCount and fetchNewDonorsDonationTotalUsd queries * add newDonorsCountPerDate and newDonorsDonationTotalUsdPerDate test cases * prevent creating duplicate slugs with empty input * Skip draftDonationService test cases * Remove RegisterResolver and ConfirmUserResolver resolvers * Remove REGISTER_USERNAME_PASSWORD usage * Bring draftDonationServices test cases back related to #1425 (comment) * improve queries and conditions for superfluid donation validation (#1423) * improve queries and conditions for superfluid donation validation * fix superfluid api calls * fix usd amount fetch * remove REGISTER_USERNAME_PASSWORD env var * remove LoginResolver.ts * remove LoginResolver.ts * remove IsEmailAlreadyExist and RegisterWalletInput * remove unused packages * move types to dev dependencies * move types to dev dependencies * Verify recurring donation with network data (#1424) * WIP Add test funciton for verify recurring donations * Update recurring donation status with blockchain network data related to #1426 * Validate anchor contract addresses blockchain data related to #1427 * Fix error handling of updateRecurringDonationStatusWithNetwork * Copy abi files to build folder after each build * Read projectId from different field for anchor contract transactions * add SuperFluid balance critical notification * fix fetching the correct recurringDonation data * Change finish status filter in recurring donation web services * Fix recurringDonationsByUserId when sending status filter * add usd value to recurring donation related donations * fix valueUsd of recurring donation * update recurring donation totals with mini donations * Allow qf round to edit some fields even when round has ended related to Giveth/giveth-dapps-v2#3864 * Make finished:true for ended and failed donations * Add isArchived field to recurring donation related to #1439 * Use includeArchived toggle in webservice instead of isArchived * Allow to filter Donation data by verified project donations * revert package.json changes * Add new "sort" to QF round page "by Estimated Matching amount" * test commit * Revert "test commit" This reverts commit da14d42. * remove test logs * add activeQfRoundId for sorting by EstimatedMatching * add donation received email service for recurring donations * update MockNotificationAdapter for donationReceived * Dont override isActive for ended qf rounds in admin bro edit page Giveth/giveth-dapps-v2#3864 (comment) * Add cronjob to verify recurring donations with blockchain network #1445 * Call runCheckPendingRecurringDonationsCronJob in bootstrap * Add cronjob to verify recurring donations with blockchain network (#1446) * Add cronjob to verify recurring donations with blockchain network #1445 * Call runCheckPendingRecurringDonationsCronJob in bootstrap * rename variable for expiration hours --------- Co-authored-by: Carlos <[email protected]> * Write test case for getPendingRecurringDonationsIds * fix symbol parsing in recurringDonationService * fix async function for updating recurring donation prices * add recurring donation balance warning check * fix typo in recurringDonation var name * skip sending redundant emails for recurringDonation * separate the price service component * send donation email for more than 20 USD only * remove updateDonationPricesAndValues unused inputs * Change status of recurring donation to pending when updating flowRate and txHash (#1450) * WIP change status o recurring donation to pending when updating flowRate * Change status to pending and finished to false when user updates txHash and flowRate Giveth/giveth-dapps-v2#3930 * add AddBalanceWarningToRecurringDonation migration * fix adminUserId for recurringDonation project * fix missing email address in recurringDonation emails * fix amount in recurringDonation emails * add logs to donationReceived * add token to logs * Verify batch superfluid createFlow transactions (#1448) * WIP decoded batch transactions with ABI * Add migration file * Verify batch call of createFlow smart contract calls work #1447 * Verify batch call of createFlow smart contract calls work #1447 * Fix build error * fix recurring donation amount * fix email address in sendProjectRelatedNotification * fix walletAddress in sendProjectRelatedNotification * add trigger and event names for superfluid emails (#1457) * Add readme for qf code (#1444) * Add readme for qf code * Update qf round matching fund calculation document * Add some logs for create streamed donations * Add column type to recurring donation fields * Remove Goerli tx from tests * Add some logs for qfRound upload data * add logs for Super Token Balance * add more logs for Super Token Balance * fix superFluidGraphqlUrl for Sepolia * rebuild * Fix admin panel export data * Show user's totalDonated and donationsCount correctly even with recurring donations (#1458) #1453 , Giveth/giveth-dapps-v2#3886 * fix returning when user is found * return active recurring donations count in donationsByProjectId query (#1460) * return active recurring donations count in donationsByProjectId query Giveth/giveth-dapps-v2#3968 (comment) * Refresh project donation summery after updating totalDonation Giveth/giveth-dapps-v2#3968 * fix accountBalance issues * fix super tokens symbol problem * fix walletAddress problem in userSuperTokensCritical * fix payload for userSuperTokensCritical * fix Super Tokens Critical event names * fix depleted balance * remove trackId #1416 * fix metadata for userSuperTokensCritical * don't check all user streams * Count uniqueDonors correctly regarding recurringDonations and one time donations Giveth/giveth-dapps-v2#3968 (comment) * Fix eslint errors * Fix total donated in donation summery * Fix total donated in donation summery * add virtual field for comma separated project_ids (#1469) * add project owner email to qfdata export (#1452) Co-authored-by: Mohammad Ranjbar Z <[email protected]> * add networkName and recurringDonationTab to userSuperTokensCritical * WIP Write the document template and two sample test cases (#1461) * WIP Write the document template and two sample test cases 1459 * Fix eslint errors * Fix eslint errors * Added test cases for permissions and documentation (table of permissions) updates --------- Co-authored-by: mac <[email protected]> * fix calculating timestamp for negative numbers * 1459 document admin panel role permissions (#1473) * WIP Write the document template and two sample test cases 1459 * Fix eslint errors * Fix eslint errors * Added test cases for permissions and documentation (table of permissions) updates * add returnAllDonationData action for qfRound to all permissions --------- Co-authored-by: Mohammad Ranjbar Z <[email protected]> Co-authored-by: mac <[email protected]> * add new admin role for QF stuff (#1475) * feat: add new role qfManager - add list permission (to restrict qfManger from listing specific resources * fix: add list test cases & set compain manger project listing to true * Modify permissions and readme for qfManager role related to #1471 * Fix eslint errors --------- Co-authored-by: mac <[email protected]> Co-authored-by: Mohammad Ranjbar Z <[email protected]> * Update adminPermissions.md * Remove returnAllDonationData from user permissions in test file * Remove Goerli test case * 1471 qf stuff role bugs (#1480) * feat: add new role qfManager - add list permission (to restrict qfManger from listing specific resources * fix: add list test cases & set compain manger project listing to true * fix: postTesting permissions bugs * fix: add add/remove fromqf round actions to admin permissions * fix: rename migration clasee name * fix: merge staging into this branch --------- Co-authored-by: mac <[email protected]> * add streamBalanceWarning to user * add recurringDonationId to updateDonationService (#1484) * add qfround title and description (#1485) * Implement webservice for creating draft recurring donations (#1474) * Implement webservice for creating draft recurring donations related to #1463 * WIP add draftDonationService * feat: draft recurring donation for normal tx works on create endpoint related to #1463 * feat: draft recurring donation for update donations work now related to #1463 * Fix eslint errors * Add cronjob for running draft recurring donations * add recurringDonationId to updateDonationService (#1484) * improvement: Rewrite all the things about recurring donation verification with superfluid subgraph related to #1463 * Fix eslint errors * Fix eslint errors * Fix build error * Add log if flow is undefined --------- Co-authored-by: CarlosQ96 <[email protected]> * add updateRecurringDonationById service (#1490) * fix: QF manger role bugs (#1489) - impliment roles based on the table that was approved * fix Ortto GIVbacksRound tag (#1486) * add recurringDonationId to updateDonationService (#1484) * fix ortto GIVbacksRound tag --------- Co-authored-by: CarlosQ96 <[email protected]> Co-authored-by: Mohammad Ranjbar Z <[email protected]> * skip verify some failed tests related to superfluid subgraph * Fix eslint errors * uncomment superfluid test cases * Fix: The Project Status History Tab should not be displayed for users with the QF Manger role. (#1493) * fix: QF manger role bugs - impliment roles based on the table that was approved * fix: Project Status History Tab shouldn't be shown for QF stuff role - add list, show actions so it can be applied * change streamBalanceWarning from string to json * Fix updateRecurringDonationParams endpoint * Consider ended recurring donations when counting unique donors related to Giveth/giveth-dapps-v2#3093 (comment) * Can create draft donation when updating recurring donation and recurringDonationId has not sent related to #1463 (comment) * Mark draft recurring donation as done when updating recurring donation * Dont relate qfRounds to donations * Fix eslint errors * Fix eslint errors --------- Co-authored-by: Ramin <[email protected]> Co-authored-by: Mohammad Ranjbar Z <[email protected]> Co-authored-by: Carlos <[email protected]> Co-authored-by: CarlosQ96 <[email protected]> Co-authored-by: Cherik <[email protected]> Co-authored-by: mac <[email protected]> Co-authored-by: Meriem Barhoumi <[email protected]>
- Loading branch information