Commit Graph

61 Commits

Author SHA1 Message Date
Ming Di Leom 751306cba9
fix: remove "node --version"
error: Missing script to execute
2025-03-24 07:49:16 +00:00
Ming Di Leom 552b3b63bb
style: add address separator to adblock filters 2025-03-23 10:29:39 +00:00
Ming Di Leom c376703e53
docs: IE TPL guide 2025-03-23 10:21:49 +00:00
Ming Di Leom 0ab3af93c2
feat: include IPv6 in TPL 2025-03-23 10:10:33 +00:00
Ming Di Leom 0c9c740f2d
fix: exclude IP from host-based blocklists
include IPv6 in IP blocklist
2025-03-22 04:17:21 +00:00
Ming Di Leom 2242303efc
refactor: remove unnecessary sort 2025-03-22 03:58:00 +00:00
Ming Di Leom 2f7d2f3b90
style: try parsing json file 2025-03-22 02:20:52 +00:00
Ming Di Leom c8d87cff77
refactor: remove bun alias
node is alias in bun container
2025-03-22 02:09:14 +00:00
Ming Di Leom 6ca5777798
style: remove unnecessary global flag in sed
not required when matching once per line
2025-03-22 02:04:45 +00:00
Ming Di Leom 9d1c90066d
refactor: test url with URL.canParse()
supported by Nodejs >=19.9
2025-03-22 01:53:32 +00:00
Ming Di Leom 6815b90e14
perf: rewrite IDS rule creation in javascript
"while do" can be inefficient
previously took 1.8s is now 0.2s
2025-03-17 12:00:35 +00:00
Ming Di Leom 3f2087bbe3
docs: wildcard asterisk 2025-02-22 01:54:29 +00:00
Ming Di Leom dafe3d51ce
style(rpz): generic syntax 2025-02-16 00:44:32 +00:00
Ming Di Leom 383fcd9f96
docs: Brave-compatible filter 2025-02-15 09:46:14 +00:00
Ming Di Leom 5290241793
docs: wildcard subdomain for Pi-hole 2025-02-15 09:44:12 +00:00
Ming Di Leom 17c4ee4888
feat: wildcard asterisk 2025-02-15 09:41:54 +00:00
Ming Di Leom 057c2606e9
style: table 2025-02-15 09:29:07 +00:00
Ming Di Leom 6a67168291
build: zstd compress 2025-02-12 09:44:43 +00:00
Ming Di Leom b41e134240
build: extract zip from stream
previous bug should be fixed in recent node versions
b03e462e42
2024-10-27 05:05:36 +00:00
Ming Di Leom c5f196cc6c
ci(ga): switch to bun 2024-10-24 10:24:48 +00:00
Ming Di Leom 715061b3c7
chore(deps): bump actions/upload-artifact from 2 to 4 2024-10-14 07:29:33 +00:00
Ming Di Leom e1a5a0f305
chore(deps): bump actions-gh-pages from 3 to 4 2024-10-14 07:29:19 +00:00
Ming Di Leom af739fb606
chore(deps): bump actions/checkout from 2 to 4 2024-10-14 07:28:37 +00:00
Ming Di Leom 6ea8f197fe
feat: remove blacklistlinks source 2024-08-31 02:27:27 +00:00
Ming Di Leom e9f7ed696e
refactor: set pipefail conditionally 2024-07-15 08:03:45 +00:00
Ming Di Leom e6c003bdec
fix: expand alias in bash 2024-06-03 08:24:44 +00:00
Ming Di Leom 0e488fee97
build(cf): compatibility between asdf & nvmrc
https://github.com/asdf-vm/asdf-nodejs#partial-and-codename-versions
2024-04-09 10:08:14 +00:00
Ming Di Leom 9ef33208a4
chore(node): use latest lts
consistent with gitlab/github CI
https://github.com/asdf-vm/asdf-nodejs#resolving-latest-available-lts-version-in-a-script
2024-04-07 06:27:34 +00:00
Ming Di Leom c16c3ddcee
refactor: replace got with fetch 2024-04-07 06:26:30 +00:00
Ming Di Leom d312626c4b
feat: support Bun
except for src/build.js due to got
2023-10-02 00:19:28 +00:00
Ming Di Leom 49d7669f2a
chore(node): require at least Node 18 2023-10-02 00:15:34 +00:00
Ming Di Leom c856891125
chore(deps): bump got from 11 to 13 2023-10-02 00:15:21 +00:00
Ming Di Leom abf47479bb
refactor: esm
got is esm only since v12
2023-10-02 00:14:12 +00:00
Ming Di Leom b41a918ad7
docs: move download links into a table
inspired by https://github.com/badmojr/1Hosts
2023-07-29 08:40:37 +00:00
Ming Di Leom b43ba0bcd5
docs: add repo mirros 2023-06-05 08:09:26 +00:00
Ming Di Leom a4b04fcb7a
fix: check installed grep is GNU variant 2023-05-20 11:27:31 +00:00
Ming Di Leom aa48d9aea0
fix: dash does not support pipefail 2023-05-20 11:27:12 +00:00
Ming Di Leom 4b6e01c7d6
chore(node): use node 20 on cf pages
https://blog.cloudflare.com/moderizing-cloudflare-pages-builds-toolbox/
- "node" nor "lts/*" are not recognised by asdf/node-build
2023-05-19 08:02:27 +00:00
Ming Di Leom 2992734ec3
fix: sed syntax to recognise newline
https://gitlab.com/malware-filter/urlhaus-filter/-/issues/79
2023-04-29 04:12:17 +00:00
Ming Di Leom 1f0106b441
chore: dual-license under MIT & CC0
- OSI-approved license (e.g. MIT license) is required
for GitLab Open Source Program
- https://docs.gitlab.com/ee/subscriptions/community_programs.html#gitlab-for-open-source
2023-04-27 09:31:30 +00:00
Ming Di Leom ed152bb494
ci: compress csv 2022-12-25 06:01:30 +00:00
Ming Di Leom b9dc6e5aba
docs(splunk): list csv columns 2022-12-21 07:38:13 +00:00
Ming Di Leom 7680f3589f
docs: move cron guide to wiki
- https://gitlab.com/malware-filter/malware-filter/wikis/update-filter
- also include systemd timer
2022-12-17 04:08:49 +00:00
Ming Di Leom c838e8bb44
docs: move cron guide to wiki
- https://gitlab.com/malware-filter/malware-filter/wikis/update-filter
- also include systemd timer
2022-12-17 03:31:55 +00:00
Ming Di Leom 89ac1cba24
feat: add csv file for Splunk lookup
- https://docs.splunk.com/Documentation/Splunk/9.0.2/Knowledge/Aboutlookupsandfieldactions
2022-12-17 00:46:48 +00:00
Ming Di Leom 30add07aed
style(sed): avoid backslash in insert option
- simpler and more readable
- https://unix.stackexchange.com/a/99351
2022-12-17 00:37:26 +00:00
Ming Di Leom 3b97af4dc2
docs(header): switch date format from RFC 5322 to ISO 8601
- universally readable
2022-12-16 08:24:29 +00:00
Ming Di Leom fa02736f41
style: remove unused method 2022-11-05 01:57:44 +00:00
Ming Di Leom 35cc0a091e
fix: skip invalid url 2022-11-05 01:54:51 +00:00
Ming Di Leom 73c21d0112
docs: toc & mention compressed version 2022-11-02 10:35:32 +00:00