332 Commits

Author SHA1 Message Date
maslow
3ee12db5cf
refactor(db-proxy): refactor accessor constructor in database-proxy, add objectid type as global in runtime; (#1738)
* refactor(db-proxy): refact constructor of accessor
* add ObjectId to global in runtime
2023-12-14 15:19:12 +08:00
limbo
dafa12cb58
fix(server): fix logging api error return (#1727) 2023-12-08 14:33:09 +08:00
limbo
6e41123dab
fix(server): fix runtime logging interface not authenticated (#1725) 2023-12-07 19:34:29 +08:00
maslow
be0cb05435
fix(server): fix get_client_ip method, use x-forwarded-fro first (#1717)
* fix(server): fix get_client_ip method, use x-forwarded-fro first

* fix(runtime): fix x-real-ip from x-forwarded-for while gateway not set
2023-12-03 21:57:38 -06:00
maslow
9daa9f8a42
feat(runtime): support relative path import of fn (#1712)
* chore(runtime): optmize nameing & comments, remove redundant code

* feat(runtime): support relative path import of fn

* fix(server): add fn name validation rule
2023-11-28 15:31:40 +08:00
skyoct
2fbc5f189a
feat(runtime): detach custom dependency, support node_module caching (#1658)
* feat: add custom dep path

* chore: remove log4js from runtime, allow adding dup npm deps

* chore: rm unused imports

* fix(runtime): support custom dep path in import()

* chore: merge upstream main

* fix(runtime): add --experimental-vm-modules for runtime

* feat(runtime): support node_modules cache in init scripts

* fix(runtime): fix download error in init script

* feat(server): support node_modules cache in server

---------

Co-authored-by: maslow <wangfugen@126.com>
2023-11-27 19:40:54 +08:00
maslow
2046b4bdfc
feat(server): support request-limit ratio conf of runtime resource in region (#1702) 2023-11-21 19:00:55 +08:00
limbo
b29fdcdda8
feat(server): Add a consolidated multi-pod, multi-container log query (#1689)
* Add a consolidated multi-pod, multi-container log query
2023-11-20 19:50:36 +08:00
0fatal
fcab6067cf
chore: harmonise lint configuration (#1688)
* chore: harmonise eslint configuration

* chore: add husky,stylelint,editorconfig

---------

Co-authored-by: maslow <wangfugen@126.com>
2023-11-16 14:50:15 +08:00
0fatal
b73acea07c
fix(server): add field whitelist for validation (#1692) 2023-11-16 14:40:37 +08:00
maslow
0ff670119f
chore(server): update default resource request of runtime pod (#1686) 2023-11-14 17:46:13 +08:00
maslow
5844873a6a v1.0.0-beta.13 2023-11-10 20:10:17 +08:00
0fatal
afbdd36994
fix(server): fix get metering data miss quota (#1673) 2023-11-10 15:25:48 +08:00
0fatal
619988efd2
refactor(server): use prometheus record rules to enhance billing performance (#1671) 2023-11-10 13:19:38 +08:00
0fatal
0f1b0e3829
chore(server): enhance billing loop when app stop -> start (#1667) 2023-11-09 18:04:21 +08:00
0fatal
943ad92000
fix(server): fix billing miss on old app (#1666)
* fix(server): fix billing miss on old app

* fix

* fix(server): fix billing miss on old app
2023-11-09 16:41:20 +08:00
0fatal
4e5b8d407a
fix(server): fix billing miss on old app (#1659)
* fix(server): fix billing miss on old app

* fix
2023-11-09 16:02:34 +08:00
maslow
4afea1e41f
chore(server): add labels to ingress resources (#1656) 2023-11-08 15:21:05 +08:00
0fatal
103c3bd0f7
chore(log-server): remove old log server (#1655) 2023-11-08 14:50:24 +08:00
0fatal
5706a3d8cc
chore(server): handle get metering data error (#1650) 2023-11-08 11:11:40 +08:00
maslow
623940c172
chore(runtime): use gzip+base64 encode debug request header instead of uri encode (#1652) 2023-11-07 20:53:49 +08:00
0fatal
4bf342806e
refactor(server): refactor billing (#1648)
* refactor(server): refactor billing

* fix
2023-11-07 18:17:23 +08:00
0fatal
1ffa9ba562
refactor(server): get metering data of billing from prometheus (#1628)
* refactor(server): get metering data of billing from prometheus

* refactor(server): change cpu/mem monitor metrics
2023-11-07 12:06:21 +08:00
maslow
8243db4fbf
feat(runtime): beautify runtime log format (#1637) 2023-11-02 17:55:55 +08:00
limbo
fa726a196e
feat(server): add pod log interface (#1631)
* feat(server): add pod logs interface

---------

Co-authored-by: lim <lim@example.com>
2023-11-01 20:42:51 +08:00
skyoct
8d95fff415
feat(runtime): refactor log console & enable module cache (#1618)
* feat: refactor log console

* feat(runtime): opt console

* fix: fix some problem

* fix: opt cache remove

* fix: default enable module cache

* feat: console add function name

* fix: fix runtime log format & websocket cache

---------

Co-authored-by: maslow <wangfugen@126.com>
2023-11-01 13:53:26 +08:00
maslow
537225e75d chore: update change log 2023-10-31 14:47:09 +08:00
maslow
f50a14e498 v1.0.0-beta.12 2023-10-31 14:26:37 +08:00
maslow
fb7a45db3f
fix(server): update logic of cronjob deletion (#1623) 2023-10-31 14:04:57 +08:00
0fatal
27b0587f18
fix(server): set deleting phase for runtime domain and website when deleting app (#1613) 2023-10-27 15:19:45 +08:00
maslow
f659c96393
refactor(gateway): refactor logics of ingress deletion (#1612) 2023-10-26 21:45:04 +08:00
maslow
06cafd4a79
fix(runtime): enable cors in runtime; disable cors in gateway ingress (#1603) 2023-10-23 21:55:54 +08:00
limbo
8f779aa532
chore(server): remove minio version control (#1595) 2023-10-22 15:49:36 +08:00
limbo
91ad4aaf54
chore(server): remove minio sts (#1593)
* feat(server): remove oss sts

* fix bucket ingress
2023-10-19 15:56:56 +08:00
limbo
93de793a11
fix(server): fix runtime deployment labels (#1585) 2023-10-13 16:21:14 +08:00
maslow
0b612c73d9
chore: remove custom storage class, use default sc; (#1584) 2023-10-13 15:57:57 +08:00
limbo
364c7a6852
fix(server): fixed runtime manifest labels (#1583) 2023-10-13 14:42:25 +08:00
limbo
bb9e8e24a5
fix(server): fix not reapply service when restart app (#1578) 2023-10-12 14:37:19 +08:00
limbo
f71ea31457
feat(server): add sealos manager labels to rumtime manifest(#1577) 2023-10-12 11:16:12 +08:00
0fatal
14540c1a06
feat(server): support github login (#1542) 2023-10-11 14:19:35 +08:00
maslow
8751858cb2
feat(server): add tls config for ingress gateway (#1569) 2023-10-10 11:59:58 +08:00
limbo
04f8475832
fix(server) solving function template sorting problems (#1568) 2023-10-09 17:10:30 +08:00
maslow
fc73e6f935 fix(server): add storage service conf for runtime, add cors conf for bucket ingress 2023-10-08 10:39:34 +08:00
maslow
8de0a29de6
fix(gateway): fix cors headers conf of runtime, ingress nginx installation (#1565) 2023-10-07 23:52:42 +08:00
maslow
7781a3ef6c
fix(server): fix nest deps missing (#1564) 2023-10-07 17:53:49 +08:00
maslow
155814bd67
feat(gateway): refactor gateway to support ingress (#1559)
* refactor: impl runtime ingress

* refactor: impl bucket domain ingress

* refactor: impl website domain ingress

* refactor: rm apisix api service; add region cert conf

* remove apisix deployment in build scripts

* feat(server): publish website-hosting to runtime

---------

Co-authored-by: 0fatal <2816813070@qq.com>
2023-10-07 17:00:38 +08:00
limbo
d3da138bc5
feat(server): add runtime affinity settings in region (#1548) 2023-09-21 17:23:28 +08:00
limbo
d3a2e65ed8
fix(server): fix user quota (#1534) 2023-09-13 17:08:58 +08:00
maslow
ef27fc1a19 v1.0.0-beta.11 2023-09-12 18:42:50 +08:00
limbo
b5858c70ae
feat(server): add signup bonus (#1531) 2023-09-12 18:20:01 +08:00