JimmFly
25897dc404
feat(workspace): add blob and storage limit ( #5535 )
...
close TOV-343 AFF-508 TOV-461 TOV-460 TOV-419
Add `isOverCapacity ` status to detect if blob usage exceeds limits.
Add `onCapacityChange` and `onBlobSet` to monitor if the storage or blob exceeds the capacity limit.
Global modals `LocalQuotaModal` and `CloudQuotaModal` have been added, with the upload size of the blob being limited within the modal components.
The notification component has been adjusted, now you can pass in `action` click events and `actionLabel` .
2024-01-24 07:34:51 +00:00
liuyi
151a53c575
fix(server): disable payment module requirements temporarily ( #5683 )
2024-01-24 03:17:21 +00:00
liuyi
62169c59c8
fix(server): del staled update count cache if unmatch ( #5674 )
2024-01-23 08:19:29 +00:00
liuyi
e516e0db23
refactor(server): plugin modules ( #5630 )
...
- [x] separates modules into `fundamental`, `core`, `plugins`
- [x] optional modules with `@OptionalModule` decorator to install modules with requirements met(`requires`, `if`)
- [x] `module.contributesTo` defines optional features that will be enabled if module registered
- [x] `AFFiNE.plugins.use('payment', {})` to enable a optional/plugin module
- [x] `PaymentModule` is the first plugin module
- [x] GraphQLSchema will not be generated for non-included modules
- [x] Frontend can use `ServerConfigType` query to detect which features are enabled
- [x] override existing provider globally
2024-01-22 07:40:28 +00:00
DarkSky
ae8401b6f4
feat: skip update quota if same as latest activated quota ( #5631 )
2024-01-22 06:50:05 +00:00
LongYinan
fa8655e43e
style: apply prefer-node-protocol lint rule ( #5627 )
...
it makes it perfectly clear that the package is a Node.js builtin module.
2024-01-19 03:47:08 +00:00
LongYinan
c5ea6fd2c3
fix(server): selfhost issues ( #5623 )
...
- env name in helm chart
- omit health check controller in selfhost env
2024-01-18 05:55:54 +00:00
liuyi
9fdbb3ac3d
fix(server): should not listen on user defined host ( #5622 )
2024-01-18 04:59:53 +00:00
liuyi
f419867437
chore(server): remove useless log ( #5620 )
2024-01-18 03:19:20 +00:00
liuyi
d9324286d4
chore(server): add port to host if it is 0.0.0.0 ( #5619 )
2024-01-18 03:04:36 +00:00
DarkSky
ee8ec47a4f
feat: use SafeInt
replace Float
( #5613 )
2024-01-17 12:36:21 +00:00
liuyi
bf88b6edaa
chore(server): remove too verbose logs ( #5555 )
...
chore(server): remove too verbose logs
chore(server): make logs less verbose
2024-01-17 10:37:22 +00:00
liuyi
00acc49342
chore(server): remove octobase storage usage ( #5594 )
...
since all blobs have been successfully migrated to r2, the octobase blob functions are no longer necessary.
2024-01-17 10:22:35 +00:00
DarkSky
8f80bdb7af
feat: new free plan ( #5604 )
2024-01-17 07:20:18 +00:00
DarkSky
ee2520ec18
feat: add query quota of workspace ( #5603 )
2024-01-16 09:45:55 +00:00
liuyi
75fb0a9f1a
fix(server): standalone early access users detection ( #5601 )
2024-01-16 03:27:44 +00:00
liuyi
24e18dd475
fix: improve self-host convenience ( #5582 )
2024-01-15 09:24:53 +00:00
DarkSky
2f9b4fd0cf
fix: add field polyfill for old feature ( #5586 )
2024-01-15 08:33:06 +00:00
liuyi
4c49b62ab7
fix(server): node imports order ( #5583 )
2024-01-14 05:47:56 +00:00
DarkSky
18907ebe57
fix: return empty resp if user not exists in login preflight ( #5588 )
2024-01-13 15:26:55 +00:00
liuyi
89b5c96d25
refactor(server): folder structure ( #5573 )
2024-01-12 04:18:39 +00:00
DarkSky
d6f65ea414
feat: blob size limit with quota ( #5524 )
...
fix AFF-506 TOV-342
2024-01-11 10:21:40 +00:00
liuyi
12fdb18a80
test(server): make server testing utils ( #5544 )
2024-01-11 06:40:55 +00:00
liuyi
9253e522aa
test(server): avoid progress get hold after tests finished ( #5522 )
2024-01-11 06:40:53 +00:00
LongYinan
237722f7f9
feat: support self-host docker build ( #5506 )
...
Test command: `docker compose -f ./.github/deployment/self-host/compose.yaml up`
2024-01-10 08:35:21 +00:00
DarkSky
0d7ffb0511
feat: add unlimited workspace support ( #5523 )
...
fix AFF-505
2024-01-10 07:28:53 +00:00
DarkSky
a59fe1b49e
feat: adapted user quota for member api ( #5521 )
...
fix AFF-494 TOV-337
2024-01-10 07:28:46 +00:00
liuyi
ddbb5e1121
fix(server): better error handling and logging for storage ( #5553 )
2024-01-09 10:37:24 +00:00
DarkSky
b9fa002e67
fix: only return activated features ( #5536 )
2024-01-08 15:58:59 +08:00
liuyi
d7b9462d1c
fix(server): backward compatibility for beta+stable envs ( #5510 )
2024-01-08 05:15:32 +00:00
DarkSky
443908da22
feat: add workspace experimental features api ( #5525 )
2024-01-06 11:04:49 +00:00
LongYinan
3cdfa8ca22
chore: bump up all non-major dependencies ( #5499 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3 ) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3 )) | [`3.484.0` -> `3.485.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.484.0/3.485.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.485.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.485.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.484.0/3.485.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.484.0/3.485.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@napi-rs/cli](https://togithub.com/napi-rs/napi-rs ) | [`3.0.0-alpha.29` -> `3.0.0-alpha.30`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.0.0-alpha.29/3.0.0-alpha.30 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@napi-rs%2fcli/3.0.0-alpha.30?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@napi-rs%2fcli/3.0.0-alpha.30?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@napi-rs%2fcli/3.0.0-alpha.29/3.0.0-alpha.30?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@napi-rs%2fcli/3.0.0-alpha.29/3.0.0-alpha.30?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@node-rs/jsonwebtoken](https://togithub.com/napi-rs/node-rs ) | [`^0.2.3` -> `^0.3.0`](https://renovatebot.com/diffs/npm/@node-rs%2fjsonwebtoken/0.2.3/0.3.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@node-rs%2fjsonwebtoken/0.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@node-rs%2fjsonwebtoken/0.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@node-rs%2fjsonwebtoken/0.2.3/0.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@node-rs%2fjsonwebtoken/0.2.3/0.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@opentelemetry/instrumentation-socket.io](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-socket.io#readme ) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib )) | [`^0.34.4` -> `^0.35.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-socket.io/0.34.4/0.35.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@opentelemetry%2finstrumentation-socket.io/0.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@opentelemetry%2finstrumentation-socket.io/0.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@opentelemetry%2finstrumentation-socket.io/0.34.4/0.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@opentelemetry%2finstrumentation-socket.io/0.34.4/0.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@storybook/test-runner](https://togithub.com/storybookjs/test-runner ) | [`^0.15.2` -> `^0.16.0`](https://renovatebot.com/diffs/npm/@storybook%2ftest-runner/0.15.2/0.16.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2ftest-runner/0.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2ftest-runner/0.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2ftest-runner/0.15.2/0.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2ftest-runner/0.15.2/0.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme ) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul )) | [`1.1.1` -> `1.1.2`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/1.1.1/1.1.2 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@vitest/ui](https://togithub.com/vitest-dev/vitest/tree/main/packages/ui#readme ) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/ui )) | [`1.1.1` -> `1.1.2`](https://renovatebot.com/diffs/npm/@vitest%2fui/1.1.1/1.1.2 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [vitest](https://togithub.com/vitest-dev/vitest ) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest )) | [`1.1.1` -> `1.1.2`](https://renovatebot.com/diffs/npm/vitest/1.1.1/1.1.2 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.485.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#34850-2024-01-03 )
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.484.0...v3.485.0 )
##### Features
- **credential-providers:** add credentialScope field ([#​5606](https://togithub.com/aws/aws-sdk-js-v3/issues/5606 )) ([04c1459](04c1459289
))
</details>
<details>
<summary>napi-rs/napi-rs (@​napi-rs/cli)</summary>
### [`v3.0.0-alpha.30`](https://togithub.com/napi-rs/napi-rs/releases/tag/%40napi-rs/cli%403.0.0-alpha.30 )
[Compare Source](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.29...@napi-rs/cli@3.0.0-alpha.30 )
##### What's Changed
- chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate ) in [https://github.com/napi-rs/napi-rs/pull/1882 ](https://togithub.com/napi-rs/napi-rs/pull/1882 )
- fix(cli): wasi fallback package load logic by [@​Brooooooklyn](https://togithub.com/Brooooooklyn ) in [https://github.com/napi-rs/napi-rs/pull/1887 ](https://togithub.com/napi-rs/napi-rs/pull/1887 )
- fix(cli): upload to github releases issue by [@​Brooooooklyn](https://togithub.com/Brooooooklyn ) in [https://github.com/napi-rs/napi-rs/pull/1888 ](https://togithub.com/napi-rs/napi-rs/pull/1888 )
**Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.29...[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.30
</details>
<details>
<summary>napi-rs/node-rs (@​node-rs/jsonwebtoken)</summary>
### [`v0.3.1`](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.3.0...@node-rs/jsonwebtoken@0.3.1 )
[Compare Source](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.3.0...@node-rs/jsonwebtoken@0.3.1 )
### [`v0.3.0`](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.2.3...@node-rs/jsonwebtoken@0.3.0 )
[Compare Source](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.2.3...@node-rs/jsonwebtoken@0.3.0 )
</details>
<details>
<summary>open-telemetry/opentelemetry-js-contrib (@​opentelemetry/instrumentation-socket.io)</summary>
### [`v0.35.0`](efdfc727a4...f81f8a76a8
)
[Compare Source](a757b5e443...9092823125
)
</details>
<details>
<summary>storybookjs/test-runner (@​storybook/test-runner)</summary>
### [`v0.16.0`](https://togithub.com/storybookjs/test-runner/releases/tag/v0.16.0 )
[Compare Source](https://togithub.com/storybookjs/test-runner/compare/v0.15.2...v0.16.0 )
##### 🚀 Enhancement
- Introduce logLevel configuration [#​406](https://togithub.com/storybookjs/test-runner/pull/406 ) ([@​yannbf](https://togithub.com/yannbf ))
##### 🐛 Bug Fix
- Filter duplicated error messages in browser logs [#​405](https://togithub.com/storybookjs/test-runner/pull/405 ) ([@​yannbf](https://togithub.com/yannbf ))
- Fix sync issues between tests [#​404](https://togithub.com/storybookjs/test-runner/pull/404 ) ([@​yannbf](https://togithub.com/yannbf ))
- Refactor: Extract the setup page scripts into a separate file [#​403](https://togithub.com/storybookjs/test-runner/pull/403 ) ([@​yannbf](https://togithub.com/yannbf ))
- Docs: Adds feedback form to migration documentation [#​402](https://togithub.com/storybookjs/test-runner/pull/402 ) ([@​jonniebigodes](https://togithub.com/jonniebigodes ))
- Bump `jest-playwright-preset` from `v3.0.1` to `v4.0.0` [#​400](https://togithub.com/storybookjs/test-runner/pull/400 ) ([@​kemuridama](https://togithub.com/kemuridama ))
- Improve type safety and code quality [#​383](https://togithub.com/storybookjs/test-runner/pull/383 ) ([@​bryanjtc](https://togithub.com/bryanjtc ) [@​yannbf](https://togithub.com/yannbf ))
- Refactor: Improve internal code [#​378](https://togithub.com/storybookjs/test-runner/pull/378 ) ([@​bryanjtc](https://togithub.com/bryanjtc ) [@​yannbf](https://togithub.com/yannbf ))
##### Authors: 4
- [@​jonniebigodes](https://togithub.com/jonniebigodes )
- Bryan Thomas ([@​bryanjtc](https://togithub.com/bryanjtc ))
- Ryo Ochiai ([@​kemuridama](https://togithub.com/kemuridama ))
- Yann Braga ([@​yannbf](https://togithub.com/yannbf ))
</details>
<details>
<summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary>
### [`v1.1.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.2 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2 )
##### 🐞 Bug Fixes
- Remove internal flag from UI option in the config - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(7b4a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b4a2fce )
- **browser**:
- Avoid safaridriver collision - by [@​mbland](https://togithub.com/mbland ) in [https://github.com/vitest-dev/vitest/issues/4863 ](https://togithub.com/vitest-dev/vitest/issues/4863 ) [<samp>(345a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/345a25d6 )
- Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://togithub.com/zmullett ), **Zac Mullett** and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4839 ](https://togithub.com/vitest-dev/vitest/issues/4839 ) [<samp>(b8140)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8140fca )
- Handle config.base - by [@​mbland](https://togithub.com/mbland ) and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4686 ](https://togithub.com/vitest-dev/vitest/issues/4686 ) and [https://github.com/vitest-dev/vitest/issues/4692 ](https://togithub.com/vitest-dev/vitest/issues/4692 ) [<samp>(9e345)</samp>](https://togithub.com/vitest-dev/vitest/commit/9e34557e )
- **deps**:
- Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://togithub.com/renovate )\[bot] in[https://github.com/vitest-dev/vitest/issues/4837 ](https://togithub.com/vitest-dev/vitest/issues/4837 )7 [<samp>(47bc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/47bc233d )
- Update dependency sirv to ^2.0.4 - by [@​renovate](https://togithub.com/renovate )\[bot] in[https://github.com/vitest-dev/vitest/issues/4838 ](https://togithub.com/vitest-dev/vitest/issues/4838 )8 [<samp>(df261)</samp>](https://togithub.com/vitest-dev/vitest/commit/df261ae1 )
- **runner**:
- Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/4827 ](https://togithub.com/vitest-dev/vitest/issues/4827 ) [<samp>(1fee6)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fee63f2 )
- **spy**:
- Don't allow `Promise` in `mockImplementation` if it's not in the function signature - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4859 ](https://togithub.com/vitest-dev/vitest/issues/4859 ) [<samp>(072e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/072e02bf )
- **vite-node**:
- Correctly return cached result - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4870 ](https://togithub.com/vitest-dev/vitest/issues/4870 ) [<samp>(15bbb)</samp>](https://togithub.com/vitest-dev/vitest/commit/15bbbf81 )
- **vitest**:
- Throw an error if mock was already loaded when `vi.mock` is called - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4862 ](https://togithub.com/vitest-dev/vitest/issues/4862 ) [<samp>(e12a5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e12a5a36 )
- Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4871 ](https://togithub.com/vitest-dev/vitest/issues/4871 ) [<samp>(6088b)</samp>](https://togithub.com/vitest-dev/vitest/commit/6088b372 )
- **vm-threads**:
- Don't crash on percentage based `memoryLimit` - by [@​inottn](https://togithub.com/inottn ) and [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4802 ](https://togithub.com/vitest-dev/vitest/issues/4802 ) [<samp>(70e8a)</samp>](https://togithub.com/vitest-dev/vitest/commit/70e8a389 )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions ) if that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-05 07:23:22 +00:00
DarkSky
f6ec786ef9
feat: add workspace level feature apis ( #5503 )
2024-01-05 04:13:49 +00:00
DarkSky
04ca554525
feat: add workspace feature tests ( #5501 )
2024-01-05 04:13:47 +00:00
DarkSky
97f8927c21
feat: workspace level feature schema ( #5466 )
2024-01-05 04:13:44 +00:00
DarkSky
f5b74ca8a9
feat: add copilot feature type ( #5465 )
2024-01-04 10:36:34 +00:00
liuyi
760d900f99
feat(server): blob data migration ( #5461 )
2024-01-03 10:56:57 +00:00
liuyi
0d34805375
refactor(server): use new storage providers ( #5433 )
2024-01-03 10:56:55 +00:00
liuyi
1eefd712dd
feat(server): new storage provider ( #5410 )
2024-01-02 07:21:01 +00:00
liuyi
abcca8b09e
refactor(server): object storages ( #5405 )
2024-01-02 07:01:25 +00:00
DarkSky
b3dbac3d4c
feat: add migration for rename unamed accounts ( #5434 )
...
fix TOV-130
2023-12-28 12:20:00 +00:00
LongYinan
2f45200542
feat(server): upgrade prisma to use native relation joins and distinct ( #5420 )
...
https://github.com/prisma/prisma/releases/tag/5.7.0
2023-12-28 08:09:11 +00:00
DarkSky
aa4d42b36c
feat: use baseurl from server config ( #5369 )
2023-12-21 12:52:38 +00:00
DarkSky
8ea910a2bb
feat: onboarding page ( #5277 )
2023-12-19 13:54:41 +00:00
DarkSky
e0d328676d
feat: add quota for old users ( #5318 )
2023-12-19 07:06:26 +00:00
JimmFly
6748e7ba42
chore(server): remove early access tips from invitation emails ( #5314 )
...
close TOV-177
2023-12-19 06:56:22 +00:00
DarkSky
e9dfa93b52
feat: add cache for blob query ( #5178 )
2023-12-14 09:50:56 +00:00
DarkSky
0c2d2f8d16
feat: struct type feature config ( #5142 )
2023-12-14 09:50:52 +00:00
DarkSky
2b7f6f8b74
feat: integrate new modules ( #5087 )
2023-12-14 09:50:46 +00:00
DarkSky
a93c12e122
feat: user usage gql & test case improve ( #5076 )
2023-12-14 09:50:42 +00:00
DarkSky
ad23ead5e4
feat: integrate user usage into apis ( #5075 )
2023-12-14 09:50:37 +00:00
EYHN
8aac1e09e2
feat(server): independent websocket room for block and awareness ( #5285 )
2023-12-13 10:31:07 +00:00
DarkSky
77a5552dcd
feat: user usage init ( #5074 )
2023-12-13 09:21:14 +00:00
liuyi
797cd5c6eb
fix(server): avoid repeatly register providers ( #5265 )
2023-12-13 02:12:38 +00:00
liuyi
bf97a07d1f
fix(server): use last update creating time as snasphot update timestamp ( #5266 )
2023-12-12 06:03:34 +00:00
liuyi
30ecee483d
fix(server): avoid updates persist forever ( #5258 )
2023-12-11 09:17:49 +00:00
liuyi
17d584b336
refactor(server): use events system ( #5149 )
2023-12-08 05:00:58 +00:00
liuyi
e0cada49f5
refactor(server): do not force init binary when creating workspace ( #5146 )
2023-12-06 08:35:48 +00:00
liuyi
4cb26cd3e5
feat(server): events system ( #5145 )
2023-12-06 08:35:45 +00:00
liuyi
b4b4a3b625
fix(server): avoid snapshot write conflict ( #5174 )
2023-12-04 11:12:16 +00:00
liuyi
89f267a3fe
refactor(server): simplify metrics creation and usage ( #5115 )
2023-11-29 08:05:08 +00:00
LongYinan
7a7cbc45d7
fix: add prefer-readonly rule ( #5122 )
2023-11-29 15:19:00 +08:00
LongYinan
19c61e051d
fix: add no-typeof-undefined rule ( #5114 )
2023-11-29 04:43:59 +00:00
LongYinan
bd488262fa
fix: add prefer-date-now rule ( #5113 )
2023-11-29 04:43:55 +00:00
LongYinan
923844f302
fix: add eqeqeq lint rule ( #5106 )
2023-11-29 04:43:31 +00:00
LongYinan
a843dcd851
fix: resolve cycle imports and prevent it by oxlint ( #5103 )
2023-11-29 04:43:27 +00:00
liuyi
e73c39fe6b
fix(server): wrong OTEL config ( #5084 )
2023-11-28 05:54:42 +00:00
Peng Xiao
34d575078c
feat(core): simple recovery history ui poc ( #5033 )
...
Simple recovery history UI poc.
What's missing
- [x] e2e
All biz logic should be done, excluding complete ui details.
- [ ] offline prompt
- [ ] history timeline
- [ ] page ui
https://github.com/toeverything/AFFiNE/assets/584378/fc3f6a48-ff7f-4265-b9f5-9c0087cb2635
2023-11-27 02:41:19 +00:00
DarkSky
f04ec50d12
feat: optional payment for frontend ( #5056 )
2023-11-25 15:15:44 +00:00
DarkSky
13e712158c
feat: optional payment for server ( #5055 )
2023-11-25 14:59:47 +00:00
liuyi
9dc2d55a5a
fix(server): add guid compatibility of :space:page variant ( #5062 )
2023-11-24 15:46:09 +00:00
liuyi
91efca107a
refactor(server): standarderlize metrics and trace with OTEL ( #5054 )
...
you can now export span to Zipkin and metrics to Prometheus when developing locally
follow the docs of OTEL: https://opentelemetry.io/docs/instrumentation/js/exporters/
<img width="2357" alt="image" src="https://github.com/toeverything/AFFiNE/assets/8281226/ec615e1f-3e91-43f7-9111-d7d2629e9679 ">
2023-11-24 15:19:22 +00:00
liuyi
cf65a5cd93
fix(server): never throw in websocket gateways ( #5050 )
2023-11-24 07:26:40 +00:00
liuyi
1740e7efa1
fix(server): check state changes before saving history record ( #5038 )
2023-11-23 07:39:02 +00:00
LongYinan
3499dbbb7f
feat: upgrade dependencies and lockfile ( #5016 )
...
- Close https://github.com/toeverything/AFFiNE/security/dependabot/47
2023-11-23 05:18:05 +00:00
liuyi
3710bcdc14
fix(server): use iso date string as history query input ( #5035 )
2023-11-23 01:59:08 +00:00
liuyi
d1476495ae
feat(server): impl doc history ( #5004 )
2023-11-22 07:56:59 +00:00
liuyi
946b7b4004
feat(server): event on snapshot upserted ( #5002 )
2023-11-22 07:23:44 +00:00
liuyi
525b196cae
feat(server): reduce duplidated merge with cache ( #4975 )
2023-11-22 04:09:07 +00:00
liuyi
c69e542b98
feat(server): add cache module ( #4973 )
2023-11-22 04:09:00 +00:00
liuyi
85bee72e6b
chore(server): remove deprecated redis manager ( #4971 )
2023-11-22 03:51:18 +00:00
liuyi
9baad36e41
fix(server): all viewers can share public link ( #4968 )
2023-11-17 13:48:09 +08:00
JimmFly
ddd7cab414
feat(core): support share edgeless mode ( #4856 )
...
Close #3287
<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at d3fdf86</samp>
### Summary
📄 🚀 🔗
<!--
1. 📄 - This emoji represents the page and edgeless modes of sharing a page, as well as the GraphQL operations and types related to public pages.
2. 🚀 - This emoji represents the functionality of publishing and revoking public pages, as well as the confirmation modal and the notifications for the user.
3. 🔗 - This emoji represents the sharing URL and the query parameter for the share mode, as well as the hooks and functions that generate and use the URL.
-->
This pull request adds a feature to the frontend component of AFFiNE that allows the user to share a page in either `page` or `edgeless` mode, which affects the appearance and functionality of the page. It also adds the necessary GraphQL operations, types, and schema to support this feature in the backend, and updates the tests and the storybook stories accordingly.
* Modify the `useIsSharedPage` hook to accept an optional `shareMode` argument and use the `getWorkspacePublicPagesQuery`, `publishPageMutation`, and `revokePublicPageMutation` from `@affine/graphql`
2023-11-15 16:02:58 +08:00
DarkSky
8d55e5cdf9
fix: change password token check ( #4934 ) ( #4932 )
2023-11-14 23:03:01 +08:00
liuyi
c44a9a4903
fix(server): wrap updates applying in a transaction ( #4922 )
2023-11-14 14:39:39 +08:00
forehalo
dc8e84df31
fix(server): increase server acceptable websocket payload size
2023-11-12 11:22:00 +08:00
LongYinan
9d89e4f7f5
fix(server): earlyAccessPreview env override ( #4898 )
2023-11-09 17:20:41 +00:00
LongYinan
927a6489f9
ci: adjust the beta cluster configuration
2023-11-10 00:22:45 +08:00
liuyi
405167854b
perf(server): avoid auto select blob data when upsert ( #4891 )
2023-11-09 10:45:31 +00:00
liuyi
248fb1fa69
fix(server): token set with id instead of email ( #4883 )
2023-11-09 08:23:03 +00:00
liuyi
7305530d97
fix(server): wrong data migration ( #4855 )
2023-11-07 09:20:42 +00:00
liuyi
b99ac51624
chore(server): decrease amount of batch updates merging ( #4860 )
2023-11-07 09:18:02 +00:00
liuyi
01d7fe4597
fix(server): avoid saving invalid data ( #4859 )
2023-11-07 08:27:17 +00:00
liuyi
cb6974f263
fix(server): avoid server overloading by too many updates ( #4846 )
2023-11-06 10:21:19 +00:00
liuyi
f75684d6f6
fix(server): failed to share again if disable once ( #4844 )
2023-11-06 10:19:21 +00:00
liuyi
f491ff94cc
refactor(server): separate page visibility from workspace permission ( #4836 )
2023-11-06 03:49:39 +00:00
liuyi
f6cfe7c8a1
fix(server): only treat active subscription as existing ( #4826 )
2023-11-03 04:00:58 +00:00
liuyi
a3906bf92b
fix(server): do not return subscription if not active ( #4820 )
2023-11-02 14:17:26 +00:00
forehalo
5e9efbffa3
fix(server): page variant may exist
2023-11-02 18:25:30 +08:00
liuyi
6a93203d68
feat(server): sync data with ack ( #4791 )
2023-11-02 09:05:28 +00:00
Cats Juice
93e286177f
feat(core): billing history pagination ( #4787 )
2023-10-31 09:47:59 +00:00
DarkSky
57d71ad6cf
fix: idempotencyKey used ( #4774 )
2023-10-31 05:26:42 +00:00
LongYinan
581635f40b
Merge pull request #4709 from toeverything/61/doc-perf
...
perf(server): opmitize updates table
2023-10-30 09:27:19 +00:00
forehalo
26b953ce57
fix(server): wrong prod data migration scripts filter
2023-10-30 16:50:39 +08:00
DarkSky
95c1a44a0d
Merge branch 'master' into payment-system
2023-10-30 01:55:51 -05:00
LongYinan
fc3516acfb
Merge pull request #4746 from toeverything/data-migrations-system
...
feat(server): add data migration system
2023-10-30 06:36:18 +00:00
DarkSky
de9e7f97a4
feat: add idempotent request support for payment apis ( #4753 )
2023-10-30 05:54:09 +00:00
forehalo
98d0ac3c90
feat(server): add data migration system
2023-10-30 11:12:09 +08:00
DarkSky
3798293d3e
fix: error handle in payment resolver ( #4754 )
2023-10-30 00:33:21 +08:00
DarkSky
1775138228
feat: bump up blob size limit temporarily ( #4747 )
2023-10-28 07:51:02 +00:00
DarkSky
588f63505d
fix: password reset token ( #4743 )
2023-10-27 09:52:29 +00:00
JimmFly
af24334264
feat(core): add upgrade success page ( #4738 )
2023-10-27 15:49:32 +08:00
liuyi
50563dcb6e
feat(server): auto attach early access coupon ( #4728 )
2023-10-27 10:28:22 +08:00
liuyi
9334a363c7
chore(server): upgrade stripe sdk ( #4733 )
2023-10-26 12:37:52 +00:00
liuyi
97d06432f0
fix(server): wrong invoice recurring value saved ( #4712 )
2023-10-24 18:32:52 +08:00
forehalo
ef1228dcb4
perf(server): opmitize updates table
2023-10-24 17:54:59 +08:00
forehalo
7ecee01d20
fix(server): respond stripe webhook immediately
2023-10-24 12:09:14 +08:00
forehalo
2e4f6ef2ed
feat(server): combine plan and recurring as stripe lookup key
2023-10-24 12:09:14 +08:00
forehalo
9b43380b05
fix(server): cancel scheduled subscription
2023-10-24 12:09:14 +08:00
liuyi
303dade2ef
fix cancel subscription edge cases ( #4691 )
2023-10-24 11:40:46 +08:00
liuyi
858a1da35f
feat(core): impl billing settings ( #4652 )
2023-10-24 11:40:46 +08:00
forehalo
df054ac7f6
feat(core): payment backend
2023-10-24 11:40:44 +08:00
DarkSky
779ac39b36
fix(server): captcha guard ( #4673 )
2023-10-20 08:54:08 +00:00
LongYinan
352420b881
build: fix native module in aarch64 docker image ( #4656 )
2023-10-19 08:59:02 +00:00
liuyi
7275d417b2
fix(server): avoid workspace subdoc guid conflict ( #4664 )
2023-10-19 08:12:57 +00:00
Joooye_34
bed9310519
refactor(infra): directory structure ( #4615 )
2023-10-18 15:30:08 +00:00