Commit Graph

783 Commits

Author SHA1 Message Date
ariesly15
59bade3a8a
Bugfix 2022 11 01 (#2628)
* fix: 修复【Mongo 注入获取 token】的问题

* chore: up version

* chore: 关闭 Pre-request Script 和 Pre-response Script

v1.11.0 之后 如下脚本功能关闭,如需打开,请联系管理员添加. 在 db, mail 同级配置 scriptEnable: true, 并重启服务 即可

Co-authored-by: ariesly <ariesly@arieslymac13.local>
2022-11-01 23:00:20 +08:00
ariesly15
568434f782 Merge branch feature-pr of https://github.com/YMFE/yapi into hotfix 2021-10-13 16:49:18 +08:00
ariesly15
5bab76c144 fix: issues 2357 2021-10-12 16:33:28 +08:00
ariesly15
01207e29cd fix: [2361] 修复所有分类被删除时,同步问题. 解决方案: 增加 "默认分类" 2021-10-12 14:57:14 +08:00
tangcent
4d24c39748
feat: add nonexistent tags from /interface/(add/up/save) (#1918) 2021-10-12 11:20:56 +08:00
lagudomeze
31f2773e0c
Update db.js (#2077)
add config reconnectTries/reconnectInterval 

[mongoose config](https://mongoosejs.com/docs/api/connection.html)
2021-10-12 11:17:41 +08:00
ariesly15
3870c5f91d
Hotfix (#2319)
* fix: 修复导出html接口文档时,不同目录下有相同接口名导致的接口错位问题 (#2270)

Co-authored-by: wangxl <wangxl@onton.net>

* fix: delete follow info while delete project (#1691)

* Fix interfaceCol 报错'col_id不能为空' (#1839)

* fix: 选中'测试集合'tab未默认选中任一集合

* fix:未选中测试集合就拖拽调整用例顺序时报错‘col_id不能为空’

Co-authored-by: bingyiyu1 <945104584@qq.com>
Co-authored-by: wangxl <wangxl@onton.net>
Co-authored-by: tangcent <pentatangcent@gmail.com>
Co-authored-by: kayie <669141180@qq.com>
2021-08-25 14:43:42 +08:00
吉小龙(jixiaolong)
6e0136b967
Update app.js (#2031)
koa-body 默认对DELETE方法的body不解析,为了通用期间,将strict 设置成  false, 详见官方文档 (https://github.com/dlau/koa-body)
2021-08-25 14:03:48 +08:00
Denny Jiang
8abfe2e7df
fix: Repeated error messages in the validation results (#2142) 2021-08-24 15:29:27 +08:00
ariesly
37f7e55a07 fix: fixed_sandbox_bug 2021-06-25 11:57:19 +08:00
sean1025
8e1f6546d5
Merge pull request #1331 from LiPinghai/hotfix
fix: 排重follow project时使用_id的错误
2020-10-11 12:27:30 +08:00
WebPuY
d6e82622c0 fix: 解决请求用户信息接口的越权漏洞 2020-09-20 10:28:15 +08:00
bin.liu
5dff3d6b01 feat: 将导出项目接口文档为 swagger 文件接口加入 openapi 2020-06-08 17:11:24 +08:00
苏文雄
8fd9819059 fix: 高级 mock 无效的bug,增加对登录 email 空格的过滤, deepMath 增加对原型属性过滤 2020-05-29 14:08:02 +08:00
苏文雄
a74b779353 fix: 修复因 mongodb 一个废弃报错导致部署不成功问题 2020-04-28 17:42:01 +08:00
sean1025
0384f700a7
Merge pull request #1631 from vvkkhjt/master
修改ldap filter的匹配规则,使其可以匹配&和|操作符
2020-04-04 18:07:10 +08:00
sean1025
441ed57e30
Merge pull request #1646 from tangcent/feature/openapi_notice
feat: support switch_notice for /interface/save
2020-04-04 18:06:53 +08:00
sean1025
98a57d0455
Merge pull request #1675 from liugddx/master
自动化测试时服务端测试node默认2分钟没有返回就直接断掉连接,可以手动设置一个超时时间。
2020-04-04 18:05:01 +08:00
liugd
de23caa3b8 自动化测试时服务端测试node默认2分钟没有返回就直接断掉连接,可以手动设置一个超时时间。 2020-04-03 18:03:44 +08:00
Corey.Wang
4d6132e4e9
fix: schema2json传required参数时,导致faker失败
当传了required参数时,由于三目运算符属性写错,导致alwaysFakeOptionals属性设置错误
2020-03-24 08:50:46 +08:00
qitmac000964
c6c5f8ddf7 fix: sandbox 2020-03-11 17:09:25 +08:00
tangcent
8e2584a8eb feat: support switch_notice for /interface/save 2020-03-10 20:27:09 +08:00
vvkkhjt
04f84aa75f
Update ldap.js
修改ldap filter的匹配规则
2020-02-26 11:13:07 +08:00
tangcent
6df0be4252 fix: fix typo shema -> schema 2020-02-13 22:51:29 +08:00
苏文雄
1b29578513 fix: 修复服务端导入 basePath 设置 bug 2019-11-11 11:39:20 +08:00
sean1025
f20b1bd2bc
Merge pull request #1237 from tangcent/fix_typo
chore: fix typo
2019-10-19 11:56:46 +08:00
lipinghai1
c793adff6e fix: 排重follow project时使用_id的错误 2019-08-29 11:43:26 +08:00
苏文雄
5a9742cd3c fix: 修复管理员无法看到所有分组的 bug 2019-08-26 13:42:49 +08:00
苏文雄
7f56e3999a fix: add group bug 2019-08-23 17:24:33 +08:00
苏文雄
d57577dbb3 feat: public 2019-08-23 17:10:50 +08:00
苏文雄
6dab9faec2 feat: 大幅度优化首页加载速度 2019-08-23 16:56:30 +08:00
Jay Fong
141f8bedfb fix: 优化插件【Swagger 自动同步】在添加地址时的服务端校验行为 2019-08-05 12:47:26 +08:00
苏文雄
b54928a3ef opti: doc 2019-08-01 11:52:21 +08:00
苏文雄
711d1d32ff feat: add addNotice 2019-08-01 11:50:02 +08:00
苏文雄
8f34e1b7bb feat: 增加通用的消息通知 2019-08-01 11:22:15 +08:00
tangcent
4837227d66 chore: fix typo 2019-07-25 20:49:43 +08:00
tangcent
81c43acc14 opti: filtering interface on the server instead of client 2019-07-18 11:17:40 +08:00
sean1025
7c9e6bd541
Merge pull request #1207 from tangcent/master
opti: tag of interface could be addAndUpCommonField
2019-07-15 13:55:10 +08:00
sean1025
2f324aef39
Merge pull request #1035 from spiritree/feature/searchPath
feat: 全局搜索模块支持搜索接口路径
2019-07-15 11:36:52 +08:00
tangcent
333005c27b opti: tag of interface could be addAndUpCommonField 2019-07-15 10:38:42 +08:00
苏文雄
fbc8ed9b93 feat: 废弃 yapi.ymfe.org 文档站点,改用 https://hellosean1025.github.io/yapi 2019-07-02 12:52:59 +08:00
spiritree
36b27e561a feat: 全局搜索模块支持搜索接口路径 2019-04-29 14:48:25 +08:00
qiucong
2f8fdd1372 fix: runCaseScript的第三个参数应该是接口id 2019-04-26 15:29:53 +08:00
sean1025
7a9d5bab83
Merge pull request #1020 from yunanbao/save_storage_bugfix
bugfix: save storage logic error
2019-04-26 09:51:33 +08:00
zhanglu
3434beb22a bugfix: save storage logic error 2019-04-26 09:02:12 +08:00
losergzr
4f21578797
Merge pull request #3 from YMFE/master
update
2019-04-23 10:05:58 +08:00
苏文雄
50f9a58e56 feat: 支持 /api/open 前缀的开放api 2019-04-22 14:57:51 +08:00
苏文雄
1ab51a6e93 feat: gst 2019-04-22 12:28:01 +08:00
苏文雄
146828aade fix: 没有判断 env 是否存在导致的 bug 2019-04-22 10:03:51 +08:00
sean
dedb73bad9 feat: pre-script 支持持久化数据存储,兼容浏览器和服务端 2019-04-21 17:45:14 +08:00