Commit Graph

920 Commits

Author SHA1 Message Date
xYohn
7c461fdf67
[ISSUE #12046] fix console-ui bug when using encryption-plugin (#12061)
* #12046 console-ui should not offer encryptedDataKey field to API

* #12046 when containing encryptedDataKey,it should not execute encryption in v2 API (same as the v1 API)
2024-05-07 16:18:36 +08:00
hth
70ad2eb991
[ISSUE #11957] Remove default password (#11991)
* Remove default password

* admin role check fix

* remove tmp admin
2024-04-29 10:04:00 +08:00
hnyyghk
fb597084c5
fix Navigator clipboard api needs a secure context (https) (#11942) 2024-04-11 15:29:09 +08:00
zhanghong
d4126ba2bd
[ISSUE #11847] Feature: add console-ui publish config cas (#11927)
* 修复openApi publishConfigCas失效

* 修复openApi publishConfigCas失效

* fix unit test

* add publish cas
2024-04-08 10:36:36 +08:00
publicize-y
2df335d57e
Response wrong status code for some situation for openAPI (#11864)
* fix:Response wrong status code for some situation for openAPI

* fix:Response wrong status code for some situation for openAPI for PrometheusApiExceptionHandler

* fix:PrometheusApiExceptionHandler status modify

* fix:add unit test

* fix:modify the unit test description

* fix:the code style modify

* fix:the UT modify
2024-04-01 14:11:16 +08:00
不务正业
c86147b6ab
🐛 Uncontrolled data used in path expression (#11822)
https://github.com/alibaba/nacos/issues/11821
2024-03-15 14:05:20 +08:00
杨翊 SionYang
961d56ccce
use npm audit fix to solve some ui security dependencies. (#11777) 2024-03-01 09:58:31 +08:00
lcmarvin
889a78a82b
[ISSUE #11706] Fix the Chinese description in announcement under English console. (#11729) 2024-02-27 10:28:58 +08:00
zhanghong
e6eb636aed
fix dark mode bugs (#11740) 2024-02-20 10:46:20 +08:00
blake.qiu
8f2150892a
build(11606): Make sql-schema consistent. (#11703) 2024-01-31 09:32:19 +08:00
zhanghong
de739e9b9c
[ISSUE #11441] Add console-ui Dark mode (#11445)
* fix NPE

* fix NPE

* add console-ui dark mode

* merge

* merge
2023-12-05 09:33:33 +08:00
杨翊 SionYang
bb7a6ce506
Upgrade UI dependencies to fix some problem. (#11439) 2023-11-28 10:57:36 +08:00
0808bing
1257217c10
fix compare api response 500 (issue#11384) (#11408) 2023-11-21 09:22:10 +08:00
0808bing
e9ffb370b9
fix pagination (#11382) (#11406) 2023-11-20 16:22:53 +08:00
zhanghong
a935fa1092
[ISSUE #11343] Simplified validation logic (#11345)
* 优化节点显示,添加mode

* Simplified validation logic

* add license

* fix unit test

* add config,console,naming unit test and rename annotation

* add config,console,naming unit test and rename annotation

* fix EnvUtils test

* fix EnvUtils test

* fix ParamExtractorFilterTest

* fix ParamExtractorFilterTest

* fix ParamExtractorFilterTest

* fix ParamExtractorFilterTest

* fix ParamExtractorFilterTest
2023-11-15 15:25:00 +08:00
zhanghong
d3ac33468c
优化节点显示,添加mode (#11275) 2023-10-23 15:11:29 +08:00
杨翊 SionYang
76861a989e
Build console ui. (#11202) 2023-09-28 09:15:14 +08:00
杨翊 SionYang
51b6a443d3
Refactor control plugin (#11174)
* Refactor control plugin and add default implementation.

* Move auth default plugin into other modules.

* Fix control plugin config not effect problem.

* Fix UT error.
2023-09-22 16:59:25 +08:00
Sunrisea
828acd3b2b
For #10734,补全参数检验日志记录,将返回的状态码修改为400 (#11073) 2023-09-01 11:41:23 +08:00
杨翊 SionYang
876af46864
[ISSUE#10971] Add state to disable console ui and add api to get guide information. (#10982)
* state api return console_ui_enabled state.

* Add guide api to make console generate guide page.

* console-guide.conf 不需要校验rat.
2023-08-17 11:34:25 +08:00
Sunrisea
d756cdc6de
[ISSUE #10734] Optimize the param check implementation logic (#10955)
* For #10734,优化实现逻辑,提高扩展性,为动态变更限流规则预留接口

* For #10734,优化实现逻辑,提高扩展性,为动态变更参数校验规则预留接口
2023-08-14 14:55:49 +08:00
blake.qiu
de87bb3e30
feat(10891): Provide a configuration item for the maximum number of push retries, instead of directly hardcoding it to 50 times in the code. (#10895) 2023-08-04 12:03:08 +08:00
Darren Luo
7d0101bb82
console-ui 新增 toml 语言支持,修复之前 properties 主题未生效的问题 (#10896)
* console-ui 新增 toml 语言支持,修复之前 properties 主题未生效的问题

* console-ui 新增 toml 语言支持,修复之前 properties 主题未生效的问题

* 老规矩,要编译一波
2023-08-04 12:01:50 +08:00
Sunrisea
8adca685f6
[ISSUE #10734] Refactor the ParamChecker and ParamExtractor (#10775)
* For #10734,refactor the paramextractor and ParamChecker

* For #10734,alter the rules of ParamCheck

* For #10734,alter the rules of ParamCheck

* For #10734,fix bug

* For #10734,fix bug and alter the ParamCheckRules.java

* For #10734,fix code style

* For #10734,fix the param check rules

* For #10734,implement the server param check config

* For #10734,optimize the logic

* For #10734,optimize the logic

* For #10734,optimize the logic
2023-07-19 16:34:03 +08:00
DiligenceLai
e57b43c218
[ISSUE #10744]feat:Add HealthControllerV2 and HealthControllerV2Test (#10786)
* [ISSUE #10744]feat:Add HealthControllerV2 and HealthControllerV2Test

* fix:V2 api return Result
2023-07-19 16:32:18 +08:00
Joey777210
3374cf4610
disable check port input when use registered port (#10799) 2023-07-17 10:58:59 +08:00
Sunrisea
c7a20bd132
[ISSUE #10734] Implement http request param check filter and http param extractors (#10758)
* For #10734,Implement grpc server interceptor and grpc param extractors

* For #10734,add unit test for grpc server interceptor and grpc param extractors

* For #10734,alter the test case

* For #10734,delete the ConnectionSetupRequestParamExtractor

* For #10734,add the naming http request param check filter and implement the naming http request param extractors

* For #10734,add unit test for naming http request param extractors

* For #10734,Implement grpc server interceptor and grpc param extractors

* For #10734,add unit test for grpc server interceptor and grpc param extractors

* For #10734,delete the ConnectionSetupRequestParamExtractor

* For #10734,add the naming http request param check filter and implement the naming http request param extractors

* For #10734,add unit test for naming http request param extractors

* For #10734,add the config http request param check filter and implement the config http request param extractors and unit test

* For #10734,add the console http request param check filter and implement the console http request param extractors and unit test

* For #10734,fix code style

* For #10734,alter the logic of exception handle in filter

* For #10734,fix code style
2023-07-11 17:52:54 +08:00
Joey777210
1f5dbf0e79
nacos ui doc update to v2 (#10730)
* nacos ui doc update to v2

* nacos ui doc update to v2

* fix conflict
2023-07-10 15:31:30 +08:00
Darren Luo
a70483563c
换为js-yaml后调用了错误的方法,修复该变更导致所有yaml文件的校验都报错的问题 (#10724) 2023-07-05 18:57:35 +08:00
Darren Luo
4e64f7f4d6
ExceptionHandler 中 Exception 部分返回 body 参数增加 html 转义 (#10643)
* ExceptionHandler 中 Exception 部分返回 body 参数增加 html 转义

* 根据 nacos code style 重新格式化该文件
2023-06-30 10:20:53 +08:00
Darren Luo
4095d172d0
替换 yamljs 为 js-yaml 进行 yaml 格式校验,处理 yaml 同 key 不报错的问题 (#10647)
* 替换 yamljs 为 js-yaml 进行 yaml 格式校验,处理 yaml 同 key 不报错的问题

* 听说要build一下
2023-06-19 10:44:32 +08:00
Karson
780e2f570a
add ldap config (#10608) 2023-06-07 13:28:47 +08:00
chenyiqin
8cd5a5ea0b
Add the validation for namespace name (#10520)
* add the validation for namespace name

* move the validation action to controller

* fix checkstyle

* add the check for namespaceId when creating

* fix checkstyle

* add UT for namespace controller

* remove unnecessary mock

* fix checkstyle

* fix checkstyle
2023-05-23 10:23:08 +08:00
KomachiSion
131dc643b3 Merge remote-tracking branch 'upstream/develop' into asoc2022_issue#8460-2
# Conflicts:
#	persistence/src/test/java/com/alibaba/nacos/persistence/configuration/condition/ConfigChangeConfigsTest.java
2023-05-11 15:41:17 +08:00
KomachiSion
0555619b05 Merge remote-tracking branch 'upstream/develop' into develop#10361
# Conflicts:
#	config/src/main/java/com/alibaba/nacos/config/server/constant/Constants.java
2023-05-09 15:50:12 +08:00
KomachiSion
c701689314 Fix -f config still can see naming console problem. 2023-05-09 15:46:35 +08:00
KomachiSion
607074c877 Make HealthController not strongly depend config and naming module. 2023-05-09 14:43:25 +08:00
KomachiSion
9d92b5122a Add NamespaceDetailInjector and move NamespaceOperationService to core module. 2023-05-09 10:05:26 +08:00
KomachiSion
e93d417de6 Move CommonPersistService impls to core module and rename to NamespacePersistService. 2023-05-08 20:42:29 +08:00
KomachiSion
515ae912b2 Move some TenantInfo and NamespaceRowMapperInjector to core module. 2023-05-08 20:29:53 +08:00
zhanghong
5cf5829253
add configModuleState/raftModuleState/distroModuleState in branch develop#10153 (#10288)
* add configModuleState/raftModuleState/distroModuleState

* add configModuleState/raftModuleState/distroModuleState

* update TEST

* 修复test bug

* 移除ip暴露风险
2023-05-08 18:05:34 +08:00
KomachiSion
11fc4792c4 Move namespace module to core module. 2023-04-23 16:41:43 +08:00
KomachiSion
aa6144aa80 Use Namespace.java replace NamespaceAllInfo.java 2023-04-23 16:38:47 +08:00
KomachiSion
f83061f47d Move some datasource and relative classes into persistence module. 2023-04-23 16:00:42 +08:00
zhanghong
1c97d715eb
[ISSUE #10318]fix import bug (#10319)
* fix import bug

* fix import bug
2023-04-14 14:43:37 +08:00
杨翊 SionYang
250f5c3708
Build console main.js. (#10264) 2023-04-03 16:29:28 +08:00
杨翊 SionYang
5fffde5bde
[ISSUE#10153] Add auth state into /state api and add announcement api. (#10203)
* Add ModuleState and use ModuleState replace ServerStateController.

* Add AuthModuleStateBuilder

* state接口使用ModuleState.

* Add announcement api.

* skip rat scan for announcement.conf

* default plugin open login page when auth.enabled=true.
2023-03-27 19:00:22 +08:00
杨翊 SionYang
cdd2be65af
Remove identity default value. (#10108) 2023-03-16 11:08:33 +08:00
杨翊 SionYang
bff133f8f4
Re build console ui. (#10083) 2023-03-13 18:06:19 +08:00
WangLiang/王良
a397c10a54
Optimize the nacos-client/pom.xml for exclude google/**/*.proto (#9982)
* Optimize the pom.xml of the nacos-client

* optimize pom

* exclude `google/**/*.proto`

* tab

* Remove dependency `io.grpc:protoc-gen-grpc-java:${version}:pom`

* revert indent

* revert native-image
2023-03-01 09:42:15 +08:00