Commit Graph
41 Commits
Author SHA1 Message Date
Viet Huynh 7189599019 implement memoization for domain normalization 2023-11-19 18:20:47 +07:00
Viet Huynh 70a2dfa89f refactored domain processing code to improve performance and memory usage 2023-11-19 17:46:39 +07:00
mrrfv e552a8730f Discord webhook notifications
Fixes #46
2023-11-08 22:42:02 +01:00
Viet Huynh ac535c927a updated logging for API calls 2023-11-02 02:42:28 +07:00
Viet Huynh e03695beb9 wording 2023-09-29 06:32:17 +07:00
Viet Huynh d059c57587 cosmetic 2023-09-18 04:51:18 +07:00
Viet Huynh fa279ee24f removed hardcoded strings and added constants 2023-09-18 04:47:26 +07:00
Viet Huynh 565e2e6d4d added checks for old filenames 2023-09-18 02:51:49 +07:00
Viet Huynh e792bfd1e8 Merge branch 'upstream' into feature/node-download 2023-09-18 01:53:45 +07:00
Viet Huynh 27f6e9f0d3 added code comments 2023-09-17 19:55:43 +07:00
Viet Huynh 245cc2e8cf ported list download code to JS 2023-09-17 16:48:34 +07:00
Viet Huynh 083335278c updated blocklist check logic to prevent adding a subdomain if a higher-level domain is already blocked 2023-09-15 05:36:19 +07:00
Viet Huynh 695d7c7f5a fixed to count allowed domains correctly 2023-09-12 20:19:09 +07:00
Viet Huynh 811205ccc2 trim before processing domain 2023-09-12 17:32:05 +07:00
Viet Huynh 40772b567d refactored domain processing code 2023-09-12 16:35:16 +07:00
mrrfv 025d705efa Use await with functions that return a promise 2023-09-10 12:27:58 +02:00
Viet Huynh 603c9a0870 fixed list creation 2023-09-09 22:43:56 +07:00
Viet Huynh ed5f24b6ec reorganized code 2023-09-09 21:43:57 +07:00
Viet Huynh 53803edc6e reorganized API code 2023-09-09 20:46:56 +07:00
Viet Huynh 43bd87f2dd use native fetch and refactored list creation 2023-09-09 19:53:47 +07:00
mrrfv 452c81b151 Migrate to node-fetch and import syntax
#17
2023-09-08 20:10:06 +02:00
mrrfv dc4e1b1155 Only show the count of whitelisted domains 2023-09-08 19:58:31 +02:00
mrrfv 38d2f48024 Show how much over the domain limit we are 2023-09-07 21:05:42 +02:00
mrrfv cbca9613c6 Dry run support 2023-09-07 20:57:08 +02:00
mrrfv eb1eb8c7f1 Show a count of duplicate domains instead of listing all 2023-09-07 20:52:04 +02:00
Norbert 39dd3a3d0f console log whitelist: ${domain} - removing 2023-06-30 07:53:13 +02:00
Norbert 053a5e86b2 Update whitelist command: Display domain count 2023-06-30 07:36:37 +02:00
Norbert 1a1daadaba Check for duplicates before trim 2023-06-29 01:48:42 +02:00
mrrfv 9e80ebb8ea incomplete compatibility with filter lists using wildcard domains 2023-05-22 14:56:02 +02:00
mrrfv 718ab036cd List the amount of items found in the whitelist 2023-05-15 15:06:35 +02:00
mrrfv f5380ede47 Don't exit if whitelist doesn't exit 2023-05-15 15:03:53 +02:00
Norbert 743583fe4c fixup 2023-05-15 00:06:19 +02:00
Norbert 10fd1fd439 ^$important 2023-05-14 23:06:36 +02:00
Norbert 7ed92ac1a6 let whitelist = []; // Define an empty array for the whitelist 2023-05-14 22:50:13 +02:00
Norbert 50375c73cb .replace('||', '')
.replace('^', '')
2023-05-14 22:43:49 +02:00
Norbert b14c11c1cc let whitelist = []; 2023-05-14 22:34:23 +02:00
Norbert 0783c539b6 ? 2023-05-14 22:21:50 +02:00
Norbert 22785b06e8 whitelist 2023-05-14 22:01:39 +02:00
mrrfv 506b8f6a32 improve CI privacy features 2023-05-02 18:15:12 +02:00
mrrfv c327c5ab42 Privacy improvements for CI 2023-05-02 17:55:28 +02:00
mrrfv d51b99214d Initial version 2023-05-02 17:26:54 +02:00