Commit Graph

7067 Commits

Author SHA1 Message Date
JimmFly
c2ebf0b822 fix(core): handle uncaught ai flag (#8663) v0.18.0-canary.4 2024-11-01 17:18:21 +08:00
donteatfriedrice
0184328011 feat: optimize import export event tracker (#8652) 2024-11-01 08:37:00 +00:00
forehalo
a776c1f82b fix(core): unregister global error handler once app running (#8659)
close AF-1585
2024-11-01 08:11:35 +00:00
forehalo
e87963eca4 fix(server): wrong public path for selfhosted doc renderer (#8660)
closes #8639
2024-11-01 07:56:01 +00:00
JimmFly
f36097732a fix(core): dropdown menu cannot be hovered when it is at the bottom of doc (#8662)
close AF-1588
2024-11-01 07:40:31 +00:00
pengx17
070f5fae49 fix(electron): deep link handling without running instance (#8661)
fix AF-1586
2024-11-01 07:23:38 +00:00
pengx17
33088500e4 fix(core): unnamed doc title of db properties (#8657) 2024-11-01 07:23:37 +00:00
pengx17
4f16e22f5b fix(electron): add missing configureAppThemeModule to shell (#8656) 2024-11-01 07:23:37 +00:00
darkskygit
7a201984e9 feat(server): add real-world prompt test for copilot apis (#8629)
fix AF-1432, PD-1176
2024-11-01 07:05:12 +00:00
JimmFly
1c22fdd371 fix(core): unable to hide doc info (#8658)
close AF-1577 AF-1576
2024-11-01 06:47:59 +00:00
pengx17
c915a3bcb5 revert(electron): revert http protocl in electron (#8655)
fix AF-1583
2024-11-01 06:33:27 +00:00
L-Sun
1973cea035 fix(mobile): incorrect height of keyboard toolbar in ios (#8653)
### What Changes:
- Fix keyboard height calculation with the `KeyboardToolBarConfig.useScreenHeight = true`. More detials in: https://github.com/toeverything/blocksuite/pull/8645
- Add safe bottom padding for shrinked keyboard toolbar
- Add `VirtualKeyboard` polyfill. Close [AF-1573](https://linear.app/affine-design/issue/AF-1573/virtualkeyboard-polyfill-with-capacitor)
  - Since the `@capacitor/keyboard` dose not implement the `Keyboard.show()` method, this polyfill is not enabled now.
2024-11-01 05:48:30 +00:00
JimmFly
10b1f233d9 feat(core): add edgelessTheme property and edgelessDefault theme setting (#8614)
close AF-1430 AF-1471

https://github.com/user-attachments/assets/d997ac6c-ce94-4fa4-ab34-29b36c7796ea
2024-11-01 03:58:02 +00:00
EYHN
1f6cce2f5e fix(core): fix copy block link (#8650) 2024-10-31 17:15:46 +00:00
JimmFly
f40578ab24 chore: adjust right sidebar style (#8641)
close AF-1548

![CleanShot 2024-10-31 at 15 29 12@2x](https://github.com/user-attachments/assets/251502e9-2fbf-41b2-a1bf-eab8357945e5)
v0.18.0-canary.3
2024-10-31 09:36:22 +00:00
pengx17
51ffccbbb6 fix(core): do not redirect to open-page for open-in-app card (#8646) 2024-10-31 08:23:52 +00:00
pengx17
2b3b7057c5 fix(core): checkbox property styling and layout (#8645)
fix BS-1725
2024-10-31 07:31:52 +00:00
pengx17
0f8b273134 feat(core): open app in electron app entry (#8637)
fix PD-208
fix PD-210
fix PD-209
fix AF-1495
2024-10-31 06:16:32 +00:00
renovate[bot]
5d92c900d1 chore: bump up @blocksuite/affine version to v0.17.23 (#8596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 14:16:10 +08:00
donteatfriedrice
ba3aa7f153 feat: add snapshot import export config (#8584)
[BS-1470](https://linear.app/affine-design/issue/BS-1470/提供-snapshot-导入导出开关)
2024-10-31 05:18:14 +00:00
JimmFly
0f9d11fd5c feat(core): add createdBy property to default property (#8642)
close AF-1563
2024-10-31 05:01:52 +00:00
pengx17
d96cc097c2 fix(core): db properties ui issues (#8638)
fix AF-1562
fix BS-1711
2024-10-31 04:46:50 +00:00
donteatfriedrice
afcf595626 feat: add import modal (#8599)
[BS-1471](https://linear.app/affine-design/issue/BS-1471/新的-import-dialog-ui)
2024-10-31 04:09:43 +00:00
LongYinan
c08b02caba Revert "feat: copilot frontend e2e (#7694)"
This reverts commit d71852789f.
2024-10-31 12:08:57 +08:00
JimmFly
ea607d34f6 chore: adjust tooltips side of doc properties (#8640) 2024-10-31 11:50:03 +08:00
Brooooooklyn
58c7e3913d feat(android): android internal testing (#8577) 2024-10-30 12:18:00 +00:00
CatsJuice
fffd60d84c fix(mobile): adjust app tab height (#8635)
close AF-1480
2024-10-30 11:20:10 +00:00
pengx17
a791481ac8 refactor(electron): move electron-api to framework (#8601)
fix AF-1394
2024-10-30 09:16:20 +00:00
L-Sun
50bae9c3e6 feat(mobile): enable mobile keyboard toolbar (#8633) 2024-10-30 08:07:58 +00:00
EYHN
8f95cc7b80 fix(infra): orm create override optional (#8627) 2024-10-29 09:18:14 +00:00
darkskygit
d71852789f feat: copilot frontend e2e (#7694) 2024-10-29 08:56:37 +00:00
Brooooooklyn
5709ebbb11 feat(ios): hashcash in swift (#8602) 2024-10-29 08:40:15 +00:00
darkskygit
efee4dfd66 feat: use date fixed model name (#8621)
fix CLOUD-81
2024-10-29 07:31:23 +00:00
pengx17
835fdc33c0 feat(core): add open link in app to doc menu (#8597)
add "open in desktop app" menu item for editor

fix AF-1547
2024-10-29 13:55:13 +08:00
JimmFly
5690720652 chore: adjust floating sidebar style (#8619)
close PD-1810

![CleanShot 2024-10-28 at 17 43 55@2x](https://github.com/user-attachments/assets/e75da922-957f-4596-94ff-a8352b0c7e64)
2024-10-29 04:53:32 +00:00
donteatfriedrice
343572c5b6 fix: ai text renderer specs (#8611) 2024-10-29 01:59:28 +00:00
EYHN
7699296f11 feat(core): captcha service (#8616) 2024-10-28 18:06:52 +00:00
pengx17
81029db6ce feat: allow peek view to be closed by the caller && bump bs (#8542)
depends on https://github.com/toeverything/blocksuite/pull/8558
fix BS-1570
2024-10-28 09:16:35 +00:00
darkskygit
3f7752e261 feat(server): verify domain record (#8608) 2024-10-28 07:53:08 +00:00
Cats Juice
06dda70319 feat(mobile): ios oauth & magic-link login (#8581)
Co-authored-by: EYHN <cneyhn@gmail.com>
2024-10-28 14:12:33 +08:00
renovate[bot]
d6ec4cc597 chore: bump up tinybench version to v3 (#8610)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: EYHN <cneyhn@gmail.com>
2024-10-28 04:02:00 +00:00
renovate[bot]
8cdca326c1 chore: bump up uuid version to v11 (#8609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 11:41:10 +08:00
github-actions[bot]
6f2e9e6230 chore(i18n): sync translations (#8593)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-28 11:39:05 +08:00
renovate
af73810d6e chore: bump up oxlint version to v0.10.3 (#8606)
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.10.2` -> `0.10.3`](https://renovatebot.com/diffs/npm/oxlint/0.10.2/0.10.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.10.2/0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.10.2/0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

### [`v0.10.3`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#0103---2024-10-26)

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

##### Documentation

-   [`3923e63`](https://redirect.github.com/oxc-project/oxc/commit/3923e63) linter: Add schema to config examples ([#&#8203;6838](https://redirect.github.com/oxc-project/oxc/issues/6838)) (Dmitry Zakharov)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-10-26 12:18:15 +00:00
renovate
24d412d9d2 chore: bump up Rust crate notify to v7 (#8605)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [notify](https://redirect.github.com/notify-rs/notify) | workspace.dependencies | major | `6` -> `7` |

---

### Release Notes

<details>
<summary>notify-rs/notify (notify)</summary>

### [`v7.0.0`](https://redirect.github.com/notify-rs/notify/blob/HEAD/CHANGELOG.md#notify-700-2024-10-25)

[Compare Source](https://redirect.github.com/notify-rs/notify/compare/notify-6.1.1...notify-7.0.0)

-   CHANGE: raise MSRV to 1.72 [#&#8203;569] [#&#8203;610] **breaking**
-   CHANGE: move event type to notify-types crate [#&#8203;559]
-   CHANGE: flatten serialization of events and use camelCase [#&#8203;558]
-   CHANGE: remove internal use of crossbeam channels [#&#8203;569] [#&#8203;610]
-   CHANGE: rename feature `crossbeam` to `crossbeam-channel` and disable it by default [#&#8203;610] **breaking**
-   CHANGE: upgrade mio to 1.0 [#&#8203;623]
-   CHANGE: add log statements [#&#8203;499]
-   FIX: prevent UB with illegal instruction for the windows backend [#&#8203;604] [#&#8203;607]
-   FIX: on Linux report deleted directories correctly [#&#8203;545]
-   FIX: on Linux report access open events [#&#8203;612]
-   FEATURE: enable kqueue on iOS [#&#8203;533]
-   MISC: various minor doc updates and fixes [#&#8203;535] [#&#8203;536] [#&#8203;543] [#&#8203;565] [#&#8203;592] [#&#8203;595]
-   MISC: update inotify to 0.10 [#&#8203;547]

[#&#8203;499]: https://redirect.github.com/notify-rs/notify/pull/499

[#&#8203;533]: https://redirect.github.com/notify-rs/notify/pull/533

[#&#8203;535]: https://redirect.github.com/notify-rs/notify/pull/535

[#&#8203;536]: https://redirect.github.com/notify-rs/notify/pull/536

[#&#8203;543]: https://redirect.github.com/notify-rs/notify/pull/543

[#&#8203;545]: https://redirect.github.com/notify-rs/notify/pull/545

[#&#8203;547]: https://redirect.github.com/notify-rs/notify/pull/547

[#&#8203;558]: https://redirect.github.com/notify-rs/notify/pull/558

[#&#8203;559]: https://redirect.github.com/notify-rs/notify/pull/559

[#&#8203;565]: https://redirect.github.com/notify-rs/notify/pull/565

[#&#8203;569]: https://redirect.github.com/notify-rs/notify/pull/569

[#&#8203;592]: https://redirect.github.com/notify-rs/notify/pull/592

[#&#8203;595]: https://redirect.github.com/notify-rs/notify/pull/595

[#&#8203;604]: https://redirect.github.com/notify-rs/notify/pull/604

[#&#8203;607]: https://redirect.github.com/notify-rs/notify/pull/607

[#&#8203;610]: https://redirect.github.com/notify-rs/notify/pull/610

[#&#8203;612]: https://redirect.github.com/notify-rs/notify/pull/612

[#&#8203;623]: https://redirect.github.com/notify-rs/notify/pull/623

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-10-26 12:02:16 +00:00
CatsJuice
829361a910 fix(core): adjust onetime subscription ui for billing and pricing (#8591)
close AF-1534
2024-10-25 03:59:06 +00:00
pengx17
8f694aceb7 fix(core): redirect to old page after login via 404 page (#8588)
fix AF-1487

When visit a cloud worskapce page without login, we should allow the user to redirect back to that page after login.

The logic is only added for this case, including login with email magin link + google login. Login with password is already working without changes.
2024-10-25 03:43:00 +00:00
forehalo
08319bc560 feat(server): support socketio auth field (#8595)
fix AF-1531
2024-10-25 03:27:02 +00:00
JimmFly
10963da706 refactor(core): improve editor gap appendParagraph function (#8567)
close AF-1257

Every time we clicked on an empty space at the bottom, a new Paragraph block was created.
Now we change it so that if there is already an empty Paragraph block at the bottom, we focus it instead of creating a new one.
2024-10-24 10:53:18 +00:00
CatsJuice
6d7c0d45ce fix(ios): enable navigation gesture (#8592)
close AF-1528
2024-10-24 10:36:18 +00:00