野声
f393f89a3f
fix(server): blank screen on mobile ( #8460 )
...
Co-authored-by: forehalo <forehalo@gmail.com >
2024-10-16 13:12:40 +08:00
野声
691e1c22c2
feat(admin): allow config unlimited copilot ( #8487 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
2024-10-15 10:11:04 +08:00
renovate
e7ebe0f2c0
chore: bump up oxlint version to v0.9.10 ( #8354 )
...
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.9.6` -> `0.9.10`](https://renovatebot.com/diffs/npm/oxlint/0.9.6/0.9.10 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>oxc-project/oxc (oxlint)</summary>
### [`v0.9.10`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.10 ): oxlint v0.9.10
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.9...oxlint_v0.9.10 )
#### \[0.9.10] - 2024-10-08
- [`95ca01c`](https://redirect.github.com/oxc-project/oxc/commit/95ca01c ) cfg: \[**BREAKING**] Make BasicBlock::unreachable private ([#​6321](https://redirect.github.com/oxc-project/oxc/issues/6321 )) (DonIsaac)
- [`5a73a66`](https://redirect.github.com/oxc-project/oxc/commit/5a73a66 ) regular_expression: \[**BREAKING**] Simplify public APIs ([#​6262](https://redirect.github.com/oxc-project/oxc/issues/6262 )) (leaysgur)
##### Features
- [`f272137`](https://redirect.github.com/oxc-project/oxc/commit/f272137 ) editors/vscode: Clear diagnostics on file deletion ([#​6326](https://redirect.github.com/oxc-project/oxc/issues/6326 )) (dalaoshu)
- [`1a5f293`](https://redirect.github.com/oxc-project/oxc/commit/1a5f293 ) editors/vscode: Update VSCode extention to use project's language server ([#​6132](https://redirect.github.com/oxc-project/oxc/issues/6132 )) (dalaoshu)
- [`376cc09`](https://redirect.github.com/oxc-project/oxc/commit/376cc09 ) linter: Implement `no-throw-literal` ([#​6144](https://redirect.github.com/oxc-project/oxc/issues/6144 )) (dalaoshu)
- [`5957214`](https://redirect.github.com/oxc-project/oxc/commit/5957214 ) linter: Allow fixing in files with source offsets ([#​6197](https://redirect.github.com/oxc-project/oxc/issues/6197 )) (camchenry)
- [`a089e19`](https://redirect.github.com/oxc-project/oxc/commit/a089e19 ) linter: Eslint/no-else-return ([#​4305](https://redirect.github.com/oxc-project/oxc/issues/4305 )) (yoho)
- [`183739f`](https://redirect.github.com/oxc-project/oxc/commit/183739f ) linter: Implement prefer-await-to-callbacks ([#​6153](https://redirect.github.com/oxc-project/oxc/issues/6153 )) (dalaoshu)
- [`ae539af`](https://redirect.github.com/oxc-project/oxc/commit/ae539af ) linter: Implement no-return-assign ([#​6108](https://redirect.github.com/oxc-project/oxc/issues/6108 )) (Radu Baston)
##### Bug Fixes
- [`00df6e5`](https://redirect.github.com/oxc-project/oxc/commit/00df6e5 ) linter: Friendly diagnostic messages for `no-else-return` ([#​6349](https://redirect.github.com/oxc-project/oxc/issues/6349 )) (DonIsaac)
- [`71ad5d3`](https://redirect.github.com/oxc-project/oxc/commit/71ad5d3 ) linter: `no-else-return` fixer fails when `else` has no trailing whitespace ([#​6348](https://redirect.github.com/oxc-project/oxc/issues/6348 )) (DonIsaac)
- [`9e9808b`](https://redirect.github.com/oxc-project/oxc/commit/9e9808b ) linter: Fix regression when parsing ts in vue files ([#​6336](https://redirect.github.com/oxc-project/oxc/issues/6336 )) (Boshen)
- [`93c6db6`](https://redirect.github.com/oxc-project/oxc/commit/93c6db6 ) linter: Improve docs and diagnostics message for no-else-return ([#​6327](https://redirect.github.com/oxc-project/oxc/issues/6327 )) (DonIsaac)
- [`e0a3378`](https://redirect.github.com/oxc-project/oxc/commit/e0a3378 ) linter: Correct false positive in `unicorn/prefer-string-replace-all` ([#​6263](https://redirect.github.com/oxc-project/oxc/issues/6263 )) (H11)
- [`ea28ee9`](https://redirect.github.com/oxc-project/oxc/commit/ea28ee9 ) linter: Improve the fixer of `prefer-namespace-keyword` ([#​6230](https://redirect.github.com/oxc-project/oxc/issues/6230 )) (dalaoshu)
- [`f6a3450`](https://redirect.github.com/oxc-project/oxc/commit/f6a3450 ) linter: Get correct source offsets for astro files ([#​6196](https://redirect.github.com/oxc-project/oxc/issues/6196 )) (camchenry)
- [`be0030c`](https://redirect.github.com/oxc-project/oxc/commit/be0030c ) linter: Allow whitespace control characters in `no-control-regex` ([#​6140](https://redirect.github.com/oxc-project/oxc/issues/6140 )) (camchenry)
- [`e7e8ead`](https://redirect.github.com/oxc-project/oxc/commit/e7e8ead ) linter: False positive in `no-return-assign` ([#​6128](https://redirect.github.com/oxc-project/oxc/issues/6128 )) (DonIsaac)
##### Performance
- [`ac0a82a`](https://redirect.github.com/oxc-project/oxc/commit/ac0a82a ) linter: Reuse allocator when there are multiple source texts ([#​6337](https://redirect.github.com/oxc-project/oxc/issues/6337 )) (Boshen)
- [`50a0029`](https://redirect.github.com/oxc-project/oxc/commit/50a0029 ) linter: Do not concat vec in `no-useless-length-check` ([#​6276](https://redirect.github.com/oxc-project/oxc/issues/6276 )) (camchenry)
##### Documentation
- [`7ca70dd`](https://redirect.github.com/oxc-project/oxc/commit/7ca70dd ) linter: Add docs for `ContextHost` and `LintContext` ([#​6272](https://redirect.github.com/oxc-project/oxc/issues/6272 )) (camchenry)
- [`a949ecb`](https://redirect.github.com/oxc-project/oxc/commit/a949ecb ) linter: Improve docs for `eslint/getter-return` ([#​6229](https://redirect.github.com/oxc-project/oxc/issues/6229 )) (DonIsaac)
- [`14ba263`](https://redirect.github.com/oxc-project/oxc/commit/14ba263 ) linter: Improve docs for `eslint-plugin-import` rules ([#​6131](https://redirect.github.com/oxc-project/oxc/issues/6131 )) (dalaoshu)
##### Refactor
- [`40932f7`](https://redirect.github.com/oxc-project/oxc/commit/40932f7 ) cfg: Use IndexVec for storing basic blocks ([#​6323](https://redirect.github.com/oxc-project/oxc/issues/6323 )) (DonIsaac)
- [`642725c`](https://redirect.github.com/oxc-project/oxc/commit/642725c ) linter: Rename vars from `ast_node_id` to `node_id` ([#​6305](https://redirect.github.com/oxc-project/oxc/issues/6305 )) (overlookmotel)
- [`8413175`](https://redirect.github.com/oxc-project/oxc/commit/8413175 ) linter: Move shared function from utils to rule ([#​6127](https://redirect.github.com/oxc-project/oxc/issues/6127 )) (dalaoshu)
- [`ba9c372`](https://redirect.github.com/oxc-project/oxc/commit/ba9c372 ) linter: Make jest/vitest rule mapping more clear ([#​6273](https://redirect.github.com/oxc-project/oxc/issues/6273 )) (camchenry)
- [`82b8f21`](https://redirect.github.com/oxc-project/oxc/commit/82b8f21 ) linter: Add schemars and serde traits to AllowWarnDeny and RuleCategories ([#​6119](https://redirect.github.com/oxc-project/oxc/issues/6119 )) (DonIsaac)
- [`ea908f7`](https://redirect.github.com/oxc-project/oxc/commit/ea908f7 ) linter: Consolidate file loading logic ([#​6130](https://redirect.github.com/oxc-project/oxc/issues/6130 )) (DonIsaac)
- [`db751f0`](https://redirect.github.com/oxc-project/oxc/commit/db751f0 ) linter: Use regexp AST visitor in `no-control-regex` ([#​6129](https://redirect.github.com/oxc-project/oxc/issues/6129 )) (camchenry)
- [`3aa7e42`](https://redirect.github.com/oxc-project/oxc/commit/3aa7e42 ) linter: Use RegExp AST visitor for `no-hex-escape` ([#​6117](https://redirect.github.com/oxc-project/oxc/issues/6117 )) (camchenry)
- [`9d5b44a`](https://redirect.github.com/oxc-project/oxc/commit/9d5b44a ) linter: Use regex visitor in `no-regex-spaces` ([#​6063](https://redirect.github.com/oxc-project/oxc/issues/6063 )) (camchenry)
- [`0d44cf7`](https://redirect.github.com/oxc-project/oxc/commit/0d44cf7 ) linter: Use regex visitor in `no-useless-escape` ([#​6062](https://redirect.github.com/oxc-project/oxc/issues/6062 )) (camchenry)
- [`eeb8873`](https://redirect.github.com/oxc-project/oxc/commit/eeb8873 ) linter: Use regex visitor in `no-empty-character-class` ([#​6058](https://redirect.github.com/oxc-project/oxc/issues/6058 )) (camchenry)
##### Testing
- [`d883562`](https://redirect.github.com/oxc-project/oxc/commit/d883562 ) linter: Invalid `eslint/no-unused-vars` options ([#​6228](https://redirect.github.com/oxc-project/oxc/issues/6228 )) (DonIsaac)
### [`v0.9.9`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#099---2024-09-27 )
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.8...oxlint_v0.9.9 )
##### Bug Fixes
- [`01b9c4b`](https://redirect.github.com/oxc-project/oxc/commit/01b9c4b ) npm/oxlint: Make bin/oxc_language_server an executable ([#​6066](https://redirect.github.com/oxc-project/oxc/issues/6066 )) (Boshen)
### [`v0.9.8`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.8 ): oxlint v0.9.8
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.7...oxlint_v0.9.8 )
#### \[0.9.8] - 2024-09-24
##### Bug Fixes
- [`e3c8a12`](https://redirect.github.com/oxc-project/oxc/commit/e3c8a12 ) linter: Fix panic in sort-keys ([#​6017](https://redirect.github.com/oxc-project/oxc/issues/6017 )) (Boshen)
- [`4771492`](https://redirect.github.com/oxc-project/oxc/commit/4771492 ) linter: Fix `import/no_cycle` with `ignoreTypes` ([#​5995](https://redirect.github.com/oxc-project/oxc/issues/5995 )) (Boshen)
##### Performance
- [`5ae3f36`](https://redirect.github.com/oxc-project/oxc/commit/5ae3f36 ) linter: `no-fallthrough`: Use string matching instead of Regex for default comment pattern ([#​6008](https://redirect.github.com/oxc-project/oxc/issues/6008 )) (camchenry)
- [`65d8f9e`](https://redirect.github.com/oxc-project/oxc/commit/65d8f9e ) linter, ast-tools, coverage: Use `FxHashSet` instead of `std::collections::HashSet` ([#​6001](https://redirect.github.com/oxc-project/oxc/issues/6001 )) (Cam McHenry)
- [`2b17003`](https://redirect.github.com/oxc-project/oxc/commit/2b17003 ) linter, prettier, diagnostics: Use `FxHashMap` instead of `std::collections::HashMap` ([#​5993](https://redirect.github.com/oxc-project/oxc/issues/5993 )) (camchenry)
### [`v0.9.7`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#097---2024-09-23 )
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.6...oxlint_v0.9.7 )
##### Refactor
- [`ba7b01f`](https://redirect.github.com/oxc-project/oxc/commit/ba7b01f ) linter: Add `LinterBuilder` ([#​5714](https://redirect.github.com/oxc-project/oxc/issues/5714 )) (DonIsaac)
</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:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-10-11 10:13:38 +00:00
forehalo
1d75d97a8f
fix(server): handle hanging workspace after user account deleted ( #8377 )
...
fix CLOUD-74
2024-09-25 06:16:32 +00:00
forehalo
2cabc2dd50
fix(server): sign out
2024-09-20 16:32:04 +08:00
forehalo
4eb4c23e4a
feat(server): manage auth cookies ( #8317 )
2024-09-20 06:37:11 +00:00
forehalo
260104c933
fix(server): renderer path ( #8305 )
2024-09-19 08:16:13 +00:00
forehalo
03ac9bc4a1
chore(server): enable renderer for all deployment ( #8283 )
2024-09-19 02:34:57 +00:00
forehalo
1d7932851e
chore: remove type module in scripts ( #8240 )
...
fix AF-1385
2024-09-13 09:21:29 +00:00
darkskygit
95738e796f
fix: client captcha ( #8186 )
2024-09-10 09:34:21 +00:00
Brooooooklyn
fe1eefdbb2
feat: init renderer server ( #8088 )
2024-09-10 04:03:59 +00:00
forehalo
0add8917f9
feat(server): enable share og information for docs ( #7794 )
2024-09-10 04:03:52 +00:00
forehalo
32f673fa3d
perf(server): index lower user email ( #8167 )
2024-09-09 04:43:59 +00:00
darkskygit
2a135d8a93
feat: add index for snapshots ( #8163 )
2024-09-08 13:49:41 +00:00
forehalo
87e9ff01b5
perf(server): avoid filter doc snapshot by non-indexed updatedAt ( #8160 )
2024-09-08 12:03:55 +00:00
forehalo
64d2b926a2
fix(server): remove default auth redirect url ( #8140 )
2024-09-06 06:26:59 +00:00
EYHN
f4db4058f8
feat(core): make permission and invoice offline available ( #8123 )
2024-09-05 15:11:27 +00:00
darkskygit
935771c8a8
feat(server): make captcha modular ( #5961 )
2024-09-03 09:03:51 +00:00
forehalo
8b0afd6eeb
refactor(server): auth ( #7994 )
2024-09-03 09:03:39 +00:00
darkskygit
d93d39e29d
feat: add editor record ( #7938 )
...
fix CLOUD-58, CLOUD-61, CLOUD-62, PD-1607, PD-1608
2024-09-02 09:37:39 +00:00
darkskygit
dde45748d9
feat: filter out empty workpace in sidebar list ( #7960 )
...
fix PD-1567
2024-08-28 08:43:44 +00:00
Don Isaac
dbcfd24ed8
fix: remove unused variables ( #7968 )
2024-08-26 14:23:56 +08:00
forehalo
14066965fa
fix(server): wrong table used for userspace data ( #7969 )
2024-08-26 06:11:22 +00:00
forehalo
e20bdbf925
feat(server): make server storage adapters ( #7902 )
2024-08-21 05:30:26 +00:00
forehalo
6f9f579e5d
feat(server): make an abstraction for ydoc storage ( #7901 )
2024-08-21 05:30:23 +00:00
forehalo
682a01e441
feat(server): make a singleton global mutex service ( #7900 )
2024-08-21 05:30:19 +00:00
forehalo
624f3514fc
feat(server): make permission a standalone module ( #7880 )
2024-08-15 10:01:52 +00:00
forehalo
9192ac4420
fix(server): command line nestjs does not have http adapter ( #7876 )
2024-08-14 13:41:23 +00:00
liuyi
57449c1530
fix(server): redirect to setup page if not initialized ( #7875 )
2024-08-14 21:02:16 +08:00
forehalo
cd3924b8fc
Revert "fix(server): redirect to setup page if not initialized ( #7871 )"
...
This reverts commit 42b5ef7a8b .
2024-08-14 16:37:52 +08:00
liuyi
42b5ef7a8b
fix(server): redirect to setup page if not initialized ( #7871 )
2024-08-14 08:05:55 +00:00
forehalo
0ba516866f
fix(server): change password with token should be public ( #7855 )
2024-08-14 03:34:35 +00:00
DarkSky
24c34eb3fc
fix: admin panel schema ( #7851 )
2024-08-13 09:16:56 +00:00
forehalo
0ec1995add
fix(admin): organize admin panel ( #7840 )
2024-08-13 14:51:54 +08:00
JimmFly
ccf225c8f9
feat(admin): add self-host setup and user management page ( #7537 )
2024-08-13 06:11:03 +00:00
forehalo
f2eafc374c
feat(server): authenticate user before ws connected ( #7777 )
2024-08-08 08:30:56 +00:00
forehalo
4ec89ebd69
chore(server): standardize server db names and columns ( #7674 )
2024-07-31 07:59:23 +00:00
liuyi
fcf0ecbaa2
feat(server): runtime service config ( #7644 )
2024-07-30 14:58:24 +08:00
forehalo
25b74467ce
fix(server): create dev user ( #7592 )
2024-07-24 10:01:53 +00:00
forehalo
dddbfe6473
feat(server): setup api for selfhost deployment ( #7569 )
2024-07-23 10:39:34 +00:00
forehalo
de91027852
feat(server): support lifetime subscription ( #7405 )
...
closes CLOUD-48
- [x] lifetime subscription quota
- [ ] tests
2024-07-08 07:41:26 +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
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
darkskygit
928e133655
fix: customer create at ( #7132 )
2024-06-05 08:01:12 +00:00
forehalo
06534bbc06
chore(server): register user management resolver ( #7118 )
2024-06-03 06:52:19 +00:00
forehalo
bffbb1ea9f
feat(server): add users management api ( #7092 )
2024-05-29 08:02:26 +00:00
darkskygit
1a269a4b52
fix: missing quota resolver ( #7094 )
2024-05-28 12:05:49 +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