Commit Graph

4997 Commits

Author SHA1 Message Date
bajiejump
5c141593d8
issue:11943(保存导入用户) (#11945) 2024-04-11 15:28:54 +08:00
cxhello
d179e47df4
fix: vulnerability (#11914)
- CVE-2024-22257 Upgrade Spring Security to 5.7.12.
- Use spring-framework-bom as dependencyManagement.

Closes #11904
2024-04-08 10:43:18 +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
杨翊 SionYang
8af8519c6d
Bump console ui dependencies to solve security problem with audit fix. (#11913) 2024-04-02 17:06:24 +08:00
blake.qiu
c09ee2da04
fix(#11895): grpc 服务注册失败时返回了成功 (#11909) 2024-04-02 14:13:46 +08:00
tangmingyao
facf4c8270
fix:add param for ConfigInfoMapperByMySql#findAllConfigInfoBaseFetchRows (#11883)
* fix:add param for ConfigInfoMapperByMySql#findAllConfigInfoBaseFetchRows

* fix:code style modify

* fix:code style modify

* fix:code style modify

---------

Co-authored-by: zhangyang <1445621702@qq.com>
2024-04-02 11:36:29 +08:00
cxhello
19a857b701
fix: CVE-2024-22243 & CVE-2024-22259 Upgrade Spring Web to 5.3.33 (#11833) 2024-04-01 16:48:33 +08:00
zhanghong
25585d65dd
[ISSUE #11847] fix OpenApi publish Cas fail (#11850)
* 修复openApi publishConfigCas失效

* 修复openApi publishConfigCas失效

* fix unit test
2024-04-01 15:32:33 +08:00
nov.lzf
5fcef225be
format check on client labels (#11903)
* format check on client labels

* log optimize

* testcase fix
2024-04-01 14:55:44 +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
shalk(xiao kun)
6461aeb719
fix 11892 keep ErrorResponse result code the same with errorcode (#11893) 2024-04-01 12:02:46 +08:00
阿魁
3a1f0c297e
[ISSUE #11880]Fixed the issue of duplicate notifications of configuration changes. (#11881) 2024-03-26 17:16:56 +08:00
lmm1990
ec4f21540e
Update reflect-config.json (#11860)
add deletion graalvm reflect config
2024-03-26 16:23:39 +08:00
徐晓伟
08edb4fbd6
⬆️ upgrade mysql-connector-java from 8.0.28 to 8.0.33 (#11875)
https://github.com/alibaba/nacos/issues/11874
2024-03-26 16:22:06 +08:00
chenyiqin
a7d9ef2fe8
Fix get batch service instances error (#11845)
* fix get batch service instances error

* fix checkstyle

* fix get wrong res when batch instance

* add the clientId to return data
2024-03-25 18:03:48 +08:00
shalk(xiao kun)
082c5073bb
fix #11871 remove reflection from client pom.xml (#11872) 2024-03-25 17:25:03 +08:00
nov.lzf
6dc0a2109f
simplify nacos app labels collector and log fix. (#11867)
* remove batch

* simplify label collector ,optimize log

* simplify label collector ,optimize log

* testcase fix
2024-03-22 17:13:20 +08:00
hth
9db51e58ed
add UT for NamespacePersist (#11852)
* UT for NamespacePersist

* NamespacePersistTest fix
2024-03-22 09:36:22 +08:00
brother-戎
9fd6ff6a04
feature: add client labels collect and attach labels to conn (#11844)
* add client labels collect and attach labels to conn

* remove some constants

* fixup test case
2024-03-21 14:33:57 +08:00
JianweiWang
b79d585f97
fix #11835 (#11838) 2024-03-18 09:36:31 +08:00
linqiuping
038420c69f
Add ParamCheckerFilter ut (#11834)
* remove unused exception

* Add ReuseHttpServletRequest ut

* fix ut description

* fix code style

* fix code style

* fix code style

* Add ReuseUploadFileHttpServletRequest ut

* fix code style

* fix ut with unapproved license

* fix code style

* Add CheckConfiguration ut

* Add ParamCheckerFilter ut

* fix code style

* fix License

* fix code style
2024-03-15 15:32:20 +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
linqiuping
0d7fcff261
Add CheckConfiguration ut (#11829)
* remove unused exception

* Add ReuseHttpServletRequest ut

* fix ut description

* fix code style

* fix code style

* fix code style

* Add ReuseUploadFileHttpServletRequest ut

* fix code style

* fix ut with unapproved license

* fix code style

* Add CheckConfiguration ut
2024-03-15 14:00:34 +08:00
linqiuping
d26ed3623e
Add ReuseUploadFileHttpServletRequest ut (#11827)
* remove unused exception

* Add ReuseHttpServletRequest ut

* fix ut description

* fix code style

* fix code style

* fix code style

* Add ReuseUploadFileHttpServletRequest ut

* fix code style

* fix ut with unapproved license

* fix code style
2024-03-14 15:45:00 +08:00
linqiuping
3b319502a1
Add ReuseHttpServletRequest ut (#11826)
* remove unused exception

* Add ReuseHttpServletRequest ut

* fix ut description

* fix code style

* fix code style

* fix code style
2024-03-14 13:41:14 +08:00
linqiuping
5a5473bdbd
remove unused exception (#11824) 2024-03-13 17:21:14 +08:00
heihei180
15fbf92b15
modify the log file path. (#11794) 2024-03-07 13:50:32 +08:00
Peter Zhu
2f2fc1b12b
failover triggered mistakenly (#11536)
* Fix failover switch triggered mistakenly and optimise metrics

* format code

* Fix checkstyle

* Fix unit test
2024-03-07 11:40:41 +08:00
blake.qiu
4397e8d275
feat(11752): The contentPath of AddressServerUrl is not flexible. (#11754) 2024-03-07 11:39:52 +08:00
温安适
c2aa515f1e
PageHandlerAdapterFactory, handlerAdapters,handlerAdapterMap should unmodifiable (#11801)
* Update LocalSimpleCountRateCounter.java

fixbug

* Update LocalSimpleCountRateCounter.java

bugfix

* fix:默认的nacos反脆弱插件的问题

* fix:默认的nacos反脆弱插件的问题

* fix:默认的nacos反脆弱插件的问题

* fix:默认的nacos反脆弱插件的问题

* fix:默认的nacos反脆弱插件的问题,调整为tryAdd

* fix:默认的nacos反脆弱插件的问题,调整为tryAdd

* 调整测试方式,保障流水线成功

* 重构PageHandlerAdapterFactory,这里将handlerAdapters,handlerAdapterMap设置为unmodifiable

* 重构PageHandlerAdapterFactory,这里将handlerAdapters,handlerAdapterMap设置为unmodifiable
2024-03-07 10:48:49 +08:00
杨翊 SionYang
b7c3905976
Upgrade to 2.4.0-SNAPSHOT. (#11795) 2024-03-04 16:55:45 +08:00
杨翊 SionYang
92dda945a0
Upgrade to 2.3.1 (#11791) 2024-03-04 11:23:41 +08:00
杨翊 SionYang
64b9e8d3f7
Make findMapper log to debug level to avoid nacos.log print much log. (#11786) 2024-03-01 13:35:30 +08:00
zhanghong
8f1cb59370
[ISSUE #11782] Optimized the use of map (#11783)
* Optimized the use of map

* Optimized the use of map
2024-03-01 10:05:33 +08:00
杨翊 SionYang
961d56ccce
use npm audit fix to solve some ui security dependencies. (#11777) 2024-03-01 09:58:31 +08:00
dingjiefei
fdbc99dd99
Update the sofa-jraft version to resolve the issue of the server cannot connect to the client (#11721)
* update sofa-jraft version

* fix JRaftServerTest.testRefreshRouteTable

* remove unnecessary Mockito stubbings
2024-02-27 14:40:28 +08:00
lcmarvin
889a78a82b
[ISSUE #11706] Fix the Chinese description in announcement under English console. (#11729) 2024-02-27 10:28:58 +08:00
publicize-y
a275356c10
fix:Use the article an before instance (#11759)
* fix:Use the article an before instance

* fix:The modal verb 'will' requires the verb's base form.
2024-02-27 09:24:02 +08:00
xxc
7f4c7f8297
Update README.md (#11775)
update community information and official website download channel
2024-02-27 09:21:46 +08:00
黄科铭
4f279bf110
fix issues/11723 PageHandlerAdapterFactory 集合容量不够大 (#11763) 2024-02-22 14:59:49 +08:00
黄科铭
c2f8463e12
The test case pass (#11764) 2024-02-22 14:59:26 +08:00
杨翊 SionYang
fde996d2a6
Enhance nacos example (#11761)
* example stable.

* example stable.

* Update copyright
2024-02-22 14:58:57 +08:00
温安适
1710fa32a2
[ISSUES #11626] 优化Nacos的默认反脆弱插件 (#11625)
* Update LocalSimpleCountRateCounter.java

fixbug

* Update LocalSimpleCountRateCounter.java

bugfix

* fix:默认的nacos反脆弱插件的问题

* fix:默认的nacos反脆弱插件的问题

* fix:默认的nacos反脆弱插件的问题

* fix:默认的nacos反脆弱插件的问题

* fix:默认的nacos反脆弱插件的问题,调整为tryAdd

* fix:默认的nacos反脆弱插件的问题,调整为tryAdd

* 调整测试方式,保障流水线成功
2024-02-22 11:32:04 +08:00
梁天语
1d3f1bb492
[ISSUE #11718] Fix ErrorCode have the same code (#11747)
* [ISSUE #11718] Fix ErrorCode have the same code

* Fix code style.
2024-02-20 14:07:58 +08:00
blake.qiu
7d085a8846
build(11749): upgrade spring boot version. (#11755) 2024-02-20 13:35:55 +08:00
chenyiqin
0ee724ee7f
Fix class cast error when distro sync batch service data (#11702)
* fix class cast error when distro sync batch service data

* check for logic

* simplify logic

* add ut for distro data process

* rm redundant mock
2024-02-20 10:51:51 +08:00
jimin
3c278edba9
optimize: support get java cmd from which java (#11720) 2024-02-20 10:51:16 +08:00
zhanghong
e6eb636aed
fix dark mode bugs (#11740) 2024-02-20 10:46:20 +08:00
hth
21f8065073
log improvement (#11753) 2024-02-20 10:42:58 +08:00
杨翊 SionYang
139f4f2377
Add client module ut. (#11739)
* Add client module ut.

* Fix naming ut possible failed.
2024-02-06 16:11:25 +08:00