1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 21:29:02 +08:00
Commit Graph

278 Commits

Author SHA1 Message Date
Zhiyong(Johnny) Zhao
43a308056f
feat: implement self-update for nali (#177) 2023-09-28 22:41:43 +08:00
oldshensheep
f91569c506 fix: panic when config dir access denied 2023-09-19 20:42:03 +08:00
zu1k
20a0de63f1 chore(CI): upgrade golang to 1.21 2023-08-24 11:14:36 +08:00
zu1k
6462935b1b chore: make code scanning happy 2023-08-24 11:10:52 +08:00
zu1k
07409ff628 chore: fmt code & upgrade deps 2023-08-24 10:32:56 +08:00
zu1k
77c5bee3b6
Merge pull request #165 from chainreactors/json
Add json format output.
2023-08-24 10:19:04 +08:00
M09Ic
904c57efa9 move Result struct to type.go 2023-05-21 14:45:37 +08:00
M09Ic
a0e6398db8 unified dbif Name() return values to db.Name values 2023-05-21 14:41:21 +08:00
M09Ic
56be0c61ca revolt output behavior, making it consistent with the original. 2023-05-21 14:10:31 +08:00
M09Ic
97cde2aa94 Fix the bug of json nested error 2023-05-20 18:12:31 +08:00
M09Ic
3819ae6808 Add the source field to the json output. 2023-05-20 17:53:43 +08:00
M09Ic
05d918528f Fix the bug that the output format is different from the original version. 2023-05-20 17:37:24 +08:00
M09Ic
36025d8f01 add json note 2023-05-20 17:30:02 +08:00
M09Ic
d6d26f71f8 Fix the difference in output between stdin and cmd input. 2023-05-20 17:24:50 +08:00
Jason_R4bb1t
ff1449a4d1 add flag -j/--json. json format output. 2023-05-20 17:23:31 +08:00
oldshensheep
748c5cf4a8
fix crash and fix migration qqwry #161 (#162)
* fix crash #161

* fix migration qqwry
2023-05-01 20:53:49 +08:00
zu1k
de355d1f7a fix: Update qqwry download url 2023-04-24 16:39:25 +08:00
zu1k
7c2d9e1dd7 feat: optimize using [2]int 2023-03-02 16:53:50 +08:00
zu1k
b4dab2032b chore: add download times badge 2023-02-26 15:49:57 +08:00
zu1k
25b0af0632 fix: auto migrate download link 2023-02-04 10:39:09 +08:00
zu1k
e196c6834f chore: update deps 2023-02-04 10:24:12 +08:00
zu1k
bb1570533c
chore: rm useless file
Signed-off-by: zu1k <i@zu1k.com>
2023-01-20 20:13:49 +08:00
Zhizhen He
aad0672ec4
docs: update README_en.md (#156) 2023-01-15 12:08:10 +08:00
zu1k
06e14b82e8 docs: update build test badge 2023-01-10 11:04:01 +08:00
zu1k
268052314a docs: rm useless link 2023-01-10 11:00:50 +08:00
zu1k
8aebd93126
fix: #155 2023-01-08 09:55:06 +08:00
zu1k
a77165b014
chore: update qqwry download link 2023-01-08 09:30:59 +08:00
zu1k
5cbba4720c
Merge pull request #151 from lgtm-migrator/codeql
Add CodeQL workflow for GitHub code scanning
2022-11-10 19:01:44 +08:00
LGTM Migrator
f8f48ba67e
Add CodeQL workflow for GitHub code scanning 2022-11-10 09:18:07 +00:00
zu1k
467ed54192
Update dependabot.yml 2022-11-08 10:55:11 +08:00
zu1k
b29ad6fb56
chore: format 2022-10-24 09:53:42 +08:00
zu1k
b0bd2771d6
feat: check db data after download 2022-10-24 09:51:19 +08:00
zu1k
fc9df8dcf0
fix: check wry size before read header 2022-10-20 16:05:02 +08:00
zu1k
2da7512590
deps: update deps 2022-10-20 16:00:58 +08:00
zu1k
306babc6ac
fix: Check wry db before query 2022-10-20 15:59:03 +08:00
zu1k
b4e783e6ff
refactor: new wry parsing implementation, supports concurrency 2022-10-20 15:54:20 +08:00
zu1k
3efa0d139c
Bump version to 0.6.0 2022-10-17 15:01:34 +08:00
zu1k
0631804e00
fix: migration move db to data dir
Signed-off-by: zu1k <i@zu1k.com>
2022-10-06 13:09:41 +08:00
zu1k
5039161a5c
fix: migration find old dir path
Signed-off-by: zu1k <i@zu1k.com>
2022-10-06 13:05:35 +08:00
zu1k
462503377c
feat: auto migrate to new dir
Signed-off-by: zu1k <i@zu1k.com>
2022-10-06 11:23:27 +08:00
zu1k
0062ad914e
change default dataDir and configDir
https://github.com/adrg/xdg
Signed-off-by: zu1k <i@zu1k.com>
2022-10-05 22:16:55 +08:00
zu1k
e1af0bc383
feat: get ConfigDir and DataDir path from XDG env
Signed-off-by: zu1k <i@zu1k.com>
2022-10-05 21:58:27 +08:00
zu1k
60bab5e13b
fix: quit & exit should exit nali
Signed-off-by: zu1k <i@zu1k.com>
2022-08-15 09:40:14 +08:00
zu1k
ed0fe1d8ed
deps: update deps
Signed-off-by: zu1k <i@zu1k.com>
2022-08-15 09:31:21 +08:00
zu1k
fb00fa9554
feat: Remove ip2region old db format support
Signed-off-by: zu1k <i@zu1k.com>
2022-08-15 09:31:05 +08:00
zu1k
87d621f4bb
chore: Update CI Go version to 1.19
Signed-off-by: zu1k <i@zu1k.com>
2022-08-15 09:30:18 +08:00
zu1k
8307d14075
refactor: Simplified ScanLines
Signed-off-by: zu1k <i@zu1k.com>
2022-08-15 09:13:35 +08:00
zu1k
8e68a770a7
Merge pull request #132 from mzz2017/master
fix: a problem that cannot read mtr output from pipe
2022-08-15 09:12:00 +08:00
mzz2017
eaeae3d7a7 fix: annotation 2022-08-14 23:38:36 +08:00
mzz2017
24cdbcfe44 optimize: remove regexp and use bytes.IndexByte to improve the performance 2022-08-14 23:36:01 +08:00