16 Commits

Author SHA1 Message Date
maslow
2046b4bdfc
feat(server): support request-limit ratio conf of runtime resource in region (#1702) 2023-11-21 19:00:55 +08:00
0fatal
d65d77c15e
chore(build): localize prometheus helm charts (#1489) 2023-08-24 19:06:12 +08:00
0fatal
1a86a8b7b6
feat(server): support import/export application db (#1479)
* feat(server): support import/export application db

* chore(server): decrease docker layer

* fix
2023-08-24 11:40:13 +08:00
maslow
9932252f41
build: fix laf-server image build slowly(#1191) 2023-05-29 21:51:51 +08:00
maslow
6d94fd2850
fix(server): fix server dockerfile error; web merge conflict (#1188) 2023-05-29 20:41:21 +08:00
maslow
8a06d44e2a
feat(server): add metered billing module, remove subscription module, discard Prisma (#1187)
* design metering schema

* add region bundle schema

* remove prisma in gateway, website, storage

* remove prisma in dependency module

* remove prisma in account module

* remove prisma in instance module

* remove prisma in auth and user module

* remove prisma in function and trigger module

* remove prisma totally

* add resource option & template api

* rename resource template to bundle

* add billing module & price calculation api

* add response api typings

* update app bundle api

* impl billing task

* impl billing payment task

* restart app while updating bundle

* update user profile api

* fix account api response body

* feat: bundle select

* fix: upgrade payment

* refactor(web): update package

* refactor(web): upgrade type definitions

---------

Co-authored-by: NightWhite <nightwhite634@gmail.com>

* add pagination response decoration

* feat(web): metering web (#1173)

(cherry picked from commit 3793fbcb195bf22388784c30342afb4e1995c970)

* chore: update entity typings

* fix(web): modal height (#1175)

* add application trial tier limit

* feat(server): add invite code feature and billings pagination (#1183)

* feat(server): process free trial billing

* fix(web): update app state api & rules add api (#1184)

* fix(web): update app state api

(cherry picked from commit 33f89bfca718e17f62880c0a08959af345732fd5)

* fix(web): rules add

(cherry picked from commit a4cc073848d7d42b9bb55364636ebae7422e439e)

* fix(web): id -> _id

(cherry picked from commit 1bd3ab0a7d3372689306cf43cc49c3f6995045f7)

* fix(server): update response struct of rules, add response types

* refactor(web): api definitions (#1185)

* fix(server): fix trial app logic

* Feat definition (#1186)

* refactor(web): api definitions

* fix(web): show fee

* merge main into design-metering

* add metering yaml to laf helm charts

---------

Co-authored-by: allence <lizhenq2009@gmail.com>
Co-authored-by: NightWhite <nightwhite634@gmail.com>
Co-authored-by: limbo <43649186+HUAHUAI23@users.noreply.github.com>
2023-05-29 20:13:53 +08:00
maslow
6eb76380f3
chore: reduce the size of docker image (#654)
* chore: reduce the size of docker image

* chore(server): add previous pkgs back

* chore: update pkg lock file
2023-01-19 16:08:24 +08:00
maslow
73a3270e5e
chore(ci): fix docker file issue of server (#630)
* debug server dockerfile

* chore: fix server docker file error

* chore: fix dockerfile
2023-01-15 21:33:23 +08:00
maslow
9a38a76b3e
chore: fix server dockerfile (#626) 2023-01-13 17:53:55 +08:00
maslow
596e0089dd
refactor(server): refactor oss implements in server instead of crd (#625)
* refactor(server): refactor oss user

* refactor(server): refactor oss implements in server instead of crd
2023-01-13 13:20:02 +08:00
maslow
bdf9c55218
chore(build): imprv speed of server docker build; fix deploy script problem (#557) 2022-12-18 19:40:31 +08:00
maslow
4c7633302e
fix(server): fix prisma bin engine error in amd64 (#547) 2022-12-15 23:27:54 +08:00
Maslow
e67b0abec7
build: fix laf server dockerfile & ci workflow & helm charts (#514)
Signed-off-by: maslow <wangfugen@126.com>
2022-12-11 21:56:27 +08:00
Maslow
62db7da8af
build(deploy): add laf server helm chart, fix server dockerfile (#512)
Signed-off-by: maslow <wangfugen@126.com>
2022-12-11 18:05:00 +08:00
Maslow
c23a1f0ec5
build(ci): add ci workflow for node runtime (#499)
* build(ci): add ci workflow for node runtime (#499)
2022-12-09 15:16:26 +08:00
Maslow
f3e3f822a2
feat(server): impl auth api with casdoor (#405)
* fix doc & config

* add nest config module

* feat(server): impl auth api with casdoor
2022-11-11 02:16:22 +08:00