Commit graph

168 commits

Author SHA1 Message Date
sol
7408258faa refactor(common-base-web): Extract import and export functions into separate classes 2025-09-16 10:40:29 +08:00
sol
9c73eabc17 feat(file): Realize the online playback function of video files 2025-09-10 17:16:07 +08:00
sol
5aa47b663b test: Add streamFile 2025-09-10 11:17:30 +08:00
smile
03d1c2f1d7 Build (deps): Replace Excel processing library
-Replace EasyExcel with FastExcel, version 1.2.0- Update package names for related classes and annotations
-Adjust Excel import logic, currently only supports single insertion
-Removed redundant code from onEException
2025-09-08 18:13:52 +08:00
smile
0346cd1ccc feat(common-base): 添加角色导入导出功能
- 新增导入模板下载和 Excel 导入功能- 实现基于 EasyExcel 的高效导入逻辑
- 添加数据校验和错误处理机制
- 更新相关模型和接口定义
2025-09-08 16:56:11 +08:00
sol
c69c27fd06 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	cloud/web/web-system-8081/src/main/java/com/bgasol/web/system/menu/service/MenuService.java
2025-09-05 15:09:37 +08:00
sol
bde74577f6 feat(auth): Add a system permission authentication configuration 2025-09-05 15:08:54 +08:00
smile
628a56cdfa refactor(user): update user-related code
- Remove permission check for logout endpoint
- Optimize login logic
2025-09-04 17:34:08 +08:00
smile
2b9b0423ed feat(system): 添加菜单、角色和用户相关操作的支持
- 在 DepartmentService、MenuService、PermissionService、RoleService 和 UserService 中添加了删除操作的实现
- 优化了树形结构数据的递归删除逻辑
- 处理了角色和用户删除时的关联数据清理
- 修复了一些潜在的 bug 和性能问题
2025-09-04 10:57:36 +08:00
sol
bf40695812 fix(plugin-mail): 修复邮件发送时附件加载问题
- 使用 ByteArrayResource 替代 InputStreamResource,将文件内容读入内存
-优化 Content-Type 的获取方式,取 headers 中的第一个值
- 修复了 InputStreamResource 可能导致的文件无法读取问题
2025-09-01 09:49:13 +08:00
sol
36fc542625 feat(plugin): 添加邮件服务插件
- 新增 MailService 类实现邮件发送功能
- 添加 application-mail.yml 配置文件
- 在 pom.xml 中添加 mail 插件模块
- 更新 plugin/pom.xml,调整模块顺序
2025-08-28 17:24:33 +08:00
sol
f9af9892d2 feat(websocket): 优化 WebSocket消息处理
- 重构了 PingMessageHandler 和 WebSocketHandlerImpl 类
- 新增 GetWSTopic 工具方法,用于生成 WebSocket 主题
- 在 PingMessageHandler 中添加了 serviceName 属性,用于动态生成主题
- 优化了消息发送逻辑,提高了代码复用性和可维护性
2025-08-28 11:36:57 +08:00
sol
c067653144 refactor(model-file): Refactor the toEntity that creates and updates the DTO 2025-08-21 16:42:09 +08:00
sol
4a1ce2324e perf(cache): Optimized baseCache search 2025-08-19 16:25:52 +08:00
sol
d61e8870c5 feat(model-file): update FileUpdateDto 2025-08-01 09:26:43 +08:00
sol
564f850ec6 refactor(file): Refactoring the file to upload the relevant code 2025-07-30 12:20:34 +08:00
sol
069ada0795 refactor: Optimize code structure and constant usage 2025-07-29 18:17:38 +08:00
sol
d73a76d9c1 feat(model): Add @JsonIgnore annotations to the PageDto class 2025-07-29 17:00:02 +08:00
sol
a4cc0d076e refactor(auth): Added exception capture when permissions were initialized 2025-07-29 13:55:37 +08:00
sol
988b966cd4 refactor(plugin-swagger): Refactor the service endpoint configuration 2025-07-29 11:46:09 +08:00
sol
9afbf3584d perf(database): Optimized the paging query index 2025-07-26 00:19:45 +08:00
sol
0a7768d775 refactor(database): Update table names and indexes
Updated @TableName annotations in DepartmentEntity, FileEntity, ImageEntity, MenuEntity, PermissionEntity, RoleEntity, and UserEntity
Updated @JoinTable annotations in RoleEntity and UserEntity
Updated methods for querying associated tables in RoleService and UserService
Updated creation scripts for file, image, video, permission, menu, role, and user tables
Removed unnecessary indexes and added pagination primary order indexes
2025-07-25 22:14:20 +08:00
sol
04eb6015ea feat(file): Add a video table and optimize the video frame rate field 2025-07-23 14:39:59 +08:00
sol
d7092a5d75 feat(file): Add video management function 2025-07-23 14:29:35 +08:00
sol
c87e0ffc65 refactor(OpenApiConfig): Remove unnecessary NacosException handling and simplify server list creation 2025-07-22 10:58:09 +08:00
sol
31049fd589 feat(docker): Update environment variables and add build scripts for backend and frontend 2025-07-11 15:29:09 +08:00
sol
bfeee19038 feat(image-service): Refactor findOtherTable method to use fileService for file retrieval 2025-07-08 09:46:37 +08:00
sol
aaba20fd79 feat(websocket): Implement WebSocket message handling and authentication interceptor 2025-07-04 09:59:14 +08:00
sol
62ebab50ec feat(gateway): Implement dynamic route synchronization and improve service registration handling 2025-07-01 12:24:12 +08:00
sol
d5be623aa9 feat(gateway): Add dynamic route registration and improve route addition logging 2025-07-01 11:01:46 +08:00
sol
bc3110e708 feat(service): Refactored the "cacheSearch" method 2025-06-26 10:12:46 +08:00
sol
730c8fe559 feat(service): Enhance selectByIds method to include additional table lookup after fetching entities 2025-06-25 15:20:20 +08:00
sol
23f193b619 feat(websocket): Implement SendMessageChunkDto for chunked message sending in MyWebSocketHandler 2025-06-20 10:20:12 +08:00
sol
230b9b3a00 feat(websocket): Refactor message sending in MyWebSocketHandler to use structured JSON format 2025-06-20 10:01:04 +08:00
sol
ae1b9ccee1 feat(websocket): Enhance MyWebSocketHandler to support ping-pong messages and chunked message sending 2025-06-19 19:38:52 +08:00
sol
7839966b15 feat(dependencies): Add common-base-model dependency to pom.xml and rename WsSendMessageDto class 2025-06-19 15:31:15 +08:00
sol
193a9dba36 feat(websocket): Add message handling interface and implement message processing in WebSocket handler 2025-06-19 14:54:19 +08:00
sol
aae3fbe5c8 feat(websocket): Implement WebSocket handler and configuration for message broadcasting 2025-06-19 14:33:10 +08:00
sol
b5eff88830 refactor(sql): Add missing closing parenthesis in user_menu_permission_role_department.sql and create indexes for role and permission IDs 2025-06-17 15:54:05 +08:00
sol
5e24dc89ff refactor(docker): Rename Dockerfiles for consistency in naming convention 2025-06-17 09:22:57 +08:00
sol
39e68a64ad refactor(sql): Adjust column order and optimize index creation for role-menu and role-permission tables 2025-06-16 16:25:40 +08:00
sol
45d80a660e refactor(database): Optimize SQL schema by adding missing columns and consolidating indexes 2025-06-15 17:02:33 +08:00
sol
ef000d6a73 refactor(api): Update download endpoint to use Feign Response and set content type 2025-06-15 12:03:16 +08:00
Sol
c548ec9b6e refactor(common-base-web): Optimize BaseEntityClass method
- Use ResolvableType to replace reflection mechanism to get generic types
2025-06-13 12:28:01 +08:00
Sol
24baf77516 fix(common-base-web): Optimize the null value processing of the findIds method 2025-06-13 11:34:59 +08:00
Sol
88489f907c refactor(service): Optimize cache deletion logic 2025-06-13 10:50:23 +08:00
Sol
3fa8dfa1ca feat(service): Optimize data query efficiency through cache 2025-06-13 00:53:33 +08:00
Sol
1871139cc9 feat(common-base-web): Add cache support and optimize entity operations 2025-06-12 23:36:41 +08:00
Sol
6f0111674e feat(service): Add cache deletion operation after entity insertion 2025-06-12 14:11:00 +08:00
Sol
080255cd9f feat(file): Add file update interface and optimize files API 2025-06-11 15:49:16 +08:00
Sol
745ccc8b38 refactor(file): Refactor file upload logic 2025-06-11 15:45:59 +08:00
Sol
8489b9e8c0 feat(file): Optimize file upload logic 2025-06-11 15:10:54 +08:00
Sol
a5e2932b6a perf(database): Adjust index creation strategy 2025-06-11 11:19:23 +08:00
Sol
97ba7cffaf fix(service): Fix cache update logic 2025-06-11 10:28:32 +08:00
Sol
05afb9afb6 refactor(common-base-web): Optimize cache deletion logic 2025-06-11 10:06:25 +08:00
Sol
e6b2a76bef fix(common): Fix cache penetration issue 2025-06-11 10:02:22 +08:00
Sol
71d41b675b feat(system): Implement basic Service caching functions and optimize logging 2025-06-10 20:02:59 +08:00
Sol
1c592a57ef feat(common-base-web): Add cache to clear faces and annotations 2025-06-10 14:12:12 +08:00
Sol
be08569228 feat(model-file): Add FileCreateDto constructor 2025-06-06 12:31:28 +08:00
Sol
b39ce418e9 refactor(model-file): Optimize the media type of file upload interface 2025-06-06 12:09:28 +08:00
Sol
544b176783 refactor(auth): Optimize token refresh logic 2025-06-06 09:31:46 +08:00
Sol
adabbb45cd refactor: Adjust log output level 2025-06-05 16:19:40 +08:00
Sol
cda688618f refactor(auth): Use the @SneakyThrows annotation to handle interrupt exceptions 2025-06-05 10:08:05 +08:00
Sol
0fc6e1b160 build(web-system-8081): Upgrade captcha dependent version 2025-06-03 20:27:50 +08:00
Sol
83e1f95b7a refactor(common-base-model): Lombok annotations for optimized entities and DTO classes 2025-05-30 15:31:05 +08:00
Sol
5cbf6026e2 refactor(common-base-model): Lombok annotations for optimized entities and DTO classes 2025-05-30 15:15:24 +08:00
Sol
e4b6bdb82d refactor(lombok): refactor Lombok annotations in entity and DTO classes
- Replace `@Data` with `@Getter`, `@Setter`, and `@SuperBuilder`
- Add `@NoArgsConstructor` and `@AllArgsConstructor` where applicable
- Remove redundant `@EqualsAndHashCode` annotations
- Update usage of `BaseVo` and `PageVo`
- Unify code style to improve readability and maintainability
2025-05-30 12:37:59 +08:00
Sol
f02e0f82ef feat(plugin-micrometer): dynamically set management port and configure Actuator endpoints
- Add `DynamicManagementPortProcessor` to dynamically set the management server port
- Update `application-micrometer.yml` to enable common Actuator endpoints
- Refactor `SaTokenConfigure` to remove whitelist configuration for Actuator endpoints
2025-05-30 11:43:40 +08:00
Sol
0e882a58c1 feat(plugin): add WebSocket plugin and configure related features
- Introduced a new WebSocket plugin module to enable WebSocket communication
- Updated gateway CORS configuration to exclude WebSocket paths
- Enhanced Redis setup by adding message listener support
- Modified Sa-Token configuration to allow WebSocket paths to bypass filters
- Added WebSocket configuration class for STOMP endpoints and message broker setup
- Implemented Tomcat WebSocket configuration for scientific WebSocket initialization
2025-05-29 18:18:58 +08:00
Sol
3a433a1047 fix(auth): Optimize authentication exception handling 2025-05-29 11:32:29 +08:00
Sol
e840c459af feat(model-file): Add ImageApi.java 2025-05-27 17:41:16 +08:00
Sol
2298fd5084 refactor(model-file): Fix access to uploadFile fields in FileCreateDto 2025-05-27 17:24:59 +08:00
Sol
4e71250f99 refactor: Delete RedisCacheConfig 2025-05-27 09:45:21 +08:00
Sol
9e9d0d934e refactor: Delete RedisCacheConfig 2025-05-27 09:43:15 +08:00
Sol
5cb7affa2b refactor(架构调整): Remove Seata-related code and optimize cache logic 2025-05-24 19:07:21 +08:00
Sol
615c76b0e4 build:Rename the load balancing plug-in and update the database script 2025-05-24 15:19:04 +08:00
Sol
17251be10a refactor(auth): Optimize token refresh tasks 2025-05-23 11:31:44 +08:00
Sol
a52169ffdb refactor(plugin-openfeign):Optimize OpenFeign retry mechanism configuration 2025-05-22 00:03:51 +08:00
Sol
87c6486c06 refactor(plugin-openfeign):Optimize OpenFeign retry mechanism configuration 2025-05-21 23:59:14 +08:00
Sol
51f2bda7a8 build(gateway-9527): update application.yml 2025-05-21 12:17:30 +08:00
Sol
ba572a1e56 refactor(plugin-database): Optimize MybatisSqlLogger log output. 2025-05-21 12:10:00 +08:00
Sol
b4beaf4b08 ci:Adjust log configuration and optimize project structure 2025-05-21 12:07:55 +08:00
Sol
a15ec71e50 docs: Update SwaggerUIConfig display-operation-id. 2025-05-19 18:32:52 +08:00
Sol
89d2c4a8df fix(auth): Optimize the Same-Token refresh task. 2025-05-19 11:29:09 +08:00
Sol
9da03ec4ff refactor(common): Use Lombok annotations to simplify entity class code 2025-05-17 19:04:24 +08:00
Sol
9d6e49c94e fix(common-base-web): Fix null pointer exception in findById method 2025-05-16 22:56:07 +08:00
Sol
3567e5bd0d build(cloud): Add version number to Lombok annotation processor. 2025-05-14 17:42:37 +08:00
Sol
b538ceb9f9 feat(plugin-redis): Add Redisson support and implement Same-Token scheduled refresh. 2025-05-14 17:38:26 +08:00
Sol
d4fbffc31d refactor: Refine the description of the menu type and sort type 2025-05-13 21:41:42 +08:00
Sol
28490ab108 refactor pom 2025-05-13 20:02:13 +08:00
Sol
ede0533cea feat: introduce MapStruct for automatic DTO to Entity mapping 2025-05-13 19:58:22 +08:00
Sol
b1b5874c69 feat(exception): add parameter validation exception handling 2025-05-06 17:25:34 +08:00
Sol
451cc688cc Fix: Make routeIdList in GatewayConfig mutable to resolve length issue 2025-04-25 22:31:22 +08:00
Sol
437c7bee43 feat(cloud): Add Feign and Loadbalance model. 2025-04-25 21:48:26 +08:00
Sol
6869ede0ef refactor(common): remove ClientServer and update GatewayConfig routeIdList init function 2025-04-25 19:19:12 +08:00
Sol
68cccbd079 refactor(plugin-openfeign):Updated FeignInterceptor comments 2025-04-25 19:04:11 +08:00
Sol
38ce61ff6b feat(cache): todo: add UserCache 2025-04-24 23:58:50 +08:00
Sol
029db85278 Refactor: Move RedisCacheConfig to a new location 2025-04-24 00:58:59 +08:00
Sol
c0cc05fc68 refactor(web-system): Refactor captcha functionality
- Removed unused imports in BaseTreeEntity
- Refactored captcha generation and validation logic in LoginService
- Added RedisCacheConfig class to enable Redis caching
- Removed redundant code in StpInterfaceImpl
- Removed YmlPropertySourceFactory class
- Added CaptchaCache class for managing captcha cache
2025-04-23 23:49:37 +08:00
Sol
6b88e970e3 refactor(web-system): Change the validation time of the verification code from 5 minutes to 1 minute 2025-04-23 22:38:29 +08:00