Commit Graph

70 Commits

Author SHA1 Message Date
Micooz
947a260285
bin: remove .js support 2017-09-05 14:33:42 +08:00
Micooz
94be72599b
docs,bin,src: remove behaviours 2017-09-05 14:32:40 +08:00
Micooz
fa356e35ac package: bring lib/ back to the project 2017-09-02 11:21:56 +08:00
Micooz
98d6599de1
bin: should ignore "behaviours" in minimal mode 2017-08-28 16:53:58 +08:00
Micooz
86637782b4 core,bin: refine "transport" structure 2017-08-22 10:54:25 +08:00
Micooz
996f118ec1 bin: change "transport" structure 2017-08-21 18:10:25 +08:00
Micooz
0cf13bcc8d bin: generate behaviours option in init 2017-08-20 17:12:55 +08:00
Micooz
1669102819 bin: add "--list-behaviours" option 2017-08-18 15:09:38 +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
4109e5f6ba core: add "log_path" option 2017-08-15 23:05:32 +08:00
Micooz
19c6ffd1b9 bin: fix eslint 2017-08-14 17:42:31 +08:00
Micooz
66aef07e9c core: disable cluster mode by default 2017-08-14 17:39:37 +08:00
Micooz
0f4cc32304 core: allow to disable cluster mode by setting "workers" to zero 2017-08-14 17:25:10 +08:00
Micooz
3c3aa46a2e bin,core: support built-in cluster mode
close: #88
2017-08-14 15:54:19 +08:00
Micooz
78fc22264f bin: add start.js for package bin, use cli.js as webpack entry 2017-08-14 15:53:01 +08:00
Micooz
dd6fea7e38 bin: use JSON.stringify instead of string template
close: #86
2017-08-13 18:35:42 +08:00
Micooz
babf024e20 bin: fix path resolve to --config 2017-08-11 14:02:37 +08:00
Micooz
fcdc1adc01 core,bin: remove profile.js 2017-08-10 14:31:29 +08:00
Micooz
cbb962d4d7 docs: update config and usage 2017-08-10 09:13:22 +08:00
Micooz
da5fdf1fc8 bin,package: deprecated cli-client.js and cli-server.js, refactor bootstrap.js and init.js 2017-08-09 22:44:59 +08:00
Micooz
c1c7eb9576 bin: cli-init now generates random port and timeout
close: #79
2017-08-09 20:53:53 +08:00
Micooz
20ae64ee40 Merge branch 'feature-using-webpack' 2017-08-08 14:50:14 +08:00
Micooz
c60afe6d78 docs: update 2017-08-08 14:10:27 +08:00
Micooz
caa47a0ccf bin: generate .json instead of .js and remove all comments in cli-init.js 2017-08-08 14:09:41 +08:00
Micooz
f27e44675e package: add webpack, webpack.config.js and loaders 2017-08-07 22:12:33 +08:00
Micooz
034e3b604f bin: remove blank lines of cli-init.js 2017-08-02 16:15:10 +08:00
Micooz
77a085d44a feat(core): allow to custom DNS servers
close: #66
2017-06-11 18:44:19 +08:00
Micooz
dee03a0438 refactor(core): instantiating winston logger
close: #65
2017-06-10 14:53:21 +08:00
Micooz
634f84c189 chore(package): drop babel-polyfill 2017-06-06 14:29:30 +08:00
Micooz
50719fa5b5 refactor(Hub): drop "error" handler and process.exit(0) 2017-04-26 15:57:16 +08:00
Micooz
fbd82fe0b2 chore(cli-init): remove confusable characters when generate key 2017-04-20 17:19:07 +08:00
Micooz
d9185a98d7 chore(cli-init): generate more common values 2017-04-17 14:30:58 +08:00
Micooz
37fecd5501 docs(readme): update 2017-04-16 17:39:28 +08:00
Micooz
26e84bd9b2 refactor(bin): cli-init.js now generate two configurations 2017-04-16 17:38:18 +08:00
Micooz
f8c6c275b6 refactor(core): now multiple servers can have different configurations
close: #48
2017-04-15 17:01:34 +08:00
Micooz
54a88afe2f docs(config): add more comments 2017-04-13 21:43:22 +08:00
Micooz
0079380d36 refactor(core): robust design for middlewares
close: #40
2017-04-13 16:43:54 +08:00
Micooz
84bf0e1347 refactor(bin): generate new config format in .js suffix 2017-04-13 16:17:57 +08:00
Micooz
5be30fcebc feat(bootstrap): support configuration file with ".js" format
close: #49
2017-04-12 21:29:05 +08:00
Micooz
13ea396456 feat(socket): add timeout mechanism
close: #45
2017-04-12 16:04:43 +08:00
Micooz
551e585d7f fix(bin): change 'ss-aead' to 'aead' 2017-04-07 16:03:53 +08:00
Micooz
5baf1e73d2 docs(readme): update 2017-03-29 16:20:51 +08:00
Micooz
b43b36e237 feat(core): add redirect behavior
close: #39
2017-03-29 16:17:09 +08:00
Micooz
b69307dd15 fix(bootstrap): watch only when --config/-c is provided 2017-03-29 10:58:28 +08:00
Micooz
e6a3c843d5 feat(bootstrap): hot reload config.json
close: #37
2017-03-29 10:52:28 +08:00
Micooz
62552d42c5 chore(bootstrap): fault tolerance for "servers" 2017-03-28 16:14:31 +08:00
Micooz
618f93a2e4 chore(config.js): default protocol can be "none" 2017-03-28 14:07:55 +08:00
Micooz
b0d4660c9a refactor(cli-init): use ss-aead protocol by default 2017-03-28 13:19:14 +08:00
Micooz
c4122400b4 feat(bootstrap): disable a server by prefixing a '-'
close: #38
2017-03-28 10:52:21 +08:00