Commit Graph

56 Commits

Author SHA1 Message Date
Zack Fu Zi Xiang a4d4e71048
fix: server logs if error 2024-12-09 21:55:35 +08:00
Nathan.fooo 016c7ed569
ci: remove test image and then check response (#1037) 2024-12-03 14:58:31 +08:00
Nathan.fooo 3e3bf693fd
chore: upload api endpoint for web upload (#1024)
* chore: upload api endpoint for web upload

* chore: use rust 1.78

* fix: test
2024-11-28 09:09:09 +08:00
Nathan.fooo fd98351473
chore: adjust redis env (#1003) 2024-11-17 14:26:59 +08:00
Nathan.fooo 655f13bc27
chore: search and chat (#999)
* chore: add test for search and chat

* chore: update test

* chore: update test

* chore: update ci

* chore: fix security audio

* chore: multiple core docker build

* chore: multiple core docker build

* chore: update ci

* chore: update model setting

* chore: test ci

* chore: use tiktoken to calcualte token length

* chore: remove env

* chore: use spawn_blocking with condition

* chore: docs

* chore: clippy

* chore: clippy

* chore: docker logs

* chore: pass message id

* chore: clippy
2024-11-16 14:52:12 +08:00
Nathan.fooo 9778843746
chore: disable history service (#985)
* chore: disable history service

* chore: fix build
2024-11-13 10:46:15 +08:00
Zack Fu Zi Xiang 46435090c9
fix: fetch main branch before checkout 2024-11-10 17:19:14 +08:00
Zack Fu Zi Xiang e5623023aa
chore: cargo clippy 2024-11-10 04:46:51 +08:00
Zack Fu Zi Xiang c705d500ce
Merge branch 'main' into feat/last-publish-name 2024-11-10 04:42:21 +08:00
Zack Fu Zi Xiang 2a102dcdbf
fix: test cmd 2024-11-09 12:41:30 +08:00
Zack Fu Zi Xiang 40576fe675
chore: add admin frontend to test matrix 2024-11-08 18:07:55 +08:00
Zack Fu Zi Xiang a07b453c0b
feat: support last publish name 2024-11-08 17:29:02 +08:00
Nathan.fooo a3a581ea4e
chore: fix import test (#941)
* chore: fix import test

* chore: enable test

* chore: fix build

* chore: update test
2024-10-31 15:18:30 +08:00
Nathan.fooo 860a921ea5
chore: remove inline view id (#945)
* chore: remove inline view id

* test: fix test compile

* chore: logs

* chore: update test
2024-10-30 12:47:15 +08:00
khorshuheng 51600c1e2b fix: integration test failure due to password mismatch 2024-10-18 15:22:29 +08:00
Zack ba64963487
feat: oauth server (#866)
* feat: oauth serevr

* feat: working redirect after login

* feat: impl before sec checks

* feat: check client and url

* feat: code challenge verification

* feat: better error and nil handling from redis

* feat: use redirect in url instead

* fix: oauth refresh login

* feat: stop using javascript for parsing oauth information

* feat: oauth login redirect

* feat: remove unneeded logic

* feat: set up client secret

* feat: return error from redis json bytes instead

* chore: oauth local testing

* feat: add admin frontend to integration tests

* chore: lint and fmt

* fix: add ports for ci
2024-10-15 13:16:47 +08:00
Nathan.fooo 9c0dffacef
feat: implement import notion zip file api endpoint (#840)
* chore: implement api endpoint

* chore: worker

* chore: async zip

* chore: test bulk insert

* chore: insert collab

* chore: custom task

* chore: consume un acked message

* chore: fix compile

* chore: add test

* test: update

* chore: save import record

* chore: save import record

* chore: fix ci

* chore: remove unused deps

* chore: update docker file

* chore: build worker images

* chore: use small int

* chore: use small int

* chore: rm protoc deps in runtime

* chore: move collab cache to database crate

* chore: update test

* chore: rm health api endpoint

* chore: clippy

* chore: update ci

* chore: add test

* chore: upgrade collab

* chore: clippy

* chore: update test

* chore: use custom host

* chore: config nginx

* chore: install cert
2024-10-03 22:22:29 +08:00
khorshuheng 81c9042439 feat: send email to workspace owner when user request access 2024-10-01 11:54:55 +08:00
Nathan.fooo 71d292ebcd
chore: add app version when querying ai configuratino (#724)
* chore: update api endpoint that accepts app version

* chore: update env

* chore: disable locai ai config test
2024-08-13 11:14:32 +08:00
Nathan.fooo eebdbcad79
chore: add api endpoint for local ai config (#678)
* chore: add api endpoint for local ai config

* chore: fix ci

* chore: api endpoint for download local ai config

* chore: update ci

* chore: ensure client version

* chore: update test
2024-07-15 08:30:11 +08:00
Bartosz Sypytkowski 44406ccdae
chore: update yrs and appflowy-collab (#677)
* chore: update yrs and appflowy-collab

* chore: remove wasm compilation target

* chore: fixed number conversion in tests

* chore: remove wasm integration tests

---------

Co-authored-by: nathan <nathan@appflowy.io>
2024-07-10 10:10:07 +08:00
Bartosz Sypytkowski 42b3cca886 chore: remove appflowy indexer service 2024-06-28 05:40:44 +02:00
Bartosz Sypytkowski 0e50650aa8 chore: use appflowy ai client for embeddings in search api 2024-06-18 10:51:11 +02:00
Bartosz Sypytkowski b52369de7f
feat: add workspace settings with disable indexing option (#606)
* feat: add workspace settings with disable indexing option

* chore: added api workspace settings endpoint

* chore: add workspace settings read and write to client api

* chore: add tests for workspace settings client api

* fix: enforce authorization rules on workspace settings api

* chore: fix appflowy indexer test configuration

* chore: add dotenvy to appflowy indexer tests

* chore: override appflowy indexer env vars for tests

* chore: add appflowy indexer preindex env var
2024-06-06 09:26:21 +08:00
Bartosz Sypytkowski 58e01f4e8d
fix: index documents with missing embeddings at service start (#597)
* feat: appflowy-indexer indexes documents with missing embeddings at start

* chore: add tests to check initial indexing of collabs

* chore: log user search requests and response

* fix: wrong appflowy openai api key env var name

* chore: fill openai keys for integration testing

* chore: silence flaky test
2024-06-04 16:50:06 +08:00
Nathan.fooo 50ff40f9d1
chore: add ai completoin scope (#599)
* chore: add ai completoin scope

* chore: fix ci to run test
2024-06-04 10:49:28 +08:00
Nathan.fooo c491f1a560
chore: fix ci (#549)
* chore: fix ci
2024-05-12 21:02:28 +08:00
Nathan.fooo d994b10115
chore: appflowy ai client (#547)
* chore: appflowy ai client

* chore: clippy

* chore: clippy

* chore: fix ci

* chore: disable index search
2024-05-12 09:23:32 +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
Nathan.fooo 79bb510aaf
ci: run history test (#513)
* ci: run history test

* chore: fix ci
2024-05-01 16:28:07 +08:00
Nathan.fooo af75e8a2c0
chore: update configuration for ai docker (#512)
* chore: update configuration for ai docker

* chore: add script to test ci docker

* chore: update docs

* chore: update docs
2024-04-30 19:37:52 +08:00
Zack Fu Zi Xiang 206c7a29ea
chore: merge with main 2024-04-29 23:35:03 +08:00
Zack Fu Zi Xiang 9a25b92e57
fix: ci and use static file for template 2024-04-29 21:25:32 +08:00
Zack Fu Zi Xiang 9d6a335be8
fix: ci: install ca certs 2024-04-29 21:06:35 +08:00
Zack Fu Zi Xiang bb4176732b
ci: debug 2 2024-04-29 20:58:07 +08:00
Zack Fu Zi Xiang 73a3bafa29
ci: debug 1 2024-04-29 20:24:50 +08:00
Zack Fu Zi Xiang 6e74449ab1
feat: accept workspace invite email 2024-04-29 19:40:20 +08:00
Nathan.fooo f3279e9b4e
feat: implement grpc for history server (#470)
* ci: docker compose for ci

* chore: add test

* chore: imple grpc

* chore: fix test

* chore: fix ci
2024-04-16 14:10:56 +08:00
Nathan.fooo 4d019728ba
refactor: insert encode collab object in redis (#469)
* chore: insert collab redis cache with timestamp

* chore: add test

* chore: update expire time

* chore: update

* chore: fix test
2024-04-13 22:31: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 a98f3951ca chore: enable pull request target 2024-04-02 11:56:51 +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 0f384a119a
chore: pull request target (#428) 2024-03-30 11:06:20 +08:00
Nathan.fooo 6b5d644c19
chore: update ci config (#427) 2024-03-30 10:34:26 +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 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 f7008d4c91
ci: update ci var (#404) 2024-03-20 20:37:27 +08:00
Nathan.fooo d1c82b7811
chore: enable access control by env (#394) 2024-03-18 19:34:44 +08:00
Zack Fu Zi Xiang 4638e3cf01
chore: increase email rate limit during test 2024-03-09 19:50:14 +08:00