Commit Graph

47 Commits

Author SHA1 Message Date
cdfive 46076b34aa
dashboard: Fix historical version compatibility problem for auth check via localStorage (#1473) 2020-05-15 11:18:53 +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
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
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
于玉桔 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
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 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
Eric Zhao 18cd27100a dashboard: update frontend npm dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 15:02:10 +08:00
Eric Zhao ae774dba61 dashboard: update machine list page
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 12:51:24 +08:00
Eric Zhao b7956c6bb4 dashboard: code and document refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-04 19:46:53 +08:00
Jason Joo 737747a412 dashboard: support automatic/manual removal of unhealthy machines and disconnected applications (#168)
* Support removing unhealthy machine manually
* Auto removal support for dead machine
* Auto hidden for app if one have no healthy machine after some time(configurable)
* Auto removal for app if hidden status lasts(configurable).
2019-03-04 17:48:33 +08:00
MickMo 3e4fc7a952 Remove G2 lib tracking in frontend of Sentinel dashboard (#527)
By upgrading G2 lib to version 3.4.10
2019-03-01 15:28:37 +08:00
Eric Zhao 01533543ef dashboard: improve management for foreign-app token server in cluster page
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-01 09:43:57 +08:00
Eric Zhao 83f6de90b0 dashboard: update WebConfig and improve token server list page
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-21 19:18:20 +08:00
cdfive 303ae86e27 dashboard: when click the first-level menu of sidebar, don't jump to the home page (#422) 2019-01-15 22:52:41 +08:00
Eric Zhao e42551a877 dashboard: frontend refinement of monitoring page and flow rule dialog description
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-10 10:34:14 +08:00
Arlmls 6dfe8e3098 dashboard: change text of p_qps and b_qps to be more intuitive in monitoring page (#398) 2019-01-09 17:16:32 +08:00
Zhe Jiang 8970f5380c dashboard: add healthCount/total information in sidebar of Sentinel dashboard (#376) 2019-01-07 16:40:35 +08:00
cdfive 5a691140b0 dashboard: make fallbackToLocalWhenFail be configurable in dashboard and fix edit rule issue when cancel (#370)
- Make fallbackToLocalWhenFail of cluster rules configurable in dashboard
- Fix edit rule when hit cancel button (object share problem solved by deep copy)
- Add metric table td header's title for friendly prompt info
2019-01-07 16:17:19 +08:00
Eric Zhao bf34f8b3be Polish Sentinel dashboard frontend for cluster flow control enhancement
- Add cluster server list and assign page and client list page (for a specific app)

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:56:57 +08:00
Eric Zhao 832d6e425d Update document to meet Markdown lint
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-29 15:23:27 +08:00
Eric Zhao c7c59e9de7 Move local frontend lib assets from dist to lib directory
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-19 16:42:40 +08:00
Eric Zhao f49870402d Move CDN resources to local in Sentinel Dashboard
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:41:12 +08:00
Eric Zhao 0059b1a42d Add frontend service and pages for Sentinel cluster flow control in dashboard
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:33:57 +08:00
cdfive 0bc07f314e Optimize the click sensitivity of dashboard's sidebar menu (#268)
- Use AngularJS binding model directly rather than jQuery DOM-based operation
2018-11-29 10:37:09 +08:00
cdfive 4f854c9eae Fix padding issue of charts in monitoring page of Sentinel dashboard (#262)
- Increase padding-left value of G2.chart in sentinel-dashboard
2018-11-26 17:42:17 +08:00
Eric Zhao 257dde1d5e Some improvements for Sentinel dashboard
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-11-08 17:11:54 +08:00
Eric Zhao 3b6095899a Some improvements on Sentinel Dashboard
- Fixes #231: when resource name is too long in resource page, the name will jump out and cover other layout
- Hide `origin` input view in degrade rule dialog
- Refine style and color of buttons in dialogs
- Add support for exception count in degrade rule
- Other improvements

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-11-05 14:50:16 +08:00
Eric Zhao eace8ab2ff Add support for adding param rule / authority rule in resource page of dashboard
- Decouple rule checking from controller (now in service)

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-30 14:52:14 +08:00
Eric Zhao 0c15dd9fe3
Fixes #198: Enhance rule checking in rule managers and Sentinel Dashboard (#202)
- Enhance rule checking in rule managers and Sentinel Dashboard frontend
- Enhance error information when reporting invalid fields in rule dialog

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-29 13:35:06 +08:00
Eric Zhao 0855809149
Add support for authority rule configuration in Sentinel Dashboard (#189)
- Update dashboard API client to support authority rule commands
- Add REST API and frontend page for authority rules

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-23 09:20:17 +08:00
Carpenter Lee aaf88b8a0a Rename ParamFlowRule.blockGrade to grade 2018-10-16 20:34:40 +08:00
jasonjoo2010 a757950b9a Fix the wrong coordinate scaling of QPS chart (passed/blocked) in dashboard (#172)
Fixes #22 (by @jasonjoo2010)
2018-10-16 09:58:25 +08:00
Eric Zhao b06bb02b2c
Add rule configuration support for parameter flow control in Sentinel Dashboard (#176)
- Update dashboard API client to support authority and parameter flow commands
- Add REST API controller for parameter flow rules in dashboard
- Add pages for configuring parameter flow rules
- Update dependencies: upgrade Spring Boot to 2.x and remove unused dependencies
- Other refinements

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-12 16:15:13 +08:00
李豪 03922dbf6c
Enhancement/normalize metric field (#170)
normalize metric fields and methods:
- rename exception to exceptionQps;
- remove ed postfix of all fields and methods about metrics;
2018-10-11 09:28:43 +08:00
Eric Zhao 9e012d2e20 Refactor version representation and add client version to heartbeat
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-25 16:52:28 +08:00
Carpenter Lee 430ef8a99a Fixes #51, use js type–converting comparisons. 2018-08-09 10:10:03 +08:00
Eric Zhao f1b52a66b2 Fixes #13: Fix search filter in Sentinel Dashboard sidebar
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-07-31 10:24:08 +08:00
Eric Zhao c92fea5d46 Welcome to the world, Sentinel 2018-07-27 16:34:30 +08:00