Mohamed Hassan
472fac93bc
+ Merge code from main branch ( e58d40a).
...
+ Update translation.
+ Code clean up.
2025-06-23 00:46:17 +03:00
piexlMax(奇淼
09603c436e
feat: 增加 mcp Tools 自动测试工具
2025-05-14 10:51:52 +08:00
6323688fca
发布dev2.8.2版本 ( #2025 )
...
* refactor(server): 重构服务器启动和重载逻辑
将服务器启动和重载逻辑进行重构,提取初始化系统为单独函数,优化代码结构。删除冗余的服务器初始化文件,统一使用新的 `server_run.go` 实现优雅关闭和重载功能。同时,将“重启服务”改为“重载服务”以更准确地描述功能。
* refactor: 重构系统事件处理、JWT和Casbin相关逻辑
- 将系统重载逻辑提取到独立的`system_events.go`文件中,并引入全局事件管理器
- 将JWT相关操作从`service`层移动到`utils`层,减少服务层依赖
- 将Casbin实例管理逻辑提取到`utils`层,统一管理Casbin实例的初始化和获取
- 删除冗余的`CreateSysOperationRecord`方法,优化操作记录中间件逻辑
* refactor(server): 重构服务初始化和关闭逻辑
将 `RunServer` 函数重命名为 `initServer`,并调整其调用方式以简化代码。同时,在系统初始化时添加 `SetupHandlers` 函数以注册全局处理函数,提升代码可维护性。
* fix: 修复自动化代码enum查询条件的bug
* fix: 修复组合模式下,顶部菜单重复bug
* refactor: 修改名称 RunWindowsServer ==> RunServer
* 新增mcp
* feat: 支持mcp服务
* feat:调整mcp结构,增加客户端和测试用例
* feat:更换mcp基础包和结构
* feat:提交客户端工具测试用例
* feat: 增加自动创建 mcp Tool模板 功能
* fix: 增加默认值属性
* feat: 调整初始化menu的逻辑
* feat: 调整初始config.yaml
* feat: 增加全局GVA_MCP_SERVER属性,方便灵活化开发。
* feat: 优化自动化mcp逻辑和成功展示
* feat: 优化mcp tool nickname工具
* feat: 发布2.8.2 Beta版本
---------
Co-authored-by: piexlMax(奇淼 <qimiaojiangjizhao@gmail.com >
Co-authored-by: Gor-c <creup@outlook.com >
Co-authored-by: QIN xiansheng <sjjlnaps@163.com >
2025-05-13 19:24:54 +08:00
Mohamed Hassan
2bfb6f029b
+ Update codebase from v2.7.8 to v2.7.9.
...
+ Update translations.
2025-02-21 14:08:40 +02:00
pixelmaxQM
f2ea36ac0d
feat: 调整初始化数据
2025-02-15 16:58:33 +08:00
d40c815760
2.7.9beta ( #1993 )
...
* 媒体库增加分类,图库多选择时优化。
* 重构 JWT token 生成,使用 `New()` 函数代替直接创建实例
* 上传组件支持查看大图 (#1982 )
* 将参数缓存,媒体库增加分类,图库多选择时优化。 (#1978 )
* 媒体库增加分类,图库多选择时优化。
*修复文件上传进度显示bug&按钮样式优化 (#1986 )
* fix:添加内部 iframe 展示网页,优化 permission 代码
* 俩个uuid库合并一个,更新库到当前版本。
* 优化关于我们界面
* feat: 个人中心头像调整,媒体库兼容性调整。
* feat: 自动化代码前端页面美化,多余按钮收入专家模式
* feat: 增加单独生成server功能
* feat: 限制单独生成前后端的情况下的细节配置
* feat: 修复全选失败报错的问题
---------
Co-authored-by: task <121913992@qq.com >
Co-authored-by: Feng.YJ <32027253+huiyifyj@users.noreply.github.com >
Co-authored-by: will0523 <dygsunshine@163.com >
Co-authored-by: task <ms.yangdan@gmail.com >
Co-authored-by: sslee <57312216+GIS142857@users.noreply.github.com >
Co-authored-by: bypanghu <bypanghu@163.com >
Co-authored-by: Azir <2075125282@qq.com >
Co-authored-by: piexlMax(奇淼 <qimiaojiangjizhao@gmail.com >
Co-authored-by: krank <emosick@qq.com >
2025-02-13 15:25:10 +08:00
Mohamed Hassan
0f1407ebfe
+ update code base to v2.7.8-beta1.
2024-12-23 13:08:43 +02:00
Mohamed Hassan
4b78e526ab
+ Merge main branch into i18n branch.
...
+ Update translations for most of frontend modules.
2024-12-22 23:33:18 +02:00
283143e1bf
发布v2.7.8Beta1 ( #1957 )
...
* beta:2.7.8-a 增加自动化创建树形结构 (#1941 )
* feat: 支持创建树形结构
---------
Co-authored-by: piexlMax(奇淼 <qimiaojiangjizhao@gmail.com >
* 优化user store部分写法
* Update user.js
* feat: 升级版本号
* Dev 278 beta2 (#1954 )
* 在关闭详情弹窗后 detailFrom为空对象,arr为undefined 使用slice控制台会报错
* 查询不重置pageSize
* 优化主题模式相关内容
* 优化弹窗手机端显示
* bugfix:PostgreSQL initdb (#1953 )
* bugfix:postgresql增加显示指定template
---------
Co-authored-by: PiexlMax(奇淼 <165128580+pixelmaxQm@users.noreply.github.com >
---------
Co-authored-by: zayn <972858472@qq.com >
Co-authored-by: Azir <2075125282@qq.com >
Co-authored-by: Qing Liang <106448173+xue-ding-e@users.noreply.github.com >
* docs:调整部分代码注释以及代码格式
* feat: 自动化代码字典支持多选
* fix:调整值接收器和指针接收器
* feat: 支持导出表格复制,优化增加方法页面。
* chore:初始化代码规范化。
---------
Co-authored-by: piexlMax(奇淼 <qimiaojiangjizhao@gmail.com >
Co-authored-by: Azir <2075125282@qq.com >
Co-authored-by: zayn <972858472@qq.com >
Co-authored-by: Qing Liang <106448173+xue-ding-e@users.noreply.github.com >
Co-authored-by: cjb <75364055@qq.com >
2024-12-08 21:17:21 +08:00
pixelmaxQM
071f48c3ca
feat: 表格模板更名为导出模板
2024-10-29 22:05:03 +08:00
Mohamed Hassan
2feef35b83
+ Update code to v2.7.6.
...
+ The menu page selection is changed to a step-by-step style, which is more convenient.
+ The parameter management function is added, which can configure and obtain custom parameters.
+ AI functions are fully free.
+ Automation code can automatically fill in the most basic structure template according to the structure name.
+ The API synchronization function supports AI automatic filling
+ The export template function supports automatic generation of the basic structure by AI according to the description.
+ The method of adding automation code supports free selection of registration as a development interface or an interface that requires authentication.
⚠ This update requires re-execution of npm i
⚠ This update requires re-execution of go mod tidy
2024-10-24 15:26:33 +03:00
PiexlMax(奇淼 and Azir
0ce5a63c1d
update: 发布dev2.7.6Beta版本 ( #1908 )
...
* feat: 优化菜单管理的路径选择框
* fixed: 修复错误的文件命名
* feat: 增加参数管理功能,调整菜单选择组件。
* feat: 恢复config.yaml
* feat: 更新AI功能
* feat: 增加API自动填充功能
* feat: 增加AI自动填充表格导出模板
* feat: 增加AI自动填充表格导出模板和AI自动模板填充
* feat: 新增方法支持选择是否鉴权
---------
Co-authored-by: Azir <2075125282@qq.com >
2024-10-15 21:58:17 +08:00
pixelmaxQM
c14d1800e1
Merge branch 'main' into i18n-dev-new
...
# Conflicts:
# server/api/v1/system/sys_authority.go
# server/api/v1/system/sys_menu.go
# server/config.yaml
# server/core/server.go
# server/global/global.go
# server/resource/package/server/model/request/request.go.tpl
# server/resource/package/server/router/router.go.tpl
# server/resource/package/web/api/api.js.tpl
# server/resource/package/web/view/form.vue.tpl
# server/resource/package/web/view/table.vue.tpl
# server/resource/plugin/web/form/form.vue.template
# server/service/system/sys_api.go
# server/service/system/sys_authority.go
# server/service/system/sys_menu.go
# server/source/system/api.go
# web/package.json
# web/src/config.json
# web/src/main.js
# web/src/pinia/modules/user.js
# web/src/view/layout/setting/index.vue
# web/src/view/superAdmin/authority/authority.vue
# web/src/view/systemTools/autoCode/component/previewCodeDialg.vue
# web/src/view/systemTools/autoCodeAdmin/index.vue
# web/src/view/systemTools/autoPkg/autoPkg.vue
# web/src/view/systemTools/system/system.vue
2024-09-20 23:32:16 +08:00
c20ea7e030
publish: 发布2.7.4版本Beta ( #1880 )
...
* 媒体库增加批量导入URL
* fix 描述错误
* feature: 自动化代码方法支持增加方法描述
* update: 更新依赖,升级为最新版本
* feature: 自动化代码预览部分支持黑夜模式
* fixed: 修复keepalive上线后失效的bug
* feature: 增加自动化基础模板功能
* feature: 增加自动化基础模板功能
* 将用户配置保存到数据库,刷新或者异地登录配置不丢失
* update: 清除无用的userinfo配置信息
* fixed: 清理开发阶段页面无端进入404的bug
* feature: 前端主题配置跟随用户,不再单独设置json编译生效。
* feature: 增加个人中心配置兼容性
* fix(package): 包名设置为中文会导致无法自动生成代码,禁止包名设置为中文
* feature: 格式化代码
* feature: 对严格模式新建根角色进行调整。
* feature: 版本变更为2.7.4
---------
Co-authored-by: sliboy <34034053+sliboy@users.noreply.github.com >
Co-authored-by: ba0ch3ng <ba0ch3ng@foxmail.com >
Co-authored-by: task <121913992@qq.com >
Co-authored-by: task <ms.yangdan@gmail.com >
Co-authored-by: 爱丽-黑子 <62006632+ailiheizi@users.noreply.github.com >
Co-authored-by: sliboy <sliboy@hotmail.com >
2024-09-12 20:48:03 +08:00
c9477d37fa
V2.7.2版本发布 ( #1853 )
...
* feat: 自动化代码增加json导出和导入功能
* feat: 自动化代码前端可见分为Table和Form分别选中
* feature: 调整代码预览为左边栏模式的tabs。
* feat: 增加方法自动添加前端api
* feat: 自动化生成前端支持详情功能
* feat: 增加自动创建可控权限按钮功能
* fixed: 顶栏样式菜单样式细节bug修复
* fixed: 修改视频地址
* fixed: 自动获取表结构和数据库表列结构保持一致
* fixed: casbin 设置空权限无需调用 AddPolicies 方法 (#1850 )
* feat:对象存储支持配置Cloudflare R2 (#1849 )
* fixed:设为首页和菜单勾选互为必选
---------
Co-authored-by: SliverHorn <503551462@qq.com >
Co-authored-by: 千石 <CN_QianShi@hotmail.com >
* feat: 复杂数据类型的查询将不会生成查询语句,会以string形式接收参数,用户自行实现复杂查询逻辑。
* feat: 创建新角色默认携带字典和长传权限。
禁止删除有首页占用的菜单。
不允许切换至无首页的角色。
自动化代码创建失败将返回错误信息。
* feat: 当package或plugin结构异常时候,阻止创建自动化代码。
---------
Co-authored-by: krank <emosick@qq.com >
Co-authored-by: SliverHorn <503551462@qq.com >
Co-authored-by: 千石 <CN_QianShi@hotmail.com >
2024-08-13 21:55:27 +08:00
pixelmaxQM
9279197d9d
feature: i18n基础架构调整
2024-08-03 23:04:31 +08:00
Mohamed Hassan
df34368643
+ Updated to latest release of GVA v2.7.0 build 2024/07/27.
...
+ Update all translations.
+ Code clean up.
2024-08-03 01:56:45 +03:00
pixelMax(奇淼
4814f21017
feature: 增加新初始化api
2024-07-26 10:28:21 +08:00
6e4dc10c49
文件结构调整,支持插件自动化 ( #1824 )
...
* Update index.vue
多个详情页之间切换tab,页面没有重新渲染
* feature:新增同步API功能
* feature: 同步表数据
* feature:新增同步API功能
* feature: 增加V2插件注册
* feature:给Enter的依赖结构增加单独的New 方便引用
* feature: 调整关联属性的选择模式
* feature: 增加component组件和name的映射插件,防止keepalive的懒加载失效。
* update: PluginInitializeRouter && 修复TypePluginInitializeMenu ast 类型错误
* update: 测试文件的astType 类型错误
* feature: 文件变更自动同步componentName.json。
* feature: 文件变更自动同步componentName.json。
* feat: UI美化
* feat: 自动化页面顺序调整
* feature:修改404页面
* update: PluginInitializeMenu
* update: Plugin template
* fixed systemApi 重复声明
* api.vue:update:修改API分组为下拉列表
* update: import添加注释
* update: plugin_enter_test.go 增加测试用例
* update: ast 预览文件路径
* update: config Autocode 新增Module字段以及如果为空的情况下自动获取运行目录下的go.mod文件
* update: auto_code_package.go 完善调用ast工具类的封装使用
* update: auto_code_template.go Create方法和修正SysAutoCodeHistory
* feat:调整自动化package为模板,增加初始化配置信息,调整页面信息。
* update: ast PreviewPath MkdirAll
* update: ast type错误, PluginEnter and PackageModuleEnter add TemplatePath模版路径
* update: autoCodePackage and autoCodeTemplate bug修正
* update: PackageInitializeRouter 传入两个路由组
* update: PackageModuleEnter 处理空变量时与type冲突注入
* update: Package 模版更新
* update: utils/ast 优化统一
* update: 注入内容修复错误
* fix: 修复注释错误
* update: plugin 模版 完成
* feature: 文件watch功能只在development下开启
* update: viper.go.template 因为viper不区分配置的key的大小写所以用package
* update: ast 测试代码规范化
* update: package 删除api和router多余导包
* update: plugin template
* update: auto_code_package 问题修复
* update: ast 测试插件的预览功能
* update: gorm_biz 更新注册方式
* update: go.mod tidy
* remove: plugin template gen main.go.template
* update: ast 重构, 分离读取和写入步骤支持
* update: AutoCodePackageApi 传入参数错误修复
* rename: sys_autocode_history.go => sys_auto_code_history.go
* update: 预览无需落盘, 创建落盘,抽离公共参数
* update: api.go.tpl 导包位置fmt 和package js位置存放错误
* update: 测试用例修复 and PackageInitializeGorm 重构
* update: ast 新增相对路径, 代码生成器历史回滚功能
* update: ast 工具类回滚失败修复以及测试文件
* update: 代码生成器历史 回滚问题修复
* update: 代码生成器模版忽略.DS_Store
* featute: 自动化GORM结构的注入和剔除
* feature: 插件模板调整
* feature: 增加公告插件示例,调整代码模板。
* feature: 自动注册插件V2。
---------
Co-authored-by: zayn <972858472@qq.com >
Co-authored-by: SliverHorn <sliver_horn@qq.com >
Co-authored-by: krank <emosick@qq.com >
Co-authored-by: cjk <wlicjk@126.com >
Co-authored-by: piexlMax(奇淼 <qimiaojiangjizhao@gmail.com >
Co-authored-by: maxwell <zhong.maxwell@gmail.com >
2024-07-21 11:33:25 +08:00
PiexlMax(奇淼
02f5d6fea2
增加同步API功能 ( #1811 )
...
* feature:新增同步API功能
2024-07-04 21:19:20 +08:00
piexlMax
1a04bb535d
增加表格导入,增加导入模板下载,修复日志中间件的截断bug。
2024-01-05 23:09:07 +08:00
piexlMax(奇淼
e1d214b91a
剔除GPT相关功能,后续独立新开源项目制作。
2024-01-03 14:49:28 +08:00
piexlMax
64f703856e
调整初始化信息
2023-12-30 20:42:24 +08:00
piexlMax
332176a619
增加新功能初始化数据
2023-12-30 20:29:49 +08:00
Mohamed Hassan
e85423dd7f
Updated to GVA v2.5.6
2023-08-03 12:49:44 +03:00
piexlMax
4b6adb3919
增加自动打包插件功能
2023-06-10 17:16:26 +08:00
Mohamed Hassan
96b7f025f3
+ Merge branch main into 'i18n-dev-new'.
...
+ Fix merge issues.
2023-06-05 23:22:43 +03:00
piexlMax
5e684d0ba0
Merge remote-tracking branch 'origin/main' into i18n-dev-new
...
# Conflicts:
# server/api/v1/system/sys_menu.go
# server/api/v1/system/sys_user.go
# server/go.mod
# server/go.sum
# server/source/system/api.go
# web/package.json
# web/src/view/layout/index.vue
# web/src/view/layout/search/search.vue
2023-06-03 14:04:56 +08:00
SliverHorn
57b4f539f9
去掉base/login 这个没有鉴权的api ( #1427 )
2023-05-22 16:07:31 +08:00
Mohamed Hassan
e42751a339
+ Merge branch 'main' into i18n-dev-new
...
+ Update translation.
2023-04-03 20:41:08 +02:00
64608f6b05
Gpt ( #1389 )
...
* fix:优化自动化代码搜索区域 (#1382 )
* 增加gpt功能(万用表格)
* feat: chatTable页面
---------
Co-authored-by: ipanghu <bypanghu@163.com >
Co-authored-by: 陶正虎 <zhenghu.tao@jutze.com.cn >
Co-authored-by: krank <emosick@qq.com >
2023-03-25 20:02:14 +08:00
Mohamed Hassan
8dad4e9bd7
Merge branch 'main' into i18n-dev-new
2023-01-22 01:13:18 +02:00
奇淼(piexlmax
e47a512fc8
取消表格导出功能,修复回滚(删表)功能的painc ( #1310 )
...
* [feature]:取消表格导出功能
* 修复回滚(删表)painc的问题
* [feature]:修改初始化
2022-12-12 14:42:47 +08:00
Mohamed Hassan
59a4fea487
Merge branch 'main' into i18n-dev-new
2022-09-14 12:49:50 +02:00
piexlmax
31946032ba
插件安装权限调整
2022-07-08 22:11:34 +08:00
4bf872d292
增加插件安装功能并提升其他功能稳定性 ( #1155 )
...
* 增加安装插件demo
* 前端上传demo
* 插件安装初版
* 调整菜单结构
* fix: 修改密码校验 jwt 中的用户 id
* router.go:fix logger的中间件是默认的,这边日志可以删除;cors的日志打印应当在上面两行启用的时候再进行注释
* 登陆==>登录
* 抽离插件安装方法
* 调整插件功能 提升灵活度
Co-authored-by: zeromake <a390720046@gmail.com >
Co-authored-by: Lu JJ <275955589@qq.com >
Co-authored-by: pnck <hio131@gmail.com >
Co-authored-by: feixuanyu <994085848@qq.com >
2022-07-07 12:34:54 +08:00
Mohamed Hassan
d542ff2f73
+ Fix issue #1070 by @songzhibin97 in #1071
...
+ Automatically generate code to add enumeration type support by@HessianZ in #1073
+ Fix code generation problem in docker by@tscuite in #1067
+ Fix replace the method of abandonment by@songzhibin97 in #1075
+ Fix several misuses of okwithdata by@pnck in #1077
+ Fix the problem that pg cannot be used in multi-library mode by@pnck in #1081
+ Fixed the bug that menu jumps must be refreshed under vite2.9.9
+ Added automatic code interception check for empty package
+ Update version from 2.5.1 to 2.5.1b
2022-05-31 00:19:06 +02:00
feixuanyu
227bcd509f
修复分片上传-寻找目标文件(秒传)的请求方式有误
...
会造成的问题是:项目初始化后,在菜单管理页面可以看到这个api的方式是post,然后再角色管理里面,普通用户的角色api的分片上传组-寻找目标文件(秒传)是没有选中的,如果勾选上点击确定提交,会造成断点续传功能无法上传文件,casbin校验不通过,因为数据被修改了。
如果对角色api这个复选框没有选中的情况不进行操作的话,不影响断点续传功能使用。
2022-05-24 20:34:48 +08:00
Mohamed Hassan
646dea3ea0
+ Merge branch 'main' into i18n-dev-new
...
+ Update version to v2.5.1 beta2.
2022-04-25 23:33:38 +02:00
6add2094a6
v2.5.1 beta2 ( #1048 )
...
* 修复日志中间件报文过大的报错问题
* 修复 Token 失效后导致的白屏问题
* 增加自动创建插件模板功能
* 密码加密方式改为 hash
* 增加刷新防抖
Co-authored-by: songzhibin97 <718428482@qq.com >
Co-authored-by: icedays <icedays@163.com >
Co-authored-by: hedeqiang <laravel_code@163.com >
2022-04-25 17:34:17 +08:00
Mohamed Hassan
3781bd1431
Merge branch 'main' into i18n-dev-new
2022-04-24 10:33:26 +02:00
task and task
c7ce98f1d5
初始化加入接口:/fileUploadAndDownload/editFileName ( #1025 )
...
* 初始化加入接口:/fileUploadAndDownload/editFileName
Co-authored-by: task <121913992@qq.com >
2022-04-13 12:29:32 +08:00
6fb6ac2d6c
修复漏洞,重构初始化功能,优化媒体库 ( #1024 )
...
* 媒体库增加 普通上传、压缩上传按钮,方便媒体库直接上传图片
* 增加数据类型切换后的的校验,避免使用错误的查询条件和字典条件。
* refactor: 重构初始化逻辑
* 媒体库功能丰富
* 修复注入漏洞和路径穿越
* 修复自动化接口获取数据库表失败后未能终止的bug
* 微调媒体库样式
Co-authored-by: bypanghu <bypanghu@163.com >
Co-authored-by: tesun <36953434+tesun@users.noreply.github.com >
Co-authored-by: pnck <hio131@gmail.com >
Co-authored-by: task <121913992@qq.com >
2022-04-12 17:57:11 +08:00
429353fa54
自动化代码可分包 ( #982 )
...
* [style] 修改右上角图标,选择统一风格的iconfont
* 增加路由排错处理
* 未输入tablename时前端自动生成下划线表名方式回滚误删表
* 支持自动化生成package功能
Co-authored-by: bypanghu <bypanghu@163.com >
Co-authored-by: songzhibin97 <718428482@qq.com >
2022-03-26 14:13:26 +08:00
Mohamed Hassan
5ad3d2445c
Merge branch 'main' into i18n-dev-new
2022-03-18 01:04:00 +02:00
songzhibin97
97a3ca223f
Fix #942 #957
...
* fix:#957
* fix:#942
2022-03-16 18:21:15 +08:00
Mohamed Hassan
adf3d6cfe0
Merge branch 'main' into i18n-dev-new
2022-02-22 11:52:34 +02:00
奇淼(piexlmax and helight
6a97f39f66
新增按钮权限,增加redis可独立配置 ( #923 )
...
* fix jwt to golang-jwt, gin to 1.7.0
* 增加按钮权限功能
* 增加redis可独立配置
Co-authored-by: helight <helight@helight.info >
2022-02-22 00:26:21 +08:00
Mohamed Hassan
27544f1922
+ Update server and front end translations.
2022-02-20 10:19:10 +02:00
Mohamed Hassan
c2d2944667
+ Updated all translation files for server and web.
...
+ Fixed issue that caused translator structure not initialized at start up since the config files was not loaded.
+ Fixed wrong translation for confirmation button.
2022-02-18 01:07:24 +02:00