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

Lint only updated files with stricter linting #1635

Conversation

NamitBhutani
Copy link
Contributor

What kind of change does this PR introduce?

Feature

Issue Number:

Fixes #1548

Did you add tests for your changes?

No

If relevant, did you update the documentation?

No

Summary

Run linting only for changed files for each commit and introduce stronger linting rules to slowly improve code integrity.

Does this PR introduce a breaking change?

No

Have you read the contributing guide?

Yes

Copy link

github-actions bot commented Jan 5, 2024

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

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

@palisadoes
Copy link
Contributor

@NamitBhutani

  1. Please fix the conflicting files.
  2. This will greatly help the consistence of our code and is long overdue.

@xoldd
Copy link
Contributor

xoldd commented Jan 6, 2024

@palisadoes as i understand the problem is that there are lint issues in codebase, but turning lint rules from warn to error would result in too many errors at once.

if i'm correct in my assumption then the best way to deal with this would be to ignore all the codebase files in eslintrc.json file and then create many smaller issues to resolve the lint issues in a particular directory/file

each PR associated to a particular issue would remove the corresponding directory/file from the list of files eslint is ignoring and fix the lint issues within that directory/file

there isn't a need to make it per file as that would create too many atomic issues, instead directory based approach is better, assign a contributor to fix lint issues in a directory, remove the directory from eslint's ignore list and make a PR to be merged

eventually all the ignored codebase files would be removed from eslint's ignore list, after that the PR workflows can simply detect new lint issues and error out if they are found

@palisadoes
Copy link
Contributor

palisadoes commented Jan 6, 2024

@xoldyckk

We were trying the incremental linting approach and it was too difficult to manage.

This will just lint files committed in the local repo of the developer.

We already have a GitHub action to lint files submitted in the PR as a verifier

@palisadoes
Copy link
Contributor

@NamitBhutani Please fix the failing tests

@palisadoes palisadoes requested a review from EshaanAgg January 7, 2024 05:58
@palisadoes
Copy link
Contributor

@EshaanAgg Your thoughts on this will be helpful too

@EshaanAgg
Copy link
Contributor

Please refer to this PR.

@NamitBhutani
Copy link
Contributor Author

@NamitBhutani Please fix the failing tests

I think one of the tests will fail, because I have to edit eslintrc.json and .husky/pre-commit which come under unauthorized changes.
I have hopefully fixed the other failing test.

…iles-stricter-linting' into lint-only-updated-files-stricter-linting
@NamitBhutani
Copy link
Contributor Author

The lockfile got messed up, extremely sorry for that, I have pushed a new commit that should hopefully fix it, if it does not I'll make another pull request and close this one.

@palisadoes
Copy link
Contributor

Don't create another PR. Only use this one.

@NamitBhutani
Copy link
Contributor Author

Don't create another PR. Only use this one.

I think all the issues have been fixed! The lint errors are due to the change in eslintrc.

@palisadoes
Copy link
Contributor

Are the linting errors expected for only this PR and will work satisfactorily from the CLI?

@NamitBhutani
Copy link
Contributor Author

Are the linting errors expected for only this PR and will work satisfactorily from the CLI?

Yes, they will! as in the workflow, lint check is ran for every file, that's why there are errors.

@palisadoes palisadoes merged commit 269b8bd into PalisadoesFoundation:develop Jan 7, 2024
5 of 7 checks passed
palisadoes added a commit that referenced this pull request Jan 8, 2024
palisadoes added a commit that referenced this pull request Jan 8, 2024
AVtheking pushed a commit to AVtheking/talawa-api that referenced this pull request Jan 8, 2024
)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>
AVtheking pushed a commit to AVtheking/talawa-api that referenced this pull request Jan 8, 2024
AVtheking pushed a commit to AVtheking/talawa-api that referenced this pull request Jan 8, 2024
)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>
AVtheking pushed a commit to AVtheking/talawa-api that referenced this pull request Jan 8, 2024
AVtheking pushed a commit to AVtheking/talawa-api that referenced this pull request Jan 8, 2024
)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>
AVtheking pushed a commit to AVtheking/talawa-api that referenced this pull request Jan 8, 2024
AVtheking pushed a commit to AVtheking/talawa-api that referenced this pull request Jan 8, 2024
)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>
AVtheking pushed a commit to AVtheking/talawa-api that referenced this pull request Jan 8, 2024
AVtheking pushed a commit to AVtheking/talawa-api that referenced this pull request Jan 8, 2024
)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>
AVtheking pushed a commit to AVtheking/talawa-api that referenced this pull request Jan 8, 2024
AVtheking added a commit to AVtheking/talawa-api that referenced this pull request Jan 9, 2024
fix script

