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

47 Commits

Author SHA1 Message Date
Sunwuyuan
63716e0429 1.3.7 2025-12-01 12:24:09 +00:00
Sunwuyuan
e73ff53f58
1.3.6 2025-11-29 19:55:06 +08:00
Sunwuyuan
ddf001b1c1
1.3.5 2025-11-23 17:05:07 +08:00
Sunwuyuan
7a010faa54
1 2025-11-23 16:48:27 +08:00
Sunwuyuan
d6330c81fe
1.3.4 2025-11-16 16:15:13 +08:00
Sunwuyuan
398f79d5c9
1.3.3 2025-11-16 14:58:09 +08:00
Sunwuyuan
4ff64ad514
1.3.2 2025-11-15 20:40:07 +08:00
Sunwuyuan
78843418de
1.3.1 2025-11-15 16:54:43 +08:00
Sunwuyuan
43a49b6516
1.3.0 2025-11-15 16:44:39 +08:00
Sunwuyuan
1d7078874b
feat: 添加 Prometheus 指标支持,跟踪在线设备和注册设备总数 2025-11-15 16:21:40 +08:00
Sunwuyuan
114069a999
1.2.1 2025-11-09 14:36:34 +08:00
SunWuyuan
9f051885c2
1.2.0 2025-11-01 20:16:33 +08:00
SunWuyuan
7d00d83dc9
1.1.2 2025-11-01 20:16:06 +08:00
SunWuyuan
bb61e6e6f5
feat: Add AutoAuth functionality and enhance Apps API
- Introduced AutoAuth model to manage automatic authorization configurations for devices.
- Added new endpoint to obtain token via namespace and password for automatic authorization.
- Implemented functionality to set student names for student-type tokens.
- Enhanced AppInstall model to include deviceType and isReadOnly fields.
- Updated device creation to allow custom namespaces and ensure uniqueness.
- Added routes for managing AutoAuth configurations, including CRUD operations.
- Implemented checks for read-only tokens in KV operations.
- Created detailed API documentation for AutoAuth and new Apps API endpoints.
- Added migration scripts to accommodate new database schema changes.
2025-11-01 19:31:46 +08:00
SunWuyuan
02c0da037f
feat: integrate Socket.IO for real-time updates and online device management
- Added Socket.IO dependency to enable real-time communication.
- Initialized Socket.IO in the server and bound it to the HTTP server.
- Implemented functionality to allow clients to join device channels using KV tokens.
- Added endpoints to retrieve online devices and broadcast key changes.
- Enhanced existing routes to include device names in responses.
- Implemented broadcasting of key changes for KV operations.
- Updated documentation to reflect the new Socket.IO integration and usage.
2025-10-25 17:10:22 +08:00
SunWuyuan
b20d8dab96
1.1.1 2025-10-07 20:17:22 +08:00
SunWuyuan
da77018509
1.1.0 2025-10-07 15:08:55 +08:00
SunWuyuan
5435814cb6
1.0.10 2025-10-07 14:49:02 +08:00
SunWuyuan
be1d8d1328
1.0.9 2025-10-06 16:45:21 +08:00
SunWuyuan
9f4f2a537f
1.0.8 2025-10-06 13:39:18 +08:00
SunWuyuan
24c443bb89
Merge branch 'main' of https://github.com/ZeroCatDev/ClassworksKV 2025-10-06 11:11:17 +08:00
SunWuyuan
0fca7900c8
cskv 2025-10-06 11:10:54 +08:00
SunWuyuan
7b1e224f70
继续一大堆功能实现 2025-10-03 21:22:18 +08:00
SunWuyuan
521522c1d2
更新到一半 2025-10-02 12:07:50 +08:00
dependabot[bot]
2b516cffcb
Bump @opentelemetry/exporter-trace-otlp-proto from 0.201.1 to 0.205.0
Bumps [@opentelemetry/exporter-trace-otlp-proto](https://github.com/open-telemetry/opentelemetry-js) from 0.201.1 to 0.205.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.201.1...experimental/v0.205.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/exporter-trace-otlp-proto"
  dependency-version: 0.205.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 15:18:03 +00:00
SunWuyuan
aea47eba7d
1.0.7 2025-08-29 16:58:46 +08:00
SunWuyuan
15691b7333
1.0.6 2025-08-29 16:54:16 +08:00
SunWuyuan
f1dba22f75
1.0.5 2025-05-25 15:45:29 +08:00
SunWuyuan
2b077553f7
1.0.4 2025-05-25 15:40:41 +08:00
SunWuyuan
d6ab4895d5
Update dependencies in package.json and pnpm-lock.yaml to latest versions, including @opentelemetry packages and debug, enhancing performance and security. 2025-05-25 09:28:35 +08:00
SunWuyuan
ea21f0b8f3
1.0.3 2025-05-25 09:26:02 +08:00
SunWuyuan
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. 2025-05-25 09:25:58 +08:00
SunWuyuan
d8097d9552
1.0.2 2025-05-25 09:08:24 +08:00
SunWuyuan
32782b7db1
1.0.1 2025-05-25 08:48:52 +08:00
SunWuyuan
3179d19a21
1.0.0 2025-05-25 08:43:06 +08:00
SunWuyuan
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. 2025-05-25 08:42:46 +08:00
SunWuyuan
91e515b553
Rename project from "serverexpress" to "ClassworksKV" and update version to 1.0.0 in package.json. 2025-05-24 16:28:56 +08:00
SunWuyuan
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. 2025-05-24 14:57:57 +08:00
SunWuyuan
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. 2025-05-18 14:33:16 +08:00
SunWuyuan
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. 2025-05-17 20:02:55 +08:00
SunWuyuan
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. 2025-05-11 11:35:08 +08:00
SunWuyuan
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. 2025-05-11 11:30:26 +08:00
SunWuyuan
eeacc317a9
app.js 重构为 ES 模块,新增 KV 存储功能,并实现请求超时中间件。更新 package.json 中的依赖项并移除未使用的路由。完善 README,补充项目特性与安装使用说明。 2025-05-10 13:47:02 +08:00
SunWuyuan
2d055f6400
1 2025-03-02 16:36:01 +08:00
SunWuyuan
8c77c3aceb
1 2025-02-23 14:53:29 +08:00
SunWuyuan
0c8637f663
1 2025-02-23 14:51:02 +08:00
8ad86c103f first 2024-11-17 16:16:16 +08:00