Skip to content

Commit

Permalink
feat : Update thedevelop-userTypeFix branch with the latest features …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Show file tree
Hide file tree
Showing 178 changed files with 14,666 additions and 18,663 deletions.
7 changes: 3 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,12 @@

// Typescript Rules
"@typescript-eslint/ban-ts-comment": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/ban-types": "error",
"@typescript-eslint/no-duplicate-enum-values": "error",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/ban-types": "error",
"@typescript-eslint/no-duplicate-enum-values": "error",

// Typescript rule to enforce PascalCase naming convention for types and interfaces
"@typescript-eslint/naming-convention": [
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Count number of lines
run: |
chmod +x ./.github/workflows/countline.py
./.github/workflows/countline.py --lines 600 --exclude_files src/types/generatedGraphQLTypes.ts tests
./.github/workflows/countline.py --lines 600 --exclude_files src/types/generatedGraphQLTypes.ts tests src/typeDefs/types.ts src/constants.ts
- name: Restore node_modules from cache
id: cache-npm
Expand Down Expand Up @@ -78,6 +78,14 @@ jobs:
- name: Run Typescript Type-Checker
run: npm run typecheck

# - name: Check if the source and target branches are different
# if: ${{ github.event.pull_request.base.ref == github.event.pull_request.head.ref }}
# run: |
# echo "Source Branch ${{ github.event.pull_request.head.ref }}"
# echo "Target Branch ${{ github.event.pull_request.base.ref }}"
# echo "Error: Source and Target Branches are the same. Please ensure they are different."
# exit 1

File-count-check:
name: Counting files changed
runs-on: ubuntu-latest
Expand Down Expand Up @@ -170,7 +178,7 @@ jobs:
run: npm ci

- name: Sleep for 10s
uses: juliangruber/sleep-action@v1
uses: juliangruber/sleep-action@v2
with:
time: 10s

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
# Sleep for 10 s
- name: Sleep for 10s
uses: juliangruber/sleep-action@v1
uses: juliangruber/sleep-action@v2
with:
time: 10s

Expand Down
21 changes: 20 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
run: npm ci

- name: Sleep for 10s
uses: juliangruber/sleep-action@v1
uses: juliangruber/sleep-action@v2
with:
time: 10s

Expand Down Expand Up @@ -151,6 +151,25 @@ jobs:
with:
name: documentation-api
path: talawa-api-docs

Empty-Commit:
name: Create Empty Commit
runs-on: ubuntu-latest
needs: Generate-Documentation
if: github.ref == 'refs/heads/develop'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
token: ${{ secrets.TALAWA_DOCS_SYNC }}
- name: Empty Commit
run: |
git config --global user.name "${{github.actor}}"
git config --global user.email "${{env.email}}"
git config --global url.https://${{ secrets.TALAWA_DOCS_SYNC }}@github.com/.insteadOf https://github.com/
git commit --allow-empty -m "Trigger Documentation Workflow"
git push origin develop:automated-docs --force
# Copy-docs-to-talawa-docs:
# runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ node_modules/**

# Don't upload configuration files
.env
.env_test

# Ignore uploads
image/**
Expand Down
12 changes: 8 additions & 4 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ You will need to have copies of your code on your local system. Here's how to do

## Install node.js

Best way to install and manage `node.js` is making use of node version managers. Two most popular node version managers right now are [fnm](https://github.com/Schniz/fnm) and [nvm](https://github.com/nvm-sh/nvm). We'd recommend `fnm` because it's written in `rust` and is much faster than `nvm`. Install whichever one you want and follow their guide to set up `node.js` on your system ensure the installation of Node.js version 20 LTS.
Best way to install and manage `node.js` is making use of node version managers. Two most popular node version managers right now are [fnm](https://github.com/Schniz/fnm) and [nvm](https://github.com/nvm-sh/nvm). We'd recommend `fnm` because it's written in `rust` and is much faster than `nvm`. Install whichever one you want and follow their guide to set up `node.js` on your system ensure the installation of Node.js version 20 LTS.

_**NOTE**_

1. The repository has a `.node-version` file to help ensure you use the supported version of `node.js`. Do not edit this file.
1. We strongly recommend that you configure your node version manager of choice to automatically read `.node-version` files

_**NOTE**_

Expand Down Expand Up @@ -496,9 +501,8 @@ We use `reCAPTCHA` for two factor authentication (2FA). Follow these steps:
The MAIL_USERNAME and MAIL_PASSWORD parameters are required to enable an app to access 2FA features. This is how to know what they should be.

1. Go to your [google account page](https://myaccount.google.com/).
1. Select `Security`.
1. Under `Signing in to Google` section select `App Passwords`.
1. Click on `Select app` section and choose `Other(Custom name)`, enter `talawa` as the custom name and press `Generate` button.
1. Search for `App Passwords` in the `Search Google Account` search bar and select it.
1. Click on `create a new app-specific password` and enter `talawa` as the custom name and press the `Create` button.
1. Copy the 16 character generated app password to the variable named `MAIL_PASSWORD` in `.env` file.
1. Copy your usual gmail address to the variable named `MAIL_USERNAME` in `.env` file.

Expand Down
8 changes: 8 additions & 0 deletions codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,18 @@ const config: CodegenConfig = {

Advertisement: "../models/Advertisement#InterfaceAdvertisement",

AgendaItem: "../models/AgendaItem#InterfaceAgendaItem",

AgendaSection: "../models/AgendaSection#InterfaceAgendaSection",

CheckIn: "../models/CheckIn#InterfaceCheckIn",

MessageChat: "../models/MessageChat#InterfaceMessageChat",

Comment: "../models/Comment#InterfaceComment",

Community: "../models/Community#InterfaceCommunity",

DirectChat: "../models/DirectChat#InterfaceDirectChat",

DirectChatMessage:
Expand Down Expand Up @@ -90,6 +96,8 @@ const config: CodegenConfig = {
UserTag: "../models/OrganizationTagUser#InterfaceOrganizationTagUser",

User: "../models/User#InterfaceUser",

Venue: "../models/Venue#InterfaceVenue",
},

useTypeImports: true,
Expand Down
3 changes: 3 additions & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"user.profileImage.notFound": "User profile image not found",
"actionItemCategory.notFound": "Action Item Category not found",
"actionItemCategory.alreadyExists": "Action Item Category already exists",
"actionItemCategory.isDisabled": "Action Item Category is disabled",
"actionItem.notFound": "Action Item not found",
"advertisement.notFound": "Advertisement not found",
"event.notFound": "Event not found",
Expand All @@ -19,6 +20,8 @@
"chat.notFound": "Chat not found",
"email.alreadyExists": "Email address already exists",
"comment.notFound": "Comment not found",
"community.notFound": "Community not found",
"community.logoMissing": "Community logo was not provided",
"post.notFound": "Post not found",
"group.notFound": "Group not found",
"invalid.fileType": "Invalid file type",
Expand Down
3 changes: 3 additions & 0 deletions locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"user.profileImage.notFound": "Image du profil utilisateur introuvable",
"actionItemCategory.notFound": "Catégorie d’élément d’action introuvable",
"actionItemCategory.alreadyExists": "La catégorie d’élément d’action existe déjà",
"actionItemCategory.isDisabled": "La catégorie d'élément d'action est désactivée",
"actionItem.notFound": "Élément d\\’action non trouvé",
"event.notFound": "Événement non trouvé",
"organization.notFound": "Organisation introuvable",
Expand All @@ -18,6 +19,8 @@
"chat.notFound": "Chat non trouvé",
"email.alreadyExists": "L'adresse e-mail existe déjà",
"comment.notFound": "Commentaire introuvable",
"community.logoMissing": "Le logo de la communauté n'a pas été fourni",
"community.notFound": "Communauté introuvable",
"post.notFound": "Message non trouvé",
"group.notFound": "Groupe introuvable",
"invalid.fileType": "Type de fichier non valide",
Expand Down
3 changes: 3 additions & 0 deletions locales/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"user.profileImage.notFound": "उपयोगकर्ता प्रोफ़ाइल छवि नहीं मिली",
"actionItemCategory.notFound": "श्रेणी नहीं मिली",
"actionItemCategory.alreadyExists": "यह श्रेणी पहले से मौजूद है",
"actionItemCategory.isDisabled": "क्रिया आइटम श्रेणी अक्षम है",
"actionItem.notFound": "कार्रवाई का मद नहीं मिला",
"advertisement.notFound": "विज्ञापन नहीं मिला",
"event.notFound": "घटना नहीं मिली",
Expand All @@ -19,6 +20,8 @@
"chat.notFound": "चैट नहीं मिली",
"email.alreadyExists": "ईमेल पहले से मौजूद है",
"comment.notFound": "टिप्पणी नहीं मिली",
"community.logoMissing": "समुदाय लोगो उपलब्ध नहीं है",
"community.notFound": "समुदाय नहीं मिला",
"post.notFound": "पोस्ट नहीं मिली",
"group.notFound": "समूह नहीं मिला",
"invalid.fileType": "अमान्य फ़ाइल प्रकार",
Expand Down
3 changes: 3 additions & 0 deletions locales/sp.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"user.profileImage.notFound": "No se encontró la imagen de perfil de usuario",
"actionItemCategory.notFound": "No se encontró la categoría de elemento de acción",
"actionItemCategory.alreadyExists": "Ya existe una categoría de elemento de acción",
"actionItemCategory.isDisabled": "La categoría de elemento de acción está deshabilitada",
"actionItem.notFound": "Elemento de acción no encontrado",
"event.notFound": "Evento no encontrado",
"organization.notFound": "Organización no encontrada",
Expand All @@ -18,6 +19,8 @@
"chat.notFound": "Chat no encontrado",
"email.alreadyExists": "La dirección de correo electrónico ya existe",
"comment.notFound": "Comentario no encontrado",
"community.logoMissing": "El logo de la comunidad no ha sido proporcionado",
"community.notFound": "Comunidad no encontrada",
"post.notFound": "Publicación no encontrada",
"group.notFound": "Grupo no encontrado",
"invalid.fileType": "Tipo de archivo no válido",
Expand Down
3 changes: 3 additions & 0 deletions locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"user.profileImage.notFound": "未找到用戶個人資料圖像",
"actionItemCategory.notFound": "未找到措施项类别",
"actionItemCategory.alreadyExists": "措施项类别已存在",
"actionItemCategory.isDisabled": "操作项类别已禁用",
"actionItem.notFound": "找不到操作项",
"event.notFound": "未找到事件",
"organization.notFound": "未找到組織",
Expand All @@ -18,6 +19,8 @@
"chat.notFound": "未找到聊天",
"email.alreadyExists": "電子郵件地址已經存在",
"comment.notFound": "未找到評論",
"community.logoMissing": "社区标志未提供",
"community.notFound": "未找到社群",
"post.notFound": "找不到帖子",
"group.notFound": "未找到組",
"invalid.fileType": "無效的文件類型",
Expand Down
Loading

0 comments on commit 229ad9a

Please sign in to comment.