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

288 Commits

Author SHA1 Message Date
zu1k
dad26fd329 chore: update deps 2023-12-21 21:46:59 +08:00
zu1k
a1f4690e72 feat: geoip use default lang when selected not exist 2023-12-21 21:46:02 +08:00
zu1k
214d935a25 feat: add country code to geoip json output 2023-12-11 09:52:39 +08:00
zu1k
0eb07b49ad chore: update readme 2023-12-11 09:40:30 +08:00
zu1k
05746b1a9d fix: Query error causes idx not updated 2023-11-24 16:18:06 +08:00
zu1k
ec2ae52f36
fix(CI): aur version 2023-10-03 07:02:01 +08:00
zu1k
a4169d9db1
Merge pull request #178 from DateBro/master
fix: fix self-update bugs
2023-10-03 06:17:25 +08:00
Zhiyong(Johnny) Zhao
44522726f8 test: added test for version.go 2023-10-02 13:30:57 -04:00
Zhiyong(Johnny) Zhao
4123411ecb fix: delete write permission validation for files when self-update 2023-09-29 13:01:48 -04:00
Zhiyong(Johnny) Zhao
f2bec94681 fix: fix self-update bugs
1. added -v for update command, only update binary when -v is assigned;
2. removed the reference to semver library, implemented repo version compare functions;
3. edited release-aur-git rule in go.yml, won't replace the hyphen to dot in release version;
2023-09-28 16:31:29 -04:00
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