Commit graph

18 commits

Author SHA1 Message Date
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
e933a6cfd5 feat: update security scheme references in OpenAPI metadata 2025-05-21 20:34:02 +08:00
ccbikai
7ddbbbbca4 feat: add OpenAPI metadata to endpoints
Enhances API documentation by adding OpenAPI metadata to location and verify endpoints. Includes:

- Security requirements for both endpoints
- Detailed description of endpoint purposes
- Response documentation for verify endpoint with success/error cases
2025-05-21 20:31:12 +08:00
ccbikai
61fec839e4 chore: eslint 2025-05-21 19:54:54 +08:00
ccbikai
f05393cc2e Merge branch 'master' into realtime 2025-05-16 19:03:16 +08:00
ccbikai
507a4d9a23 feat: add COLO field to access log tracking
Add Cloudflare COLO data to the access log tracking system to capture datacenter location information. This enables better monitoring of request distribution across Cloudflare's global infrastructure.

The COLO field is mapped to blob16 in the blobs map and populated from the Cloudflare request headers.
2025-05-16 19:02:14 +08:00
ccbikai
7291beafea Merge branch 'preview' into realtime 2025-05-11 18:58:02 +08:00
ccbikai
dc23ff02a2 feat: add latitude/longitude to access logs
Extends access logging system to support geographic coordinates:
- Adds `doublesMap` for latitude/longitude data
- Updates type definitions to handle numeric values
- Implements conversion functions for double values
- Captures coordinates from Cloudflare headers

Enhances analytics capabilities for real-time globe visualization
2025-05-11 18:33:47 +08:00
ccbikai
63cd5e9503 feat: add realtime log and globe 2025-05-11 17:48:46 +08:00
ccbikai
d4d088521a Merge branch 'master' of github.com:WuChenDi/Sink into WuChenDi-master 2025-05-11 13:40:19 +08:00
wiresslend
11fdaeeb19
solve not being able to correctly obtain CF IP 2025-04-15 11:12:53 +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
ccbikai
1eb22503e6 fix: enable multiple filter values via comma separator
Updates query filter to support multiple values by splitting on commas.
Removes debug logging statement for cleaner code.

The change allows for more flexible query filtering by accepting
comma-separated values instead of single values only.
2025-03-02 13:47:50 +08:00
ccbikai
2a6b875bdb feat: consolidate time filtering and add advanced filters
Refactors time-based filtering by combining startAt/endAt into a single time object
Adds support for additional filter types in stats API queries
Implements deep watching for both time and filter changes

Improves code organization and maintainability while enabling more flexible data filtering
2025-03-02 13:40:43 +08:00
ccbikai
da16f24577 style: eslint 2024-12-24 21:10:36 +08:00
ccbikai
01be05c0fc chore: Update package dependencies and optimize imports 2024-07-08 20:28:38 +08:00
ccbikai
bd47e755d5 feat: init 2024-05-25 08:09:30 +08:00