Commit Graph

119 Commits

Author SHA1 Message Date
Eric Zhao 4bd333f1de dashboard: Add MSE Sentinel guide in page nav-bar
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2023-12-27 20:40:27 +08:00
Eric Zhao e13d20ce55 dashboard: Improve IP validation in SentinelApiClient and rule controllers
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-09-26 19:16:04 +08:00
李海峰 9f08a6a49c
docs: Update dashboard frontend Node.js version restriction (#2760) 2022-07-09 13:17:06 +08:00
一个不知名的Java靓仔 d358b1d7ca
dashboard: Fix deprecated Spring config key in application.properties (#2713) 2022-05-10 09:55:54 +08:00
一个不知名的Java靓仔 2e173753ff
dashboard: Refactor IP verify logic in MachineRegistryController to support JDK 17 (#2694) 2022-04-25 11:27:36 +08:00
Eric Zhao d706ce5767 dashboard: Update Spring Boot starter to 2.2.13.RELEASE
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-03-29 14:10:56 +08:00
David Huang 2cb9747e56
doc: Improve javadoc for DegradeRule and dashboard ApiPredicateItemVo (#2614) 2022-03-23 21:15:36 +08:00
一个不知名的Java靓仔 42878a29e0
dashboard: Fix the bug that removing token servers may fail when there are servers with the same IP (#2591) 2022-03-15 10:57:46 +08:00
Reagan lee 2920efc33b
dashboard: Fix incorrect alert message for intervalMs validation in circuit breaker rule dialog (#2483)
* fix the degrade_service.js alert message on line 77, changed "统计窗口市场不能超过 120 分钟" to "统计窗口时长最大 120s"
2022-01-19 09:46:58 +08:00
程露 2df682dad2
build(deps): Upgrade nacos-client to 1.4.2 for sentinel-datasource-nacos (#2477)
* [ISSUE #2425] upgrade the Nacos client version to 1.4.2.
* [ISSUE #2425] remove the unused code and import.
2022-01-10 20:34:14 +08:00
Luca 31c0ac5525
doc: Fix javadoc typo in isSupportEnhancedContentType method of dashboard SentinelApiClient (#2480) 2021-12-06 09:44:52 +08:00
Eric Zhao d4ea89e978 dashboard: Add IP validation in MachineRegistryController
* Fixes #2451

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-11-19 16:41:56 +08:00
brotherlu-xcq 0a34fc4d11
dashboard: Fix the logo problem when customizing the context-path of the backend (#2253) 2021-09-15 10:13:36 +08:00
brotherlu-xcq 20a0e4d7f0
feat: Fix typos in MetricFetcher of sentinel-dashboard (#2324) 2021-08-14 12:19:40 +08:00
Eric Zhao 270eab47fe dashboard: Update text of rule pages
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-07-05 19:45:13 +08:00
wutingjia 9a612508ff Make all backend thread pools daemon (#2181)
* feat:make command center thread daemon
* feat:make all NamedThreadFactory thread daemon
2021-06-04 13:33:46 +08:00
jiajiangnan 2c12b07534
dashboard: Fix the incorrect function name in ParamFlowRuleEntity (#2173) 2021-04-29 09:47:40 +08:00
brothelul e936d9d379
dashboard: Change favicon.ico to Sentinel logo (#2127) 2021-04-27 19:27:10 +08:00
drgnchan 5ac112efaa
dashboard: Remove unused code in dashboard MetricFetcher (#2104) 2021-04-01 09:46:08 +08:00
Eric Zhao 744be07a57 dashboard: Improve param validation in MachineRegistryController
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-03-23 10:46:01 +08:00
wxq 069f6182ab
dashboard: Improve support for customizing auth-related implementations (#2059)
* refactor(dashboard): use AuthConfiguration to manage the bean of auth
* refactor(dashboard): change AuthorizationInterceptor to an interface
* refactor(dashboard): change LoginAuthenticationFilter to an interface
* refactor(dashboard): use AuthProperties to manage auth config
* test(dashboard): use NoAuthConfigurationTest to create no auth configuration for testing
2021-03-08 18:32:22 +08:00
wxq d67d842da4
dashboard: Use delimiter '@' only in maven-resources-plugin config of dashboard pom (#2046)
`${user.home}` should be resolve in dashboard runtime, not in maven package goal
2021-02-25 09:23:04 +08:00
samuelxw 1f4614c0d4
Improve MetricFetcher under concurrent conditions (#1918) 2021-01-28 22:56:27 +08:00
brothelul b7546c8111
dashboard: authFilterExcludeUrls supports matching path pattern like /xx/** (#1971) 2021-01-27 11:32:26 +08:00
zhangkai253 63aeb49c45
dashboard: Fix issue of memory leak in real-time monitoring page (#1905)
* Fix issue of memory leak in metric.js
2020-12-28 14:04:40 +08:00
Lynx 7920243dec
dashboard: Add statIntervalMs field in DegradeRule dialog (#1781) 2020-11-23 13:45:56 +08:00
Brent 699532efe3
[feat #1839]: Make dashboard support deploying under subpath (#1851) 2020-11-23 10:48:44 +08:00
Luke 55a8294ab0
Polish document and name of parameter (#1738)
- doc: Fix a typo in description of booting options for sentinel-dashboard
- Fix mismatched name of parameter to its comment for VersionUtils.parseVersion()
2020-09-17 21:06:24 +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
于玉桔 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 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
李火亮 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