Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync: hosted cloud #689

Merged
merged 342 commits into from
Apr 10, 2023
Merged

sync: hosted cloud #689

merged 342 commits into from
Apr 10, 2023

Conversation

yort-feng
Copy link

No description provided.

JaneSu and others added 30 commits March 14, 2023 18:11
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

Signed-off-by: wangkailang <wangkailang@vikadata.com>
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Co-authored-by: SkyHuang <huangchangpeng@vikadata.com>
Co-authored-by: Troy(FengJun) <fengjun@vikadata.com>
Co-authored-by: Aria <jianweisummer@gmail.com>
Co-authored-by: Chambers <chenbochao@vikadata.com>
wangkailang and others added 18 commits April 6, 2023 11:55
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

---------

Co-authored-by: Aria <jianweisummer@gmail.com>
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->
Submit a pull request for this project.

<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->

# Why? 
<!-- 
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->


# What?
<!-- 
> 这是一个什么Pull Request?
> 描述一下是什么?
> 对哪些人有好处? 
-->


# How?
<!-- 
> 大概描述下,如何具体实现的这个Pull Request? 
-->

---------

Co-authored-by: Itou Ng <wuyitao@vikadata.com>
@yort-feng yort-feng requested a review from a team April 10, 2023 06:35

return (
<div className={classnames(styles.levelCard, className)} style={{ ...style }}>
{cardBg && <Image className={styles.cardBg} src={cardBg} layout={'fill'} />}
{cardBg && <Image className={styles.cardBg} src={cardBg} layout={'fill'}/>}

Check warning

Code scanning / ESLint

Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images.

Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images.
const treeNodesMap: ITreeNodeMap = {};
// fieldIdToRecordIdToSet
const groupToTextToSet: { [index: string]: { [index: string]: Set<CascaderChildren> } } = {};
for (let i = 0; i < linkedFieldIds.length; i++) {

Check failure

Code scanning / CodeQL

Loop bound injection

Iteration over a user-controlled object with a potentially unbounded .length property from a [user-provided value](1).
}

export function setNode(nodesMap: ITreeNodeMap, group: string, key: string, value: CascaderChildren) {
nodesMap[group]![key] = value;

Check warning

Code scanning / CodeQL

Prototype-polluting assignment

This assignment may alter Object.prototype if a malicious '__proto__' string is injected from [user controlled input](1). This assignment may alter Object.prototype if a malicious '__proto__' string is injected from [user controlled input](2).
@Sky-FE Sky-FE self-requested a review April 10, 2023 06:54
Submit a pull request for this project.

<!-- If you have an Issue that related to this Pull Request, you can
copy this Issue's description -->

# Why? 
<!-- 
> Related to which issue?
> Why we need this pull request?
> What is the user story for this pull request? 
-->


# What?
<!-- 
> Can you describe this feature in detail?
> Who can benefit from it? 
-->


# How?
<!-- 
> Do you have a simple description of how this pull request is
implemented?
-->
@yort-feng yort-feng merged commit 0d71f61 into develop Apr 10, 2023
@yort-feng yort-feng deleted the sync/hosted branch April 10, 2023 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet