Commit Graph

419 Commits

Author SHA1 Message Date
forehalo
bd9cb41f8a
fix(server): websocket error backward compatibility (#7346) 2024-06-26 12:22:33 +00:00
darkskygit
cffaf815e1
feat: add more workflow executor (#7231) 2024-06-25 10:54:16 +00:00
darkskygit
fe89ecb1d3
feat: workflow executor (#7159)
fix AFF-1221 AFF-1232
2024-06-25 08:40:47 +00:00
forehalo
7b3673ae82
chore: assign todos (#7297) 2024-06-21 07:54:14 +00:00
forehalo
aa124638bc
fix(server): invalidate old user avatar when updated (#7285)
fix CLOUD-41
2024-06-20 12:25:10 +00:00
forehalo
d34c5c42ef
feat(server): allow customize server external url (#7270)
closes https://github.com/toeverything/AFFiNE/issues/7252
2024-06-19 12:03:36 +00:00
L-Sun
fa1e7c6be0
fix: cycle import (#7264)
Sometimes the GitHub Action (Lint) will fail.
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/b567d983-14de-4002-bebf-1eb1e9635ee0.png)
2024-06-19 05:19:17 +00:00
EYHN
390852f8be
chore(server): lint ignore error gen file (#7245) 2024-06-18 08:48:19 +00:00
Brooooooklyn
0fe672efa5
feat(admin): init project (#7197) 2024-06-18 06:01:13 +00:00
forehalo
d216606193
fix(server): wrong doc manager config (#7239) 2024-06-18 05:17:18 +00:00
liuyi
54fc1197ad
feat(server): introduce user friendly server errors (#7111) 2024-06-17 11:30:58 +08:00
forehalo
41bc683eed
fix(server): should update stripe customer email if changed (#7181) 2024-06-08 15:52:23 +00:00
darkskygit
ca9a16b728
feat: add workflow resolver (#7123)
fix AFF-1166
2024-06-07 05:53:45 +00:00
darkskygit
44b0ea2b6c
feat: no branches workflow support (#7119)
fix AFF-1165 AFF-1164
2024-06-07 05:53:39 +00:00
darkskygit
b75da1f3e0
fix: handle unexpected fal response (#7158) 2024-06-07 05:41:25 +00:00
darkskygit
928e133655
fix: customer create at (#7132) 2024-06-05 08:01:12 +00:00
darkskygit
a5f9bfdda9
fix: gql result check for clean history (#7154) 2024-06-05 07:49:40 +00:00
darkskygit
db0837936a
feat: fetch fal stream correctly (#7141) 2024-06-04 09:30:11 +00:00
forehalo
01fc1ea835
fix(server): selfhost fixes (#7140)
fixes #6708, fixes #7139
2024-06-04 08:42:25 +00:00
forehalo
06534bbc06
chore(server): register user management resolver (#7118) 2024-06-03 06:52:19 +00:00
forehalo
c96fb46751
feat(core): adjust admin panel style (#7116) 2024-05-31 10:43:30 +00:00
pengx17
1b633b5135
chore: update prompt (#7117)
fix AFF-1198
2024-05-31 10:04:42 +00:00
forehalo
622239fd41
fix(server): runtime config overrides won't affect static startup (#7110) 2024-05-30 09:11:34 +00:00
forehalo
d853fc879d
fix(server): deal with nested optional modules (#7101) 2024-05-29 08:12:59 +00:00
forehalo
bffbb1ea9f
feat(server): add users management api (#7092) 2024-05-29 08:02:26 +00:00
forehalo
4b30fbc1e2
feat(server): add copilot prompts management api (#7082) 2024-05-28 13:14:17 +00:00
darkskygit
1a269a4b52
fix: missing quota resolver (#7094) 2024-05-28 12:05:49 +00:00
Tao Chen
e417c4cd44
fix(server): OIDC bug (#7061) 2024-05-28 18:19:37 +08:00
darkskygit
40b35b7bc2
chore: update prompts (#7091) 2024-05-28 08:07:12 +00:00
forehalo
638fc62601
feat(server): runtime setting support (#5602)
---

<details open="true"><summary>Generated summary (powered by <a href="https://app.graphite.dev">Graphite</a>)</summary>

> ## TL;DR
> This pull request adds a new migration file, a new model, and new modules related to runtime settings. It also introduces a new `Runtime` service that allows getting, setting, and updating runtime configurations.
>
> ## What changed
> - Added a new migration file `migration.sql` that creates a table called `application_settings` with columns `key` and `value`.
> - Added a new model `ApplicationSetting` with properties `key` and `value`.
> - Added a new module `RuntimeSettingModule` that exports the `Runtime` service.
> - Added a new service `Runtime` that provides methods for getting, setting, and updating runtime configurations.
> - Modified the `app.module.ts` file to import the `RuntimeSettingModule`.
> - Modified the `index.ts` file in the `fundamentals` directory to export the `Runtime` service.
> - Added a new file `def.ts` in the `runtime` directory that defines the runtime configurations and provides a default implementation.
> - Added a new file `service.ts` in the `runtime` directory that implements the `Runtime` service.
>
> ## How to test
> 1. Run the migration script to create the `application_settings` table.
> 2. Use the `Runtime` service to get, set, and update runtime configurations.
> 3. Verify that the runtime configurations are stored correctly in the database and can be retrieved and modified using the `Runtime` service.
>
> ## Why make this change
> This change introduces a new feature related to runtime settings. The `Runtime` service allows the application to dynamically manage and modify runtime configurations without requiring a restart. This provides flexibility and allows for easier customization and configuration of the application.
</details>
2024-05-28 06:43:53 +00:00
doouding
0dd0432531
fix(server): update mind map prompt (#7079) 2024-05-27 12:01:45 +00:00
forehalo
aff166a0ef
feat(server): add administrator feature (#6995) 2024-05-27 11:17:21 +00:00
darkskygit
5ba9e2e9b1
fix: choose provider correctly (#7081)
fix no provider error in caption generate action
2024-05-27 09:57:39 +00:00
Chen
919e40f28e
feat: support more ai image actions (#7027) 2024-05-24 18:35:32 +08:00
darkskygit
0302a85585
feat: add customer event (#7029) 2024-05-24 08:40:33 +00:00
darkskygit
937b8bf166
feat: history cleanup (#7007)
fix AFF-1069
2024-05-24 08:00:05 +00:00
Tao Chen
22a8a2663e
feat(server): add OIDC for AFFiNE (#6991)
Co-authored-by: LongYinan <lynweklm@gmail.com>
Co-authored-by: DarkSky <darksky2048@gmail.com>
2024-05-24 00:35:30 +08:00
darkskygit
0c42849bc3
feat: update i2i model (#7041) 2024-05-23 14:27:12 +00:00
darkskygit
535254fdf6
feat: adapt new fal response (#7042) 2024-05-23 10:43:12 +00:00
darkskygit
f511b02bf9
fix: use flexible year number in mail template (#7033)
close #7010
2024-05-23 07:08:02 +00:00
darkskygit
f8fee55b3d
fix: combine message correctly (#7038) 2024-05-23 06:16:31 +00:00
forehalo
29e7fa1371
chore(server): cleanup expired sessions (#7018) 2024-05-22 03:31:41 +00:00
darkskygit
df73b6ddc7
feat: revoke token after sensitive operations (#6993)
fix #6914
2024-05-20 06:38:48 +00:00
darkskygit
f2866f57c9
feat: add lora support (#6977) 2024-05-20 05:05:34 +00:00
darkskygit
a3f3d09764
feat: add upscaler & bg remover (#6967) 2024-05-16 11:09:34 +00:00
renovate
f37bbb0784
chore: bump up @sentry/react version to v8 (#6919)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@sentry/react](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/react) ([source](https://togithub.com/getsentry/sentry-javascript)) | [`^7.109.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/@sentry%2freact/7.111.0/8.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2freact/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2freact/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2freact/7.111.0/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2freact/7.111.0/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>getsentry/sentry-javascript (@&#8203;sentry/react)</summary>

### [`v8.0.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#800-rc3)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.114.0...8.0.0)

##### Important Changes

-   **feat(bun): Add Bun Global Unhandled Handlers ([#&#8203;11960](https://togithub.com/getsentry/sentry-javascript/issues/11960))**

The Bun SDK will now capture global unhandled errors.

##### Other Changes

-   feat(node): Log process and thread info on initialisation ([#&#8203;11972](https://togithub.com/getsentry/sentry-javascript/issues/11972))
-   fix(aws-serverless): Include ESM artifacts in package ([#&#8203;11973](https://togithub.com/getsentry/sentry-javascript/issues/11973))
-   fix(browser): Only start `http.client` spans if there is an active parent span ([#&#8203;11974](https://togithub.com/getsentry/sentry-javascript/issues/11974))
-   fix(feedback): Improve CSS theme variable names and layout ([#&#8203;11964](https://togithub.com/getsentry/sentry-javascript/issues/11964))
-   fix(node): Ensure `execArgv` are not sent to worker threads ([#&#8203;11963](https://togithub.com/getsentry/sentry-javascript/issues/11963))
-   ref(feedback): Simplify feedback function params ([#&#8203;11957](https://togithub.com/getsentry/sentry-javascript/issues/11957))

### [`v7.114.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.114.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0)

##### Important Changes

-   **fix(browser/v7): Continuously record CLS ([#&#8203;11935](https://togithub.com/getsentry/sentry-javascript/issues/11935))**

This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the
cases where it should have been reported. With this change, the CLS web vital should now always be reported for
pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.

**Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.**

##### Other Changes

-   build(aws-lambda/v7): Turn off lambda layer publishing ([#&#8203;11875](https://togithub.com/getsentry/sentry-javascript/issues/11875))
-   feat(v7): Add `tunnel` support to multiplexed transport ([#&#8203;11851](https://togithub.com/getsentry/sentry-javascript/issues/11851))
-   fix(opentelemetry-node): support `HTTP_REQUEST_METHOD` attribute ([#&#8203;11929](https://togithub.com/getsentry/sentry-javascript/issues/11929))
-   fix(react/v7): Fix react router v4/v5 span names ([#&#8203;11940](https://togithub.com/getsentry/sentry-javascript/issues/11940))

### [`v7.113.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.113.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0)

##### Important Changes

-   **feat(node): Support Node 22 ([#&#8203;11754](https://togithub.com/getsentry/sentry-javascript/issues/11754))**

This release adds support for Node 22! 🎉

It also adds prebuilt-binaries for Node 22 to `@sentry/profiling-node`.

##### Other Changes

-   feat(feedback): \[v7] New feedback button design ([#&#8203;11841](https://togithub.com/getsentry/sentry-javascript/issues/11841))
-   feat(replay/v7): Upgrade rrweb packages to 2.15.0 ([#&#8203;11752](https://togithub.com/getsentry/sentry-javascript/issues/11752))
-   fix(ember/v7): Ensure unnecessary spans are avoided ([#&#8203;11848](https://togithub.com/getsentry/sentry-javascript/issues/11848))

### [`v7.112.2`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.2)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.1...7.112.2)

-   fix(nextjs|sveltekit): Ensure we can pass `browserTracingIntegration` ([#&#8203;11765](https://togithub.com/getsentry/sentry-javascript/issues/11765))

### [`v7.112.1`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.1)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.0...7.112.1)

-   fix(ember/v7): Do not create rendering spans without transaction ([#&#8203;11750](https://togithub.com/getsentry/sentry-javascript/issues/11750))

### [`v7.112.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.111.0...7.112.0)

##### Important Changes

-   **feat: Export pluggable integrations from SDK packages ([#&#8203;11723](https://togithub.com/getsentry/sentry-javascript/issues/11723))**

Instead of installing `@sentry/integrations`, you can now import the pluggable integrations directly from your SDK
package:

```js
// Before
import * as Sentry fromv '@&#8203;sentry/browser';
import { dedupeIntegration } from '@&#8203;sentry/integrations';

Sentry.init({
  integrations: [dedupeIntegration()],
});

// After
import * as Sentry from '@&#8203;sentry/browser';

Sentry.init({
  integrations: [Sentry.dedupeIntegration()],
});
```

Note that only the functional integrations (e.g. `xxxIntegration()`) are re-exported.

##### Other Changes

-   feat(replay): Add "maxCanvasSize" option for replay canvases ([#&#8203;11732](https://togithub.com/getsentry/sentry-javascript/issues/11732))
-   fix(serverless): \[v7] Check if cloud event callback is a function ([#&#8203;11734](https://togithub.com/getsentry/sentry-javascript/issues/11734))

#### Bundle size 📦

| Path                                                                               | Size              |
| ---------------------------------------------------------------------------------- | ----------------- |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - Webpack (gzipped)              | 80.72 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped)                        | 71.69 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay with Canvas) - Webpack (gzipped)            | 75.91 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.32 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped)                                | 35.62 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. browserTracingIntegration) - Webpack (gzipped)              | 35.5 KB   |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Feedback) - Webpack (gzipped)                               | 31.57 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. sendFeedback) - Webpack (gzipped)                           | 31.58 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped)                                                | 22.78 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)       | 78.9 KB   |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)                 | 70.27 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped)                         | 36.02 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped)                                         | 25.28 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.25 KB |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)         | 109.01 KB |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed)                         | 75.79 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped)                         | 39.3 KB   |
| [@&#8203;sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped)                          | 72.18 KB  |
| [@&#8203;sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped)                                                  | 22.81 KB  |
| [@&#8203;sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped)                  | 90.01 KB  |
| [@&#8203;sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped)                                          | 54.15 KB  |
| [@&#8203;sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped)                                      | 17.32 KB  |

</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 10:06:35 +00:00
Brooooooklyn
c7ddd679fd
feat(server): use native tokenizer impl (#6960)
### Benchmark

`yarn workspace @affine/server-native bench`

```
┌─────────┬────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name  │ ops/sec │ Average Time (ns)  │ Margin   │ Samples │
├─────────┼────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0       │ 'tiktoken' │ '5'     │ 176932518.76000002 │ '±4.71%' │ 100     │
│ 1       │ 'native'   │ '16'    │ 61041597.51000003  │ '±0.60%' │ 100     │
└─────────┴────────────┴─────────┴────────────────────┴──────────┴─────────┘
```
2024-05-16 07:55:10 +00:00
darkskygit
37cb5b86f4
fix: migrate typo (#6948) 2024-05-15 14:03:09 +00:00
darkskygit
0076359d6a
feat: add retry support for copilot (#6947) 2024-05-15 11:02:37 +00:00
darkskygit
7e7a4120aa
feat: renew models (#6934) 2024-05-15 09:13:05 +00:00
darkskygit
98e218af93
feat: allow undefined new model (#6933) 2024-05-14 13:05:07 +00:00
LongYinan
b036f1b5c9
Revert "feat: renew models (#6926)"
This reverts commit 5bf9351be4.
2024-05-14 18:46:32 +08:00
darkskygit
8881286025
chore: adjust log level (#6913) 2024-05-14 09:32:29 +00:00
darkskygit
5bf9351be4
feat: renew models (#6926) 2024-05-14 08:54:58 +00:00
fundon
d8b3a0b6d5
fix: improve make it real action (#6830) 2024-05-09 08:15:34 +00:00
renovate
0912fe113f
chore: bump up oxlint version to v0.3.2 (#6763)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

### [`v0.3.2`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.3.2): oxlint v0.3.2

[Compare Source](99d46f9e48...a7940868c6)

#### What's Changed

[Oxlint Import Plugin Alpha Release](http://localhost:5173/blog/2024-05-04-import-plugin-alpha.html)

-   feat(linter): [@&#8203;typescript-eslint/prefer-literal-enum-member](https://togithub.com/typescript-eslint/prefer-literal-enum-member) by [@&#8203;kaykdm](https://togithub.com/kaykdm) in [https://github.com/oxc-project/oxc/pull/3134](https://togithub.com/oxc-project/oxc/pull/3134)
-   feat(linter): add more "ban-ts-comment" test cases. by [@&#8203;woai3c](https://togithub.com/woai3c) in [https://github.com/oxc-project/oxc/pull/3107](https://togithub.com/oxc-project/oxc/pull/3107)
-   feat(linter): eslint-plugin-jest/require-hook by [@&#8203;eryue0220](https://togithub.com/eryue0220) in [https://github.com/oxc-project/oxc/pull/3110](https://togithub.com/oxc-project/oxc/pull/3110)
-   feat(linter): eslint/no-await-in-loop by [@&#8203;woai3c](https://togithub.com/woai3c) in [https://github.com/oxc-project/oxc/pull/3070](https://togithub.com/oxc-project/oxc/pull/3070)
-   feat(linter): typescript-eslint/prefer-enum-initializers by [@&#8203;todor-a](https://togithub.com/todor-a) in [https://github.com/oxc-project/oxc/pull/3097](https://togithub.com/oxc-project/oxc/pull/3097)
-   feat(linter/jsdoc): Implement `implements-on-classes` rule by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/3081](https://togithub.com/oxc-project/oxc/pull/3081)
-   feat(linter/jsdoc): Implement check-tag-names rule by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/3029](https://togithub.com/oxc-project/oxc/pull/3029)
-   feat(linter/jsdoc): Implement no-defaults rule by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/3098](https://togithub.com/oxc-project/oxc/pull/3098)
-   feat(linter/jsdoc): Implement require-yields rule by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/3150](https://togithub.com/oxc-project/oxc/pull/3150)
-   feat(linter/jsdoc): Support settings.ignore(Private|Internal) by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/3147](https://togithub.com/oxc-project/oxc/pull/3147)

#### New Contributors

-   [@&#8203;vsn4ik](https://togithub.com/vsn4ik) made their first contribution in [https://github.com/oxc-project/oxc/pull/3118](https://togithub.com/oxc-project/oxc/pull/3118)

**Full Changelog**: https://github.com/oxc-project/oxc/compare/oxlint_v0.3.1...oxlint_v0.3.2

</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-07 11:22:19 +00:00
darkskygit
8e0a0a7f02
fix: wait activated event (#6814) 2024-05-07 09:44:38 +00:00
forehalo
7041991967
fix(server): allow promotion codes if no discount applied (#6810) 2024-05-07 07:44:41 +00:00
darkskygit
8194cb7773
chore: update prompts (#6782) 2024-05-06 12:42:12 +00:00
forehalo
d657f4091a
fix(server): do not allow registration through gql (#6775) 2024-05-06 11:11:57 +00:00
pengx17
4ea31cbb35
fix: update prompts (#6779)
fix AFF-1021
2024-05-06 10:58:56 +00:00
darkskygit
13f40f435d
feat: improve query performence (#6764) 2024-05-06 09:12:04 +00:00
pengx17
1303a6a8b4
fix: update prompts (find actions) (#6773)
fix AFF-1019
2024-05-06 08:29:51 +00:00
forehalo
3ee794a8f2
fix(server): do not throttle healthy checking api (#6771) 2024-05-06 06:59:50 +00:00
forehalo
cebb841430
feat(server): add flag to disable new sign ups (#6752) 2024-04-30 15:19:30 +00:00
forehalo
f566457dcf
test(server): payment tests (#6737) 2024-04-30 06:59:54 +00:00
pengx17
eb7904bf62
fix(core): prompt message tunning (#6747)
fix AFF-1003
2024-04-30 13:18:20 +08:00
forehalo
a14194c482
fix(server): blob controller permission (#6746) 2024-04-30 03:47:00 +00:00
pengx17
7c5a259e84
fix(core): update prompts (#6738)
Update prompts:

When sending a message to openai, we actually send two messages.
There are two issues here:

1. the role in the first message shall be user or system
2. the content in the first message is not being interpolated at all.

```
[
  {
    role: "assistant",
    createdAt: "2024-04-27T06:30:34.820Z",
    params: {
      language: "French",
    },
    content: "You are a translation expert, please translate the following content into French, and only perform the translation action, keeping the translated content in the same format as the original content:\n\n          \"\"\"\"\n\n          \n\n          \"\"\"\"",
  },
  {
    role: "user",
    content: "Basic things you should know:",
    attachments: undefined,
    params: {
      language: "French",
    },
    createdAt: "2024-04-29T09:42:11.466Z",
  },
]
```

In this PR I removed `content` from prompts and let open ai use the second message (user) as the input.
2024-04-29 11:02:16 +00:00
Brooooooklyn
81729703d9
chore(server): use native file-type implementation (#6686) 2024-04-29 04:46:26 +00:00
Brooooooklyn
fed2503782
refactor(server): rename @affine/storage to @affine/server-native (#6682)
- Close https://github.com/toeverything/AFFiNE/issues/6680
2024-04-29 02:14:20 +00:00
darkskygit
b639e52dca
feat: allow custom seed (#6709) 2024-04-26 11:40:07 +00:00
darkskygit
850bbee629
test: copilot unit & e2e test (#6649)
fix CLOUD-31
2024-04-26 09:43:35 +00:00
darkskygit
8bdd940ac8
fix: some event missing with multiple env webhook (#6705) 2024-04-26 02:56:09 +00:00
darkskygit
15c1e46680
chore: use default throttler replace strict throttler (#6698) 2024-04-26 02:18:20 +00:00
forehalo
2c228a35f8
fix(server): stripe webhook calls in random order (#6702) 2024-04-25 12:22:07 +00:00
darkskygit
a0c219e036
feat: use default params if not provided (#6701) 2024-04-25 10:59:46 +00:00
forehalo
3297486e31
fix(server): skip throttle for currentUser (#6700) 2024-04-25 09:45:31 +00:00
darkskygit
ea3f427918
fix: large transaction (#6695) 2024-04-25 08:33:21 +00:00
pengx17
050efe3749
fix(core): update prompts (#6693)
update based on latest docs
2024-04-25 05:26:50 +00:00
doouding
6525c99631
feat(server): new prompt for expand mind map (#6678)
feat(server): new prompt for expand mind map

feat: add migration file
2024-04-24 07:10:11 +00:00
darkskygit
cbe9e10d44
chore: add copilot vision dev mode polyfill (#6671) 2024-04-23 07:41:02 +00:00
darkskygit
64ad83f889
feat: handle stream error (#6653) 2024-04-23 03:46:46 +00:00
darkskygit
01a0f60d03
fix: history attachment query (#6670) 2024-04-23 03:34:59 +00:00
pengx17
71a5be5385
fix(server): update prompts (#6664)
fix AFF-921
2024-04-22 14:09:53 +00:00
forehalo
94de6f5853
fix(server): always return created timestamp of chat messages (#6658) 2024-04-22 08:39:42 +00:00
forehalo
e8bcb75602
fix(server): use post request to consume magic link token (#6656) 2024-04-22 07:15:26 +00:00
darkskygit
ae679a937f
fix: copilot storage config (#6650) 2024-04-22 03:00:18 +00:00
forehalo
098e717688
chore(server): remove useless free subscription enum (#6634) 2024-04-19 13:34:59 +00:00
darkskygit
657a5250ad
feat: update chat prompt (#6639)
fix AFF-878
fix AFF-852 (maybe)
2024-04-19 12:34:02 +00:00
darkskygit
97669acb40
chore: enable ai feature in dev (#6618) 2024-04-19 08:12:53 +00:00
EYHN
5e243de392
feat(server): auto refresh session (#6613) 2024-04-19 07:00:12 +00:00
fundon
7772a103fa
fix(server): dev user configuration issue (#6619) 2024-04-19 03:40:04 +00:00
darkskygit
3cc3af8d5d
feat: remove message query (#6622)
related #6620
2024-04-18 16:30:10 +00:00
darkskygit
28f2ff24b9
fix: copilot blob process (#6612) 2024-04-18 15:36:30 +00:00
darkskygit
b3b9e9a056
chore: cleanup outdated api (#6604) 2024-04-18 14:42:46 +00:00
soumyasen10
19f8407d7f
fix: disable default save page as (#6548)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2024-04-18 16:19:03 +08:00
forehalo
d9e6561762
feat(server): add created timestamp to history (#6607) 2024-04-18 07:06:47 +00:00
pengx17
5fc56a20ac
feat: adopt createMessage upload api (#6596) 2024-04-18 06:55:29 +00:00
DarkSky
ccb3bed91e
feat: add blob upload support for copilot (#6584) 2024-04-17 14:05:38 +00:00
liuyi
07aeab6ac8
fix(server): app cannot start in graphql only flavor (#6598) 2024-04-17 18:29:04 +08:00
DarkSky
ec186a65e7
fix(server): avoid store unpaid subscriptions (#6593) 2024-04-17 16:43:17 +08:00
liuyi
e53d5e2e3d
chore(server): clean up throttler (#6326) 2024-04-17 16:32:26 +08:00
forehalo
651a99a48e
fix(server): avoid store unpaid subscriptions 2024-04-17 16:25:03 +08:00
liuyi
5b315bfc81
fix(server): only returns active subscriptions (#6590) 2024-04-17 16:19:34 +08:00
EYHN
06fda3b62c
feat(infra): framework 2024-04-17 15:09:09 +08:00
darkskygit
83d8587a45
fix: missing feature upsert (#6585) 2024-04-17 02:01:01 +00:00
forehalo
e1c292b8b5
feat(server): support registering ai early access users (#6565) 2024-04-16 13:54:08 +00:00
darkskygit
677c4711df
feat: unsplash api proxy (#6572) 2024-04-16 13:33:07 +00:00
darkskygit
3d15e8353b
feat: refresh prompts (#6568) 2024-04-16 10:26:54 +00:00
darkskygit
1b0864eb60
feat: check quota correctly (#6561) 2024-04-16 09:41:48 +00:00
darkskygit
1a3d1a5421
fix: upgrade plan correctly (#6543) 2024-04-15 06:20:24 +00:00
pengx17
9b620ecbc9
fix(core): use backend prompts (#6542) 2024-04-12 21:29:14 +08:00
darkskygit
2336638996
fix: cannot query chat history (#6539) 2024-04-12 12:16:43 +00:00
darkskygit
fc51b68674
fix: pick copilot provider depend on model (#6540) 2024-04-12 12:01:39 +00:00
darkskygit
e77475aca5
feat: detailed copilot histories (#6523) 2024-04-12 08:39:32 +00:00
EYHN
9e7a2fcf0e
feat(server): add pro quota to dev user (#6532) 2024-04-12 06:45:18 +00:00
regischen
244e3fd71b
fix: change action (#6519) 2024-04-12 05:17:10 +00:00
fundon
13b39fc5f3
feat(core): ai images (#6506) 2024-04-12 03:58:33 +00:00
renovate
66231e0e41
chore: bump up oxlint version to v0.2.17 (#5778)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

### [`v0.2.17`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.2.17): oxlint v0.2.17

[Compare Source](7066d55153...df11d10a22)

##### What's Changed

-   feat(linter): eslint-plugin-jest/prefer-lowercase-title by [@&#8203;eryue0220](https://togithub.com/eryue0220) in [https://github.com/oxc-project/oxc/pull/2911](https://togithub.com/oxc-project/oxc/pull/2911)
-   feat(linter): typescript-eslint/consistent-type-definitions by [@&#8203;todor-a](https://togithub.com/todor-a) in [https://github.com/oxc-project/oxc/pull/2885](https://togithub.com/oxc-project/oxc/pull/2885)
-   fix(cli): fix `oxlint --format json` yields 0 files to lint by [@&#8203;Boshen](https://togithub.com/Boshen) in [https://github.com/oxc-project/oxc/pull/2940](https://togithub.com/oxc-project/oxc/pull/2940)
-   fix(cli): if format is json do not print summary information ([#&#8203;2899](https://togithub.com/oxc-project/oxc/issues/2899)) by [@&#8203;kalvenschraut](https://togithub.com/kalvenschraut) in [https://github.com/oxc-project/oxc/pull/2925](https://togithub.com/oxc-project/oxc/pull/2925)
-   fix(linter): import/no-cycle ignore type-only imports by [@&#8203;JohnDaly](https://togithub.com/JohnDaly) in [https://github.com/oxc-project/oxc/pull/2924](https://togithub.com/oxc-project/oxc/pull/2924)
-   refactor(semantic/jsdoc): Rework JSDoc struct for better Span handling by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/2917](https://togithub.com/oxc-project/oxc/pull/2917)

##### New Contributors

-   [@&#8203;bradzacher](https://togithub.com/bradzacher) made their first contribution in [https://github.com/oxc-project/oxc/pull/2938](https://togithub.com/oxc-project/oxc/pull/2938)

**Full Changelog**: https://github.com/oxc-project/oxc/compare/oxlint_v0.2.16...oxlint_v0.2.17

### [`v0.2.16`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.2.16): oxlint v0.2.16

[Compare Source](e7307ed23c...7066d55153)

#### What's Changed

-   feat(linter): [@&#8203;typescript-eslint/prefer-for-of](https://togithub.com/typescript-eslint/prefer-for-of) by [@&#8203;charnog](https://togithub.com/charnog) in [https://github.com/oxc-project/oxc/pull/2789](https://togithub.com/oxc-project/oxc/pull/2789)
-   feat(linter): Implement jsdoc/check-access by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/2642](https://togithub.com/oxc-project/oxc/pull/2642)
-   feat(linter): Implement jsdoc/empty-tags by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/2893](https://togithub.com/oxc-project/oxc/pull/2893)
-   feat(linter): eslint-plugin-jest/prefer-mock-promise-sorthand by [@&#8203;eryue0220](https://togithub.com/eryue0220) in [https://github.com/oxc-project/oxc/pull/2864](https://togithub.com/oxc-project/oxc/pull/2864)
-   feat(linter/import): Add `ignoreTypes` option for the `import/no-cycle` rule by [@&#8203;JohnDaly](https://togithub.com/JohnDaly) in [https://github.com/oxc-project/oxc/pull/2905](https://togithub.com/oxc-project/oxc/pull/2905)
-   fix(ast): `FinallyClause` won't get visited as `BlockStatement` anymore. by [@&#8203;rzvxa](https://togithub.com/rzvxa) in [https://github.com/oxc-project/oxc/pull/2881](https://togithub.com/oxc-project/oxc/pull/2881)
-   fix(linter): handle self closing script tags in astro partial loader ([#&#8203;2017](https://togithub.com/oxc-project/oxc/issues/2017)) by [@&#8203;kalvenschraut](https://togithub.com/kalvenschraut) in [https://github.com/oxc-project/oxc/pull/2907](https://togithub.com/oxc-project/oxc/pull/2907)
-   fix(linter): svelte partial loader handle generics ([#&#8203;2875](https://togithub.com/oxc-project/oxc/issues/2875)) by [@&#8203;kalvenschraut](https://togithub.com/kalvenschraut) in [https://github.com/oxc-project/oxc/pull/2906](https://togithub.com/oxc-project/oxc/pull/2906)

#### New Contributors

-   [@&#8203;charnog](https://togithub.com/charnog) made their first contribution in [https://github.com/oxc-project/oxc/pull/2789](https://togithub.com/oxc-project/oxc/pull/2789)
-   [@&#8203;kalvenschraut](https://togithub.com/kalvenschraut) made their first contribution in [https://github.com/oxc-project/oxc/pull/2906](https://togithub.com/oxc-project/oxc/pull/2906)
-   [@&#8203;JohnDaly](https://togithub.com/JohnDaly) made their first contribution in [https://github.com/oxc-project/oxc/pull/2905](https://togithub.com/oxc-project/oxc/pull/2905)

**Full Changelog**: https://github.com/oxc-project/oxc/compare/oxlint_v0.2.15...oxlint_v0.2.16

### [`v0.2.15`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.2.15): oxlint v0.2.15

[Compare Source](b1343d7bcb...e7307ed23c)

#### What's Changed

-   feat(linter): default_param_last by [@&#8203;JoSeBu1](https://togithub.com/JoSeBu1) in [https://github.com/oxc-project/oxc/pull/2756](https://togithub.com/oxc-project/oxc/pull/2756)
-   feat(linter): eslint-plugin-jest/no-untyped-mock-factory by [@&#8203;eryue0220](https://togithub.com/eryue0220) in [https://github.com/oxc-project/oxc/pull/2807](https://togithub.com/oxc-project/oxc/pull/2807)
-   feat(linter): eslint-plugin-jest/prefer-comparison-matcher by [@&#8203;eryue0220](https://togithub.com/eryue0220) in [https://github.com/oxc-project/oxc/pull/2806](https://togithub.com/oxc-project/oxc/pull/2806)
-   feat(linter): eslint-plugin-react checked-requires-onchange-or-readonly by [@&#8203;keita-hino](https://togithub.com/keita-hino) in [https://github.com/oxc-project/oxc/pull/2754](https://togithub.com/oxc-project/oxc/pull/2754)
-   feat(linter): eslint/no-iterator by [@&#8203;JoSeBu1](https://togithub.com/JoSeBu1) in [https://github.com/oxc-project/oxc/pull/2758](https://togithub.com/oxc-project/oxc/pull/2758)
-   feat(linter): fallback to the default tsconfig path by [@&#8203;Dunqing](https://togithub.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2842](https://togithub.com/oxc-project/oxc/pull/2842)
-   feat(linter): no_script_url by [@&#8203;JoSeBu1](https://togithub.com/JoSeBu1) in [https://github.com/oxc-project/oxc/pull/2761](https://togithub.com/oxc-project/oxc/pull/2761)
-   feat(linter/import) check deep namespace in namespace rule by [@&#8203;Dunqing](https://togithub.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2805](https://togithub.com/oxc-project/oxc/pull/2805)
-   feat(linter/import) check module import in no_duplicates by [@&#8203;Dunqing](https://togithub.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2771](https://togithub.com/oxc-project/oxc/pull/2771)
-   feat(linter/import) check type import in no_duplicates by [@&#8203;Dunqing](https://togithub.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2777](https://togithub.com/oxc-project/oxc/pull/2777)
-   feat(linter/import) support allow_computed option in namespace by [@&#8203;Dunqing](https://togithub.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2840](https://togithub.com/oxc-project/oxc/pull/2840)
-   feat(linter/import) support check re-export in named by [@&#8203;Dunqing](https://togithub.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2769](https://togithub.com/oxc-project/oxc/pull/2769)
-   feat(linter/import): ignore type-only imports and exports in no_unresolved by [@&#8203;Dunqing](https://togithub.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2849](https://togithub.com/oxc-project/oxc/pull/2849)
-   fix(linter/import): false positive for indirect export in namespace by [@&#8203;Dunqing](https://togithub.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2862](https://togithub.com/oxc-project/oxc/pull/2862)
-   fix(linter/import): ignore export declaration in no-duplicates by [@&#8203;Dunqing](https://togithub.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2863](https://togithub.com/oxc-project/oxc/pull/2863)
-   fix(linter/max-lines): only report codes that exceed the line limit by [@&#8203;mysteryven](https://togithub.com/mysteryven) in [https://github.com/oxc-project/oxc/pull/2778](https://togithub.com/oxc-project/oxc/pull/2778)
-   fix(parser): add support for empty module declaration by [@&#8203;rzvxa](https://togithub.com/rzvxa) in [https://github.com/oxc-project/oxc/pull/2834](https://togithub.com/oxc-project/oxc/pull/2834)

#### New Contributors

-   [@&#8203;rzvxa](https://togithub.com/rzvxa) made their first contribution in [https://github.com/oxc-project/oxc/pull/2764](https://togithub.com/oxc-project/oxc/pull/2764)

**Full Changelog**: https://github.com/oxc-project/oxc/compare/oxlint_v0.2.14...oxlint_v0.2.15

</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-04-11 10:51:02 +00:00
DarkSky
db1206dbd5
fix: re-create session should skip rewrite messages (#6513) 2024-04-11 12:22:45 +08:00
darkskygit
9f349a2300
feat: text to image impl (#6437)
fix CLOUD-18
fix CLOUD-28
fix CLOUD-29
2024-04-10 12:13:39 +00:00
darkskygit
7c38a54f81
feat: copilot controller (#6272)
fix CLOUD-27
2024-04-10 11:58:40 +00:00
darkskygit
e6a576551a
feat: add copilot impl (#6230)
fix CLOUD-22
fix CLOUD-24
2024-04-10 11:15:32 +00:00
darkskygit
46a368d7f1
feat: add session impl (#6254) 2024-04-10 11:15:25 +00:00
forehalo
b01a8bb2ab
fix(server): give s3 client a default request timeout (#6483) 2024-04-08 08:41:55 +00:00
liuyi
edef9b2735
fix(server): only auto apply coupon in pro subscription (#6452) 2024-04-03 17:13:18 +08:00
CatsJuice
3e9e2ce93b
feat(core): pricing plans ai subscription ui (#6449) 2024-04-03 08:04:30 +00:00
forehalo
2dc628eca5
fix(server): doc cache makes publish mode updating failed (#6444) 2024-04-03 03:34:01 +00:00
darkskygit
3c01d944fb
feat: add prompt service (#6241)
fix CLOUD-19
2024-04-02 07:04:54 +00:00
darkskygit
593161dccb
feat: basic copilot plugin implement (#6229)
fix CLOUD-25
2024-04-02 07:04:49 +00:00
EYHN
366e0a4b60
feat(server): adjust telemetry config (#6424) 2024-04-02 03:44:48 +00:00
forehalo
54c06777a6
fix(server): always set new session cookie (#6323) 2024-03-26 09:56:39 +00:00
forehalo
5637676222
fix(server): wrong import path (#6317) 2024-03-26 09:26:56 +00:00
fundon
8ee9f6ec05
chore: improve password error message (#6255)
chore: improve error message

chore: add password minlength & maxlength i18n

chore: check max length

fix: i18n variables

feat: add CredentialsRequirementType
2024-03-26 07:15:06 +00:00
liuyi
b8e6d7d6cb
chore(server): cache blob list result (#6297) 2024-03-26 14:23:47 +08:00
forehalo
1a1af83375
test(server): auth tests (#6135) 2024-03-26 02:24:17 +00:00
EYHN
f2adbdaba4
style: enable import-x/no-duplicates (#6279) 2024-03-25 03:55:33 +00:00
EYHN
2b42a75e5a
style: enable rxjs/finnish (#6276)
chore(infra): use finnish notation for observables

do rename
2024-03-24 17:04:51 +00:00
EYHN
34703a3b7d
feat(infra): new doc sync engine (#6205)
https://github.com/toeverything/AFFiNE/blob/eyhn/feat/new-sync/packages/common/infra/src/workspace/engine/doc/README.md
2024-03-22 16:43:26 +00:00
Brooooooklyn
150c22936d
chore(core): add mixpanel track (#6202) 2024-03-22 09:24:41 +00:00
Brooooooklyn
10af0ab48d
feat(server): support ai plan (#6216) 2024-03-22 08:39:18 +00:00
Brooooooklyn
aecc523663
fix(server): avoid error when other prices added but logic is not released (#6191) 2024-03-22 08:39:12 +00:00
forehalo
540e456704
ci: set private key from env (#6239) 2024-03-21 10:09:26 +00:00
liuyi
4f5907766f
fix(server): decode uri component before verify token (#6231) 2024-03-20 18:17:11 +08:00
liuyi
06a5b2e5a5
fix(server): wrong google oauth param (#6227) 2024-03-20 17:45:22 +08:00
liuyi
797e3c5b35
fix(server): do not force sign in password length (#6188)
hotfix
2024-03-19 10:58:34 +08:00
DarkSky
da32682afb
fix(server): handle expired lock re-release & external locker injection (#6145) 2024-03-19 02:16:47 +00:00
liuyi
4702c1a9ca
fix(server): inject correct locker to request scope mutex (#6140) 2024-03-19 02:16:35 +00:00
DarkSky
f18133af82
fix(server): wrap read-modify-write apis with distributed lock (#6142) 2024-03-19 02:16:24 +00:00