Unitech
7a5da591f5
drop date-fns
2020-04-13 12:21:41 +02: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
d14ccbadbd
fix process file env switching bug and proc dups #3192 + #3987
2018-12-04 13:14:32 +01:00
Unitech
058ea6e2c9
parse package.json to retrieve module version running in mem + --bail on mocha.opts to fail fast
2018-09-27 15:34:02 +02:00
Unitech
adf5e7d8a5
fix an oversight
2018-09-24 14:52:11 +02:00
Unitech
0f1c2c6a24
faster logs throughput date parsing by replacing moment by date-fns in PM2 Daemon + homogeneize all logs with same date format + factorize ForkMode logging
2018-09-23 23:33:42 +02:00
Yazan Medanat
b8b48e83f7
refactor: removes unused imports.
2018-07-19 10:18:16 -04:00
Yazan Medanat
6466ee44c1
refactor: only import the necessary methods from async.
2018-07-19 10:18:08 -04:00
vmarchaud
85a5ee0f1f
chore: add unique id for each process
2018-04-23 15:21:27 +02:00
Daan Kets
ace8d0ca7f
Fix for node 0.12 test (no String.startsWith())
2018-02-08 12:03:28 +01:00
Daan Kets
1c58bf4b89
Added one test case, fixed a small bug
...
- Additional test case for @scope/module@tag
- Fixed a bug for checking the position of the last @ in the module name, that could trigger on -1.
2018-02-08 11:23:51 +01:00
Daan Kets
94ea9d9eef
Merge branch 'development' of ssh://github.com/deltasource/pm2 into hotfix/scoped-package-support
...
# Conflicts:
# package.json
2018-02-07 09:30:16 +02:00
Daan Kets
a3e093bbfe
Support for scoped package names
2018-02-07 09:13:22 +02:00
Alexandre Strzelewicz
d1916f4096
refactor: no more interactive spinner for connection to KM + change pm2 log format + remove some logs
2018-02-02 11:27:33 +01:00
Florian H-J
12e423855a
fix pm2 install http://modules
2017-10-25 15:51:00 +02:00
Daniel Tschinder
1fee1d0783
Allow installing modules from local file destinations
...
For example `pm2 install file:///home/user/module`
2017-10-25 10:24:28 +02:00
Alexandre Strzelewicz
f28d2e5072
allow to pm2 install http://modules
2017-10-13 18:15:02 +02:00
Conner McNamara
73048e670c
Do not ignore log_file when out(err)_file are NULL
2017-09-15 13:08:26 -07:00
Unitech
374f88ba0a
\#3134 double callback fix
2017-09-14 18:26:22 +02:00
Alexandre Strzelewicz
f5ee34c308
fix error handled
2017-09-01 15:33:26 +02:00
Unitech
7d6f173078
#2144 #1060 #2957 #2033 #1872 #2938 #971 Select application uid/gid via --uid --gid (CLI+JSON) + pm2 install --uid / --gid
2017-07-02 19:28:41 +02:00
Unitech
fc050b0bbe
[ #2958 and related] allow to delete attribute on restart by setting it to null
2017-07-02 03:20:37 +02:00
vmarchaud
f914f306a0
(module) allow to pm2 install module with git+http url #2973
2017-06-27 21:35:03 +02:00
vmarchaud
7afecdc8f4
(tests) add unit test for getCanonicModuleName method
2017-04-19 16:57:20 +02:00
Martin Zaloudek
b8b615111e
Fix #2809 . Fixed the broken installation of modules specified as Github repository with non-master branch. Fixed the broken upgrade of modules specified by Github source (old version was not been removed, therefore two instances existed in memory after upgrade). ( #2840 )
2017-04-19 16:53:44 +02:00
vmarchaud
613979da2f
(tests) add test for json log feature #2663
2017-01-31 16:26:10 +01:00
Unitech
f6b550ca4e
#2471 make env immutable and fix watch
2016-10-26 18:07:03 +02:00
Unitech
3090275a93
clone to fclone
2016-07-01 16:03:35 +02:00
Unitech
4930489045
new clone utility
2016-06-30 19:04:54 +02:00
Unitech
004b7846c9
PM2_ROOT_PATH leaked in instanciated file
2016-06-12 02:16:24 +02:00
Unitech
1886f73a2f
#2203 deep refactor
2016-06-04 14:04:26 +02:00
Unitech
e9d4d6a0d3
restore ikt + add simple check
2016-05-27 15:23:15 +02:00
Arkotek
610d68f8d7
remove useless require
2016-05-27 04:37:45 +02:00
Unitech
20344a58f1
#2188 remove any possibility for Daemon to require Satan.js
2016-05-27 00:59:50 +02:00
Fabien LOISON
f452454974
Fix: allows to update an installed module from a tgz package
2016-04-06 10:52:04 +02:00
Unitech
739f67786a
feature: add YAML support #578
2016-03-25 11:52:40 +01:00
Unitech
c3c0fcff46
add Copyright header to each file
2016-03-22 23:33:43 +01:00
Unitech
d52a5d1ef3
refactor: move function parseConfig
2015-12-16 14:35:50 +01:00
Unitech
d59e700da0
fix code comments
2015-12-07 12:28:03 +01:00
Unitech
6722f7ee03
merge safe-clone-deep
2015-12-07 12:20:10 +01:00
Unitech
b660925b03
pm2 deploy now check default file ecosystem.js[on|on5], package.json
2015-08-13 15:31:06 +02:00
jshkurti
7be3739780
logs: better filtering
2015-06-10 19:13:35 +02:00
jshkurti
360d14c477
refactor pm2 logs : DONE
2015-06-10 17:23:25 +02:00
Unitech
4848e5c974
avoid safe stringification and JSON.parsing to deep copy and remove circular dependencies + centralize object cloning + reduce data in pm2 pipeline + avoid complex object attached to pm2_env #1326 #1314
2015-06-09 17:30:16 +02:00
Unitech
5105ed67e0
Move God.js comments into doc/DEBUG.md - move console overidde into Utility.js
2015-04-14 23:41:44 -04:00
jshkurti
737a28e36d
fixed #1011
2015-02-19 14:59:41 +01:00
Unitech
643d77582f
change Date format to extended EPOCH time
2014-12-03 15:49:19 +01:00
Unitech
24333f434e
homogeneize getDate
2014-12-03 14:58:29 +01:00
Unitech
21306731e4
Move startLogging method into Utility.js to avoid memory overhead from Common.js
2014-11-21 12:04:43 +01:00
Unitech
4f882acb33
refactor
2014-11-18 15:35:35 +01:00