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

88 commits

Author SHA1 Message Date
OniriCorpe
c569b80b4a add a new password tool in the config panel 2024-01-03 22:41:43 +01:00
OniriCorpe
b994dd48d1 rework port 53 expose 2024-01-01 04:23:16 +01:00
OniriCorpe
06737daaa3 declare needs_exposed_ports according to real user need 2024-01-01 04:09:11 +01:00
OniriCorpe
4ba2351269 declare needs_exposed_ports according to real user need 2024-01-01 04:06:53 +01:00
OniriCorpe
7f32cd77c0 add --needs_exposed_ports "53" 2024-01-01 03:54:33 +01:00
OniriCorpe
786ec0f2b3 remove debug ynh_print_info 2024-01-01 01:18:06 +01:00
OniriCorpe
a3c8958f16 fix ynh_write_var_in_file 2024-01-01 00:39:15 +01:00
OniriCorpe
57fb93edaa delete unneccessary yunohost firewall reload 2023-12-31 23:43:02 +01:00
OniriCorpe
dee489790d debug ip 2023-12-31 00:56:29 +01:00
OniriCorpe
56b9a133ac put opening/closing ports info messages in upgrade script too 2023-12-31 00:34:41 +01:00
OniriCorpe
00936aea85 debug prints no longer needed 2023-12-31 00:28:51 +01:00
OniriCorpe
68cfa98d49 use the same IP config updating in mechanism for all scripts 2023-12-30 23:07:52 +01:00
OniriCorpe
4c6de3701c fix ipv4 getting 2023-12-28 07:03:57 +01:00
OniriCorpe
952f48f41a edit the 'ip' commands because we need the IP without route too (they may be private IPs) 2023-12-28 06:16:48 +01:00
OniriCorpe
f4f916a8b2 new function: get_network_interface() 2023-12-28 05:54:28 +01:00
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
aeab6379ab rename "update_config()" into more explicit "update_agh_config()" 2023-12-27 22:51:09 +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
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
d7bfbddc2f moving the python script to a function in personal helpers 2023-12-27 07:18:17 +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
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
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
e8f7f50369 exposing port 53 on the Internet should be a deliberate choice, see #135 2023-12-27 00:17:16 +01:00
OniriCorpe
7bfab1e0b3 fix SC2086 2023-12-26 23:40:45 +01:00
OniriCorpe
8aa3f1508b handle closing unnecessary ports at restore and upgrade 2023-12-26 23:14:07 +01:00
OniriCorpe
9856061615 add dot and doq port at service addition 2023-12-26 17:49:51 +01:00
OniriCorpe
bf81f58546 user ressources in manifest to declare dot and doq ports 2023-12-26 17:23:28 +01:00
OniriCorpe
54aef3496a use ynh_find_port to attribute properly dot and doq ports 2023-12-26 16:57:05 +01:00
OniriCorpe
5b8e6276e0 rework dot and doq ports attributions 2023-12-26 16:54:42 +01:00
OniriCorpe
41f9785fba uncapitalize dot & doq vars 2023-12-26 16:47:09 +01:00
OniriCorpe
e23e23a54b removal of unnecessary quotes 2023-12-26 05:50:15 +01:00
OniriCorpe
48e1d68203 fix args declaration 2023-12-26 05:44:56 +01:00
OniriCorpe
f91b08bdec enable DOH/DOQ using Let's Encrypt certs out of the box 2023-12-26 05:28:26 +01:00
Alexandre Aubin
854837b2ff
Update upgrade: adguard_port -> port_adguard 2023-12-03 00:44:38 +01:00
Éric Gaspar
92277f9866 Merge branch 'testing' into version-2 2023-10-18 23:27:58 +02:00