Skip to content
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
2 changes: 2 additions & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
APP_SECRET_KEY='app_secret_key'
DEBUG=False
ALLOWED_HOSTS=localhost,127.0.0.1
GEMINI_API_KEY=GEMINI_KEY
DB_NAME=chatterbox
DB_USER=postgres
Expand Down
4 changes: 2 additions & 2 deletions backend/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
SECRET_KEY = os.environ.get('APP_SECRET_KEY')
CLOSED_ALPHA_SIGN_UPS = os.environ.get('CLOSED_ALPHA_SIGN_UPS')

DEBUG = True
DEBUG = os.environ.get('DEBUG', 'False').lower() == 'true'

ALLOWED_HOSTS = []
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', '').split(',') if os.environ.get('ALLOWED_HOSTS') else []

ASGI_APPLICATION = "config.asgi.application"

Expand Down
129 changes: 0 additions & 129 deletions backend/debug_github_ingestion.py

This file was deleted.

6 changes: 0 additions & 6 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,3 @@ websockets==15.0.1
zope.interface==7.2
zstandard==0.23.0
gql==3.5.0
pytest==8.3.4
pytest-django==4.9.0
pytest-cov==6.0.0
factory-boy==3.3.1
django-factory-boy==1.0.0
pytest-json-report==1.5.0
115 changes: 0 additions & 115 deletions backend/verify_graphql_migration.py

This file was deleted.

1 change: 1 addition & 0 deletions frontend/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DOMAIN=localhost:8000
BACKEND_BASE_URL=http://localhost:8000
API_BASE_URL=http://localhost:8000/api
NODE_ENV=production
6 changes: 0 additions & 6 deletions frontend/components/KnowledgeBase/GitHubInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,9 @@ const form = ref<GitHubIngestionRequest>({

const integrationName = computed(() => {
const appIntegrations = integrationStore.appIntegrations || []
console.log('GitHubInput - appIntegrations:', appIntegrations)
const githubIntegration = appIntegrations.find(
(appInt: any) => appInt.integration.provider === 'github'
)
console.log('GitHubInput - githubIntegration:', githubIntegration)
console.log('GitHubInput - integrationName:', githubIntegration?.integration.name)
return githubIntegration?.integration.name
})

Expand All @@ -136,13 +133,10 @@ const isValid = computed(() => {

const getGitHubIntegrationId = () => {
const appIntegrations = integrationStore.appIntegrations || []
console.log('getGitHubIntegrationId - appIntegrations:', appIntegrations)
const githubIntegration = appIntegrations.find(
(appInt: any) => appInt.integration.provider === 'github'
)
console.log('getGitHubIntegrationId - githubIntegration:', githubIntegration)
const integrationId = githubIntegration?.id || 0
console.log('getGitHubIntegrationId - integrationId:', integrationId)
return integrationId
}

Expand Down
2 changes: 0 additions & 2 deletions frontend/components/KnowledgeBase/NewKnowledgeBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ const githubData = ref<GitHubIngestionRequest | null>(null)

onMounted(async () => {
try {
console.log('Loading app integrations for app:', useRoute().params.appId)
await integrationStore.loadAppIntegrations(useRoute().params.appId as string)
console.log('App integrations loaded:', integrationStore.appIntegrations)
} catch (error) {
console.error('Failed to load integrations:', error)
toast.error('Failed to load integration options')
Expand Down
2 changes: 1 addition & 1 deletion frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import tailwindcss from '@tailwindcss/vite'

export default defineNuxtConfig({
compatibilityDate: '2025-05-15',
devtools: { enabled: true },
devtools: { enabled: process.env.NODE_ENV === 'development' },
ssr: false,
css: ['~/assets/css/main.css'],

Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@nuxt/fonts": "^0.11.4",
"@nuxt/icon": "^1.14.0",
"@nuxt/image": "^1.10.0",
"@nuxtjs/color-mode": "^3.5.2",
"@pinia/nuxt": "^0.11.1",
"@tailwindcss/vite": "^4.1.10",
"@tanstack/vue-table": "^8.21.3",
Expand Down Expand Up @@ -44,7 +45,6 @@
"zod": "^3.25.76"
},
"devDependencies": {
"@nuxtjs/color-mode": "^3.5.2",
"prettier": "^3.5.3"
},
"volta": {
Expand Down
1 change: 0 additions & 1 deletion frontend/pages/forgot-password.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const onSubmit = handleSubmit(async (values) => {
toast.success('Password reset link sent! Check your email.')
await router.push('/login')
} catch (e: never) {
console.log(e.errors)
toast.error('Failed to send password reset link.')
}
})
Expand Down
2 changes: 0 additions & 2 deletions frontend/pages/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const handleLogin = async () => {
toast.success('Login successful!')
navigateTo('/')
} catch (err: any) {
console.log(err, "error")

if (err.status === 403) {
if (err?.errors?.is_verified === false) {
Expand Down Expand Up @@ -136,7 +135,6 @@ onMounted(async () => {
toast.success('Email verified! Logged in successfully.')
navigateTo('/')
} catch (err: any) {
console.log(err,"error")

if (err.status === 403) {
dialogMessage.value = 'Your account approval is pending. We will get back to you as soon as the verification is complete. Thank you for your patience. Please contact our support team for any queries'
Expand Down
Loading