Jebbs
9367e9b1f2
V5: YAML support ( #475 )
...
* yml support
* code optimize
* remove external conf loaders
* update yaml test
code optimize
* code optimize
* fix a typo
* update convert desc
2020-12-03 06:11:24 +08:00
loyalsoldier
483103a16b
Merge branch 'master' into v5
2020-12-03 00:01:36 +08:00
Loyalsoldier
45aeaa8080
Refine pick port logic ( #481 )
2020-12-02 23:48:32 +08:00
Loyalsoldier
ff09993c8b
Refine coverall ( #472 )
2020-12-02 21:57:31 +08:00
Loyalsoldier
cf11bf0498
Suppress lint error ( #480 )
2020-12-02 21:07:58 +08:00
CalmLong
9c1ad3ab93
remove "v2ray.com/core" in log ( #478 )
...
* format errlog output
* fix test
2020-12-02 20:00:51 +08:00
QxQ
fe60260d48
Update release.yml
2020-12-02 19:05:46 +08:00
Loyalsoldier
5bf470d9cb
Remove removeVSign.sh ( #470 )
2020-11-30 21:00:05 +08:00
loyalsoldier
9475e8df3c
Merge branch 'master' into v5
2020-11-30 20:59:04 +08:00
Loyalsoldier
7de5bca056
Remove Bazel ( #469 )
...
due to https://github.com/v2fly/v2ray-core/pull/468
2020-11-30 20:48:17 +08:00
QxQ
3342afbada
Use GitHub Actions matrix feature to build and release ( #468 )
...
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-11-30 20:17:33 +08:00
Jebbs
a17fc40651
v5: API commands ( #452 )
...
* api commands
* do not build all commands texts
* apply lint style
* configurable api timeout
* api cmds accepts file, url, stdin.
optimze output
* extract to dialAPIServer()
2020-11-30 20:08:08 +08:00
kslr
aa24f9a638
remove mtproto
2020-11-28 22:28:14 +08:00
Jebbs
ff59bd37ce
v5: New multi-json loader ( #451 )
...
* scalable commands column
* new multi-json loader
For both internal & external json loader
This commit also:
* applies -confdir to other formats, e.g. "yaml" in the future
* multiple assign of -confdir is accepted
* add flag to load confdir recursively
* config loader can have alias name
* json loader also accepts .jsonc
* add merge command
* add help topics for json merge, format loader
* format loaders don't panic
* apply lint style
* add merge test
* merge same tag in array, solve v2fly/discussion#97
* apply lint style
* merge code optimize
* fix merge cmdarg.Arg
* update cmd description
* improve merge logic
* fix zero value overwrite
* fix "null" lost after array merge
* code optimize
* fix merged slices not sorted
* code optimize
* add package doc
* fix a typo
2020-11-28 22:06:03 +08:00
Loyalsoldier
8cb2db5321
Fix: security issues & overflow potentiality ( #465 )
2020-11-28 21:56:20 +08:00
Loyalsoldier
0bf185e705
Remove Dockerfile ( #467 )
...
Use https://github.com/v2fly/docker instead.
2020-11-28 15:18:16 +08:00
loyalsoldier
a7fa78c9a6
Merge branch 'master' into v5
2020-11-27 08:35:04 +08:00
Loyalsoldier
63912f99ec
Refine workflows ( #464 )
2020-11-27 08:33:44 +08:00
Kslr
5bebe87492
Fix: test run command ( #463 )
2020-11-27 08:19:52 +08:00
GitHub Action
cfbb826e1e
update geoip, geosite
2020-11-27 00:10:04 +00:00
loyalsoldier
e35d04f557
Merge branch 'master' into v5
2020-11-26 16:52:07 +08:00
Loyalsoldier
ea0210acee
Migrate release from Azure Pipelines to GitHub Actions ( #453 )
2020-11-26 16:30:17 +08:00
Loyalsoldier
b93f69fb48
Update dependencies ( #458 )
2020-11-26 05:32:04 +08:00
dependabot[bot]
7bac8188f1
Bump github.com/google/go-cmp from 0.5.3 to 0.5.4 ( #455 )
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.5.3...v0.5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-26 04:41:21 +08:00
loyalsoldier
78aaa9ff5f
Merge branch 'master' into v5
2020-11-25 11:35:42 +08:00
Loyalsoldier
e74c03541e
Update variables ( #454 )
...
due to https://github.com/v2fly/V2BuildAssist/pull/4
2020-11-25 11:25:33 +08:00
Loyalsoldier
2dfe64f2b0
Merge pull request #450 from Loyalsoldier/sync-master
...
Sync with master branch
2020-11-24 06:13:42 +08:00
Jebbs
521120d196
go style commands, merge v2ctl commands, v5 oriented ( #369 )
...
* go style commands
merge v2ctl commandsw
* migrate go style commands to v2ctl
* fixes & code optimize
* sort the commands
* update commands description
* restore old proto
golang.org proto has removed UnmarshalText, without alternative
* add test command
* remove unused code
* code optimize and fix
* The commit simplifies the run and test commands code,
* Fixes a hidden issue that the format flag not applied in command "v2ray test -format=pb ..."
* fix default loader logic
2020-11-23 23:38:43 +08:00
Loyalsoldier
7acf515258
Refine GitHub workflows running condition ( #447 )
2020-11-23 20:51:58 +08:00
dependabot[bot]
cfe5de7b97
Bump actions/stale from v3.0.13 to v3.0.14 ( #446 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from v3.0.13 to v3.0.14.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3.0.13...87c2b794b9b47a9bec68ae03c01aeb572ffebdb1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-23 07:05:07 +00:00
Kslr
bb74ef99e2
new readme design ( #444 )
...
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-11-23 00:06:51 +08:00
Loyalsoldier
b68f943c78
Fix lint according to golangci-lint ( #439 )
2020-11-22 05:05:01 +08:00
Kslr
f41286a0c7
Update deb copyright and changelog ( #443 )
...
* update deb copyright
* update version
2020-11-22 02:02:31 +08:00
Xiaokang Wang
999165bf93
Update deb.yml
2020-11-21 14:40:27 +00:00
Xiaokang Wang
61112d8af7
Workaround for muti-json's hard coded override method ( #409 )
...
* Simple workaround for muti-json unable to automatically understand new config options.
* Update jsonem.go
2020-11-21 02:50:46 +08:00
Kslr
f96fe0b35d
fix deb typo
2020-11-20 23:41:48 +08:00
Kslr
8c8a488df2
bump version
2020-11-20 16:09:43 +08:00
Kslr
623cb24644
Remove XTLS ( #431 )
...
* remove xtls
* generate pb
* Update protoc
* Clean up go.mod & go.sum
* format code
* restore vless flow
* fix codacy
* do NOT interfere with pb.go files
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-11-20 15:53:10 +08:00
dependabot[bot]
9a03cc5c98
Bump github.com/lucas-clemente/quic-go from 0.18.1 to 0.19.2 ( #436 )
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.18.1 to 0.19.2.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.18.1...v0.19.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-20 15:45:49 +08:00
Chinsyo
231f5bf024
Add missing deprecation notice to deprecated code ( #437 )
2020-11-20 15:18:44 +08:00
GitHub Action
9c1f251173
update geoip, geosite
2020-11-20 00:09:03 +00:00
Ye Zhihao
5b2a9e8769
API: Reflection Service Support ( #435 )
2020-11-20 01:57:31 +08:00
Chinsyo
2ac380788b
Some minor fixes ( #433 )
2020-11-20 01:02:52 +08:00
kslr
9bf09b2242
update readme credits
2020-11-18 04:33:21 +08:00
Chinsyo
32e0e6e484
Some minor fix ( #430 )
...
* fix typo pading to padding
* reorder common/buf/buffer.go code layout
* delete unused common/stack
Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-18 04:23:30 +08:00
Chinsyo
dc78733196
Refactor common/antireplay, unexport unnecessary public fields. ( #422 )
...
* rename AuthIDDecoderHolder private fields
* ignore unused return value more clear
* change PoolSwap to private fields
* refactor Unlock to defer
* use const capacity, reorder code layout
* replace mismatch field name poolX with type Filter
* change AntiReplayTime to private fileds, protect to modify
* rename lastSwapTime to lastSwap
* merge duplicate time.Now.
Since the current unit is in seconds, there is no need to repeat the call
* refine negate expression
* rename antiReplayTime to interval
* add docs
* fix lint stutter issue, rename antireplay.AntiReplayWindow to antireplay.ReplayFilter
* rename fileds m,n to poolA,poolB
* rename antireplay.go to replayfilter.go
* fix build issue
Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-17 21:05:26 +08:00
Chinsyo
c4c750d03f
change temporary variable to lower camel case ( #427 )
...
Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-17 15:14:48 +08:00
dependabot[bot]
1d1f207f0f
Bump github.com/pires/go-proxyproto from 0.3.1 to 0.3.2 ( #424 )
...
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/pires/go-proxyproto/releases )
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.3.1...v0.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 20:56:35 +08:00
Kslr
8b3068d26e
Update test.yml
...
某个平台失败时不影响其他平台测试
2020-11-15 23:39:23 +08:00
RPRX
7cc8b75006
Reorder dice_test.go
2020-11-14 05:06:07 +00:00