Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat : Update thedevelop-userTypeFix branch with the latest features …
…from develop (#2032) * Restore the automated-docs if statement * Create pull_changes.yml * Update push.yml * Update push.yml * Update pull_changes.yml * Update pull_changes.yml * Update Advertisement.ts * Update push.yml * Update Advertisement.ts * Update push.yml * Update Advertisement.ts * Update Advertisement.ts * Update push.yml * Update push.yml * Update pull_changes.yml * Update Advertisement.ts * Update pull_changes.yml * chore(deps): bump @typescript-eslint/eslint-plugin from 6.20.0 to 6.21.0 (#1842) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.20.0 to 6.21.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.21.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump nodemailer from 6.9.8 to 6.9.9 (#1843) Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.9.8 to 6.9.9. - [Release notes](https://github.com/nodemailer/nodemailer/releases) - [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodemailer/nodemailer/compare/v6.9.8...v6.9.9) --- updated-dependencies: - dependency-name: nodemailer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump lint-staged from 15.2.1 to 15.2.2 (#1844) Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.2.1 to 15.2.2. - [Release notes](https://github.com/okonet/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md) - [Commits](https://github.com/okonet/lint-staged/compare/v15.2.1...v15.2.2) --- updated-dependencies: - dependency-name: lint-staged dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @graphql-codegen/typescript from 4.0.1 to 4.0.4 (#1846) Bumps [@graphql-codegen/typescript](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typescript) from 4.0.1 to 4.0.4. - [Release notes](https://github.com/dotansimha/graphql-code-generator/releases) - [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/typescript/CHANGELOG.md) - [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/plugins/typescript/typescript) --- updated-dependencies: - dependency-name: "@graphql-codegen/typescript" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @types/validator from 13.11.8 to 13.11.9 (#1845) Bumps [@types/validator](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/validator) from 13.11.8 to 13.11.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/validator) --- updated-dependencies: - dependency-name: "@types/validator" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added tests for file src/resolvers/Mutation/createPost.ts (#1833) * Modified tests * some minor changes * Fixed Errors * 100% code covered * Fixed Linting errors * removeAdvertisement.ts test updated to 100% coverage (#1835) * removeAdvertisement.ts test updated to 100% coverage * failing tests updated * Update package.json * Update package.json * Update package-lock.json * Update package.json * Update package.json * Update package.json * Update package.json * Update package-lock.json back to normal * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * fix: Add functionality for creating recurring events (#1807) * create recurring event helpers and refactor * remove unnecessary file * add documentation and comments * add tests * fix comments * update generateRecurrenceRuleString function * speed up code * fix formatting * format fix * restore package.json * fix failing test * better implementation and faster code * minor refactoring * minor correction * fix imports * return single recurring instance * fix failing test * Revert "return single recurring instance" This reverts commit 60353fd63b9f5111683dfbc7694f446864c67a22. * Reapply "return single recurring instance" This reverts commit fc12a9947d3d4d2de1a2142316951c1d8368c649. * test commit * update test * fix test * convert to UTC dates * test commit with minor change * limit instance generation date according to the recurrence frequency * adjust for different timezones * remove unnecessary code * remove unnecessary formatting * change variable names * feat : Creating support for Event Agendas, part1 : Agenda Category CRUD (#1785) * test * Agenda category CRUD * fixed format check * Renamed organization to organizationId, and changed file names wherever needed, also made organization non null where it wasnt * Added requested changes, involving : 1. field level resolvers for categor ies in organization, an updated by resolver in agendaCategory. 2. Removed the agendacatego ries resolver because it was futile. 3. removed organizationId from updateagendaCategory i nput and other minute changes. * Fixed failing tests * Removed ESLint disabled comments * Removed some linting errors * Fixed the remaining linting errors * Fixed lint error * Ran prettier * Ran prettier * Fixed the failing test * Final issues resolved * feat: Event Volunteers (#1774) * feat: add Event Volunteer collectionand CRUD mutations/queries * write tests for createEventVolunteer and updateEventVolunteer * write tests for eventVolunteersByEvent and removeEventVolunteers * fix formatting * better code coverage * fix formatting * better code coverage * fix formatting * better code coverage * fix linting test * Update INSTALLATION.md * Fixed Introspection Schema check GitHub Action (#1806) * Updated inspect.yml * Updated pull-request.yml * Updated push.yml * Delete .github/workflows/inspect.yml * Updated push.yml * Updated pull-request.yml * Updated push.yml * Updated push.yml * feat: database transaction logging for all models (#1849) * Database transaction logging middleware * Review changes * updated .gitignore * logging middlware for all models * fix lint * fix format * fix failing tests * Upgraded `prettier` from version 2.8,8 to 3.2.5. (#1840) * Upgraded & formatting fix * Reverted `.eslintrc.json` file * Prettier format fix * Prettier format fix * Resolved merge conflicts * Created new data sample (#1786) * created new data sample * added exact pincodes * linting fix * lint fix in tests/resolvers/Query/actionItemsByOrganization.spec.ts * converting const to var to make the size of image variable and resolved conflict * upgraded prettier to 3.2.5 * unauthorized files changes removed --------- Co-authored-by: chiranjeev kundu <“[email protected]”> * Update .gitignore * Create .node-version * Update authorized-changes-detection.yml * Update INSTALLATION.md * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Update push.yml * Added server health check to github workflow (#1717) * Replace package vm2 with isolated-vm (#1532) * Replace package vm2 with isolated-vm * Removed package isolated-vm * chore(deps): bump follow-redirects from 1.15.3 to 1.15.4 (#1668) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4) --- 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> * added a check for server health * server health check incorporated after test * removed old environment variables * conflicts resolved * conflicts resolved * conflicts resolved * added usable env values instead of placeholders * small yaml correction --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Sarthak Patel <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: shankeleven <[email protected]> Co-authored-by: Siddhesh Bhupendra Kuakde <[email protected]> * Added tests for the file src/resolvers/Mutation/updateUserProfile.ts (#1861) * Added tests * Added tests --------- Co-authored-by: Siddhesh Bhupendra Kuakde <[email protected]> * Potential Privilege Escalation BugFix (#1852) * Replace package vm2 with isolated-vm (#1532) * Replace package vm2 with isolated-vm * Removed package isolated-vm * chore(deps): bump follow-redirects from 1.15.3 to 1.15.4 (#1668) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4) --- 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> * chore(deps): bump vite from 3.2.7 to 3.2.8 (#1724) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.2.7 to 3.2.8. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v3.2.8/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v3.2.8/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update README.md * Update pull-request.yml * Update INSTALLATION.md Adding information for MongoDB retry writes feature access. * Bug Fix Issue#1792 * Fix Issue#1792 * Conflicitng fix Issue#1792 * Conflicitng fix Issue#1792 * Conflicitng fix Issue#1792 * fixed code cov * fixed tests * fixed cov --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Sarthak Patel <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Peter Harrison <[email protected]> Co-authored-by: Crystian I <[email protected]> * Update push.yml * Update push.yml * Update ActionItemCategory.ts to test documentation workflow * Update push.yml * Update push.yml * Update copyToClipboard.ts * Update AgendaCategory.ts * Update push.yml * Revert "Potential Privilege Escalation BugFix (#1852)" (#1865) This reverts commit 95eaff3c78ed8d6db0103b2e4c24a80ece7ff70a. * Feature: Add Support for Event Invitees and Registrants (#1858) * updated eventAttendee model * Added mutation for invite and register for an event * Added mutations for the user to register for the event * update mutation of checkIn for event * Refactor code and fixes checkIn test file * Added test for inviteEventAttendee * Added test for registerEventAttendee and Register for Event * Added getEventAttendeeByEventId query and its test * Added Query getEventAttendee and its test * Fixes eslinting error * Fixes Prettier format error * feat: Dynamic Recurring Event Instances Generation during Queries (#1853) * create recurring event helpers and refactor * remove unnecessary file * add documentation and comments * add tests * fix comments * update generateRecurrenceRuleString function * speed up code * fix formatting * format fix * restore package.json * fix failing test * better implementation and faster code * minor refactoring * minor correction * fix imports * return single recurring instance * fix failing test * Revert "return single recurring instance" This reverts commit 60353fd63b9f5111683dfbc7694f446864c67a22. * Reapply "return single recurring instance" This reverts commit fc12a9947d3d4d2de1a2142316951c1d8368c649. * test commit * update test * fix test * convert to UTC dates * test commit with minor change * limit instance generation date according to the recurrence frequency * adjust for different timezones * remove unnecessary code * remove unnecessary formatting * update inputs * add tests * correct test * format files * update variable name * add dynamic recurring event instances generation during query * account for how many instances to generate based on recurrenceRule's specified count * add constant for query limit date * chore(deps): bump @graphql-codegen/typescript-resolvers (#1870) Bumps [@graphql-codegen/typescript-resolvers](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/resolvers) from 4.0.1 to 4.0.4. - [Release notes](https://github.com/dotansimha/graphql-code-generator/releases) - [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/resolvers/CHANGELOG.md) - [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/plugins/typescript/resolvers) --- updated-dependencies: - dependency-name: "@graphql-codegen/typescript-resolvers" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump husky from 9.0.10 to 9.0.11 (#1867) Bumps [husky](https://github.com/typicode/husky) from 9.0.10 to 9.0.11. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v9.0.10...v9.0.11) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: Add Filter and Sort for Action Items (#1855) * add custom filter and sort for action items * remove unnecessary file * add tests for where and sort * fix formatting * format files * restore INSTALLATION.md * Revert "Merge branch 'develop' of https://github.com/PalisadoesFoundation/talawa-api into action-items" This reverts commit 826f7ea2a27261d5882fd479c07aa4dac23d8c25, reversing changes made to 2710e0114b16ade4999a7b59714d3ff2b8ba3fb0. * Reapply "Merge branch 'develop' of https://github.com/PalisadoesFoundation/talawa-api into action-items" This reverts commit e8276667eba30b7b5041364d1139210fbe8e3db8. * Updated github actions to the latest versions (#1875) * Fixes #1559 * Fixes #1559 * Removed the ts-node dependency * Removed the ts-node dependency * Upgraded github actions to the latest versions --------- Co-authored-by: Peter Harrison <[email protected]> * Feat/funds (#1876) * created Fund model and mutations * created create and update mutation for fund * Made the session optional for database with replica set not configured. (#1836) * Made the session optional for database with no replica set * integrated hello command to check for replica set and removed previous changes * Added script to check replica set with logging and wrote test for it * Added additional check for setName property and updated the test --------- Co-authored-by: Aditya Agarwal <[email protected]> Co-authored-by: Eshaan Aggarwal <[email protected]> * Feat/fund2 (#1880) * created deleted and get queries * added test * added test for the queries and mutation * added files to index file * fix * added graphql connection utilities (#1883) * removed usage of any keyword from connection utilities, improved tsdoc comments (#1886) * updated tsdoc comments for connection utilities * removed `any` keyword from connection utlities * Update Comment.ts * chore(deps): bump @graphql-codegen/cli from 5.0.0 to 5.0.2 (#1891) Bumps [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli) from 5.0.0 to 5.0.2. - [Release notes](https://github.com/dotansimha/graphql-code-generator/releases) - [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md) - [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/graphql-codegen-cli) --- updated-dependencies: - dependency-name: "@graphql-codegen/cli" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump redis from 4.6.12 to 4.6.13 (#1892) Bumps [redis](https://github.com/redis/node-redis) from 4.6.12 to 4.6.13. - [Release notes](https://github.com/redis/node-redis/releases) - [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md) - [Commits](https://github.com/redis/node-redis/compare/[email protected]@4.6.13) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @graphql-tools/utils from 10.0.13 to 10.1.0 (#1893) Bumps [@graphql-tools/utils](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/utils) from 10.0.13 to 10.1.0. - [Release notes](https://github.com/ardatan/graphql-tools/releases) - [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/utils/CHANGELOG.md) - [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/[email protected]/packages/utils) --- updated-dependencies: - dependency-name: "@graphql-tools/utils" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @graphql-tools/resolvers-composition (#1895) Bumps [@graphql-tools/resolvers-composition](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/resolvers-composition) from 7.0.0 to 7.0.1. - [Release notes](https://github.com/ardatan/graphql-tools/releases) - [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/resolvers-composition/CHANGELOG.md) - [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/[email protected]/packages/resolvers-composition) --- updated-dependencies: - dependency-name: "@graphql-tools/resolvers-composition" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Feat/fund3 (#1888) * implemented all mutaiton and queries of campaing * created campaign pledge queries * merged * fix failing test * fix failing test * added more test * fix * made fund campaign nullable * feat: Update Single and Recurring Events (#1884) * add update event functionality for single events * add update all recurring event instances functionality * add functionality for updating this and following recurring event instances * modify updateSingleEvent.ts * restore getRecurringInstanceDates * modify updateThisAndFollowingInstances * minor modifications * add tests * add more docs and comments * restore schemas * update schemas * minor correction * update getData function * Removed deprecated package shortid (#1900) * Removed deprecated package shortid * Added type to error * Added a type to newImageFile * rename variable link to mediaUrl (#1585) * rename variable link to mediaUrl * Updated type of mediaUrl * refactor: make mediaUrl field required and created an input object for createAdvertisement * refactor: improved variable name and type of mediaUrl * refactor: mediaUrl should not be null * updated variable name and logic to store media files * updated schema.graphql * updated type advertisement * updated: update advertisement media api to accept file instead or media URL * updated update advertisement api * fix: failing tests * improved variable name * fix: formatting issues * created organization resolver for advertisement * fix: formatting issues * fix: failing tests and improved code coverage * improved code coverage * Improved code * fix: formatting issues * fix: type errors * fix: failing tests * Added check for user in deleteAdvertisement * removed unwanted removeAdvertisement mutation * implemented cursor based pagination for advertisements * fix: linting errors * Upgraded prettier * fix: lint errors * revert: unwanted changes * fix: failing tests * fix: formatting issues * improved field name and removed unwanted code --------- Co-authored-by: Siddhesh Bhupendra Kuakde <[email protected]> * Enforced Node v20 * Feat/fund4 (#1902) * implemented all mutaiton and queries of campaing * created campaign pledge queries * merged * fix failing test * fix failing test * added more test * fix * made fund campaign nullable * added more queries for funds * added additional queries * merged * added fund in organization * merged develop * fix * fix * fix formatting issue * Feat/fetch postby user (#1722) * added post in user type * 'fix * added test for user.post resolver * fix failing test * fix any type * fix: made the RECAPTCHA_SITE_KEY mandatory if RECAPTCHA_SITE_KEY is … (#1632) * fix: made the RECAPTCHA_SITE_KEY mandatory if RECAPTCHA_SITE_KEY is provided and fixed the duplication of congratulations message * fix: The script now verifies and displays if the recaptcha site key is already configured * fix: The script now verifies and displays if the recaptcha site key is already configured * fix: Update setup.ts * fix: Updated setup to handel comments and deleted parameters in .env * fix: Made MongoDB and Redis mandatory * fix: Fixed the redis url check functionality * feat: Added a prompt for node environment * feat: Added a warning for LAST_RESORT_SUPERADMIN_EMAIL * fix: Removed the Redis password being shown on the screen * Delete additional video * feat: Added confirmation prompts for Mongo DB and Redis * feat: Added comments for TsDoc * fix: added remaining comments * fix: Fixed merge confilcts and fixed a bug * fix: Fixed prompts * fix: Removed incorrect prompt for MongoDB * feat: Automated Redis setup * fix: Fixed SMTP and Mail configuration * fix: Fixed Redis URL being displayed on screen * fix: set the default for import sample data to no and fixed some tsdoc comments * fixed the structure of env.ts, redefined .env schema and made some type changes (#1719) * fixed the structure of env.ts to match .env.sample and redefined .env schema * Implemented suggested changes --------- Co-authored-by: Aditya Agarwal <[email protected]> * Update authorized-changes-detection.yml * Update authorized-changes-detection.yml * Update .gitignore * Update .gitignore * Update authorized-changes-detection.yml * Conversion of Cloud API Demo bash Scripts to Python (#1704) * feat: Converted all the scripts in scripts/cloud-api-demo to python * refactor: Added proper comments and linting * refactor: Added first line to specify the specific interpreter to use * Update README.md * Update pull-request.yml * Update push.yml * Update push.yml * Merge : inpect.yml into push.yml (#1718) * Merge : inpect.yml into push.yml * fixes github-ref to github.ref_name * Added needs-[push-workflow] to be success * Revert "Merge : inpect.yml into push.yml" (#1730) * implemented cursor based pagination * Update README.md * added test for missing lines * fix * added validation * implemented validation for connection argument * fixed failing test * fix * fix failing test case * added limit arg * fix code logic * added documentation * fixed failing test * fix limit * added more test * added more checks * fix failing test * fix failing test * fix failing test * fix failing test * fix failing test * fix failing test * fix * fix * fix linting * merged develop * fixed linting issue * fix * fixed failing test * added more test * merged * fix graphqlConnection * added test * made requested changes * fix * fix * fix failing test * changed postByOrganization * removed postByOrganization * fix * fix formating issue * made changes --------- Co-authored-by: Neyati <[email protected]> Co-authored-by: Aditya Agarwal <[email protected]> Co-authored-by: Aditya Agarwal <[email protected]> Co-authored-by: Peter Harrison <[email protected]> Co-authored-by: Vasu Jain <[email protected]> Co-authored-by: Alok Gupta <[email protected]> Co-authored-by: Eshaan Aggarwal <[email protected]> * Fix/fetch postby user (#1910) * added post in user type * 'fix * added test for user.post resolver * fix failing test * fix any type * fix: made the RECAPTCHA_SITE_KEY mandatory if RECAPTCHA_SITE_KEY is … (#1632) * fix: made the RECAPTCHA_SITE_KEY mandatory if RECAPTCHA_SITE_KEY is provided and fixed the duplication of congratulations message * fix: The script now verifies and displays if the recaptcha site key is already configured * fix: The script now verifies and displays if the recaptcha site key is already configured * fix: Update setup.ts * fix: Updated setup to handel comments and deleted parameters in .env * fix: Made MongoDB and Redis mandatory * fix: Fixed the redis url check functionality * feat: Added a prompt for node environment * feat: Added a warning for LAST_RESORT_SUPERADMIN_EMAIL * fix: Removed the Redis password being shown on the screen * Delete additional video * feat: Added confirmation prompts for Mongo DB and Redis * feat: Added comments for TsDoc * fix: added remaining comments * fix: Fixed merge confilcts and fixed a bug * fix: Fixed prompts * fix: Removed incorrect prompt for MongoDB * feat: Automated Redis setup * fix: Fixed SMTP and Mail configuration * fix: Fixed Redis URL being displayed on screen * fix: set the default for import sample data to no and fixed some tsdoc comments * fixed the structure of env.ts, redefined .env schema and made some type changes (#1719) * fixed the structure of env.ts to match .env.sample and redefined .env schema * Implemented suggested changes --------- Co-authored-by: Aditya Agarwal <[email protected]> * Update authorized-changes-detection.yml * Update authorized-changes-detection.yml * Update .gitignore * Update .gitignore * Update authorized-changes-detection.yml * Conversion of Cloud API Demo bash Scripts to Python (#1704) * feat: Converted all the scripts in scripts/cloud-api-demo to python * refactor: Added proper comments and linting * refactor: Added first line to specify the specific interpreter to use * Update README.md * Update pull-request.yml * Update push.yml * Update push.yml * Merge : inpect.yml into push.yml (#1718) * Merge : inpect.yml into push.yml * fixes github-ref to github.ref_name * Added needs-[push-workflow] to be success * Revert "Merge : inpect.yml into push.yml" (#1730) * implemented cursor based pagination * Update README.md * added test for missing lines * fix * added validation * implemented validation for connection argument * fixed failing test * fix * fix failing test case * added limit arg * fix code logic * added documentation * fixed failing test * fix limit * added more test * added more checks * fix failing test * fix failing test * fix failing test * fix failing test * fix failing test * fix failing test * fix * fix * fix linting * merged develop * fixed linting issue * fix * fixed failing test * added more test * merged * fix graphqlConnection * added test * made requested changes * fix * fix * fix failing test * changed postByOrganization * removed postByOrganization * fix * fix formating issue * made changes * fix error * fix formatting issue --------- Co-authored-by: Neyati <[email protected]> Co-authored-by: Aditya Agarwal <[email protected]> Co-authored-by: Aditya Agarwal <[email protected]> Co-authored-by: Peter Harrison <[email protected]> Co-authored-by: Vasu Jain <[email protected]> Co-authored-by: Alok Gupta <[email protected]> Co-authored-by: Eshaan Aggarwal <[email protected]> * Modified Tests for currentUserExists.ts (#1911) * Revert "Fix/fetch postby user (#1910)" (#1913) This reverts commit 41713abb566a8b76bc3ad7b4e6161a273ca42d79. * Revert "Revert "Fix/fetch postby user (#1910)" (#1913)" (#1914) This reverts commit 14301a757df747e8e1cfc9732d68d34fa38cfc85. * Refactored Setup.ts, created submodules, and wrote complete automated tests for Setup simulation. (#1896) * added testfile for checking env variable * Changed order for image size prompt in setup * Added test for checking getNodeEnvironment * created test for setNodeEnvironment * Created new mechanism for .env_test file * Added tests for redis-configuration * Refactored, and abstracted the functions in setup, wrote more tests * Wrote tests for setting up reCaptcha * Added tests for twoFactorAuth * Added tests for setImageUploadSize, smtp, superadmin * Refactored the importdata functions * Added tests for importing sample data * Added description for all the tests * Increased code coverage * Fixed some tests * Removed .env_test from being tracked * Fixed prettier issue * Updated vitest versions * Fixed error * Made some updates * Made changes to the tests * Updated importdata * updated package.json * Fixed prettier issue * Added missing packages * Made changes to the test * Made changes to packages * Fixed prettier issue * Made changes to tests, and files * Added tests for verifySmtp * Increased coverage for mongoDb tests * Increased coverage for mongoDb tests * feat: delete recurring events (#1917) * add delete recurring event functionality * corrections * add tests * add docs and comments * fixed image error (#1920) * fixed image error * fixed failing test * increased depth limit * fix test coverage * added more test * Add Event Image Support with validation (#1675) * Updated schema.graphql * Update Event.ts * Update inputs.ts * Update types.ts * Update generatedGraphQLTypes.ts * Update events.ts * Update createEvent.spec.ts * Update inputs.ts * updated upstream * Update createEvent.spec.ts * Update createEvent.ts * Update createEvent.ts * Update createEvent.ts * Update generatedGraphQLTypes.ts * Update createEvent.ts * Update generatedGraphQLTypes.ts * Update generatedGraphQLTypes.ts * Update createEvent.ts * Update createEvent.ts * Update createEvent.ts * Update createEvent.spec.ts * Update generatedGraphQLTypes.ts * error type defineeed * codecov * ....... * Update directMessageChat.spec.ts * Update events.ts * Update Event.ts * Update events.ts * Update createEvent.ts * nullable end date * Update forgotPassword.ts * Update forgotPassword.spec.ts * Update createEvent.ts * Revert "Update createEvent.ts" This reverts commit a422bc1979b96e0a1754768505591244a2218e31. * format fix #2 * updated image * covered tests * Fixed tests * Feature: Addition of Venue for Events (#1763) * added Venue model, added create, fetch and edit venue controllers * added delete venue controller * added tests for create, edit, delete and fetch (venuesInOrganization) * fixed type errors * removed unnecessary changes * removed venue property from Organization model, modified create, delete and edit controllers * added field based query for venues * updated tests * fixed lint * removed unused imports * fixed type imports * fixed lint error * fixed formatting * fixed formatting error * increased code cov * added required changes * removed requirement for orgId in editVenue * added query resolver for venue * fixed import types * fixed import * renamed organizationId to organization * changes in editVenue * upgraded prettier to perform merge * updated input fields * renamed field * removed venue from event * renamed _id to id --------- Co-authored-by: Eshaan Aggarwal <[email protected]> * Refactor: Advertisement functionality (#1919) * rename variable link to mediaUrl * Updated type of mediaUrl * refactor: make mediaUrl field required and created an input object for createAdvertisement * refactor: improved variable name and type of mediaUrl * refactor: mediaUrl should not be null * updated variable name and logic to store media files * updated schema.graphql * updated type advertisement * updated: update advertisement media api to accept file instead or media URL * updated update advertisement api * fix: failing tests * improved variable name * fix: formatting issues * created organization resolver for advertisement * fix: formatting issues * fix: failing tests and improved code coverage * improved code coverage * Improved code * fix: formatting issues * fix: type errors * fix: failing tests * Added check for user in deleteAdvertisement * removed unwanted removeAdvertisement mutation * implemented cursor based pagination for advertisements * fix: linting errors * Upgraded prettier * fix: lint errors * revert: unwanted changes * fix: failing tests * fix: formatting issues * improved field name and removed unwanted code * refactor: advertisements funtionality * fix: failing tests * fix: failing tests * fix: failing tests * improved: code coverage * fix: invalid URL error * fix: failing test --------- Co-authored-by: Siddhesh Bhupendra Kuakde <[email protected]> * Remove user from user family tests written (#1905) * Remove user from user family tests written * Linting fix * Linting fix --------- Co-authored-by: Manik2708 <Manik2708> Co-authored-by: Peter Harrison <[email protected]> * chore(deps): bump @types/node from 20.11.21 to 20.11.24 (#1940) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.21 to 20.11.24. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump express from 4.18.2 to 4.18.3 (#1943) Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.18.3. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.18.2...4.18.3) --- updated-dependencies: - dependency-name: express dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump nodemailer from 6.9.10 to 6.9.11 (#1941) Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.9.10 to 6.9.11. - [Release notes](https://github.com/nodemailer/nodemailer/releases) - [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodemailer/nodemailer/compare/v6.9.10...v6.9.11) --- updated-dependencies: - dependency-name: nodemailer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * changed eslint typescript no explicit any rule to warn (#1945) * Fixes:Event End time can be earlier than Start time (#1932) * added validation error for event time * validation added for update event * added image upload tests * removing logs * removing logs --------- Co-authored-by: wasif <[email protected]> Co-authored-by: Peter Harrison <[email protected]> * Bug Fix - Incorrect validation for organization membership in addEventAttendee resolver (#1909) * Replace package vm2 with isolated-vm (#1532) * Replace package vm2 with isolated-vm * Removed package isolated-vm * chore(deps): bump follow-redirects from 1.15.3 to 1.15.4 (#1668) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4) --- 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> * chore(deps): bump vite from 3.2.7 to 3.2.8 (#1724) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.2.7 to 3.2.8. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v3.2.8/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v3.2.8/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update README.md * Update pull-request.yml * Update INSTALLATION.md Adding information for MongoDB retry writes feature access. * Bug Fix Issue#1792 * Fix Issue#1792 * Conflicitng fix Issue#1792 * Conflicitng fix Issue#1792 * Conflicitng fix Issue#1792 * fixed code cov * fixed tests * fixed cov * fixed cov * fixed prettier * fixed prettier * fixed coverage * fixed req changes * bugfix 1856 * bugfix 1856 * bugfix 1856 * bugfix 1856 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Sarthak Patel <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Peter Harrison <[email protected]> Co-authored-by: Crystian I <[email protected]> * takshakmudgal/issue1950 (#1955) * fix: INSTALLATION.md missing steps for generating app password added * Update INSTALLATION.md * feat : Creating support for event agendas : Agenda Item CRUD (#1952) * Added model for agenda item * Added typedefs for agenda items * Added constants * fIXed typedefs * test * test * Added typedefs for mutations * test * test * Fixed linting errors * Fixed formatting errors * Fixed one failing test * fixed another failing tests because of some typos --------- Co-authored-by: Peter Harrison <[email protected]> * Update @typescript-eslint/parser to 7.1.0 (#1934) * chore: update @typescript-eslint/parser 7.1.0 * Update @typescript-eslint/eslint-plugin to 7.1.0 * Update directMessageChat.spec.ts Updated the file as per the latest @typescript-eslint/parser syntax. * Refactor directMessageChat.spec.ts with the Develop Branch Update --------- Co-authored-by: Peter Harrison <[email protected]> * Fixes the workflow for revoking a block on a user (un-blocking). (#1890) * Updated blockUser.ts * Updated sendMembershipRequest.ts * Updated unblockUser.ts * Added tests --------- Co-authored-by: Peter Harrison <[email protected]> * Added tests for src/resolvers/Query/helperFunctions/getSort.ts (#1946) * Modified Tests for currentUserExists.ts * added tests for getSort.ts --------- Co-authored-by: Peter Harrison <[email protected]> * Test: Organization/posts.ts (#1949) * Upgraded & formatting fix * Reverted `.eslintrc.json` file * Prettier format fix * Prettier format fix * Resolved merge conflicts * 100% code coverage for Organization/post.ts * Merge branch 'develop' into test/Organization/posts --------- Co-authored-by: Peter Harrison <[email protected]> * createMember tests written (#1956) Co-authored-by: Manik2708 <Manik2708> * chore(deps): bump express-rate-limit from 7.1.5 to 7.2.0 (#1981) Bumps [express-rate-limit](https://github.com/express-rate-limit/express-rate-limit) from 7.1.5 to 7.2.0. - [Release notes](https://github.com/express-rate-limit/express-rate-limit/releases) - [Commits](https://github.com/express-rate-limit/express-rate-limit/compare/v7.1.5...v7.2.0) --- updated-dependencies: - dependency-name: express-rate-limit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @typescript-eslint/parser from 7.1.0 to 7.1.1 (#1982) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.1.0 to 7.1.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump nodemailer from 6.9.11 to 6.9.12 (#1983) Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.9.11 to 6.9.12. - [Release notes](https://github.com/nodemailer/nodemailer/releases) - [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodemailer/nodemailer/compare/v6.9.11...v6.9.12) --- updated-dependencies: - dependency-name: nodemailer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @types/node from 20.11.24 to 20.11.25 (#1984) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.24 to 20.11.25. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * 100% code coverage for `deleteAdvertisement.spec.ts` (#1980) * feat : Creating support for event agendas : Agenda Section CRUD (#1960) * Added model for agenda item * Added typedefs for agenda items * Added constants * fIXed typedefs * test * test * Added typedefs for mutations * test * test * Fixed linting errors * Fixed formatting errors * Fixed one failing test * fixed another failing tests because of some typos * Added model for agenda section * Added agenda section typedefs * Some changes in typedefs * Added some field level resolvers for agenda sections * Removed some code from constants.ts * fixed failing test * Added the removed code again * Reduced some code * Added typedefs again * Added exception in pull_req.yml * Fixed formatting issues * Fixed some tests * Added some changes to tests * Added one missing test * Ensured 100% test code coverage * Fixed failing tests * Added exception for counting the number of lines * Fixed format checks * add default action item categories in sample-data (#1995) * Fix: Action items corrections & cleanup (#2001) * add an error while creating an action item for a disabled action item category * add error for existing action item category in updateActionItemCategory * remove unnecessary queries * Added logic for Admins to add members to their Organizations (#2004) * Implemented functionality for allowing adminsfor adding members, and fixed lint errors * Wrote tests for the added function * Added support for pre-login imagery (#1935) * added support for pre-login imagery update * added sample data for community * excluded constants.ts and types.ts file from count lines PR workflow * fixes * fixes * modified community query * fixed tests of updateUserRoleInOrganization.ts * Update pull-request.yml * chore(deps): bump winston from 3.11.0 to 3.12.0 (#2021) Bumps [winston](https://github.com/winstonjs/winston) from 3.11.0 to 3.12.0. - [Release notes](https://github.com/winstonjs/winston/releases) - [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md) - [Commits](https://github.com/winstonjs/winston/compare/v3.11.0...v3.12.0) --- updated-dependencies: - dependency-name: winston dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @types/lodash from 4.14.202 to 4.17.0 (#2023) Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.202 to 4.17.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) --- updated-dependencies: - dependency-name: "@types/lodash" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump axios from 1.6.7 to 1.6.8 (#2024) Bumps [axios](https://github.com/axios/axios) from 1.6.7 to 1.6.8. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.6.7...v1.6.8) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test * Initial commit * Removed some linting errors and refactored some files * fixed the linting error * fixed the linting errors * fixed merge conflict * fixed recuring event files * fixed formatting test * fixed formatting test * fixed formatting test * fix testSuperAdmin function: * refactord files * fix lint * fix updateAdvertisement * fix updateAdvertisement test * fix linting error * Minor changes * fix linting error * fixed getSort failing test * fix setup test * updated tooglePostPin.ts * fixed setup file * fixed linting error * fixed user exists test * fix failing test and sample data * fix formatting error * fixed advertisement test * fixed create, edit and delete Venue mutations * fixed failing test * fixed liniting error * fixed failing test --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Peter Harrison <[email protected]> Co-authored-by: TASNEEM KOUSHAR <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anvita Mahajan <[email protected]> Co-authored-by: Paras Awasthi <[email protected]> Co-authored-by: Meetul Rathore <[email protected]> Co-authored-by: Lakshya Satpal <[email protected]> Co-authored-by: Antriksh Dangi <[email protected]> Co-authored-by: Lakshya <[email protected]> Co-authored-by: Priyanshu Bartwal <[email protected]> Co-authored-by: Chiranjeev Kumar <[email protected]> Co-authored-by: chiranjeev kundu <“[email protected]”> Co-authored-by: Shashank <[email protected]> Co-authored-by: Sarthak Patel <[email protected]> Co-authored-by: shankeleven <[email protected]> Co-authored-by: Siddhesh Bhupendra Kuakde <[email protected]> Co-authored-by: Krishna Chandhok <[email protected]> Co-authored-by: Crystian I <[email protected]> Co-authored-by: Alok Gupta <[email protected]> Co-authored-by: Peter Harrison <[email protected]> Co-authored-by: ANKIT VARSHNEY <[email protected]> Co-authored-by: Aditya Agarwal <[email protected]> Co-authored-by: Aditya Agarwal <[email protected]> Co-authored-by: Eshaan Aggarwal <[email protected]> Co-authored-by: xoldyckk <[email protected]> Co-authored-by: Sahil <[email protected]> Co-authored-by: Disha Talreja <[email protected]> Co-authored-by: Neyati <[email protected]> Co-authored-by: Vasu Jain <[email protected]> Co-authored-by: Aarish Shah Mohsin <[email protected]> Co-authored-by: Anubhav Banerjee <[email protected]> Co-authored-by: Shekhar Patel <[email protected]> Co-authored-by: Arpit Anand <[email protected]> Co-authored-by: Manik Mehta <[email protected]> Co-authored-by: Wasif <[email protected]> Co-authored-by: wasif <[email protected]> Co-authored-by: Takshak Mudgal <[email protected]> Co-authored-by: Aman Singh <[email protected]> Co-authored-by: kanhaiya04 <[email protected]> Co-authored-by: Ankit varshney <[email protected]> Co-authored-by: M-Vamshi <[email protected]> Co-authored-by: adi790uu <[email protected]>
- Loading branch information