yaziming
|
81f6cf021f
|
Backend:
improve
- AuthMiddleware 注入当前用户的信息
- 增加Context服务支持快捷获取当前登录者信息
- 重构Login/GetMe接口逻辑避免重复的数据库查询
- 规范化error信息声明(向下兼容,旧代码可逐渐迁移规范化)
- 修正部分不符合规范的代码
|
2019-08-31 21:26:56 +08:00 |
|
陈景阳
|
b9ed176950
|
添加日志打印
|
2019-08-31 17:56:42 +08:00 |
|
陈景阳
|
e423ff564c
|
fix 爬虫目录无法打开的问题
|
2019-08-31 17:04:49 +08:00 |
|
陈景阳
|
f8e50fc829
|
Merge branch 'develop' of https://github.com/crawlab-team/crawlab into v0.4.0
|
2019-08-31 16:54:26 +08:00 |
|
陈景阳
|
0a0f943264
|
添加备注
添加上次运行状态
|
2019-08-31 16:09:41 +08:00 |
|
陈景阳
|
8115f06496
|
优化代码
|
2019-08-31 15:59:43 +08:00 |
|
Marvin Zhang
|
3b468f92f4
|
Merge pull request #192 from yaziming/forked/develop
Some Change.
|
2019-08-31 15:15:35 +08:00 |
|
陈景阳
|
5e6aec2393
|
fix 无法获取日志的问题
|
2019-08-31 15:03:57 +08:00 |
|
yaziming
|
b3cdb231ac
|
Backend:
1.[improve]
使用gin提供的RouteGroup功能简化中间件逻辑
2.[break change]
移除Authorization Middleware中对登录注册下载特殊处理逻辑
3.[unsafe problem]
下载任务csv增加登录验证
Frontend:
1. 更改csv下载方式
2. task list页面table section 移除固定width设置,采用自适应,防止大屏空白断裂问题
|
2019-08-31 15:00:38 +08:00 |
|
陈景阳
|
b61445acb0
|
优化代码
|
2019-08-31 13:57:14 +08:00 |
|
陈景阳
|
4944883f95
|
fix 节点注册异常情况
|
2019-08-31 13:49:34 +08:00 |
|
陈景阳
|
57dddc84ed
|
FIX #178
FIX 当日志文件小于2048的时候无法正常拉取日志的问题
|
2019-08-31 12:42:53 +08:00 |
|
Marvin Zhang
|
3625f74221
|
Merge pull request #191 from wo10378931/v0.4.0
三个FIX
|
2019-08-31 12:15:34 +08:00 |
|
陈景阳
|
53ab5b6016
|
Merge branch 'develop' of https://github.com/crawlab-team/crawlab into v0.4.0
|
2019-08-31 12:09:06 +08:00 |
|
陈景阳
|
771cb76277
|
fix 前端控制台报错的问题 \
fix 无法打印中文的问题
|
2019-08-31 12:04:12 +08:00 |
|
Marvin Zhang
|
14409d5869
|
Merge pull request #189 from wo10378931/v0.4.0
两个fix
|
2019-08-31 11:44:45 +08:00 |
|
Marvin Zhang
|
c0cb6fd3e1
|
Merge pull request #190 from hantmac/master
Add delete log files periodically
|
2019-08-31 11:44:17 +08:00 |
|
hantmac
|
39a2a3d635
|
Add unit test for log.go
|
2019-08-31 11:30:41 +08:00 |
|
hantmac
|
f4a5dfa503
|
Init delete log files periodically
|
2019-08-31 11:30:01 +08:00 |
|
hantmac
|
5720f3f277
|
Add delete log files periodically
|
2019-08-31 11:29:24 +08:00 |
|
hantmac
|
8b50e12681
|
add option for config.yml to config log delete periodically
|
2019-08-31 11:28:16 +08:00 |
|
Marvin Zhang
|
ab554fa297
|
Merge pull request #187 from hantmac/master
bug fix: hot fix out of memory problem caused by log read
|
2019-08-30 18:05:18 +08:00 |
|
hantmac
|
782e5694e6
|
bug fix: hot fix out of memory problem caused by log read
|
2019-08-30 18:01:22 +08:00 |
|
hantmac
|
1b29a27ab0
|
bug fix: hot fix out of memory problem caused by log read
|
2019-08-30 17:58:58 +08:00 |
|
陈景阳
|
d5dce56712
|
Merge branch 'develop' of https://github.com/crawlab-team/crawlab into v0.4.0
|
2019-08-28 16:00:27 +08:00 |
|
陈景阳
|
cae11e3796
|
添加打印日志
|
2019-08-28 16:00:09 +08:00 |
|
Marvin Zhang
|
8efc90353e
|
Merge pull request #179 from hantmac/master
bug fix: fix test failed for config.go
|
2019-08-27 14:24:23 +08:00 |
|
hantmac
|
36eaad64a5
|
bug fix: fix test failed for config.go
|
2019-08-27 14:21:39 +08:00 |
|
陈景阳
|
c7e137a6aa
|
删除爬虫顺带删除文件
|
2019-08-27 09:39:16 +08:00 |
|
Marvin Zhang
|
9bd7c6670f
|
Merge pull request #176 from yaziming/forked/develop
JSON -> AbortWithStatusJSON
|
2019-08-27 08:45:49 +08:00 |
|
yaziming
|
ba0471355b
|
JSON -> AbortWithStatusJSON
|
2019-08-26 23:13:26 +08:00 |
|
hantmac
|
5e707adad4
|
add unit test for routes/spider.go
|
2019-08-26 21:10:55 +08:00 |
|
hantmac
|
007f10b83b
|
bug fix:fix permission bug when create spiders dir caused by umask
|
2019-08-26 17:44:01 +08:00 |
|
hantmac
|
1507e6724b
|
hot fix:fix redis lose connection problem
|
2019-08-26 10:38:40 +08:00 |
|
陈景阳
|
faac001663
|
Merge branch 'master' of https://github.com/crawlab-team/crawlab into v0.4.0
|
2019-08-24 17:40:03 +08:00 |
|
Marvin Zhang
|
275206f61b
|
Merge pull request #167 from hantmac/develop
remove redundant code
|
2019-08-24 16:23:28 +08:00 |
|
hantmac
|
561a9d260b
|
remove redundant code
|
2019-08-24 15:50:53 +08:00 |
|
陈景阳
|
df46156305
|
Merge branch 'develop' of https://github.com/crawlab-team/crawlab into v0.4.0
|
2019-08-24 15:25:05 +08:00 |
|
Marvin Zhang
|
5bb727e808
|
Merge pull request #166 from hantmac/develop
bug fix: fix redis connection dead cycle
|
2019-08-24 15:21:59 +08:00 |
|
hantmac
|
3f249c8c61
|
bug fix:fix redis connection dead cycle
|
2019-08-24 15:16:27 +08:00 |
|
陈景阳
|
ce8fb86700
|
添加注释
|
2019-08-24 15:11:52 +08:00 |
|
Marvin Zhang
|
dcaf2ae2db
|
Merge pull request #164 from hantmac/develop
Add unit test for task.go
|
2019-08-24 13:41:04 +08:00 |
|
hantmac
|
2c0ac66cb1
|
Add unit test for task.go
|
2019-08-24 13:39:06 +08:00 |
|
Marvin Zhang
|
c772e801ce
|
Merge pull request #162 from hantmac/develop
unit test for stats.go
|
2019-08-23 20:52:24 +08:00 |
|
hantmac
|
44e98a56a3
|
unit test for stats.go
|
2019-08-23 20:28:11 +08:00 |
|
Marvin Zhang
|
00a61ed7dc
|
Merge pull request #158 from hantmac/develop
modify unit test to use mock
|
2019-08-22 17:39:19 +08:00 |
|
hantmac
|
87f1cebc3b
|
modify unit test to use mock
|
2019-08-22 16:20:30 +08:00 |
|
Marvin Zhang
|
a7bb03e5eb
|
Merge pull request #154 from wo10378931/master
update 节点注册使用独立的key字段,而不是使用mac字段
|
2019-08-21 15:09:29 +08:00 |
|
陈景阳
|
1417b5c0c4
|
Merge branch 'master' of https://github.com/tikazyq/crawlab
|
2019-08-21 14:38:46 +08:00 |
|
陈景阳
|
3643895f04
|
fix TagsView.vue 导致前端报错的问题
update 节点注册使用独立的key字段,而不是使用mac字段
|
2019-08-21 14:37:55 +08:00 |
|