707 Commits

Author SHA1 Message Date
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
f7a5a27155 report notification via CLI 2014-12-03 11:46:12 +01:00
Tjatse
bf2bf8a646 fix: PM2_LOG_DATE_FORMAT default value. 2014-12-03 08:33:16 +08:00
Unitech
216390178e warn message only for 0.10 2014-12-01 16:49:11 +01:00
Unitech
9b35504f9a Set TIMESTAMP to PM2 log by default 2014-12-01 16:34:25 +01:00
Alexandre Strzelewicz
4a44f89aab Merge pull request #853 from Tjatse/development
feature: timestamp prefix of `pm2.log`
2014-12-01 16:20:20 +01:00
Tjatse
3072e89b6d feature: timestamp prefix of pm2.log 2014-11-29 11:19:21 +08:00
Alexandre Strzelewicz
677e9b3cec Merge pull request #847 from koresar/development
Allow env vars per each ecosystem's deploy
2014-11-28 11:35:26 +01:00
Alexandre Strzelewicz
826d5e7e64 Merge pull request #849 from Tjatse/development
TreeKill lib
2014-11-28 11:35:08 +01:00
Tjatse
e3b205ee47 fix: pid must be a Number 2014-11-28 17:17:13 +08:00
Tjatse
11fe5f4bf6 Reference treekill lib from the original one but not a copy, and make it works more stabler && highly performance. 2014-11-28 11:54:21 +08:00
jshkurti
f4d6a29fea little fix 2014-11-27 12:15:04 +01:00
vasyl
8dfc2e07af #29 Change priority: lowest is deploy.dev.env, then app.env, and highest is app.env_dev. Update docs. Update sample ecosystem.json when doing pm2 ecosystem. 2014-11-27 19:37:21 +11:00
vasyl
3170152036 #29 Additional check for envName 2014-11-27 15:01:37 +11:00
vasyl
dd7b6ead22 #29 Comment amendment. 2014-11-27 14:02:02 +11:00
vasyl
1148b4efb7 #29 Create a test for the new functionality. Fix a found bug. 2014-11-27 13:58:10 +11:00
vasyl
1941a69a7b #29 Minor code cleanup. 2014-11-27 13:08:38 +11:00
vasyl
22a520501e #29 Merge 'deploy.[ENVNAME].env' values to the environment variables object. 2014-11-27 13:01:48 +11:00
vasyl
1ba5bc0e1c #29 Remove code duplication for env. variables merge. Extract to a new function. 2014-11-27 12:44:23 +11:00
Tjatse
2cc824c744 do not strip quotes in sentence 2014-11-26 22:01:14 +08:00
Tjatse
7053921785 fix: match more complex arguments 2014-11-26 21:03:03 +08:00
Alexandre Strzelewicz
60f6c35910 Inform cluster in beta after processing exec mode 2014-11-26 01:16:06 +01:00
Unitech
0b3a2c693e State ERRORED_STATUS like stopped/stopping - calling reloadProcessId restart if app stopped or not cluster_mode (fix pull&reload bug) - change exec logic order - flattify Methods.backward 2014-11-26 01:03:53 +01:00
Unitech
1244da156b homogeneize option parsing logic between JSON and CLI execution - cancel JSON execution if there are errors - cleanly exit PM2 CLI with exitCli() 2014-11-25 22:19:02 +01:00
Unitech
007231a042 allow array and string for watch option -- add some tests for JSON validation 2014-11-25 18:14:27 +01:00
Unitech
04bbcc73db merge from master 2014-11-25 17:04:40 +01:00
Alexandre Strzelewicz
82465733dc Merge pull request #838 from Tjatse/development
Revisions for dev branch
2014-11-25 16:59:42 +01:00
jshkurti
f1f829c8b8 Now Worker:Refresh is only applied to ahead and unstaged flags 2014-11-25 15:03:28 +01:00
Tjatse
8d6e7aebe3 1. add post_update schema; 2. fix log path bug. 2014-11-24 17:16:26 +08:00
Tjatse
1e017a546e recommends 2014-11-24 15:14:38 +08:00
Tjatse
0c31dede26 1. Validate Commander options && JSON key-values and make options briefness and easy configuration. 2. Refactor start/restart 2014-11-24 14:44:20 +08:00
Tjatse
cce859a338 CLI ignore_watch supports 2014-11-24 14:41:32 +08:00
Jamie
29e062e0ca small changes 2014-11-23 22:33:45 +08:00
Jamie
6a5712814e fix the directory or file not found bug when there is cwd key in JSON app declaration 2014-11-23 00:08:30 +08:00
Tjatse
167c7a57e5 1. Reload env graceful and peaceful, 2. Unify appConf - rename ignoreWatch to ignore_watch 2014-11-22 09:26:55 +08:00
jshkurti
c2e3581cb5 Worker: restart process if using 0 memory and status equals ONLINE 2014-11-21 16:53:14 +01:00
jshkurti
402190264f CLI Feature added: pm2 pull <name> [commit_id] // goes to commit_id if specified 2014-11-21 15:46:09 +01:00
Joni Shkurti
c0143cc5da Update ActionMethods.js 2014-11-21 14:54:00 +01:00
Unitech
197781ed57 check reload logs and avoid cb if error 2014-11-21 14:46:13 +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
Tjatse
bf32318b2a 1. Make sure directories of logs and pods exist before logging. 2. Refactor: put startLogging into Common. 2014-11-21 11:22:35 +08:00
Unitech
f2ce631dd1 fix some stuff 2014-11-18 18:33:05 +01:00
jshkurti
29fc72b3e8 re-refactor worker 2014-11-18 18:14:34 +01:00
jshkurti
70f6a3b868 worker refactored fix fix 2014-11-18 16:57:10 +01:00
Unitech
d9a8157495 Merge branch 'development' of github.com:Unitech/PM2 into development 2014-11-18 16:12:24 +01:00
Unitech
6897118123 remove disconnect on log reload to continue interaction between procesess 2014-11-18 16:10:32 +01:00
jshkurti
9f73b9639c worker refactored 2014-11-18 15:41:20 +01:00
Unitech
4f882acb33 refactor 2014-11-18 15:35:35 +01:00
Unitech
1b782e4a87 refactor 2014-11-18 15:30:09 +01:00