Skip to content

sync - #1

Merged
authenticeasy-sys merged 259 commits into
authenticeasy-sys:mainfrom
Gen-x-academy:main
Jul 19, 2026
Merged

sync#1
authenticeasy-sys merged 259 commits into
authenticeasy-sys:mainfrom
Gen-x-academy:main

Conversation

@authenticeasy-sys

Copy link
Copy Markdown
Owner

Description

Related Issues

Changes Made

  • List key changes made in this PR.

How to Test

Screenshots (if applicable)

Checklist

  • My code follows the project's coding style.
  • I have tested these changes locally.
  • Documentation has been updated where necessary.

Hassan-oladipupo and others added 30 commits April 28, 2026 12:32
- Reduced coverage thresholds from 60% to 20% (statements, functions, lines) and 50% to 15% (branches)
- Added exclusions for DTOs, schemas, and spec files from coverage collection
- Added express-adapter.ts to exclusions
- This allows tests to pass while comprehensive test coverage is being developed

Resolves test:cov failures due to unrealistic coverage requirements
- Confirmed AdminAuthModule is properly registered in AppModule
- Added ADMIN_AUTH_E2E_FIX.md documenting current state
- Documented module configuration and e2e test coverage
- Provided verification steps for running tests

The reported issue has already been resolved - AdminAuthModule is registered
and all admin routes are accessible for e2e testing.
- #401: throttler now reads per-role limits from AppConfig
- #402: AppCacheModule wires Redis store when REDIS_URL is set
- #403: add scripts/migrate.ts deploy-time migration runner
- #404: add enableApiVersioning helper for URI-based versioning
…ellar-integration

feat: scaffold backend infrastructure, modules, DTOs, and core servic…
fix: [Test] jest coverage thresholds set to 60% but most services have 0% coverage — CI will fail
[Test] test/admin-crud.e2e-spec.ts tests admin CRUD but AdminAuthModule is not in AppModule — tests will always fail
fix: harden prod infra — throttler, cache, migrations, API versioning
…erage

test(auth): add comprehensive JwtAuthGuard coverage
fix: ConfigService for PORT and graceful shutdown hooks
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
fix(test): complete student factory with persisted create method alongside build
…heck

fix(test): add MongoDB connection verification to e2e setup with fail-fast on unreachable DB
ci: enforce lint build and tests in workflow
Hassan-oladipupo and others added 28 commits June 26, 2026 20:18
…count

feat(stellar): add testnet create-account endpoint with Friendbot funding
fix: resolve issues #654, #657, #658 — Stellar contract validation, Horizon polling, and integration docs
…ication-express

cleanup: add CONTRIBUTING API guide, wire VerificationModule, remove express server
- Adjusted global throttler settings to use milliseconds for TTL in app.module.ts.
- Updated throttling metadata for forgot-password endpoints in StudentAuthController and TutorController to reflect a limit of 3 requests per 15 minutes.
- Added unit test for throttling behavior in StudentAuthController.
- Added *.scratch.ts to .gitignore for local scratch files.
- Created dist-test/tsconfig.tsbuildinfo for TypeScript build info.
- Refactored import paths in admin-access.e2e-spec.ts and edge-cases.e2e-spec.ts to use new helper module.
- Introduced test/helpers/test-app.helper.ts for creating test applications.
Adds CI check, local npm script, and CONTRIBUTING note to prevent misplaced PHP/Symfony projects under src/ after CRUDAPI removal.

Fixes #793
…limit

refactor: update throttling configuration for password reset endpoints
…files

chore: update .gitignore and refactor test imports
chore: guard src/ against PHP and Symfony reintroduction
Adds stopAtFirstError: true so validation halts on the first failing
constraint per property, producing cleaner error payloads instead of
accumulating every violation.

closes #723
Adds imports: [ConfigModule] to MongooseModule.forRootAsync so the
ConfigService injection is declared consistently with ThrottlerModule
and JwtModule. Ensures mongoUri (mapped from MONGO_URI in app.config.ts)
is always resolved correctly instead of falling back to a hardcoded
localhost URI.

closes #722
After verifying the JWT signature, assert payload.type === 'refresh' so
an access token (or any other signed token) cannot be replayed against
the refresh endpoint. Prevents a class of token-confusion attacks.

closes #721
Reorders top-level constants so all expiry values (access, refresh,
verification, reset) are declared together before BCRYPT_SALT_ROUNDS,
and adds human-readable unit comments to every expiry constant.

closes #720
fix(main): CORS, global prefix, Swagger env-gate, and compression middleware
fix: resolve issues #720 #721 #722 #723 — validation, DB config, and student-auth constants
…le and add enableShutdownHooks

app.module.ts had duplicate import statements and duplicate @module imports
array entries, causing TypeScript compile errors that made all routes return
404. Removed all duplicates to produce a single clean registration for each
module. main.ts already contained enableShutdownHooks() — confirmed present.

closes #729
closes #730
closes #731
closes #728
… FaqManagementModule in AppModule

The file had duplicate import statements and duplicate module entries in the
imports array that prevented TypeScript from compiling. Rewrote app.module.ts
with a single, deduplicated import block and a single clean imports array so
all four previously unreachable modules are properly registered.

closes #732
closes #733
closes #734
closes #735
…criptionPlanModule in AppModule

The file had dozens of duplicate import declarations and duplicate entries
in the @module imports array, causing TypeScript compilation failure and
making all routes from these modules return 404.

Removed all duplicate import statements and deduplicated the imports array
so the app compiles cleanly with all three modules properly registered.

closes #736
closes #737
closes #738
fix(app): register missing auth modules and confirm enableShutdownHooks
fix(app): register HealthModule, NotificationModule, BadgeModule, and FaqManagementModule in AppModule
fix(app): register missing modules in AppModule and fix duplicate imports
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@authenticeasy-sys
authenticeasy-sys merged commit 1d0939e into authenticeasy-sys:main Jul 19, 2026
1 of 2 checks passed
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.