Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Handling Sample-data import for Docker #2683

Closed

Conversation

Suyash878
Copy link

What kind of change does this PR introduce?

Bug fix

Issue Number:

Fixes #2270

Did you add tests for your changes?

No

Snapshots/Videos:

image

If relevant, did you update the documentation?

Not sure

Summary

The setup script will now prompt the user when it starts the process for sample data import provided the user is using Docker.

Does this PR introduce a breaking change?

No

Other information

My change basically introduces an entry point bash script which runs the command npm run import:sample-data , the script gets generated with the name entrypoint.sh which on successful execution imports the sample data without any errors.

Have you read the contributing guide?

Yes

dependabot bot and others added 30 commits September 9, 2024 12:50
…ndation#2513)

Bumps [graphql-markdown](https://github.com/exogen/graphql-markdown) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/exogen/graphql-markdown/releases)
- [Commits](exogen/graphql-markdown@v7.0.0...v7.1.0)

---
updated-dependencies:
- dependency-name: graphql-markdown
  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>
…tion#2514)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.2 to 22.5.4.
- [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>
…ndation#2516)

Bumps [@types/yargs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/yargs) from 17.0.32 to 17.0.33.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/yargs)

---
updated-dependencies:
- dependency-name: "@types/yargs"
  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>
…ion#2517)

Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 8.2.2 to 9.0.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](open-cli-tools/concurrently@v8.2.2...v9.0.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Added the field identifier

* fixed issues
* Fixed setup script

* Update package-lock.json

* Fixed linting error
* Added the eslint_disable_check.py script

* checking if it throws linting error

* checking if it throws linting error

* Update setup.ts

Once i remove the eslint-disable comment it passes the tests
…doesFoundation#2536)

Bumps [typedoc-plugin-markdown](https://github.com/typedoc2md/typedoc-plugin-markdown/tree/HEAD/packages/typedoc-plugin-markdown) from 4.2.3 to 4.2.7.
- [Release notes](https://github.com/typedoc2md/typedoc-plugin-markdown/releases)
- [Changelog](https://github.com/typedoc2md/typedoc-plugin-markdown/blob/main/packages/typedoc-plugin-markdown/CHANGELOG.md)
- [Commits](https://github.com/typedoc2md/typedoc-plugin-markdown/commits/[email protected]/packages/typedoc-plugin-markdown)

---
updated-dependencies:
- dependency-name: typedoc-plugin-markdown
  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>
Bumps [tsx](https://github.com/privatenumber/tsx) from 4.19.0 to 4.19.1.
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](privatenumber/tsx@v4.19.0...v4.19.1)

---
updated-dependencies:
- dependency-name: tsx
  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>
…ironments (GSoC'24) (PalisadoesFoundation#2476)

* Added script for Minio installation and validation

- Implemented script to download and install Minio based on the platform
- Checking if Minio is already installed before attempting installation
- Updating PATH environment variable to include Minio directory

* Updated .gitignore, .dockerignore, and package.json

- Added data directory to .gitignore to exclude MinIO data files.
- Updated .dockerignore to ignore MinIO data files.
- Modified package.json to add and update npm scripts:
  - Added 'minio:check' script to install and check MinIO.
  - Added 'dev:with-minio' script for concurrent development with MinIO.
  - Added 'start:with-minio' script to start the server with MinIO.

* Updated Docker Compose and environment configuration for MinIO

- Updated docker-compose.dev.yml and docker-compose.prod.yml to include MinIO setup.
  - Configured MinIO service with appropriate settings for development and production environments.

- Modified .env.sample to include MinIO-specific environment variables.
  - Added variables for MinIO configuration to the sample environment file.

* Implemented MinIO configuration function and added corresponding tests

- Added configureMinio function to prompt for MinIO configuration and update environment variables based on user input or defaults.
- Updated environment variables in .env file based on the configuration.
- Added tests to validate MinIO configuration functionality.

* Updated create_env.py to include the MinIO-specific environment variables

* Updated environment schema to include MinIO-specific variables

- Added MinIO-specific environment variables to envSchema.
- Includes MINIO_ROOT_USER, MINIO_ROOT_PASSWORD, MINIO_BUCKET, and MINIO_ENDPOINT.

* Updated INSTALLATION.md to include MinIO setup and configuration instructions

- Added details for setting up MinIO locally and using Docker.
- Included environment variable configurations specific to MinIO.

* Re-added previously overwritten lines in the Docker Compose file for the development environment.

* Fixes: Added error handling for MinIO installation and PATH updates

* Fixes: Reverting recent changes to schema.graphql, restoring previous code.

* Ensured database is dropped before importing default or sample data

* Fixes: Fixed the linting error

* Updated the setup script

- Included Minio installation check, prompt and installation in talawa-api setup
- Updated the installation checks for MinIo
- Modularised the code to isolate the environment

* Added tests for MinIo checks and installation.

* Updated logs for setup and installation.

* Updated setup script and documentation

- Made MinIO local data directory configurable using env var
- Setup also includes changing the path to the directory
- Added test

* Fixed the tests for setPathEnvVar

* Fixes: Fixed the tests for isMinioInstalled to 100% coverage

* Fixes: Fixed the tests for installMinio to 100% coverage

* Fixes: Coderabbit fixes.
- Updated the documentation in .env.sample and setup

* Fixes: Added TSDoc comments

* Fixes: Coderabbit fixes.
- Updated the documentation.
- Updated test to cover the missing lines.

* Fixes: Removed an unnecessary test

* Fix: Lint error

* Fixes: removed eslint-disable from setup script and added override for no-restricted-imports

- Removed all eslint-disable statements from the setup.ts script to comply with project standards.
- Added ESLint override for no-restricted-imports rule specifically for setup.ts to allow necessary imports from src directory.

* Refactored askForTransactionLogPath to use loop instead of recursion
…Foundation#2543)

Bumps [@types/jsonwebtoken](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jsonwebtoken) from 9.0.6 to 9.0.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jsonwebtoken)

---
updated-dependencies:
- dependency-name: "@types/jsonwebtoken"
  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>
…dation#2544)

Bumps [@faker-js/faker](https://github.com/faker-js/faker) from 8.4.1 to 9.0.1.
- [Release notes](https://github.com/faker-js/faker/releases)
- [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md)
- [Commits](faker-js/faker@v8.4.1...v9.0.1)

---
updated-dependencies:
- dependency-name: "@faker-js/faker"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…Foundation#2545)

Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 2.0.5 to 2.1.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.1/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  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>
…ost. (PalisadoesFoundation#2507)

* fixed likedby image issue

* fixed likedby image issue

* fixed likedby firstName and lastName issue

* Added tests

* fixing linting errors

* fixing errors with test

* removing unwanted files

* Update docker-compose.prod.yaml

* Update .coderabbit.yaml

* Update .coderabbit.yaml

* Update README.md

* files

* file

* hlast

* last

* hlast
Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.7.7.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.7.4...v1.7.7)

---
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>
Bumps [helmet](https://github.com/helmetjs/helmet) from 7.1.0 to 8.0.0.
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](helmetjs/helmet@v7.1.0...v8.0.0)

---
updated-dependencies:
- dependency-name: helmet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…oesFoundation#2559)

Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.29.1 to 2.30.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](import-js/eslint-plugin-import@v2.29.1...v2.30.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  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>
…ion#2560)

Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](open-cli-tools/concurrently@v9.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: concurrently
  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>
…sFoundation#2546)

Bumps [@types/validator](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/validator) from 13.12.0 to 13.12.2.
- [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>
…#2566)

Bumps [winston](https://github.com/winstonjs/winston) from 3.14.2 to 3.15.0.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](winstonjs/winston@v3.14.2...v3.15.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>
…Foundation#2567)

Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.2/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  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>
…oesFoundation#2568)

Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](import-js/eslint-plugin-import@v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  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>
…sadoesFoundation#2569)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.0.1 to 8.8.0.
- [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/v8.8.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  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>
…oundation#2570)

Bumps [express-rate-limit](https://github.com/express-rate-limit/express-rate-limit) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/express-rate-limit/express-rate-limit/releases)
- [Commits](express-rate-limit/express-rate-limit@v7.4.0...v7.4.1)

---
updated-dependencies:
- dependency-name: express-rate-limit
  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>
…oesFoundation#2420)

* Updated subscriptions and added mutations for directChat and groupChat

* Update index.ts

* Update messageSentToDirectChat.ts

* Update createDirectChat.spec.ts

* Update createDirectChat.spec.ts

* fix: linting errors

* fix: lint errors

* fix: formatting issues

* fix: formatting issues

* fix: test cases

* fix test cases

* Update messageSentToDirectChat.ts

* Update messageSentToDirectChat.ts

* added test cases for query directChatById

* Update directChatById.spec.ts

* Update directChatById.spec.ts

* Update directChatById.spec.ts

* Added test cases

* fix: test cases

* fix: tests

* fix test cases

* added support to reply to direct chat and group chat

* fix: test cases

* removed console logs

* Removed unwanted code

* added test cases

* removed unwanted comments

* fix: linting errors'

---------

Co-authored-by: Disha Talreja <[email protected]>
* Migrating to eslint.config.js

* Resolving conflicts

* Resolving Dependency conflict

* Removing the dev and license keys to resolve conflict

* Removing the dev and license key for eslint/eslintrc

* Resolving the conflicts in the package.json file and modifying the eslint.config.js file to handle the global variables

* resolving package conflicts

* Quoting the 'import' property name to avoid syntax errors

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

* Apply suggestions from code review

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

* bringing package-lock and package.json in sync

* Updating package-lock.json

* Commiting coderabbitai suggestion

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

---------

Co-authored-by: suyash <suyashmishra145.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
dependabot bot and others added 24 commits October 22, 2024 11:16
…tion#2609)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.5 to 22.7.8.
- [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>
…Foundation#2612)

* add addPeopleToTag functionality

* lint fix

* improve code

* minor correction
…on#2608)

* updated google recaptcha image in installation.md

* chore(deps): bump @types/lodash from 4.17.10 to 4.17.12 (PalisadoesFoundation#2603)

Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.10 to 4.17.12.
- [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-patch
...

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

* chore(deps): bump date-fns from 3.6.0 to 4.1.0 (PalisadoesFoundation#2605)

Bumps [date-fns](https://github.com/date-fns/date-fns) from 3.6.0 to 4.1.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](date-fns/date-fns@v3.6.0...v4.1.0)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 (PalisadoesFoundation#2607)

Bumps [@graphql-tools/resolvers-composition](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/resolvers-composition) from 7.0.1 to 7.0.2.
- [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>

* chore(deps): bump @types/node from 22.7.5 to 22.7.8 (PalisadoesFoundation#2609)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.5 to 22.7.8.
- [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>

* deleted the existing file

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…n#2616)

* add addPeopleToTag functionality

* lint fix

* improve code

* minor correction

* add tag actions

* fix

* types change

* fix linting error

* fix linting

* corrections

* more corrections

* minor change

* variable name fix
…ndation#2622)

Bumps [graphql-upload](https://github.com/jaydenseric/graphql-upload) from 16.0.2 to 17.0.0.
- [Release notes](https://github.com/jaydenseric/graphql-upload/releases)
- [Changelog](https://github.com/jaydenseric/graphql-upload/blob/master/changelog.md)
- [Commits](jaydenseric/graphql-upload@v16.0.2...v17.0.0)

---
updated-dependencies:
- dependency-name: graphql-upload
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…sadoesFoundation#2620)

Bumps [@types/express-rate-limit](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express-rate-limit) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express-rate-limit)

---
updated-dependencies:
- dependency-name: "@types/express-rate-limit"
  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>
…ndation#2618)

Bumps [graphql-markdown](https://github.com/exogen/graphql-markdown) from 7.1.0 to 7.3.0.
- [Release notes](https://github.com/exogen/graphql-markdown/releases)
- [Commits](exogen/graphql-markdown@v7.1.0...v7.3.0)

---
updated-dependencies:
- dependency-name: graphql-markdown
  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>
…isadoesFoundation#2619)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.8.1 to 8.11.0.
- [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/v8.11.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  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>
Bumps [uuid](https://github.com/uuidjs/uuid) from 10.0.0 to 11.0.1.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](uuidjs/uuid@v10.0.0...v11.0.1)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rotected-files-pr" is added (PalisadoesFoundation#2626)

* update Check-Unauthorized-Changes in pull-request.yml to allow when GitHub action to be ignored label is added

* Update pull-request.yml to ignore github actions when label is added

* rename  label name `ignore-protected-files` to ` ignore-sensitive-files `

---------

Co-authored-by: Vamshi Maskuri <[email protected]>
* fix: adding renovate bot

* fix: liniting error

* fix: formatting json

* fix: formatting json

* fix: formatting json
…Foundation#2629)

* fix: removed all references to direct chat and group chat

* fix: documentation and test description
)

* implement tagsAssignedWith connection on the User schema

* fix OrganizationTagUser indexing

* add ancestorTags field and resolver on the UserTag schema

* add user tags filter and sort

* add error handling to parseWhere and parseSortedBy

* add tests

* minor correction

* change utility function names

* change error paths

* remove getUserTagAncestors query

* update TagUser model to include organizationId

* fix tests

* add ts-doc comments

* fix formatting

* add coderabbitai suggested changes

* coderabbitai changes

* restore package.json

* more changes

* move userTags pagination utils

* refactor
…rship & Integrated with Action Items (PalisadoesFoundation#2615)

* restructure eventVolunteer & volunteerGroup Models

* Support for Volunteer Membership

* Add mark action item and add hours volunteered

* fix testcases 75

* Add support for Volunteer leaderboard

* Add tests for query resolvers 100

* Add tests for checks

* Fix lints issues & add tests for helper funcs

* Fix failing tests for removeOrganization & updateEventVolunteerGroup

* fix failing test for actionItem

* Add test coverage

* Add test coverage for updateActionItem

* coderabbit suggesstions

* remove session changes

* add support for filtering upcoming events & getVolunteerMembership related to a group

* codeRabbit suggestions

* Add inputs.ts in countlint exclusion

* change allotedHours to allottedHours

* coderabbit suggestions

* coderabbit suggestion
…lisadoesFoundation#2551)

* eventsAttended added

* events attended support added

* eventsAttended added in user

* changes implemented for eventsattended

* changes added in add Event Attendee

* added event supported

* added eventsattended on expected reponse

* added suggested changes

* added expected payload

* formatting done

* added test cases

* wip

* added test cases for both queries

* minor format changes

* minor changes

* minor

* minor

* reverted the updated user error handling

* ..

* fixed model error

---------

Co-authored-by: Dominic Mills <[email protected]>
…Post Management APIs (GSoC'24). (PalisadoesFoundation#2637)

* feat: enhanced file storage and API functionalities

- Integrated Minio service for file upload and deletion in Minio storage
- Added REST APIs for Post creation, updating, and deletion
- Updated mutations and queries to correctly handle file (image/video) retrieval
- Extended models for File and Post with new attributes
- Implemented file hashing to prevent file duplication
- Added authentication middleware for secure REST API access

* test: added unit tests for createPost controller

* test: added unit tests for updatePost controller

* test: Improved test for updatePost.

* test: added unit tests for getFile

* test: added unit tests for createFile

* test: added unit tests for deleteFile service

* test: added unit tests for uploadFile service

* test: added unit tests for fileUpload middleware

* test: updated unit tests for isAuth middleware

* test: updated unit tests for removePost mutation

* test: updated unit tests for updateUserProfile mutation

* test: updated unit tests for checkAuth query

* test: updated unit tests for organizationsMemberConnection query

* test: updated unit tests for user query

* test: updated unit tests for deletePreviousFile utility

* test: added minio utility to check if the server is running

* test: added test for isValidMimeType and removed multerErrorHandler

* test: Improved the tests for organization posts and image

* tsDoc: Added documentation for createPost and updatePost

* fix: fixed test for remove post
…ion#2640)

Bumps [nodemailer](https://github.com/nodemailer/nodemailer) and [@types/nodemailer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nodemailer). These dependencies needed to be updated together.

Updates `nodemailer` from 6.9.15 to 6.9.16
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](nodemailer/nodemailer@v6.9.15...v6.9.16)

Updates `@types/nodemailer` from 6.4.15 to 6.4.16
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/nodemailer)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: "@types/nodemailer"
  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>
…undation#2641)

Bumps [@types/cls-hooked](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/cls-hooked) from 4.3.8 to 4.3.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/cls-hooked)

---
updated-dependencies:
- dependency-name: "@types/cls-hooked"
  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>
…sFoundation#2642)

Bumps [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli) from 5.0.2 to 5.0.3.
- [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>
…ndation#2643)

Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.11.0 to 4.11.2.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/[email protected]/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  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>
Copy link

coderabbitai bot commented Nov 17, 2024

Important

Review skipped

More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.

162 files out of 296 files are above the max files limit of 75. Please upgrade to Pro plan to get higher limits.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Our Pull Request Approval Process

We have these basic policies to make the approval process smoother for our volunteer team.

Testing Your Code

Please make sure your code passes all tests. Our test code coverage system will fail if these conditions occur:

  1. The overall code coverage drops below the target threshold of the repository
  2. Any file in the pull request has code coverage levels below the repository threshold
  3. Merge conflicts

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.

Reviewers

Do not assign reviewers. Our Queue Monitors will review your PR and assign them.
When your PR has been assigned reviewers contact them to get your code reviewed and approved via:

  1. comments in this PR or
  2. our slack channel

Reviewing Your Code

Your reviewer(s) will have the following roles:

  1. arbitrators of future discussions with other contributors about the validity of your changes
  2. point of contact for evaluating the validity of your work
  3. person who verifies matching issues by others that should be closed.
  4. person who gives general guidance in fixing your tests

CONTRIBUTING.md

Read our CONTRIBUTING.md file. Most importantly:

  1. PRs with issues not assigned to you will be closed by the reviewer
  2. Fix the first comment in the PR so that each issue listed automatically closes

Other

  1. 🎯 Please be considerate of our volunteers' time. Contacting the person who assigned the reviewers is not advised unless they ask for your input. Do not @ the person who did the assignment otherwise.
  2. Read the CONTRIBUTING.md file make

@Suyash878 Suyash878 closed this Nov 17, 2024
@Suyash878 Suyash878 deleted the issue#2270 branch November 17, 2024 08:46
@Suyash878
Copy link
Author

Apologies , This branch was in track with the develop branch instead of the develop-postgres branch, I will create a new PR which is in sync with the develop-postgres branch to resolve conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.