fix

Create weekly event recurring instance (PalisadoesFoundation#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

Revert "Create weekly event recurring instance (PalisadoesFoundation#1602)" (PalisadoesFoundation#1649)

This reverts commit e7c043d.

Lint only updated files with stricter linting (PalisadoesFoundation#1635)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

Revert "Lint only updated files with stricter linting (PalisadoesFoundation#1635)" (PalisadoesFoundation#1652)

This reverts commit 269b8bd.

fix readme

fix failing test

made the requested changes

fix test
palisadoes added a commit that referenced this pull request Jan 11, 2024
* updated node version

* fix falling test

* removed private org

* fix redis port

* fix failing test case

* Revert "restored countline.py functionality to our github action flow (#1568)" (#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (#1587)" (#1592)

This reverts commit 74a9f67.

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* updated express-rate-limit package (#1621)

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* removed comments

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* fix failing test

* Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

* Added Github Action to check number of files submitted during PR. (#1596)

* Added script in workflows to check no of files submitted during PR.

* Update pull-request.yml to run the script added.

* Update pull-request.yml

* Changed logic of script

* Optimized pull-request.yml according to script

* Modified script to add default value to max_files in argsparse

* Added context to the job step in PR.yml for ease

* Added flag in argparser for better optimization

* Updated pr.yml file to be more concise

* Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

* Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

* Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

* Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

* updated node version

* fix falling test

* removed private org

* fix redis port

* Revert "restored countline.py functionality to our github action flow (#1568)" (#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (#1587)" (#1592)

This reverts commit 74a9f67.

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

* updated node version

* fix falling test

* removed private org

* fix redis port

* Revert "restored countline.py functionality to our github action flow (#1568)" (#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (#1587)" (#1592)

This reverts commit 74a9f67.

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* removed comments

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* updated node version

* fix falling test

* removed private org

* fix redis port

* Revert "restored countline.py functionality to our github action flow (#1568)" (#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (#1587)" (#1592)

This reverts commit 74a9f67.

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* fix version

* fix script

* fix

* fix readme

* fix failing test

* made the requested changes

* fix test

* fix version

fix script

fix

Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

fix readme

fix failing test

made the requested changes

fix test

* made the requested changes

* added test

* fix failing test'

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Akhilender <[email protected]>
Co-authored-by: Peter Harrison <[email protected]>
Co-authored-by: Aditya Rai <[email protected]>
Co-authored-by: Balveer Singh Rao <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akhilender Bongirwar <[email protected]>
Co-authored-by: Sarthak Patel <[email protected]>
Co-authored-by: Anubhav Banerjee <[email protected]>
Co-authored-by: IntelloManiac <[email protected]>
lakshz pushed a commit to lakshz/talawa-api that referenced this pull request Jan 16, 2024
…undation#1643)

* updated node version

* fix falling test

* removed private org

* fix redis port

* fix failing test case

* Revert "restored countline.py functionality to our github action flow (PalisadoesFoundation#1568)" (PalisadoesFoundation#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (PalisadoesFoundation#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (PalisadoesFoundation#1587)" (PalisadoesFoundation#1592)

This reverts commit 74a9f67.

* table of content script (PalisadoesFoundation#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (PalisadoesFoundation#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* updated express-rate-limit package (PalisadoesFoundation#1621)

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (PalisadoesFoundation#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (PalisadoesFoundation#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* removed comments

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* fix failing test

* Create weekly event recurring instance (PalisadoesFoundation#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (PalisadoesFoundation#1602)" (PalisadoesFoundation#1649)

This reverts commit e7c043d.

* Added Github Action to check number of files submitted during PR. (PalisadoesFoundation#1596)

* Added script in workflows to check no of files submitted during PR.

* Update pull-request.yml to run the script added.

* Update pull-request.yml

* Changed logic of script

* Optimized pull-request.yml according to script

* Modified script to add default value to max_files in argsparse

* Added context to the job step in PR.yml for ease

* Added flag in argparser for better optimization

* Updated pr.yml file to be more concise

* Lint only updated files with stricter linting (PalisadoesFoundation#1635)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (PalisadoesFoundation#1635)" (PalisadoesFoundation#1652)

This reverts commit 269b8bd.

* Create weekly event recurring instance (PalisadoesFoundation#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (PalisadoesFoundation#1602)" (PalisadoesFoundation#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (PalisadoesFoundation#1635)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (PalisadoesFoundation#1635)" (PalisadoesFoundation#1652)

This reverts commit 269b8bd.

* Create weekly event recurring instance (PalisadoesFoundation#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (PalisadoesFoundation#1602)" (PalisadoesFoundation#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (PalisadoesFoundation#1635)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (PalisadoesFoundation#1635)" (PalisadoesFoundation#1652)

This reverts commit 269b8bd.

* Create weekly event recurring instance (PalisadoesFoundation#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (PalisadoesFoundation#1602)" (PalisadoesFoundation#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (PalisadoesFoundation#1635)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (PalisadoesFoundation#1635)" (PalisadoesFoundation#1652)

This reverts commit 269b8bd.

* updated node version

* fix falling test

* removed private org

* fix redis port

* Revert "restored countline.py functionality to our github action flow (PalisadoesFoundation#1568)" (PalisadoesFoundation#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (PalisadoesFoundation#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (PalisadoesFoundation#1587)" (PalisadoesFoundation#1592)

This reverts commit 74a9f67.

* table of content script (PalisadoesFoundation#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (PalisadoesFoundation#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (PalisadoesFoundation#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (PalisadoesFoundation#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* Create weekly event recurring instance (PalisadoesFoundation#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (PalisadoesFoundation#1602)" (PalisadoesFoundation#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (PalisadoesFoundation#1635)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (PalisadoesFoundation#1635)" (PalisadoesFoundation#1652)

This reverts commit 269b8bd.

* updated node version

* fix falling test

* removed private org

* fix redis port

* Revert "restored countline.py functionality to our github action flow (PalisadoesFoundation#1568)" (PalisadoesFoundation#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (PalisadoesFoundation#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (PalisadoesFoundation#1587)" (PalisadoesFoundation#1592)

This reverts commit 74a9f67.

* table of content script (PalisadoesFoundation#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (PalisadoesFoundation#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (PalisadoesFoundation#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (PalisadoesFoundation#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* removed comments

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* updated node version

* fix falling test

* removed private org

* fix redis port

* Revert "restored countline.py functionality to our github action flow (PalisadoesFoundation#1568)" (PalisadoesFoundation#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (PalisadoesFoundation#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (PalisadoesFoundation#1587)" (PalisadoesFoundation#1592)

This reverts commit 74a9f67.

* table of content script (PalisadoesFoundation#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (PalisadoesFoundation#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (PalisadoesFoundation#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (PalisadoesFoundation#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (PalisadoesFoundation#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (PalisadoesFoundation#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* fix version

* fix script

* fix

* fix readme

* fix failing test

* made the requested changes

* fix test

* fix version

fix script

fix

Create weekly event recurring instance (PalisadoesFoundation#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

Revert "Create weekly event recurring instance (PalisadoesFoundation#1602)" (PalisadoesFoundation#1649)

This reverts commit e7c043d.

Lint only updated files with stricter linting (PalisadoesFoundation#1635)

* Replace package vm2 with isolated-vm (PalisadoesFoundation#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

Revert "Lint only updated files with stricter linting (PalisadoesFoundation#1635)" (PalisadoesFoundation#1652)

This reverts commit 269b8bd.

fix readme

fix failing test

made the requested changes

fix test

* made the requested changes

* added test

* fix failing test'

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Akhilender <[email protected]>
Co-authored-by: Peter Harrison <[email protected]>
Co-authored-by: Aditya Rai <[email protected]>
Co-authored-by: Balveer Singh Rao <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akhilender Bongirwar <[email protected]>
Co-authored-by: Sarthak Patel <[email protected]>
Co-authored-by: Anubhav Banerjee <[email protected]>
Co-authored-by: IntelloManiac <[email protected]>
palisadoes added a commit that referenced this pull request Jan 16, 2024
* 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](follow-redirects/follow-redirects@v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

* base branch checking job in pull_request.yml

* Convert Private Orgs to `userRegistrationRequired` Orgs (#1643)

* updated node version

* fix falling test

* removed private org

* fix redis port

* fix failing test case

* Revert "restored countline.py functionality to our github action flow (#1568)" (#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (#1587)" (#1592)

This reverts commit 74a9f67.

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* updated express-rate-limit package (#1621)

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* removed comments

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* fix failing test

* Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

* Added Github Action to check number of files submitted during PR. (#1596)

* Added script in workflows to check no of files submitted during PR.

* Update pull-request.yml to run the script added.

* Update pull-request.yml

* Changed logic of script

* Optimized pull-request.yml according to script

* Modified script to add default value to max_files in argsparse

* Added context to the job step in PR.yml for ease

* Added flag in argparser for better optimization

* Updated pr.yml file to be more concise

* Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

* Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

* Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

* Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

* updated node version

* fix falling test

* removed private org

* fix redis port

* Revert "restored countline.py functionality to our github action flow (#1568)" (#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (#1587)" (#1592)

This reverts commit 74a9f67.

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

* Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

* Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

* Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

* updated node version

* fix falling test

* removed private org

* fix redis port

* Revert "restored countline.py functionality to our github action flow (#1568)" (#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (#1587)" (#1592)

This reverts commit 74a9f67.

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* removed comments

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* updated node version

* fix falling test

* removed private org

* fix redis port

* Revert "restored countline.py functionality to our github action flow (#1568)" (#1572)

This reverts commit 195d148.

* restored countline.py functionality to our github action flow (#1573)

* setup script will now ask for superAdmin email

* asked changes

* Update setup.ts

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* new commit

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* Revert "Added script to generate table of content (#1587)" (#1592)

This reverts commit 74a9f67.

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix falling test

* fix

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* Added script to generate table of content (#1587)

* Added script to generate table of content

* git hook to generate toc when markdown files are changed.

* script for toc

* table of content script (#1600)

* Update INSTALLATION.md

* chore(deps): bump @types/i18n from 0.13.8 to 0.13.10 (#1616)

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

---
updated-dependencies:
- dependency-name: "@types/i18n"
  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>

* fix: Removed depricated xss-clean package (#1536)

Signed-off-by: Akhilender <[email protected]>

* updated node version

* fix

* fix

* fix

* fix

* fix

* fix

* added userRegistrationRequired field in schema

* fix redis port

* fix version

* fix script

* fix

* fix readme

* fix failing test

* made the requested changes

* fix test

* fix version

fix script

fix

Create weekly event recurring instance (#1602)

* Create weekly event recurring instance

* test for weekly recurring events

* Weekly Recurring Events bug fixes

Revert "Create weekly event recurring instance (#1602)" (#1649)

This reverts commit e7c043d.

Lint only updated files with stricter linting (#1635)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

---------

Co-authored-by: Sarthak Patel <[email protected]>

Revert "Lint only updated files with stricter linting (#1635)" (#1652)

This reverts commit 269b8bd.

fix readme

fix failing test

made the requested changes

fix test

* made the requested changes

* added test

* fix failing test'

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Akhilender <[email protected]>
Co-authored-by: Peter Harrison <[email protected]>
Co-authored-by: Aditya Rai <[email protected]>
Co-authored-by: Balveer Singh Rao <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akhilender Bongirwar <[email protected]>
Co-authored-by: Sarthak Patel <[email protected]>
Co-authored-by: Anubhav Banerjee <[email protected]>
Co-authored-by: IntelloManiac <[email protected]>

* Github Action to Deploy Talawa-API to GoDaddy VPS (#1491)

* Added deploy.yml

* Added action to run when push on deploy branch too

* refactor: changed push to all branches

* test: ec2 ci/cd pipeline test1

* test: ec2 ci/cd pipeline test2

* refactor: Added Port to deploy.yml

* test: ec2 ci/cd pipeline test3

* test: ec2 ci/cd pipeline test4

* test: ec2 ci/cd pipeline test5

* refactor: typo in cd command

* refactor: added command to delete repo after docker compose

* refactor: added sudo to required commands

* refactor: Simplifed the script in deploy.yml

* refactor: removed timeout issue

* refactor: Optimized the Build process of Docker Compose

* refactor : Added Password field to Action

* refactor: removed sudo from commands

* refactor : removed the password field as it was not needed

* refactor: Added main branch for on push in github-action

* refactor: always run code from develop

* refactor: Added API_DEMO Suffix to env variables and testing for talawa-api user

* refactor: removed the triger for push on deployement branch

* Added MongoDB Reset Script

* refactor: Fixed Bug in Setup.ts related MongoDB url env variable

* Added SSL Certs renew script

* docs: Added docs to setup cloud instance for future refrence

* refactor: import sample data after dropping the database in reset_mongo.sh

* refactor: Changed File Structure as needed

* fixed conflict in setup.ts

* reverted all changes in setup.ts

* refactor: Added detailed comments in scripts

* refactor: removed perm check from each script as dedicateted script checks for it

* refactor: fixed cert_renew.sh

* docs: Completed the Cloud API Demo Readme

* docs: added solution to cors error

* refactor: removed deployment branch from deploy.yml

* Test file for createPlugin.ts (#1646)

* Improved code coverage

* Revert "Improved code coverage"

This reverts commit 1ac5f89.

* Tests for createPlugin.ts file

* Auto Detect MongoDB URL during setup, Fixes #1605 (#1678)

* refactor: Improved MongoDB configuration during setup

* refactor: Checks for existing url in .env

* Feature: Audit trail fields in Schema (#1542)

* fixed failing tests for model changes

* Event, EventProject, File, Feedback model updated

* Update model and updatedBy resolver for organization

* Add resolvers for Post, Task, Event, EventProject, Organization

* replace creator with createdBy

* fix failing tests

* fix failing tests

* removed updatedBy field from schema

* replaced createdBy with creatorId

* creatorId in database field and creator in graphql schema

* fixed non-nullable fields mismatch in graphql schema and database

* creatorId required: true in models

* fix failing tests

* fix failing deleteAdvertisementById test

* creator as nullable, timestamps non-nullable, visibleInSearch non-nullable

* creatorId required in database schema

* changes in graphql types

* endDate of event as non-nullable

* removed isPublic from Organization

---------

Co-authored-by: Lakshya Satpal <[email protected]>

* Update .gitignore

* Update .gitignore

* Update .gitignore

* Update push.yml

* Update documentation

* Update push.yml

* Update documentation

* Update push.yml

* Update documentation

* Feature Request: Add update Advertisement feature (#1575)

* add : adding mutations, inputs and resolvers for editing advertisements

* add: test for update advertisement

* fix : consolidate input and update tests

* fix test: getAdvertisement

* fix: input name

* fix: variable name, add : advertisement helper

* fix: scalars, validation, test

* fix : scalars and tests

* fix: type field of Advertisement

* fix: resolver, add: tests

* merge fix

* fix: update payload and tests

* fix :tests

* fix: translate test case error

* fix: translate test case error

* fix: startDate test case failure

* add : role based auth

* merge

* fix: tests

* fix: role based auth && tests

* fix: downgraded to [email protected] (#1684)

- this is to fix `import:sample-data` script

* fix: Removed `organizationUserBelongsTo` field (#1683)

- Removed all organizationUserBelongsTo field from User Collection.
- As it is not being used in other applications except in MemberDetail.tsx in talawa admin where it is
  not being modified.

Signed-off-by: Akhilender <[email protected]>

* Renamed isPublic to userRegistrationRequired in sample-data and added import-sample-data generator github actions (#1686)

* fix: removes all unused containers and images after deploy.yaml workflow (#1687)

* Lint only updated files stricter linting and update the PR workflow (#1677)

* Replace package vm2 with isolated-vm (#1532)

* Replace package vm2 with isolated-vm

* Removed package isolated-vm

* init: lint-staged for linting staged files only

* feat: convert warn to error in eslintrc

* fix: failing tests

* fix: package.json

* fix: package-lock

* 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](follow-redirects/follow-redirects@v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

* feat: workflow job runs for changed files in the pushed commit only

* fix: resolve conflict with upstream/develop

* fix:package-lock

* fix: attemp#2 merge conflict

* fix: merge conflict #3

* fix: npm script instead of npx, filter git diff command

* fix: package.json conflict

* fix: remove vite

* resolve merge conflict

* attempt #2 fix conflict

* update package-lock

* update package-lock

---------

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

* chore(deps): bump rimraf from 3.0.2 to 5.0.5 (#1688)

Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.2 to 5.0.5.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](isaacs/rimraf@v3.0.2...v5.0.5)

---
updated-dependencies:
- dependency-name: rimraf
  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>

* chore(deps): bump @types/shortid from 0.0.29 to 0.0.32 (#1692)

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

---
updated-dependencies:
- dependency-name: "@types/shortid"
  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>

* updated pull_request.yml

* updated pull_request.yml

* removed success message step

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Akhilender <[email protected]>
Co-authored-by: Sarthak Patel <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ANKIT VARSHNEY <[email protected]>
Co-authored-by: Peter Harrison <[email protected]>
Co-authored-by: Aditya Rai <[email protected]>
Co-authored-by: Balveer Singh Rao <[email protected]>
Co-authored-by: Akhilender Bongirwar <[email protected]>
Co-authored-by: Anubhav Banerjee <[email protected]>
Co-authored-by: IntelloManiac <[email protected]>
Co-authored-by: Vasu Jain <[email protected]>
Co-authored-by: Priyanshu Bartwal <[email protected]>
Co-authored-by: Lakshya Satpal <[email protected]>
Co-authored-by: TASNEEM KOUSHAR <[email protected]>
Co-authored-by: Vaishali Thakur <[email protected]>
Co-authored-by: Chaitanya Shahare <[email protected]>
Co-authored-by: Alok Gupta <[email protected]>
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.

5 participants