Commit graph

26 commits

Author SHA1 Message Date
ccbikai
aa8ebca8f6 feat: add CORS support for API and update .gitignore and configuration documentation 2025-07-20 12:11:18 +08:00
ccbikai
a6ea1391f2 feat(test): add comprehensive testing guidelines
Establishes clear testing standards and best practices:

- Mandates unit testing for all API endpoints
- Defines test organization and file structure
- Introduces testing scope and strategy
- Documents best practices for writing tests
- Sets minimum coverage requirements (80%)
- Adds test data management guidelines

Updates project documentation to reflect testing requirements and development workflow. Includes practical examples of good testing patterns and proper test organization.
2025-05-28 19:50:56 +08:00
ccbikai
3b793fc489 Merge branch 'master' into worker 2025-05-22 19:43:16 +08:00
ccbikai
0b9960b5d8 chore: update project configuration and dependencies
- Adds new path aliases for improved code organization
- Updates dependencies to latest versions including vue-sonner v2.0.0
- Removes sourcemap configuration from Nuxt config
- Enhances API documentation with OpenAPI schemas
- Removes unused security schemes and Wrangler configuration

These changes modernize the project setup while improving documentation and removing unnecessary configurations.
2025-05-22 19:41:25 +08:00
ccbikai
988657c30a fix: disable SSR for the root route in nuxt.config 2025-05-21 12:19:02 +08:00
ccbikai
efbd6c7994 chore: update Node.js version and optimize build configuration 2025-05-21 12:15:04 +08:00
ccbikai
f215c58eae chore: disable sourcemaps and update build configs
- Disables sourcemap generation in Nuxt for production optimization
- Adds esbuild to pnpm workspace built dependencies
- Updates Cloudflare Worker configuration to use Node.js compatibility mode
- Removes source map upload from worker configuration

These changes optimize the production build process and enhance worker compatibility.v
2025-05-20 21:32:27 +08:00
ccbikai
13b3f5a8ea feat: configure workers env and enforce compatibility
Enhances Cloudflare Workers configuration and compatibility settings:

- Enables worker execution based on provider/runtime conditions
- Sets compatibility date specifically for Cloudflare to 2025-05-08
- Enforces module compatibility through experimental flag
- Configures Wrangler with proper asset bindings and server entry point

This update improves deployment reliability and ensures consistent behavior across different environments.
2025-05-20 21:12:19 +08:00
ccbikai
125af3a567 Merge branch 'master' into preview 2025-05-20 19:27:33 +08:00
ccbikai
55753ec8bc feat: update dependencies and enhance API documentation in Nuxt configuration 2025-05-20 19:27:27 +08:00
ccbikai
bab8dec489 style(vue): improve motion animation formatting
Enhances code readability and maintainability by:
- Breaking v-motion directive into separate line
- Reordering motion module in Nuxt config for better dependency loading

This change maintains the same functionality while improving code organization
and module initialization order.
2025-05-18 21:52:02 +08:00
ccbikai
0dd263c354 feat: enhance realtime dashboard with time filters
Implements comprehensive time filtering and visualization improvements:

- Adds time range picker with presets from 5min to 24h
- Enhances chart visualization with minute-level granularity
- Updates globe visualization to respond to time/filter changes
- Implements animated event log display
- Swaps primary/secondary color scheme for better contrast

Improves realtime data handling with automatic updates and proper cleanup on unmount. Includes i18n support for new time picker UI across all supported languages.
2025-05-18 19:06:28 +08:00
ccbikai
d580a9f882 chore: Adjust the directory structure in preparation for real-time. 2025-05-11 14:17:57 +08:00
wudi
7cadbfe2b1 refactor: Migrate project files and directories to the app directory using the new compatibilityVersion: 4 feature
- Moved `app.config.ts` to the `app` directory
- Migrated `.vue` files and other assets to the `app` directory
- Updated import paths to reflect the new file locations
2025-03-24 11:05:59 +08:00
ccbikai
71654dcbc8 feat: add bot traffic filtering for access logs
Adds configuration option NUXT_DISABLE_BOT_ACCESS_LOG to exclude bot/crawler traffic from access statistics

- Updates ua-parser-js to stable v2.0.3
- Detects bots via CloudFlare bot management and user agent analysis
- Documents new config option in configuration.md and FAQs
2025-03-16 12:57:05 +08:00
wudi
e563d55852 feat: Add internationalization (i18n) support
Implemented multi-language support for the application:
- Added @nuxtjs/i18n plugin configuration
- Created locale files for English (en-US) and Chinese (zh-CN)
- Updated components to use translation keys
- Added language switcher in header
- Configured VSCode i18n-ally settings
- Prepared translation infrastructure for future language expansions
2025-03-03 11:21:39 +08:00
ccbikai
af5724f3c1 feat: add configurable list query limit
Extracts list query limit into runtime configuration
Updates default pagination limit in query schema

Makes the list query limit configurable across the application rather than hardcoding it to 500, improving flexibility for different deployment scenarios.
2024-12-25 12:14:38 +08:00
ccbikai
da16f24577 style: eslint 2024-12-24 21:10:36 +08:00
ZL Asica
326939feee
feat: add config to switch case sensitivities 2024-12-02 20:24:47 -06:00
ccbikai
b116d4c007 feat: enable AI integration and update dependencies
- Activated AI functionality in Nuxt configuration
- Updated AI model to a newer version for enhanced performance
- Bumped @nuxthub/core to 0.7.3 for critical bug fixes and improvements
2024-08-18 19:01:14 +08:00
ccbikai
52187d1ff6 feat: disable query string redirection by default
Enhances security and performance by preventing query strings from being carried over during redirection, aligning with best practices.
2024-07-20 18:34:49 +08:00
ccbikai
2876385f20 feat: add link cache TTL for performance optimization
Improves response times by introducing a configurable link cache TTL, defaulting to 60 seconds, to ensure quick access to frequently requested links while maintaining responsiveness to updates.
2024-07-20 18:21:40 +08:00
ccbikai
8f8865801a feat: redirect dashboard to analysis and update nav link
Enhances navigation by redirecting the main dashboard to the analysis page and updating the navigation link to directly access the analysis section. This change streamlines user access to the primary dashboard functionality.
2024-07-20 18:11:38 +08:00
ccbikai
01be05c0fc chore: Update package dependencies and optimize imports 2024-07-08 20:28:38 +08:00
QuentinHsu
e8767a5ca2
feat: switch theme 2024-05-31 23:53:39 +08:00
ccbikai
bd47e755d5 feat: init 2024-05-25 08:09:30 +08:00