Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
7928742
untrack local vscode settings meant for local development
adeyinkaoresanya Feb 12, 2026
36db609
refactor: modify code to not require password for database during dev…
adeyinkaoresanya Feb 12, 2026
d5e840d
add winston library for logging functionality
adeyinkaoresanya Feb 12, 2026
8b335d7
refactor index.js for modularity and proper orchestration
adeyinkaoresanya Feb 12, 2026
6734f65
feat: add repository name to environment configuration and ensure por…
adeyinkaoresanya Mar 10, 2026
00905f0
feat: add repository name to environment configuration and update sco…
adeyinkaoresanya Mar 10, 2026
faa308e
chore: remove commented out code from index.ts
adeyinkaoresanya Apr 10, 2026
ff121a7
chore: add missing DB_PORT and WEBHOOK_PATH entries to .env.example
adeyinkaoresanya Apr 10, 2026
69a8a7d
fix: update SmeeClient source variable to use SMEE_CLIENT_URL
adeyinkaoresanya Apr 10, 2026
79fa5b3
refactor: improve error handling and response structure in AuthContro…
adeyinkaoresanya Apr 10, 2026
588d249
fix: refactor event URL extraction logic for virtual and in-person ev…
adeyinkaoresanya Apr 10, 2026
0947e9b
refactor: introduce SystemController with health check and root endpoint
adeyinkaoresanya Apr 10, 2026
d313be4
fix: update TypeScript configuration to include Jest types and adjust…
adeyinkaoresanya Apr 10, 2026
6b38176
feat: add Jest configuration and setup files for testing
adeyinkaoresanya Apr 10, 2026
01a540b
feat: add mock services for Crypto, Database, GitHub, GitLab, and Oct…
adeyinkaoresanya Apr 10, 2026
836aa33
fix: add optional TEST_DB_NAME to environment configuration for testi…
adeyinkaoresanya Apr 10, 2026
d62677f
feat: add mockUserRepository with saveUser function for testing
adeyinkaoresanya Apr 10, 2026
4bc8663
feat: add unit tests for CryptoService and MailerService
adeyinkaoresanya Apr 10, 2026
995aa3b
feat: add unit tests for Database
adeyinkaoresanya Apr 10, 2026
18623c2
feat: add unit tests for GitHub and GitLab services
adeyinkaoresanya Apr 10, 2026
8de0724
Add unit tests for event and project badging services
adeyinkaoresanya Apr 10, 2026
2df27f7
fix: remove checkmarks from filesfix: remove checkmarks from files
adeyinkaoresanya Apr 10, 2026
fde224e
feat: add integration tests for EventBadgingController and ProjectBad…
adeyinkaoresanya Apr 10, 2026
c3c18ed
fix: remove deprecated option from tsconfig.json
adeyinkaoresanya Apr 13, 2026
b7cec68
fix: update configuration for event badging repository details
adeyinkaoresanya Apr 13, 2026
c20785f
fix: refactor event URL extraction logic in handleIssueOpened method
adeyinkaoresanya Apr 13, 2026
937a1fa
fix: update GitLab authentication methods to handle responses and err…
adeyinkaoresanya Apr 13, 2026
e5971f0
fix: correct typo in success email template
adeyinkaoresanya Apr 13, 2026
1bfe37b
fix: update issue payload structure to include assignees and format b…
adeyinkaoresanya Apr 13, 2026
87afa61
fix: update .env.example to include GitHub app installation ID and token
adeyinkaoresanya May 22, 2026
e9196bf
fix: clean up app.ts by removing comments and organizing imports
adeyinkaoresanya May 22, 2026
093e32a
fix: create database disconnection handling during server shutdown
adeyinkaoresanya May 22, 2026
fc63870
refactor: Refactor AuthController and AuthService for improved error …
adeyinkaoresanya May 22, 2026
0236888
feat: implement global error handler and request logger with enhanced…
adeyinkaoresanya May 22, 2026
5612cba
feat: add HTML renderer for developer repository selection form
adeyinkaoresanya May 22, 2026
65235af
feat: enhance event handling with improved error logging and webhook …
adeyinkaoresanya May 22, 2026
bd8a031
feat: enhance project badging process with improved error handling an…
adeyinkaoresanya May 22, 2026
10c5499
feat: integrate logger for improved error handling and logging across…
adeyinkaoresanya May 22, 2026
53fd78d
feat: enhance logging across GitHub services and mailer service for b…
adeyinkaoresanya May 22, 2026
5befba6
feat: remove license field from jsonwebtoken dependency in package-lo…
adeyinkaoresanya May 22, 2026
afe99f9
feat: add end-to-end tests for event and project badging processes
adeyinkaoresanya May 26, 2026
4046043
feat: implement global error handler in event and project badging int…
adeyinkaoresanya May 26, 2026
a049bd2
refactor: update mock services to use factory functions for better te…
adeyinkaoresanya May 26, 2026
7c6eb5a
refactor: Refactor tests to improve error handling and logging
adeyinkaoresanya May 26, 2026
cafd97a
refactor: refactor: remove unnecessary imports from test files
adeyinkaoresanya May 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
GITHUB_AUTH_CLIENT_ID=
GITHUB_AUTH_CLIENT_SECRET=

# oauth for event badging
GITHUB_AUTH_CLIENT_ID_EVENT=
GITHUB_AUTH_CLIENT_SECRET_EVENT=
# github app configs
GITHUB_APP_ID=
GITHUB_APP_CLIENT_ID=
GITHUB_APP_CLIENT_SECRET=
GITHUB_APP_WEBHOOK_SECRET=
GITHUB_APP_PRIVATE_KEY=
GITHUB_APP_INSTALLATION_ID=
GITHUB_APP_INSTALLATION_TOKEN=


# gitlab OAuth app configs
GITLAB_APP_CLIENT_ID=
Expand All @@ -19,18 +25,26 @@ EMAIL_HOST= # Default is Gmail
EMAIL_ADDRESS= # Your email address
EMAIL_PASSWORD= # Not your email password. To get a unique Gmail app password, follow this link -> https://myaccount.google.com/apppasswords

PORT=
PORT=3001

# augur configs
AUGUR_APP_CLIENT_SECRET= # To get client secret, create an app via https://ai.chaoss.io/account/login

# database configs
DB_DIALECT= # Default is 'mysql'
DB_HOST= # default is 'localhost'
DB_NAME=
TEST_DB_NAME=
DB_USER=
DB_PASSWORD=
DB_PORT=

# repository used for event badging
# REPOSITORY_NAME=event-diversity-and-inclusion
# REPOSITORY_OWNER=badging

# smeeClient URL for testing

# smeeClient URL for testing
SMEE_CLIENT_URL=
WEBHOOK_PATH=


8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,11 @@ report*
deploy.tests.yml

/tmp/mysql/*

# ignore .vscode
.vscode/
# ignore all.pem files
*.pem



2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ npm run typecheck || exit 1
echo "✨ Running lint-staged..."
npx lint-staged || exit 1

echo " Pre-commit checks passed!"
echo " Pre-commit checks passed!"
18 changes: 0 additions & 18 deletions .vscode/settings.json

This file was deleted.

13 changes: 13 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type { Config } from 'jest';

const config: Config = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/tests/**/*.test.ts'],
"transform": {
"^.+\\.tsx?$": ["ts-jest", { "tsconfig": "tsconfig.json" }]
},
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
};

export default config;
7 changes: 7 additions & 0 deletions jest.setup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import 'reflect-metadata';
import * as dotenv from 'dotenv';
import path from 'path';

// Point to your .env file
dotenv.config({ path: path.resolve(__dirname, './.env') });

Loading