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

Test codeql scan brach #1

Open
wants to merge 107 commits into
base: develop-postgres
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
b411d90
chore(deps): bump graphql-markdown from 7.0.0 to 7.1.0 (#2513)
dependabot[bot] Sep 9, 2024
92fd725
chore(deps): bump @types/node from 22.5.2 to 22.5.4 (#2514)
dependabot[bot] Sep 9, 2024
29a4afc
chore(deps): bump @types/yargs from 17.0.32 to 17.0.33 (#2516)
dependabot[bot] Sep 9, 2024
9f4d540
chore(deps): bump concurrently from 8.2.2 to 9.0.0 (#2517)
dependabot[bot] Sep 9, 2024
69f027c
Added the field Identifier (#2509)
ARYANSHAH1567 Sep 9, 2024
6093752
Fixed setup script (#2512)
ARYANSHAH1567 Sep 9, 2024
df7a52d
Fixed the eslint_disable_check.py script (#2521)
ARYANSHAH1567 Sep 15, 2024
7a9acec
chore(deps): bump typedoc-plugin-markdown from 4.2.3 to 4.2.7 (#2536)
dependabot[bot] Sep 17, 2024
c952c7a
chore(deps): bump tsx from 4.19.0 to 4.19.1 (#2537)
dependabot[bot] Sep 17, 2024
2683bbf
Feature: Added MinIO Setup and Configuration for Local and Docker Env…
chandel-aman Sep 23, 2024
bbdb374
chore(deps): bump @types/jsonwebtoken from 9.0.6 to 9.0.7 (#2543)
dependabot[bot] Sep 28, 2024
3e1689c
chore(deps): bump @faker-js/faker from 8.4.1 to 9.0.1 (#2544)
dependabot[bot] Sep 28, 2024
efa063f
chore(deps): bump @vitest/coverage-v8 from 2.0.5 to 2.1.1 (#2545)
dependabot[bot] Sep 28, 2024
54d44cf
upgraded the nodemailer package to 6.9.15 (#2549)
syedali237 Sep 28, 2024
fb5076f
Query returns null for the image field of the likedBy object of the p…
prayanshchh Sep 28, 2024
d77e6b9
chore(deps): bump axios from 1.7.4 to 1.7.7 (#2557)
dependabot[bot] Oct 1, 2024
c1e47ae
chore(deps): bump helmet from 7.1.0 to 8.0.0 (#2558)
dependabot[bot] Oct 1, 2024
eba6bb5
chore(deps): bump eslint-plugin-import from 2.29.1 to 2.30.0 (#2559)
dependabot[bot] Oct 1, 2024
fb23e01
chore(deps): bump concurrently from 9.0.0 to 9.0.1 (#2560)
dependabot[bot] Oct 5, 2024
5e38dbf
chore(deps): bump @types/validator from 13.12.0 to 13.12.2 (#2546)
dependabot[bot] Oct 5, 2024
628dcf2
chore(deps): bump winston from 3.14.2 to 3.15.0 (#2566)
dependabot[bot] Oct 9, 2024
d9b4cf8
chore(deps): bump @vitest/coverage-v8 from 2.1.1 to 2.1.2 (#2567)
dependabot[bot] Oct 9, 2024
0e11238
chore(deps): bump eslint-plugin-import from 2.30.0 to 2.31.0 (#2568)
dependabot[bot] Oct 9, 2024
82726ff
chore(deps): bump @typescript-eslint/parser from 8.0.1 to 8.8.0 (#2569)
dependabot[bot] Oct 9, 2024
b677650
chore(deps): bump express-rate-limit from 7.4.0 to 7.4.1 (#2570)
dependabot[bot] Oct 9, 2024
cc00489
Implemented Reply functionality for DirectChat and GroupChat (#2420)
disha1202 Oct 12, 2024
f63e383
Revert "Implemented Reply functionality for DirectChat and GroupChat …
palisadoes Oct 12, 2024
c03e2fb
Migrating to eslint.config.js (#2522)
Suyash878 Oct 12, 2024
7dd375d
Update push.yml
palisadoes Oct 12, 2024
1628ba4
Update pull-request.yml
palisadoes Oct 12, 2024
790ab29
Update pull-request.yml
palisadoes Oct 12, 2024
e9391fa
session management feature for merge (#2556)
JordanCampbell1 Oct 13, 2024
2bbde4b
mdx file name changed (#2586)
gautam-divyanshu Oct 13, 2024
d262c65
Update codeql-codescan.yml
palisadoes Oct 14, 2024
f9e8275
Update codeql-codescan.yml
palisadoes Oct 14, 2024
63f9965
chore(deps): bump husky from 9.1.5 to 9.1.6 (#2588)
dependabot[bot] Oct 14, 2024
68ef5ec
chore(deps): bump @types/lodash from 4.17.7 to 4.17.10 (#2589)
dependabot[bot] Oct 14, 2024
dac0b6d
chore(deps): bump @types/node from 22.5.4 to 22.7.5 (#2590)
dependabot[bot] Oct 14, 2024
61f89fd
chore(deps): bump @graphql-codegen/typescript from 4.0.9 to 4.1.0 (#2…
dependabot[bot] Oct 14, 2024
01a2814
chore(deps): bump graphql-voyager from 2.0.0 to 2.1.0 (#2592)
dependabot[bot] Oct 14, 2024
c1dc667
Configurable Session Timeout for Community (#2464)
JordanCampbell1 Oct 15, 2024
755c14a
Handle creatorId (#2564)
ARYANSHAH1567 Oct 17, 2024
c35f0f3
updated vitest and @vitest/coverage-v8 version (#2595)
Aryan4884 Oct 17, 2024
f1c816b
updated eslint version (#2594)
Aryan4884 Oct 17, 2024
9600b6c
feat: implemented Reply functionality for chat (#2584)
disha1202 Oct 21, 2024
2f605f9
Updated chat schema (#2466)
disha1202 Oct 21, 2024
cb0e624
chore(deps): bump @types/lodash from 4.17.10 to 4.17.12 (#2603)
dependabot[bot] Oct 22, 2024
4e2e045
chore(deps): bump date-fns from 3.6.0 to 4.1.0 (#2605)
dependabot[bot] Oct 22, 2024
be55d7f
chore(deps): bump @graphql-tools/resolvers-composition (#2607)
dependabot[bot] Oct 22, 2024
4a88fe6
chore(deps): bump @types/node from 22.7.5 to 22.7.8 (#2609)
dependabot[bot] Oct 22, 2024
7e5ec1c
feat: Add functionality for adding people to a tag (GSoC) (#2612)
meetulr Oct 27, 2024
2f8be16
updated google recaptcha image in installation.md (#2608)
sethdivyansh Oct 27, 2024
f526143
Update pull-request.yml
palisadoes Oct 27, 2024
5392ea0
Update pull-request.yml
palisadoes Oct 27, 2024
2c372d9
feat: Add support for bulk tag operations (GSoC) (#2616)
meetulr Oct 28, 2024
2ab7dd8
Update dependabot.yaml
palisadoes Oct 29, 2024
9bf7afd
chore(deps): bump graphql-upload from 16.0.2 to 17.0.0 (#2622)
dependabot[bot] Oct 29, 2024
6c588a0
chore(deps): bump @types/express-rate-limit from 6.0.0 to 6.0.2 (#2620)
dependabot[bot] Oct 29, 2024
adb4c7c
chore(deps): bump graphql-markdown from 7.1.0 to 7.3.0 (#2618)
dependabot[bot] Oct 29, 2024
848f31a
chore(deps): bump @typescript-eslint/parser from 8.8.1 to 8.11.0 (#2619)
dependabot[bot] Oct 29, 2024
42024f6
chore(deps): bump uuid from 10.0.0 to 11.0.1 (#2621)
dependabot[bot] Oct 29, 2024
e59b02f
update pull-request.yml to ignore github actions when label "ignore-p…
govindsingh3477 Oct 29, 2024
9f3b05f
Onboard renovate (#2634)
tasneemkoushar Nov 1, 2024
f1f5f3b
fix: removed all references to direct chat and group chat (#2629)
disha1202 Nov 1, 2024
3f83e44
feat: Add filter and sort for userTags (GSoC) (#2635)
meetulr Nov 2, 2024
f4877b9
Add support for Volunteer Leaderboard, linking Volunteer/Groups/Membe…
GlenDsza Nov 2, 2024
e22122f
Events attended support added with fetching recurring event query (#2…
duplixx Nov 3, 2024
7631f17
Enhance File Storage and API Capabilities with Minio Integration and …
chandel-aman Nov 4, 2024
c2e98d0
chore(deps): bump nodemailer and @types/nodemailer (#2640)
dependabot[bot] Nov 4, 2024
3bae7c4
chore(deps): bump @types/cls-hooked from 4.3.8 to 4.3.9 (#2641)
dependabot[bot] Nov 4, 2024
3521837
chore(deps): bump @graphql-codegen/cli from 5.0.2 to 5.0.3 (#2642)
dependabot[bot] Nov 4, 2024
bba5d82
chore(deps): bump @apollo/server from 4.11.0 to 4.11.2 (#2643)
dependabot[bot] Nov 4, 2024
3adf52b
Fixed membership request being added in the user's DB (#2582)
syedali237 Nov 10, 2024
15e98ac
chore(deps): bump @types/node from 22.7.8 to 22.9.0 (#2648)
dependabot[bot] Nov 11, 2024
8acf00f
chore(deps): bump @types/lodash from 4.17.12 to 4.17.13 (#2651)
dependabot[bot] Nov 11, 2024
03bad97
chore(deps): bump globals from 15.11.0 to 15.12.0 (#2652)
dependabot[bot] Nov 11, 2024
7acaa69
chore(deps): bump @aws-sdk/client-s3 from 3.675.0 to 3.691.0 (#2662)
dependabot[bot] Nov 14, 2024
99ec143
chore(deps): bump @vitest/coverage-v8 from 2.1.3 to 2.1.5 (#2663)
dependabot[bot] Nov 14, 2024
9a60a87
chore(deps): bump @graphql-inspector/cli from 5.0.6 to 5.0.7 (#2665)
dependabot[bot] Nov 14, 2024
f6eeb9e
Update pull-request.yml
palisadoes Nov 14, 2024
3244b22
chore(deps): update dependencies (renov): dependency black to v24 [se…
renovate[bot] Nov 14, 2024
a6e7ac9
Update dependabot.yaml
palisadoes Nov 16, 2024
e978dd7
Feature/change PR template with check list added. (#2694)
HarshDodiya1 Nov 18, 2024
37cfbde
getVolunteerRanks test fix (#2704)
prayanshchh Nov 20, 2024
95152aa
Update pull-request.yml
palisadoes Nov 23, 2024
92443bb
Devcontainer (#2429)
AVtheking Nov 23, 2024
6ac435b
Update pull-request-target.yml
palisadoes Nov 25, 2024
9f4c0b0
Update pull-request-target.yml
palisadoes Nov 25, 2024
832d310
Using nodemon to get rid of the experimental warning (#2715)
Suyash878 Nov 25, 2024
740ca31
Removing eslintrc.json and eslintignore (#2743)
Suyash878 Dec 8, 2024
67c805e
Updating the setup script to handle sample data import for Docker (#…
VanshikaSabharwal Dec 11, 2024
6bd0fec
fix(deps): update dependencies (renov): dependency nanoid to v5.0.9 […
renovate[bot] Dec 12, 2024
f3280aa
Update README.md
palisadoes Dec 15, 2024
2440e4f
Update README.md
palisadoes Dec 15, 2024
dc6f53c
for testing
IITI-tushar Dec 18, 2024
a426143
for testing2
IITI-tushar Dec 18, 2024
1706ddc
for testing3
IITI-tushar Dec 18, 2024
5da59b6
for testing4
IITI-tushar Dec 18, 2024
6585a3c
for testing5
IITI-tushar Dec 18, 2024
a12017b
for testing6
IITI-tushar Dec 18, 2024
295a800
for testing7
IITI-tushar Dec 18, 2024
8a61e89
for testing8
IITI-tushar Dec 18, 2024
eaa492f
for testing9
IITI-tushar Dec 18, 2024
34f9bcd
for testing10
IITI-tushar Dec 18, 2024
4ed1c02
for testing10
IITI-tushar Dec 18, 2024
02bed8a
for testing10
IITI-tushar Dec 18, 2024
c0fec3b
for testing11
IITI-tushar Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Use Debian Bookworm as the base image
FROM ubuntu:latest as builder

# Update package list and install dependencies
RUN apt-get update && \
apt-get install -y \
git \
vim \
curl \
gnupg2 \
lsb-release \
ca-certificates

# Install Node.js (latest LTS version) and npm
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs

# Install additional developer tools (optional)
RUN apt-get install -y \
neovim \
gh # GitHub CLI

# Default command (to keep the container running)
CMD ["tail", "-f", "/dev/null"]
36 changes: 36 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "talawa api dev environment",
"dockerComposeFile": "docker-compose.yaml",
"service": "devcontainer",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Settings to apply to the workspace.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"typescript.tsdk": "node_modules/typescript/lib",
"database.host": "mongodb",
"redis.host": "redis-stack-server"
},
// List of extensions to install inside the container
"extensions": [
"dbaeumer.vscode-eslint",
"ms-azuretools.vscode-docker",
"esbenp.prettier-vscode",
"redhat.vscode-yaml"
]
}
},
// Set up forward ports
"forwardPorts": [
4000, // Server port
27017, // MongoDB port
6379 // Redis port
],
// Post-create commands to run after creating the container
"postCreateCommand": "npm install",

// Volumes from docker-compose are already included
"shutdownAction": "stopCompose"
}
34 changes: 34 additions & 0 deletions .devcontainer/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
services:
mongodb:
image: mongo:latest
ports:
- 27017:27017
volumes:
- mongodb-data:/data/db

redis-stack-server:
image: redis/redis-stack-server:latest
ports:
- 6379:6379
volumes:
- redis-data:/data

devcontainer:
build:
context: .
dockerfile: Dockerfile
ports:
- "${SERVER_PORT:-4000}:4000"
volumes:
- ../..:/workspaces:cached
depends_on:
- mongodb
- redis-stack-server
environment:
- MONGO_DB_URL=mongodb://mongodb:27017
- REDIS_HOST=redis-stack-server
- REDIS_PORT=6379

volumes:
mongodb-data:
redis-data:
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
node_modules
videos
images
data
.env
.git
.gitignore
Expand Down
18 changes: 18 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,24 @@ REDIS_HOST=
REDIS_PORT=
REDIS_PASSWORD=

# These environment variables are used to provide MinIo credentials

# The endpoint URL for MinIO server, specifying where the MinIO service is hosted
MINIO_ENDPOINT=

# The username with root-level access for MinIO administration
MINIO_ROOT_USER=

# The password corresponding to the MINIO_ROOT_USER for authentication
MINIO_ROOT_PASSWORD=

# The default bucket name to use with MinIO for storing data
MINIO_BUCKET=

# The local directory where MinIO stores its data files
MINIO_DATA_DIR=


# this environment variable is for setting the environment variable for Image Upload size

IMAGE_SIZE_LIMIT_KB=3000
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

122 changes: 0 additions & 122 deletions .eslintrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ updates:
directory: "/"
# Schedule automated updates to run weekly
schedule:
interval: "weekly"
interval: "monthly"
# Labels to apply to Dependabot PRs
labels:
- "dependencies"
# Specify the target branch for PRs
target-branch: "develop"
target-branch: "develop-postgres"
# Customize commit message prefix
commit-message:
prefix: "chore(deps):"
17 changes: 13 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ Thanks for submitting a pull request! Please provide enough information so that

Fixes #<!--Add related issue number here.-->

**Did you add tests for your changes?**

<!--Yes or No. Note: Add unit tests or automation tests for your code.-->

**Snapshots/Videos:**

<!--Add snapshots or videos wherever possible.-->
Expand All @@ -45,6 +41,19 @@ Fixes #<!--Add related issue number here.-->

<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->

## Checklist

### CodeRabbit AI Review
- [ ] I have reviewed and addressed all critical issues flagged by CodeRabbit AI
- [ ] I have implemented or provided justification for each non-critical suggestion
- [ ] I have documented my reasoning in the PR comments where CodeRabbit AI suggestions were not implemented

### Test Coverage
- [ ] I have written tests for all new changes/features
- [ ] I have verified that test coverage meets or exceeds 95%
- [ ] I have run the test suite locally and all tests pass


**Other information**

<!--Add extra information about this PR here-->
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/codeql-codescan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ on:

jobs:
CodeQL:
name: CodeQL
if: ${{ github.actor != 'dependabot[bot]' }}
name: Analyse Code With CodeQL
runs-on: ubuntu-latest
permissions:
actions: read
Expand All @@ -47,4 +48,4 @@ jobs:
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v2
Loading
Loading