2516 Commits

Author SHA1 Message Date
Unitech
9233ea59de chore: remove message about processes not saved 2020-06-30 09:54:02 +02:00
Unitech
374fd39072 fix calling PM2 inside a script #4761 2020-06-29 21:02:35 +02:00
Unitech
e790d82212 disable autodump #4763 2020-06-29 11:20:57 +02:00
Unitech
21ecc39a6b #4694 fix this.autodump is not a function 2020-05-23 12:56:47 +02:00
Unitech
caca206395 psh 2020-04-23 19:09:06 +02:00
Unitech
593b43ca66 various fixes for N14 2020-04-23 17:33:35 +02:00
Unitech
e41282df4c fixes for node 14 + shelljs 2020-04-22 21:39:32 +02:00
Unitech
9d763edd9c cli-table-redemption -> cli-tableau 2020-04-19 11:57:49 +02:00
Alexandre Strzelewicz
03d0b284f6
Merge pull request #4662 from Timic3/fix/common-module-import
Add .cjs (common JS) as a viable extension
2020-04-14 11:36:58 +02:00
Unitech
d8a6d38180 bump pm2-deploy 2020-04-14 01:03:25 +02:00
Unitech
7a5da591f5 drop date-fns 2020-04-13 12:21:41 +02:00
Unitech
195eb6e75f drop lodash lib 2020-04-13 11:01:34 +02:00
Timotej
7323438fc6 Add .cjs (common JS) as a viable extension 2020-04-13 01:31:55 +02:00
Unitech
03f09ef24d filter_env to skip local env variables #4596 2020-04-12 16:58:55 +02:00
Unitech
23c1e0d810 Merge branch 'master' into development 2020-04-12 16:21:58 +02:00
Alexandre Strzelewicz
00c353c5a4
Merge pull request #4517 from bvsubhash/namespace-logs
feat: print logs of a particular namespace
2020-04-12 16:20:33 +02:00
Alexandre Strzelewicz
a016999229
Merge pull request #4518 from bvsubhash/trigger-namespace-or-all
feat: trigger all the process using 'all' or trigger all processes in a particular namespace
2020-04-12 16:20:10 +02:00
Alexandre Strzelewicz
bf582e1657
Merge pull request #4561 from codpot/fix-disabling-logs
Fix disabling logs
2020-04-12 16:12:41 +02:00
Unitech
69984f0698 chore fix schema.json 2020-04-12 16:09:54 +02:00
Alexandre Strzelewicz
e3449beb62
Merge pull request #4639 from warpdesign/patch-2
Fix --cwd CLI option description
2020-04-12 16:02:55 +02:00
Unitech
8b0417b3a9 drop moment replace by dayjs -200kb 2020-04-12 15:55:32 +02:00
Unitech
7319a7f1ab do not require cron in CLI if not needed 2020-04-12 15:49:24 +02:00
Unitech
498e96ef7b upgrade mocha + add .mocharc.yml + mkdirp fix 2020-04-12 14:21:51 +02:00
Unitech
dd3cf08f8b pm2 init changes + chores fixes 2020-04-12 13:35:20 +02:00
Nicolas Ramz
b06a2b2848
Fix --cwd CLI option description
'run target script as <username>' -> 'run target script from path <cwd>'
2020-03-22 21:57:20 +01:00
Toufik Airane
4c40fe5400 Fix Command Injection
Following the call on https://huntr.dev/.
I've try to fix the Command Injection by filtering potential malicious
characters such as ;(semicolon) |(pipe) and `(quote).

More information about the issue:
https://hackerone.com/reports/630227
https://snyk.io/test/npm/pm2/2.9.3
2020-02-02 17:40:59 +01:00
adunkey
36220bb149
Update Modularizer.js
validate pm2 install
2020-02-01 22:01:54 +00:00
Unitech
278d4b2cbc fix: #4588 import syntax on Node 9.x 2020-01-21 13:31:46 +01:00
Alexandre Strzelewicz
fda26d0e4f
Merge pull request #4563 from kimhc999/fix/get-pm2-path-fix
Fix an error for pm2 path on Windows.
2020-01-20 11:56:06 +01:00
Unitech
cafc8e5ea9 fix: look for package.json in parent folder 2020-01-20 11:29:14 +01:00
Unitech
5166826a9c chore: avoid token exception on Node < 9.x 2020-01-13 16:47:49 +01:00
Unitech
0d44c41b07 feat: #4540 support ES import 2020-01-13 14:52:59 +01:00
Eddy Hyunchul Kim
0b8bc19bdd Fix an error for pm2 path on Windows.
https://github.com/Unitech/pm2/issues/3793
2019-12-31 13:17:11 +09:00
Seungwan Seo
f3259c0f9a
Fix disabling logs bugs (#4560)
When log path set to "/dev/null" in Windows, PM2 creates 'C:\dev\null'.
After remove "C:\dev" folder while PM2 is stopped, PM2 can't restart app.
Because, Path changed to "C:\dev\null" not "/dev/null" in Windows.
(libs/Utility.js - 174)
When log path set to "NULL" in Windows and Linux and flush logs,
PM2 creates 'NULL' in source code directory.

So, If log path is "NULL" or "/dev/null" then
forces path to "\\.\NUL" when Windows and "/dev/null" when Linux.
It works both on Windows and Linux, without any create "C:\dev" or "NULL".
2019-12-29 02:03:53 +09:00
Unitech
e0fd5188b3 chore: version check 2019-12-10 16:42:31 +01:00
Unitech
bcf5c38ddb fix: col size when tracing enabled 2019-12-04 14:59:36 +01:00
Unitech
ac2ca921fe replace moment with dayjs 2019-12-02 15:17:42 +01:00
Subhash
9f2d8ca05a feat: trigger all the process using 'all' or trigger all processes in a particular namespace 2019-11-23 14:55:38 +05:30
Subhash
acc2355cac feat: print logs of a particular namespace
pm2 logs <namespace>
2019-11-23 13:46:27 +05:30
Unitech
0a21a00222 fix: check pm2_env 2019-11-18 19:04:07 +01:00
Unitech
d6f25c4687 chore: add hint that pm2 set pm2:autodump can sync dump file 2019-11-18 15:37:20 +01:00
Unitech
25172b7b79 chore: add helper message that cron is still online even after stop 2019-11-18 15:36:58 +01:00
Unitech
86cd4b2939 fix: right cron prefix + re activate cron on restart 2019-11-18 15:36:26 +01:00
Unitech
98ef2d139a fix: do not throw error on dump not present 2019-11-16 17:28:01 +01:00
Unitech
3976f15b3f fix: cron refactor 2019-11-14 23:37:35 +01:00
Alexandre Strzelewicz
378d443992
Merge pull request #4492 from bvsubhash/fix-cronjob-issue
fix: stop and delete cron immediately on deletion of a process
2019-11-14 11:29:04 +01:00
Unitech
376bd911e9 fix: make status col larger for long status 2019-11-08 14:36:51 +01:00
Unitech
5586c2affd feat: auto enable sysmonit when command typed 2019-11-08 14:36:28 +01:00
Unitech
9117d627e4 fix: pm2 version on pm2 update 2019-11-08 14:36:05 +01:00
Subhash
474f76b775 fix: stop and delete cron immediately on deletion of a process 2019-11-06 00:55:55 +05:30