Commit Graph

8646 Commits

Author SHA1 Message Date
pengx17 59f4f1e51d fix(core): at menu results use indexer data source (#9123)
fix AF-1942

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/51f7d691-4e6c-44e7-92ac-944b0d886683.png)
2024-12-12 10:17:15 +00:00
darkskygit 56c573ebf3 fix(server): accept invite condition (#9124) 2024-12-12 10:01:13 +00:00
devin-ai-integration e100d252b2 fix(core): add null checks for timeout refs and event listeners for React 19 compatibility (#9116)
## Description
- Add null checks before clearTimeout calls in colorful-fallback.tsx, edgeless.dialog.tsx, and local.dialog.tsx
- Fix event listener cleanup in unfolding.tsx
- Update tsconfig.jsx to use react-jsx transform

## Testing
- [x] Verified type safety improvements for React 19 compatibility
- [x] Ensured proper cleanup of event listeners and timeouts
- [x] Confirmed no unintended side effects from the changes

Link to Devin run: https://app.devin.ai/sessions/2e790f3ea0d84402837ec6c3c6f83e4c
2024-12-12 09:43:42 +00:00
JimmFly dd39d049fe feat(core): improve invite link (#9111) 2024-12-12 17:43:19 +08:00
darkskygit cdb55a3393 chore(server): filter out some logs (#9059) 2024-12-12 09:19:48 +00:00
darkskygit 69e5997608 feat(server): team mail sender (#9104)
fix AF-1914
2024-12-12 07:33:32 +00:00
darkskygit 350696c861 fix(server): invite link & accept (#9109)
fix AF-1920
2024-12-12 07:33:30 +00:00
CatsJuice 5dd2dddd74 feat(mobile): show page back by url search (#9100)
close AF-1911
2024-12-12 07:14:05 +00:00
CatsJuice 84df2a1d16 fix(mobile): disable navigation gesture for swipe-dialog (#8993) 2024-12-12 06:55:16 +00:00
JimmFly 01b6e43c1f fix(core): the member list is not refreshed after operating the member status (#9115)
close AF-1939 AF-1938

fix(core): the member list is not refreshed after operating the member status

chore: temporarily remove the workspace AI switch
2024-12-12 06:33:10 +00:00
JimmFly c0e0b12857 fix(core): wrong billing information display (#9117)
close AF-1935 AF-1933

fix(core): wrong billing information display

fix(core): add reminder for no cloud workspace in upgrade to team page
2024-12-12 06:16:31 +00:00
renovate 595125ebb3 chore: migrate renovate config (#9114)
The Renovate config in this repository needs migrating. Typically this is because one or more configuration options you are using have been renamed.

  You don't need to merge this PR right away, because Renovate will continue to migrate these fields internally each time it runs. But later some of these fields may be fully deprecated and the migrations removed. So it's a good idea to merge this migration PR soon.

🔕 **Ignore**: Close this PR and you won't be reminded about config migration again, but one day your current config may no longer be valid.

 Got questions? Does something look wrong to you? Please don't hesitate to [request help here](https://redirect.github.com/renovatebot/renovate/discussions).

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
2024-12-12 04:08:55 +00:00
renovate 7541bf3107 chore: bump up @types/graphql-upload version to v17 (#9005)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@types/graphql-upload](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/graphql-upload)) | [`^16.0.7` -> `^17.0.0`](https://renovatebot.com/diffs/npm/@types%2fgraphql-upload/16.0.7/17.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fgraphql-upload/17.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fgraphql-upload/17.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fgraphql-upload/16.0.7/17.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fgraphql-upload/16.0.7/17.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-12-12 03:52:01 +00:00
renovate 372f6893d6 chore: bump up oxlint version to v0.15.0 (#9096)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`0.14.1` -> `0.15.0`](https://renovatebot.com/diffs/npm/oxlint/0.14.1/0.15.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.14.1/0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.14.1/0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>oxc-project/oxc (oxlint)</summary>

### [`v0.15.0`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.15.0): oxlint v0.15.0

[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.14.1...oxlint_v0.15.0)

#### \[0.15.0] - 2024-12-10

-   [`39b9c5d`](https://redirect.github.com/oxc-project/oxc/commit/39b9c5d) linter: \[**BREAKING**] Remove unmaintained security plugin ([#&#8203;7773](https://redirect.github.com/oxc-project/oxc/issues/7773)) (Boshen)

##### Features

-   [`065f7dc`](https://redirect.github.com/oxc-project/oxc/commit/065f7dc) linter: Support `expectTypeOf`, `assert` and `assertType` in `vitest/expect-expect` ([#&#8203;7742](https://redirect.github.com/oxc-project/oxc/issues/7742)) (Yuichiro Yamashita)
-   [`3d5f0a1`](https://redirect.github.com/oxc-project/oxc/commit/3d5f0a1) linter/no_restricted_imports: Add the no_restricted_imports rules ([#&#8203;7629](https://redirect.github.com/oxc-project/oxc/issues/7629)) (Guillaume Piedigrossi)

##### Bug Fixes

-   [`ad27b20`](https://redirect.github.com/oxc-project/oxc/commit/ad27b20) linter: Only resolve esm files for import plugin ([#&#8203;7720](https://redirect.github.com/oxc-project/oxc/issues/7720)) (Boshen)
-   [`5e6053f`](https://redirect.github.com/oxc-project/oxc/commit/5e6053f) linter: False positive in `eslint/yoda` ([#&#8203;7719](https://redirect.github.com/oxc-project/oxc/issues/7719)) (dalaoshu)

##### Refactor

-   [`c6a19aa`](https://redirect.github.com/oxc-project/oxc/commit/c6a19aa) linter: Remove unused `serde` features ([#&#8203;7738](https://redirect.github.com/oxc-project/oxc/issues/7738)) (Boshen)
-   [`b9a2b35`](https://redirect.github.com/oxc-project/oxc/commit/b9a2b35) linter: Remove `aho-corasick` ([#&#8203;7718](https://redirect.github.com/oxc-project/oxc/issues/7718)) (Boshen)

##### Testing

-   [`62f0a22`](https://redirect.github.com/oxc-project/oxc/commit/62f0a22) linter: Port `react-jsx-uses-vars` rules to no_unused_vars ([#&#8203;7731](https://redirect.github.com/oxc-project/oxc/issues/7731)) (Tyler Earls)
-   [`02f9903`](https://redirect.github.com/oxc-project/oxc/commit/02f9903) linter: Add regression tests for `import/namespace` ([#&#8203;7723](https://redirect.github.com/oxc-project/oxc/issues/7723)) (dalaoshu)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS41OC4xIiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-12-12 03:09:20 +00:00
pengx17 ae2d0c3bcf fix(core): tag inline editor filter should ignore case (#8936)
fix PD-1891
2024-12-12 02:49:32 +00:00
EYHN 91089ff5a2 fix(core): fix sign in with email (#9108) 2024-12-12 02:48:36 +00:00
pengx17 fea4777ef2 chore(core): at menu journal entry tracking (#9054)
fix AF-1844
2024-12-12 02:25:01 +00:00
pengx17 30d6793978 feat(core): add journal search results to bs doc search (#9052)
fix AF-1842
2024-12-12 02:25:00 +00:00
renovate 21969731a3 chore: bump up @nestjs/throttler version to v6.3.0 (#9095)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@nestjs/throttler](https://redirect.github.com/nestjs/throttler) | [`6.2.1` -> `6.3.0`](https://renovatebot.com/diffs/npm/@nestjs%2fthrottler/6.2.1/6.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nestjs%2fthrottler/6.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nestjs%2fthrottler/6.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nestjs%2fthrottler/6.2.1/6.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nestjs%2fthrottler/6.2.1/6.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nestjs/throttler (@&#8203;nestjs/throttler)</summary>

### [`v6.3.0`](https://redirect.github.com/nestjs/throttler/blob/HEAD/CHANGELOG.md#630)

[Compare Source](https://redirect.github.com/nestjs/throttler/compare/v6.2.1...v6.3.0)

##### Minor Changes

-   [`fc93f3a`](https://redirect.github.com/nestjs/throttler/commit/fc93f3a): pass context to getTraker as a second arg

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS41OC4xIiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-12-12 02:06:39 +00:00
forehalo cc217425db ci: fix release action v0.19.0-canary.3 2024-12-11 23:00:14 +08:00
EYHN 0c0722c650 feat(nbstore): add blob sync frontend (#9084) 2024-12-11 12:39:26 +00:00
liuyi a67fbc9448 ci: fix release script (#9107) 2024-12-11 11:18:13 +00:00
pengx17 01effaa0f1 fix(core): doc header drag preview styles (#9105) 2024-12-11 10:34:58 +00:00
DarkSky 9b0f1bb293 feat(server): improve team invite (#9092) v0.19.0-canary.2 2024-12-11 18:00:49 +08:00
liuyi 671c41cb1a fix(server): should drop blob steam if not used (#9103) 2024-12-11 17:59:59 +08:00
JimmFly 4eb31444a9 fix(core): optimize upgrade to team page (#9099) 2024-12-11 17:59:46 +08:00
Peng Xiao b864cbf9d3 fix(core): backlink preview should use sans font family (#9102) 2024-12-11 17:59:04 +08:00
pengx17 dc7d128252 feat(core): allow bs snapshot dragging targets (#9093)
fix AF-1924, AF-1848, AF-1928, AF-1931

dnd between affine & editor

<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4">20241210-1217-49.8960381.mp4</video>
2024-12-11 08:12:01 +00:00
EYHN 331e674e8b feat(nbstore): add doc sync frontend (#9070) 2024-12-11 07:53:25 +00:00
forehalo eee0ed45ee chore: selfhost compose backward compatibility (#9098) 2024-12-11 06:24:53 +00:00
JimmFly 216e09e1af feat(core): add workspace quota panel for team workspace (#9085)
close AF-1917 AF-1685 AF-1730
2024-12-10 12:32:01 +00:00
JimmFly f63dacd553 fix(core): workspace billing cannot be opened (#9091) 2024-12-10 12:14:59 +00:00
forehalo 2f80b4f822 feat(nbstore): add cloud implementation (#8810) 2024-12-10 10:48:27 +00:00
liuyi 1721875ab6 fix(server): minize checkout parameters (#9090) 2024-12-10 08:24:28 +00:00
EYHN 18d65dff0e fix(core): share page show 404 (#9083) 2024-12-10 07:43:31 +00:00
github-actions[bot] ffad1155ff chore(i18n): sync translations (#9089)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: forehalo <forehalo@gmail.com>
2024-12-10 07:43:14 +00:00
liuyi c0938bd0d5 chore(server): team free trial control logic is not ready (#9088) 2024-12-10 15:36:27 +08:00
forehalo 9780ab6fa2 chore: fix oxlint (#9086) 2024-12-10 07:04:57 +00:00
EYHN 35edf389b5 feat(nbstore): better doc sync logic (#9037) 2024-12-10 06:49:21 +00:00
JimmFly 0a7a2c3083 feat(core): add workspace billing (#9043) 2024-12-10 06:31:36 +00:00
JimmFly 612310bc26 feat(core): impl team workspace (#8920)
AF-1738 AF-1735 AF-1731 AF-1721 AF-1717 AF-1736 AF-1727 AF-1719 AF-1877
UI for team workspaces :
- add upgrade to team & successful upgrade page ( `/upgrade-to-team` & `/upgrade-success/team`)
- update team plans on pricing page ( settings —> pricing plans )
- update reaching the usage/member limit modal
- update invite member modal
- update member CRUD options
2024-12-10 06:31:36 +00:00
forehalo 5d25580eff chore(graphql): update schema 2024-12-10 14:31:03 +08:00
forehalo 564faa439a fix(server): should auto apply ea price for users (#9082) 2024-12-10 05:31:19 +00:00
darkskygit 36a95463b4 feat(server): team quota migration (#9081) 2024-12-10 04:46:11 +00:00
Brooooooklyn adc69548ef feat(ios,android): setup uniffi infra (#8828) 2024-12-10 03:43:35 +00:00
liuyi 95597ec139 chore(server): local data migration env (#9080) 2024-12-10 03:42:59 +00:00
darkskygit 4d44bcc145 fix(server): image action behavior in ci (#9077) 2024-12-10 02:54:31 +00:00
pengx17 ec140da0d9 feat(core): remember backlink open/close state (#9073)
fix AF-1850, AF-1883
2024-12-10 02:28:20 +00:00
pengx17 4335b0dc79 feat(core): add draghandle to doc page title (#9079)
fix AF-1846
2024-12-10 02:13:09 +00:00
forehalo 115caa7cc6 fix(server): wrong stripe checkout params (#9056) 2024-12-10 01:56:58 +00:00