khorshuheng
fdd86296a3
fix: parameterized postgres db in migration script
2024-10-29 11:50:09 +08:00
Khor Shu Heng
2700180e20
Merge pull request #939 from ThanatosDi/refactor/force-set-supabase-username
...
refactor: remove supabase username variable and force set to "supabase_auth_admin"
2024-10-29 10:38:35 +08:00
Nathan.fooo
9629d4cefa
chore: add limit for importing zip file ( #938 )
...
* chore: add limitation for import zip file
* chore: support upload big file
* chore: implement client api
* chore: implement client api
* chore: implement client api
* chore: update logs
* chore: check file size
* chore: last process at
* chore: set content type
* chore: fix test
* chore: try test
* chore: temporary disable test
2024-10-28 08:51:34 +08:00
ThanatosDi
8d730b54e6
refactor: #934 force set supabase username "supabase_auth_admin"
2024-10-26 13:22:39 +08:00
khorshuheng
6a34be316e
fix: remove dependencies on unnecessary postgres roles
2024-10-24 16:02:12 +08:00
Khor Shu Heng
aea83801f7
Merge pull request #918 from ThanatosDi/feat/simplify-env-settings
...
feat: simplify env settings
2024-10-24 15:46:47 +08:00
Khor Shu Heng
72c2227df1
chore: test retroactive migration fix ( #891 )
2024-10-24 15:17:53 +08:00
ThanatosDi
f7d139a7df
refactor: delete supabase initialization .sql, replace with a shell script
2024-10-23 22:45:22 +08:00
ThanatosDi
edd6711176
feat: ignore .sql migration, change use shell script
2024-10-22 16:25:44 +08:00
Zack
60c589bd9c
feat: CRUD interface for custom namespace ( #882 )
...
* feat: listing all published_info
* fix: add sqlx files
* feat: add additional fields for publish info
* feat: get and set default publish info
* chore: cargo sqlx prepare
* fix: cargo clippy
* fix: test case exe order
* chore: cargo sqlx
* feat: get info and meta from workspace namespace
* chore: cargo sqlx
* feat: add original doc info for published view
* chore: log all publish endpoints
* fix: default values for publish info extra fields
* feat: move namespace restriction to gateway
2024-10-19 10:09:54 +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
813fa29253
feat: add endpoints to allow workspace owner to approve web page view request
2024-09-26 14:59:33 +08:00
Zack Fu Zi Xiang
2f8925f01e
fix: migration for db without pgvector
2024-09-10 10:51:56 +08:00
Zack Fu Zi Xiang
312411cca2
fix: slow query deleting collab embeddings
2024-09-05 00:06:04 +08:00
Khor Shu Heng
9c8e718246
feat: Template CRUD Endpoint ( #731 )
...
* feat: template crud endpoint
* fix: clippy error
* fix: categories for related view
* fix: add created at and last updated at to template response
* feat: template api delete endpoint
* feat: include number of template count for template creator
* fix: use params instead of individual fields for template api
* fix: seach template creator by name query
* chore: simplify query
* feat: support template count limit for template homepage
2024-08-20 15:22:56 +08:00
khorshuheng
3481dab2bf
fix: sorting order of template category and creator
2024-08-16 14:26:04 +08:00
khorshuheng
59e5a13ee4
fix: replace rank with priority
2024-08-14 14:17:21 +08:00
khorshuheng
f6e78a941f
feat: api endpoint for template categories and creators
2024-08-12 13:43:14 +08:00
khorshuheng
422683d717
fix: order reactions by reaction type first creation date
2024-07-29 16:02:03 +08:00
Khor Shu Heng
b861f0a703
feat: endpoints for reactions on published view
2024-07-26 22:56:47 +08:00
Khor Shu Heng
f535950643
feat: add database operations for publish comment crd
2024-07-25 13:32:43 +08:00
Zack Fu Zi Xiang
5dd1576be5
chore: add missing foreign key
2024-06-30 01:03:48 +08:00
Zack Fu Zi Xiang
395486adc3
fix: fix various publish issues
2024-06-29 11:23:23 +08:00
Zack
f3d621de98
fix: sqlx comments
2024-06-27 19:03:29 +08:00
Zack Fu Zi Xiang
bfa0f32874
fix: use two column as unique constraint
2024-06-27 18:55:06 +08:00
Zack Fu Zi Xiang
d1e4491de8
feat: add index and uniqueness for publish name
2024-06-26 19:00:38 +08:00
Zack Fu Zi Xiang
0bf6d3bd60
feat: change doc name to publish name
2024-06-21 11:18:44 +08:00
Zack Fu Zi Xiang
18e9d0abae
feat: use view id
2024-06-18 18:20:05 +08:00
Bartosz Sypytkowski
9ea4de06fd
Merge pull request #630 from AppFlowy-IO/track-ai-responses
...
chore: change open ai token tracking to daily basis
2024-06-18 10:04:04 +02:00
Bartosz Sypytkowski
9ca904f943
chore: change open ai token tracking to daily basis
2024-06-18 06:53:39 +02:00
Zack Fu Zi Xiang
3f1832444f
Merge branch 'main' into feat/publish-document
2024-06-17 21:33:57 +08:00
Zack Fu Zi Xiang
16d3c9c7bd
chore: remove unneeded key
2024-06-17 14:33:14 +08:00
Zack Fu Zi Xiang
77efd7d236
chore: add foreign key indices for workspace table
2024-06-17 14:01:21 +08:00
Zack Fu Zi Xiang
233b757698
feat: add published endpoints
2024-06-15 21:47:11 +08:00
Zack Fu Zi Xiang
7a8be1585f
feat: add blob to publish
2024-06-15 12:00:59 +08:00
Zack Fu Zi Xiang
3d1a1e7c3e
Merge branch 'main' into feat/publish-document
2024-06-15 11:18:47 +08:00
Bartosz Sypytkowski
01aae523a9
chore: moved migration to new file
2024-06-14 19:24:55 +02:00
Bartosz Sypytkowski
709f8c3cdf
chore: make vector extension optional for migrations
2024-06-14 19:03:03 +02:00
Zack Fu Zi Xiang
18da7b873b
feat: publish namespace and metadata
2024-06-14 21:35:39 +08: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
Nathan.fooo
b36715dc24
chore: generate answer manually ( #594 )
...
* chore: generate answer manually
* chore: rename
* chore: return reply message id
* chore: save message
* chore: commit schema files
2024-06-03 08:06:23 +08:00
Nathan.fooo
edfcb5c1ea
chore: extend chat message with meta ( #592 )
2024-06-01 19:32:39 +08:00
Bartosz Sypytkowski
c4702bbbdf
feat: Workspace token usage ( #584 )
...
* feat: register open ai token usage during indexing
* feat: register open ai token usage during search
* chore: fixed open ai token usage when searching for documents
2024-05-29 16:07:56 +08:00
Bartosz Sypytkowski
d3e59fa801
feat: Appflowy-indexer service and /api/search endpoint ( #582 )
...
* feat: implement appflowy-indexer and search api endpoint
* chore: store embedding content type
* chore: more descriptive messages for open ai missing key
* chore: fix sqlx errors in tests
* chore: document watcher - change plain text rendering to use depth-first scan
* chore: added nested document blocks example
2024-05-28 21:09:29 +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
28e0e74fd1
feat: Implement history(1) ( #466 )
...
* chore: update collab commit
* chore: collab history test
* chore: collab history test
* chore: impl redis stream
* chore: impl redis stream test
* chore: impl migration
* chore: implement history sql
* chore: add test
* chore: add test
* chore: fix test
* chore: update log and test
* chore: add xtask
* chore: clippy
* chore: impl api
* chore: add missing sqlx files
* chore: fix test
* chore: fix test
2024-04-15 09:18:19 +08:00
Zack Fu Zi Xiang
dca443affc
chore: add sqlx files
2024-03-06 11:29:21 +08:00
Zack Fu Zi Xiang
9dc61bec31
chore: update migration scripts
2024-03-04 17:41:52 +08:00
Zack Fu Zi Xiang
e9ee0d12fa
Merge branch 'main' into workspace-invite
2024-03-04 15:47:57 +08:00
Nathan.fooo
01b1b75a4a
chore: revert changes in migrations ( #364 )
2024-03-04 14:58:50 +08:00