Skip to content
Merged

Dev #84

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
72993ac
feat(server): implement secure, scalable API server with analytics an…
Jackson57279 Aug 23, 2025
c009629
Potential fix for code scanning alert no. 621: Bad HTML filtering regexp
Jackson57279 Aug 23, 2025
1ecde6c
🔒 Fix critical security vulnerabilities in API server
Jackson57279 Aug 23, 2025
35f888f
Enhance security of HTML parsing with improved regex patterns and ite…
Jackson57279 Aug 23, 2025
4f352c4
Resolve merge conflicts between dev-branch and main
Jackson57279 Aug 23, 2025
1ddddf3
🔒 Fix critical security vulnerabilities
Jackson57279 Aug 23, 2025
d9c9ac4
Thing
Jackson57279 Aug 23, 2025
f0d128e
different model please
Jackson57279 Aug 23, 2025
dab568a
fix: resolve JavaScript errors in chat interface and tRPC integration
Jackson57279 Aug 23, 2025
bfc239b
resolve: merge conflict in api-dev-server.ts
Jackson57279 Aug 23, 2025
c87a874
refactor(api): enhance file validation and error handling in API server
Jackson57279 Aug 24, 2025
a4d5911
refactor(api): enhance analytics, error handling, and security measures
Jackson57279 Aug 24, 2025
2df27bd
refactor(security): enhance PII scrubbing and validation logic
Jackson57279 Aug 24, 2025
a3f199d
Potential fix for code scanning alert no. 624: CORS misconfiguration …
Jackson57279 Aug 24, 2025
c07b38b
resolve: merge conflicts in api-dev-server.ts and src/lib/firecrawl.ts
Jackson57279 Aug 24, 2025
847ddce
resolve: merge conflicts in PR #78, keeping security improvements fro…
Jackson57279 Aug 24, 2025
ba0f990
Add current changes before merge
Jackson57279 Aug 24, 2025
99a167f
Resolve merge conflicts prioritizing security improvements from dev-b…
Jackson57279 Aug 24, 2025
776e924
idk
Jackson57279 Aug 24, 2025
557c799
Refactor deployment configuration to separate sensitive data
Jackson57279 Aug 25, 2025
8cd83ed
Refactor ResourcePreloader component to optimize resource hints and u…
Jackson57279 Aug 25, 2025
03f8136
resolve: merge conflicts between qoder branch and main
Jackson57279 Aug 25, 2025
81d1110
Fix Vercel deployment build errors
Jackson57279 Aug 26, 2025
6b7aa42
Fixing shit
Jackson57279 Aug 26, 2025
8cb3bda
Merge branch 'main' into dev
dogesman098 Aug 26, 2025
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 api/success.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {

try {


// Require authentication
const rawAuthHeader = Array.isArray(req.headers['authorization'])
? req.headers['authorization'][0]
: req.headers['authorization'];
const authorization = typeof rawAuthHeader === 'string' ? rawAuthHeader : undefined;


if (!authorization) {
return res.status(401).json({ error: 'Unauthorized' });
}
Expand Down
1 change: 1 addition & 0 deletions src/components/EnhancedChatInterface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import type { Id } from '../../convex/_generated/dataModel';
import { streamAIResponse, generateChatTitleFromMessages } from '@/lib/ai';
import { useAuth } from '@/hooks/useAuth';
import { toast } from 'sonner';
import { useNavigate } from 'react-router-dom';

// Import extracted components
import { ChatSidebar } from './chat/ChatSidebar';
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default defineConfig(({ mode }) => {
cacheableResponse: {
statuses: [0, 200],


headers: {
'Cache-Control': /^(?!.*no-store).*/,
},
Expand Down