Commit Graph

931 Commits

Author SHA1 Message Date
July
f4a4ab2eb5
fix beta publish (#12411) 2024-07-24 14:30:33 +08:00
HMYDK
a6047fae45
Remove the accessToken from the URL. (#12353) 2024-07-18 09:41:12 +08:00
shalk(xiao kun)
8034da88e5
[ISSUE #12016] upgrade to junit5 and remove junit4 (#12280)
* clean junit4

* clean junit4

* clean some test dep; fix scope

* fix test compile
2024-06-26 17:39:08 +08:00
misakacoder
29c28bd01e
[ISSUE #12246] 配置列表和服务列表的总数显示国际化 (#12276) 2024-06-24 13:49:43 +08:00
HMYDK
e192e25d9d
Add total record count display in pagination (TotalRender). (#12203) 2024-06-17 14:26:13 +08:00
杨翊 SionYang
d68b904f93
Update console header link to new nacos.io. (#12177) 2024-06-05 10:45:24 +08:00
misakacoder
8a03485fa8
[ISSUE #12168] 修复系统语言切换至英文后,权限控制-角色管理页面的查询条件的label还显示的是中文 (#12169)
* [ISSUE #12146] 修复当对操作类型为删除的配置进行回滚时,操作类型不显示问题

* [ISSUE #12168] 修复系统语言切换至英文后,权限控制-角色管理页面的查询条件的label还显示的是中文
2024-06-03 17:56:08 +08:00
misakacoder
d1bd44625f
[ISSUE #12146] 修复当对操作类型为删除的配置进行回滚时,操作类型不显示问题 (#12164) 2024-06-03 10:40:32 +08:00
xpy01xpy
47786e6c0b
[ISSUE#11957] Fix init password for nacos username en-us (#12150)
* fix:add en

* build code

* fix:all state

* build code

* feat:register / request
2024-05-30 18:04:41 +08:00
xpy01xpy
0a797223c0
[ISSUE#11957] Console support init password for nacos username (#12148)
* feat:add register pagg

* fix:i18n

* console-ui build

* fix

* fix
2024-05-30 14:53:41 +08:00
shalk(xiao kun)
bc039bc125
upgrade module naocs-console from junit4 to junit5 (#12136) 2024-05-29 10:43:13 +08:00
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