Commit Graph

4523 Commits

Author SHA1 Message Date
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
EYHN
0c0722c650
feat(nbstore): add blob sync frontend (#9084) 2024-12-11 12:39:26 +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) 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
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
L-Sun
720f6c6a58
chore(mobile): set doc readonly in edgeless mode (#9068)
Close [BS-1984](https://linear.app/affine-design/issue/BS-1984/edgeless-禁用编辑后,白板上,image-block-chat-block-可以移动), [BS-1918](https://linear.app/affine-design/issue/BS-1918/edgeless-移动端只读模式下,应当是单指移动,双指缩放), [BS-2035](https://linear.app/affine-design/issue/BS-2035/切换-edgeless-view-变为只读)
2024-12-10 01:39:30 +00:00
renovate
b55ec58bb8
chore: bump up @blocksuite/affine version to v0.18.5 (#9078)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/affine](https://redirect.github.com/toeverything/blocksuite) ([source](https://redirect.github.com/toeverything/blocksuite/tree/HEAD/packages/affine/all), [changelog](https://redirect.github.com/toeverything/blocksuite/blob/master/packages/blocks/CHANGELOG.md)) | [`0.18.4` -> `0.18.5`](https://renovatebot.com/diffs/npm/@blocksuite%2faffine/0.18.4/0.18.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2faffine/0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2faffine/0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2faffine/0.18.4/0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2faffine/0.18.4/0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>toeverything/blocksuite (@&#8203;blocksuite/affine)</summary>

### [`v0.18.5`](https://redirect.github.com/toeverything/blocksuite/blob/HEAD/packages/affine/all/CHANGELOG.md#0185)

[Compare Source](https://redirect.github.com/toeverything/blocksuite/compare/v0.18.4...v0.18.5)

##### Patch Changes

-   [`ec2956c`](https://redirect.github.com/toeverything/blocksuite/commit/ec2956c): ## Feat

    -   feat: api for encode and decode dnd data ([#&#8203;8909](https://redirect.github.com/toeverything/blocksuite/issues/8909))
    -   feat(blocks): add event tracking for linked doc ([#&#8203;8876](https://redirect.github.com/toeverything/blocksuite/issues/8876))
    -   feat(playground): outside click to close docs panel ([#&#8203;8885](https://redirect.github.com/toeverything/blocksuite/issues/8885))

</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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-12-09 13:18:12 +00:00
darkskygit
31146e5213
fix: copilot ci (#9066) 2024-12-09 11:11:04 +00:00
pengx17
814b4c9cb0
fix(core): canDrop check for external (#9058) 2024-12-09 10:25:38 +00:00
DarkSky
9365958a02
feat(server): team quota (#8955) 2024-12-09 18:51:54 +09:00
CatsJuice
8fe188e773
refactor(mobile): determine the currently active tab through a persistent state (#9018)
close AF-1868

Only tap on specific tab can change active tab
2024-12-09 04:07:05 +00:00
pengx17
f073df3ee5
fix(mobile): backlink ordering in doc info (#9015)
fix AF-1885
2024-12-09 03:48:08 +00:00
pengx17
5a6dd29d36
fix(mobile): center peek styles (#9014)
fix AF-1876

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/af1191dd-4549-4c38-8948-2d726946d4fe.png)
2024-12-09 03:48:07 +00:00
fundon
0bafc35aad
feat: linked doc supports aliases (#9009)
Closes: [AF-1882](https://linear.app/affine-design/issue/AF-1882/实现-generatedocurlservice)
Upstreams: https://github.com/toeverything/blocksuite/pull/8806
2024-12-09 03:12:09 +00:00
fundon
efa4a80019
chore: not allowed to open pdf files on mobile (#9041)
Related to [BS-1919](https://linear.app/affine-design/issue/BS-1919/pdf-block-适配).

First remove the expand button on the mobile side.
2024-12-09 02:54:07 +00:00
pengx17
7a1dab134f
fix(core): doc db text property editing issue (#9055)
fix AF-1901
2024-12-09 02:37:13 +00:00
EYHN
7225f59138
feat(nbstore): add blob sync (#8996) 2024-12-07 08:05:04 +00:00
EYHN
f54f6e88cb
feat(nbstore): new doc sync engine (#8918) 2024-12-07 08:05:02 +00:00
pengx17
fafacdb265
feat(core): dnd support external types (#9033)
fix AF-1847

two issues:
1. original `dropTargetForExternal` only works if dragging target is from another window context. patched the library to bypass this issue
2. `dataTransfer`'s content is only available on `drop` event. This means we cannot have `canDrop` checks for external elements (like blocksuite links).
2024-12-06 21:46:08 +08:00
akumatus
6b14e1cf10
feat(core): after the user clicks ask ai, the input pops up directly (#9039)
Issue [AF-1762](https://linear.app/affine-design/issue/AF-1762).

Ask AI on edgeless mode:

<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/1218afba-466f-4570-afd4-679b6b09cc8d.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/1218afba-466f-4570-afd4-679b6b09cc8d.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/1218afba-466f-4570-afd4-679b6b09cc8d.mov">录屏2024-12-06 09.54.52.mov</video>

Ask AI on page mode:
<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/58d19705-f646-4957-8628-15845b47222b.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/58d19705-f646-4957-8628-15845b47222b.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/58d19705-f646-4957-8628-15845b47222b.mov">录屏2024-12-06 09.52.51.mov</video>
2024-12-06 12:12:05 +00:00
pengx17
3ef28ed19b
fix(core): peek db row should always show the related db row property (#8942)
fix BS-1963
depends on https://github.com/toeverything/blocksuite/pull/8818
2024-12-06 10:02:22 +00:00
forehalo
1aff9de981
refactor(server): cleanup selfhost module (#9038) 2024-12-06 09:23:22 +00:00
L-Sun
b1c8fca25e
refactor(mobile): use bs mobile spec patch (#9046)
Close [BS-2068](https://linear.app/affine-design/issue/BS-2068/移动端-placeholder,去除-space-with-ai)
2024-12-06 09:07:20 +00:00
pengx17
b378af5ade
feat(core): at menu ux (#9045)
fix AF-1843
2024-12-06 08:50:13 +00:00
liuyi
d6869ca0e7
fix(server): avoid unknown fields in create query (#9047) 2024-12-06 17:49:52 +09:00