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
forehalo
aff166a0ef
feat(server): add administrator feature ( #6995 )
2024-05-27 11:17:21 +00:00
darkskygit
0302a85585
feat: add customer event ( #7029 )
2024-05-24 08:40:33 +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
8881286025
chore: adjust log level ( #6913 )
2024-05-14 09:32:29 +00:00
renovate
0912fe113f
chore: bump up oxlint version to v0.3.2 ( #6763 )
...
[](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 ) | [](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.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): [@​typescript-eslint/prefer-literal-enum-member](https://togithub.com/typescript-eslint/prefer-literal-enum-member ) by [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​leaysgur](https://togithub.com/leaysgur ) in [https://github.com/oxc-project/oxc/pull/3147 ](https://togithub.com/oxc-project/oxc/pull/3147 )
#### New Contributors
- [@​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
forehalo
d657f4091a
fix(server): do not allow registration through gql ( #6775 )
2024-05-06 11:11:57 +00:00
darkskygit
13f40f435d
feat: improve query performence ( #6764 )
2024-05-06 09:12:04 +00:00
forehalo
cebb841430
feat(server): add flag to disable new sign ups ( #6752 )
2024-04-30 15:19:30 +00:00
forehalo
a14194c482
fix(server): blob controller permission ( #6746 )
2024-04-30 03:47:00 +00:00
forehalo
3297486e31
fix(server): skip throttle for currentUser ( #6700 )
2024-04-25 09:45:31 +00:00
forehalo
e8bcb75602
fix(server): use post request to consume magic link token ( #6656 )
2024-04-22 07:15:26 +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
b3b9e9a056
chore: cleanup outdated api ( #6604 )
2024-04-18 14:42:46 +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
liuyi
e53d5e2e3d
chore(server): clean up throttler ( #6326 )
2024-04-17 16:32:26 +08:00
EYHN
06fda3b62c
feat(infra): framework
2024-04-17 15:09:09 +08:00
forehalo
e1c292b8b5
feat(server): support registering ai early access users ( #6565 )
2024-04-16 13:54:08 +00:00
darkskygit
1b0864eb60
feat: check quota correctly ( #6561 )
2024-04-16 09:41:48 +00:00
EYHN
9e7a2fcf0e
feat(server): add pro quota to dev user ( #6532 )
2024-04-12 06:45:18 +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
forehalo
2dc628eca5
fix(server): doc cache makes publish mode updating failed ( #6444 )
2024-04-03 03:34:01 +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
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
liuyi
4f5907766f
fix(server): decode uri component before verify token ( #6231 )
2024-03-20 18:17:11 +08:00
liuyi
797e3c5b35
fix(server): do not force sign in password length ( #6188 )
...
hotfix
2024-03-19 10:58:34 +08:00
DarkSky
f18133af82
fix(server): wrap read-modify-write apis with distributed lock ( #6142 )
2024-03-19 02:16:24 +00:00
liuyi
a4cd8d6ca3
chore(server): organize server configs ( #6169 )
2024-03-19 02:05:56 +00:00
liuyi
a721b3887b
fix(server): hotfix auth & doc push ( #6168 )
2024-03-18 16:32:35 +08:00