darkskygit
10605b3793
fix(server): nullable value for parent id ( #10725 )
2025-03-12 03:53:33 +00:00
EYHN
ea07aa8607
feat(core): add notification list ( #10480 )
2025-03-11 06:23:33 +00:00
EYHN
4677049b5c
feat(core): add public user service ( #10695 )
2025-03-07 08:00:27 +00:00
fengmk2
4446100150
fix(server): correct "Administrators" typo in permissions ( #10690 )
2025-03-07 07:13:36 +00:00
forehalo
e02fb4fa94
refactor(core): standardize frontend error handling ( #10667 )
2025-03-06 13:10:18 +00:00
liuyi
7e61a0b2fc
refactor(graphql): codegen ( #10626 )
2025-03-06 12:06:19 +08:00
darkskygit
fbb6df3da8
chore(server): return parent id of sessions ( #10638 )
2025-03-05 14:03:36 +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
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
35cbbb3c4b
fix(core): ai context gql file ( #10145 )
2025-02-13 06:57:12 +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
EYHN
92f4f0c2d9
feat(core): guard service ( #9816 )
2025-02-09 23:26:38 +00:00
JimmFly
5ae5fd88f1
feat(core): add doc grant feature to share menu ( #9672 )
2025-02-07 13:05:58 +00:00
forehalo
0b9d30b55a
refactor: rename all page query to doc ( #10019 )
2025-02-07 11:40:59 +00:00
JimmFly
e68bdbde3e
feat(core): add self host team plan ( #9569 )
2025-02-07 03:35:24 +00:00
forehalo
7826e2b7c8
refactor(server): use feature model ( #9932 )
2025-02-05 10:27:26 +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
6d5733fca9
fix: ios client gql compatibility ( #9337 )
2024-12-26 10:40:12 +00:00
liuyi
2443935830
chore: add monorepo tools ( #9196 )
2024-12-24 15:29:48 +08:00
darkskygit
aacdb71ee2
feat(server): role changed email ( #9227 )
2024-12-23 10:13:04 +00:00
JimmFly
7ff24e9c1c
fix(core): adjust admin permission ( #9204 )
...
close AF-2001 AF-2002
2024-12-20 02:26:17 +00:00
darkskygit
27d4aa7ca7
test(server): add more test for team workspace ( #9182 )
2024-12-17 08:42:19 +00:00
darkskygit
76f2c31e46
fix(core): gql file upload ( #9134 )
2024-12-12 14:38:09 +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
JimmFly
4eb31444a9
fix(core): optimize upgrade to team page ( #9099 )
2024-12-11 17:59:46 +08:00
forehalo
2f80b4f822
feat(nbstore): add cloud implementation ( #8810 )
2024-12-10 10:48:27 +00:00
JimmFly
0a7a2c3083
feat(core): add workspace billing ( #9043 )
2024-12-10 06:31:36 +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
pengx17
b378af5ade
feat(core): at menu ux ( #9045 )
...
fix AF-1843
2024-12-06 08:50:13 +00: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
pengx17
e4f94c7e3f
fix(mobile): progress styles ( #9001 )
...
fix AF-1875, fix AF-1878, fix AF-1879
2024-12-04 06:56:34 +00:00
EYHN
6b4a1aa917
refactor(core): initial multiple servers infra ( #8745 )
...
This is the initial refactoring of affine to support multiple servers, but many more changes are needed to make multi-server actually work.
2024-11-27 06:44:46 +00:00
forehalo
1a1041712f
feat(core): track signin failed reason ( #8746 )
...
fix AF-1568
2024-11-08 10:34:15 +00:00
pengx17
4f16e22f5b
fix(electron): add missing configureAppThemeModule to shell ( #8656 )
2024-11-01 07:23:37 +00:00
EYHN
db374f7feb
feat(core): build config for ios android ( #8555 )
2024-10-21 05:39:04 +00:00
CatsJuice
29a31110cd
feat(core): onetime subscription ui ( #8462 )
2024-10-10 10:12:43 +00:00
forehalo
69fb5c06f4
feat(server): support onetime payment subscription ( #8369 )
2024-10-10 10:12:40 +00:00
forehalo
a387e4ac07
refactor: migrate environment to BUILD_CONFIG ( #8206 )
2024-09-13 07:58:20 +00:00