2340 Commits

Author SHA1 Message Date
0fatal
f25b19b583 feat(web): function panel supports right-click menu and api copy 2023-12-15 13:50:55 +08:00
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
maslow
74db91209c
refactor(cloud-sdk): refactor listFiles paramsof cloud sdk (#1735) 2023-12-12 21:37:47 +08:00
maslow
0873645bcd
refactor(cloud-sdk): refacct readFile returns in cloud-sdk (#1734)
* refact read file api

* fix storage api typing missing
2023-12-12 20:47:29 +08:00
limbo
e2a85e0c57
fix(services): change runtime exporter penalty rules (#1733) 2023-12-12 18:28:31 +08:00
Tsui Yen-Che
3236f80322
doc: opt db-ql documents (#1726) 2023-12-12 11:22:52 +08:00
heheer
382d8f2af4
fix(web): jsonviewer support to render large data (#1731)
* fix(web): add support to large database data

* highlight react window
2023-12-12 11:21:15 +08:00
maslow
2b87cb735c
feat(cloud-sdk): add url api to cloud sdk (#1732)
* feat(cloud-sdk): add filename url api to cloud.storage.bucket

* update cloud sdk version in runtime

* chore: fix deprecated marker
2023-12-12 11:14:20 +08:00
maslow
ae9ff33016
doc: Update README_en.md 2023-12-11 18:24:17 +08:00
maslow
78923d2661 doc: update cloud.storage docs 2023-12-08 21:30:15 +08:00
maslow
18afa9b9b1
feat(runtime): add cloud.storage api in cloud sdk (#1729)
* feat(runtime): add cloud.storage api in cloud sdk

* fix cloud object prop missing in runtime
2023-12-08 06:40:29 -06:00
limbo
dafa12cb58
fix(server): fix logging api error return (#1727) 2023-12-08 14:33:09 +08:00
skyoct
80b88c026c
feat: cli support env (#1718) 2023-12-08 10:02:05 +08:00
limbo
6e41123dab
fix(server): fix runtime logging interface not authenticated (#1725) 2023-12-07 19:34:29 +08:00
maslow
075382443b chore: update i18n of db query prompt in web 2023-12-06 20:02:31 +08:00
maslow
f8e2385b26
fix(web): cannot update database record with ObjectId #1524 (#1723)
* fix(web): cannot update database record with ObjectId #1524

* fix conflict of ejson-shell-parser with bson
2023-12-06 19:44:08 +08:00
maslow
54e6814cf1
chore(runtime): update cloud sdk version in runtime (#1721) 2023-12-06 16:04:42 +08:00
maslow
bd3bb484a4 doc: update function docs 2023-12-05 16:00:01 +08:00
maslow
2c06a00ff1
doc: deprecated the interceptor fn without next method (#1720)
* doc: deprecated the interceptor fn without next method
* chore: fix dead-link check
2023-12-04 11:58:55 +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
5d69be1d4d doc: add oss sign url docs 2023-12-01 20:15:52 +08:00
maslow
de313cf73c
doc: update README.md 2023-12-01 11:35:31 +08:00
maslow
2c5339d0ff doc: update readme, add fastdeploy in sealos 2023-12-01 11:19:39 +08:00
nightwhite
fe939b9401
doc: delete expired content (#1716)
* doc: Delete expired content

* chore: fix doc preview workflow text

---------

Co-authored-by: maslow <wangfugen@126.com>
2023-11-30 19:36:03 +08:00
nightwhite
c163052377
doc: sync features with beta 13 updates (#1678)
* doc: Sync features with beta 13 updates

* chore: fix doc preview workflow

---------

Co-authored-by: 0fatal <72899968+0fatal@users.noreply.github.com>
Co-authored-by: maslow <wangfugen@126.com>
2023-11-29 18:05:44 +08:00
heheer
2b228d05fd
fix(web): function return shows when not undefined & update current function after edit name (#1713)
* feat(web): add history modal tip

* fix(web): fix function return show when not undefined

* fix(web): fix change function name update
2023-11-29 14:30:19 +08: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
maslow
c1748d6f86
fix(runtime): fix cloud sdk cannot initialize in custom deps module (#1711)
* fix(runtime): fix cloud sdk cannot initialize in custom deps module

* opt the init scripts

* chore: use fixed node version in dockerfile
2023-11-27 23:50:04 +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
eb35c594cd chore: add whitlist link for link checker 2023-11-24 19:19:22 +08:00
maslow
7ef87f5ab2
fix(runtime): fix process.env hot reload (#1709) 2023-11-24 02:13:18 -06:00
maslow
670ab2c3d4 chore(ci): add runtime init image build workflow 2023-11-23 18:37:45 +08:00
maslow
8ea5ad0d89
fix(runtime): fix module.exports error; fix logs error while response.chunkedEncoding is true (#1707) 2023-11-23 11:08:55 +08:00
maslow
29cd1450d2 chore(ci): fix ref error of checkout action workflow 2023-11-23 10:55:08 +08:00
maslow
53277afb5b
chore: fix pr check error in workflow (#1706) 2023-11-22 18:25:31 +08:00
maslow
4a0e4b4ab3
chore(build): update github workflows to build images for pr events (#1705) 2023-11-22 18:12:07 +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
maslow
6cec750c90 chore(runtime): fix build type check error 2023-11-21 15:37:15 +08:00
heheer
61e7fcbaa4
feat(web): support consolidated multi-pod, multi-container log query (#1691)
* feat(web): support consolidated multi-pod, multi-container log query

* add logs all pod option

* fix: add all pods container option
2023-11-20 19:51:02 +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
heheer
1d8875f976
chore: update readme wechat link (#1700) 2023-11-20 19:42:54 +08:00
0fatal
354de5070c
chore: lint the remaining codes (#1693) 2023-11-16 16:00:51 +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
f4d52a04aa
chore: create SECURITY.md 2023-11-16 10:33:56 +08:00
bestlyg
f2a3a40969
fix(runtime): append null check to object check (#1684) 2023-11-15 15:19:31 +08:00
maslow
849a221439
fix(runtime): upgrade node to v20 to fix importModuleDynamic bug (#1687) 2023-11-14 19:48:11 +08:00
maslow
0ff670119f
chore(server): update default resource request of runtime pod (#1686) 2023-11-14 17:46:13 +08:00
heheer
9239629fb0
fix(web): fix app monitor longest array (#1682) 2023-11-13 16:46:26 +08:00
maslow
082d327464 chore: update readme.md 2023-11-13 16:10:20 +08:00