dependabot[bot]
0af6654bc2
Bump @opentelemetry/auto-instrumentations-node from 0.59.0 to 0.66.0
...
Bumps [@opentelemetry/auto-instrumentations-node](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/HEAD/packages/auto-instrumentations-node ) from 0.59.0 to 0.66.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-contrib/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/packages/auto-instrumentations-node/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-js-contrib/commits/auto-instrumentations-node-v0.66.0/packages/auto-instrumentations-node )
---
updated-dependencies:
- dependency-name: "@opentelemetry/auto-instrumentations-node"
dependency-version: 0.66.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-15 08:24:40 +00:00
Sunwuyuan
1d7078874b
feat: 添加 Prometheus 指标支持,跟踪在线设备和注册设备总数
2025-11-15 16:21:40 +08:00
Sunwuyuan
114069a999
1.2.1
v1.2.1
2025-11-09 14:36:34 +08:00
Sunwuyuan
87a408d904
feat: 更新/_info接口响应,优化设备信息返回逻辑
2025-11-09 14:32:22 +08:00
SunWuyuan
296473633c
feat: 为新设备添加默认自动登录配置
2025-11-02 11:53:55 +08:00
SunWuyuan
2ab90ffebc
feat: Implement Refresh Token system with enhanced security and user experience
...
- Added refresh token support in the account model with new fields: refreshToken, refreshTokenExpiry, and tokenVersion.
- Created a new token management utility (utils/tokenManager.js) for generating and verifying access and refresh tokens.
- Updated JWT utility (utils/jwt.js) to maintain backward compatibility while introducing new token generation methods.
- Enhanced middleware for JWT authentication to support new token types and automatic token refreshing.
- Expanded API endpoints in routes/accounts.js to include refresh token functionality, logout options, and token info retrieval.
- Introduced automatic token refresh mechanism in the front-end integration examples.
- Comprehensive migration checklist and documentation for the new refresh token system.
- Added database migration script to accommodate new fields in the Account table.
2025-11-02 09:48:03 +08:00
SunWuyuan
9f051885c2
1.2.0
v1.2.0
2025-11-01 20:16:33 +08:00
SunWuyuan
7d00d83dc9
1.1.2
v1.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
v1.1.1
2025-10-07 20:17:22 +08:00
SunWuyuan
3c64226562
移除账户模型中的refreshToken字段,并将accessToken字段修改为可选
2025-10-07 20:17:11 +08:00
SunWuyuan
da77018509
1.1.0
v1.1.0
2025-10-07 15:08:55 +08:00
SunWuyuan
f8f63d1ddd
添加OAuth提供者和用户资料中的网站字段
2025-10-07 15:08:16 +08:00
SunWuyuan
5435814cb6
1.0.10
2025-10-07 14:49:02 +08:00
SunWuyuan
d5fc9e2dae
修改登录服务商颜色、链接地址
2025-10-07 14:48:35 +08:00
SunWuyuan
6c05d71506
添加智教联盟登录
2025-10-07 14:46:53 +08:00
SunWuyuan
be1d8d1328
1.0.9
v1.0.9
2025-10-06 16:45:21 +08:00
SunWuyuan
0576a02d6e
修复厚浪云的缩写
2025-10-06 16:45:15 +08:00
SunWuyuan
d83d748da0
添加厚浪云(Logto)作为OAuth提供者
2025-10-06 16:41:23 +08:00
SunWuyuan
6ab78af370
更新授权页面地址为环境变量FRONTEND_URL
2025-10-06 15:49:29 +08:00
SunWuyuan
9f4f2a537f
1.0.8
v1.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
aec482cbcb
cskv
2025-10-06 10:49:48 +08:00
SunWuyuan
7b1e224f70
继续一大堆功能实现
2025-10-03 21:22:18 +08:00
SunWuyuan
521522c1d2
更新到一半
2025-10-02 12:07:50 +08:00
孙悟元
12bded7e3d
Merge pull request #35 from ZeroCatDev/dependabot/npm_and_yarn/opentelemetry/exporter-trace-otlp-proto-0.205.0
...
Bump @opentelemetry/exporter-trace-otlp-proto from 0.201.1 to 0.205.0
2025-09-21 09:03:24 +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
v1.0.7
2025-08-29 16:58:46 +08:00
SunWuyuan
f250deb2bb
简化首页
2025-08-29 16:58:38 +08:00
SunWuyuan
15691b7333
1.0.6
2025-08-29 16:54:16 +08:00
SunWuyuan
22838ee71a
feat(kv): 添加获取键名列表功能
...
新增 listKeysOnly 方法用于获取指定命名空间下的键名列表,并添加对应的路由接口 /:namespace/_keys 支持分页和排序查询。返回结果包含键名数组、总数和分页信息,便于前端展示大量键名时使用。
2025-08-29 16:54:03 +08:00
SunWuyuan
f1dba22f75
1.0.5
v1.0.5
2025-05-25 15:45:29 +08:00
SunWuyuan
6cfa20fe76
Update server listening address to '0.0.0.0' for external access; modify console log to reflect new address format.
2025-05-25 15:45:10 +08:00
SunWuyuan
2b077553f7
1.0.4
v1.0.4
2025-05-25 15:40:41 +08:00
SunWuyuan
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.
2025-05-25 15:35:36 +08:00
SunWuyuan
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.
2025-05-25 15:12:50 +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
v1.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
0a8cd084d6
Add concurrency settings to Docker publish workflow to manage job execution and prevent overlap.
2025-05-25 09:18:58 +08:00
SunWuyuan
d8097d9552
1.0.2
v1.0.2
2025-05-25 09:08:24 +08:00
SunWuyuan
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.
2025-05-25 09:03:43 +08:00
SunWuyuan
32782b7db1
1.0.1
v1.0.1
2025-05-25 08:48:52 +08:00
SunWuyuan
d5f64c92ec
Refactor Docker publish workflow to trigger only on the main branch and reintroduce image tag display step, enhancing clarity in the build process.
2025-05-25 08:48:49 +08:00
SunWuyuan
3179d19a21
1.0.0
v1.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
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.
2025-05-24 20:50:07 +08:00
SunWuyuan
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.
2025-05-24 20:42:15 +08:00