Commit Graph

233 Commits

Author SHA1 Message Date
Nathan.fooo 559d924cd1
feat: stream chat message (#577)
* chore: save author id

* chore: stream response

* chore: stream chat message
2024-05-26 22:44:08 +08:00
Nathan.fooo ae3e075475
chore: Integrate with client-api, update chat message (#574)
* chore: update

* chore: get chat message with next back option

* chore: update next back

* chore: return answer

* chore: return answer

* chore: return answer

* chore: update client api

* chore: fix ci
2024-05-24 15:04:50 +08:00
Nathan.fooo 4eb1e6bceb
chore: generate history using redis steam (#570)
* chore: combine test

* chore: add snapshot test

* chore: add test
2024-05-23 07:57:20 +08:00
Nathan.fooo 05e7f1cda7
Integrate ai chat (#569)
* chore: fix compile

* chore: implement client api

* chore: implement client api

* chore: clippy
2024-05-22 11:18:07 +08:00
Nathan.fooo 5f126375ed
chore: separate client api (#567) 2024-05-21 12:20:15 +08:00
Kilu.He 27cb3d01d5
feat: add get user workspace (#526)
* feat: add get user workspace

* feat: support batch get collab

* fix: decode batch collab

* fix: modified the method of batch_get_collab to post

* fix: modified a private function for batch collab

* fix: warning
2024-05-21 10:08:09 +08:00
Nathan.fooo 2fae260e4f
chore: complete text endpoints (#557)
* chore: complete text endpoints
2024-05-16 22:48:44 +08:00
Nathan.fooo 4c00ddd593
chore: Chat history (#546)
* chore: imple sql curd

* chore: update chat

* chore: select messages

* chore: update test

* chore: update schema

* chore: update
2024-05-11 20:41:21 +08:00
Nathan.fooo ef8e6f360f
chore: try to fix ws token error (#530)
* chore: try to fix ws token error

* chore: fix compile

* chore: bump version number

* chore: update

* chore: update

* ci: fix test
2024-05-07 16:45:12 +08:00
Bartosz Sypytkowski 47e6f1e8b1
Update Yrs and AppFlowy-Collab (#518)
* chore: updated collab dependencies to v0.2

* chore: update collab to v0.2 and yrs to v0.18

* chore: pinned collab to specific revision

* chore: fix clippy errors

* chore: update commit id

---------

Co-authored-by: nathan <nathan@appflowy.io>
2024-05-06 11:30:02 +08:00
Nathan.fooo 5bebc6a2b2
chore: Integrate appflowy ai (#504)
* chore: remove client api

* chore: add summarize row test

* chore: merge main

* chore: fix ci

* chore: update docker compose file
2024-04-29 22:23:40 +08:00
Nathan.fooo 7b4b9d0c10
chore: folder data check (#496)
* chore: folder data check

* chore: stop observe remote change when specific type of collaboration object override with incorrect data

* chore: commit sqlx file
2024-04-26 13:20:06 +08:00
Nathan.fooo 54dfeb5527
chore: stop retry when current plugin is going to destory (#495) 2024-04-25 20:27:11 +08:00
Nathan.fooo a0593b5502
chore: refactor return response with object id (#494)
* chore: refactor return response with object id

* chore: fix ci

* chore: fix ci
2024-04-24 12:07:54 +08:00
Nathan.fooo 5f970a625a
chore: use rust 1.77 (#493) 2024-04-24 10:47:18 +08:00
Nathan.fooo 842e3d14e5
chore: remove collab state check (#487)
* chore: remove collab ping

* chore: fix tst

* chore: cacel previous actiont
2024-04-22 11:56:22 +08:00
Nathan.fooo db23b64229
chore: broadcast check (#485)
* chore: check broadcast continuous

* chore: update log

* chore: update log
2024-04-21 19:31:24 +08:00
Nathan.fooo 0de64f4f71
chore: enable multiple thread of collab-rt crate (#484) 2024-04-21 19:09:16 +08:00
Nathan.fooo 1515ccdb80
chore: fix encode message (#482) 2024-04-21 14:23:31 +08:00
Nathan.fooo 123484c864
chore: sync missing update from vector (#481) 2024-04-20 20:50:16 +08:00
Nathan.fooo 9e1c06a5af
chore: update log (#480) 2024-04-20 10:53:35 +08:00
Nathan.fooo 4d36f7e9e6
chore: fix potential sync issue (#474)
* chore: retry for handle message

* chore: retry when tring to lock the collab
2024-04-16 20:07:47 +08:00
Nathan.fooo 0be4d2d5b5
ci: try to fix flaky test (#473)
* chore: update ping config

* chore: fix test

* chore: fix test
2024-04-16 18:20:36 +08:00
Kilu.He 5041f9f164
feat: support subscribe token (#464)
* feat: support subscribe token

* feat: support get collab

* feat: support browser rule for get collab

* fix: update collab version
2024-04-15 14:46:30 +08:00
Zack 9a5636caec
chore: get collab http (#463)
* chore: get collab http

* fix: use correct version

* fix: collab url

* feat: update collab access control middleware
2024-04-12 11:08:38 +08:00
Lucas.Xu 85ac96a24b chore: add comment for sign_in_with_magic_link 2024-04-10 11:07:14 +08:00
Lucas.Xu 09469e86ca feat: expose magic link api 2024-04-10 10:15:50 +08:00
Nathan.fooo b1c3d779ba
chore: reduce save collab db operations (#455)
* chore: reduce save collab db operations

* chore: clippy

* chore: add test

* chore: add test

* chore: add test
2024-04-08 14:50:51 +08:00
nathan 4c00236069 chore: enable logs in client api 2024-04-07 16:31:56 +08:00
Nathan.fooo b1a6338527
refactor: actix-ws (#453)
* chore: deduplicate ws message

* chore: remove retry when sending client ws message

* chore: prepare client/server actor test
2024-04-07 12:43:29 +08:00
Nathan.fooo bdee9fa8dc
feat: add feature brotli (#452)
* feat: add feature brotli

* chore: update reqwest version

* chore: update actix-http

* chore: fix wasm build
2024-04-06 16:43:38 +08:00
Nathan.fooo 01f1af98f5
chore: wrapper for collab (#448)
* chore: wrapper for collab

* chore: add tests

* chore: fix audit

* chore: init sync

* chore: disable wasm user test

* chore: disable encode state when start

* chore: fix test
2024-04-05 11:30:00 +08:00
nathan aa4df32f6d chore: update logs 2024-04-04 09:47:40 +08:00
Zack Fu Zi Xiang 8e27e94804
chore: replace test using invite and accept workspace 2024-04-04 00:03:36 +08:00
Nathan.fooo c77329ea11
chore: encode collab with validate check (#439)
* chore: bump collab

* chore: fix test

* chore: fix test
2024-04-03 09:07:35 +08:00
Nathan.fooo 12d72fa233
chore: client api init sync (#438)
* chore: implement init sync for sync plugin

* chore: bump collab

* chore: bump collab

* chore: fix test
2024-04-02 23:08:15 +08:00
nathan 1101c9d72a chore: update logs 2024-04-02 20:10:22 +08:00
Nathan.fooo fbadca759a
chore: retry with exponentail back off (#437) 2024-04-02 09:24:23 +08:00
Nathan.fooo a18b3d7886
feat: using pending to determine init sync or not (#435)
* chore: optimize sync

* chore: optimize sync

* chore: add test

* chore: update collab commit id

* chore: update

* chore: fix ci
2024-04-01 21:59:41 +08:00
Nathan.fooo 5a06cb3278
feat: get collab retry (#434)
* chore: retry when fetch collab doc state

* chore: fix test

* chore: disable log

* chore: fix client api build

* chore: log

* chore: try invite and acccept

* chore: add todo

* chore: update ci
2024-04-01 09:39:02 +08:00
Nathan.fooo 6c96d05e2f
feat: introduce custom function in casbin model that supports compari… (#433)
* feat: introduce custom function in casbin model that supports comparing role or level

* chore: update

* chore: log

* chore: log

* chore: remove cache
2024-03-31 19:54:41 +08:00
Nathan.fooo 0821c052f9
chore: enable feature log for client api (#430)
* chore: enable feature log for client api

* chore: fix ci
2024-03-30 15:39:34 +08:00
Nathan.fooo d77fb77a3a
feat: validate collab data before writing to disk (#425)
* chore: validate collab

* chore: update test

* chore: partition key

* chore: save collab

* chore: save collab
2024-03-29 14:55:51 +08:00
Nathan.fooo 4fc18d8615
feat: ping collab (#424)
* chore: ping

* chore: update test

* chore: fix test

* chore: ping

* ci: build cache

* chore: sync state

* chore: sync state

* tests: disable read only test
2024-03-28 21:15:14 +08:00
Nathan.fooo cd9fc34465
refactor: crate folder (#423)
* refactor: crate folder

* chore: update docs

* chore: clippy
2024-03-28 11:06:14 +08:00
Nathan.fooo d30cf93a1f
feat: sync protocol (#421)
* chore: send full update when it's first time to sync

* chore: update last sync at
2024-03-27 21:39:47 +08:00
Nathan.fooo 6aa05b97d3
chore: metrics for realtime edit (#415)
* refactor: separate group code from rt server

* chore: separate group state

* chore: fix test

* chore: drop group

* chore: update metrics

* chore: metrics for realtime edit

* chore: update project config

* ci: fix test
2024-03-26 13:35:13 +08:00
Nathan.fooo d4e45efd6a
chore: bump collab commit (#417)
* chore: bump collab rev

* chore: bump collab commit

* chore: custome decode ack code
2024-03-25 16:14:49 +08:00
Nathan.fooo 51ecdd664e
chore: lower tick interval when message is empty (#416)
* chore: lower tick interval when message is empty

* chore: update logs
2024-03-24 21:34:19 +08:00
Nathan.fooo acc13414cf
feat: sync deduplicate (#412)
* chore: update logs

* chore: update logs

* chore: deduplicate messages

* chore: optimize sync interval

* chore: fmt

* ci: test

* chore: clippy

* chore: clippy
2024-03-24 07:30:05 +08:00