-
-
Notifications
You must be signed in to change notification settings - Fork 885
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
Added server health check to github workflow #1717
Added server health check to github workflow #1717
Conversation
* Replace package vm2 with isolated-vm * Removed package isolated-vm
…oundation#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](follow-redirects/follow-redirects@v1.15.3...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Our Pull Request Approval ProcessWe have these basic policies to make the approval process smoother for our volunteer team. Testing Your CodePlease make sure your code passes all tests. Our test code coverage system will fail if these conditions occur:
The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing. ReviewersDo not assign reviewers. Our Queue Monitors will review your PR and assign them.
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
.github/workflows/pull-request.yml
Outdated
SMTP_PORT: "" | ||
SMTP_SSL_TLS: "" | ||
apiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
appId: "1:XXXXXXXXXXXX:android:XXXXXXXXXXXXXXXXXXXXXX" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many of these environment variables are no longer used
.github/workflows/pull-request.yml
Outdated
mongo: | ||
image: mongo:4.4 | ||
options: >- | ||
--health-cmd mongo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to start mongo again if it was started already when testing the application?
I'm not sure whether the jobs are independent. The less steps we have the faster the testing so we need to verify.
.github/workflows/pull-request.yml
Outdated
- name: Set up Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
|
||
- name: Install dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly, do we need to checkout again and reinstall the dependencies.
i thought the checks should be run in parallel, if it's slowing down the setup, why not have all checks be done in a single action? |
apologies but i couldn't get what you meant |
I asked to have the API starting verification done after all the tests pass instead of in parallel because if the tests fail, it doesn't make sense to test the API startup. |
Please fix the conflicting files |
1 similar comment
Please fix the conflicting files |
sir kindly merge this PR as its been more than two weeks and i want to work on issue #1390 but can't get it assigned |
Please fix the conflicting files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
.github/workflows/pull-request.yml
Outdated
projectId: "appname-XXXXXX" | ||
storageBucket: "appname-XXXXXX.appspot.com" | ||
iOSapiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
iOSappId: "1:XXXXXXXXXXXX:ios:XXXXXXXXXXXXXXXXXXXXXX" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no tokens defined:
- ACCESS_TOKEN_SECRET
- REFRESH_TOKEN_SECRET
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tried starting the server with these .env
values on your local system?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
.github/workflows/pull-request.yml
Outdated
# ACCESS_TOKEN_SECRET: ${{ secrets.ACCESS_TOKEN_SECRET }} | ||
# REFRESH_TOKEN_SECRET: ${{ secrets.REFRESH_TOKEN_SECRET }} | ||
RECAPTCHA_SITE_KEY: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
RECAPTCHA_SECRET_KEY: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the app start when using these "XXXXXXXXXXXXXXXXXXXXXXXXXX" RECAPTCHA values?
Please fix the conflicting files |
Please address my previous questions. It we are testing the startup of the server, then the parameters you are giving it must work. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1717 +/- ##
========================================
Coverage 98.36% 98.36%
========================================
Files 254 254
Lines 15074 15074
Branches 1234 1236 +2
========================================
Hits 14827 14827
Misses 216 216
Partials 31 31 ☔ View full report in Codecov by Sentry. |
apologies for the confusion sir but which parameters in specific are we talking about here? |
.github/workflows/pull-request.yml
Outdated
RECAPTCHA_SITE_KEY: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
RECAPTCHA_SECRET_KEY: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
MAIL_USERNAME: "abc@gmail.com" | ||
MAIL_PASSWORD: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the app start when using this "XXXXXXXXXXXXXXXXXXXXXXXXXX" value?
If the app doesn't start using these values, then this isn't a valid test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments.
|
@shankeleven add some real values in the YAML file so that the health check would work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shankeleven add some real values in the YAML file so that the health check would work.
apologies but i didn't understand the so that it would work part |
You haven't given us the confidence that this would work for the benefit of the project as a whole. |
sir actually this PR wasn't about getting the API running but to add a check to ensure that the apollo server starts healthy
but what you propose actually makes more sense , i will update the env values to realistic/usable ones using github secrets |
i have changed the values , if there are any further changes needed, would be happy to do them |
Please fix type erros |
pardon sir, i couldn't locate the typo |
NOTE Read very carefully
This will help to reduce the number of future merge conflicts for your PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to merge. As it is checking the server compiles or not. It should work fine.
2e2bc0d
into
PalisadoesFoundation:develop
…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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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/typescript@4.0.4/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] <support@github.com> 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] <support@github.com> 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 <“chiranjeevkundu2000@gmail.com”> * 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] <support@github.com> 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] <support@github.com> Co-authored-by: Sarthak Patel <76515568+Community-Programmer@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: shankeleven <shashank110702@gmail.com> Co-authored-by: Siddhesh Bhupendra Kuakde <littlelord124@gmail.com> * Added tests for the file src/resolvers/Mutation/updateUserProfile.ts (#1861) * Added tests * Added tests --------- Co-authored-by: Siddhesh Bhupendra Kuakde <littlelord124@gmail.com> * 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> Co-authored-by: Sarthak Patel <76515568+Community-Programmer@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Peter Harrison <16875803+palisadoes@users.noreply.github.com> Co-authored-by: Crystian I <60124535+Cioppolo14@users.noreply.github.com> * 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/typescript-resolvers@4.0.4/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] <support@github.com> 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] <support@github.com> 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 <peter@colovore.com> * 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 <adi790u@Adityas-MacBook-Air.local> Co-authored-by: Eshaan Aggarwal <96648934+EshaanAgg@users.noreply.github.com> * 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/cli@5.0.2/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] <support@github.com> 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/redis@4.6.12...redis@4.6.13) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 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/utils@10.1.0/packages/utils) --- updated-dependencies: - dependency-name: "@graphql-tools/utils" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 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/resolvers-composition@7.0.1/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] <support@github.com> 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 <littlelord124@gmail.com> * 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 <adi790u@Adityas-MacBook-Air.local> * 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 <116624667+Doraemon012@users.noreply.github.com> Co-authored-by: Aditya Agarwal <132701661+adi790uu@users.noreply.github.com> Co-authored-by: Aditya Agarwal <adi790u@Adityas-MacBook-Air.local> Co-authored-by: Peter Harrison <16875803+palisadoes@users.noreply.github.com> Co-authored-by: Vasu Jain <vasujain275@gmail.com> Co-authored-by: Alok Gupta <alokgupta1560@gmail.com> Co-authored-by: Eshaan Aggarwal <96648934+EshaanAgg@users.noreply.github.com> * 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 <adi790u@Adityas-MacBook-Air.local> * 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 <116624667+Doraemon012@users.noreply.github.com> Co-authored-by: Aditya Agarwal <132701661+adi790uu@users.noreply.github.com> Co-authored-by: Aditya Agarwal <adi790u@Adityas-MacBook-Air.local> Co-authored-by: Peter Harrison <16875803+palisadoes@users.noreply.github.com> Co-authored-by: Vasu Jain <vasujain275@gmail.com> Co-authored-by: Alok Gupta <alokgupta1560@gmail.com> Co-authored-by: Eshaan Aggarwal <96648934+EshaanAgg@users.noreply.github.com> * 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 <96648934+EshaanAgg@users.noreply.github.com> * 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 <littlelord124@gmail.com> * 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 <16875803+palisadoes@users.noreply.github.com> * 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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 <kareem@192.168.1.14> Co-authored-by: Peter Harrison <16875803+palisadoes@users.noreply.github.com> * 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> Co-authored-by: Sarthak Patel <76515568+Community-Programmer@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Peter Harrison <16875803+palisadoes@users.noreply.github.com> Co-authored-by: Crystian I <60124535+Cioppolo14@users.noreply.github.com> * 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 <16875803+palisadoes@users.noreply.github.com> * 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 <16875803+palisadoes@users.noreply.github.com> * 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 <16875803+palisadoes@users.noreply.github.com> * 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 <16875803+palisadoes@users.noreply.github.com> * 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 <16875803+palisadoes@users.noreply.github.com> * 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> Co-authored-by: Peter Harrison <16875803+palisadoes@users.noreply.github.com> Co-authored-by: TASNEEM KOUSHAR <imatasneemkoushar@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anvita Mahajan <78889572+Anvita0305@users.noreply.github.com> Co-authored-by: Paras Awasthi <121304240+i-m-Paras@users.noreply.github.com> Co-authored-by: Meetul Rathore <meetulrathore98@gmail.com> Co-authored-by: Lakshya Satpal <81241551+LakshyaSatpal@users.noreply.github.com> Co-authored-by: Antriksh Dangi <132576984+antriksh-9@users.noreply.github.com> Co-authored-by: Lakshya <81241551+lakshz@users.noreply.github.com> Co-authored-by: Priyanshu Bartwal <110045644+git-init-priyanshu@users.noreply.github.com> Co-authored-by: Chiranjeev Kumar <chiranjeevkundu2000@gmail.com> Co-authored-by: chiranjeev kundu <“chiranjeevkundu2000@gmail.com”> Co-authored-by: Shashank <117587128+shankeleven@users.noreply.github.com> Co-authored-by: Sarthak Patel <76515568+Community-Programmer@users.noreply.github.com> Co-authored-by: shankeleven <shashank110702@gmail.com> Co-authored-by: Siddhesh Bhupendra Kuakde <littlelord124@gmail.com> Co-authored-by: Krishna Chandhok <52276473+krishna619@users.noreply.github.com> Co-authored-by: Crystian I <60124535+Cioppolo14@users.noreply.github.com> Co-authored-by: Alok Gupta <alokgupta1560@gmail.com> Co-authored-by: Peter Harrison <peter@colovore.com> Co-authored-by: ANKIT VARSHNEY <132201033+AVtheking@users.noreply.github.com> Co-authored-by: Aditya Agarwal <132701661+adi790uu@users.noreply.github.com> Co-authored-by: Aditya Agarwal <adi790u@Adityas-MacBook-Air.local> Co-authored-by: Eshaan Aggarwal <96648934+EshaanAgg@users.noreply.github.com> Co-authored-by: xoldyckk <xoldyckk@gmail.com> Co-authored-by: Sahil <135227614+Sahi1l-Kumar@users.noreply.github.com> Co-authored-by: Disha Talreja <dishatalreja1202@gmail.com> Co-authored-by: Neyati <116624667+Doraemon012@users.noreply.github.com> Co-authored-by: Vasu Jain <vasujain275@gmail.com> Co-authored-by: Aarish Shah Mohsin <aarishshah1@gmail.com> Co-authored-by: Anubhav Banerjee <76914348+Anubhav-2003@users.noreply.github.com> Co-authored-by: Shekhar Patel <90516956+duplixx@users.noreply.github.com> Co-authored-by: Arpit Anand <49762303+wingman47@users.noreply.github.com> Co-authored-by: Manik Mehta <mehtamanik96@gmail.com> Co-authored-by: Wasif <119349657+wasifkareem@users.noreply.github.com> Co-authored-by: wasif <kareem@192.168.1.14> Co-authored-by: Takshak Mudgal <114814639+takshakmudgal@users.noreply.github.com> Co-authored-by: Aman Singh <chandel.s.aman@gmail.com> Co-authored-by: kanhaiya04 <kanhaiyayadav9999@gmail.com> Co-authored-by: Ankit varshney <ankit2210017@akgec.ac.in> Co-authored-by: M-Vamshi <21211a05f1@bvrit.ac.in> Co-authored-by: adi790uu <adi37068@gmail.com>
What kind of change does this PR introduce?
github workflow
Issue Number:
solves #1343
Did you add tests for your changes?
no
Summary
added a server health check in ci/cd that checks whether the apollo server is running or not
Have you read the contributing guide?
yes