Commit Graph
169 Commits
Author SHA1 Message Date
mrrfv 3d6c722f6e Merge pull request #51 from hlqviet/fix/domain-regex-pattern
Fix domain validation
2023-11-20 16:52:45 +01:00
Viet Huynh 0478a2f957 use another domain regex pattern to fix domain validation 2023-11-20 08:25:01 +07:00
mrrfv 4fee25de91 Merge pull request #50 from hlqviet/refactor/domain-processing
Further enhance the domain processing code
2023-11-19 13:47:40 +01:00
mrrfv 23cab68c19 Merge pull request #49 from hlqviet/refactor/domain-processing
Further enhance the domain processing code
2023-11-19 13:47:31 +01:00
Viet Huynh 7189599019 implement memoization for domain normalization 2023-11-19 18:20:47 +07:00
Viet Huynh b364df7864 throw errors in utils and helpers 2023-11-19 17:48:37 +07:00
Viet Huynh 70a2dfa89f refactored domain processing code to improve performance and memory usage 2023-11-19 17:46:39 +07:00
Viet Huynh 6eb55bf6a1 refactored downloadFiles to a more efficient approach 2023-11-19 16:39:54 +07:00
mrrfv 87c15614ed Merge branch 'main' into v1 2023-11-09 18:36:48 +01:00
mrrfv c91aea1b39 Disable doh_gambling recommended blocklist
Due to the 300,000 domain blocklist constraint
2023-11-09 18:36:21 +01:00
mrrfv 226b3f023e Merge branch 'main' into v1 2023-11-09 18:14:55 +01:00
mrrfv cf941737d5 Improve compatibility with non-Discord webhooks 2023-11-09 17:04:28 +01:00
mrrfv 82c110527e Merge branch 'main' into v1 2023-11-08 23:10:46 +01:00
mrrfv 111b029776 Fix webhook message 2023-11-08 23:10:35 +01:00
mrrfv 7762c98ffe Merge branch 'main' into v1 2023-11-08 23:05:12 +01:00
mrrfv 3b01badd8f Fix webhook validity checking logic 2023-11-08 22:44:19 +01:00
mrrfv e552a8730f Discord webhook notifications
Fixes #46
2023-11-08 22:42:02 +01:00
mrrfv 0fb3ebb01b Merge pull request #44 from hlqviet/refactor/use-api-token-instead-of-api-key
Use Cloudflare API Token with scoped permissions in favour of API Key for better security
2023-11-08 22:08:12 +01:00
mrrfv 034decc43d Merge pull request #43 from hlqviet/refactor/use-api-token-instead-of-api-key
Use Cloudflare API Token with scoped permissions in favour of API Key for better security
2023-11-08 22:08:01 +01:00
Viet Huynh 06ecfe490b update README 2023-11-02 03:10:46 +07:00
Viet Huynh 4552ea77b3 fix wording 2023-11-02 02:59:35 +07:00
Viet Huynh cdcce5a939 remove sleep function 2023-11-02 02:58:24 +07:00
Viet Huynh 4f97b35b74 use API Token in favour of API Key for better security 2023-11-02 02:56:56 +07:00
Viet Huynh ac535c927a updated logging for API calls 2023-11-02 02:42:28 +07:00
mrrfv c4844171bd Merge pull request #41 from hlqviet/feature/keep-workflow-alive
Use gautamkrishnar/keepalive-workflow to prevent workflow suspension
2023-10-30 22:45:51 +01:00
mrrfv 6f1ba625c0 Merge pull request #40 from hlqviet/feature/keep-workflow-alive
Use gautamkrishnar/keepalive-workflow to prevent workflow suspension
2023-10-30 22:45:46 +01:00
Viet Huynh 9b0447bd06 use gautamkrishnar/keepalive-workflow to prevent workflow suspension 2023-10-30 17:52:37 +07:00
mrrfv bf367c0867 Explain what are environment variables 2023-10-08 16:35:29 +02:00
mrrfv f60e997b06 Update extended_guide.md 2023-10-08 16:28:16 +02:00
mrrfv b42c3f0743 Create extended_guide.md 2023-10-08 16:27:28 +02:00
mrrfv 529959844a Update README.md 2023-10-08 16:23:04 +02:00
mrrfv 15b30aa7dc Mention the cross-platform download_lists script in README 2023-10-08 16:22:26 +02:00
mrrfv 0d1a7cc54c Merge pull request #36 from hlqviet/feat/npm-scripts
Merge new changes
2023-09-30 00:10:29 +02:00
mrrfv 91a25f4d60 Merge pull request #35 from hlqviet/feat/npm-scripts
Add npm scripts for convenience
2023-09-29 11:29:47 +02:00
Viet Huynh af24c152a8 throw error if required secrets have not been added 2023-09-29 06:51:13 +07:00
Viet Huynh e4f44e3e2b add error logging for list download 2023-09-29 06:51:12 +07:00
Viet Huynh c2b0510cfc remove existing lists before downloading 2023-09-29 06:44:19 +07:00
Viet Huynh e03695beb9 wording 2023-09-29 06:32:17 +07:00
Viet Huynh 190a97bc0f fix command 2023-09-29 06:22:14 +07:00
Viet Huynh da02a966fb add npm scripts 2023-09-29 06:18:30 +07:00
mrrfv 862dcb15bb Remove empty lines from the user-defined list URLs
Possible fix for #33
2023-09-27 14:10:12 +00:00
mrrfv 5977de1b95 Merge pull request #32 from hlqviet/fix/node-fetch-vs-fetch-compatibility
Fix `node-fetch` vs. `fetch` compatibility
2023-09-26 17:31:57 +02:00
Viet Huynh 4135102371 fix node-fetch vs. fetch compatibility 2023-09-26 12:53:22 +07:00
mrrfv a521b13323 Merge pull request #30 from hlqviet/fix/empty-list-environment-variables
Fix cases where the lists are empty string
2023-09-21 20:10:39 +02:00
Viet Huynh 870ca9d392 fixed cases where the lists are empty string 2023-09-21 23:59:40 +07:00
mrrfv 2047063746 Merge pull request #26 from hlqviet/feature/lists-as-environment-variables
Support allowlists and blocklists from environment variables
2023-09-18 20:46:23 +02:00
Viet Huynh f4868b5946 log the lists to be used 2023-09-19 01:32:01 +07:00
Viet Huynh ae9afe3b61 updated defaults 2023-09-19 01:31:30 +07:00
Viet Huynh b20befbe31 updated instructions on ALLOWLIST_URLS and BLOCKLIST_URLS 2023-09-18 13:51:57 +07:00
Viet Huynh 3cf872f262 updated .env example 2023-09-18 13:42:26 +07:00