1
1
mirror of https://github.com/ZeroCatDev/ClassworksKV.git synced 2025-12-07 13:03:09 +00:00

Commit Graph

  • 8e3b3df1ae
    1.3.8 main v1.3.8 Sunwuyuan 2025-12-07 13:50:27 +08:00
  • 21d6ddf164
    feat: 实现批量upsert方法,优化键值对处理性能 Sunwuyuan 2025-12-07 13:33:47 +08:00
  • e65f84aa22
    feat: 更新CORS配置,允许跨域请求携带凭证和自定义请求头 Sunwuyuan 2025-12-06 13:41:40 +08:00
  • ab8904b549
    feat: 修复POST /:key处理,确保kvStore.upsert操作为异步执行 Sunwuyuan 2025-12-06 13:10:02 +08:00
  • da633ca5b6
    feat: 增强POST /:key处理,支持空值和JSON格式验证 Sunwuyuan 2025-12-06 13:09:00 +08:00
  • 1f68aea39f
    Merge branch 'main' of https://github.com/ZeroCatDev/ClassworksKV Sunwuyuan 2025-12-06 11:54:58 +08:00
  • b782945674
    feat: 更新Socket.IO CORS设置,支持更多HTTP方法 Sunwuyuan 2025-12-06 11:54:41 +08:00
  • 1e1b99a070
    feat: 更新Socket.IO初始化配置,优化CORS设置和传输方式 Sunwuyuan 2025-12-06 11:53:57 +08:00
  • 63716e0429 1.3.7 v1.3.7 Sunwuyuan 2025-12-01 12:24:09 +00:00
  • b582521fee
    Merge pull request #54 from tempChanghong/main Sunwuyuan 2025-12-01 20:21:29 +08:00
  • f985b6a11a
    Update validation logic for request body #54 Sunwuyuan 2025-12-01 20:20:17 +08:00
  • f0de2cd59b Fix:修改语法错误 tempChanghong 2025-12-01 16:01:20 +08:00
  • d52ed81a29 Fix: 允许保存空数组,修复无法删除最后一条通知的Bug tempChanghong 2025-12-01 15:06:52 +08:00
  • e73ff53f58
    1.3.6 v1.3.6 Sunwuyuan 2025-11-29 19:55:06 +08:00
  • 79ec5b94a4
    feat: 添加Dlass登录 Sunwuyuan 2025-11-29 19:54:50 +08:00
  • 5f44e9ed9f
    Bump uuid from 11.1.0 to 13.0.0 #51 dependabot/npm_and_yarn/uuid-13.0.0 dependabot[bot] 2025-11-23 09:06:36 +00:00
  • ddf001b1c1
    1.3.5 v1.3.5 Sunwuyuan 2025-11-23 17:05:07 +08:00
  • 7a010faa54
    1 Sunwuyuan 2025-11-23 16:48:27 +08:00
  • d6330c81fe
    1.3.4 Sunwuyuan 2025-11-16 16:15:13 +08:00
  • c545612c9c
    规范代码格式 Sunwuyuan 2025-11-16 16:15:05 +08:00
  • 4ec10acfcf
    feat: 增强错误处理,统一JWT过期返回格式,添加业务错误码支持 Sunwuyuan 2025-11-16 16:11:31 +08:00
  • 398f79d5c9
    1.3.3 v1.3.3 Sunwuyuan 2025-11-16 14:58:09 +08:00
  • 4ae023afb0
    feat: 添加设备信息提取功能,增强 UUID 认证中间件的错误处理 Sunwuyuan 2025-11-16 14:46:05 +08:00
  • 4ff64ad514
    1.3.2 v1.3.2 Sunwuyuan 2025-11-15 20:40:07 +08:00
  • a1deb5e6e3
    feat: 更新设备列表接口,添加 namespace 字段;修改 token 设置名称的条件,支持家长类型 Sunwuyuan 2025-11-15 20:40:00 +08:00
  • 78843418de
    1.3.1 v1.3.1 Sunwuyuan 2025-11-15 16:54:43 +08:00
  • 43a49b6516
    1.3.0 Sunwuyuan 2025-11-15 16:44:39 +08:00
  • 015281b32e
    Bump @prisma/client from 6.16.2 to 6.18.0 #49 dependabot/npm_and_yarn/prisma/client-6.18.0 dependabot[bot] 2025-11-15 08:24:49 +00:00
  • c83ed3a201
    Bump @opentelemetry/sdk-node from 0.201.1 to 0.207.0 #48 dependabot/npm_and_yarn/opentelemetry/sdk-node-0.207.0 dependabot[bot] 2025-11-15 08:24:44 +00:00
  • 0af6654bc2
    Bump @opentelemetry/auto-instrumentations-node from 0.59.0 to 0.66.0 #47 dependabot/npm_and_yarn/opentelemetry/auto-instrumentations-node-0.66.0 dependabot[bot] 2025-11-15 08:24:40 +00:00
  • 1d7078874b
    feat: 添加 Prometheus 指标支持,跟踪在线设备和注册设备总数 Sunwuyuan 2025-11-15 16:21:40 +08:00
  • 3c163e082e Remove package-lock.json and add to gitignore #53 copilot/fix-reset-device-password-error copilot-swe-agent[bot] 2025-11-14 14:17:53 +00:00
  • 172137ab40 Add validation tests for deprecated endpoints copilot-swe-agent[bot] 2025-11-14 14:16:54 +00:00
  • 6b3e58d68f Deprecate device password management endpoints to resolve JWT token error copilot-swe-agent[bot] 2025-11-14 14:15:04 +00:00
  • 8a7500a01c Initial plan copilot-swe-agent[bot] 2025-11-14 14:09:52 +00:00
  • 114069a999
    1.2.1 v1.2.1 Sunwuyuan 2025-11-09 14:36:34 +08:00
  • 87a408d904
    feat: 更新/_info接口响应,优化设备信息返回逻辑 Sunwuyuan 2025-11-09 14:32:22 +08:00
  • 296473633c
    feat: 为新设备添加默认自动登录配置 SunWuyuan 2025-11-02 11:53:55 +08:00
  • 2ab90ffebc
    feat: Implement Refresh Token system with enhanced security and user experience SunWuyuan 2025-11-02 09:48:03 +08:00
  • 9f051885c2
    1.2.0 v1.2.0 SunWuyuan 2025-11-01 20:16:33 +08:00
  • 7d00d83dc9
    1.1.2 v1.1.2 SunWuyuan 2025-11-01 20:16:06 +08:00
  • bb61e6e6f5
    feat: Add AutoAuth functionality and enhance Apps API SunWuyuan 2025-11-01 19:31:46 +08:00
  • 02c0da037f
    feat: integrate Socket.IO for real-time updates and online device management SunWuyuan 2025-10-25 17:10:22 +08:00
  • b20d8dab96
    1.1.1 v1.1.1 SunWuyuan 2025-10-07 20:17:22 +08:00
  • 3c64226562
    移除账户模型中的refreshToken字段,并将accessToken字段修改为可选 SunWuyuan 2025-10-07 20:17:11 +08:00
  • da77018509
    1.1.0 v1.1.0 SunWuyuan 2025-10-07 15:08:55 +08:00
  • f8f63d1ddd
    添加OAuth提供者和用户资料中的网站字段 SunWuyuan 2025-10-07 15:08:16 +08:00
  • 5435814cb6
    1.0.10 SunWuyuan 2025-10-07 14:49:02 +08:00
  • d5fc9e2dae
    修改登录服务商颜色、链接地址 SunWuyuan 2025-10-07 14:48:35 +08:00
  • 6c05d71506
    添加智教联盟登录 SunWuyuan 2025-10-07 14:46:53 +08:00
  • be1d8d1328
    1.0.9 v1.0.9 SunWuyuan 2025-10-06 16:45:21 +08:00
  • 0576a02d6e
    修复厚浪云的缩写 SunWuyuan 2025-10-06 16:45:15 +08:00
  • d83d748da0
    添加厚浪云(Logto)作为OAuth提供者 SunWuyuan 2025-10-06 16:41:23 +08:00
  • 6ab78af370
    更新授权页面地址为环境变量FRONTEND_URL SunWuyuan 2025-10-06 15:49:29 +08:00
  • 9f4f2a537f
    1.0.8 v1.0.8 SunWuyuan 2025-10-06 13:39:18 +08:00
  • 24c443bb89
    Merge branch 'main' of https://github.com/ZeroCatDev/ClassworksKV SunWuyuan 2025-10-06 11:11:17 +08:00
  • 0fca7900c8
    cskv SunWuyuan 2025-10-06 11:10:54 +08:00
  • aec482cbcb
    cskv SunWuyuan 2025-10-06 10:49:48 +08:00
  • 7b1e224f70
    继续一大堆功能实现 SunWuyuan 2025-10-03 21:22:18 +08:00
  • 521522c1d2
    更新到一半 SunWuyuan 2025-10-02 12:07:50 +08:00
  • c733435101
    Bump debug from 4.4.1 to 4.4.3 #36 dependabot/npm_and_yarn/debug-4.4.3 dependabot[bot] 2025-09-22 13:30:41 +00:00
  • 12bded7e3d
    Merge pull request #35 from ZeroCatDev/dependabot/npm_and_yarn/opentelemetry/exporter-trace-otlp-proto-0.205.0 孙悟元 2025-09-21 09:03:24 +08:00
  • 2b516cffcb
    Bump @opentelemetry/exporter-trace-otlp-proto from 0.201.1 to 0.205.0 #35 dependabot[bot] 2025-09-15 15:18:03 +00:00
  • aea47eba7d
    1.0.7 v1.0.7 SunWuyuan 2025-08-29 16:58:46 +08:00
  • f250deb2bb
    简化首页 SunWuyuan 2025-08-29 16:58:38 +08:00
  • 15691b7333
    1.0.6 SunWuyuan 2025-08-29 16:54:16 +08:00
  • 22838ee71a
    feat(kv): 添加获取键名列表功能 SunWuyuan 2025-08-29 16:54:03 +08:00
  • f1dba22f75
    1.0.5 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