1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00
Commit graph

189 commits

Author SHA1 Message Date
OniriCorpe
bb235a2392 Remove the dedicated dnsmasq config for AdGuardHome 2023-12-27 22:52:58 +01:00
OniriCorpe
aeab6379ab rename "update_config()" into more explicit "update_agh_config()" 2023-12-27 22:51:09 +01:00
OniriCorpe
b913775894 backup & restore AGH dnsmasq config is now irrelevant (as it's regenerated at restore) 2023-12-27 22:48:49 +01:00
OniriCorpe
8aef567a04 simplify "source _common.sh" path 2023-12-27 22:44:43 +01:00
OniriCorpe
fdc0d03874 put back the comment note about echo & add comment 2023-12-27 22:41:08 +01:00
OniriCorpe
b95d192aa6 mopved all the code to create a dnsmask config with the network interface to personal helpers 2023-12-27 22:30:57 +01:00
OniriCorpe
95f8a53d87 Better user information about ports opening / closing 2023-12-27 19:56:29 +01:00
OniriCorpe
ac6df8b708 better if 2023-12-27 19:50:05 +01:00
OniriCorpe
c8785c3e01 better placment 2023-12-27 19:45:20 +01:00
OniriCorpe
9e24b61637 refactor commands to get IPs 2023-12-27 19:40:24 +01:00
OniriCorpe
d4a231c203 add line break 2023-12-27 19:24:42 +01:00
OniriCorpe
5d35c03559 better comments 2023-12-27 19:23:21 +01:00
OniriCorpe
f4a305decb remove dash before IP 2023-12-27 19:18:27 +01:00
OniriCorpe
a090eb7819 remove irrelevant comment 2023-12-27 07:29:11 +01:00
OniriCorpe
271cd9428a update IPs on restore 2023-12-27 07:25:48 +01:00
OniriCorpe
09287bf217 update IPs each time the function update_config is called 2023-12-27 07:22:52 +01:00
OniriCorpe
f57edf01d5 the python code to kepp the port 53 is now useless as it's now hardcoded 2023-12-27 07:19:00 +01:00
OniriCorpe
d7bfbddc2f moving the python script to a function in personal helpers 2023-12-27 07:18:17 +01:00
OniriCorpe
28d4679ce5 typo 2023-12-27 07:01:50 +01:00
OniriCorpe
9bb37f2f35 process IPs and regen conf when set__open_port_53() 2023-12-27 06:54:34 +01:00
OniriCorpe
335b5d5645 add comment 2023-12-27 06:50:56 +01:00
OniriCorpe
a31a7b0ad1 add comment 2023-12-27 06:50:37 +01:00
OniriCorpe
a5f4285411 replace two 'for loops' in install & upgrade scripts by process_ips() 2023-12-27 06:49:32 +01:00
OniriCorpe
5bdc4b9203 typo 2023-12-27 06:36:59 +01:00
OniriCorpe
32d9aec887 add comment to is_public_ip() 2023-12-27 06:36:39 +01:00
OniriCorpe
e622a2193d small refactor 2023-12-27 06:33:05 +01:00
OniriCorpe
58a0d7594e typo 2023-12-27 06:29:51 +01:00
OniriCorpe
ce7daa396a add "fc" private ipv6 2023-12-27 06:28:26 +01:00
OniriCorpe
2c8322ce7c if the IP is public and the user doesn't want to expose port 53, skip it 2023-12-27 06:24:32 +01:00
OniriCorpe
ac4223c5d6 fix grep 2023-12-27 05:01:03 +01:00
OniriCorpe
8e746e8bfb fix ynh_replace_string 2023-12-27 04:57:11 +01:00
OniriCorpe
0806bc5a2c typo & better phrasing 2023-12-27 04:17:35 +01:00
OniriCorpe
3718369156 better comment 2023-12-27 04:15:24 +01:00
OniriCorpe
b2e05f1dd8 fix ynh_app_setting_delete key 2023-12-27 04:04:52 +01:00
OniriCorpe
e66c485156 fixes for port_adguard 2023-12-27 03:40:28 +01:00
OniriCorpe
0c9c1b007a add comment about all those 'ynh_replace_string' 2023-12-27 03:38:12 +01:00
OniriCorpe
f65fc16f3f hardcode port 53 (mandatory but conflicting with dnsmasq and the core) 2023-12-27 03:26:04 +01:00
OniriCorpe
556b2458ef fill the 'tls:' section at upgrade 2023-12-27 02:32:52 +01:00
OniriCorpe
55a11a7275 removed unnecessary relative path 2023-12-27 01:35:02 +01:00
OniriCorpe
d5b68fded1 properly fix unbound vars 2023-12-27 01:28:11 +01:00
OniriCorpe
fced44bdb1 fix unbound var 2023-12-27 01:20:28 +01:00
OniriCorpe
9682d3bc41 typo 2023-12-27 00:31:05 +01:00
OniriCorpe
587cdce928 quoting 2023-12-27 00:20:42 +01:00
OniriCorpe
4e867eab91 fix 2023-12-27 00:20:29 +01:00
OniriCorpe
9175bcc07b Merge branch 'DoT' of https://github.com/YunoHost-Apps/adguardhome_ynh into DoT 2023-12-27 00:18:19 +01:00
OniriCorpe
e8f7f50369 exposing port 53 on the Internet should be a deliberate choice, see #135 2023-12-27 00:17:16 +01:00
OniriCorpe
74d16e44d3
Update scripts/config
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2023-12-27 00:08:17 +01:00
OniriCorpe
0c0266156c
Update scripts/config
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2023-12-27 00:08:06 +01:00
OniriCorpe
7bfab1e0b3 fix SC2086 2023-12-26 23:40:45 +01:00
OniriCorpe
f198af5425 use a custom setter in place of ynh_app_config_apply 2023-12-26 23:35:34 +01:00