Commit graph

32 commits

Author SHA1 Message Date
Héctor Molinero Fernández
9d1cc32939 Added RPZ with wildcards format 2022-04-23 14:53:19 +02:00
Héctor Molinero Fernández
21b4c3d787 Added option to remove redundant subdomains. Implements #68 2021-01-17 18:06:13 +01:00
Héctor Molinero Fernández
755993f95d Quotes 2021-01-04 01:21:46 +01:00
Héctor Molinero Fernández
6a8a900188 Return NXDOMAIN for dnsmasq and Unbound formats 2021-01-02 14:16:44 +01:00
Héctor Molinero Fernández
635c5368f2 Preserve exit code 2021-01-02 02:56:17 +01:00
Héctor Molinero Fernández
41c09783b4 Fixed attributes in the Windows installer 2020-11-22 21:24:24 +01:00
Héctor Molinero Fernández
6389330808 Give priority to the environment variable over the presence of the file 2020-11-12 21:17:30 +01:00
Héctor Molinero Fernández
3b39025e77 Use "%R" variable in template 2020-11-05 19:16:14 +01:00
Héctor Molinero Fernández
27d0539761 Do not ask 2020-11-01 21:53:50 +01:00
Héctor Molinero Fernández
8ebd6581e5 Use single quotes un here-string 2020-10-30 22:52:19 +01:00
Héctor Molinero Fernández
1070e61b23 Added a new Windows installer 2020-10-30 19:51:45 +01:00
Héctor Molinero Fernández
f1697f0e8d Improved template feature with named options 2020-10-28 21:15:14 +01:00
Héctor Molinero Fernández
4b87286304 Generate zip file deterministically 2020-10-24 20:27:15 +02:00
Héctor Molinero Fernández
6cab4d395a Refactored alt format scripts 2020-10-23 01:00:49 +02:00
Héctor Molinero Fernández
032ddd2043 Fixed some ShellCheck errors 2020-10-20 23:31:01 +02:00
Héctor Molinero Fernández
83c0921e23 Use parameter expansion on special parameters because it seems that in some shells they may not be defined.
For example the following code produces an error in Bash 3.2, which is the version that currently macOS includes.

```
$ bash -uc ':${@}'
bash: @: unbound variable
```

Probably it is not necessary to do it with all special parameters, but I do not see any drawbacks.
2020-10-20 22:01:09 +02:00
Héctor Molinero Fernández
70dcee010c Replaced whitelist and blacklist terms with allowlist and denylist.
This change is not for ideological reasons, since I do not share the perception of the negative connotations of the previous terms. Simply the next version of the project introduces compatibility breaking changes anyway and I took this opportunity to make this change because the new terms seem to me to reflect the concept better.
2020-10-11 22:11:43 +02:00
Héctor Molinero Fernández
7080319f50 Removed Android installer, as I cannot test it properly 2020-10-11 21:36:03 +02:00
Héctor Molinero Fernández
6d02cee281 Huge project overhaul with a new command line parser and a general refactorization 2020-10-11 21:35:57 +02:00
Héctor Molinero Fernández
416720411c Quoted all strings and encapsulated in braces all variables
because I'm insane
2020-10-09 18:02:26 +02:00
Héctor Molinero Fernández
d1c5db1cc4 Ensure that temporary files are deleted 2020-09-05 15:07:21 +02:00
Héctor Molinero Fernández
14722f9f5f Use "?" and ":?" parameter expansions when possible 2020-02-01 17:51:53 +01:00
Héctor Molinero Fernández
9ca72de5d9 Format 2019-09-02 21:53:52 +02:00
Héctor Molinero Fernández
5f7d2bcdc7 Defined HBLOCK_WHITELIST and HBLOCK_BLACKLIST in alternative formats 2019-08-24 12:56:12 +02:00
Héctor Molinero Fernández
e6f7399afe Changed domain name 2019-03-10 17:52:21 +01:00
Héctor Molinero Fernández
dc16291cb3 Added support for setting header, footer, sources, whitelist and blacklist as a file or environment variable 2018-11-20 21:22:12 +01:00
Héctor Molinero Fernández
1fb318b7db Build alternative formats dynamically and support parallel jobs 2018-11-01 00:09:58 +01:00
Héctor Molinero Fernández
7940c7b392 Removed GNU-isms from build system 2018-10-28 23:37:11 +01:00
Héctor Molinero Fernández
d6cdadc296 Updated generation of output formats 2018-06-22 21:40:54 +02:00
Héctor Molinero Fernández
c57109002a Added DNS Response Policy Zone (RPZ) format 2018-06-11 23:12:50 +02:00
Héctor Molinero Fernández
7ef768d5bb Updated username 2018-06-02 17:09:14 +02:00
Héctor Molinero Fernández
709e94ff46 Added more output formats 2018-05-14 20:01:54 +02:00