71 Commits

Author SHA1 Message Date
Unitech
df3ec5846e refactoring + added default attribute in JSON validation + consistency between JSON starts and CLI starts 2015-12-15 02:07:25 +01:00
Unitech
ba95a80387 #1830 - send SIGINT as default first signal 2015-12-11 16:07:04 +01:00
Unitech
b9256cea26 slightly change prototype of .sendDataToProcessId 2015-12-08 19:29:28 +01:00
Unitech
1ebe565cb1 change order 2015-12-08 18:01:56 +01:00
Unitech
5db52ee383 #1822 new method pm2.sendDataToProcessId 2015-12-08 16:57:38 +01:00
soyuka
efcdb06824 Test #1668 2015-10-30 23:33:52 +01:00
Unitech
cff924bfe6 npm 3.x fix - #1674 #1692 #1675 2015-10-15 02:13:41 +02:00
Unitech
7a534313c8 drop locking system 2015-10-09 16:36:21 +02:00
Unitech
4438df9dc2 Merge branch 'master' into development 2015-09-26 20:17:16 +02:00
Unitech
850e123c9b pm2 multiset 2015-09-26 14:08:44 +02:00
Unitech
7b76402768 throttle tests 2015-09-24 16:28:53 +02:00
Unitech
8f662893f1 appveyor 2015-09-20 20:33:28 +02:00
Unitech
13f716c159 omit what is inside double quotes for configuration system 2015-09-18 17:31:50 +02:00
Unitech
fa20da1236 tests win 2015-09-18 16:44:38 +02:00
Unitech
458cf9566f more test under windows 2015-09-18 15:19:47 +02:00
Unitech
c801bb11db windows test fix tentative 2015-09-18 15:01:28 +02:00
Unitech
6e3bf4d38b add module test 2015-09-11 14:20:50 +02:00
Antoine Bluchet
506c7146e4 Watch refactor: improve tests, paths resolving
- move tests from bash to js
- removed `pm2_env`.watch path resolving in favor of chokidar `cwd`
  option ([see here](https://github.com/paulmillr/chokidar/blob/master/CHANGELOG.md#chokidar-100-7-april-2015)) (fix #1577)
- if watch is a boolean, path is set to process cwd (`pm2_env.pm_cwd`) (keep #1578 coverage)
2015-09-03 23:43:13 +02:00
Antoine Bluchet
2ea41ef329 fix #1373 ignore_watch consistency 2015-07-29 16:04:30 +02:00
Unitech
04cca9ddfe pm2 password flag 2015-07-29 01:22:31 +02:00
Unitech
10ff6729e0 add getSync method to get config variables (+tests) + starting implementation of password checking 2015-07-12 21:31:18 +02:00
Unitech
8bbb1602bd PM2 scoped actions (+tests) + Password encryption methods(+tests) + Unset works(+tests) for config sys 2015-07-12 21:07:08 +02:00
Unitech
670818e105 smart start - changelod.md - back to 1 CONCURRENT ACTIONS 2015-06-09 19:43:10 +02:00
--global
bb6a778832 call reload instead of restart to gracefully restart processes 2015-04-22 17:26:01 -04:00
--global
5be0c52767 on max memory reached reload instead of restart 2015-04-22 16:53:14 -04:00
--global
e9041b1fd7 test change user git push 2015-04-22 00:45:34 -04:00
--global
e701232bc7 travis has too many cpus 2015-04-22 00:41:53 -04:00
--global
264e84a2ea pm2 scale <app_name> <number> 2015-04-21 23:37:46 -04:00
--global
937bb5ef90 more test for various programmatic commands 2015-04-21 22:16:14 -04:00
--global
786c92ec15 rename cluster test 2015-04-21 22:01:37 -04:00
Unitech
d79c16411e add programmatic test for cluster and related methods 2015-04-21 19:48:36 -04:00
Unitech
cd91aa3b8a Expose .kill method from programmatic calls + return right process array when starting JSON 2015-04-21 18:17:46 -04:00
Unitech
ee0d8a8a2f allow to call disconnect without function 2015-04-21 13:58:59 -04:00
Unitech
18ac01feac Add pm2 conf module.option [value] alias for configuration 2015-04-19 17:21:26 -04:00
Unitech
b5b633d29c replace child.js with echo.js 2015-04-15 01:33:05 -04:00
Unitech
b168a0143b throttle tests 2015-04-15 01:19:26 -04:00
Unitech
dd34c7080b Add tests for JSON start / file start 2015-04-15 00:58:54 -04:00
Unitech
628b5417ce allow module configuration via <module_name:option_key> <value> + auto restart module when changing his values 2015-03-04 23:49:36 -05:00
Unitech
be06178629 better doc for modules - replace JSON5 by pure JSON for configuration - avoid copy an [Object] String when restoring previous environment (Common.extend) 2015-03-01 18:56:53 -05:00
Unitech
e4b45e37aa Integrate configuration system with module system 2015-02-09 17:02:06 -05:00
Unitech
5a73e10650 configuration system 2015-02-09 16:01:23 -05:00
Tjatse
7028aa5379 update test suit: args should be an Array or normal String now (split by blank) 2014-12-23 11:28:32 +08:00
Tjatse
adb6c6b2f1 fix: delay should be greater than 800ms 2014-11-28 16:19:16 +08: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
Tjatse
d7aadc9bf4 rename: Common.resolveAppPaths -> `Common.prepareAppCo 2014-11-24 15:17:22 +08:00
Tjatse
744fa4dae2 rename: Common.resolveAppPaths -> Common.prepareAppConf 2014-11-24 14:56:37 +08:00
tknew2
ad5be9213e Lock System - reactivate God tests 2014-10-26 22:11:57 +01:00
tknew2
f40710b0ab Interaction edits 2014-10-08 11:41:36 +02:00