Nathan
aad7c185a2
chore: use pg15 on CI and update af_collab_embeddings table primary key
2025-04-06 14:35:12 +08:00
Nathan
0e77568eb4
chore: remove partition key and recreate af_collab_embeddings_upsert migration
2025-04-05 17:32:54 +08:00
Nathan
9054ddd46d
Merge branch 'main' into document-paragraphs
2025-04-05 17:15:56 +08:00
khorshuheng
dba8db995d
feat: join workspace by invite code
2025-04-03 22:12:38 +08:00
Bartosz Sypytkowski
94a3c98a75
chore: remove partition key from collab embeddings table
2025-04-01 10:37:11 +02:00
Bartosz Sypytkowski
819d7b0c0c
chore: prune collab embeddings in migration
2025-04-01 08:55:12 +02:00
Bartosz Sypytkowski
ad0463a32d
chore: rollback from using foreign keys in embeddings
2025-04-01 08:22:36 +02:00
Bartosz Sypytkowski
ebc87c8242
chore: fixed stored procedure
2025-04-01 08:22:36 +02:00
Bartosz Sypytkowski
ec45ef23fe
chore: first phase of tests
2025-04-01 08:22:36 +02:00
Bartosz Sypytkowski
c2e14a9639
chore: working on query conversions
2025-04-01 07:42:13 +02:00
Bartosz Sypytkowski
6e6e25fb14
chore: mid-way
2025-04-01 07:42:13 +02:00
Nathan.fooo
8008959965
Workspace table notification ( #1261 )
...
* chore: add delete user notification
* chore: create trigger for workspace delete action
2025-03-06 10:11:49 +08:00
Nathan.fooo
06ddd7f755
chore: generate ai image if need ( #1254 )
...
* chore: generate ai image
* chore: fix test
2025-02-26 22:54:03 +08:00
khorshuheng
59786a686b
chore: drop collab member trigger
2025-02-17 17:03:13 +08:00
Bartosz Sypytkowski
1aa2e0a907
chore: make pg stored proc compare between input and existing embedded fragments
2025-02-05 12:47:09 +01:00
Khor Shu Heng
0f7a1f41d0
feat: support disabling comments and disallow duplicate as template for published page ( #1167 )
2025-01-17 09:43:56 +08:00
Nathan.fooo
ee84464e82
chore: store blob file status ( #1147 )
...
* chore: store blob file status
* chore: fmt
* chore: fmt
2025-01-10 14:52:35 +08:00
Nathan.fooo
327ba7157e
chore: save fragment index ( #1106 )
2024-12-31 10:03:36 +08:00
Nathan.fooo
1131818eb7
fix: support index document in the background, fix stack overflow when calling rayon::spawn ( #1099 )
...
* chore: batch index
* chore: format log
* chore: index workspace
* chore: fix stack overflow
* chore: background index
* chore: clippy
* chore: filter tasks
* chore: clippy
* chore: add metrics
* chore: fix test
2024-12-24 14:30:17 +08:00
khorshuheng
414d721ee0
feat: quick note CRUD APIs
2024-12-20 11:11:51 +08:00
Nathan.fooo
e758f18d75
chore: add metadata column to save embeding info ( #1086 )
2024-12-18 22:48:25 +08:00
khorshuheng
c1c5bf7420
chore: stop writing to af_collab_member
2024-12-13 10:17:22 +08:00
Bartosz Sypytkowski
4fb6df5c14
chore: reduce number of SQL statements executed when inserting/updating collab ( #1022 )
...
* chore: reduce number of SQL statements executed when inserting new collab
* chore: add workspace id check
* chore: fix previous query
* chore: upsert collabs and embddings as stored procedures
* chore: fix clippy errors
* chore: fix stored procedure to compare workspaces correctly
2024-11-27 13:00:00 +08:00
Zack Fu Zi Xiang
c4d52859fb
feat: add a polling api for getting database row id updates
2024-11-24 23:24:29 +08:00
Zack Fu Zi Xiang
a07b453c0b
feat: support last publish name
2024-11-08 17:29:02 +08:00
Zack Fu Zi Xiang
fa3b15f6e1
fix: migration script
2024-11-05 12:54:22 +08:00
Zack Fu Zi Xiang
d69a2dce1b
fix: update publish namespace
2024-11-04 17:22:47 +08:00
Zack Fu Zi Xiang
8d8c895703
feat: support for original and modified namespace
2024-11-04 16:58:33 +08:00
Zack Fu Zi Xiang
58efe8417e
feat: update migration
2024-11-04 14:17:13 +08:00
Zack Fu Zi Xiang
09bcbc80ae
feat: update schema for custom namespace
2024-11-04 10:33:22 +08:00
Bartosz Sypytkowski
caf98789e1
chore: add unique index on af_users.uuid
2024-10-31 10:55:04 +01:00
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