Commit Graph

122 Commits

Author SHA1 Message Date
Eric Zhao d17bf8c7cc Bump version to 1.8.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-20 19:47:20 +08:00
Eric Zhao 5334f51d21 dashboard: Refactor degrade service/controller and adapt to new features
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-18 20:34:03 +08:00
Peine c5da3faad9
Polish boolean checking in test cases and dashboard (#1664) 2020-08-12 20:34:22 +08:00
cdfive 46076b34aa
dashboard: Fix historical version compatibility problem for auth check via localStorage (#1473) 2020-05-15 11:18:53 +08:00
于玉桔 d84d681dd8
dashboard: Fix the bug that cookie may have conflict with web applications under the same domain (#1443) 2020-05-06 11:35:41 +08:00
zhenxianyimeng ba391097ca
dashboard: Remove duplicate code in MetricEntity (#1441) 2020-04-29 15:03:13 +08:00
Eric Zhao a0196b6b00 Bump version to 1.8.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-04-13 20:19:22 +08:00
Eric Zhao 6a7ec708bc Bump version to 1.7.2
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-04-08 09:42:02 +08:00
于玉桔 76c37eae37
dashboard: Hide advanced options in flow rule dialog when cluster mode is enabled (#1367) 2020-04-07 11:15:59 +08:00
WongTheo 8f0cb2d24a
dashboard: Fix NoNodeException problem of FlowRuleZookeeperProvider example (#1352) 2020-03-22 17:58:18 +08:00
jy2156121 09970cd380
dashboard: Support setting value pattern for client IP and host in gateway flow rule dialog (#1325) 2020-03-09 13:54:10 +08:00
Lin.Liang 80d5c8b484
Enhance reliability and performance of InMemoryMetricsRepository (#1319)
* Fix InMemoryMetricsRepository can't keep the last five minutes metrics data problem and Improve read-write performance
* Use TimeUtil.currentTimeMillis() replace System.currentTimeMillis() for better performance
2020-03-07 14:02:15 +08:00
Jason Joo c5071550fa dashboard: Improve the compatibility on the Content-Type header of POST request (#1260)
* Better compatibility of the dashboard to legacy and new sentinel-transport-simple-http (on Content-Type header), related to #1207
2020-01-19 19:24:17 +08:00
Eric Zhao 87142ce512 Bump version to 1.7.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-25 11:19:07 +08:00
Eric Zhao 9c909e3631 Bump version to 1.7.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-24 20:05:23 +08:00
Eric Zhao a5d6773cbc dashboard: Improve error handling in FlowController and update sample WebConfig
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-23 17:34:25 +08:00
zhenxianyimeng 50f3080add Fix content-type parsing bug in transport module and support UTF-8 encoding in SentinelApiClient (#1207)
* Fix content-type parsing bug in `sentinel-transport-simple-http` module
* Change the charset of UrlEncodedFormEntity to UTF-8 in SentinelApiClient of the dashboard to support non-ASCII characters
2019-12-19 20:50:20 +08:00
Eric Zhao 49861f4ad5 dashboard: Improve authentication and authorization filter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-02 17:04:06 +08:00
Roshi e8a01e2e17 dashboard: Improve the ACL checking mechanism (#1042)
* Add `@AuthAction` annotation support
2019-12-02 15:57:07 +08:00
agensi c03de043af dashboard: fix "notZero" param typo of "clusterNode" command in SentinelApiClient (#1155) 2019-11-13 18:53:07 +08:00
Eric Zhao 9705f54611 Bump version to 1.7.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-12 11:08:14 +08:00
Eric Zhao 8cdf1de854 Bump version to 1.7.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-11 21:12:58 +08:00
李火亮 7c2c137f6f Improve empty parentId handling logic in FetchJsonTreeCommandHandler (#1140)
- Treat as root node when parentId is empty string in FetchJsonTreeCommandHandler
2019-11-06 13:25:24 +08:00
Eric Zhao 6f5ede80ae dashboard: fix vulnerability of bypassing AuthFilter ACL control
- credit to anonymous reporter :)

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-09-11 22:29:01 +08:00
于玉桔 4c0e35fddd dashboard: Add version info in the left top of dashboard 2019-08-29 20:34:15 +08:00
于玉桔 820ff9233a dashboard: Support configuration for disabling login (#997) 2019-08-26 10:54:27 +08:00
Eric Zhao a0f13bad38 dashboard: update dependencies in package.json to fix frontend vulnerabilities
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-08-03 15:41:11 +08:00
Lin.Liang 88b5631d1f dashboard: fix AuthorityRuleEntity and ParamFlowRuleEntity fastjson serialize problem (#889)
* Add @JsonIgnore annotation
2019-07-31 23:05:08 +08:00
Eric Zhao e50be35a9d dashboard: code and frontend style refinement for #927 and #869
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-23 23:16:51 +08:00
田阳 5e85965754 dashboard: fix the problem that dashboard could not correctly display the SystemRule in CPU usage strategy (#927) 2019-07-23 22:21:54 +08:00
Eric Zhao 4a9543fd1f dashboard: improvements for gateway flow control pages
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-10 10:14:11 +08:00
cdfive 856ff312e9 dashboard: add support for managing gateway flow rules (#699) 2019-07-10 09:37:00 +08:00
Eric Zhao 66b9198fc3 dashboard: update dependencies in package.json to fix vulnerabilities
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-06-19 10:34:22 +08:00
Eric Zhao eb7508ca80 Improve the edit dialog for FlowRule and ParamFlowRule in Sentinel dashboard (#845)
* dashboard: update edit dialog for FlowRule and ParamFlowRule
- Add duration configuration support for ParamFlowRule
- Some other enhancements

* Code polish: move implementation of toRule() to AbstractRuleEntity

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-06-18 00:18:07 +08:00
Eric Zhao 281d3420ca dashboard: code refinement for version and auth API
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-06-11 15:55:11 +08:00
HiSEN 72276a3951 dashboard: Add HTTP API to get the version the of the dashboard (#800) 2019-06-11 15:41:07 +08:00
Eric Zhao 4182c013c8 dashboard: Filter internal virtual resources in MetricFetcher
- also fix pom.xml to suppress warnings

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-05-25 15:09:10 +08:00
Eric Zhao f8ebbbccf4 Bump version to 1.7.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-05-25 15:07:19 +08:00
Eric Zhao 3d2c33ef1d Bump version to 1.6.1 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-05-23 09:49:15 +08:00
threedr3am 83ab401ab4 dashboard: fix wrong bean name of FlowRuleZookeeperProvider sample (#765) 2019-05-16 13:34:35 +08:00
haofangyuan 55838d9fb0 dashboard: Fix empty rule pushing bug of FlowRuleZookeeperPublisher sample (#732) 2019-05-05 15:08:07 +08:00
kexianjun 1d1878c1dd dashboard: Add ZooKeeper flow rule dynamic publisher sample (#714) 2019-04-29 13:48:29 +08:00
Eric Zhao 346e9b274e Bump version to 1.6.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-25 09:38:59 +08:00
Eric Zhao b1345f751f Bump version to 1.6.0 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-24 20:42:32 +08:00
kexianjun 4819675f84 dashboard: fix typo in SystemController (#700) 2019-04-24 09:23:49 +08:00
Eric Zhao af126b0c8d dashboard: improve login page and update related document
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-20 22:11:20 +08:00
cdfive 4acb907050 dashboard: Add a simple login page to support basic auth (#659)
- Add `AuthController` and `SimpleWebAuthServiceImpl`
- Update `AuthFilter`
- Add a simple login page and frontend interceptor to support auth check and session storage
2019-04-20 21:23:03 +08:00
Jason Joo 359e65932c dashboard: refinement and support HTTP POST request for update operations in SentinelApiClient (#620)
* Restructure: SentinelApiClient to support posting and refine it to make it simple
* Enhancement: SentinelVersion parsing logic
* Bug fix: comparison bug of SentinelVersion
2019-04-12 13:49:54 +08:00
luoxiangnan 4b0960c942 dashboard: fix CountDownLatch wait timeout in MetricFetcher when machine is dead (#645) 2019-04-03 11:46:34 +08:00
Eric Zhao 0c3bf96678 Bump version to 1.6.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-27 18:00:06 +08:00