Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sync: hosted cloud#1780

Merged
zoe-icu merged 2947 commits intodevelopfrom
sync/hosted
Dec 30, 2024
Merged

sync: hosted cloud#1780
zoe-icu merged 2947 commits intodevelopfrom
sync/hosted

Conversation

@zoe-icu
Copy link
Collaborator

@zoe-icu zoe-icu commented Dec 30, 2024

@coderabbitai: ignore

wangkailang and others added 30 commits February 6, 2024 17:26
- fix: #10707
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- Bug Fix: Added validation to ensure that `value` and `oldValue` are
arrays with elements starting with the `IDPrefix.Record` string before
calling the `ldcMaintainer.insert` function in the `unarchiveRecords`
function.
- Bug Fix: Added a check to ensure that `recordIds` is an array in the
`LinkField` class to prevent potential errors.
- Bug Fix: Modified the `useEffect` hook in the `SearchContentBase`
component to only execute code when `cellValue` is an array, preventing
potential errors.
- Bug Fix: Modified the assignment of the `linkRecordIds` variable in
the `cell_helper.ts` file to handle cases where `cellValue` is not an
array by assigning an empty array.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
- fix: #10717
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- Refactor: Updated endpoint for resending email invitations in the
Space module API to improve consistency and clarity for users.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
close #10714 
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- Refactor: Improved handling of permissions for copying data and
filtering fields based on permissions in clipboard functionality.
- Refactor: Reordered and removed duplicate imports related to shortcut
keys for better organization in the context menu component.
- Refactor: Updated import statements for shortcut keys in the workspace
component for improved code clarity.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
- fix: #10667
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- Refactor: Refactored `WorkdocImage` component into
`WorkdocImagePortal` for improved structure.
- New Feature: Introduced `WorkdocImagePortal` component with image
preview features like zoom, rotate, download, and delete.
- Style: Added `cursor: auto;` to enhance user experience in modal
dialog boxes.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- New Feature: Added support for custom buttons in the navigation
sidebar based on environment variables.
- Style: Introduced styling for custom button icons in the navigation
sidebar to ensure a consistent look and feel.

<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- New Feature: Enhanced data copying permissions and field filtering for
improved security.
- New Feature: Optimized data structure handling for better performance.
- Bug Fix: Implemented early return check for missing standard value
table keys.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
- fix: #10737
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- Bug Fix: Improved `getRows` method in `LookUpField` class to handle
cases where the view is not found, ensuring correct row population using
`recordMap`.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- New Feature: Added functionality to update the `views` property in the
snapshot meta object within the datasheet module.
- New Feature: Implemented window reload after a specific operation in
the FormContainer component.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
Reverts vikadata/vikadata#10746
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- Refactor: Simplified row filtering logic in LookUpField class for
improved performance and removed redundant code, enhancing user
experience.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
@coderabbitai: ignore

---------

Co-authored-by: Zoe <[email protected]>
@coderabbiai: ignore
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- Refactor: Improved readability and consistency of the
`checkSeatOverLimitAndSendNotify` method in SpaceServiceImpl.java. Minor
changes to variable assignments and logging for better code structure.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->

Co-authored-by: Zoe <[email protected]>
@coderabbitai: ignore

---------

Co-authored-by: Zoe <[email protected]>
@coderabbitai: ignore

---------

Co-authored-by: Zoe <[email protected]>
- fix: #10768
<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- Bug Fix: Removed the `window.location.reload()` call from form
submission in FormContainer component to prevent unnecessary page
reloads, improving user experience.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
JaneSu and others added 25 commits September 10, 2024 15:42
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
@coderabbitai: ignore

---------

Co-authored-by: Zoe <[email protected]>
@coderabbitai: ignore

---------

Co-authored-by: Zoe <[email protected]>
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
关联需求 vikadata/vikadata#11325

# 配置变量:
- KEYCLOAK_ENABLED:  开关,默认false
-  KEYCLOAK_CLIENT_ID:  认证client-id
- KEYCLOAK_CLIENT_SECRET: 认证client-secret
- KEYCLOAK_ISSUER_URI: realm issuer 地址 , 如
https://keycloak.vikadata.com/realms/apitable
- KEYCLOAK_CLIENT_NAME:    选填, client 名称, 默认是keycloak 
- KEYCLOAK_CLIENT_AUTHENTICATION_METHOD: 选填, 应用授权方法, 默认
client_secret_basic
- KEYCLOAK_AUTHENTICATION_GRANT_TYPE: 选填, 授权类型, 默认 authorization_code

# How
 采用 oauth2-client 实现keycloak 登录功能, 在  `/api/v1/keycloak/login`  开启认证并登录

# AI says

<!-- AI auto review added here -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->

---------

Co-authored-by: paylm penglong feng <[email protected]>
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
…… (#11359)

Fixed vikadata/bika#8731

<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- New Feature: Enhanced `store.subscribe` to handle `embedId` parameter
for improved control flow.
- Refactor: Reordered imports in `space_id.ts` for better organization.
- New Feature: Added logic for `embedId` in `MirrorRoute` component for
dynamic behavior.
- New Feature: Integrated `MirrorRoute` component with conditional
rendering based on `mirrorId`.
<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
镜像嵌入后端功能

<!-- This is an auto-generated comment: release notes by OSS CodeRabbit
-->
### Summary by CodeRabbit

- New Feature: Added support for handling mirror data packs in the
EmbedLinkService class, enhancing user data retrieval based on
permissions and login status.
- New Feature: Introduced a new enum value "Mirror" and updated regex
pattern to include the 'mir' prefix for improved identification of
mirror data.

<!-- end of auto-generated comment: release notes by OSS CodeRabbit -->
close #11361
close #11360
close #11362
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
# Human says

As a human, what have you done for this pull request?
Why? What? How?
<!-- 如果这个Pull Request有对应的Issue,你可以复制Issue的相关信息。 -->
<!-- 
# Why?
> 对应哪个issue?
> 为什么要这个pull request?
> 背景故事或原因是怎样的?
> 你理解的业务需求是怎样的? 
-->

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

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


# AI says

<!-- AI auto review added here -->
@CLAassistant
Copy link

CLAassistant commented Dec 30, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
6 out of 7 committers have signed the CLA.

✅ zoe-icu
✅ wangkailang
✅ ChambersChan
✅ paylm
✅ shawndenggh
✅ JaneSu
❌ CnForeRunner
You have signed the CLA already but the status is still pending? Let us recheck it.

@zoe-icu zoe-icu changed the title Sync/hosted sync: hosted cloud Dec 30, 2024
@zoe-icu zoe-icu merged commit 2632850 into develop Dec 30, 2024
@zoe-icu zoe-icu deleted the sync/hosted branch December 30, 2024 09:31
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.

10 participants