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

Removed code execution #519

Merged
merged 4 commits into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 2 additions & 9 deletions apps/web/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@ GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="NEXTAUTH_SECRET"
NEXT_PUBLIC_JUDGE0_API_URL="http://localhost:2358"
CODE_SUBMISSION_RATE_LIMIT_COUNT=5 # Nums of submission allowed in the interval
CODE_SUBMISSION_RATE_LIMIT_INTERVAL=60000 #Interval in milliseconds (1 minute)
CODE_SUBMISSION_BACKOFF_DELAY=1000 # delay in ms
CODE_SUBMISSION_BACKOFF_MAX_RETRIES=5 # delay in ms


GOOGLEAI_API_KEY=

QDRANT_API_KEY=
QDRANT_URL=
VECTOR_DIMENSION=768 # Upto 768 dimensions are supported

CACHE_EXPIRE=1800 # expiration time of the cache memory
VECTOR_DIMENSION=768 # Upto 768 dimensions are supported
CACHE_EXPIRE=1800 # expiration time of the cache memory
29 changes: 0 additions & 29 deletions apps/web/app/admin/code/[problemId]/page.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions apps/web/app/api/code/submission/[submissionId]/route.ts

This file was deleted.

115 changes: 0 additions & 115 deletions apps/web/app/api/code/submission/route.ts

This file was deleted.

51 changes: 0 additions & 51 deletions apps/web/app/api/code/test/route.ts

This file was deleted.

83 changes: 0 additions & 83 deletions apps/web/app/profile/submissions/page.tsx

This file was deleted.

Loading
Loading