Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
462 commits
Select commit Hold shift + click to select a range
ed6e08d
chore: update README
rocwind Feb 8, 2022
749912e
refactor: move test to tests/
rocwind Feb 8, 2022
7644969
chore: update install docs
rocwind Feb 8, 2022
6b1a5d7
feat: add typescript support
rocwind Feb 8, 2022
9f14a9d
chore(release): 1.2.0
rocwind Feb 8, 2022
e3ad514
chore: gitignore tsc generated bin/
rocwind Feb 8, 2022
76d8898
refactor: turn top level app/www to ts
rocwind Feb 8, 2022
e3bb1e4
fix(deps): update dependency sequelize to v6.16.0
renovate-bot Feb 8, 2022
987261b
Merge pull request #113 from shm-open/renovate/sequelize-6.x
rocwind Feb 8, 2022
7dfe67e
refactor: turn models/ to ts
rocwind Feb 9, 2022
e20f2c6
refactor: add some logs in release api
rocwind Feb 9, 2022
57bbdc5
feat!: drop upyun support
rocwind Feb 9, 2022
413f35b
refactor: turn app-error to ts
rocwind Feb 9, 2022
f2b839a
refactor: turn account-manager to ts
rocwind Feb 9, 2022
78d42d0
refactor: turn client-manager to ts
rocwind Feb 9, 2022
98c2ca6
fix: update deps redis to v4, reuse the same redis client without quit
rocwind Feb 9, 2022
255ea15
refactor!: drop codePushWeb redirect support
rocwind Feb 9, 2022
568a5b0
fix(deps): update dependency sequelize to v6.16.1
renovate-bot Feb 9, 2022
82f41e0
fix(deps): update dependency aws-sdk to v2.1072.0
renovate-bot Feb 9, 2022
e067aed
refactor: turn package-manager to ts
rocwind Feb 10, 2022
b721f2a
refactor: turn core/const to ts
rocwind Feb 10, 2022
be219b6
refactor: rename core/const.js to ts
rocwind Feb 10, 2022
145f5f0
Merge pull request #114 from shm-open/renovate/sequelize-6.x
rocwind Feb 10, 2022
592ca1a
Merge pull request #111 from shm-open/renovate/aws-sdk-2.x
rocwind Feb 10, 2022
2bd6221
chore(release): 2.0.0
rocwind Feb 10, 2022
6289835
fix(deps): update kv-logger to 0.5.1
rocwind Feb 11, 2022
cae80fe
fix(deps): update kv-logger to 0.5.2 and fix build issue
rocwind Feb 11, 2022
2ab18d4
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.8.2
renovate-bot Feb 14, 2022
932faf2
chore(deps): update dependency @types/node-fetch to v2.6.0
renovate-bot Feb 15, 2022
886d740
chore(deps): update dependency @types/node-fetch to v2.6.1
renovate-bot Feb 15, 2022
1957735
refactor: enable eslint for ts files and fix issues
rocwind Feb 16, 2022
82419ec
refactor: turn core/utils/qetag to ts
rocwind Feb 16, 2022
f00db27
refactor: turn core/utils/security to ts
rocwind Feb 16, 2022
6289315
refactor: move storage methods out of core/utils/common
rocwind Feb 16, 2022
0829133
chore: update package-lock
rocwind Feb 16, 2022
7459ab5
refactor: remove unused jschardet package
rocwind Feb 16, 2022
ea1218b
chore: increase the test timeout to reduce false test failure
rocwind Feb 17, 2022
915fd25
fix(deps): update dependency express to v4.17.3
renovate-bot Feb 17, 2022
d6ab42e
refactor: turn core/utils/common to ts
rocwind Feb 17, 2022
e7d2e0f
fix(deps): update dependency kv-logger to v0.5.3
renovate-bot Feb 18, 2022
7ee4a6b
Merge pull request #112 from shm-open/renovate/kv-logger-0.x
rocwind Feb 18, 2022
74ee972
Merge pull request #122 from shm-open/renovate/express-4.x
rocwind Feb 18, 2022
19d8acd
fix(deps): update dependency body-parser to v1.19.2
renovate-bot Feb 18, 2022
b79156c
Merge pull request #121 from shm-open/renovate/body-parser-1.x
rocwind Feb 18, 2022
27d2e2f
refactor: turn appManager to ts
rocwind Feb 18, 2022
9a18394
refactor: turn collaorators manager to ts
rocwind Feb 18, 2022
f65ddc4
refactor: turn datacenter-manager to ts
rocwind Feb 18, 2022
6738497
refactor: turn email manager to ts
rocwind Feb 18, 2022
4a9e9df
refactor: turn deployments manager to ts
rocwind Feb 18, 2022
275cf61
refactor: turn middleware to ts
rocwind Feb 18, 2022
e90193c
chore: add test coverage back using nyc
rocwind Feb 18, 2022
1cce291
refactor: simplify the middleware checkToken
rocwind Feb 18, 2022
ceb3e3e
fix(deps): update dependency sequelize to v6.16.2
renovate-bot Feb 18, 2022
fd22283
fix(deps): update dependency aws-sdk to v2.1077.0
renovate-bot Feb 18, 2022
d0ab5bb
chore(deps): update dependency mocha to v9.2.1
renovate-bot Feb 19, 2022
65e456d
refactor: turn index routes to ts
rocwind Feb 20, 2022
e6b94ab
refactor: turn account, auth, users router to ts, /auth/login returns…
rocwind Feb 21, 2022
60a3b00
refactor: turn accessKeys router to ts
rocwind Feb 21, 2022
e9c13a5
fix: put x-request-id to res header
rocwind Feb 21, 2022
1ef9d0f
refactor: turn apps route to ts
rocwind Feb 21, 2022
07f3736
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.8.3
renovate-bot Feb 21, 2022
ea92c0e
refactor: pass logger to services to get the request context in servi…
rocwind Feb 21, 2022
e5775a2
Merge pull request #126 from shm-open/renovate/shm-open-eslint-config…
rocwind Feb 21, 2022
7106577
Merge pull request #124 from shm-open/renovate/sequelize-6.x
rocwind Feb 21, 2022
70288ce
Merge pull request #116 from shm-open/renovate/aws-sdk-2.x
rocwind Feb 21, 2022
3fe6384
chore(release): 2.0.1
rocwind Feb 21, 2022
85a09fa
fix: log stringified account info
rocwind Feb 21, 2022
935f784
refactor: pass logger to utils/common,qetag,storage
rocwind Feb 21, 2022
96ad833
chore(release): 2.0.2
rocwind Feb 21, 2022
12a60af
refactor: update eslint config and fix issues
rocwind Feb 21, 2022
23e984a
fix(deps): update dependency redis to v4.0.4
renovate-bot Feb 22, 2022
304423e
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.0
renovate-bot Feb 22, 2022
2c3d2f8
refactor: remove unnecessary eslint-disable
rocwind Feb 22, 2022
6fac871
refactor: allow UPPER_CASE for consts
rocwind Feb 22, 2022
6e20737
fix(deps): update dependency fs-extra to v10.0.1
renovate-bot Feb 22, 2022
4b12588
chore(deps): update actions/setup-node action to v3
renovate-bot Feb 25, 2022
ac28781
chore(deps): update dependency @types/lodash to v4.14.179
renovate-bot Feb 25, 2022
d21c514
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.1
renovate-bot Feb 28, 2022
34b9422
chore(deps): update dependency typescript to v4.6.2
renovate-bot Mar 1, 2022
920ab62
chore(deps): update actions/checkout action to v3
renovate-bot Mar 1, 2022
1f317b4
Merge pull request #136 from shm-open/renovate/actions-checkout-3.x
rocwind Mar 3, 2022
6cc358f
Merge pull request #132 from shm-open/renovate/actions-setup-node-3.x
rocwind Mar 3, 2022
325cfbf
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.2
renovate-bot Mar 8, 2022
2a40892
fix(deps): update dependency aws-sdk to v2.1089.0
renovate-bot Mar 8, 2022
50dee69
Merge pull request #128 from shm-open/renovate/redis-4.x
rocwind Mar 9, 2022
297ccb6
Merge pull request #130 from shm-open/renovate/fs-extra-10.x
rocwind Mar 9, 2022
35dc839
Merge pull request #127 from shm-open/renovate/aws-sdk-2.x
rocwind Mar 9, 2022
dd255d9
fix(deps): update dependency sequelize to v6.17.0
renovate-bot Mar 9, 2022
ca56b23
Merge pull request #131 from shm-open/renovate/sequelize-6.x
rocwind Mar 9, 2022
7d1af7a
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.3
renovate-bot Mar 9, 2022
00ec10e
Merge pull request #138 from shm-open/renovate/shm-open-eslint-config…
rocwind Mar 9, 2022
bb0a27d
chore(release): 2.0.3
rocwind Mar 9, 2022
579db0e
chore(deps): update dependency mocha to v9.2.2
renovate-bot Mar 11, 2022
ceaf399
chore(deps): update dependency @types/lodash to v4.14.180
renovate-bot Mar 14, 2022
44323bb
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.4
renovate-bot Mar 15, 2022
763c924
fix(deps): update dependency yargs to v17.4.0
renovate-bot Mar 19, 2022
154af3c
fix(deps): update dependency nodemailer to v6.7.3
renovate-bot Mar 21, 2022
8812846
chore(docs): add english translation for install by docker (google tr…
kbrownlees-csl Mar 21, 2022
9242051
chore(package): make dev:run restart on pug & json changes
kbrownlees-csl Mar 22, 2022
fe52691
chore(packages): add i18n
kbrownlees-csl Mar 22, 2022
57a6e98
feat(app): add i18n support
kbrownlees-csl Mar 22, 2022
de58a21
chore(i18n): translate all the pug files from chinese
kbrownlees-csl Mar 22, 2022
409dfe6
chore(pr): update the install by docker link for the english readme
kbrownlees-csl Mar 22, 2022
a882de5
chore(pr): update cn.json from build
kbrownlees-csl Mar 22, 2022
b8cfa71
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.5
renovate-bot Mar 22, 2022
381f51a
fix(deps): update dependency aws-sdk to v2.1098.0
renovate-bot Mar 22, 2022
ccb57ad
chore(pr): address pr comments
kbrownlees-csl Mar 22, 2022
d0b696e
chore(i18n): change to using english keys for the translations
kbrownlees-csl Mar 22, 2022
043fab8
Merge pull request #145 from cloudscapelabs/kb/translate
rocwind Mar 23, 2022
3d714c5
Merge pull request #144 from shm-open/renovate/nodemailer-6.x
rocwind Mar 23, 2022
f987812
Merge pull request #143 from shm-open/renovate/yargs-17.x
rocwind Mar 23, 2022
e994500
Merge pull request #139 from shm-open/renovate/aws-sdk-2.x
rocwind Mar 23, 2022
5a89567
refactor: eslint --fix
rocwind Mar 23, 2022
c93a4ac
chore: pass VERSION as env var to docker build
rocwind Mar 23, 2022
0619e4e
chore: use build-arg VERSION for docker build
rocwind Mar 23, 2022
86e506e
chore(release): 2.1.0
rocwind Mar 23, 2022
afaf448
chore: add @types/i18n
rocwind Mar 23, 2022
6a55bc5
fix: zh locale support
rocwind Mar 23, 2022
70ceab3
chore(release): 2.1.1
rocwind Mar 23, 2022
21c987a
fix: change password success prompts localized message
rocwind Mar 24, 2022
f1e3e2a
fix: refactor views, improve/simplify the auth workflows
rocwind Mar 24, 2022
56f32d2
fix(deps): update dependency aws-sdk to v2.1100.0
renovate-bot Mar 24, 2022
10427b9
chore(deps): update dependency typescript to v4.6.3
renovate-bot Mar 25, 2022
1636374
zip file error handling
minomikula Mar 22, 2022
5333c57
removed unnesesary renaming
minomikula Mar 22, 2022
4bb074b
fix: zip file creation of diff release
rocwind Mar 25, 2022
d264a2a
refactor: add more type annotations to utils/security.ts
rocwind Mar 25, 2022
2d3c70a
Merge pull request #149 from shm-open/renovate/aws-sdk-2.x
rocwind Mar 25, 2022
ee2b2c3
chore(release): 2.1.2
rocwind Mar 25, 2022
71771a1
chore(deps): update dependency @types/validator to v13.7.2
renovate-bot Mar 25, 2022
065fef7
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.6
renovate-bot Mar 28, 2022
4c393e0
chore: update eslint config
rocwind Mar 29, 2022
6bb6424
chore: add lint to ci workflow
rocwind Mar 29, 2022
3b70736
chore(deps): update dependency @types/lodash to v4.14.181
renovate-bot Mar 29, 2022
2a24870
chore(deps): update dependency concurrently to v7.1.0
renovate-bot Apr 2, 2022
ae55396
fix(deps): update dependency body-parser to v1.20.0
renovate-bot Apr 3, 2022
a4c875d
fix(deps): update dependency moment to v2.29.2
renovate-bot Apr 3, 2022
34ef968
fix(deps): update dependency sequelize to v6.18.0
renovate-bot Apr 3, 2022
c396306
Merge pull request #4 from wongpeiyi/fix/range-logic
byronigoe Apr 5, 2022
ae55870
Improve performance
byronigoe Apr 6, 2022
fb70185
fix: use latest matching deployment
rocwind Apr 6, 2022
8175cbe
Merge pull request #161 from shm-open/renovate/sequelize-6.x
rocwind Apr 6, 2022
6de6acc
Merge pull request #160 from shm-open/renovate/moment-2.x
rocwind Apr 6, 2022
38feeb1
Merge pull request #159 from shm-open/renovate/body-parser-1.x
rocwind Apr 6, 2022
442743f
fix(deps): update dependency redis to v4.0.6
renovate-bot Apr 6, 2022
767d3e8
Merge pull request #157 from shm-open/renovate/redis-4.x
rocwind Apr 6, 2022
1d3cab0
fix(deps): update dependency aws-sdk to v2.1109.0
renovate-bot Apr 6, 2022
7ee28bf
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.8
renovate-bot Apr 7, 2022
b13c0d9
Merge pull request #154 from shm-open/renovate/aws-sdk-2.x
ryanypm Apr 7, 2022
2b3f3c4
Merge pull request #163 from shm-open/renovate/shm-open-eslint-config…
ryanypm Apr 7, 2022
bb4b5b7
chore(release): 2.1.3
Apr 7, 2022
5431b62
fix(deps): update dependency yargs to v17.4.1
renovate-bot Apr 9, 2022
e6a8bc4
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.9
renovate-bot Apr 12, 2022
d447d42
fix(deps): update dependency sequelize to v6.19.0
renovate-bot Apr 12, 2022
56590b8
chore(deps): update dependency @types/recursive-readdir to v2.2.1
renovate-bot Apr 14, 2022
f9068c2
fix(deps): update dependency qiniu to v7.5.0
renovate-bot Apr 16, 2022
2699a4a
fix(deps): update dependency fs-extra to v10.1.0
renovate-bot Apr 16, 2022
b9af976
fix(deps): update dependency moment to v2.29.3
renovate-bot Apr 17, 2022
f09b78d
chore(deps): update dependency @types/lodash to v4.14.182
renovate-bot Apr 19, 2022
add7cc8
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.10
renovate-bot Apr 19, 2022
d74aa2a
fix(deps): update dependency cos-nodejs-sdk-v5 to v2.11.7
renovate-bot Apr 25, 2022
f59e9ae
fix(deps): update dependency aws-sdk to v2.1121.0
renovate-bot Apr 25, 2022
9b2fee3
fix(deps): update dependency express to v4.18.0
renovate-bot Apr 25, 2022
e344725
Merge pull request #176 from shm-open/renovate/express-4.x
ryanypm Apr 26, 2022
efa52d6
Merge branch 'master' into renovate/cos-nodejs-sdk-v5-2.x
ryanypm Apr 26, 2022
ce67e24
Merge pull request #174 from shm-open/renovate/cos-nodejs-sdk-v5-2.x
ryanypm Apr 26, 2022
394657b
Merge pull request #164 from shm-open/renovate/aws-sdk-2.x
ryanypm Apr 26, 2022
d93857d
Merge pull request #165 from shm-open/renovate/yargs-17.x
ryanypm Apr 26, 2022
704d336
Merge pull request #167 from shm-open/renovate/sequelize-6.x
ryanypm Apr 26, 2022
4aee62e
Merge pull request #169 from shm-open/renovate/qiniu-7.x
ryanypm Apr 26, 2022
3cb6d2b
Merge pull request #170 from shm-open/renovate/fs-extra-10.x
ryanypm Apr 26, 2022
f453039
Merge pull request #171 from shm-open/renovate/moment-2.x
ryanypm Apr 26, 2022
4a2d9e3
chore(release): 2.1.4
Apr 26, 2022
f262522
chore(release): 2.1.5
Apr 26, 2022
59fa07a
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.11
renovate-bot Apr 26, 2022
ab757fc
chore(deps): update dependency supertest to v6.2.3
renovate-bot Apr 27, 2022
aabb53e
chore(deps): update dependency @types/cookie-parser to v1.4.3
renovate-bot Apr 27, 2022
7bdb226
chore(deps): update dependency typescript to v4.6.4
renovate-bot Apr 28, 2022
2adad28
fix(deps): update dependency express to v4.18.1
renovate-bot Apr 29, 2022
9d662d3
chore(deps): update dependency mocha to v10
renovate-bot May 1, 2022
44470b4
chore(deps): update dependency @types/formidable to v2.0.5
renovate-bot May 2, 2022
b4e9093
chore(deps): update dependency concurrently to v7.2.0
renovate-bot May 15, 2022
c1653e1
chore(deps): update dependency standard-version to v9.5.0
renovate-bot May 15, 2022
fd9f58e
fix(deps): update dependency yargs to v17.5.1
renovate-bot May 16, 2022
aefde36
fix(deps): update dependency helmet to v5.1.0
renovate-bot May 17, 2022
25ee4c9
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.12
renovate-bot May 18, 2022
732a4ed
fix(deps): update dependency qiniu to v7.7.0
renovate-bot Jun 8, 2022
5a744c6
fix(deps): update dependency redis to v4.2.0
renovate[bot] Jul 5, 2022
85ad522
fix(deps): update dependency nodemailer to v6.7.7
renovate[bot] Jul 6, 2022
eb3c14a
fix(deps): update dependency aws-sdk to v2.1176.0
renovate[bot] Jul 15, 2022
e3922cd
Merge pull request #183 from shm-open/renovate/express-4.x
rocwind Jul 17, 2022
b18801d
Merge pull request #187 from shm-open/renovate/redis-4.x
rocwind Jul 17, 2022
a5d05b3
Merge pull request #182 from shm-open/renovate/nodemailer-6.x
rocwind Jul 17, 2022
ea69f96
Merge pull request #193 from shm-open/renovate/helmet-5.x
rocwind Jul 17, 2022
8838351
Merge pull request #189 from shm-open/renovate/yargs-17.x
rocwind Jul 17, 2022
15f61df
Merge pull request #185 from shm-open/renovate/qiniu-7.x
rocwind Jul 17, 2022
fa00c74
fix(deps): update dependency cos-nodejs-sdk-v5 to v2.11.12
renovate[bot] Jul 17, 2022
b665b73
chore(deps): update dependency @shm-open/eslint-config-bundle to v1.9.13
renovate[bot] Jul 17, 2022
74c5ccf
Merge pull request #188 from shm-open/renovate/cos-nodejs-sdk-v5-2.x
rocwind Jul 17, 2022
5c5f31f
chore(deps): update dependency @types/node-fetch to v2.6.2
renovate[bot] Jul 17, 2022
39edebf
Merge pull request #178 from shm-open/renovate/aws-sdk-2.x
rocwind Jul 17, 2022
6eb0170
Merge pull request #199 from shm-open/renovate/shm-open-eslint-config…
rocwind Jul 17, 2022
b91bfd1
chore(deps): update dependency @types/validator to v13.7.4
renovate[bot] Jul 17, 2022
96c902b
Merge pull request #200 from shm-open/renovate/node-fetch-2.x
rocwind Jul 17, 2022
efb4496
Merge pull request #201 from shm-open/renovate/validator-13.x
rocwind Jul 17, 2022
7cc216c
fix(deps): update dependency i18n to v0.15.0
renovate[bot] Jul 17, 2022
7462594
fix(deps): update dependency sequelize to v6.21.3
renovate[bot] Jul 17, 2022
e4e38ac
Merge pull request #195 from shm-open/renovate/i18n-0.x
rocwind Jul 17, 2022
ec9e020
Merge pull request #192 from shm-open/renovate/sequelize-6.x
rocwind Jul 17, 2022
1e4f392
chore(release): 2.1.6
rocwind Jul 17, 2022
c4b7f3d
chore(deps): update dependency concurrently to v7.2.2
renovate[bot] Jul 17, 2022
ccb02bd
chore(deps): update dependency supertest to v6.2.4
renovate[bot] Jul 17, 2022
f0f0ff2
chore(deps): update dependency typescript to v4.7.4
renovate[bot] Jul 17, 2022
2cb65f3
chore(deps): update dependency concurrently to v7.3.0
renovate[bot] Jul 19, 2022
01c5763
chore(deps): update dependency @types/validator to v13.7.5
renovate[bot] Aug 4, 2022
9808da3
chore(deps): update dependency @types/nodemailer to v6.4.5
renovate[bot] Aug 5, 2022
f9c3973
chore(deps): update dependency @types/lodash to v4.14.183
renovate[bot] Aug 16, 2022
ebd78af
chore(deps): update dependency @types/lodash to v4.14.184
renovate[bot] Aug 19, 2022
dbef111
chore(deps): update dependency @types/jsonwebtoken to v8.5.9
renovate[bot] Aug 24, 2022
7cf0912
chore(deps): update dependency typescript to v4.8.2
renovate[bot] Aug 26, 2022
1e97820
chore(deps): update dependency @types/validator to v13.7.6
renovate[bot] Aug 27, 2022
faa62d5
chore(deps): update dependency concurrently to v7.4.0
renovate[bot] Sep 7, 2022
553f122
chore(deps): update dependency @types/lodash to v4.14.185
renovate[bot] Sep 11, 2022
d715711
chore(deps): update dependency typescript to v4.8.3
renovate[bot] Sep 11, 2022
fa4acea
chore(deps): update dependency @types/validator to v13.7.8
renovate[bot] Oct 15, 2022
5f51e87
chore(deps): update dependency @types/lodash to v4.14.186
renovate[bot] Oct 16, 2022
da46858
chore(deps): update dependency typescript to v4.9.3
renovate[bot] Nov 15, 2022
3ee1387
chore(deps): update dependency @types/lodash to v4.14.189
renovate[bot] Nov 16, 2022
4ff7770
chore(deps): update dependency @types/validator to v13.7.10
renovate[bot] Nov 16, 2022
b247b1d
chore(deps): update dependency @types/lodash to v4.14.194
renovate[bot] Apr 17, 2023
5207e30
chore(deps): update dependency typescript to v4.9.5
renovate[bot] Apr 17, 2023
23fefba
chore(deps): update dependency @types/lodash to v4.14.195
renovate[bot] May 28, 2023
194acbb
Add npm scripts
billxie1988 Mar 4, 2024
a2a7943
chore: remove .env from repo
msun4100 Nov 15, 2025
13db771
feat: update Node.js to 24.6.0 and apply Korean locale default configs
plingdevelop Nov 15, 2025
e9bead8
chore: add AWS_S3_KEY_PREFIX environment variable support.
plingdevelop Nov 16, 2025
c618ac1
chore: pin Node.js and npm versions in package.json
plingdevelop Nov 16, 2025
bc6187e
fix: add TLS Redis support by using REDIS_TLS_URL/REDIS_URL and fallb…
plingdevelop Nov 16, 2025
e15e85c
fix: add MySQL TLS support using dialectOptions.ssl and DB_SSL_REQUIR…
plingdevelop Nov 16, 2025
9a9dcbc
fix: add rejectUnauthorized:false to Redis TLS socket to handle self-…
plingdevelop Nov 16, 2025
80f086d
chore: suppress ignorable Cloud Redis idle disconnect errors and avoi…
plingdevelop Nov 16, 2025
ca29c2a
chore: add localses/ko.json
plingdevelop Nov 16, 2025
b8b5ed3
fix: clean prerelease suffixes before semver padding in parseVersion …
plingdevelop Nov 16, 2025
a5146ec
chore: add i18n translations for login handler error messages
plingdevelop Nov 16, 2025
4d9ae3f
refactor: add i18n-style function with interpolation and introduce A…
plingdevelop Nov 17, 2025
6660845
refactor: replace legacy aws-sdk S3 upload with AWS SDK v3 (same buck…
plingdevelop Nov 17, 2025
6425254
feat: enforce web UI access control on index, auth, and users routes …
plingdevelop Nov 17, 2025
6763eaa
feat: control web UI access via shouldHideWebUI and WEB_UI_ALLOW
plingdevelop Dec 19, 2025
7c306cd
chore: add docs for login and access token issuance
plingdevelop Dec 22, 2025
d6f48ce
Merge branch 'master' into release/platform-hardening-and-infra-updates
plingdevelop Dec 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 6 additions & 31 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,40 +1,15 @@
# editorconfig.org

root = true

[**]
indent_size = 4
indent_style = space
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true

[**.html]
indent_size = 2

[**.jade]
indent_size = 2

[**.json]
indent_size = 2

[**.scss]
indent_size = 2
insert_final_newline = true

[**.css]
indent_size = 2
insert_final_newline = true

[**.md]
trim_trailing_whitespace = false

[**.js]
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[**.yml]
[{*.json,*.yml}]
indent_size = 2

[Makefile]
indent_style = tab
indent_style = tab
110 changes: 110 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
###############################################
# CodePush Server Configuration (.env)
###############################################

# -------------------------------
# General / Logs
# -------------------------------
# 클론시 유일한 환경변수 값 (*)
COMPOSE_PROJECT_NAME=code-push-server
LOG_LEVEL=debug
LOG_FORMAT=text

# -------------------------------
# Database (MySQL) (*)
# - 유저/앱/패키지 메타데이터 저장
# -------------------------------
RDS_USERNAME=codepush
RDS_PASSWORD=codepush
RDS_DATABASE=codepush
RDS_HOST=127.0.0.1
RDS_PORT=3306

# -------------------------------
# Storage Settings (*)
# storageType: local | s3 | qiniu | oss | tencentcloud
# -------------------------------
STORAGE_TYPE=local

# Local storage (default) (*)
# 저장 파일이 위치할 경로 (미설정 시 OS tmpdir 사용)
STORAGE_DIR=./storage

# 파일 다운로드 URL - 반드시 본인 서버 URL로 수정
LOCAL_DOWNLOAD_URL=http://127.0.0.1:3000/download

# 공통 Download URL 우선순위:
# LOCAL_DOWNLOAD_URL > DOWNLOAD_URL
DOWNLOAD_URL=http://127.0.0.1:3000/download

# -------------------------------
# JWT Token (*)
# -------------------------------
TOKEN_SECRET=REPLACE_WITH_RANDOM_LONG_SECRET

# -------------------------------
# Common Behavior
# -------------------------------
# 프로덕션 배포 및 계정생성 후 false 로 수정
ALLOW_REGISTRATION=true
TRY_LOGIN_TIMES=4
DIFF_NUMS=3
# DATA_DIR=./data
# 클라우드 배포시 보통 data 디렉토리에 쓰기 권한이 없음
DATA_DIR=
# update_check 결과를 Redis에 캐시(프로덕션 true 사용) (*)
UPDATE_CHECK_CACHE=false
# rollout 대상 여부를 clientUniqueId별로 캐시(프로덕션 true 사용) (*)
ROLLOUT_CLIENT_UNIQUE_ID_CACHE=false

# -------------------------------
# Redis (optional: only needed for login attempt limit or caching) (*)
# -------------------------------
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0

# -------------------------------
# Email SMTP (optional: only used for registration + verification)
# -------------------------------
SMTP_HOST=
SMTP_PORT=465
SMTP_USERNAME=
SMTP_PASSWORD=

# -------------------------------
# Cloud Storage (Optional)
# Qiniu / S3 / OSS / Tencent Cloud
# -------------------------------
QINIU_ACCESS_KEY=
QINIU_SECRET_KEY=
QINIU_BUCKET_NAME=
QINIU_DOWNLOAD_URL=

# AWS IAM - admin_codepush with the customS3BucketAccessForCodePush policy (*)
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_SESSION_TOKEN=
AWS_BUCKET_NAME=
AWS_REGION=
AWS_DOWNLOAD_URL=
# 버킷내 경로 프리픽스 (optional)
AWS_S3_KEY_PREFIX=codepush/

OSS_ACCESS_KEY_ID=
OSS_SECRET_ACCESS_KEY=
OSS_ENDPOINT=
OSS_BUCKET_NAME=
OSS_PREFIX=
OSS_DOWNLOAD_URL=

COS_ACCESS_KEY_ID=
COS_SECRET_ACCESS_KEY=
COS_BUCKET_NAME=
COS_REGION=
COS_DOWNLOAD_URL=

# The value should be a comma-separated list of IP addresses, e.g., "127.0.0.1,10.0.0.1".
WEB_UI_WHITELIST=
WEB_UI_ALLOW=
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.js
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@shm-open/eslint-config-bundle'],
};
41 changes: 41 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x]

services:
redis:
image: redis
ports:
- 6379:6379
mysql:
image: mysql
env:
MYSQL_ROOT_PASSWORD: password
ports:
- 3306:3306

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm run lint --if-present
17 changes: 10 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ pids
*.pid
*.seed
*.DS_Store
bin/
.nyc_output/

.grunt
# deps
node_modules/

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules

coverage

# vs code
.history
.idea
.idea

# environment variables
!.env.example
.env
.env.*
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

CHANGELOG.md
coverage
public
1 change: 1 addition & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@shm-open/eslint-config-bundle/prettier');
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

Loading