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 |
|
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 |
|
liuyi
|
268ca03f62
|
fix(server): ensure selfhost admin created after all data migrated (#6163)
fix #6154
cp to canary
|
2024-03-18 11:43:12 +08:00 |
|
liuyi
|
e94be8968b
|
fix(server): hotfix (#6161)
|
2024-03-18 10:41:11 +08:00 |
|
LongYinan
|
bc465f9704
|
Revert "fix(server): wrap read-modify-write apis with distributed lock (#5979)"
This reverts commit 34f892b05b.
|
2024-03-15 16:55:48 +08:00 |
|
DarkSky
|
34f892b05b
|
fix(server): wrap read-modify-write apis with distributed lock (#5979)
|
2024-03-15 13:31:11 +08:00 |
|
liuyi
|
533c181640
|
feat(server): cleanup gateway code (#6118)
|
2024-03-15 02:00:40 +00:00 |
|
liuyi
|
79ffca314d
|
feat(server): allow prefetch doc stats before sync (#6115)
|
2024-03-14 17:34:33 +00:00 |
|
Peng Xiao
|
dd9a253772
|
feat(core): add split view to experimental features settings (#6093)
|
2024-03-14 05:13:04 +00:00 |
|
liuyi
|
c5d8c6cc8c
|
fix(server): blob api should be public (#6109)
|
2024-03-14 02:36:13 +00:00 |
|
DarkSky
|
282b788258
|
fix: allow empty mailer password (#6066)
fix #6046
smtp relay may allow empty password, although this is usually not safe
|
2024-03-13 10:07:18 +00:00 |
|
liuyi
|
f2ec81b2d0
|
feat(server): user connected accounts migration (#6103)
|
2024-03-13 09:28:52 +00:00 |
|
liuyi
|
573528be41
|
fix(server): user can not signup through oauth if ever invited (#6101)
|
2024-03-13 07:50:11 +00:00 |
|
liuyi
|
495855cc07
|
fix(server): server info api should be public (#6098)
|
2024-03-13 03:59:26 +00:00 |
|
liuyi
|
fb3a0e7b8f
|
refactor(server): auth (#5895)
Remove `next-auth` and implement our own Authorization/Authentication system from scratch.
## Server
- [x] tokens
- [x] function
- [x] encryption
- [x] AuthController
- [x] /api/auth/sign-in
- [x] /api/auth/sign-out
- [x] /api/auth/session
- [x] /api/auth/session (WE SUPPORT MULTI-ACCOUNT!)
- [x] OAuthPlugin
- [x] OAuthController
- [x] /oauth/login
- [x] /oauth/callback
- [x] Providers
- [x] Google
- [x] GitHub
## Client
- [x] useSession
- [x] cloudSignIn
- [x] cloudSignOut
## NOTE:
Tests will be adding in the future
|
2024-03-12 10:00:09 +00:00 |
|
Peng Xiao
|
1c5279747b
|
fix(server): migration script running on windows (#6077)
|
2024-03-12 16:19:48 +08:00 |
|
Peng Xiao
|
83e1217f61
|
fix(server): server startup on windows (#6071)
|
2024-03-12 06:41:42 +00:00 |
|
DarkSky
|
3432f355b0
|
feat: backend module awareness & optional request (#5909)
|
2024-02-28 08:29:37 +00:00 |
|
liuyi
|
a38f7ee252
|
fix(server): sender passed to nextauth is never used (#5938)
|
2024-02-28 05:44:25 +00:00 |
|
liuyi
|
540d079308
|
ci: fix selfhost (#5920)
## **Type**
enhancement
___
## **Description**
- Introduced a new ESM module resolution setup using `ts-node` to enhance the development and deployment process.
- Implemented a dynamic loader script registration mechanism to facilitate ESM module loading.
- Simplified the predeploy script execution by refining environment variable handling and stdout configuration.
- Updated `package.json` to reflect changes in script commands for better ESM support and added necessary dependencies for `ts-node` and `typescript`.
___
## **Changes walkthrough**
<table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>loader.js</strong><dd><code>Introduce ESM Module Resolution via ts-node</code> </dd></summary>
<hr>
packages/backend/server/scripts/loader.js
<li>Introduced <code>ts-node</code> configuration for ESM module resolution.<br> <li> Exported a <code>resolve</code> function for module resolution.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5920/files#diff-9ed793897a493633028d510db0742ff38d2d86471c54b17513d4354c51597ef8">+11/-0</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>register.js</strong><dd><code>Implement Dynamic Loader Script Registration</code> </dd></summary>
<hr>
packages/backend/server/scripts/register.js
<li>Implemented dynamic registration of the loader script.<br> <li> Utilized <code>node:module</code> and <code>node:url</code> for script registration.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5920/files#diff-64831012a09f2bc4bc5a611ddb8e0871b0e83588de6c5d4f2f5cb1dae8fff244">+4/-0</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>self-host-predeploy.js</strong><dd><code>Simplify Predeploy Script Execution</code> </dd></summary>
<hr>
packages/backend/server/scripts/self-host-predeploy.js
<li>Simplified environment variable passing to <code>execSync</code>.<br> <li> Changed stdout handling to inherit from the parent process.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5920/files#diff-bd7b0be14c198018c21dadda6945a779c57d13e4c8584ee62da4baa99d370664">+3/-5</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>package.json</strong><dd><code>Update Scripts and Dependencies for ESM Support</code> </dd></summary>
<hr>
packages/backend/server/package.json
<li>Updated script commands for ESM compatibility.<br> <li> Added <code>ts-node</code> and <code>typescript</code> dependencies.<br> <li> Removed redundant <code>--es-module-specifier-resolution=node</code> flags.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5920/files#diff-a6530c6fe539aaa49ff0a7a80bc4362c1d95c419fdd19125415dcc869b31a443">+6/-6</a> </td>
</tr>
</table></td></tr></tr></tbody></table>
___
> ✨ **PR-Agent usage**:
>Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions
|
2024-02-27 07:22:21 +00:00 |
|