darkskygit
fbb6df3da8
chore(server): return parent id of sessions ( #10638 )
2025-03-05 14:03:36 +00:00
fengmk2
43ded6aa38
feat(server): add blocked state to workspace docs ( #10585 )
...
close CLOUD-162
2025-03-05 12:49:33 +00:00
liuyi
61162c59fc
refactor(server): permission ( #10449 )
2025-03-05 15:57:00 +08:00
fengmk2
b88113a2d1
feat(server): add invalid oauth callback code error handling ( #10603 )
...
close CLOUD-130
2025-03-05 06:16:59 +00:00
darkskygit
985906aa13
feat(server): copilot session prompt query ( #10479 )
2025-02-27 11:25:52 +00:00
DarkSky
fa86f71853
feat(server): client version check ( #9205 )
...
Co-authored-by: forehalo <forehalo@gmail.com >
2025-02-20 15:50:22 +08:00
forehalo
02f567f2c0
chore(core): better doc action error message ( #10288 )
2025-02-19 10:38:38 +00:00
fengmk2
57213781a8
refactor(server): dont convert graphql bad request into internal server error ( #10203 )
2025-02-17 06:17:00 +00:00
darkskygit
42e0563d2e
feat: filter out session create request for root doc ( #10187 )
2025-02-14 11:14:57 +00:00
akumatus
1bf1832211
refactor(core): get copilot sessions api ( #10168 )
...
Fix issue [BS-2575](https://linear.app/affine-design/issue/BS-2575 ).
### What Changed?
- Refactor `getCopilotSessions` api.
- Add `docId` parameter.
- Add `action` parameter.
2025-02-14 06:57:58 +00:00
akumatus
79d5f55471
feat(core): move context docs to user prompt ( #10162 )
...
Fix issue [BS-2522](https://linear.app/affine-design/issue/BS-2522 ).
### Why make this change?
If the user data contains illegal content, carrying the user data in the system prompt will run the risk of having the account banned.
### What Changed?
- Move the `Context Documents` to the user prompt.
- Add `withPrompt` in `QueryChatHistoriesInput` options.
- Get chat histories without prompt messages.
- Omit document context when saving messages to the `aiSessionMessage` db.
2025-02-13 12:08:13 +00:00
akumatus
58fed5928b
feat: add doc copilot context api ( #10103 )
...
### What Changed?
- Add graphql APIs.
- Provide context and session service in `AIProvider`.
- Rename the state from `embedding` to `processing`.
- Reafctor front-end session create, update and save logic.
Persist the document selected by the user:
[录屏2025-02-08 11.04.40.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/195a85f2-43c4-4e49-88d9-6b5fc4f235ca.mov " />](https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/195a85f2-43c4-4e49-88d9-6b5fc4f235ca.mov )
2025-02-12 08:33:07 +00:00
forehalo
53fdb1e8a5
refactor(server): workspace doc query ( #10042 )
2025-02-12 08:13:07 +00:00
DarkSky
88a3a2d13b
feat(server): self-hosted worker ( #10085 )
2025-02-12 08:01:57 +08:00
darkskygit
a725df6ebe
feat(server): basic context api ( #10056 )
...
fix CLOUD-97
fix CLOUD-98
2025-02-11 10:45:01 +00:00
forehalo
0b9d30b55a
refactor: rename all page query to doc ( #10019 )
2025-02-07 11:40:59 +00:00
forehalo
4b1c931503
fix(server): default page owner ( #10015 )
2025-02-07 07:31:56 +00:00
forehalo
12cc94f32a
fix(server): batch grant page roles ( #10007 )
2025-02-07 05:55:07 +00:00
liuyi
00b1f01f9b
feat(server): add public user type ( #10006 )
2025-02-07 04:03:59 +00:00
Brooooooklyn
41107eafae
feat(server): allow to set default role in page ( #9963 )
2025-02-06 17:18:50 +00:00
forehalo
7c7febd495
refactor(server): remove never used column in page permission ( #9985 )
2025-02-06 10:52:05 +00:00
forehalo
d3843d8f11
refactor(server): role actions definition ( #9962 )
2025-02-06 04:54:34 +00:00
forehalo
7826e2b7c8
refactor(server): use feature model ( #9932 )
2025-02-05 10:27:26 +00:00
Brooooooklyn
abeff8bb1a
feat(server): doc level permission ( #9760 )
...
close CLOUD-89 CLOUD-90 CLOUD-91 CLOUD-92
2025-02-05 07:06:57 +00:00
forehalo
85434fe309
feat(server): search user in workspace ( #9870 )
2025-01-23 08:09:17 +00:00
forehalo
994d758c07
feat(server): support selfhost licenses ( #8947 )
2025-01-22 10:21:07 +00:00
akumatus
58ce86533e
feat(core): support ai network search ( #9357 )
...
### What Changed?
- Add `PerplexityProvider` in backend.
- Update session prompt name if user toggle network search mode in chat panel.
- Add experimental flag for AI network search feature.
- Add unit tests and e2e tests.
Search results are streamed and appear word for word:
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov ">录屏2024-12-27 18.58.40.mov</video>
Click the little globe icon to manually turn on/off Internet search:
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov ">录屏2024-12-27 19.01.16.mov</video>
When there is an image, it will automatically switch to the openai model:
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov ">录屏2024-12-27 19.02.13.mov</video>
2025-01-09 04:00:59 +00:00
darkskygit
aacdb71ee2
feat(server): role changed email ( #9227 )
2024-12-23 10:13:04 +00:00
darkskygit
27d4aa7ca7
test(server): add more test for team workspace ( #9182 )
2024-12-17 08:42:19 +00:00
darkskygit
cdb55a3393
chore(server): filter out some logs ( #9059 )
2024-12-12 09:19:48 +00:00
darkskygit
69e5997608
feat(server): team mail sender ( #9104 )
...
fix AF-1914
2024-12-12 07:33:32 +00:00
DarkSky
9b0f1bb293
feat(server): improve team invite ( #9092 )
2024-12-11 18:00:49 +08:00
forehalo
2f80b4f822
feat(nbstore): add cloud implementation ( #8810 )
2024-12-10 10:48:27 +00:00
JimmFly
612310bc26
feat(core): impl team workspace ( #8920 )
...
AF-1738 AF-1735 AF-1731 AF-1721 AF-1717 AF-1736 AF-1727 AF-1719 AF-1877
UI for team workspaces :
- add upgrade to team & successful upgrade page ( `/upgrade-to-team` & `/upgrade-success/team`)
- update team plans on pricing page ( settings —> pricing plans )
- update reaching the usage/member limit modal
- update invite member modal
- update member CRUD options
2024-12-10 06:31:36 +00:00
forehalo
5d25580eff
chore(graphql): update schema
2024-12-10 14:31:03 +08:00
DarkSky
9365958a02
feat(server): team quota ( #8955 )
2024-12-09 18:51:54 +09:00
forehalo
5bf8ed1095
feat(server): support team workspace subscription ( #8919 )
...
close AF-1724, AF-1722
2024-12-05 08:31:01 +00:00
forehalo
4055e3aa67
refactor(server): payment service ( #8906 )
2024-12-05 08:31:00 +00:00
darkskygit
eb64231899
feat(server): improve logs ( #8977 )
2024-12-03 06:47:17 +00:00
darkskygit
efee4dfd66
feat: use date fixed model name ( #8621 )
...
fix CLOUD-81
2024-10-29 07:31:23 +00:00
forehalo
69fb5c06f4
feat(server): support onetime payment subscription ( #8369 )
2024-10-10 10:12:40 +00:00
forehalo
0add8917f9
feat(server): enable share og information for docs ( #7794 )
2024-09-10 04:03:52 +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
forehalo
e20bdbf925
feat(server): make server storage adapters ( #7902 )
2024-08-21 05:30:26 +00:00
forehalo
624f3514fc
feat(server): make permission a standalone module ( #7880 )
2024-08-15 10:01:52 +00:00
forehalo
0ba516866f
fix(server): change password with token should be public ( #7855 )
2024-08-14 03:34:35 +00:00