Commit Graph

726 Commits

Author SHA1 Message Date
Micooz
1ffb7800de utils: refine logger config/import 2017-08-20 22:01:30 +08:00
Micooz
454cc88cd1 package: add winston-daily-rotate-file 2017-08-20 22:00:08 +08:00
Micooz
ea8d51befe deploy: fix pm2.config.json 2017-08-20 20:14:41 +08:00
Micooz
850096bb22 package: update deps 2017-08-20 20:12:19 +08:00
Micooz
f0207e61d7 behaviours: add tests 2017-08-20 19:55:58 +08:00
Micooz
7e1d7a703f core: add missing tests for config.js 2017-08-20 19:55:41 +08:00
Micooz
8a6657a688 utils: return default logger when instance is not available 2017-08-20 19:55:21 +08:00
Micooz
63d21a42f1 core: fix failing tests 2017-08-20 17:38:10 +08:00
Micooz
25f6a8d6cd docs: update 2017-08-20 17:13:57 +08:00
Micooz
03796c8886 core: remove "redirect" option 2017-08-20 17:13:25 +08:00
Micooz
0cf13bcc8d bin: generate behaviours option in init 2017-08-20 17:12:55 +08:00
Micooz
1f61fb10f2 core: add setPresets(callback) to Socket 2017-08-20 13:37:13 +08:00
Micooz
ea18c21bf8 core: fix dns-cache.js 2017-08-20 13:35:45 +08:00
Micooz
9ad0fed649 behaviours: re-implement 2017-08-20 13:35:23 +08:00
Micooz
3a3a8a2404 core: refactor socket.js 2017-08-19 19:51:50 +08:00
Micooz
8ce5f458ca core: now onBroadcast doesn't require direction, use upward directly 2017-08-19 19:51:13 +08:00
Micooz
90134846e8 hub: remove socket by id correctly 2017-08-19 19:49:45 +08:00
Micooz
c5a179456e presets: add tracker.js 2017-08-19 19:49:01 +08:00
Micooz
9fb6500d06 presets: refine SOCKET_CONNECT_TO_REMOTE action 2017-08-19 19:48:17 +08:00
Micooz
d6c04f33f3 Merge branch 'feature-add-tunnel-preset' 2017-08-18 15:45:21 +08:00
Micooz
e1a323a2fe docs: update presets 2017-08-18 15:44:49 +08:00
Micooz
699e9fb9d0 benchmark: use tunnel preset 2017-08-18 15:44:34 +08:00
Micooz
26fbce6b44 presets: extract tunnel mode from "proxy" to "tunnel"
close: #91
2017-08-18 15:31:55 +08:00
Micooz
f8961a72be Merge branch 'feature-behaviours' 2017-08-18 15:19:02 +08:00
Micooz
89d528f374 core: refactor socket connect() and onPipeNotified() 2017-08-18 15:17:25 +08:00
Micooz
bf8450b0c5 core,utils: move logger to utils 2017-08-18 15:15:57 +08:00
Micooz
eddbdf91fb core: add validation for json.behaviours 2017-08-18 15:11:49 +08:00
Micooz
1669102819 bin: add "--list-behaviours" option 2017-08-18 15:09:38 +08:00
Micooz
e1daf72637 package: add lodash.isplainobject 2017-08-18 15:09:02 +08:00
Micooz
9da46c2cc8 behaviours: implemented come behaviours 2017-08-18 15:08:26 +08:00
Micooz
4692893213 behaviors: add several 2017-08-16 22:21:15 +08:00
Micooz
4e3cdd88fb docs: update usage 2017-08-16 20:20:05 +08:00
Micooz
fd3541ea7e package: update pkg 2017-08-16 20:16:52 +08:00
Micooz
c8ba54c243 2.5.3 2017-08-16 13:34:35 +08:00
Micooz
be747f7057 build: update 2017-08-16 13:33:39 +08:00
Micooz
4f90777eb7 bin: add "-m, --minimal" option
close: #90
2017-08-16 13:09:59 +08:00
Micooz
893ae00adc bin: add "-l, --list-presets" option
close: #89
2017-08-16 12:58:13 +08:00
Micooz
953dcfaa82 src: export presets module 2017-08-16 12:56:39 +08:00
Micooz
b9fd4cb71c presets: export preset names in index.js 2017-08-16 12:56:18 +08:00
Micooz
215ff06641 core: remove dynamic require to presets 2017-08-16 11:48:33 +08:00
Micooz
e09804b481 presets: add index.js 2017-08-16 11:47:53 +08:00
Micooz
143232008b core: fix logger 2017-08-16 11:17:59 +08:00
Micooz
c9249fd579 Merge branch 'feature-custom-log-path' 2017-08-16 10:49:14 +08:00
Micooz
c09282e1cf docs: update config 2017-08-16 10:48:22 +08:00
Micooz
76b8f6f057 core,test: update tests for config.js 2017-08-16 10:06:54 +08:00
Micooz
4109e5f6ba core: add "log_path" option 2017-08-15 23:05:32 +08:00
Micooz
5643ae60e9 core: remove constants.js 2017-08-15 23:04:45 +08:00
Micooz
2e0fc5b77b build: update 2017-08-14 22:06:38 +08:00
Micooz
3ab6a5843d benchmark: remove "watch" option 2017-08-14 22:03:34 +08:00
Micooz
19c6ffd1b9 bin: fix eslint 2017-08-14 17:42:31 +08:00