1
1
mirror of https://github.com/ZeroCatDev/ClassworksKV.git synced 2026-02-03 23:23:10 +00:00

Commit Graph

  • ee2787a413
    Refactor Docker publish workflow to remove database matrix strategy, simplifying image building process. Update image tagging to exclude database suffix and adjust conditions for push actions based on event type. SunWuyuan 2025-05-24 17:54:13 +08:00
  • f580ffe8fd
    Update database setup in classworks.js to default to SQLite, enhance error messages with Chinese translations, and improve comments for clarity. Refactor main function to streamline execution flow based on command line arguments. SunWuyuan 2025-05-24 17:52:44 +08:00
  • f3c24c24b8
    Refactor Docker setup to consolidate services into a single app container using SQLite. Update Dockerfile to streamline dependency installation and set entrypoint for the application. SunWuyuan 2025-05-24 17:50:51 +08:00
  • 1f56b8032f
    Remove deprecated Docker image workflow and consolidate Docker publish workflow to streamline image building and pushing for multiple database types. SunWuyuan 2025-05-24 16:45:07 +08:00
  • dfb7413b05
    Update Docker publish workflow to use lowercase image names for MySQL, PostgreSQL, and SQLite for consistency. SunWuyuan 2025-05-24 16:37:51 +08:00
  • 2d20755a0c
    Update Docker publish workflow to use lowercase image names for consistency across MySQL, PostgreSQL, and SQLite images. SunWuyuan 2025-05-24 16:36:40 +08:00
  • 14d3587720
    Update authentication middleware in auth.js to improve password hint functionality and error handling. Revise device management routes in kv.js to support password hint retrieval and modification, enhancing security and user experience. SunWuyuan 2025-05-24 16:34:37 +08:00
  • 91e515b553
    Rename project from "serverexpress" to "ClassworksKV" and update version to 1.0.0 in package.json. SunWuyuan 2025-05-24 16:28:56 +08:00
  • 420ba4277d
    Update Dockerfile to handle database-specific commands and enhance Prisma schema for PostgreSQL and SQLite. Introduce new AccessType enum and KVStore model for improved data management. Clean up SQLite schema by removing unused fields. SunWuyuan 2025-05-24 16:18:38 +08:00
  • 0e490e5def
    Refactor Dockerfile to include build arguments for database type and set production environment. Update npm commands for dependency installation and Prisma client generation. Modify GitHub Actions workflow to support multiple database types in Docker image builds. Adjust Express server port and enhance logging in www.js. Update Prisma schema to use SQLite and clean up model definitions. Revise routes in kv.js to improve key-value management functionality and update front-end fetch calls in index.ejs for batch import and UUID generation. SunWuyuan 2025-05-24 14:57:57 +08:00
  • cf646d619f
    Add bcrypt and js-base64 dependencies in package.json and pnpm-lock.yaml. Enhance authentication middleware in auth.js with password hint functionality and improve error handling. Update device management routes in kv.js to support password hint retrieval and modification, ensuring better security and user experience. SunWuyuan 2025-05-18 14:33:16 +08:00
  • b312756d5f
    Refactor authentication middleware in auth.js to improve site key validation and device access control. Update access types to use an enum in the Prisma schema. Enhance rate limiting in rateLimiter.js for API and write operations. Modify routes in kv.js to support new access types and password management features, including a new endpoint for password removal. SunWuyuan 2025-05-18 10:54:41 +08:00
  • 3bff254a22
    Implement device authentication middleware and Prisma model for device management. Update routes to include device info retrieval and password management, enhancing security and functionality. SunWuyuan 2025-05-17 20:02:55 +08:00
  • 69887f9c47
    Update batch rate limiter in rateLimiter.js to allow 10 operations per minute instead of 5, enhancing throughput for bulk operations. SunWuyuan 2025-05-11 13:50:22 +08:00
  • 810491fd2f
    Enable static file serving in app.js, implement a batch import endpoint in kv.js for bulk key-value pair uploads, and add a corresponding rate limiter. Enhance the front-end in index.ejs with a form for batch data import and improve styling for better user experience. SunWuyuan 2025-05-11 12:04:06 +08:00
  • 4a8b19c0b8
    Enhance CORS configuration in app.js to support path-based options and set max age for preflight requests. Update dependencies in package.json and pnpm-lock.yaml to latest versions, including express, body-parser, http-errors, and morgan. SunWuyuan 2025-05-11 11:35:08 +08:00
  • 6897a082e7
    Integrate OpenTelemetry instrumentation into app.js, add global and method-based rate limiting middleware, and enhance CORS configuration. Update package.json to include new dependencies for OpenTelemetry and rate limiting tests. SunWuyuan 2025-05-11 11:30:26 +08:00
  • 1b05d73405
    Remove unused homework and config models from Prisma schema; update home page rendering in index.js to simplify response. SunWuyuan 2025-05-11 07:58:29 +08:00
  • fc066a88ff
    Add /check endpoint to app.js for API status verification SunWuyuan 2025-05-10 21:53:16 +08:00
  • 28f6a6bc80
    Update app.js to use fileURLToPath for directory resolution and comment out unused imports. Modify Docker image reference in workflow configuration for deployment consistency. SunWuyuan 2025-05-10 15:04:17 +08:00
  • 4c8e38e805
    Refactor app.js to streamline routing by removing unused API endpoints and integrating the KV store router directly. Clean up errorHandler.js by removing unnecessary comments and imports. SunWuyuan 2025-05-10 13:50:19 +08:00
  • eeacc317a9
    app.js 重构为 ES 模块,新增 KV 存储功能,并实现请求超时中间件。更新 package.json 中的依赖项并移除未使用的路由。完善 README,补充项目特性与安装使用说明。 SunWuyuan 2025-05-10 13:47:02 +08:00
  • c526478bec
    1 SunWuyuan 2025-03-16 16:21:23 +08:00
  • 7ba9963a6c
    1 SunWuyuan 2025-03-16 10:10:35 +08:00
  • 774cec6a5d
    1 SunWuyuan 2025-03-15 17:26:55 +08:00
  • 3ad77e6602
    1 SunWuyuan 2025-03-15 17:21:46 +08:00
  • 2d055f6400
    1 SunWuyuan 2025-03-02 16:36:01 +08:00
  • 24f64553fe
    1 SunWuyuan 2025-02-23 14:55:50 +08:00
  • 6cca2de64f
    1 SunWuyuan 2025-02-23 14:55:19 +08:00
  • 8c77c3aceb
    1 SunWuyuan 2025-02-23 14:53:29 +08:00
  • 0c8637f663
    1 SunWuyuan 2025-02-23 14:51:02 +08:00
  • f0f9568eb6
    1 SunWuyuan 2025-02-23 14:36:22 +08:00
  • 1a03634abf 1 SunWuyuan 2024-11-24 16:52:52 +08:00
  • 2558c2aa12 1 SunWuyuan 2024-11-24 09:20:41 +08:00
  • 5272b54c2e 1 SunWuyuan 2024-11-23 21:44:20 +08:00
  • b82175288e 1 SunWuyuan 2024-11-23 21:40:00 +08:00
  • 4afbec00cd 1 SunWuyuan 2024-11-23 21:37:26 +08:00
  • 70284200d1 1 SunWuyuan 2024-11-17 17:08:10 +08:00
  • 8ad86c103f first SunWuyuan 2024-11-17 16:16:16 +08:00
  • 5cc50216e6 first commit SunWuyuan 2024-11-17 16:16:05 +08:00