Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.x develop #349

Merged
merged 335 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
335 commits
Select commit Hold shift + click to select a range
875ffd6
chore(更新依赖): 🔨 @mineadmin/table
kanyxmo Aug 27, 2024
05fb7b3
Merge remote-tracking branch 'origin/3.x' into 3.x
kanyxmo Aug 27, 2024
1a4ba71
chore(更新依赖): 🔨 @mineadmin/form
kanyxmo Aug 27, 2024
59c39b9
chore(更新、优化、修复): 🔨 更新依赖,优化样式、修复一些类型错误
kanyxmo Aug 27, 2024
6cf7f90
chore(优化): 🔨
kanyxmo Aug 28, 2024
c2af03f
chore(实验select修改): 🔨
kanyxmo Aug 28, 2024
214b4d2
feat(菜单新增徽章): ✨
kanyxmo Aug 30, 2024
810eaf9
feat(component): ✨ 新增search组件
kanyxmo Sep 1, 2024
b01295b
chore(update vue): 🔨 升级vue到3.5,组件适配优化
kanyxmo Sep 4, 2024
0edf0c0
chore(还原3.4.x版本vue): 🔨
kanyxmo Sep 4, 2024
8b33db5
fix(menu): 🐛 菜单的badge在Popup状态下仍然显示的问题
kanyxmo Sep 4, 2024
d19d3ed
chore: 🔨`
kanyxmo Sep 6, 2024
c2386b6
reactor(migration): 移除迁移文件
zds-s Sep 6, 2024
e70bc3a
reactor(security): 优化 user model
zds-s Sep 6, 2024
510e803
reactor(backend): 优化后端目录结构,减少重复代码。修复特定情况下单元测试失败问题
zds-s Sep 7, 2024
88f6850
feat(add plugin config): ✨ 插件新增配置文件发布功能
kanyxmo Sep 10, 2024
886f9d7
feat(add plugin config): ✨ 插件新增配置文件发布功能
kanyxmo Sep 10, 2024
690aa76
feature(user): 新增 修改个人信息接口,重置个人密码接口,修复 phpstan 报错,优化部分代码
zds-s Sep 10, 2024
ae9cc0a
feature(permission): 赋予用户角色接口
zds-s Sep 10, 2024
d242443
feature(result): 返回消息翻译化
zds-s Sep 10, 2024
a363162
feat(plugin add setup hook): ✨
kanyxmo Sep 11, 2024
78d0ae9
feat(plugin add setup hook): ✨
kanyxmo Sep 11, 2024
f327407
fix(plugin): 🐛 插件的setup钩子调用点修复,非layout布局下不生效问题
kanyxmo Sep 11, 2024
c9ae48a
添加cell-render插件
develop-chen Sep 11, 2024
aa9bc3a
test(pro-table)
kanyxmo Sep 11, 2024
67978a9
test: ✅ 表格
develop-chen Sep 12, 2024
09c974b
refactor(mine-admin): 更新proTable组件和单元测试
develop-chen Sep 12, 2024
07560a5
fix(pro-table): 优化加载状态处理和自动查询逻辑
develop-chen Sep 12, 2024
4b9c259
test(pro-table): 测试 pro-table
kanyxmo Sep 12, 2024
9165a73
道具默认值调整以优化图标选择器性能
develop-chen Sep 12, 2024
20643cb
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 12, 2024
d0fb741
新组件label和单元测试添加添加了一个新的组件label,用于在表格单元格内渲染标签。该组件支持通过映射选项来定义不同的值显示。同时,添…
develop-chen Sep 12, 2024
7097020
cell-render组件库扩展:添加switch组件和标签组件的null处理- 新增switch组件,支持在单元格渲染时使用el-swi…
develop-chen Sep 12, 2024
2aacfea
feat: add pro-table
kanyxmo Sep 12, 2024
349f959
feat: add pro-table
kanyxmo Sep 12, 2024
55c7684
feat(ma-search): 更新ma-search组件版本,修复默认折叠失效问题
kanyxmo Sep 12, 2024
7e6df21
feat(ma-search): 更新ma-search组件版本,修复默认折叠失效问题
kanyxmo Sep 12, 2024
6ee8151
table组件的单元格渲染功能重构,使用更灵活的API设计,允许通过标签和图像等方式自定义渲染单元格内容。
develop-chen Sep 13, 2024
032faff
refactor(mine-admin/cell-render): 更新单元格渲染配置
develop-chen Sep 13, 2024
d46974d
更新`practice.vue`中的存储模式标签渲染
develop-chen Sep 13, 2024
463a2fe
模拟网络请求延时,以增强前端测试环境的逼真度在practice.vue组件中,通过Promise和setTimeout封装原有的HTTP请…
develop-chen Sep 13, 2024
b4e33e6
mock数据接口调整与表格单元格渲染插件优化
develop-chen Sep 13, 2024
565d2c5
refactor(mine-admin): 移除cell-render插件中的路由注册
develop-chen Sep 13, 2024
6d8ba4f
稍微配置下cell-render-demo视图的元数据属性
develop-chen Sep 13, 2024
bf751c5
稍微配置下cell-render-demo视图的元数据属性
develop-chen Sep 13, 2024
798a26d
fix
kanyxmo Sep 13, 2024
7972c97
Merge remote-tracking branch 'origin/3.x' into 3.x
kanyxmo Sep 13, 2024
a4d1ca5
单元格渲染demo配置更新
develop-chen Sep 13, 2024
541b6bf
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 13, 2024
13792c2
调整表格底部适配偏移量以优化展示效果
develop-chen Sep 13, 2024
79ccb0e
移除`label`单元格渲染组件中的`field`属性
develop-chen Sep 13, 2024
0c9bb4f
fix: 🐛 按钮列属性默认值修正为`id`
develop-chen Sep 13, 2024
8856a1a
refactor(mine-admin/cell-render): 重命名RFV接口为RowFieldValues
develop-chen Sep 13, 2024
11d5667
功能开发:实现开关组件的单元格渲染功能
develop-chen Sep 13, 2024
8dd3bba
fix(layout): 菜单版权是否显示与全局取消关联
kanyxmo Sep 13, 2024
b757544
fix(menu): 菜单隐藏失效bug
kanyxmo Sep 13, 2024
046ae30
fix(color): 修复颜色在黑暗模式下显示level的问题
kanyxmo Sep 13, 2024
18f0557
数据状态切换组件更新
develop-chen Sep 13, 2024
c840bef
fix(mine-admin): 修正switch组件api类型定义及demo使用修正了switch组件中api的类型定义,将其实参从pa…
develop-chen Sep 13, 2024
a6fe93b
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 13, 2024
855cc78
feat(mock): ✨ 支持插件mock
develop-chen Sep 14, 2024
be455fe
feat(menu): 增加强制子侧边栏显示菜单参数: subForceShow
kanyxmo Sep 14, 2024
7412363
reactor(ci): 优化异常处理,去除背景api
zds-s Sep 14, 2024
45367c6
接入登录接口,优化全局响应对象
zds-s Sep 14, 2024
74d8139
Merge remote-tracking branch 'develop/3.x' into 3.x
zds-s Sep 14, 2024
88c4bd3
test(cell-render)
kanyxmo Sep 14, 2024
dfcf5a5
fix(代码格式)
kanyxmo Sep 14, 2024
12c4b5e
feat(兼容mock模式): 新增mock env配置文件
kanyxmo Sep 14, 2024
e3969c7
feat(mock): ✨ 取消插件mock的支持尝试
develop-chen Sep 14, 2024
66a7c7f
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 14, 2024
d58baa6
fix(兼容mock模式)
kanyxmo Sep 14, 2024
78d1ccf
Merge remote-tracking branch 'origin/3.x' into 3.x
kanyxmo Sep 14, 2024
04bad90
更新ma-search到 1.0.17
kanyxmo Sep 14, 2024
21c2f9f
样式调整:确保switch组件的图标颜色符合主题
develop-chen Sep 14, 2024
c93f295
功能开关组件支持`beforeChange`回调,增强开关状态变更的控制。
develop-chen Sep 14, 2024
9ed093d
fix(mine-admin): 确保在switch组件的beforeChange钩子中正确处理加载状态
develop-chen Sep 14, 2024
e26a667
reactor(core): 优化用户菜单获取逻辑,优化部分api接口
zds-s Sep 14, 2024
763e60d
增加菜单、用户、角色的ts请求文件
zds-s Sep 14, 2024
923f333
fix
zds-s Sep 14, 2024
5e4478e
merge
zds-s Sep 14, 2024
3737e92
fix(mine-admin): 修正switch组件beforeChange回调执行逻辑
develop-chen Sep 14, 2024
32d18b7
修改开关单元格渲染的确认消息,根据状态值动态更改确认信息。现在在更改状态前显示“确定要启用吗?”或“确定要禁用吗?”确认消息,以提供更清晰…
develop-chen Sep 14, 2024
b2dd255
增加用户重置密码、修改信息、文件上传、文件列表、删除文件等前端请求文件
zds-s Sep 14, 2024
079522d
fix(mine-admin): 修正单元格渲染器的开关请求参数修正了单元格渲染器组件中的开关请求参数。现在正确地传递开关状态更改的请求数…
develop-chen Sep 14, 2024
d74e9d1
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 14, 2024
162aa1e
代码调试注释添加
develop-chen Sep 14, 2024
dc3ff19
docs(tools.ts): 更新表格单元格渲染工具类型定义
develop-chen Sep 14, 2024
6320dfe
类型定义更新:在Switch组件的Options接口中,修改beforeChange方法的返回类型为Promise<any>。这允许在异步…
develop-chen Sep 14, 2024
24d2293
fix(pro-table): 修复使用icon组件控制台出警告信息
kanyxmo Sep 14, 2024
2c68dac
Apply cs fix
zds-s Sep 14, 2024
3b7c5a0
Merge remote-tracking branch 'develop/3.x' into 3.x
zds-s Sep 14, 2024
ddc7059
fix(用户信息): 死循环问题
develop-chen Sep 15, 2024
49e6524
fix(mine-admin/cell-render): 修正switch组件beforeChange回调参数
develop-chen Sep 15, 2024
c460604
fix
kanyxmo Sep 15, 2024
74a6598
Merge remote-tracking branch 'origin/3.x' into 3.x
kanyxmo Sep 15, 2024
6e6aa32
fix
zds-s Sep 15, 2024
63ccbfa
chore(min-admin/cell-render): 调整请求地址
develop-chen Sep 15, 2024
12a1224
remove(移除plop依赖)
kanyxmo Sep 15, 2024
bd3a25f
Merge remote-tracking branch 'origin/3.x' into 3.x
kanyxmo Sep 15, 2024
da04d0a
feat(欢迎页): 完善了欢迎页
kanyxmo Sep 15, 2024
efc5717
fix(资源选择器): 完善类型定义
develop-chen Sep 15, 2024
67fddcf
fix(资源选择器):完善类型定义,完善页面样式
develop-chen Sep 16, 2024
5efadf5
refactor(ma-resource-picker):简化文件类型选择逻辑并改善封面获取方法
develop-chen Sep 16, 2024
ae06af2
chore(min-admin/cell-render): 优化页面展示
develop-chen Sep 16, 2024
73e1e2d
feat(demo): 添加demo相关页面
develop-chen Sep 16, 2024
ad07125
feat(demo): 添加demo相关页面
develop-chen Sep 16, 2024
6d85e67
Apply cs fix
zds-s Sep 16, 2024
554184c
fix(unit test): 修复单元测试,修复用户获取角色、菜单接口数据混淆问题
zds-s Sep 16, 2024
9763c23
fix(cs-fix): Apply cs fix
zds-s Sep 16, 2024
9a275fc
fix(cs-fix): Apply cs fix
zds-s Sep 16, 2024
13fb83b
Merge remote-tracking branch 'develop/3.x' into 3.x
zds-s Sep 16, 2024
fc41315
fix(dbSeed): 优化数据填充,统一代码风格
zds-s Sep 16, 2024
8f658a6
fix(seeder): db:seed执行后找不到迁移文件的bug
kanyxmo Sep 17, 2024
33b1064
fix(vue-proxy): 修复前端代理错误的问题
kanyxmo Sep 17, 2024
b2a278a
fix(debug): 去掉debug日志输出
kanyxmo Sep 17, 2024
6270da3
remove(env.mock): 前端mock环境
kanyxmo Sep 17, 2024
0217955
refactor: ♻️ 优化请求菜单那、角色逻辑,适配http、code问题,修复一些小bug
kanyxmo Sep 17, 2024
9781f38
reactor(backend): 优化获取菜单meta属性展示错误问题,修复config目录统一编码问题
zds-s Sep 17, 2024
3d2df65
reactor(debug): 统一debug处理
zds-s Sep 17, 2024
bf5aff2
fix(cs-fix): 统一 kernel 编码规范
zds-s Sep 17, 2024
2f3a3ba
fix:token过期退出失败问题
kanyxmo Sep 17, 2024
723a197
fix(seeder): MenuSeeder填充数据优化
kanyxmo Sep 17, 2024
f77a991
fix(seeder): MenuSeeder填充数据优化
kanyxmo Sep 17, 2024
6b49dd9
fix(seeder): MenuSeeder填充数据优化
kanyxmo Sep 17, 2024
3216ec4
fix:菜单不显示的问题
kanyxmo Sep 17, 2024
5fd7d48
fix(menu):刷新后,父菜单不展开的问题
kanyxmo Sep 17, 2024
402d5c3
fix(jwt): 修复 jwt 过期时间配置不生效问题
zds-s Sep 17, 2024
39be48b
feat(i18n): MenuSeeder填充数据和前端添加i18n
kanyxmo Sep 17, 2024
079ce16
feat(i18n): MenuSeeder填充数据和前端添加i18n
kanyxmo Sep 17, 2024
33a7ee4
feat(分析页):还未完成
kanyxmo Sep 17, 2024
75350e8
feat(分析页):还未完成
kanyxmo Sep 17, 2024
6711a44
fix(cancel debug): 去掉显示debug信息
kanyxmo Sep 18, 2024
1ca948c
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 18, 2024
83dfcf7
删除无用注释
develop-chen Sep 18, 2024
70beaa0
feat(分析页)
kanyxmo Sep 18, 2024
5f79542
Merge remote-tracking branch 'origin/3.x' into 3.x
kanyxmo Sep 18, 2024
ad6798a
docs(迁移文件): 📝 修改`attachment`迁移文件结构,优化字段注释
develop-chen Sep 19, 2024
ea40087
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 19, 2024
aa312ce
docs(迁移文件): 📝 优化注释
develop-chen Sep 19, 2024
5fd2077
docs(迁移文件): 📝 优化代码结构
develop-chen Sep 19, 2024
bc860e3
docs(迁移文件): 📝 规范迁移文件结构
develop-chen Sep 19, 2024
4079735
feat(统计报表)
kanyxmo Sep 19, 2024
87643b4
feat(统计报表)
kanyxmo Sep 19, 2024
c3975be
chore(http.ts): 优化401状态防抖策略
kanyxmo Sep 20, 2024
15d8663
feat(工作台页面)
kanyxmo Sep 20, 2024
e26b762
fix(PermissionMiddleware): 缺少对超管的放行
kanyxmo Sep 20, 2024
7099bce
fix(menu.pageList): 数据返回改为树形
kanyxmo Sep 20, 2024
5880dd8
feat(菜单管理)
kanyxmo Sep 20, 2024
c9884b4
fix(constants.user.status): 🐛 描述和值错误
develop-chen Sep 21, 2024
0db02f0
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 21, 2024
e708ccb
fix(migrations.attachment): 🐛 修复问题
develop-chen Sep 21, 2024
f19f721
fix(seeders.menu): 删除data_scope写入,该字段已移除
develop-chen Sep 21, 2024
de7c389
fix(menuSeeder): 填充数据修复
kanyxmo Sep 21, 2024
9c15236
Merge remote-tracking branch 'origin/3.x' into 3.x
kanyxmo Sep 21, 2024
e5748bd
feat(菜单管理):还未完成
kanyxmo Sep 21, 2024
103bd8d
feat(插件): 前端支持后端注册插件路由
kanyxmo Sep 21, 2024
ecdd2c4
fix(menuSeeder): 填充数据优化
kanyxmo Sep 21, 2024
b5ce0e7
feat(插件): 前端支持后端注册插件路由
kanyxmo Sep 21, 2024
8c3956c
feat(menu): 持续菜单集成
kanyxmo Sep 21, 2024
10d4487
feat(menu): 持续菜单集成
kanyxmo Sep 22, 2024
5f816b6
feat(menu): 持续菜单集成
kanyxmo Sep 22, 2024
37c6919
feat(user): 界面
kanyxmo Sep 22, 2024
ca04095
feat(user): 界面优化,更新pro-table版本
kanyxmo Sep 22, 2024
34807b2
feature(log): 新增用户登录日志、操作日志的查询和删除接口
zds-s Sep 22, 2024
2759f0e
fix(seeder): 类名改成驼峰兼容php8.1
kanyxmo Sep 23, 2024
4f8a150
chore(i18n): 📦 优化多语言资源加载策略
develop-chen Sep 23, 2024
9926e9f
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 23, 2024
ca943e9
feat(用户)
kanyxmo Sep 23, 2024
1b714e3
Merge remote-tracking branch 'origin/3.x' into 3.x
kanyxmo Sep 23, 2024
9a887c8
修正文件名称
develop-chen Sep 23, 2024
249a1af
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 23, 2024
c244abc
feat(cell-render): ✨ 添加user渲染器
develop-chen Sep 23, 2024
d00d71b
Apply cs fix
zds-s Sep 23, 2024
5d02618
feat(user): 集成用户管理,新增ma-dialog组件
kanyxmo Sep 23, 2024
c80a0e1
feat(user): 优化
kanyxmo Sep 23, 2024
cc33d16
chore(package): 更新依赖
kanyxmo Sep 23, 2024
8bdda0c
fix(seeders): 大驼峰命名
develop-chen Sep 23, 2024
8cc8691
fix(DbQueryExecutedListener): 添加对position最大值的判断
develop-chen Sep 24, 2024
bd7abc9
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 24, 2024
2e3bcf0
chore(适配vue3.5.x)
kanyxmo Sep 24, 2024
7afe0e8
Merge remote-tracking branch 'origin/3.x' into 3.x
kanyxmo Sep 24, 2024
35f23b6
fix(ResultResponse): 🐛 在解析器中实现对字符串实例化的支持
develop-chen Sep 24, 2024
8e22c22
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 24, 2024
381bc19
fixed result response
zds-s Sep 24, 2024
9355699
Revert "fix(ResultResponse): 🐛 在解析器中实现对字符串实例化的支持"
zds-s Sep 24, 2024
f03af43
重构用户组件以提高代码清晰度和可维护性
develop-chen Sep 24, 2024
d811d5c
refactor(重构modal和drawer组件)
kanyxmo Sep 24, 2024
5784468
refactor(重构modal和drawer组件)
kanyxmo Sep 24, 2024
415c092
fix(优化)
kanyxmo Sep 24, 2024
29ff8d1
feat(dictionary): 新增字典处理及字典数据存放点
kanyxmo Sep 24, 2024
1217685
fix(修复bug)
kanyxmo Sep 24, 2024
25d00f4
fix(seeder)
kanyxmo Sep 25, 2024
79f4d2b
feat(seeder): 菜单seeder添加按钮i18n
kanyxmo Sep 25, 2024
19f811d
feat(dict数据渲染组件):新增radio、select、checkbox字典渲染组件,优化i18n功能。
kanyxmo Sep 25, 2024
ccfb0a2
fix(更新pro-table):修复pro-table搜索设置不显示时,但外容器还显示的问题
kanyxmo Sep 25, 2024
c50a41d
feat(remote-select): 未完成
kanyxmo Sep 25, 2024
3eeb576
reactor(log): 优化用户登录事件、用户访问事件。增加访问服务中间件日志记录
zds-s Sep 25, 2024
11b8553
Merge branch '3.x' of github.com:mineadmin/mineadmin-develop into 3.x
zds-s Sep 25, 2024
97a9e68
reactor(log): 优化登录日志写入
zds-s Sep 25, 2024
f8228a7
reactor(log): 优化日志写入,异步处理日志
zds-s Sep 25, 2024
03fbf65
reactor(seed): 数据填充文件重命名,用作默认排序
zds-s Sep 26, 2024
82352df
reactor(unit): 优化登录接口,日志查询单元测试
zds-s Sep 26, 2024
7b27543
delete doc
zds-s Sep 26, 2024
51853a2
fix(eslint去掉import sort规则)
kanyxmo Sep 26, 2024
5b2814c
reactor(framework): 优化系统结构,去除无意义目录及代码
zds-s Sep 26, 2024
e720039
reactor(framework): 统一目录命名规范
zds-s Sep 26, 2024
81707b2
fixed(login event): error class name
zds-s Sep 26, 2024
81231e1
fixed(jwt auth): 收敛用户事件到 jwt 组件中
zds-s Sep 26, 2024
58b031c
feature(menu): 增加日志管理菜单填充和翻译文件补充
zds-s Sep 26, 2024
22a6e83
feature(menu): 优化默认翻译展示逻辑
zds-s Sep 26, 2024
f0e8273
fix(menu): 菜单填充数据修复,多语言key修复
kanyxmo Sep 26, 2024
0887ef7
feat(remote-select): 新增远程select组件。
kanyxmo Sep 26, 2024
78d7ab6
perf(sql输入): ⚡ 更改DbQueryExecutedListener的日志级别为info
develop-chen Sep 27, 2024
b88d344
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 27, 2024
079e140
style(字体样式): 📦 更新字体设置以提升可读性和美观度
develop-chen Sep 27, 2024
21410d9
style(字体样式): 📦 更新字体设置以提升可读性和美观度
develop-chen Sep 27, 2024
0ddb5c5
样式调整和文件忽略模式更新- 移除globals.scss中未使用的字体定义,并简化现有字体定义的代码。
develop-chen Sep 27, 2024
73dee74
修正字体引用格式字符串
develop-chen Sep 27, 2024
a03995f
fix(web): 修复字体引用 src 属性错误
develop-chen Sep 27, 2024
2e286f8
style(字体样式): 📦 更新字体设置以提升可读性和美观度
develop-chen Sep 27, 2024
72b8a6d
Merge remote-tracking branch 'origin/3.x' into 3.x
develop-chen Sep 27, 2024
d5c03b0
调整菜单容器高度计算,增加12px以适应内容布局
develop-chen Sep 27, 2024
e02a5cd
feat(upload-image): 新增上传图片组件(未完成)
kanyxmo Sep 27, 2024
adf18c7
Merge remote-tracking branch 'origin/3.x' into 3.x
kanyxmo Sep 27, 2024
7c0a6c9
feat(seeder): 菜单图标优化
kanyxmo Sep 28, 2024
4018464
feat(upload-image): ui设计 未完成
kanyxmo Sep 28, 2024
10e17f2
fix(http): 修复前端接管服务器返回错误的处理
kanyxmo Sep 28, 2024
a5a21cd
chore(layouts): 优化混合布局
kanyxmo Sep 28, 2024
d8aaf41
chore(优化用户栏): mixed布局下,新增按钮控制用户栏显隐
kanyxmo Sep 28, 2024
82d2d1e
fix(sql打印): substr_replace导致的位置替换有问题
develop-chen Sep 28, 2024
82c4cc4
chore(上传)
kanyxmo Sep 29, 2024
6173363
reactor(token): 单 token 机制改为双 token 机制
zds-s Sep 29, 2024
5408c74
chore(登录)
kanyxmo Sep 30, 2024
94510a1
fix(public_url): 错误的问题
kanyxmo Sep 30, 2024
f545335
chore(jwt): 增加 jwt 过期错误,优化用户登录日志表结构
zds-s Sep 30, 2024
40281f6
Merge remote-tracking branch 'develop/3.x' into 3.x
zds-s Sep 30, 2024
b8333bb
chore(watch): 优化热重启
zds-s Sep 30, 2024
21c9012
chore(repository): 优化仓储层设计,增加 page hook 机制
zds-s Sep 30, 2024
d91a24c
chore(framework): 优化操作日志记录机制、优化获取 client ip 逻辑
zds-s Sep 30, 2024
091253a
feature(userLoginLog): 用户登录日志前端实现
zds-s Sep 30, 2024
eae8451
delete doc
zds-s Sep 30, 2024
3ae52af
feature(request log): 完善操作日志页面查询以及删除
zds-s Sep 30, 2024
0c4d0e3
chore(优化)
kanyxmo Oct 2, 2024
ac67d0e
feat(cell-render): 添加buttons组件
develop-chen Oct 2, 2024
0e4d5b8
feat(cell-render): useCellRender支持传入maProTableRef以获得更好的内部支持
develop-chen Oct 2, 2024
d7e44d1
feat(cell-render): renderTo添加proxy参数支持
develop-chen Oct 2, 2024
a3f5866
feat(cell-render): 添加proxy参数支持
develop-chen Oct 2, 2024
d2d88b7
feat(新增图片上传)
kanyxmo Oct 2, 2024
078fed8
feat(新增文件上传)
kanyxmo Oct 2, 2024
173baa7
feat(用户管理form): 未完成
kanyxmo Oct 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "Setup Node"

description: "Setup node and pnpm"

runs:
using: "composite"
steps:
- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: "pnpm"

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- uses: actions/cache@v4
name: Setup pnpm cache
if: ${{ github.ref_name == 'master' }}
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- uses: actions/cache/restore@v4
if: ${{ github.ref_name != 'master' }}
with:
path: ${{ env.STORE_PATH }}
key: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile
Empty file modified .github/ci/requirement.install.sh
100755 → 100644
Empty file.
Empty file modified .github/ci/run.check.sh
100755 → 100644
Empty file.
Empty file modified .github/ci/run.code-coverage.sh
100755 → 100644
Empty file.
Empty file modified .github/ci/run.test.sh
100755 → 100644
Empty file.
Empty file modified .github/ci/setup.mysql.sh
100755 → 100644
Empty file.
Empty file modified .github/ci/setup.pgsql.sh
100755 → 100644
Empty file.
Empty file modified .github/ci/setup.services.sh
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ RUN composer install --no-dev -o && php bin/hyperf.php

EXPOSE 9501 9502 9503

ENTRYPOINT ["php", "/opt/www/bin/hyperf.php", "start"]
ENTRYPOINT ["php", "/opt/www/mine", "start"]
95 changes: 95 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
pull_request:
schedule:
- cron: '0 2 * * *'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: javascript-typescript
build-mode: none
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# Fetch just the latest commit so that we can determine which files were changed
fetch-depth: 0
path: web

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
124 changes: 124 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
name: CI

on:
push:
pull_request:
schedule:
- cron: '0 2 * * *'

permissions:
contents: read

env:
CI: true
TZ: Asia/Shanghai

jobs:
test:
name: Test
if: github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]')
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
timeout-minutes: 20
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
path: web

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false

- name: Setup Node
uses: ./.github/actions/setup-node

# - name: Check Git version
# run: git --version

# - name: Setup mock Git user
# run: git config --global user.email "[email protected]" && git config --global user.name "Your Name"

- name: Vitest tests
run: pnpm run test:unit

# - name: Upload coverage
# uses: codecov/codecov-action@v4
# with:
# token: ${{ secrets.CODECOV_TOKEN }}

lint:
name: Lint
if: github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]')
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node
uses: ./.github/actions/setup-node

- name: Lint
run: pnpm run lint

check:
name: Check
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node
uses: ./.github/actions/setup-node

- name: Typecheck
run: pnpm check:type

# From https://github.com/rhysd/actionlint/blob/main/docs/usage.md#use-actionlint-on-github-actions
- name: Check workflow files
if: runner.os == 'Linux'
run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color -shellcheck=""

ci-ok:
name: CI OK
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]') && always()
needs: [test, check, lint]
env:
FAILURE: ${{ contains(join(needs.*.result, ','), 'failure') }}
steps:
- name: Check for failure
run: |
echo $FAILURE
if [ "$FAILURE" = "false" ]; then
exit 0
else
exit 1
fi
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ tests/coverage.xml
tests/coding_standard.xml
tests/junit.xml
public
!web/public
*.lock
11 changes: 11 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@
->setParallelConfig(new PhpCsFixer\Runner\Parallel\ParallelConfig(8, 24))
->setRules([
'@PSR2' => true,
'@PhpCsFixer:risky' => true,
'@PSR12' => true,
'@PER-CS2.0' => true,
'@Symfony' => true,
'@DoctrineAnnotation' => true,
'@Symfony:risky' => true,
'@PhpCsFixer' => true,
'@PHP81Migration' => true,
'header_comment' => [
'comment_type' => 'PHPDoc',
'header' => $header,
Expand Down Expand Up @@ -81,6 +86,12 @@
'single_quote' => true,
'standardize_not_equals' => true,
'multiline_comment_opening_closing' => true,
'mb_str_functions' => true,
'set_type_to_cast' => true,
'no_multiline_whitespace_around_double_arrow' => true,
'normalize_index_brace' => true,
'return_to_yield_from' => true,
'class_keyword' => true,
])
->setFinder(
PhpCsFixer\Finder::create()
Expand Down
13 changes: 0 additions & 13 deletions .phpstorm.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,4 @@
override(\Hyperf\Support\make(0), map(['' => '@']));
override(\Hyperf\Support\optional(0), type(0));
override(\Hyperf\Tappable\tap(0), type(0));
}

namespace Hyperf\Database\Model{
class Builder{
/**
* @param int|null $userid
* @return Builder
*/
public function userDataScope(?int $userid = null)
{

}
}
}
32 changes: 0 additions & 32 deletions app/Async/Crontab/ClearLogCrontab.php

This file was deleted.

Loading
Loading