1
0
mirror of https://github.com/ZeroCatDev/ClassworksKV.git synced 2025-07-01 20:09:23 +00:00

Commit Graph

  • cf1c6b8fcf
    Bump @prisma/client from 6.8.2 to 6.10.1 #13 dependabot/npm_and_yarn/prisma/client-6.10.1 dependabot[bot] 2025-06-23 14:53:11 +00:00
  • a02dd9dc88
    Bump prisma from 6.8.2 to 6.10.1 #12 dependabot/npm_and_yarn/prisma-6.10.1 dependabot[bot] 2025-06-23 14:47:18 +00:00
  • 4e7a7fe95c
    Bump @opentelemetry/auto-instrumentations-node from 0.59.0 to 0.60.1 #11 dependabot/npm_and_yarn/opentelemetry/auto-instrumentations-node-0.60.1 dependabot[bot] 2025-06-16 14:48:29 +00:00
  • 21135e4107
    Bump @opentelemetry/exporter-trace-otlp-proto from 0.201.1 to 0.202.0 #10 dependabot/npm_and_yarn/opentelemetry/exporter-trace-otlp-proto-0.202.0 dependabot[bot] 2025-06-09 14:10:36 +00:00
  • b00205c919
    Bump @opentelemetry/sdk-node from 0.201.1 to 0.202.0 #9 dependabot/npm_and_yarn/opentelemetry/sdk-node-0.202.0 dependabot[bot] 2025-06-09 14:10:23 +00:00
  • f1dba22f75
    1.0.5 main v1.0.5 SunWuyuan 2025-05-25 15:45:29 +08:00
  • 6cfa20fe76
    Update server listening address to '0.0.0.0' for external access; modify console log to reflect new address format. SunWuyuan 2025-05-25 15:45:10 +08:00
  • 2b077553f7
    1.0.4 v1.0.4 SunWuyuan 2025-05-25 15:40:41 +08:00
  • 0b4fe90c94
    Add database migration function to streamline setup and build processes; replace direct migration calls with a reusable function for better code organization and error handling. SunWuyuan 2025-05-25 15:35:36 +08:00
  • 05ece2514b
    Enhance README.md with ClassworksKV backend description and usage instructions; remove obsolete database files (db.db and db.db-journal) to clean up the project structure. SunWuyuan 2025-05-25 15:12:50 +08:00
  • d6ab4895d5
    Update dependencies in package.json and pnpm-lock.yaml to latest versions, including @opentelemetry packages and debug, enhancing performance and security. SunWuyuan 2025-05-25 09:28:35 +08:00
  • ea21f0b8f3
    1.0.3 v1.0.3 SunWuyuan 2025-05-25 09:26:02 +08:00
  • 35d05df925
    Refactor project structure by reorganizing imports, removing unused files, and updating .gitignore to include additional environment and build directories. Delete legacy migration scripts and Docker configurations to streamline the codebase. SunWuyuan 2025-05-25 09:25:58 +08:00
  • 0a8cd084d6
    Add concurrency settings to Docker publish workflow to manage job execution and prevent overlap. SunWuyuan 2025-05-25 09:18:58 +08:00
  • d8097d9552
    1.0.2 v1.0.2 SunWuyuan 2025-05-25 09:08:24 +08:00
  • e0bb8389a6
    Update Docker publish workflow to trigger on version tags matching "v*" and add a step to display generated image tags, improving visibility in the build process. SunWuyuan 2025-05-25 09:03:43 +08:00
  • 32782b7db1
    1.0.1 v1.0.1 SunWuyuan 2025-05-25 08:48:52 +08:00
  • d5f64c92ec
    Refactor Docker publish workflow to trigger only on the main branch and reintroduce image tag display step, enhancing clarity in the build process. SunWuyuan 2025-05-25 08:48:49 +08:00
  • 3179d19a21
    1.0.0 v1.0.0 SunWuyuan 2025-05-25 08:43:06 +08:00
  • fad9867637
    Update project version to 0.0.0 in package.json, enhance README.md with deployment badge, and modify Docker publish workflow to trigger on both main and develop branches. SunWuyuan 2025-05-25 08:42:46 +08:00
  • f703bb2a8b
    Refactor database setup in classworks.js to implement a recursive copy function for configuration files and directories, enhancing the copying process and improving clarity in console messages. SunWuyuan 2025-05-24 20:50:07 +08:00
  • 09875b35c1
    Update .gitignore to exclude Prisma database data directory and modify database setup in classworks.js to use prisma migrate deploy for migrations, enhancing deployment process. SunWuyuan 2025-05-24 20:42:15 +08:00
  • 93b9b1c6f5
    Enhance database setup in classworks.js to include automatic migration execution after setting the DATABASE_URL. Update Dockerfile to use Node.js version 22-alpine for improved compatibility. Modify docker-compose.yml to change volume mapping for data storage. SunWuyuan 2025-05-24 20:00:17 +08:00
  • 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