59 Commits

Author SHA1 Message Date
7609e99076 fix: use constant for cookie value and remove unused import
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 01:56:14 +08:00
db479c9da1 feat: implement simple cookie-based authentication middleware 2026-03-04 01:54:56 +08:00
2a883c23f9 fix: address race conditions and add path validation
- Fixed race condition in getProjects() by using Promise.all with proper async/await
- Fixed race condition in getVersions() by using Promise.all with proper async/await
- Fixed race condition in getApks() by ensuring Promise.all wraps the async map
- Added validatePath() helper function to prevent path traversal attacks
- Applied path validation to all file system operations

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 01:54:07 +08:00
5e00e36e57 feat: add file system utility functions 2026-03-04 01:52:44 +08:00
c4a25fced2 fix: address security concerns in constants (path and credentials)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 01:52:02 +08:00
af080cee2a feat: add constants configuration 2026-03-04 01:51:09 +08:00
37e2e2e7d3 fix: remove .env.local from git and add .env.example
Remove credentials file from git tracking and provide template for
environment variables.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 01:49:47 +08:00
9b793b9b93 feat: initialize Next.js project with Tailwind CSS and SWR
- Initialize Next.js 16.1.6 with TypeScript and App Router
- Configure Tailwind CSS for styling
- Install SWR for API state management
- Set up environment variables for authentication and resource path
- Update .gitignore to track .env.local

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 01:47:15 +08:00
a78f029e03 Initial commit from Create Next App 2026-03-04 01:45:44 +08:00