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

205 commits

Author SHA1 Message Date
OniriCorpe
1862a22c67 debug upgrade 2023-12-28 03:18:09 +01:00
OniriCorpe
664b0cdc3a replace ynh_replace_string by ynh_write_var_in_file 2023-12-28 02:54:35 +01:00
OniriCorpe
22a3d330ed fix IP validation for IPv6 2023-12-28 01:18:07 +01:00
OniriCorpe
2e5a03320f Revert "rework process_ips()"
This reverts commit 1d5e520b73.
2023-12-28 01:09:39 +01:00
OniriCorpe
1a86052659 better test if 2023-12-28 01:05:04 +01:00
OniriCorpe
8dcf864621 fix if 2023-12-28 01:00:14 +01:00
OniriCorpe
176f3149d4 typo 2023-12-28 00:58:05 +01:00
OniriCorpe
6b3e8a81b5 add comment 2023-12-28 00:57:00 +01:00
OniriCorpe
1d5e520b73 rework process_ips() 2023-12-28 00:52:42 +01:00
OniriCorpe
a9e36a82ec debug 2023-12-28 00:43:30 +01:00
OniriCorpe
4b780131dc debug 2023-12-28 00:11:48 +01:00
OniriCorpe
b74820b443 shellcheck: ignore SC2005 2023-12-28 00:05:40 +01:00
OniriCorpe
6223ab706b Revert "simplify "source _common.sh" path"
This reverts commit 8aef567a04.
2023-12-27 23:46:42 +01:00
OniriCorpe
490e207587 fix ip 2023-12-27 23:41:50 +01:00
OniriCorpe
a55c98a994 dnsmask config removal put at the end 2023-12-27 23:04:34 +01:00
OniriCorpe
c512e9599e add progression message for system configurations removal 2023-12-27 23:03:45 +01:00
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